/*
 *             Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
 *
 *
 *
 *
 *          +---------------------------------------------------------------------------------+
 *          |                                                                                 |
 *          |                                 Hello stranger!                                 |
 *          |                                                                                 |
 *          |                                                                                 |
 *          |   What you're currently looking at is the source code of a legally protected,   |
 *          |    proprietary software. Any attempts to deobfuscate / disassemble this code    |
 *          |               are forbidden and will result in legal consequences.              |
 *          |                                                                                 |
 *          |                                                                                 |
 *          +---------------------------------------------------------------------------------+
 *
 *
 *
 *
 */
!function(_0x118b43,_0x452859){'object'==typeof exports&&'undefined'!=typeof module?_0x452859(exports,require('ckeditor5')):'function'==typeof define&&define['amd']?define(['exports','ckeditor5'],_0x452859):_0x452859((_0x118b43='undefined'!=typeof globalThis?globalThis:_0x118b43||self)['CKEDITOR_PREMIUM_FEATURES']={},_0x118b43['CKEDITOR']);}(this,function(_0x3982e5,_0x22b56d){'use strict';const _0x268881='_ungrouppedCommands';function _0x4aa9d8(_0x24f111,_0x46596b){const _0x2dc175=(0x0,_0x46596b['t'])('Other');return _0x24f111['length']?'groupId'in _0x24f111[0x0]?_0x24f111:[{'groupId':_0x268881,'groupLabel':_0x2dc175,'order':0x1/0x0,'commands':_0x24f111}]:[{'groupId':_0x268881,'groupLabel':_0x2dc175,'order':0x1/0x0,'commands':[]}];}const _0x6460a8=globalThis['DataTransfer'],_0x888e1a='ai-ui';class AIAssistantEditing extends _0x22b56d['Plugin']{static get['pluginName'](){return'AIAssistantEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1df277}=this,_0x6e3a06=['ck-fake-ai-selection'];_0x1df277['config']['get']('ai.assistant.useTheme')&&_0x6e3a06['push']('ck-ai-assistant-ui_theme'),_0x1df277['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x888e1a,'view':{'classes':_0x6e3a06,'priority':0xc}}),_0x1df277['conversion']['for']('editingDowncast')['markerToElement']({'model':_0x888e1a,'view':(_0xc4ee69,{writer:_0x5ca2a0})=>{if(!_0xc4ee69['markerRange']['isCollapsed'])return null;const _0x80a1c1=_0x5ca2a0['createUIElement']('span');return _0x5ca2a0['addClass'](['ck-fake-ai-selection','ck-fake-ai-selection_collapsed'],_0x80a1c1),_0x80a1c1;}});}['afterInit'](){!async function(_0x10324c){const _0x45fc01=_0x1b00aa([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]),_0x4bad4e=0x3dffc4e1,_0x286730=0x3df84e89^_0x4bad4e,_0x58dd00=window[_0x1b00aa([0x44,0x61,0x74,0x65])][_0x1b00aa([0x6e,0x6f,0x77])](),_0x2beee1=_0x10324c[_0x1b00aa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x39c590=new window[(_0x1b00aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x67b751=>{_0x2beee1[_0x1b00aa([0x6f,0x6e,0x63,0x65])](_0x1b00aa([0x72,0x65,0x61,0x64,0x79]),_0x67b751);}),_0x1af535={[_0x1b00aa([0x6b,0x74,0x79])]:_0x1b00aa([0x45,0x43]),[_0x1b00aa([0x75,0x73,0x65])]:_0x1b00aa([0x73,0x69,0x67]),[_0x1b00aa([0x63,0x72,0x76])]:_0x1b00aa([0x50,0x2d,0x32,0x35,0x36]),[_0x1b00aa([0x78])]:_0x1b00aa([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]),[_0x1b00aa([0x79])]:_0x1b00aa([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]),[_0x1b00aa([0x61,0x6c,0x67])]:_0x1b00aa([0x45,0x53,0x32,0x35,0x36])},_0x170782=_0x2beee1[_0x1b00aa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1b00aa([0x67,0x65,0x74])](_0x1b00aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x169e64(){let _0x5c7b79,_0x384735=null,_0x4c2452=null;try{if(_0x170782==_0x1b00aa([0x47,0x50,0x4c]))return _0x1b00aa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5c7b79=_0x3b5b55(),!_0x5c7b79)return _0x1b00aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5c7b79[_0x1b00aa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4c2452=_0x1a4d9b(_0x5c7b79[_0x1b00aa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5c7b79[_0x1b00aa([0x6a,0x74,0x69])])),await _0x5a4295()?_0x2f5fcf()?_0x12c2a4()?_0x1b00aa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x576862()?(_0x5c7b79[_0x1b00aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b00aa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x384735=_0x21627f(_0x1b00aa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x342cd8()):_0x1b00aa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1b00aa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1b00aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1b00aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x12c2a4(){const _0x367c8c=[_0x1b00aa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1b00aa([0x74,0x72,0x69,0x61,0x6c])][_0x1b00aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c7b79[_0x1b00aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x58dd00/0x3e8:0xe10*_0x286730;return _0x5c7b79[_0x1b00aa([0x65,0x78,0x70])]<_0x367c8c;}function _0x2f5fcf(){const _0xd43047=_0x5c7b79[_0x1b00aa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xd43047&&(!!_0xd43047[_0x1b00aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b00aa([0x2a]))||!!_0xd43047[_0x1b00aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b00aa([0x41,0x49])));}function _0x576862(){const _0x148f4c=_0x5c7b79[_0x1b00aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x148f4c||0x0==_0x148f4c[_0x1b00aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5c9852}=new URL(window[_0x1b00aa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x148f4c[_0x1b00aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c9852))return!0x0;const _0x4d237c=_0x5c9852[_0x1b00aa([0x73,0x70,0x6c,0x69,0x74])](_0x1b00aa([0x2e]));return _0x148f4c[_0x1b00aa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52e400=>_0x52e400[_0x1b00aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b00aa([0x2a])))[_0x1b00aa([0x6d,0x61,0x70])](_0x261401=>_0x261401[_0x1b00aa([0x73,0x70,0x6c,0x69,0x74])](_0x1b00aa([0x2e])))[_0x1b00aa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b7529=>_0x3b7529[_0x1b00aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4d237c[_0x1b00aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1b00aa([0x6d,0x61,0x70])](_0x1eb96d=>Array(_0x4d237c[_0x1b00aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1eb96d[_0x1b00aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1b00aa([0x66,0x69,0x6c,0x6c])](_0x1eb96d[0x0]===_0x1b00aa([0x2a])?_0x1b00aa([0x2a]):'')[_0x1b00aa([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1eb96d))[_0x1b00aa([0x73,0x6f,0x6d,0x65])](_0x5b64cf=>_0x4d237c[_0x1b00aa([0x65,0x76,0x65,0x72,0x79])]((_0x1df144,_0x236b8a)=>_0x5b64cf[_0x236b8a]===_0x1df144||_0x5b64cf[_0x236b8a]===_0x1b00aa([0x2a])));}function _0x342cd8(){return _0x384735&&_0x4c2452?new window[(_0x1b00aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b38d0,_0x24f34a)=>{_0x384735[_0x1b00aa([0x74,0x68,0x65,0x6e])](_0x2b38d0,_0x24f34a),_0x4c2452[_0x1b00aa([0x74,0x68,0x65,0x6e])](_0xc2bc1e=>{_0xc2bc1e!=_0x1b00aa([0x56,0x61,0x6c,0x69,0x64])&&_0x2b38d0(_0xc2bc1e);},_0x24f34a);}):_0x384735||_0x4c2452||_0x1b00aa([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a4d9b(_0x189fa0,_0x1f0504){return new window[(_0x1b00aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x264ee7=>{if(_0x23b62b())return _0x264ee7(_0x1b00aa([0x56,0x61,0x6c,0x69,0x64]));_0x56404f(),_0x2beee1[_0x1b00aa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1b00aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x802631=!0x1;const _0x8f0225=_0x22b56d['uid']();function _0x51b96c(_0x1aad77){return!!_0x1aad77&&(typeof _0x1aad77===_0x1b00aa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1aad77===_0x1b00aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1aad77[_0x1b00aa([0x74,0x68,0x65,0x6e])]===_0x1b00aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1aad77[_0x1b00aa([0x63,0x61,0x74,0x63,0x68])]===_0x1b00aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x325472(_0x1d2891){_0x30e34d(_0x1d2891)[_0x1b00aa([0x74,0x68,0x65,0x6e])](_0x146bf2=>{if(!_0x146bf2||_0x146bf2[_0x1b00aa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1b00aa([0x6f,0x6b]))return _0x1b00aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x50d517(_0x37da60(_0x8f0225+_0x1f0504))!=_0x146bf2[_0x1b00aa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1b00aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1b00aa([0x56,0x61,0x6c,0x69,0x64]);})[_0x1b00aa([0x74,0x68,0x65,0x6e])](_0x9db686=>(_0x17a202(),_0x9db686),()=>{const _0x2fa133=_0x5d7635();return null==_0x2fa133?(_0x17a202(),_0x1b00aa([0x56,0x61,0x6c,0x69,0x64])):_0x1b00aa(_0x58dd00-_0x2fa133>(0x19f340e1^_0x4bad4e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1b00aa([0x74,0x68,0x65,0x6e])](_0x264ee7)[_0x1b00aa([0x63,0x61,0x74,0x63,0x68])](()=>{_0x264ee7(_0x1b00aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x50276d=0x3dc92a61^_0x4bad4e;function _0x17a202(){const _0x359568=_0x1b00aa([0x6c,0x6c,0x63,0x74,0x2d])+_0x50d517(_0x37da60(_0x189fa0)),_0x589272=_0x756e54(_0x50d517(window[_0x1b00aa([0x4d,0x61,0x74,0x68])][_0x1b00aa([0x63,0x65,0x69,0x6c])](_0x58dd00/_0x50276d)));window[_0x1b00aa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b00aa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x359568,_0x589272);}function _0x5d7635(){const _0x223c52=_0x1b00aa([0x6c,0x6c,0x63,0x74,0x2d])+_0x50d517(_0x37da60(_0x189fa0)),_0x384c25=window[_0x1b00aa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b00aa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x223c52);return _0x384c25?window[_0x1b00aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x756e54(_0x384c25),0x10)*_0x50276d:null;}function _0x30e34d(_0x3f29c3){return new window[(_0x1b00aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xabf62a,_0x2b2ff8)=>{_0x3f29c3[_0x1b00aa([0x74,0x68,0x65,0x6e])](_0xabf62a,_0x2b2ff8),window[_0x1b00aa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2b2ff8,0x3dfe1021^_0x4bad4e);});}}_0x2beee1[_0x1b00aa([0x6f,0x6e])](_0x1b00aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x507a94,_0x130ce2)=>{if(_0x130ce2[0x0]!=_0x189fa0)return _0x264ee7(_0x1b00aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x130ce2[0x1]={..._0x130ce2[0x1],[_0x1b00aa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x8f0225};},{[_0x1b00aa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b00aa([0x68,0x69,0x67,0x68])}),_0x2beee1[_0x1b00aa([0x6f,0x6e])](_0x1b00aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3e4cde=>{_0x51b96c(_0x3e4cde[_0x1b00aa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x802631=!0x0,_0x325472(_0x3e4cde[_0x1b00aa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1b00aa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b00aa([0x6c,0x6f,0x77])}),_0x39c590[_0x1b00aa([0x74,0x68,0x65,0x6e])](()=>{_0x802631||_0x264ee7(_0x1b00aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x23b62b(){return _0x2beee1[_0x1b00aa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b00aa([0x76,0x69,0x65,0x77])][_0x1b00aa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1b00aa([0x61,0x75,0x74,0x6f]);}function _0x56404f(){_0x2beee1[_0x1b00aa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b00aa([0x76,0x69,0x65,0x77])][_0x1b00aa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1b00aa([0x61,0x75,0x74,0x6f]);}}function _0x21627f(_0x4343f4){const _0x31ccbb=[new window[(_0x1b00aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x579fa7=>setTimeout(_0x579fa7,0x3df6fa2d^_0x4bad4e)),_0x39c590[_0x1b00aa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1b00aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9f1fa=>{let _0x14ab53=0x0;_0x2beee1[_0x1b00aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b00aa([0x6f,0x6e])](_0x1b00aa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x273742,_0x54bb64)=>{_0x54bb64[0x0][_0x1b00aa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x14ab53++,_0x14ab53==(0x3dffc109^_0x4bad4e)&&(_0x9f1fa(),_0x273742[_0x1b00aa([0x6f,0x66,0x66])]());});}))];return window[_0x1b00aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1b00aa([0x72,0x61,0x63,0x65])](_0x31ccbb)[_0x1b00aa([0x74,0x68,0x65,0x6e])](()=>_0x4343f4);}async function _0x311e53(){await _0x39c590,_0x2beee1[_0x1b00aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b00aa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x131dfa,_0x2beee1[_0x1b00aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b00aa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x131dfa,_0x2beee1[_0x1b00aa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1b00aa([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x50fcf7(_0x4c3f44){const _0x441e76=_0x366347();_0x2beee1[_0x441e76]=_0x1b00aa([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c3f44,_0x4c3f44!=_0x1b00aa([0x56,0x61,0x6c,0x69,0x64])&&_0x311e53();}function _0x366347(){const _0x81747=window[_0x1b00aa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1b00aa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1b00aa([0x6e,0x6f,0x77])]())[_0x1b00aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1b00aa([0x2e]),'');let _0x1d7af8=_0x1b00aa([0x6e]);for(let _0x495780=0x0;_0x495780<_0x81747[_0x1b00aa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x495780+=0x2){let _0x160a36=window[_0x1b00aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x81747[_0x1b00aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x495780,_0x495780+0x2));_0x160a36>=_0x45fc01[_0x1b00aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x160a36-=_0x45fc01[_0x1b00aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d7af8+=_0x45fc01[_0x160a36];}return _0x1d7af8;}function _0x3b5b55(){const _0x23eed4=_0x170782[_0x1b00aa([0x73,0x70,0x6c,0x69,0x74])](_0x1b00aa([0x2e]));if(0x3!=_0x23eed4[_0x1b00aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x51f4b6(_0x23eed4[0x1]);function _0x51f4b6(_0x3c74bc){const _0x72c251=_0x125d43(_0x3c74bc);return _0x72c251&&_0x43f302()?_0x72c251:null;function _0x43f302(){const _0xc718cc=_0x72c251[_0x1b00aa([0x6a,0x74,0x69])],_0x4164ee=window[_0x1b00aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc718cc[_0x1b00aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xc718cc[_0x1b00aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x38e4cd={..._0x72c251,[_0x1b00aa([0x6a,0x74,0x69])]:_0xc718cc[_0x1b00aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xc718cc[_0x1b00aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x38e4cd[_0x1b00aa([0x76,0x63])],_0x37da60(_0x38e4cd)==_0x4164ee;}}}async function _0x5a4295(){let _0x25c4f1=!0x0;try{const _0x460b0f=_0x170782[_0x1b00aa([0x73,0x70,0x6c,0x69,0x74])](_0x1b00aa([0x2e])),[_0x2e10f3,_0x4d173f,_0x4b2a17]=_0x460b0f;return _0x210a8e(_0x2e10f3),await _0x48fe14(_0x2e10f3,_0x4d173f,_0x4b2a17),_0x25c4f1;}catch{return!0x1;}function _0x210a8e(_0x1bcaf0){const _0x1690a7=_0x125d43(_0x1bcaf0);_0x1690a7&&_0x1690a7[_0x1b00aa([0x61,0x6c,0x67])]==_0x1b00aa([0x45,0x53,0x32,0x35,0x36])||(_0x25c4f1=!0x1);}async function _0x48fe14(_0x23e7ed,_0x43c04d,_0x2bbb90){const _0x51f2ea=window[_0x1b00aa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1b00aa([0x66,0x72,0x6f,0x6d])](_0x2fae80(_0x2bbb90),_0x177714=>_0x177714[_0x1b00aa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5f31fa=new window[(_0x1b00aa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1b00aa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x23e7ed+_0x1b00aa([0x2e])+_0x43c04d),_0x2ab0c0=window[_0x1b00aa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1b00aa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ab0c0)return;const _0x26421c=await _0x2ab0c0[_0x1b00aa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1b00aa([0x6a,0x77,0x6b]),_0x1af535,{[_0x1b00aa([0x6e,0x61,0x6d,0x65])]:_0x1b00aa([0x45,0x43,0x44,0x53,0x41]),[_0x1b00aa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1b00aa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1b00aa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ab0c0[_0x1b00aa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1b00aa([0x6e,0x61,0x6d,0x65])]:_0x1b00aa([0x45,0x43,0x44,0x53,0x41]),[_0x1b00aa([0x68,0x61,0x73,0x68])]:{[_0x1b00aa([0x6e,0x61,0x6d,0x65])]:_0x1b00aa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x26421c,_0x51f2ea,_0x5f31fa)||(_0x25c4f1=!0x1);}}function _0x125d43(_0x36e04a){return _0x36e04a[_0x1b00aa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1b00aa([0x65,0x79]))?JSON[_0x1b00aa([0x70,0x61,0x72,0x73,0x65])](_0x2fae80(_0x36e04a)):null;}function _0x2fae80(_0x100975){return window[_0x1b00aa([0x61,0x74,0x6f,0x62])](_0x100975[_0x1b00aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1b00aa([0x2b]))[_0x1b00aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1b00aa([0x2f])));}function _0x37da60(_0x1cd874){let _0x145aa4=0x1505;function _0xafd357(_0x37b823){for(let _0x4d7b0a=0x0;_0x4d7b0a<_0x37b823[_0x1b00aa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d7b0a++){const _0x53d6a8=_0x37b823[_0x1b00aa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4d7b0a);_0x145aa4=(_0x145aa4<<0x5)+_0x145aa4+_0x53d6a8,_0x145aa4&=_0x145aa4;}}function _0x45d2b0(_0x3f7ae1){Array[_0x1b00aa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3f7ae1)?_0x3f7ae1[_0x1b00aa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x45d2b0):_0x3f7ae1&&typeof _0x3f7ae1==_0x1b00aa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1b00aa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3f7ae1)[_0x1b00aa([0x73,0x6f,0x72,0x74])]()[_0x1b00aa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3ab8a3,_0x562565])=>{_0xafd357(_0x3ab8a3),_0x45d2b0(_0x562565);}):_0xafd357(window[_0x1b00aa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3f7ae1));}return _0x45d2b0(_0x1cd874),_0x145aa4>>>0x0;}function _0x50d517(_0x35a81d){return _0x35a81d[_0x1b00aa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1b00aa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1b00aa([0x30]));}function _0x756e54(_0x1cc2fe){return _0x1cc2fe[_0x1b00aa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1b00aa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1b00aa([0x6a,0x6f,0x69,0x6e])]('');}function _0x131dfa(){}function _0x1b00aa(_0x5eeb96){return _0x5eeb96['map'](_0x511d8e=>String['fromCharCode'](_0x511d8e))['join']('');}_0x50fcf7(await _0x169e64());}(this);}['showFakeVisualSelection'](){const _0x313cd9=this['editor']['model'];_0x313cd9['change'](_0x4496c1=>{const _0x24980e=_0x313cd9['document']['selection']['getRanges']();let _0x1f309b=0x0;for(const _0x5d9fbd of _0x24980e){const _0xdb7031=_0x888e1a+':'+_0x1f309b;if(_0x313cd9['markers']['has'](_0xdb7031))_0x4496c1['updateMarker'](_0xdb7031,{'range':_0x5d9fbd});else{if(_0x5d9fbd['start']['isAtEnd']){const _0x86c69=_0x5d9fbd['start']['getLastMatchingPosition'](({item:_0x414642})=>!_0x313cd9['schema']['isContent'](_0x414642),{'boundaries':_0x5d9fbd});_0x4496c1['addMarker'](_0xdb7031,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4496c1['createRange'](_0x86c69,_0x5d9fbd['end'])});}else _0x4496c1['addMarker'](_0xdb7031,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5d9fbd});}_0x1f309b++;}});}['hideFakeVisualSelection'](){const _0x554b2c=this['editor']['model'],_0x1bf65e=Array['from'](this['editor']['model']['markers']['getMarkersGroup'](_0x888e1a));_0x1bf65e['length']&&_0x554b2c['change'](_0x3936de=>{_0x1bf65e['forEach'](_0xbb8a32=>{_0x3936de['removeMarker'](_0xbb8a32);});});}['insertContent'](_0x536df7,_0x5ce666){const _0x48c948=this['_getAISelection'](),_0xc42cd=_0x5ce666||_0x48c948['getFirstRange']();this['editor']['model']['canEditAt'](_0xc42cd)&&this['editor']['model']['change'](_0x2d1a15=>{this['hideFakeVisualSelection'](),_0x5ce666||this['_resetContentOfSelectedTableCells'](_0x2d1a15,_0x48c948),this['_pasteHTMLUsingClipboard']({'insertAt':_0xc42cd,'writer':_0x2d1a15,'html':_0x536df7});});}['insertContentBelow'](_0x16c883){const {model:_0x232c69}=this['editor'],_0x2d4e15=this['_getAISelection']();_0x232c69['change'](()=>{const _0xa0b417=this['_prepareTableInsertBelowPosition'](_0x16c883,_0x2d4e15)||this['_getDefaultInsertBelowPosition'](_0x2d4e15);this['insertContent'](_0x16c883,_0xa0b417);});}['_getAISelection'](){const _0x51402c=this['editor']['model'],_0x4ff72d=Array['from'](_0x51402c['markers']['getMarkersGroup'](_0x888e1a))['map'](_0x31978f=>_0x31978f['getRange']());return _0x51402c['createSelection'](_0x4ff72d);}['_pasteHTMLUsingClipboard']({writer:_0x36f81d,html:_0x39d6cf,insertAt:_0x25e71d}){const {view:_0x546905}=this['editor']['editing'],_0x20bd72=this['editor']['plugins']['get'](_0x22b56d['ClipboardPipeline']),_0x37ffb0=new _0x6460a8();_0x37ffb0['setData']('text/html',_0x39d6cf);const _0x771c5a=new ClipboardEvent('paste',{'clipboardData':_0x37ffb0}),_0x2289e7=new _0x22b56d['ViewDocumentDomEventData'](_0x546905,_0x771c5a,{'dataTransfer':new _0x22b56d['ViewDataTransfer'](_0x37ffb0)});_0x36f81d['setSelection'](_0x25e71d);const _0x47797d=(_0x5a0b14,_0x5900cd)=>{_0x5900cd['resultRange']&&_0x36f81d['setSelection'](_0x5900cd['resultRange']);};_0x20bd72['once']('contentInsertion',_0x47797d,{'priority':'lowest'}),_0x546905['document']['fire']('paste',_0x2289e7),_0x20bd72['off']('contentInsertion',_0x47797d);}['_getDefaultInsertBelowPosition'](_0x288f7c){const {model:_0x561482}=this['editor'],_0x146350=Array['from'](_0x288f7c['getSelectedBlocks']());return _0x146350['length']?_0x561482['createPositionAfter'](_0x146350['pop']()):_0x288f7c['getLastPosition']();}['_prepareTableInsertBelowPosition'](_0x24f878,_0x4e67a0){const {model:_0x58038a,plugins:_0x369600}=this['editor'];if(_0x369600['has']('TableUtils')){const _0x46f2cd=_0x369600['get']('TableUtils')['getSelectedTableCells'](_0x4e67a0);if(_0x46f2cd['length']){const _0x132f99=this['_getTableRowCountFromContent'](_0x24f878),_0x1105c0=this['_createEmptyTableRows'](_0x46f2cd,_0x132f99);return _0x58038a['createPositionAt'](_0x1105c0,0x0);}}return null;}['_getTableRowCountFromContent'](_0x561d1a){const _0xdcd61e=this['editor']['plugins']['get']('TableUtils'),_0x116cd1=this['editor']['data']['parse'](_0x561d1a),_0x6a22b5=Array['from'](_0x116cd1['getChildren']())['filter'](_0x427a0b=>_0x427a0b['is']('element','table'));let _0x3c90bf=0x0;return _0x6a22b5['forEach'](_0x584b0b=>{_0x3c90bf+=_0xdcd61e['getRows'](_0x584b0b);}),_0x3c90bf;}['_createEmptyTableRows'](_0x273dd1,_0x5837c3){const _0x36d52e=this['editor']['plugins']['get']('TableUtils'),_0x3eb1bc=_0x36d52e['getRowIndexes'](_0x273dd1),_0x250ba4=_0x36d52e['getColumnIndexes'](_0x273dd1),_0x16add9=_0x3eb1bc['last']+0x1,_0x154199=_0x250ba4['first'],_0x15d4f3=_0x273dd1[0x0]['findAncestor']('table');for(let _0x5b22f=0x0;_0x5b22f<_0x5837c3;_0x5b22f++)_0x36d52e['insertRows'](_0x15d4f3,{'at':_0x16add9});return _0x15d4f3['getChild'](_0x16add9)['getChild'](_0x154199);}['_resetContentOfSelectedTableCells'](_0x44794d,_0x4ac1e0){const {plugins:_0x12126e}=this['editor'],{model:_0x243002}=_0x44794d;if(!_0x12126e['has']('TableUtils'))return;_0x12126e['get']('TableUtils')['getSelectedTableCells'](_0x4ac1e0)['length']&&_0x243002['deleteContent'](_0x4ac1e0);}}class AIAdapter extends _0x22b56d['Plugin']{static get['pluginName'](){return'AIAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){if(!this['textAdapter'])throw new _0x22b56d['CKEditorError']('aiadapter-text-adapter-not-set',null);}}class AIRequestError extends Error{constructor(_0x2af7e4){super(_0x2af7e4),this['name']='AIRequestError';}}function _0x4ff019(_0x11777b,_0x2e3401,_0x18dedd){const t=_0x11777b['t'];switch(_0x2e3401){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',_0x18dedd);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x18dedd);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'},_0x18dedd);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_AWS_NOT_SUPPORTED':return t({'id':'AI_ERROR_AWS_NOT_SUPPORTED','string':'The\x20AWS\x20integration\x20is\x20no\x20longer\x20supported.\x20Please\x20contact\x20the\x20support.'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x2e3401;}}class ShowAIAssistantCommand extends _0x22b56d['Command']{['_commandDefinitions'];constructor(_0x24eaa2,_0x1b4ba6){super(_0x24eaa2),this['_commandDefinitions']=_0x1b4ba6,this['set']('enabledCommandsIds',[]),this['on']('change:_hasContext',(_0x119cef,_0x2c7717,_0x4f67d4)=>{this['isEnabled']&&(this['enabledCommandsIds']=_0x5be29f(this['_commandDefinitions'],_0x4f67d4));}),this['set']('_hasContext',!0x1),this['on']('change:isEnabled',(_0x13583d,_0x464868,_0x8e9900)=>{this['enabledCommandsIds']=_0x8e9900?_0x5be29f(this['_commandDefinitions'],this['_hasContext']):[];});}['refresh'](){const _0x132e22=this['editor']['model'];this['_hasContext']=function(_0x57cb35){const _0x3d51ad=_0x57cb35['document']['selection'];return _0x3d51ad['isCollapsed']?0x0!==[..._0x3d51ad['getSelectedBlocks']()]['length']&&![..._0x3d51ad['getSelectedBlocks']()][0x0]['isEmpty']:!!_0x57cb35['hasContent'](_0x3d51ad['getFirstRange']());}(_0x132e22);const _0x9d574=_0x132e22['document']['selection'],_0x4768a7=this['editor']['config']['get']('ai.assistant.disabledElements');for(const _0x2e1448 of _0x9d574['getRanges']())for(const _0x3e1a77 of _0x2e1448['getItems']())if(_0x3e1a77['is']('element')&&_0x4768a7['includes'](_0x3e1a77['name']))return void(this['isEnabled']=!0x1);this['isEnabled']=!0x0;}['execute'](_0x140c81='',_0x555492='',_0x623b74='custom'){this['editor']['plugins']['get'](AIAssistantUI)['showUI'](_0x140c81,_0x555492,_0x623b74);}}function _0x5be29f(_0x9927d4,_0x2b90b3){const _0x450d09=new Set();for(const _0x3b3ec4 of _0x9927d4['values']())(_0x2b90b3||!0x1===_0x3b3ec4['requiresContent'])&&_0x450d09['add'](_0x3b3ec4['id']);return Array['from'](_0x450d09);}const _0x56c27c=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');class AIAssistantController extends/* #__PURE__ -- @preserve */
_0x22b56d['ObservableMixin'](){['editor'];['textAdapter'];['view'];['_sanitizationContainer'];['_domParser'];['_xmlSerializer'];constructor(_0x326229,_0x1384ec,_0x43efa9){super(),this['editor']=_0x326229,this['textAdapter']=_0x1384ec,this['_sanitizationContainer']=document['createElement']('div'),this['_domParser']=new DOMParser(),this['_xmlSerializer']=new XMLSerializer(),this['view']=_0x43efa9,this['set']({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on']('set:currentContext',(_0x1a1def,_0x580cd1,_0x1ebe8a)=>{this['view']['value']=this['_sanitizeHTML'](_0x1ebe8a);}),this['listenTo'](this['view'],'submitPrompt',(_0x3356f6,_0x399aae)=>{const _0x912c8e=this['currentContext']||this['initialContext'];this['_handleQuery'](_0x399aae,_0x912c8e,'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:_0x3dbce6,query:_0x49f578,htmlContent:_0x52606a,label:_0x31526c,mainActionLabel:_0x145915}){this['view']['prompt']=_0x31526c,this['view']['mainAction']=_0x145915,this['initialContext']=_0x52606a,_0x49f578&&(this['view']['isRendered']?this['_handleQuery'](_0x49f578,_0x52606a,_0x3dbce6,_0x31526c):this['view']['once']('render',()=>{this['_handleQuery'](_0x49f578,_0x52606a,_0x3dbce6,_0x31526c);}));}['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'](_0x455768,_0x305ba8,_0x4ef25e,_0x5a1978){return this['isProcessing']=!0x0,this['view']['startProcessing'](),this['previousContext']=_0x305ba8,this['previousQuery']=_0x455768,this['previousLabel']=_0x5a1978||_0x455768,this['previousActionId']=_0x4ef25e,new Promise(_0x389a0d=>{this['textAdapter']['makeRequest']({'query':_0x455768,'context':_0x305ba8,'onData':_0x372314=>{this['currentResponse']=_0x372314,this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse']);},'actionId':_0x4ef25e})['then'](()=>{!this['currentContext']&&this['currentResponse']&&(this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse'],!0x0));})['catch'](_0x4d2335=>{_0x4d2335 instanceof AIRequestError?this['view']['handleError'](_0x4d2335['message']):this['view']['handleError'](),_0x389a0d();})['finally'](()=>{this['stopProcessing'](),_0x389a0d();});});}['_parseAndNormalizeContent'](_0x4cfd03,_0x535d32=!0x1){const _0x3c1267=_0x56c27c['exec'](_0x4cfd03);_0x4cfd03=_0x3c1267?_0x4cfd03['substring'](_0x3c1267[0x1]['length']):_0x4cfd03['length']<0x64&&!_0x535d32?'':this['_stripMarkdownSyntax'](_0x4cfd03);const _0x109e30=this['_domParser']['parseFromString'](_0x4cfd03,'text/html');if(_0x3c1267){const _0x27aedb=Array['from'](_0x109e30['body']['childNodes']);_0x27aedb['reverse']();for(const _0xc7272b of _0x27aedb){if(_0xc7272b['nodeType']==Node['ELEMENT_NODE'])break;_0xc7272b['remove']();}}const _0xf859c1=this['editor']['data']['processor']['toView'](this['_xmlSerializer']['serializeToString'](_0x109e30['body']));this['_isH1TagSupportEnabled']()||this['_normalizeResponseHeadings'](_0xf859c1);const _0x24afa6=this['editor']['config']['get']('ai.assistant.preserveComments'),_0x311bbe=this['editor']['data']['toModel'](_0xf859c1);return _0x24afa6||_0x311bbe['markers']['clear'](),this['editor']['data']['stringify'](_0x311bbe);}['_normalizeResponseHeadings'](_0x46e7f1){const _0x39428c=new _0x22b56d['ViewUpcastWriter'](this['editor']['editing']['view']['document']),_0x3af709=new _0x22b56d['Matcher']({'name':/^h[1-5]$/}),_0xa83710=[];let _0x467fdc=!0x1;for(const _0x5caa96 of _0x46e7f1)_0x5caa96['is']('element')&&_0x3af709['match'](_0x5caa96)&&(_0xa83710['push'](_0x5caa96),'h1'==_0x5caa96['name']&&(_0x467fdc=!0x0));if(_0x467fdc){for(const _0x2ddb24 of _0xa83710)_0x39428c['rename']('h'+(parseInt(_0x2ddb24['name'][0x1])+0x1),_0x2ddb24);}}['_isH1TagSupportEnabled'](){const {data:_0x19b2b0,editing:_0x295262}=this['editor'],_0x14db9f=_0x19b2b0['htmlProcessor']['toView']('<h1></h1>'),_0x5ddaac=_0x19b2b0['toView'](_0x19b2b0['toModel'](_0x14db9f));return!!_0x295262['view']['domConverter']['viewToDom'](_0x5ddaac)['querySelector']('h1');}['_sanitizeHTML'](_0x3129ac){return this['editor']['editing']['view']['domConverter']['setContentOf'](this['_sanitizationContainer'],_0x3129ac),this['_sanitizationContainer']['innerHTML'];}['_stripMarkdownSyntax'](_0x22b6ef){const _0x4ff6a3=_0x22b6ef['trim']();return _0x4ff6a3['startsWith']('```html')?_0x4ff6a3['endsWith']('```')?_0x4ff6a3['substring'](0x7,_0x4ff6a3['length']-0x3):_0x4ff6a3['substring'](0x7):_0x22b6ef;}}const _0x19bf59={'REPLACE':'replace','INSERT':'insert'};class _0x5c113d extends _0x22b56d['ToolbarView']{constructor(_0x5a9552){super(_0x5a9552),this['set']('isVisible',!0x1),this['set']('mainAction',_0x19bf59['REPLACE']),this['replaceButton']=this['_createButton']('','ck-button-action'),this['replaceButton']['bind']('label')['to'](this,'mainAction',_0x5e9f21=>_0x4ff019(_0x5a9552,'AI_'+_0x5e9f21['toUpperCase']()+'_CONTENT')),this['insertButton']=this['_createButton'](_0x4ff019(_0x5a9552,'Insert\x20below')),this['tryAgainButton']=this['_createButton'](_0x4ff019(_0x5a9552,'Try\x20again')),this['stopButton']=this['_createButton'](_0x4ff019(_0x5a9552,'Stop'));const _0x377e8f=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-form__toolbar',_0x377e8f['if']('isVisible','ck-hidden',_0x363d9f=>!_0x363d9f)]}}),this['items']['addMany']([this['replaceButton'],this['insertButton'],this['tryAgainButton'],this['stopButton']]);}['_createButton'](_0x2d6a6f,_0x54a33c){const _0x4b7559=new _0x22b56d['ButtonView'](this['locale']);return _0x4b7559['set']({'label':_0x2d6a6f,'class':_0x54a33c||'','isVisible':!0x0,'withText':!0x0}),_0x4b7559;}}class AIFormContentArea extends _0x22b56d['View']{['contentFieldView'];['copyButtonView'];constructor(_0x52c597,_0x4cbe7d=''){super(_0x52c597),this['set']({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x24bbd2=this['bindTemplate'];this['contentFieldView']=new ContentFieldView(_0x52c597,_0x4cbe7d),this['copyButtonView']=this['_createCopyButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area-wrapper',_0x24bbd2['if']('isVisible','ck-hidden',_0x226682=>!_0x226682)],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area',_0x24bbd2['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 _0x1e6908=!0x1;this['on']('change:value',(_0x325153,_0x54e29f,_0x32b574)=>{const _0x375514=!this['contentFieldView']['element']['querySelector']('.ck-ai-form__loader');this['contentFieldView']['setContent'](_0x32b574),this['isProcessing']&&_0x375514&&!_0x1e6908&&this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'smooth'});}),this['on']('change:isProcessing',(_0x1275d9,_0x3ef754,_0xd70bc2)=>{_0x1e6908=!0x1,_0xd70bc2?(this['value']=null,this['contentFieldView']['appendLoader']()):this['value']||this['contentFieldView']['setContent']('');}),this['listenTo'](this['element'],'wheel',()=>{_0x1e6908=!0x0;}),this['listenTo'](this['element'],'mousedown',()=>{_0x1e6908=!0x0;});}['focus'](){this['element']['focus']();}['_createCopyButton'](){const _0x472c78=this['locale'],_0x3ca1ca=new _0x22b56d['ButtonView'](this['locale']),_0x286913='ck-ai-form__copy-button';return _0x3ca1ca['set']({'label':_0x4ff019(_0x472c78,'Copy'),'icon':_0x22b56d['IconCopy'],'class':_0x286913,'tooltip':!0x0}),_0x3ca1ca['bind']('isVisible')['to'](this,'value',_0x33bf4f=>!!_0x33bf4f),_0x3ca1ca['bind']('isEnabled')['to'](this,'isProcessing',_0x253a86=>!_0x253a86),_0x3ca1ca['on']('execute',()=>{this['_copyHTMLToClipboard'](this['contentFieldView']['element']),_0x3ca1ca['icon']=_0x22b56d['IconCheck'],_0x3ca1ca['class']=_0x286913+'\x20ck-ai-form__copy-button--copied',this['focus'](),setTimeout(()=>{_0x3ca1ca['icon']=_0x22b56d['IconCopy'],_0x3ca1ca['class']=_0x286913;},0x3e8);}),_0x3ca1ca;}['_copyHTMLToClipboard'](_0x2e71f3){const {window:_0x1fd4e3,document:_0x1070ce}=_0x22b56d['global'];if(_0x1fd4e3['ClipboardItem']){const {Blob:_0x485a7e,ClipboardItem:_0x54c372}=_0x1fd4e3,_0x4b818f=[new _0x54c372({'text/html':new _0x485a7e([_0x2e71f3['innerHTML']],{'type':'text/html'}),'text/plain':new _0x485a7e([_0x2e71f3['textContent']||''],{'type':'text/plain'})})];navigator['clipboard']['write'](_0x4b818f);}else{const _0x2b7f16=_0x1070ce['createElement']('div');_0x2b7f16['style']['position']='absolute',_0x2b7f16['style']['left']='-9999px',_0x2b7f16['innerHTML']='<span>[</span>'+_0x2e71f3['innerHTML']+'<span>]</span>',_0x1070ce['body']['appendChild'](_0x2b7f16);const _0x6e0cd1=_0x1070ce['createRange']();_0x6e0cd1['setStartAfter'](_0x2b7f16['firstElementChild']),_0x6e0cd1['setEndBefore'](_0x2b7f16['lastElementChild']);const _0x2a77eb=_0x1fd4e3['getSelection']();_0x2a77eb['removeAllRanges'](),_0x2a77eb['addRange'](_0x6e0cd1),_0x1070ce['execCommand']('copy'),_0x2b7f16['remove']();}}}class ContentFieldView extends _0x22b56d['View']{constructor(_0x1cca66,_0x3b3953=''){super(_0x1cca66),this['loaderView']=this['_createLoader'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content',_0x3b3953,'ck-reset_all-excluded','ck-ai-form__content-field']}});}['setContent'](_0x3ce8a1){this['element']['innerHTML']=_0x3ce8a1;}['appendLoader'](){this['element']['appendChild'](this['loaderView']['element']);}['_createLoader'](){const _0x5151a4=new _0x22b56d['View'](),_0x50b366=this['locale'],_0x2bb888=new _0x22b56d['SpinnerView']();return _0x2bb888['isVisible']=!0x0,_0x5151a4['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__loader']},'children':[_0x2bb888,{'text':_0x4ff019(_0x50b366,'AI\x20is\x20writing...')}]}),_0x5151a4['render'](),_0x5151a4;}}class _0x2f862c extends _0x22b56d['View']{constructor(_0x3e777b,_0x2962bb=''){super(_0x3e777b);const _0x47b541=new _0x22b56d['IconView'](),_0x21eefa=this['bindTemplate'];this['set']('text',_0x2962bb),_0x47b541['content']=_0x22b56d['IconError'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__error']},'children':[_0x47b541,{'text':_0x21eefa['to']('text')}]});}}class AIFormPromptView extends _0x22b56d['AutocompleteView']{['submitButtonView'];['showHistoryButtonView'];constructor(_0xb56807,_0xb7bd47){super(_0xb56807,_0xb7bd47),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',(_0x42074c,_0x7a5a89)=>{_0x42074c['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x7a5a89());});}['_createSubmitButton'](){const _0x5a7147=new _0x22b56d['ButtonView'](this['locale']),_0x3a6313=this['locale'];return _0x5a7147['set']({'icon':_0x22b56d['IconSubmit'],'label':_0x4ff019(_0x3a6313,'Submit'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-form__submit'}),_0x5a7147['on']('execute',()=>{this['submit']();}),_0x5a7147['bind']('isEnabled')['to'](this['queryView']['fieldView'],'isEmpty',this,'isEnabled',(_0x519170,_0x2a5c43)=>!_0x519170&&_0x2a5c43),_0x5a7147;}['_createShowHistoryButton'](){const _0x53c7cf=new _0x22b56d['ButtonView'](this['locale']),_0x5e7102=this['resultsView'],_0x50beb5=this['locale'];_0x53c7cf['set']({'label':_0x4ff019(_0x50beb5,'History'),'withText':!0x1,'icon':_0x22b56d['IconAIHistory'],'tooltip':!0x0,'tooltipPosition':'sw','class':'ck-ai-form__toggle-history'}),_0x53c7cf['bind']('isOn')['to'](_0x5e7102,'isVisible'),_0x53c7cf['bind']('isEnabled')['to'](this,'isEnabled'),_0x53c7cf['on']('execute',()=>{_0x5e7102['isVisible']=!_0x5e7102['isVisible'],_0x5e7102['isVisible']?this['filteredView']['focus']():this['focus']();});const _0x2a21b8=()=>{_0x22b56d['global']['window']['requestAnimationFrame'](()=>{if(_0x22b56d['isVisible'](this['element'])){const _0x46a577=new _0x22b56d['Rect'](this['queryView']['fieldView']['element']),_0x244a64=_0x46a577['width'],_0x4adbdd='rtl'===_0x50beb5['uiLanguageDirection']?'left':'right';_0x46a577['excludeScrollbarsAndBorders'](),_0x53c7cf['element']['style'][_0x4adbdd]=_0x244a64-_0x46a577['width']+0x1+'px';}});};return this['queryView']['fieldView']['on']('update',_0x2a21b8),this['on']('render',_0x2a21b8),_0x53c7cf;}['submit'](){const _0x36f903=this['queryView']['fieldView']['element']['value'];this['fire']('submit',_0x36f903);}['focus'](_0x1bce2c){-0x1===_0x1bce2c?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}}class AIHistoryListView extends _0x22b56d['ListView']{['historyGroupView'];['clearHistoryButton'];constructor(_0x29a1b0){super(_0x29a1b0),this['clearHistoryButton']=this['_createClearHistoryButton'](),this['historyGroupView']=new _0x22b56d['ListItemGroupView'](),this['historyGroupView']['children']['add'](this['clearHistoryButton'],0x1),this['historyGroupView']['label']=_0x4ff019(_0x29a1b0,'Prompt\x20history'),this['historyGroupView']['items']['delegate']('execute')['to'](this),this['items']['add'](this['historyGroupView']);}['filter'](){let _0x58aec2=0x0;for(const _0x2902cd of this['items'])_0x58aec2+=_0x2902cd['items']['length'];return{'resultsCount':_0x58aec2,'totalItemsCount':_0x58aec2};}['_createClearHistoryButton'](){const _0x532a0d=this['locale'],_0x14acf8=new _0x22b56d['ButtonView'](this['locale']);return _0x14acf8['set']({'label':'('+_0x4ff019(_0x532a0d,'Clear')+')','withText':!0x0}),_0x14acf8['on']('execute',()=>this['fire']('clearHistory')),_0x14acf8;}}function _0x21e822(_0x16c17f){return'__proto__'===_0x16c17f;}function _0x203f87(_0x389a74){switch(typeof _0x389a74){case'number':case'symbol':return!0x1;case'string':return _0x389a74['includes']('.')||_0x389a74['includes']('[')||_0x389a74['includes'](']');}}function _0x28abcb(_0x48637f){return'string'==typeof _0x48637f||'symbol'==typeof _0x48637f?_0x48637f:Object['is'](_0x48637f?.['valueOf']?.(),-0x0)?'-0':String(_0x48637f);}function _0x54b2e7(_0x2afd24){const _0x2f9c41=[],_0x47f003=_0x2afd24['length'];if(0x0===_0x47f003)return _0x2f9c41;let _0x4072c8=0x0,_0x391192='',_0x3dccdb='',_0x5f12f5=!0x1;for(0x2e===_0x2afd24['charCodeAt'](0x0)&&(_0x2f9c41['push'](''),_0x4072c8++);_0x4072c8<_0x47f003;){const _0x369c02=_0x2afd24[_0x4072c8];_0x3dccdb?'\x5c'===_0x369c02&&_0x4072c8+0x1<_0x47f003?(_0x4072c8++,_0x391192+=_0x2afd24[_0x4072c8]):_0x369c02===_0x3dccdb?_0x3dccdb='':_0x391192+=_0x369c02:_0x5f12f5?'\x22'===_0x369c02||'\x27'===_0x369c02?_0x3dccdb=_0x369c02:']'===_0x369c02?(_0x5f12f5=!0x1,_0x2f9c41['push'](_0x391192),_0x391192=''):_0x391192+=_0x369c02:'['===_0x369c02?(_0x5f12f5=!0x0,_0x391192&&(_0x2f9c41['push'](_0x391192),_0x391192='')):'.'===_0x369c02?_0x391192&&(_0x2f9c41['push'](_0x391192),_0x391192=''):_0x391192+=_0x369c02,_0x4072c8++;}return _0x391192&&_0x2f9c41['push'](_0x391192),_0x2f9c41;}function _0x4445bc(_0x185643,_0x37307e,_0x3f6fbb){if(null==_0x185643)return _0x3f6fbb;switch(typeof _0x37307e){case'string':{if(_0x21e822(_0x37307e))return _0x3f6fbb;const _0x22aa20=_0x185643[_0x37307e];return void 0x0===_0x22aa20?_0x203f87(_0x37307e)?_0x4445bc(_0x185643,_0x54b2e7(_0x37307e),_0x3f6fbb):_0x3f6fbb:_0x22aa20;}case'number':case'symbol':{'number'==typeof _0x37307e&&(_0x37307e=_0x28abcb(_0x37307e));const _0x71fb3d=_0x185643[_0x37307e];return void 0x0===_0x71fb3d?_0x3f6fbb:_0x71fb3d;}default:{if(Array['isArray'](_0x37307e))return function(_0x1b4afe,_0x1bccb7,_0x401628){if(0x0===_0x1bccb7['length'])return _0x401628;let _0x1c9105=_0x1b4afe;for(let _0x244539=0x0;_0x244539<_0x1bccb7['length'];_0x244539++){if(null==_0x1c9105)return _0x401628;if(_0x21e822(_0x1bccb7[_0x244539]))return _0x401628;_0x1c9105=_0x1c9105[_0x1bccb7[_0x244539]];}if(void 0x0===_0x1c9105)return _0x401628;return _0x1c9105;}(_0x185643,_0x37307e,_0x3f6fbb);if(_0x21e822(_0x37307e=Object['is'](_0x37307e?.['valueOf'](),-0x0)?'-0':String(_0x37307e)))return _0x3f6fbb;const _0x23f7a7=_0x185643[_0x37307e];return void 0x0===_0x23f7a7?_0x3f6fbb:_0x23f7a7;}}}function _0xb48b69(_0x1b52f3){return null!==_0x1b52f3&&('object'==typeof _0x1b52f3||'function'==typeof _0x1b52f3);}function _0x160e9d(_0x1484f2,_0x3cfc9b){return _0x1484f2===_0x3cfc9b||Number['isNaN'](_0x1484f2)&&Number['isNaN'](_0x3cfc9b);}function _0x2f6dae(_0x39c58a){return Object['getOwnPropertySymbols'](_0x39c58a)['filter'](_0x26152c=>Object['prototype']['propertyIsEnumerable']['call'](_0x39c58a,_0x26152c));}function _0x2ca6ac(_0x51d5a9){return null==_0x51d5a9?void 0x0===_0x51d5a9?'[object\x20Undefined]':'[object\x20Null]':Object['prototype']['toString']['call'](_0x51d5a9);}const _0x104799='[object\x20RegExp]',_0x2a6f03='[object\x20String]',_0x3eeccc='[object\x20Number]',_0x340ac5='[object\x20Boolean]',_0x2128cf='[object\x20Arguments]',_0x3ba498='[object\x20Symbol]',_0x57eeca='[object\x20Date]',_0x33c5df='[object\x20Map]',_0x418bba='[object\x20Set]',_0x2f1987='[object\x20Array]',_0x47e230='[object\x20ArrayBuffer]',_0x44642a='[object\x20Object]',_0x304106='[object\x20DataView]',_0x3658f5='[object\x20Uint8Array]',_0x352407='[object\x20Uint8ClampedArray]',_0x4841ff='[object\x20Uint16Array]',_0x3cd80e='[object\x20Uint32Array]',_0x1bbe66='[object\x20Int8Array]',_0x3d579e='[object\x20Int16Array]',_0x162809='[object\x20Int32Array]',_0x396b29='[object\x20Float32Array]',_0x127d3b='[object\x20Float64Array]';function _0x441ccd(_0x1ba9e1,_0x4c8807,_0x36e990,_0x4e12d8=new Map(),_0x13d8bd=void 0x0){const _0x265d48=_0x13d8bd?.(_0x1ba9e1,_0x4c8807,_0x36e990,_0x4e12d8);if(null!=_0x265d48)return _0x265d48;if(function(_0x5b0eda){return null==_0x5b0eda||'object'!=typeof _0x5b0eda&&'function'!=typeof _0x5b0eda;}(_0x1ba9e1))return _0x1ba9e1;if(_0x4e12d8['has'](_0x1ba9e1))return _0x4e12d8['get'](_0x1ba9e1);if(Array['isArray'](_0x1ba9e1)){const _0x5dfa86=new Array(_0x1ba9e1['length']);_0x4e12d8['set'](_0x1ba9e1,_0x5dfa86);for(let _0x41dc56=0x0;_0x41dc56<_0x1ba9e1['length'];_0x41dc56++)_0x5dfa86[_0x41dc56]=_0x441ccd(_0x1ba9e1[_0x41dc56],_0x41dc56,_0x36e990,_0x4e12d8,_0x13d8bd);return Object['hasOwn'](_0x1ba9e1,'index')&&(_0x5dfa86['index']=_0x1ba9e1['index']),Object['hasOwn'](_0x1ba9e1,'input')&&(_0x5dfa86['input']=_0x1ba9e1['input']),_0x5dfa86;}if(_0x1ba9e1 instanceof Date)return new Date(_0x1ba9e1['getTime']());if(_0x1ba9e1 instanceof RegExp){const _0x24bc52=new RegExp(_0x1ba9e1['source'],_0x1ba9e1['flags']);return _0x24bc52['lastIndex']=_0x1ba9e1['lastIndex'],_0x24bc52;}if(_0x1ba9e1 instanceof Map){const _0x505593=new Map();_0x4e12d8['set'](_0x1ba9e1,_0x505593);for(const [_0x230c9e,_0x2b9881]of _0x1ba9e1)_0x505593['set'](_0x230c9e,_0x441ccd(_0x2b9881,_0x230c9e,_0x36e990,_0x4e12d8,_0x13d8bd));return _0x505593;}if(_0x1ba9e1 instanceof Set){const _0x332b06=new Set();_0x4e12d8['set'](_0x1ba9e1,_0x332b06);for(const _0x189229 of _0x1ba9e1)_0x332b06['add'](_0x441ccd(_0x189229,void 0x0,_0x36e990,_0x4e12d8,_0x13d8bd));return _0x332b06;}if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x1ba9e1))return _0x1ba9e1['subarray']();if(_0x3b7f5b=_0x1ba9e1,ArrayBuffer['isView'](_0x3b7f5b)&&!(_0x3b7f5b instanceof DataView)){const _0x307e66=new(Object['getPrototypeOf'](_0x1ba9e1))['constructor'](_0x1ba9e1['length']);_0x4e12d8['set'](_0x1ba9e1,_0x307e66);for(let _0x40261d=0x0;_0x40261d<_0x1ba9e1['length'];_0x40261d++)_0x307e66[_0x40261d]=_0x441ccd(_0x1ba9e1[_0x40261d],_0x40261d,_0x36e990,_0x4e12d8,_0x13d8bd);return _0x307e66;}var _0x3b7f5b;if(_0x1ba9e1 instanceof ArrayBuffer||'undefined'!=typeof SharedArrayBuffer&&_0x1ba9e1 instanceof SharedArrayBuffer)return _0x1ba9e1['slice'](0x0);if(_0x1ba9e1 instanceof DataView){const _0x19bd59=new DataView(_0x1ba9e1['buffer']['slice'](0x0),_0x1ba9e1['byteOffset'],_0x1ba9e1['byteLength']);return _0x4e12d8['set'](_0x1ba9e1,_0x19bd59),_0x2adf0f(_0x19bd59,_0x1ba9e1,_0x36e990,_0x4e12d8,_0x13d8bd),_0x19bd59;}if('undefined'!=typeof File&&_0x1ba9e1 instanceof File){const _0x2a915d=new File([_0x1ba9e1],_0x1ba9e1['name'],{'type':_0x1ba9e1['type']});return _0x4e12d8['set'](_0x1ba9e1,_0x2a915d),_0x2adf0f(_0x2a915d,_0x1ba9e1,_0x36e990,_0x4e12d8,_0x13d8bd),_0x2a915d;}if(_0x1ba9e1 instanceof Blob){const _0x3f2f6a=new Blob([_0x1ba9e1],{'type':_0x1ba9e1['type']});return _0x4e12d8['set'](_0x1ba9e1,_0x3f2f6a),_0x2adf0f(_0x3f2f6a,_0x1ba9e1,_0x36e990,_0x4e12d8,_0x13d8bd),_0x3f2f6a;}if(_0x1ba9e1 instanceof Error){const _0x4b82b2=new _0x1ba9e1['constructor']();return _0x4e12d8['set'](_0x1ba9e1,_0x4b82b2),_0x4b82b2['message']=_0x1ba9e1['message'],_0x4b82b2['name']=_0x1ba9e1['name'],_0x4b82b2['stack']=_0x1ba9e1['stack'],_0x4b82b2['cause']=_0x1ba9e1['cause'],_0x2adf0f(_0x4b82b2,_0x1ba9e1,_0x36e990,_0x4e12d8,_0x13d8bd),_0x4b82b2;}if('object'==typeof _0x1ba9e1&&function(_0x59f429){switch(_0x2ca6ac(_0x59f429)){case _0x2128cf:case _0x2f1987:case _0x47e230:case _0x304106:case _0x340ac5:case _0x57eeca:case _0x396b29:case _0x127d3b:case _0x1bbe66:case _0x3d579e:case _0x162809:case _0x33c5df:case _0x3eeccc:case _0x44642a:case _0x104799:case _0x418bba:case _0x2a6f03:case _0x3ba498:case _0x3658f5:case _0x352407:case _0x4841ff:case _0x3cd80e:return!0x0;default:return!0x1;}}(_0x1ba9e1)){const _0x38ba83=Object['create'](Object['getPrototypeOf'](_0x1ba9e1));return _0x4e12d8['set'](_0x1ba9e1,_0x38ba83),_0x2adf0f(_0x38ba83,_0x1ba9e1,_0x36e990,_0x4e12d8,_0x13d8bd),_0x38ba83;}return _0x1ba9e1;}function _0x2adf0f(_0x50e931,_0x302a5d,_0x577087=_0x50e931,_0x39e4b5,_0x5b84f6){const _0x4a4e96=[...Object['keys'](_0x302a5d),..._0x2f6dae(_0x302a5d)];for(let _0xb309cf=0x0;_0xb309cf<_0x4a4e96['length'];_0xb309cf++){const _0x49880d=_0x4a4e96[_0xb309cf],_0x486b57=Object['getOwnPropertyDescriptor'](_0x50e931,_0x49880d);(null==_0x486b57||_0x486b57['writable'])&&(_0x50e931[_0x49880d]=_0x441ccd(_0x302a5d[_0x49880d],_0x49880d,_0x577087,_0x39e4b5,_0x5b84f6));}}function _0x225f94(_0x313024){return _0x441ccd(_0x313024,void 0x0,_0x313024,new Map(),void 0x0);}function _0x2ee1be(_0x2f2e65,_0x3e4ee6){return function(_0x21e5f9,_0xa54be8){return _0x441ccd(_0x21e5f9,void 0x0,_0x21e5f9,new Map(),_0xa54be8);}(_0x2f2e65,(_0x1bb1b2,_0x44dfed,_0x2e2c65,_0x48b325)=>{if('object'==typeof _0x2f2e65)switch(Object['prototype']['toString']['call'](_0x2f2e65)){case _0x3eeccc:case _0x2a6f03:case _0x340ac5:{const _0x3e477b=new _0x2f2e65['constructor'](_0x2f2e65?.['valueOf']());return _0x2adf0f(_0x3e477b,_0x2f2e65),_0x3e477b;}case _0x2128cf:{const _0x23ea46={};return _0x2adf0f(_0x23ea46,_0x2f2e65),_0x23ea46['length']=_0x2f2e65['length'],_0x23ea46[Symbol['iterator']]=_0x2f2e65[Symbol['iterator']],_0x23ea46;}default:return;}});}function _0xed69dc(_0x4b17e1){return _0x2ee1be(_0x4b17e1);}const _0x523d55=/^(?:0|[1-9]\d*)$/;function _0x32f158(_0x30403d,_0x54ae9c=Number['MAX_SAFE_INTEGER']){switch(typeof _0x30403d){case'number':return Number['isInteger'](_0x30403d)&&_0x30403d>=0x0&&_0x30403d<_0x54ae9c;case'symbol':return!0x1;case'string':return _0x523d55['test'](_0x30403d);}}const _0x394a15=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_0x5a0850=/^\w*$/;function _0xf82fbe(_0x4ec801,_0x1c179c){return!Array['isArray'](_0x4ec801)&&(!('number'!=typeof _0x4ec801&&'boolean'!=typeof _0x4ec801&&null!=_0x4ec801&&!function(_0x42780e){return'symbol'==typeof _0x42780e||_0x42780e instanceof Symbol;}(_0x4ec801))||('string'==typeof _0x4ec801&&(_0x5a0850['test'](_0x4ec801)||!_0x394a15['test'](_0x4ec801))||null!=_0x1c179c&&Object['hasOwn'](_0x1c179c,_0x4ec801)));}function tt(_0x182c8f,_0xec3d5b){if(null==_0x182c8f)return!0x0;switch(typeof _0xec3d5b){case'symbol':case'number':case'object':if(Array['isArray'](_0xec3d5b))return et(_0x182c8f,_0xec3d5b);if('number'==typeof _0xec3d5b?_0xec3d5b=_0x28abcb(_0xec3d5b):'object'==typeof _0xec3d5b&&(_0xec3d5b=Object['is'](_0xec3d5b?.['valueOf'](),-0x0)?'-0':String(_0xec3d5b)),_0x21e822(_0xec3d5b))return!0x1;if(void 0x0===_0x182c8f?.[_0xec3d5b])return!0x0;try{return delete _0x182c8f[_0xec3d5b],!0x0;}catch{return!0x1;}case'string':if(void 0x0===_0x182c8f?.[_0xec3d5b]&&_0x203f87(_0xec3d5b))return et(_0x182c8f,_0x54b2e7(_0xec3d5b));if(_0x21e822(_0xec3d5b))return!0x1;try{return delete _0x182c8f[_0xec3d5b],!0x0;}catch{return!0x1;}}}function et(_0x5f3d7e,_0x212897){const _0x5f31be=_0x4445bc(_0x5f3d7e,_0x212897['slice'](0x0,-0x1),_0x5f3d7e),_0x4046c7=_0x212897[_0x212897['length']-0x1];if(void 0x0===_0x5f31be?.[_0x4046c7])return!0x0;if(_0x21e822(_0x4046c7))return!0x1;try{return delete _0x5f31be[_0x4046c7],!0x0;}catch{return!0x1;}}const it=(_0x564b2b,_0x4c6dbf,_0x4b2cc7)=>{const _0xd23ec8=_0x564b2b[_0x4c6dbf];Object['hasOwn'](_0x564b2b,_0x4c6dbf)&&_0x160e9d(_0xd23ec8,_0x4b2cc7)&&(void 0x0!==_0x4b2cc7||_0x4c6dbf in _0x564b2b)||(_0x564b2b[_0x4c6dbf]=_0x4b2cc7);};function st(_0x37db27,_0x1b0b52,_0xf6db1d){return function(_0x4f2204,_0x1d8351,_0x38c008,_0x32a90f){if(null==_0x4f2204&&!_0xb48b69(_0x4f2204))return _0x4f2204;const _0x9c3fba=_0xf82fbe(_0x1d8351,_0x4f2204)?[_0x1d8351]:Array['isArray'](_0x1d8351)?_0x1d8351:'string'==typeof _0x1d8351?_0x54b2e7(_0x1d8351):[_0x1d8351];let _0x1946d9=_0x4f2204;for(let _0x1b0657=0x0;_0x1b0657<_0x9c3fba['length']&&null!=_0x1946d9;_0x1b0657++){const _0x2f9169=_0x28abcb(_0x9c3fba[_0x1b0657]);if(_0x21e822(_0x2f9169))continue;let _0x1b9075;if(_0x1b0657===_0x9c3fba['length']-0x1)_0x1b9075=_0x38c008(_0x1946d9[_0x2f9169]);else{const _0x4988dc=_0x1946d9[_0x2f9169],_0x6da9a8=_0x32a90f?.(_0x4988dc,_0x2f9169,_0x4f2204);_0x1b9075=void 0x0!==_0x6da9a8?_0x6da9a8:_0xb48b69(_0x4988dc)?_0x4988dc:_0x32f158(_0x9c3fba[_0x1b0657+0x1])?[]:{};}it(_0x1946d9,_0x2f9169,_0x1b9075),_0x1946d9=_0x1946d9[_0x2f9169];}return _0x4f2204;}(_0x37db27,_0x1b0b52,()=>_0xf6db1d,()=>{});}function nt(_0x53b1bd,_0x53801d,{signal:_0x191ca9,edges:_0x3844fc}={}){let _0x11ee10,_0x88d234=null;const _0xaae059=null!=_0x3844fc&&_0x3844fc['includes']('leading'),_0x3c7ac6=null==_0x3844fc||_0x3844fc['includes']('trailing'),_0x4df1cf=()=>{null!==_0x88d234&&(_0x53b1bd['apply'](_0x11ee10,_0x88d234),_0x11ee10=void 0x0,_0x88d234=null);};let _0x1ccdfa=null;const _0x1be7ad=()=>{null!=_0x1ccdfa&&clearTimeout(_0x1ccdfa),_0x1ccdfa=setTimeout(()=>{_0x1ccdfa=null,_0x3c7ac6&&_0x4df1cf(),_0x39de30();},_0x53801d);},_0x292ed7=()=>{null!==_0x1ccdfa&&(clearTimeout(_0x1ccdfa),_0x1ccdfa=null);},_0x39de30=()=>{_0x292ed7(),_0x11ee10=void 0x0,_0x88d234=null;},_0x403741=function(..._0x34ab60){if(_0x191ca9?.['aborted'])return;_0x11ee10=this,_0x88d234=_0x34ab60;const _0x41364e=null==_0x1ccdfa;_0x1be7ad(),_0xaae059&&_0x41364e&&_0x4df1cf();};return _0x403741['schedule']=_0x1be7ad,_0x403741['cancel']=_0x39de30,_0x403741['flush']=()=>{_0x292ed7(),_0x4df1cf();},_0x191ca9?.['addEventListener']('abort',_0x39de30,{'once':!0x0}),_0x403741;}function rt(_0x55c188,_0x184b1f=0x0,_0x216a91={}){'object'!=typeof _0x216a91&&(_0x216a91={});const {leading:_0xcbe9d9=!0x1,trailing:_0x7dd176=!0x0,maxWait:_0x4cfa45}=_0x216a91,_0x55bc68=Array(0x2);let _0x1975be;_0xcbe9d9&&(_0x55bc68[0x0]='leading'),_0x7dd176&&(_0x55bc68[0x1]='trailing');let _0x130e96=null;const _0x34f2d3=nt(function(..._0x5b0758){_0x1975be=_0x55c188['apply'](this,_0x5b0758),_0x130e96=null;},_0x184b1f,{'edges':_0x55bc68}),_0x2240d9=function(..._0x15375a){return null!=_0x4cfa45&&(null===_0x130e96&&(_0x130e96=Date['now']()),Date['now']()-_0x130e96>=_0x4cfa45)?(_0x1975be=_0x55c188['apply'](this,_0x15375a),_0x130e96=Date['now'](),_0x34f2d3['cancel'](),_0x34f2d3['schedule'](),_0x1975be):(_0x34f2d3['apply'](this,_0x15375a),_0x1975be);};return _0x2240d9['cancel']=_0x34f2d3['cancel'],_0x2240d9['flush']=()=>(_0x34f2d3['flush'](),_0x1975be),_0x2240d9;}function ot(_0x147dd3,_0x3b41b8=0x0,_0x574712={}){'object'!=typeof _0x574712&&(_0x574712={});const {leading:_0x39ce89=!0x0,trailing:_0x3d5d4a=!0x0}=_0x574712;return rt(_0x147dd3,_0x3b41b8,{'leading':_0x39ce89,'trailing':_0x3d5d4a,'maxWait':_0x3b41b8});}function at(_0x3bf5a6){if(null==_0x3bf5a6)return'';if('string'==typeof _0x3bf5a6)return _0x3bf5a6;if(Array['isArray'](_0x3bf5a6))return _0x3bf5a6['map'](at)['join'](',');const _0x3833de=String(_0x3bf5a6);return'0'===_0x3833de&&Object['is'](Number(_0x3bf5a6),-0x0)?'-0':_0x3833de;}function ct(_0x45e02a){if(!_0x45e02a||'object'!=typeof _0x45e02a)return!0x1;const _0x239fca=Object['getPrototypeOf'](_0x45e02a);return!(null!==_0x239fca&&_0x239fca!==Object['prototype']&&null!==Object['getPrototypeOf'](_0x239fca))&&'[object\x20Object]'===Object['prototype']['toString']['call'](_0x45e02a);}function lt(_0xe3e7ea,_0x228f65,_0x350750,_0x432aac,_0x542bd5,_0x4ac65e,_0x2de44c){const _0x33c045=_0x2de44c(_0xe3e7ea,_0x228f65,_0x350750,_0x432aac,_0x542bd5,_0x4ac65e);if(void 0x0!==_0x33c045)return _0x33c045;if(typeof _0xe3e7ea==typeof _0x228f65)switch(typeof _0xe3e7ea){case'bigint':case'string':case'boolean':case'symbol':case'undefined':case'function':return _0xe3e7ea===_0x228f65;case'number':return _0xe3e7ea===_0x228f65||Object['is'](_0xe3e7ea,_0x228f65);case'object':return ht(_0xe3e7ea,_0x228f65,_0x4ac65e,_0x2de44c);}return ht(_0xe3e7ea,_0x228f65,_0x4ac65e,_0x2de44c);}function ht(_0x5a1599,_0x3ba9ea,_0x12e881,_0x45c024){if(Object['is'](_0x5a1599,_0x3ba9ea))return!0x0;let _0x3285a7=_0x2ca6ac(_0x5a1599),_0x4e2059=_0x2ca6ac(_0x3ba9ea);if(_0x3285a7===_0x2128cf&&(_0x3285a7=_0x44642a),_0x4e2059===_0x2128cf&&(_0x4e2059=_0x44642a),_0x3285a7!==_0x4e2059)return!0x1;switch(_0x3285a7){case _0x2a6f03:return _0x5a1599['toString']()===_0x3ba9ea['toString']();case _0x3eeccc:return _0x160e9d(_0x5a1599['valueOf'](),_0x3ba9ea['valueOf']());case _0x340ac5:case _0x57eeca:case _0x3ba498:return Object['is'](_0x5a1599['valueOf'](),_0x3ba9ea['valueOf']());case _0x104799:return _0x5a1599['source']===_0x3ba9ea['source']&&_0x5a1599['flags']===_0x3ba9ea['flags'];case'[object\x20Function]':return _0x5a1599===_0x3ba9ea;}const _0x33e8a0=(_0x12e881=_0x12e881??new Map())['get'](_0x5a1599),_0x37ec76=_0x12e881['get'](_0x3ba9ea);if(null!=_0x33e8a0&&null!=_0x37ec76)return _0x33e8a0===_0x3ba9ea;_0x12e881['set'](_0x5a1599,_0x3ba9ea),_0x12e881['set'](_0x3ba9ea,_0x5a1599);try{switch(_0x3285a7){case _0x33c5df:if(_0x5a1599['size']!==_0x3ba9ea['size'])return!0x1;for(const [_0x2499d5,_0x2b2c19]of _0x5a1599['entries']())if(!_0x3ba9ea['has'](_0x2499d5)||!lt(_0x2b2c19,_0x3ba9ea['get'](_0x2499d5),_0x2499d5,_0x5a1599,_0x3ba9ea,_0x12e881,_0x45c024))return!0x1;return!0x0;case _0x418bba:{if(_0x5a1599['size']!==_0x3ba9ea['size'])return!0x1;const _0xad5c66=Array['from'](_0x5a1599['values']()),_0x1ee3e3=Array['from'](_0x3ba9ea['values']());for(let _0x2c9270=0x0;_0x2c9270<_0xad5c66['length'];_0x2c9270++){const _0x2655db=_0xad5c66[_0x2c9270],_0x1e2357=_0x1ee3e3['findIndex'](_0x3c1a9f=>lt(_0x2655db,_0x3c1a9f,void 0x0,_0x5a1599,_0x3ba9ea,_0x12e881,_0x45c024));if(-0x1===_0x1e2357)return!0x1;_0x1ee3e3['splice'](_0x1e2357,0x1);}return!0x0;}case _0x2f1987:case _0x3658f5:case _0x352407:case _0x4841ff:case _0x3cd80e:case'[object\x20BigUint64Array]':case _0x1bbe66:case _0x3d579e:case _0x162809:case'[object\x20BigInt64Array]':case _0x396b29:case _0x127d3b:if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x5a1599)!==Buffer['isBuffer'](_0x3ba9ea))return!0x1;if(_0x5a1599['length']!==_0x3ba9ea['length'])return!0x1;for(let _0x372648=0x0;_0x372648<_0x5a1599['length'];_0x372648++)if(!lt(_0x5a1599[_0x372648],_0x3ba9ea[_0x372648],_0x372648,_0x5a1599,_0x3ba9ea,_0x12e881,_0x45c024))return!0x1;return!0x0;case _0x47e230:return _0x5a1599['byteLength']===_0x3ba9ea['byteLength']&&ht(new Uint8Array(_0x5a1599),new Uint8Array(_0x3ba9ea),_0x12e881,_0x45c024);case _0x304106:return _0x5a1599['byteLength']===_0x3ba9ea['byteLength']&&_0x5a1599['byteOffset']===_0x3ba9ea['byteOffset']&&ht(new Uint8Array(_0x5a1599),new Uint8Array(_0x3ba9ea),_0x12e881,_0x45c024);case'[object\x20Error]':return _0x5a1599['name']===_0x3ba9ea['name']&&_0x5a1599['message']===_0x3ba9ea['message'];case _0x44642a:{if(!(ht(_0x5a1599['constructor'],_0x3ba9ea['constructor'],_0x12e881,_0x45c024)||ct(_0x5a1599)&&ct(_0x3ba9ea)))return!0x1;const _0x5485d6=[...Object['keys'](_0x5a1599),..._0x2f6dae(_0x5a1599)],_0x20f0ec=[...Object['keys'](_0x3ba9ea),..._0x2f6dae(_0x3ba9ea)];if(_0x5485d6['length']!==_0x20f0ec['length'])return!0x1;for(let _0xd2dcf1=0x0;_0xd2dcf1<_0x5485d6['length'];_0xd2dcf1++){const _0x1f772e=_0x5485d6[_0xd2dcf1],_0x458036=_0x5a1599[_0x1f772e];if(!Object['hasOwn'](_0x3ba9ea,_0x1f772e))return!0x1;if(!lt(_0x458036,_0x3ba9ea[_0x1f772e],_0x1f772e,_0x5a1599,_0x3ba9ea,_0x12e881,_0x45c024))return!0x1;}return!0x0;}default:return!0x1;}}finally{_0x12e881['delete'](_0x5a1599),_0x12e881['delete'](_0x3ba9ea);}}function ut(){}function dt(_0x4140b1,_0x417f51){return function(_0x3e3da4,_0x17c86d,_0x59c7ed){return lt(_0x3e3da4,_0x17c86d,void 0x0,void 0x0,void 0x0,void 0x0,_0x59c7ed);}(_0x4140b1,_0x417f51,ut);}function ft(_0x529ed7,..._0x34f5da){if(null==_0x529ed7)return{};const _0x18b967=_0x225f94(_0x529ed7);for(let _0x2a8b9e=0x0;_0x2a8b9e<_0x34f5da['length'];_0x2a8b9e++){let _0x5acf16=_0x34f5da[_0x2a8b9e];switch(typeof _0x5acf16){case'object':Array['isArray'](_0x5acf16)||(_0x5acf16=Array['from'](_0x5acf16));for(let _0x4b88a5=0x0;_0x4b88a5<_0x5acf16['length'];_0x4b88a5++){tt(_0x18b967,_0x5acf16[_0x4b88a5]);}break;case'string':case'symbol':case'number':tt(_0x18b967,_0x5acf16);}}return _0x18b967;}function mt(_0x5065db){return function(_0x1c5c3a){return'object'==typeof _0x1c5c3a&&null!==_0x1c5c3a;}(_0x5065db)&&0x1===_0x5065db['nodeType']&&!function(_0x510cbf){if('object'!=typeof _0x510cbf)return!0x1;if(null==_0x510cbf)return!0x1;if(null===Object['getPrototypeOf'](_0x510cbf))return!0x0;if('[object\x20Object]'!==Object['prototype']['toString']['call'](_0x510cbf)){const _0x293123=_0x510cbf[Symbol['toStringTag']];return null!=_0x293123&&(!!Object['getOwnPropertyDescriptor'](_0x510cbf,Symbol['toStringTag'])?.['writable']&&_0x510cbf['toString']()==='[object\x20'+_0x293123+']');}let _0x461b8b=_0x510cbf;for(;null!==Object['getPrototypeOf'](_0x461b8b);)_0x461b8b=Object['getPrototypeOf'](_0x461b8b);return Object['getPrototypeOf'](_0x510cbf)===_0x461b8b;}(_0x5065db);}const gt={'&':'&amp;','<':'&lt;','>':'&gt;','\x22':'&quot;','\x27':'&#39;'};function pt(_0x9ff155){return at(_0x9ff155)['replace'](/[&<>"']/g,_0x5baffc=>gt[_0x5baffc]);}function Ot(_0x43fa87){return function(_0x3e2b7b){return _0x3e2b7b['replace'](/[\\^$.*+?()[\]{}|]/g,'\x5c$&');}(at(_0x43fa87));}const wt={'&amp;':'&','&lt;':'<','&gt;':'>','&quot;':'\x22','&#39;':'\x27'};function bt(_0x2529f1){return function(_0x1c3c9a){return _0x1c3c9a['replace'](/&(?:amp|lt|gt|quot|#(0+)?39);/g,_0x54bd03=>wt[_0x54bd03]||'\x27');}(at(_0x2529f1));}class AIHistoryListItemView extends _0x22b56d['ListItemView']{constructor(_0x5d13f6){super();const _0x1a6194=new _0x22b56d['ButtonLabelView'](),_0x34b6bc=new _0x22b56d['ButtonView'](this['locale'],_0x1a6194);this['children']['add'](_0x34b6bc),_0x34b6bc['set']({'label':_0x5d13f6['prompt'],'withText':!0x0}),_0x34b6bc['on']('execute',()=>{this['fire']('execute',{'value':bt(_0x5d13f6['prompt'])});});}}const yt='CKEditor/AIFormView/PromptHistory';class PromptHistory extends _0x22b56d['Collection']{constructor(){super(),this['_loadFromSessionStorage'](),this['on']('add',(_0x2f67cd,_0x571dc5)=>{const _0x5bc19a=_t(_0x571dc5['prompt']);for(const _0xdd7eec of this)if(_0xdd7eec!=_0x571dc5&&_t(_0xdd7eec['prompt'])===_0x5bc19a){this['remove'](_0xdd7eec);break;}this['length']>0x14&&this['remove'](this['last']),this['_saveToSessionStorage']();}),this['on']('remove',()=>{this['_saveToSessionStorage']();});}['_loadFromSessionStorage'](){const _0x5da6e2=sessionStorage['getItem'](yt)||'[]';this['addMany'](JSON['parse'](_0x5da6e2));}['_saveToSessionStorage'](){sessionStorage['setItem'](yt,JSON['stringify'](this['map'](_0x4992ac=>_0x4992ac)));}}function _t(_0xb7abf4){return _0xb7abf4['toLowerCase']()['trim']();}class _0x28cda0 extends _0x22b56d['View']{['focusTracker'];['keystrokes'];['contentArea'];['toolbar'];['promptView'];['errorView'];['_focusables'];['focusCycler'];['_promptHistory'];constructor(_0x1cf994,_0x585249,_0x44032e=''){super(_0x1cf994),this['set']('isEnabled',!0x0),this['set']('isProcessing',!0x1),this['set']('prompt',''),this['set']('value',''),this['set']('isError',!0x1),this['set']('mainAction',_0x19bf59['REPLACE']),this['_promptHistory']=new PromptHistory(),this['errorView']=new _0x2f862c(_0x1cf994),this['contentArea']=new AIFormContentArea(_0x1cf994,_0x44032e),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 _0x22b56d['FocusTracker'](),this['keystrokes']=new _0x22b56d['KeystrokeHandler'](),this['_focusables']=this['createCollection']([this['contentArea'],this['contentArea']['copyButtonView'],this['toolbar'],this['promptView']]),this['focusCycler']=new _0x22b56d['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 _0x22c6ef=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form',_0x585249],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form-content']},'children':[{'tag':'div','attributes':{'class':[_0x22c6ef['if']('isError','ck-hidden',_0x3f338f=>!_0x3f338f)]},'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'](_0x4b4d1c=0x1){-0x1===_0x4b4d1c?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 _0x4f707b=this['locale'],_0xab473f=new AIFormPromptView(_0x4f707b,{'queryView':{'label':_0x4ff019(_0x4f707b,'Ask\x20AI\x20to\x20edit\x20or\x20generate'),'creator':_0x22b56d['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x4ff019(_0x4f707b,'Empty\x20history'),'secondary':_0x4ff019(_0x4f707b,'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.')}}},'filteredView':this['_createHistoryView'](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0xab473f['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x5924e2,_0x245765)=>_0x5924e2&&!_0x245765),this['listenTo'](_0xab473f,'submit',(_0x3ebe98,_0x598884)=>{this['prompt']=_0x598884;const _0x12eb2c=pt(_0x598884);this['fire']('submitPrompt',_0x12eb2c),_0x598884['trim']()&&this['_promptHistory']['add']({'prompt':_0x12eb2c},0x0);},{'priority':'high'}),_0xab473f;}['_createHistoryView'](){const _0x55b3cd=new AIHistoryListView(this['locale']);return _0x55b3cd['historyGroupView']['items']['bindTo'](this['_promptHistory'])['as'](AIHistoryListItemView),_0x55b3cd['on']('clearHistory',()=>{this['_promptHistory']['clear'](),this['promptView']['search'](''),this['promptView']['focus']();}),_0x55b3cd;}['_createToolbar'](){const _0x128e4e=new _0x5c113d(this['locale']);return _0x128e4e['replaceButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x3abd26,_0x3666fe,_0x5090ae)=>_0x3abd26&&!_0x3666fe&&!!_0x5090ae),_0x128e4e['replaceButton']['delegate']('execute')['to'](this,'replaceContent'),_0x128e4e['insertButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x4ce6d7,_0x5becc9,_0x44f2fd)=>_0x4ce6d7&&!_0x5becc9&&!!_0x44f2fd),_0x128e4e['insertButton']['delegate']('execute')['to'](this,'insertContentBelow'),_0x128e4e['tryAgainButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x353c0e,_0x12c360)=>_0x353c0e&&!_0x12c360),_0x128e4e['tryAgainButton']['delegate']('execute')['to'](this,'tryAgainEvent'),_0x128e4e['stopButton']['bind']('isEnabled')['to'](this,'isProcessing'),_0x128e4e['stopButton']['delegate']('execute')['to'](this,'stopProcessing'),_0x128e4e;}['startProcessing'](){this['value']='',this['isError']=!0x1,this['isProcessing']=!0x0,this['contentArea']['isVisible']=!0x0,this['toolbar']['isVisible']=!0x0,this['contentArea']['focus']();}['finishProcessing'](){const _0x42bf47=this['locale'];this['isProcessing']=!0x1,this['prompt']='',this['promptView']['reset'](),this['value']&&(this['promptView']['queryView']['label']=_0x4ff019(_0x42bf47,'Ask\x20AI\x20to\x20improve\x20generated\x20text'));}['handleError'](_0x444012){const _0x30e784=this['locale'];this['finishProcessing'](),this['isError']=!0x0,this['errorView']['text']=_0x444012||_0x4ff019(_0x30e784,'AI_ERROR_FAILED'),this['value']||(this['contentArea']['isVisible']=!0x1);}}const vt=globalThis['DataTransfer'];class AIAssistantUI extends _0x22b56d['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[_0x22b56d['ClipboardMarkersUtils'],AIAssistantEditing,AIAdapter,_0x22b56d['Dialog']];}constructor(_0x3e73e4){super(_0x3e73e4),_0x3e73e4['config']['define']('ai.assistant.disabledElements',['media','rawHtml','tableOfContents']),_0x3e73e4['config']['define']('ai.assistant.contentAreaCssClass',''),_0x3e73e4['config']['define']('ai.assistant.useTheme',!0x0),this['_uiCssClasses']='ck-ai-assistant-ui'+(_0x3e73e4['config']['get']('ai.assistant.useTheme')?'\x20ck-ai-assistant-ui_theme':'');}['init'](){const {editor:_0x25f252}=this;this['_aiAdapter']=_0x25f252['plugins']['get'](AIAdapter),this['_dialog']=_0x25f252['plugins']['get'](_0x22b56d['Dialog']),this['_formView']=null,this['_commandDefinitions']=this['_getResolvedCommandsDefinitions']();const _0x3eebf2=new ShowAIAssistantCommand(_0x25f252,Array['from'](this['_commandDefinitions']['values']()));_0x25f252['commands']['add']('showAIAssistant',_0x3eebf2),_0x25f252['ui']['componentFactory']['add']('aiCommands',_0x21bc08=>{const _0x114d1c=_0x22b56d['createDropdown'](_0x21bc08);return _0x114d1c['set']({'class':'ck-ai-commands-dropdown\x20'+this['_uiCssClasses']}),_0x114d1c['buttonView']['set']({'label':_0x4ff019(_0x21bc08,'AI\x20Commands'),'icon':_0x22b56d['IconMagicWand'],'tooltip':!0x0}),_0x114d1c['on']('execute',_0x1ebf46=>this['_onExecute'](_0x1ebf46['source']['id'])),_0x22b56d['addMenuToDropdown'](_0x114d1c,_0x25f252['ui']['view']['body'],function(_0x1ed485){const _0x200def=_0x4aa9d8(_0x1ed485['config']['get']('ai.assistant.commands'),_0x1ed485['locale']),_0x112e46=Et(_0x1ed485,_0x200def)['filter'](_0x1a3bfb=>_0x1a3bfb['commands']['length']);if(0x1===_0x112e46['length'])return Et(_0x1ed485,_0x112e46[0x0]['commands'])['map'](_0x1628d2=>({'id':_0x1628d2['id'],'label':_0x1628d2['label']}));return _0x112e46['map'](_0x5e4a3d=>{const {groupId:_0x53648b,groupLabel:_0xb3a56,commands:_0x4bb94c}=_0x5e4a3d,_0x1deea7=Et(_0x1ed485,_0x4bb94c)['map'](_0x3e57d7=>({'id':_0x3e57d7['id'],'label':_0x3e57d7['label']}));return{'id':_0x53648b,'menu':_0xb3a56||_0x53648b,'children':_0x1deea7};});}(_0x25f252),{'ariaLabel':_0x4ff019(_0x21bc08,'AI\x20Commands')}),_0x114d1c['menuView']['menuPanelClass']='ck-ai-commands-dropdown\x20'+this['_uiCssClasses'],_0x3eebf2['on']('change:enabledCommandsIds',_0x4299db),_0x114d1c['menuView']['once']('render',_0x4299db),_0x114d1c;function _0x4299db(){_0x114d1c['isEnabled']=_0x3eebf2['enabledCommandsIds']['length']>0x0;for(const _0x7d6fb5 of _0x114d1c['menuView']['buttons'])_0x7d6fb5['isEnabled']=_0x3eebf2['enabledCommandsIds']['includes'](_0x7d6fb5['id']);}}),_0x25f252['ui']['componentFactory']['add']('menuBar:aiCommands',_0x181c92=>{const _0x378d95=new _0x22b56d['MenuBarMenuView'](_0x181c92);_0x378d95['buttonView']['set']({'label':_0x4ff019(_0x181c92,'AI\x20Commands'),'icon':_0x22b56d['IconMagicWand']}),_0x378d95['bind']('isEnabled')['to'](_0x3eebf2,'enabledCommandsIds',_0x3948ff=>_0x3948ff['length']>0x0);const _0x59dcc2=_0x4aa9d8(_0x25f252['config']['get']('ai.assistant.commands'),_0x181c92);return this['_populateMenuBarMenu'](_0x3eebf2,_0x378d95,_0x59dcc2,_0x21b842=>this['_onExecute'](_0x21b842)),_0x378d95;}),_0x25f252['ui']['componentFactory']['add']('aiAssistant',()=>{const _0x1bb209=this['_createAIAssistantUIButton'](_0x22b56d['ButtonView']);return _0x1bb209['set']({'tooltip':!0x0,'class':'ck-ai-assistant-button\x20'+this['_uiCssClasses']}),_0x1bb209;}),_0x25f252['ui']['componentFactory']['add']('menuBar:aiAssistant',()=>{const _0x37bd05=this['_createAIAssistantUIButton'](_0x22b56d['MenuBarMenuListItemButtonView']);return _0x37bd05['set']({'role':'menuitemcheckbox'}),_0x37bd05;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3a7448=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1033df;for(const _0x4ab8f7 in _0x3a7448){const _0x326846=_0x4ab8f7,_0x44cfa5=_0x3a7448[_0x326846];if('aiLicenseKeyValid'==_0x44cfa5||'aiLicenseKeyInvalid'==_0x44cfa5||'aiLicenseKeyExpired'==_0x44cfa5||'aiLicenseKeyDomainLimit'==_0x44cfa5||'aiLicenseKeyNotAllowed'==_0x44cfa5||'aiLicenseKeyEvaluationLimit'==_0x44cfa5||'aiLicenseKeyUsageLimit'==_0x44cfa5){delete _0x3a7448[_0x326846],_0x1033df=_0x44cfa5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'aiLicenseKeyInvalid'==_0x1033df&&_0x3a7448['_showLicenseError']('invalid'),'aiLicenseKeyExpired'==_0x1033df&&_0x3a7448['_showLicenseError']('expired'),'aiLicenseKeyDomainLimit'==_0x1033df&&_0x3a7448['_showLicenseError']('domainLimit'),'aiLicenseKeyNotAllowed'==_0x1033df&&_0x3a7448['_showLicenseError']('featureNotAllowed','AIAssistant'),'aiLicenseKeyEvaluationLimit'==_0x1033df&&_0x3a7448['_showLicenseError']('evaluationLimit'),'aiLicenseKeyUsageLimit'==_0x1033df&&_0x3a7448['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['showUI'](_0x3b81ff='',_0x30a8e5='',_0x27e1cd='custom'){const _0x41a34e=this['editor'],_0x2c67eb=_0x41a34e['editing']['view'],_0x94e506=_0x41a34e['plugins']['get'](AIAssistantEditing),_0x5f207e=_0x41a34e['plugins']['get'](_0x22b56d['ClipboardMarkersUtils']);_0x94e506['showFakeVisualSelection']();const _0x3d674e=new vt(),_0x4700f8=new ClipboardEvent('copy',{'clipboardData':_0x3d674e}),_0x508a04=new _0x22b56d['ViewDataTransfer'](_0x3d674e),_0x5e139d=new _0x22b56d['ViewDocumentDomEventData'](_0x2c67eb,_0x4700f8,{'dataTransfer':_0x508a04});_0x5f207e['_forceMarkersCopy']('comment',()=>{_0x2c67eb['document']['fire']('copy',_0x5e139d);}),this['_formView']||(this['_initView'](),this['_aiAssistantController']=new AIAssistantController(_0x41a34e,this['_aiAdapter']['textAdapter'],this['_formView']));let _0x47ef01=_0x508a04['getData']('text/html');const _0xa35389=_0x41a34e['model']['document']['selection'],_0x302e69=Array['from'](_0xa35389['getRanges']());0x1===_0x302e69['length']&&_0x302e69[0x0]['isFlat']&&!_0xa35389['getSelectedElement']()&&''!==_0x47ef01['replace'](/&nbsp;/g,'')['trim']()&&(_0x47ef01='<p>'+_0x47ef01+'</p>'),this['_aiAssistantController']['updateView']({'actionId':_0x27e1cd,'query':_0x3b81ff,'htmlContent':_0x47ef01,'label':_0x30a8e5,'mainActionLabel':_0x19bf59[_0x41a34e['model']['document']['selection']['isCollapsed']?'INSERT':'REPLACE']}),'aiAssistant'!==this['_dialog']['id']?this['_dialog']['show']({'id':'aiAssistant','icon':_0x22b56d['IconRobotPencil'],'title':_0x4ff019(this['editor']['locale'],'AI\x20Assistant'),'content':this['_formView'],'position':_0x22b56d['DialogViewPosition']['EDITOR_TOP_SIDE'],'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_aiAssistantController']['reset'](),_0x94e506['hideFakeVisualSelection']();}}):this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}['hideUI'](){this['_dialog']['hide']();}['_getResolvedCommandsDefinitions'](){const _0xf853c0=new Map(),_0x4c9511=_0x4aa9d8(this['editor']['config']['get']('ai.assistant.commands'),this['editor']['locale']);for(const _0x26746a of _0x4c9511)for(const _0x57b077 of _0x26746a['commands'])_0xf853c0['set'](_0x57b077['id'],{..._0x57b077,'groupId':_0x26746a['groupId'],'groupLabel':_0x26746a['groupLabel']||_0x26746a['groupId']});return _0xf853c0;}['_createAIAssistantUIButton'](_0x3dff1b){const _0x417a9d=this['editor'],_0x14aad6=_0x417a9d['commands']['get']('showAIAssistant'),_0x37549a=new _0x3dff1b(_0x417a9d['locale']);return _0x37549a['set']({'label':_0x4ff019(_0x417a9d['locale'],'AI\x20Assistant'),'icon':_0x22b56d['IconRobotPencil'],'isToggleable':!0x0}),_0x37549a['bind']('isEnabled')['to'](_0x14aad6),_0x37549a['bind']('isOn')['to'](this['_dialog'],'id',_0xcc277c=>'aiAssistant'===_0xcc277c),this['listenTo'](_0x37549a,'execute',()=>{_0x37549a['isOn']?this['hideUI']():_0x14aad6['execute']();}),_0x37549a;}['_initView'](){const _0x3231aa=this['editor']['plugins']['get'](AIAssistantEditing);this['_formView']=new _0x28cda0(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',()=>{_0x3231aa['insertContent'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['listenTo'](this['_formView'],'insertContentBelow',()=>{_0x3231aa['insertContentBelow'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['_initAriaAiStatusChangeAnnouncements']();}['_initAriaAiStatusChangeAnnouncements'](){const {locale:_0x492353,ui:{ariaLiveAnnouncer:_0x42ed7a}}=this['editor'];this['_formView']['contentArea']['on']('change:isProcessing',(_0x227ef2,_0x2f1b4b,_0x25faad)=>{const _0x3b8d48=this['_aiAssistantController']['currentContext'];_0x25faad?_0x42ed7a['announce'](_0x4ff019(_0x492353,'AI\x20is\x20writing')):_0x3b8d48&&_0x42ed7a['announce'](_0x4ff019(_0x492353,'Generated\x20content:\x20%0',_0x3b8d48),{'politeness':'polite','isUnsafeHTML':!0x0});}),this['_formView']['on']('change:isError',(_0xcd3f68,_0x166d09,_0x34a54d)=>{if(_0x34a54d){const _0x545070=this['_formView']['errorView']['text'];_0x42ed7a['announce'](_0x4ff019(_0x492353,'Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x545070));}});}['_onExecute'](_0x30787e){const _0xf06d88=this['_commandDefinitions']['get'](_0x30787e),_0x232d04=this['editor'],_0x9eb58a=_0x232d04['model']['document']['selection'],_0x51c17f=_0x232d04['commands']['get']('showAIAssistant'),_0x11ae82=_0x232d04['plugins']['get'](AIAssistantEditing),_0x57ede8=''+(_0xf06d88['groupId']!==_0x268881?_0xf06d88['groupLabel']+':\x20':'')+_0xf06d88['label'];if(!0x1!==_0xf06d88['requiresContent']&&_0x9eb58a['isCollapsed']){const _0x3bc2f7=_0x22b56d['first'](_0x9eb58a['getSelectedBlocks']())||_0x232d04['model']['schema']['getLimitElement'](_0x9eb58a);_0x232d04['model']['change'](_0x573a1d=>{_0x573a1d['setSelection'](_0x3bc2f7,'in');});}_0x11ae82['showFakeVisualSelection'](),_0x51c17f['execute'](_0xf06d88['prompt'],_0x57ede8,'command:'+_0x30787e);}['_populateMenuBarMenu'](_0x4095ba,_0x14c6a8,_0x4af920,_0x3e26a7){const _0x3e7eec=this['editor'],_0x4353fc=_0x3e7eec['locale'],_0x2d0494=new _0x22b56d['MenuBarMenuListView'](_0x4353fc),_0x7a5ec6=Et(_0x3e7eec,_0x4af920)['filter'](_0x154a39=>_0x154a39['commands']['length']);0x1===_0x7a5ec6['length']?this['_getMenuBarGroupButtons']({'command':_0x4095ba,'commands':_0x7a5ec6[0x0]['commands'],'parentMenuView':_0x14c6a8,'onExecute':_0x3e26a7})['forEach'](_0x5af82c=>_0x2d0494['items']['add'](_0x5af82c)):_0x7a5ec6['forEach'](({groupId:_0x8ad055,groupLabel:_0x53d732,commands:_0x4b6d45})=>{const _0x332d64=new _0x22b56d['MenuBarMenuListItemView'](_0x4353fc,_0x14c6a8),_0x268987=new _0x22b56d['MenuBarMenuView'](_0x4353fc),_0x354611=new _0x22b56d['MenuBarMenuListView'](_0x4353fc),_0x3aea8c=this['_getMenuBarGroupButtons']({'command':_0x4095ba,'commands':_0x4b6d45,'parentMenuView':_0x268987,'onExecute':_0x3e26a7});_0x268987['buttonView']['set']({'label':_0x53d732||_0x8ad055}),_0x268987['delegate']('execute')['to'](_0x14c6a8),_0x354611['items']['addMany'](_0x3aea8c),_0x268987['panelView']['children']['add'](_0x354611),_0x332d64['children']['add'](_0x268987),_0x2d0494['items']['add'](_0x332d64);}),_0x14c6a8['panelView']['children']['add'](_0x2d0494);}['_getMenuBarGroupButtons']({command:_0x18414b,commands:_0x2b3e57,parentMenuView:_0x5cdddf,onExecute:_0x1c3ab7}){const _0xd80e8f=this['editor'],_0x56f922=_0xd80e8f['locale'];return Et(_0xd80e8f,_0x2b3e57)['map'](_0x8e6e8b=>{const _0x4e75d7=new _0x22b56d['MenuBarMenuListItemView'](_0x56f922,_0x5cdddf),_0x184eca=new _0x22b56d['MenuBarMenuListItemButtonView'](_0x56f922);return _0x184eca['set']({'label':_0x8e6e8b['label']}),_0x184eca['delegate']('execute')['to'](_0x5cdddf),_0x184eca['on']('execute',()=>_0x1c3ab7(_0x8e6e8b['id'])),_0x184eca['bind']('isEnabled')['to'](_0x18414b,'enabledCommandsIds',_0x65b477=>_0x65b477['includes'](_0x8e6e8b['id'])),_0x4e75d7['children']['add'](_0x184eca),_0x4e75d7;});}}function Tt(_0x1878ea,_0xac88ea){return void 0x0!==_0x1878ea['order']&&void 0x0===_0xac88ea['order']?0x1:void 0x0===_0x1878ea['order']&&void 0x0!==_0xac88ea['order']?-0x1:void 0x0!==_0x1878ea['order']&&void 0x0!==_0xac88ea['order']?_0x1878ea['order']-_0xac88ea['order']:0x0;}function Et(_0xddf52a,_0x1ca280){_0x1ca280['sort'](Tt);const _0x531e1a={},_0x26318b=[];for(const _0x2ffc4e of _0x1ca280)if(void 0x0!==_0x2ffc4e['order']){if(_0x2ffc4e['order']in _0x531e1a)throw new _0x22b56d['CKEditorError']('ai-commands-config-order-collision',_0xddf52a,{'conflictingDefinitions':[_0x2ffc4e,_0x531e1a[_0x2ffc4e['order']]]});_0x531e1a[_0x2ffc4e['order']]=_0x2ffc4e,_0x26318b['splice'](_0x2ffc4e['order'],0x0,_0x2ffc4e);}else _0x26318b['push'](_0x2ffc4e);return _0x26318b;}class AIAssistant extends _0x22b56d['Plugin']{static get['requires'](){return[AIAssistantUI,AIAssistantEditing];}static get['pluginName'](){return'AIAssistant';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x549673){super(_0x549673);const _0x25584e=_0x549673['config'],_0x31f0c9=_0x549673['locale'];_0x25584e['define']('ai.assistant.preserveComments',!0x0),_0x25584e['define']('ai.assistant.commands',At(_0x31f0c9)),_0x25584e['define']('ai.assistant.extraCommandGroups',[]),_0x25584e['define']('ai.assistant.removeCommands',[]);let _0x2adabe=_0x4aa9d8(_0x25584e['get']('ai.assistant.commands'),_0x31f0c9);const _0xa0247c=_0x25584e['get']('ai.assistant.extraCommandGroups'),_0x5249e2=_0x25584e['get']('ai.assistant.removeCommands');_0xa0247c['forEach'](_0x421bee=>{const _0x506f15=_0x2adabe['find'](_0x34d8d5=>_0x34d8d5['groupId']===_0x421bee['groupId']);_0x506f15?_0x506f15['commands']=_0x506f15['commands']['concat'](_0x421bee['commands']):_0x2adabe['push'](_0x421bee);}),_0x2adabe=_0x2adabe['filter'](_0x57250e=>!_0x5249e2['includes'](_0x57250e['groupId'])),_0x2adabe['forEach'](_0x11e215=>{_0x11e215['commands']=_0x11e215['commands']['filter'](_0x4a8770=>!_0x5249e2['includes'](_0x4a8770['id']));}),_0x25584e['set']('ai.assistant.commands',_0x2adabe);}}function At(_0x50025f){return[{'groupId':'editOrReview','groupLabel':_0x4ff019(_0x50025f,'Edit\x20or\x20review'),'commands':[{'id':'improveWriting','label':_0x4ff019(_0x50025f,'Improve\x20writing'),'prompt':'Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.'},{'id':'makeShorter','label':_0x4ff019(_0x50025f,'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':_0x4ff019(_0x50025f,'Make\x20longer'),'prompt':'Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.'},{'id':'simplifyLanguage','label':_0x4ff019(_0x50025f,'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':_0x4ff019(_0x50025f,'Generate\x20from\x20selection'),'commands':[{'id':'summarize','label':_0x4ff019(_0x50025f,'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':_0x4ff019(_0x50025f,'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':_0x4ff019(_0x50025f,'Change\x20tone'),'commands':[{'id':'professional','label':_0x4ff019(_0x50025f,'Professional'),'prompt':'Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.'},{'id':'casual','label':_0x4ff019(_0x50025f,'Casual'),'prompt':'Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.'},{'id':'direct','label':_0x4ff019(_0x50025f,'Direct'),'prompt':'Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'},{'id':'confident','label':_0x4ff019(_0x50025f,'Confident'),'prompt':'Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'},{'id':'friendly','label':_0x4ff019(_0x50025f,'Friendly'),'prompt':'Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'}]},{'groupId':'changeStyle','groupLabel':_0x4ff019(_0x50025f,'Change\x20style'),'commands':[{'id':'business','label':_0x4ff019(_0x50025f,'Business'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'},{'id':'legal','label':_0x4ff019(_0x50025f,'Legal'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.'},{'id':'journalism','label':_0x4ff019(_0x50025f,'Journalism'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'},{'id':'poetic','label':_0x4ff019(_0x50025f,'Poetic'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.'}]},{'groupId':'translate','groupLabel':_0x4ff019(_0x50025f,'Translate'),'commands':[{'id':'translateEnglish','label':_0x4ff019(_0x50025f,'English'),'prompt':'Translate\x20the\x20content\x20to\x20English\x20language.'},{'id':'translateSpanish','label':_0x4ff019(_0x50025f,'Spanish'),'prompt':'Translate\x20the\x20content\x20to\x20Spanish\x20language.'},{'id':'translatePortuguese','label':_0x4ff019(_0x50025f,'Portuguese'),'prompt':'Translate\x20the\x20content\x20to\x20Portuguese\x20language.'},{'id':'translateGerman','label':_0x4ff019(_0x50025f,'German'),'prompt':'Translate\x20the\x20content\x20to\x20German\x20language.'},{'id':'translateFrench','label':_0x4ff019(_0x50025f,'French'),'prompt':'Translate\x20the\x20content\x20to\x20French\x20language.'},{'id':'translateChinese','label':_0x4ff019(_0x50025f,'Simplified\x20Chinese'),'prompt':'Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'},{'id':'translateHindi','label':_0x4ff019(_0x50025f,'Hindi'),'prompt':'Translate\x20the\x20content\x20to\x20Hindi\x20language.'},{'id':'translateArabic','label':_0x4ff019(_0x50025f,'Arabic'),'prompt':'Translate\x20the\x20content\x20to\x20Arabic\x20language.'}]}];}class AITextAdapter extends _0x22b56d['Plugin']{['abortController'];static get['requires'](){return[AIAdapter];}constructor(_0x44b5b4){super(_0x44b5b4),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'](_0xab6f97){return this['sendRequest'](_0xab6f97)['catch'](_0x4dc662=>{if(_0x4dc662 instanceof AIRequestError)return Promise['reject'](_0x4dc662);if('AbortError'==_0x4dc662['name'])return Promise['resolve']();throw console['error'](_0x4dc662),new _0x22b56d['CKEditorError']('aitextadapter-send-request-failed',null);});}async['_prepareRequestHeaders'](_0x4d76e2,_0x1bc7fb){const _0x773abb=this['editor']['locale'],_0x4a4f12={'Content-Type':'application/json'};if('object'==typeof _0x4d76e2)Object['assign'](_0x4a4f12,_0x4d76e2);else{if(_0x4d76e2)try{const _0x40f040=await _0x4d76e2(_0x1bc7fb);Object['assign'](_0x4a4f12,_0x40f040);}catch{return Promise['reject'](new AIRequestError(_0x4ff019(_0x773abb,'AI_ERROR_GET_HEADERS')));}}return _0x4a4f12;}async['_prepareRequestParameters'](_0x2f5597,_0xb40cc4){const _0x3b83e7=this['editor']['locale'];if('object'==typeof _0x2f5597)return _0x2f5597;try{return await _0x2f5597(_0xb40cc4);}catch{return Promise['reject'](new AIRequestError(_0x4ff019(_0x3b83e7,'AI_ERROR_GET_PARAMETERS')));}}}class TabButtonView extends _0x22b56d['ButtonView']{constructor(_0x48d6d8,_0x31c928={}){super(_0x48d6d8),this['isToggleable']=!0x0,this['set']('side',_0x31c928['side']||'top');const _0xbd346c=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-tab-button',..._0x22b56d['toArray'](_0x31c928['class']||[]),_0xbd346c['to']('side',_0x58be14=>'ck-tab-button_'+_0x58be14),_0xbd346c['to']('class')]}});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class _0x589b45 extends _0x22b56d['View']{['children'];constructor(_0x13d350,_0x5da82f={}){super(_0x13d350);const _0x106fd7=this['bindTemplate'];this['set']('isVisible',!0x1),this['set']('class',''),this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-tab-panel',..._0x22b56d['toArray'](_0x5da82f['class']||[]),_0x106fd7['to']('class'),_0x106fd7['if']('isVisible','ck-hidden',_0x48d5c3=>!_0x48d5c3)]},'children':this['children']});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}}class _0x567ff3 extends _0x22b56d['View']{['buttonViews']=this['createCollection']();['panelViews']=this['createCollection']();['_tabs']=new Map();constructor(_0x3981d1,_0x53e90d={}){super(_0x3981d1),this['set']('class',void 0x0),this['set']('activeTab',null),this['set']('side',_0x53e90d['side']||'top'),this['set']('isMaximized',!0x1);const _0x476088=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-tabs',..._0x22b56d['toArray'](_0x53e90d['class']||[]),_0x476088['to']('side',_0x59fbc5=>'ck-tabs_'+_0x59fbc5),_0x476088['to']('class'),_0x476088['to']('isMaximized',_0x3eb824=>_0x3eb824?'ck-ai-tabs_maximized':'')],'tabindex':'0'},'children':[{'tag':'div','attributes':{'class':['ck','ck-tabs__buttons-container',_0x476088['to']('side',_0xec9e20=>'ck-tabs__buttons-container_'+_0xec9e20)]},'children':this['buttonViews']},{'tag':'div','attributes':{'class':['ck','ck-tabs__panels-container',_0x476088['to']('side',_0x30d9de=>'ck-tabs__panels-container_'+_0x30d9de)]},'children':this['panelViews']},..._0x22b56d['toArray'](_0x53e90d['children']||[])]});}['getTabIds'](){return[...this['_tabs']['keys']()];}['getTab'](_0x1826b6){const _0x54160c=this['_tabs']['get'](_0x1826b6);return _0x54160c||null;}['addTab'](_0x228049){const _0x44f30a=this['_setupButton']({'id':_0x228049['id'],'label':_0x228049['buttonLabel'],'icon':_0x228049['buttonIcon'],'order':_0x228049['order']}),_0x2365b8=new _0x589b45(this['locale']);return _0x2365b8['render'](),_0x228049['content']&&_0x2365b8['children']['add'](_0x228049['content']),this['panelViews']['add'](_0x2365b8),this['_tabs']['set'](_0x228049['id'],{'button':_0x44f30a,'panel':_0x2365b8,'order':void 0x0!==_0x228049['order']?_0x228049['order']:null}),this['fire']('addTab:'+_0x228049['id'],{'id':_0x228049['id'],'button':_0x44f30a,'panel':_0x2365b8}),null===this['activeTab']?this['activateTab'](_0x228049['id']):this['_hidePanel'](_0x228049['id']),{'button':_0x44f30a,'panel':_0x2365b8};}['activateTab'](_0x180701){if(null!==_0x180701&&!this['getTab'](_0x180701))throw new _0x22b56d['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x180701});this['activeTab']!==_0x180701&&(this['activeTab']&&this['_hidePanel'](this['activeTab']),this['activeTab']=_0x180701,_0x180701&&this['_showPanel'](_0x180701),this['fire']('activateTab:'+_0x180701,_0x180701));}['showTab'](_0x2824ef){if(!this['getTab'](_0x2824ef))throw new _0x22b56d['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x2824ef});this['_showPanel'](_0x2824ef),this['_showButton'](_0x2824ef),this['fire']('show:'+_0x2824ef,_0x2824ef);}['hideTab'](_0x2f2fd8){if(!this['getTab'](_0x2f2fd8))throw new _0x22b56d['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x2f2fd8});const _0x3f9552=this['activeTab'];this['_hidePanel'](_0x2f2fd8),this['_hideButton'](_0x2f2fd8);const _0x59e629=this['getTabIds']();_0x3f9552===_0x2f2fd8&&_0x59e629['length']>0x1&&this['activateTab'](_0x59e629['find'](_0x4c2a8b=>_0x4c2a8b!==_0x2f2fd8)),this['fire']('hide:'+_0x2f2fd8,_0x2f2fd8);}['_getPanel'](_0x8058e9){const _0x5d3b12=this['_tabs']['get'](_0x8058e9);return _0x5d3b12?_0x5d3b12['panel']:null;}['_showPanel'](_0x2ed239){null!==this['activeTab']&&this['activeTab']!==_0x2ed239||this['_getPanel'](_0x2ed239)['show']();}['_hidePanel'](_0x9f54ed){const _0x2042b8=this['_getPanel'](_0x9f54ed);_0x2042b8['isVisible']&&(this['activeTab']===_0x9f54ed&&(this['activeTab']=null),_0x2042b8['hide']());}['_getButton'](_0xe968f3){const _0x4ef485=this['_tabs']['get'](_0xe968f3);return _0x4ef485?_0x4ef485['button']:null;}['_showButton'](_0x3f76b5){this['_getButton'](_0x3f76b5)['show']();}['_hideButton'](_0x4c769c){this['_getButton'](_0x4c769c)['hide']();}['_setupButton'](_0x5e0ae9){const _0x3f29e2=new TabButtonView(this['locale'],{'side':this['side']}),_0x3f2482=this['buttonViews'];if(_0x3f29e2['set']({'label':_0x5e0ae9['label'],'icon':_0x5e0ae9['icon'],'tooltip':!0x0,'withText':!0x0}),_0x3f29e2['bind']('isOn')['to'](this,'activeTab',_0x365ca7=>_0x365ca7===_0x5e0ae9['id']),_0x3f29e2['bind']('side')['to'](this,'side'),_0x5e0ae9['order']){const _0x250fc7=[...this['_tabs']]['reduce']((_0x49f85d,_0x5c3e45)=>{const _0x224901=_0x5c3e45[0x0],{order:_0x3169b7}=_0x5c3e45[0x1];return!_0x3169b7||_0x3169b7>_0x5e0ae9['order']?_0x49f85d:_0x3169b7>=_0x49f85d['order']?{'id':_0x224901,'order':_0x3169b7}:_0x49f85d;},{'id':'','order':0x0}),_0x929120=_0x3f2482['getIndex'](this['_getButton'](_0x250fc7['id']));_0x3f2482['add'](_0x3f29e2,_0x929120+0x1);}else _0x3f2482['add'](_0x3f29e2);return _0x3f29e2['on']('execute',()=>{this['activateTab'](_0x5e0ae9['id']);}),_0x3f29e2;}}const St=['overlay','sidebar','custom'],It=['left','right'];class _0x2ce9dc extends _0x567ff3{constructor(_0x583bc5,_0x1fe7cb={}){super(_0x583bc5,_0x1fe7cb),this['set']('type',_0x1fe7cb['type']||'sidebar'),this['set']('side',_0x1fe7cb['side']||'right'),this['set']('isVisible',_0x1fe7cb['visibleByDefault']??!0x0);const _0x567827=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-tabs',_0x567827['if']('type','ck-ai-tabs__overlay',_0x8909f6=>'overlay'===_0x8909f6),_0x567827['if']('type','ck-ai-tabs__sidebar',_0x1a1c3f=>'sidebar'===_0x1a1c3f),_0x567827['if']('isVisible','ck-hidden',_0x2263aa=>!_0x2263aa)]}}),this['buttonViews']['on']('add',(_0x59750f,_0x23616b)=>{_0x23616b['set']('withText',!0x1);});}}class _0x32d0d0 extends _0x22b56d['ContextPlugin']{['view'];['container']=null;['showResizeButton']=!0x0;static get['pluginName'](){return'AITabs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x12465f){super(_0x12465f);const _0x464769=this['context']['config']['get']('ai.container');if(this['set']('side','right'),!_0x464769)throw new _0x22b56d['CKEditorError']('ai-tabs-configuration-not-found');if(void 0x0!==_0x464769['showResizeButton']&&(this['showResizeButton']=_0x464769['showResizeButton']),'sidebar'!==_0x464769['type']&&'overlay'!==_0x464769['type']||_0x464769['side']&&(this['side']=_0x464769['side']),'sidebar'===_0x464769['type']){if(this['container']=_0x464769['element'],this['set']('type','sidebar'),!this['container'])throw new _0x22b56d['CKEditorError']('ai-tabs-sidebar-container-element-not-found');}else'overlay'===_0x464769['type']?(this['container']=document['body'],this['set']('type','overlay')):(this['container']=null,this['set']('type','custom'));this['view']=new _0x2ce9dc(this['context']['locale'],{'side':this['side'],'type':this['type'],'visibleByDefault':void 0x0===_0x464769['visibleByDefault']||_0x464769['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 _0x22b56d['Editor']&&this['context']['ui']['focusTracker']['add'](this['view']['element']);}['switchType'](_0x5d2985){if(_0x5d2985&&this['type']!==_0x5d2985){if(!St['includes'](_0x5d2985))throw new _0x22b56d['CKEditorError']('ai-tabs-unsupported-ui-type');this['type']=_0x5d2985;}}['switchSide'](_0x19a715){if(_0x19a715&&this['side']!==_0x19a715){if(!It['includes'](_0x19a715))throw new _0x22b56d['CKEditorError']('ai-tabs-unsupported-ui-side');this['side']=_0x19a715;}}['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 _0x428027 extends Error{constructor(_0x24b550,_0x2137a2){super(_0x24b550),this['name']='ParseError',this['type']=_0x2137a2['type'],this['field']=_0x2137a2['field'],this['value']=_0x2137a2['value'],this['line']=_0x2137a2['line'];}}function Ct(_0x2c8b0b){}function kt(_0x34f97e){if('function'==typeof _0x34f97e)throw new TypeError('`callbacks`\x20must\x20be\x20an\x20object,\x20got\x20a\x20function\x20instead.\x20Did\x20you\x20mean\x20`{onEvent:\x20fn}`?');const {onEvent:_0x57a399=Ct,onError:_0x518f7f=Ct,onRetry:_0x38d272=Ct,onComment:_0x35fbdf}=_0x34f97e;let _0x1513ee,_0x13e5a1='',_0x5ddd88=!0x0,_0x30bd58='',_0x330f18='';function _0x35a4fb(_0x19428e){if(''===_0x19428e)return _0x30bd58['length']>0x0&&_0x57a399({'id':_0x1513ee,'event':_0x330f18||void 0x0,'data':_0x30bd58['endsWith']('\x0a')?_0x30bd58['slice'](0x0,-0x1):_0x30bd58}),_0x1513ee=void 0x0,_0x30bd58='',void(_0x330f18='');if(_0x19428e['startsWith'](':'))return void(_0x35fbdf&&_0x35fbdf(_0x19428e['slice'](_0x19428e['startsWith'](':\x20')?0x2:0x1)));const _0x3bcf45=_0x19428e['indexOf'](':');if(-0x1!==_0x3bcf45){const _0x1a0191=_0x19428e['slice'](0x0,_0x3bcf45),_0x685a5d='\x20'===_0x19428e[_0x3bcf45+0x1]?0x2:0x1;return void _0x3e371f(_0x1a0191,_0x19428e['slice'](_0x3bcf45+_0x685a5d),_0x19428e);}_0x3e371f(_0x19428e,'',_0x19428e);}function _0x3e371f(_0x803d8,_0x14f533,_0x3238a0){switch(_0x803d8){case'event':_0x330f18=_0x14f533;break;case'data':_0x30bd58=''+_0x30bd58+_0x14f533+'\x0a';break;case'id':_0x1513ee=_0x14f533['includes']('\x00')?void 0x0:_0x14f533;break;case'retry':/^\d+$/['test'](_0x14f533)?_0x38d272(parseInt(_0x14f533,0xa)):_0x518f7f(new _0x428027('Invalid\x20`retry`\x20value:\x20\x22'+_0x14f533+'\x22',{'type':'invalid-retry','value':_0x14f533,'line':_0x3238a0}));break;default:_0x518f7f(new _0x428027('Unknown\x20field\x20\x22'+(_0x803d8['length']>0x14?_0x803d8['slice'](0x0,0x14)+'…':_0x803d8)+'\x22',{'type':'unknown-field','field':_0x803d8,'value':_0x14f533,'line':_0x3238a0}));}}return{'feed':function(_0x854a8b){const _0x59f96a=_0x5ddd88?_0x854a8b['replace'](/^\xEF\xBB\xBF/,''):_0x854a8b,[_0x247e1d,_0x142114]=function(_0x4a4793){const _0x15a018=[];let _0x28202f='',_0x28ed34=0x0;for(;_0x28ed34<_0x4a4793['length'];){const _0x4ffcde=_0x4a4793['indexOf']('\x0d',_0x28ed34),_0x253ef6=_0x4a4793['indexOf']('\x0a',_0x28ed34);let _0x17e92b=-0x1;if(-0x1!==_0x4ffcde&&-0x1!==_0x253ef6?_0x17e92b=Math['min'](_0x4ffcde,_0x253ef6):-0x1!==_0x4ffcde?_0x17e92b=_0x4ffcde:-0x1!==_0x253ef6&&(_0x17e92b=_0x253ef6),-0x1===_0x17e92b){_0x28202f=_0x4a4793['slice'](_0x28ed34);break;}{const _0x1b6d44=_0x4a4793['slice'](_0x28ed34,_0x17e92b);_0x15a018['push'](_0x1b6d44),_0x28ed34=_0x17e92b+0x1,'\x0d'===_0x4a4793[_0x28ed34-0x1]&&'\x0a'===_0x4a4793[_0x28ed34]&&_0x28ed34++;}}return[_0x15a018,_0x28202f];}(''+_0x13e5a1+_0x59f96a);for(const _0x46e13f of _0x247e1d)_0x35a4fb(_0x46e13f);_0x13e5a1=_0x142114,_0x5ddd88=!0x1;},'reset':function(_0x4202b9={}){_0x13e5a1&&_0x4202b9['consume']&&_0x35a4fb(_0x13e5a1),_0x5ddd88=!0x0,_0x1513ee=void 0x0,_0x30bd58='',_0x330f18='',_0x13e5a1='';}};}class AIConnector extends _0x22b56d['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(_0x27d311){super(_0x27d311),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 _0x1be9fe=this['context']['plugins']['get']('CloudServices');if(!_0x1be9fe['token'])throw new _0x22b56d['CKEditorError']('ai-missing-token',this);this['_token']=_0x1be9fe['token'];}['startConversation'](_0x3611dc,_0xcd99a8){const _0x307efc=this['_sendApiRequest']('/conversations','POST',{'id':_0x3611dc,'group':_0xcd99a8});return{'getConversation':async()=>(await _0x307efc['request'])['json'](),'abortController':_0x307efc['abortController']};}['queryAssistant']({message:_0x3baa6a,conversationId:_0x1d2f31,parts:_0x16ef57,capabilities:_0x3318e9,model:_0x1504c9,attributes:_0x4f6e56}){const _0x58161f={'prompt':_0x3baa6a,'content':_0x16ef57,'model':_0x1504c9,..._0x3318e9&&{'capabilities':_0x3318e9},..._0x4f6e56&&{'attributes':_0x4f6e56}},_0x122675=this['_sendApiRequest']('/conversations/'+_0x1d2f31+'/messages','POST',_0x58161f);return{'getStream':async()=>{const _0x2c42bd=(await _0x122675['request'])['body'];return this['_getStreamReader'](_0x2c42bd);},'abortController':_0x122675['abortController']};}['executeCustomAction']({content:_0x73ba20,message:_0x4e5211,model:_0x105796,outputFormat:_0x4cf736}){const _0x10b8ba={'content':[{'type':'text','content':_0x73ba20}],'prompt':_0x4e5211,'model':_0x105796,'outputFormat':_0x4cf736},_0x18f68b=this['_sendApiRequest']('/actions/custom/calls','POST',_0x10b8ba);return{'getStream':async()=>{const _0x1c8bc6=(await _0x18f68b['request'])['body'];return this['_getStreamReader'](_0x1c8bc6);},'abortController':_0x18f68b['abortController']};}['executeAction']({actionName:_0x3906b2,content:_0x49e723,args:_0x3ac6ee}){const _0x1240e0={'content':[{'type':'text','content':_0x49e723}],'args':_0x3ac6ee},_0x1e3145=this['_sendApiRequest']('/actions/system/'+_0x3906b2+'/calls','POST',_0x1240e0);return{'getStream':async()=>{const _0x350314=(await _0x1e3145['request'])['body'];return this['_getStreamReader'](_0x350314);},'abortController':_0x1e3145['abortController']};}['uploadFile'](_0x437303,_0x5846e8,_0x32ddc4){const _0x2852dc=new FormData();_0x2852dc['append']('file',_0x5846e8,_0x5846e8['name']),_0x32ddc4&&_0x2852dc['append']('attributes',JSON['stringify'](_0x32ddc4));const _0x273e85=this['_sendApiRequest']('/conversations/'+_0x437303+'/files','POST',_0x2852dc);return{'getId':async()=>(await _0x273e85['request'])['json'](),'abortController':_0x273e85['abortController']};}['fetchDocument'](_0x67a7e7,_0x3ff9fe){const _0x5310d0=this['_sendApiRequest']('/conversations/'+_0x67a7e7+'/documents/'+_0x3ff9fe,'GET');return{'getDocument':async()=>(await _0x5310d0['request'])['json'](),'abortController':_0x5310d0['abortController']};}['uploadDocument'](_0x4d05c7,_0x26c8bd,_0x3abee2){const _0x51fcb6={'content':_0x26c8bd};_0x3abee2&&(_0x51fcb6['attributes']=_0x3abee2);const _0x2948d1=this['_sendApiRequest']('/conversations/'+_0x4d05c7+'/documents','POST',_0x51fcb6);return{'getId':async()=>(await _0x2948d1['request'])['json'](),'abortController':_0x2948d1['abortController']};}['fetchConversations'](_0x4e0e04,_0x173eb3={}){const _0x271a19=new URLSearchParams();_0x271a19['append']('group',_0x4e0e04),_0x271a19['append']('excludeEmpty',!0x1!==_0x173eb3['excludeEmpty']?'true':'false'),_0x271a19['append']('limit',_0x173eb3['limit']?_0x173eb3['limit']['toString']():'100'),_0x271a19['append']('sortBy',_0x173eb3['sortBy']?_0x173eb3['sortBy']:'createdAt'),_0x271a19['append']('order',_0x173eb3['order']?_0x173eb3['order']:'desc');const _0x196824=this['_sendApiRequest']('/conversations?'+_0x271a19['toString'](),'GET');return{'getConversations':async()=>{const _0x3c3a71=await _0x196824['request'];return(await _0x3c3a71['json']())['items'];},'abortController':_0x196824['abortController']};}['deleteConversation'](_0xdd80a0){const _0x4597a9=this['_sendApiRequest']('/conversations/'+_0xdd80a0,'DELETE');return{'execute':async()=>{await _0x4597a9['request'];},'abortController':_0x4597a9['abortController']};}['updateConversation'](_0x3c9b35,_0x42f81f){const _0x1a7c83=this['_sendApiRequest']('/conversations/'+_0x3c9b35,'PATCH',_0x42f81f);return{'getResult':async()=>(await _0x1a7c83['request'],_0x42f81f),'abortController':_0x1a7c83['abortController']};}['fetchConversation'](_0x58d613){const _0x4e8730=this['_sendApiRequest']('/conversations/'+_0x58d613,'GET');return{'getConversation':async()=>(await _0x4e8730['request'])['json'](),'abortController':_0x4e8730['abortController']};}['fetchConversationMessages'](_0x410145){const _0x3e4cbe=this['_sendApiRequest']('/conversations/'+_0x410145+'/messages','GET');return{'getMessages':async()=>{const _0x2460d3=await _0x3e4cbe['request'];return(await _0x2460d3['json']())['items'];},'abortController':_0x3e4cbe['abortController']};}['uploadUrl'](_0x5e81ac,_0x322108,_0x40b9a9){const _0x23b0cb=this['_sendApiRequest']('/conversations/'+_0x5e81ac+'/web-resources','POST',{'url':_0x322108,'attributes':_0x40b9a9});return{'getId':async()=>(await _0x23b0cb['request'])['json'](),'abortController':_0x23b0cb['abortController']};}['getModels'](_0x1348e8='en'){const _0x5813b9=new URLSearchParams();_0x5813b9['append']('language',_0x1348e8);const _0x5d1af='/models/1?'+_0x5813b9['toString'](),_0x5f096a=this['_sendApiRequest'](_0x5d1af,'GET');return{'list':async()=>await(await _0x5f096a['request'])['json'](),'abortController':_0x5f096a['abortController']};}['deleteFile'](_0x1e74c3,_0x1a375f){const _0x374455=this['_sendApiRequest']('/conversations/'+_0x1e74c3+'/files/'+_0x1a375f,'DELETE');return{'execute':async()=>{await _0x374455['request'];},'abortController':_0x374455['abortController']};}['deleteDocument'](_0x400c3b,_0x12745a){const _0xf8c477=this['_sendApiRequest']('/conversations/'+_0x400c3b+'/documents/'+_0x12745a,'DELETE');return{'execute':async()=>{await _0xf8c477['request'];},'abortController':_0xf8c477['abortController']};}['deleteWebResource'](_0xcd2b46,_0x495867){const _0x29cc3d=this['_sendApiRequest']('/conversations/'+_0xcd2b46+'/web-resources/'+_0x495867,'DELETE');return{'execute':async()=>{await _0x29cc3d['request'];},'abortController':_0x29cc3d['abortController']};}['callSystemReview']({reviewName:_0x2abb2d,content:_0xb84437,args:_0x4d06e2}){const _0x57515d=this['_sendApiRequest']('/reviews/system/'+_0x2abb2d+'/calls','POST',{'content':[{'type':'text','content':_0xb84437}],'args':_0x4d06e2});return{'getStream':async()=>{const _0x22c13b=(await _0x57515d['request'])['body'];return this['_getStreamReader'](_0x22c13b);},'abortController':_0x57515d['abortController']};}['callCustomReview']({content:_0x362ffb,prompt:_0x128b0d,model:_0x2dcd34}){const _0x4463da=this['_sendApiRequest']('/reviews/custom/calls','POST',{'content':[{'type':'text','content':_0x362ffb}],'prompt':_0x128b0d,'model':_0x2dcd34});return{'getStream':async()=>{const _0x377076=(await _0x4463da['request'])['body'];return this['_getStreamReader'](_0x377076);},'abortController':_0x4463da['abortController']};}['upsertAIChatRating'](_0x1ba24e,_0xcb2fb4,_0x2cb94d){const _0x13e407=this['_sendApiRequest']('/conversations/'+_0x1ba24e+'/messages/'+_0xcb2fb4+'/ratings','PUT',{'positiveCount':_0x2cb94d['positiveCount'],'totalCount':_0x2cb94d['totalCount'],'modificationId':_0x2cb94d['modificationId']});return{'execute':async()=>{await _0x13e407['request'];},'abortController':_0x13e407['abortController']};}['upsertAIActionRating'](_0x3e356a,_0x4af971,_0x4b0adc){const _0x2122ee=this['_sendApiRequest']('/actions/system/'+_0x3e356a+'/calls/'+_0x4af971+'/ratings','PUT',{'positiveCount':_0x4b0adc['positiveCount'],'totalCount':_0x4b0adc['totalCount']});return{'execute':async()=>{await _0x2122ee['request'];},'abortController':_0x2122ee['abortController']};}['upsertCustomAIActionRating'](_0x41ac2d,_0x7c5260){const _0x2be728=this['_sendApiRequest']('/actions/custom/calls/'+_0x41ac2d+'/ratings','PUT',{'positiveCount':_0x7c5260['positiveCount'],'totalCount':_0x7c5260['totalCount']});return{'execute':async()=>{await _0x2be728['request'];},'abortController':_0x2be728['abortController']};}['upsertAIReviewRating'](_0x5dff0b,_0x3ce766,_0x2ce9d5,_0x5bb1ed){const _0x4dd3dc=this['_sendApiRequest']('/reviews/system/'+_0x5dff0b+'/calls/'+_0x3ce766+'/ratings','PUT',{'positiveCount':_0x2ce9d5['positiveCount'],'totalCount':_0x2ce9d5['totalCount'],'dataId':_0x5bb1ed});return{'execute':async()=>{await _0x4dd3dc['request'];},'abortController':_0x4dd3dc['abortController']};}['upsertCustomAIReviewRating'](_0x2b8e6e,_0xe04a9d,_0x5b51e2){const _0x4d15b0=this['_sendApiRequest']('/reviews/custom/calls/'+_0x2b8e6e+'/ratings','PUT',{'positiveCount':_0xe04a9d['positiveCount'],'totalCount':_0xe04a9d['totalCount'],'dataId':_0x5b51e2});return{'execute':async()=>{await _0x4d15b0['request'];},'abortController':_0x4d15b0['abortController']};}['_sendApiRequest'](_0xa4babf,_0x383b05,_0x137f09){const _0x23b8dd=new AbortController(),_0x200e5e=_0x137f09 instanceof FormData,_0x4c106f={'Authorization':'Bearer\x20'+this['_token']?.['value']};_0x137f09&&!_0x200e5e&&(_0x4c106f['Content-Type']='application/json');const _0x39d36a={'method':_0x383b05,'headers':_0x4c106f,'signal':_0x23b8dd['signal']};_0x137f09&&(_0x39d36a['body']=_0x200e5e?_0x137f09:JSON['stringify'](_0x137f09));const _0x2a33f0=fetch(''+this['_apiUrl']+_0xa4babf,_0x39d36a)['catch'](_0x1fd9a8=>{this['_handleError'](_0x1fd9a8);})['then'](_0x379fd6=>_0x379fd6['ok']?_0x379fd6:_0x379fd6['json']()['then'](_0x4fa6f4=>{throw{'url':this['_apiUrl'],'path':_0xa4babf,'method':_0x383b05,'body':_0x137f09,'status':(_0x379fd6||{})['status'],'statusText':(_0x379fd6||{})['statusText'],'code':_0x4fa6f4['code'],'message':_0x4fa6f4['message'],'traceId':_0x4fa6f4['traceId']};}));return{'request':_0x2a33f0,'abortController':_0x23b8dd};}async*['_getStreamReader'](_0x30dde7){const _0x10c30b=[],_0x4494af=_0x30dde7['getReader'](),_0x1bac91=kt({'onError':_0x1dab55=>{this['_handleError'](_0x1dab55);},'onEvent':_0xcaceb7=>{_0xcaceb7['data']=JSON['parse'](_0xcaceb7['data']),_0x10c30b['push'](_0xcaceb7);}});try{let _0x1d98e2=!0x1;for(;!_0x1d98e2;){const {done:_0x19c3e0,value:_0x24b8a2}=await _0x4494af['read']();_0x19c3e0&&(_0x1d98e2=!0x0),_0x1bac91['feed'](this['_decoder']['decode'](_0x24b8a2,{'stream':!0x0})),yield*_0x10c30b,_0x10c30b['length']=0x0;}}catch(_0x294ba4){this['_handleError'](_0x294ba4);}finally{_0x4494af['releaseLock'](),_0x1bac91['reset']();}}['_handleError'](_0x56b701){if(_0x56b701 instanceof _0x22b56d['CKEditorError'])throw _0x56b701;if(_0x56b701 instanceof Error&&'AbortError'===_0x56b701['name'])throw new _0x22b56d['CKEditorError']('ai-request-aborted',this,{'originalError':_0x56b701});throw new _0x22b56d['CKEditorError']('ai-request-failed',this,{'originalError':_0x56b701});}}function xt(_0x362ef4,_0x4f952c,_0x1678d0){const t=_0x362ef4['t'];switch(_0x4f952c){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'},_0x1678d0);case'AI_SUGGESTION_CONTENT_PART_REJECTED':return t({'id':'AI_SUGGESTION_CONTENT_PART_REJECTED','string':'Change\x20was\x20rejected'});case'AI_SUGGESTION_CONTENT_PART_OUTDATED':return t({'id':'AI_SUGGESTION_CONTENT_PART_OUTDATED','string':'Change\x20is\x20outdated'});case'AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED':return t({'id':'AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','string':'Change\x20is\x20already\x20applied'});case'AI_SUGGESTION_CONTENT_PART_APPLY':return t({'id':'AI_SUGGESTION_CONTENT_PART_APPLY','string':'Apply\x20change'});case'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION':return t({'id':'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION','string':'Add\x20as\x20suggestion'});case'AI_SUGGESTION_CONTENT_PART_REJECT':return t({'id':'AI_SUGGESTION_CONTENT_PART_REJECT','string':'Reject\x20change'});case'AI_SUGGESTION_CONTENT_PART_REMOVED':return t({'id':'AI_SUGGESTION_CONTENT_PART_REMOVED','string':'Removed\x20content.\x20Use\x20\x22Show\x20details\x22\x20to\x20learn\x20more.'});case'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED':return t({'id':'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED','string':'Approved'});case'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED':return t({'id':'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','string':'Rejected'});case'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED':return t({'id':'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','string':'Outdated'});case'AI_DISCLAIMER_TEXT':return t({'id':'AI_DISCLAIMER_TEXT','string':'AI\x20can\x20make\x20mistakes.\x20Please\x20double-check\x20responses.'});case'AI_TABS_LABEL_MAXIMIZE':return t({'id':'AI_TABS_LABEL_MAXIMIZE','string':'Maximize'});case'AI_TABS_LABEL_MINIMIZE':return t({'id':'AI_TABS_LABEL_MINIMIZE','string':'Minimize'});case'AI_CHAT_HEADING':return t({'id':'AI_CHAT_HEADING','string':'Chat'});case'AI_CHAT_SOURCES_HEADER':return t({'id':'AI_CHAT_SOURCES_HEADER','string':'Sources'});case'AI_CHAT_UNTITLED_CONVERSATION':return t({'id':'AI_CHAT_UNTITLED_CONVERSATION','string':'Untitled\x20conversation'});case'AI_CHAT_LABEL_NEW_CHAT':return t({'id':'AI_CHAT_LABEL_NEW_CHAT','string':'New\x20chat'});case'AI_CHAT_STOP_GENERATING':return t({'id':'AI_CHAT_STOP_GENERATING','string':'Stop\x20generating'});case'AI_CHAT_IS_WRITING':return t({'id':'AI_CHAT_IS_WRITING','string':'AI\x20is\x20writing...'});case'AI_CHAT_PROMPT_EMPTY_ERROR':return t({'id':'AI_CHAT_PROMPT_EMPTY_ERROR','string':'This\x20field\x20cannot\x20be\x20empty.'});case'AI_CHAT_LABEL_SUBMIT':return t({'id':'AI_CHAT_LABEL_SUBMIT','string':'Submit'});case'AI_CHAT_WELCOME_MESSAGE':return t({'id':'AI_CHAT_WELCOME_MESSAGE','string':'Hi!\x20I\x20can\x20help\x20you\x20draft,\x20rewrite,\x20and\x20improve\x20your\x20text,\x20explore\x20ideas,\x20research\x20topics,\x20and\x20solve\x20problems.\x20How\x20can\x20I\x20help\x20right\x20now?'});case'AI_CHAT_ABORTED_MESSAGE':return t({'id':'AI_CHAT_ABORTED_MESSAGE','string':'The\x20request\x20was\x20aborted.'});case'AI_CHAT_GENERIC_ERROR':return t({'id':'AI_CHAT_GENERIC_ERROR','string':'Something\x20went\x20wrong\x20while\x20processing\x20your\x20request.\x20Please\x20try\x20again.'});case'AI_CHAT_UNABLE_TO_START_CONVERSATION':return t({'id':'AI_CHAT_UNABLE_TO_START_CONVERSATION','string':'Unable\x20to\x20start\x20conversation.\x20Please\x20make\x20sure\x20you\x20are\x20online\x20and\x20try\x20again.'});case'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION':return t({'id':'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION','string':'Unable\x20to\x20load\x20chosen\x20conversation.\x20Please\x20make\x20sure\x20you\x20are\x20online\x20and\x20try\x20again.'});case'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE','string':'Failed\x20to\x20upload\x20files:\x20%0.\x20Please\x20try\x20again.'},_0x1678d0);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.'},_0x1678d0);case'AI_CHAT_RESOURCE_LOAD_FAILED':return t({'id':'AI_CHAT_RESOURCE_LOAD_FAILED','string':'Failed\x20to\x20load\x20resource.\x20Please\x20try\x20again.'});case'AI_CHAT_CONTEXT_CURRENT_DOCUMENT':return t({'id':'AI_CHAT_CONTEXT_CURRENT_DOCUMENT','string':'Current\x20document'});case'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','string':'Remove\x20from\x20context'});case'AI_CHAT_CONTEXT_ADD_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_ADD_CONTEXT','string':'Add\x20context'});case'AI_CHAT_CONTEXT_URL_LABEL':return t({'id':'AI_CHAT_CONTEXT_URL_LABEL','string':'URL'});case'AI_CHAT_CONTEXT_FILE_LABEL':return t({'id':'AI_CHAT_CONTEXT_FILE_LABEL','string':'File'});case'AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL':return t({'id':'AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL','string':'Current\x20context'});case'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL':return t({'id':'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL','string':'Selected\x20content'});case'AI_CHAT_SEARCH_WEB':return t({'id':'AI_CHAT_SEARCH_WEB','string':'Web\x20search'});case'AI_CHAT_ENABLE_WEB_SEARCH':return t({'id':'AI_CHAT_ENABLE_WEB_SEARCH','string':'Enable\x20web\x20search'});case'AI_CHAT_DISABLE_WEB_SEARCH':return t({'id':'AI_CHAT_DISABLE_WEB_SEARCH','string':'Disable\x20web\x20search'});case'AI_CHAT_REASONING':return t({'id':'AI_CHAT_REASONING','string':'Reasoning'});case'AI_CHAT_ENABLE_REASONING':return t({'id':'AI_CHAT_ENABLE_REASONING','string':'Enable\x20reasoning'});case'AI_CHAT_DISABLE_REASONING':return t({'id':'AI_CHAT_DISABLE_REASONING','string':'Disable\x20reasoning'});case'AI_CHAT_COMMANDS':return t({'id':'AI_CHAT_COMMANDS','string':'Commands'});case'AI_CHAT_SEARCH_RESOURCES':return t({'id':'AI_CHAT_SEARCH_RESOURCES','string':'Search\x20resources'});case'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','string':'Back\x20to\x20context\x20options'});case'AI_CHAT_CONTEXT_URL_ADD_URL':return t({'id':'AI_CHAT_CONTEXT_URL_ADD_URL','string':'Add\x20URL'});case'AI_CHAT_CONTEXT_URL_PLACEHOLDER':return t({'id':'AI_CHAT_CONTEXT_URL_PLACEHOLDER','string':'Add\x20URL...'});case'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL','string':'Failed\x20to\x20upload\x20URL:\x20%0.\x20Please\x20try\x20again.'},_0x1678d0);case'AI_CHAT_CONTEXT_INVALID_DATA':return t({'id':'AI_CHAT_CONTEXT_INVALID_DATA','string':'Invalid\x20context\x20data\x20type\x20for\x20the\x20selected\x20resource.'});case'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE':return t({'id':'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE','string':'Unsupported\x20resource\x20type.\x20Only\x20files\x20and\x20URLs\x20are\x20supported.'});case'AI_CHAT_CONTEXT_URL_EMPTY_ERROR':return t({'id':'AI_CHAT_CONTEXT_URL_EMPTY_ERROR','string':'URL\x20cannot\x20be\x20empty.'});case'AI_CHAT_CONTEXT_URL_INVALID_ERROR':return t({'id':'AI_CHAT_CONTEXT_URL_INVALID_ERROR','string':'Please\x20enter\x20a\x20valid\x20URL.'});case'AI_CHAT_INVALID_REQUEST':return t({'id':'AI_CHAT_INVALID_REQUEST','string':'Something\x20went\x20wrong\x20while\x20processing\x20your\x20request.\x20Please\x20try\x20again.'});case'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE':return t({'id':'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE','string':'The\x20file\x20type\x20is\x20not\x20supported.\x20Please\x20upload\x20a\x20different\x20file.'});case'AI_CHAT_CONTEXT_FILE_TOO_LARGE':return t({'id':'AI_CHAT_CONTEXT_FILE_TOO_LARGE','string':'The\x20file\x20is\x20too\x20large.\x20Please\x20upload\x20a\x20smaller\x20file.'});case'AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES':return t({'id':'AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES','string':'The\x20file\x20has\x20too\x20many\x20pages.\x20Please\x20upload\x20a\x20file\x20with\x20fewer\x20pages.'});case'AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED':return t({'id':'AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED','string':'The\x20form\x20data\x20size\x20limits\x20are\x20exceeded.\x20Please\x20upload\x20a\x20smaller\x20file.'});case'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR','string':'AI\x20is\x20preparing\x20a\x20response...'});case'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH','string':'AI\x20is\x20searching\x20the\x20web\x20to\x20provide\x20the\x20most\x20accurate\x20answer...'});case'AI_CHAT_FEED_LOADING_MESSAGE_REASONING':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_REASONING','string':'AI\x20is\x20using\x20reasoning\x20to\x20provide\x20the\x20most\x20accurate\x20answer...'});case'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING','string':'AI\x20is\x20using\x20reasoning\x20and\x20searching\x20the\x20web\x20to\x20provide\x20the\x20most\x20accurate\x20answer...'});case'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH':return t({'id':'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','string':'Scanned\x20the\x20internet\x20for\x20insights'});case'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING':return t({'id':'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','string':'AI\x20used\x20reasoning\x20to\x20improve\x20the\x20response'});case'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING':return t({'id':'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','string':'AI\x20used\x20search\x20and\x20reasoning\x20to\x20improve\x20the\x20response'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR','string':'Ask\x20AI\x20anything...'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH','string':'Ask\x20AI\x20anything\x20(web\x20search\x20enabled)...'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING','string':'Ask\x20AI\x20anything\x20(reasoning\x20enabled)...'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING','string':'Ask\x20AI\x20anything\x20(web\x20search\x20and\x20reasoning\x20enabled)...'});case'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','string':'Suggest\x20all'},_0x1678d0);case'AI_CHAT_SUGGESTION_ACTION_SUGGEST':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SUGGEST','string':'Suggest'},_0x1678d0);case'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL':return t({'id':'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','string':'Apply\x20all'});case'AI_CHAT_SUGGESTION_ACTION_APPLY':return t({'id':'AI_CHAT_SUGGESTION_ACTION_APPLY','string':'Apply'});case'AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP':return t({'id':'AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','string':'More\x20options'},_0x1678d0);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.'},_0x1678d0);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.'},_0x1678d0);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.'},_0x1678d0);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.'},_0x1678d0);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'},_0x1678d0);case'AI_BALLOON_APPLY_BUTTON':return t({'id':'AI_BALLOON_APPLY_BUTTON','string':'Apply'});case'AI_BALLOON_SUGGEST_BUTTON':return t({'id':'AI_BALLOON_SUGGEST_BUTTON','string':'Suggest'});case'AI_BALLOON_NEXT_LABEL':return t({'id':'AI_BALLOON_NEXT_LABEL','string':'Next'});case'AI_BALLOON_PREVIOUS_LABEL':return t({'id':'AI_BALLOON_PREVIOUS_LABEL','string':'Previous'});case'AI_SUGGESTION_NO_PARTS_WARNING':return t({'id':'AI_SUGGESTION_NO_PARTS_WARNING','string':'This\x20change\x20is\x20not\x20supported\x20by\x20the\x20editor\x20and\x20can\x27t\x20be\x20previewed\x20or\x20applied.'});case'AI_SUGGESTION_EMPTY_PART_WARNING':return t({'id':'AI_SUGGESTION_EMPTY_PART_WARNING','string':'Some\x20of\x20the\x20changes\x20are\x20not\x20supported\x20by\x20the\x20editor\x20and\x20can\x27t\x20be\x20previewed\x20or\x20applied.'});case'AI_ACTIONS_TRY_AGAIN':return t({'id':'AI_ACTIONS_TRY_AGAIN','string':'Retry'});case'AI_ACTIONS_PREVIOUS_INTERACTION':return t({'id':'AI_ACTIONS_PREVIOUS_INTERACTION','string':'Previous'});case'AI_ACTIONS_NEXT_INTERACTION':return t({'id':'AI_ACTIONS_NEXT_INTERACTION','string':'Next'});case'AI_MODEL_NAME_AUTO':return t({'id':'AI_MODEL_NAME_AUTO','string':'Auto'});case'AI_QUICK_ACTIONS_HEADING':return t({'id':'AI_QUICK_ACTIONS_HEADING','string':'AI\x20Quick\x20Actions'});case'AI_QUICK_ACTIONS_SEARCH':return t({'id':'AI_QUICK_ACTIONS_SEARCH','string':'Search\x20AI\x20commands'});case'AI_QUICK_ACTIONS_SEARCH_NOT_FOUND':return t({'id':'AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','string':'No\x20AI\x20commands\x20found'});case'AI_QUICK_ACTIONS_ASK_AI':return t({'id':'AI_QUICK_ACTIONS_ASK_AI','string':'Ask\x20AI'});case'AI_QUICK_ACTIONS_CHAT_COMMANDS':return t({'id':'AI_QUICK_ACTIONS_CHAT_COMMANDS','string':'Chat\x20commands'});case'AI_QUICK_ACTIONS_IMPROVE_WRITING':return t({'id':'AI_QUICK_ACTIONS_IMPROVE_WRITING','string':'Improve\x20writing'});case'AI_QUICK_ACTIONS_CONTINUE_WRITING':return t({'id':'AI_QUICK_ACTIONS_CONTINUE_WRITING','string':'Continue\x20writing'});case'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING':return t({'id':'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','string':'Fix\x20grammar\x20&\x20spelling'});case'AI_QUICK_ACTIONS_ADJUST_LENGTH':return t({'id':'AI_QUICK_ACTIONS_ADJUST_LENGTH','string':'Adjust\x20length'});case'AI_QUICK_ACTIONS_CHANGE_TONE':return t({'id':'AI_QUICK_ACTIONS_CHANGE_TONE','string':'Change\x20tone'});case'AI_QUICK_ACTIONS_TRANSLATE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE','string':'Translate'});case'AI_QUICK_ACTIONS_EXPLAIN':return t({'id':'AI_QUICK_ACTIONS_EXPLAIN','string':'Explain'});case'AI_QUICK_ACTIONS_SUMMARIZE':return t({'id':'AI_QUICK_ACTIONS_SUMMARIZE','string':'Summarize'});case'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS':return t({'id':'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','string':'Highlight\x20key\x20points'});case'AI_QUICK_ACTIONS_MAKE_SHORTER':return t({'id':'AI_QUICK_ACTIONS_MAKE_SHORTER','string':'Make\x20shorter'});case'AI_QUICK_ACTIONS_MAKE_LONGER':return t({'id':'AI_QUICK_ACTIONS_MAKE_LONGER','string':'Make\x20longer'});case'AI_QUICK_ACTIONS_MORE_CASUAL':return t({'id':'AI_QUICK_ACTIONS_MORE_CASUAL','string':'More\x20casual'});case'AI_QUICK_ACTIONS_MORE_DIRECT':return t({'id':'AI_QUICK_ACTIONS_MORE_DIRECT','string':'More\x20direct'});case'AI_QUICK_ACTIONS_MORE_FRIENDLY':return t({'id':'AI_QUICK_ACTIONS_MORE_FRIENDLY','string':'More\x20friendly'});case'AI_QUICK_ACTIONS_MORE_CONFIDENT':return t({'id':'AI_QUICK_ACTIONS_MORE_CONFIDENT','string':'More\x20confident'});case'AI_QUICK_ACTIONS_MORE_PROFESSIONAL':return t({'id':'AI_QUICK_ACTIONS_MORE_PROFESSIONAL','string':'More\x20professional'});case'AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT':return t({'id':'AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT','string':'Adjust\x20based\x20on\x20the\x20rest\x20of\x20the\x20document'});case'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','string':'English'});case'AI_QUICK_ACTIONS_TRANSLATE_CHINESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_CHINESE','string':'Chinese\x20(Simplified)'});case'AI_QUICK_ACTIONS_TRANSLATE_FRENCH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_FRENCH','string':'French'});case'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','string':'Japanese'});case'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','string':'Portuguese'});case'AI_QUICK_ACTIONS_TRANSLATE_KOREAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_KOREAN','string':'Korean'});case'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','string':'Italian'});case'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','string':'Russian'});case'AI_QUICK_ACTIONS_TRANSLATE_SPANISH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_SPANISH','string':'Spanish'});case'AI_QUICK_ACTIONS_TRANSLATE_GERMAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_GERMAN','string':'German'});case'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND':return t({'id':'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','string':'%0\x20plugin\x20is\x20required\x20but\x20not\x20found.'},_0x1678d0);case'AI_QUICK_ACTIONS_OTHER':return t({'id':'AI_QUICK_ACTIONS_OTHER','string':'Other'});case'AI_ACTIONS_GENERIC_ERROR':return t({'id':'AI_ACTIONS_GENERIC_ERROR','string':'Sorry,\x20we\x20couldn\x27t\x20generate\x20the\x20response.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_BALLOON_SELECTION_REMOVED_ERROR':return t({'id':'AI_BALLOON_SELECTION_REMOVED_ERROR','string':'Changes\x20cannot\x20be\x20applied.\x20The\x20original\x20content\x20no\x20longer\x20exists.'});case'AI_REVIEW_MODE_STOP_GENERATING':return t({'id':'AI_REVIEW_MODE_STOP_GENERATING','string':'Stop\x20generating'});case'AI_REVIEW_MODE_HIDE_CHANGES':return t({'id':'AI_REVIEW_MODE_HIDE_CHANGES','string':'Hide\x20changes'});case'AI_REVIEW_MODE_SHOW_CHANGES':return t({'id':'AI_REVIEW_MODE_SHOW_CHANGES','string':'Show\x20changes'});case'AI_REVIEW_MODE_ACCEPT_ALL':return t({'id':'AI_REVIEW_MODE_ACCEPT_ALL','string':'Accept\x20all'});case'AI_REVIEW_MODE_EXIT_REVIEW':return t({'id':'AI_REVIEW_MODE_EXIT_REVIEW','string':'Exit\x20review'});case'AI_REVIEW_MODE_ACCEPT_CHANGE':return t({'id':'AI_REVIEW_MODE_ACCEPT_CHANGE','string':'Accept'});case'AI_REVIEW_MODE_DISMISS_CHANGE':return t({'id':'AI_REVIEW_MODE_DISMISS_CHANGE','string':'Dismiss'});case'AI_REVIEW_MODE_LEARN_MORE':return t({'id':'AI_REVIEW_MODE_LEARN_MORE','string':'Learn\x20more'});case'AI_REVIEW_MODE_COMPLETED_TEXT':return t({'id':'AI_REVIEW_MODE_COMPLETED_TEXT','string':'There\x27s\x20nothing\x20left\x20to\x20review.'});case'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT':return t({'id':'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','string':'There\x20are\x20no\x20changes\x20to\x20suggest.'});case'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL':return t({'id':'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','string':'Finish\x20Review'});case'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE':return t({'id':'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','string':'Review\x20complete.\x20Finish\x20when\x20ready.'});case'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE':return t({'id':'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','string':'AI\x20Review\x20initialized\x20with\x20errors.\x20Some\x20features\x20may\x20not\x20be\x20available\x20or\x20work\x20properly.'});case'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE':return t({'id':'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','string':'Sorry,\x20we\x20couldn\x27t\x20generate\x20the\x20whole\x20review\x20properly.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE':return t({'id':'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE','string':'Not\x20everything\x20went\x20through,\x20but\x20the\x20completed\x20items\x20are\x20listed\x20below.'});case'AI_REVIEW_MODE':return t({'id':'AI_REVIEW_MODE','string':'Review'});case'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR':return t({'id':'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR','string':'Prompt\x20must\x20not\x20be\x20empty'});case'AI_REVIEW_CHECK_CUSTOM_TITLE':return t({'id':'AI_REVIEW_CHECK_CUSTOM_TITLE','string':'Custom\x20command'});case'AI_REVIEW_CHECK_CUSTOM_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_CUSTOM_DESCRIPTION','string':'Enter\x20a\x20custom\x20command\x20for\x20a\x20specific\x20review.'});case'AI_REVIEW_CHECK_CORRECTNESS_TITLE':return t({'id':'AI_REVIEW_CHECK_CORRECTNESS_TITLE','string':'Proofread'});case'AI_REVIEW_CHECK_CORRECTNESS_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_CORRECTNESS_DESCRIPTION','string':'Check\x20the\x20text\x20for\x20errors\x20in\x20grammar,\x20spelling,\x20and\x20punctuation.'});case'AI_REVIEW_CHECK_CLARITY_TITLE':return t({'id':'AI_REVIEW_CHECK_CLARITY_TITLE','string':'Improve\x20clarity'});case'AI_REVIEW_CHECK_CLARITY_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_CLARITY_DESCRIPTION','string':'Improve\x20the\x20logical\x20structure\x20and\x20precision\x20for\x20clearer\x20message.'});case'AI_REVIEW_CHECK_READABILITY_TITLE':return t({'id':'AI_REVIEW_CHECK_READABILITY_TITLE','string':'Improve\x20readability'});case'AI_REVIEW_CHECK_READABILITY_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_READABILITY_DESCRIPTION','string':'Adjust\x20sentence\x20structure\x20and\x20word\x20choice\x20for\x20an\x20easier\x20read.'});case'AI_REVIEW_CHECK_MAKE_TITLE':return t({'id':'AI_REVIEW_CHECK_MAKE_TITLE','string':'Adjust\x20length'});case'AI_REVIEW_CHECK_MAKE_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_MAKE_DESCRIPTION','string':'Shorten\x20or\x20lengthen\x20the\x20text\x20as\x20needed.'});case'AI_REVIEW_CHECK_MAKE_OPTIONS_LABEL':return t({'id':'AI_REVIEW_CHECK_MAKE_OPTIONS_LABEL','string':'Adjust\x20length'});case'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_LONGER':return t({'id':'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_LONGER','string':'Longer'});case'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_SHORTER':return t({'id':'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_SHORTER','string':'Shorter'});case'AI_REVIEW_CHECK_MAKE_TONE_TITLE':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_TITLE','string':'Adjust\x20tone\x20and\x20style'});case'AI_REVIEW_CHECK_MAKE_TONE_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_DESCRIPTION','string':'Modify\x20the\x20text\x20to\x20a\x20desired\x20tone\x20and\x20style.'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_LABEL':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_LABEL','string':'Adjust\x20tone\x20and\x20style'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CASUAL':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CASUAL','string':'Casual'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_DIRECT':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_DIRECT','string':'Direct'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_FRIENDLY':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_FRIENDLY','string':'Friendly'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CONFIDENT':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CONFIDENT','string':'Confident'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_PROFESSIONAL':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_PROFESSIONAL','string':'Professional'});case'AI_REVIEW_CHECK_TRANSLATE_TITLE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_TITLE','string':'Translate'});case'AI_REVIEW_CHECK_TRANSLATE_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_DESCRIPTION','string':'Translate\x20the\x20text\x20into\x20another\x20language.'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_LABEL':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_LABEL','string':'Select\x20language'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ENGLISH':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ENGLISH','string':'English'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_SPANISH':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_SPANISH','string':'Spanish'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_FRENCH':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_FRENCH','string':'French'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_GERMAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_GERMAN','string':'German'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_CHINESE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_CHINESE','string':'Chinese\x20(Simplified)'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_JAPANESE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_JAPANESE','string':'Japanese'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_RUSSIAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_RUSSIAN','string':'Russian'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_PORTUGUESE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_PORTUGUESE','string':'Portuguese'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_KOREAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_KOREAN','string':'Korean'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ITALIAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ITALIAN','string':'Italian'});case'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED':return t({'id':'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','string':'Accepted'});case'AI_REVIEW_MODE_CHECK_STATUS_REJECTED':return t({'id':'AI_REVIEW_MODE_CHECK_STATUS_REJECTED','string':'Dismissed'});case'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED':return t({'id':'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','string':'Outdated'});case'AI_TOGGLE_BUTTON_LABEL':return t({'id':'AI_TOGGLE_BUTTON_LABEL','string':'AI'});case'AI_TRANSLATE_ACCEPT_ALL':return t({'id':'AI_TRANSLATE_ACCEPT_ALL','string':'Accept\x20translation'});case'AI_TRANSLATE_FINISH_HEADER_TITLE':return t({'id':'AI_TRANSLATE_FINISH_HEADER_TITLE','string':'Translation\x20complete.\x20Finish\x20when\x20ready.'});case'AI_TRANSLATE_EMPTY_RESULTS_TEXT':return t({'id':'AI_TRANSLATE_EMPTY_RESULTS_TEXT','string':'There\x20are\x20no\x20translations\x20to\x20review.'});case'AI_TRANSLATE_FINISH_BUTTON_LABEL':return t({'id':'AI_TRANSLATE_FINISH_BUTTON_LABEL','string':'Finish\x20Translation'});case'AI_TRANSLATE_CHECK_LIST_HEADER_TITLE':return t({'id':'AI_TRANSLATE_CHECK_LIST_HEADER_TITLE','string':'Content\x20Translation'});case'AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION':return t({'id':'AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION','string':'A\x20dedicated\x20mode\x20for\x20translating\x20the\x20entire\x20text.'});case'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE':return t({'id':'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE','string':'Translating\x20to'});case'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE':return t({'id':'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE','string':'Translated\x20to'});case'AI_TRANSLATE_GENERAL_ERROR_MESSAGE':return t({'id':'AI_TRANSLATE_GENERAL_ERROR_MESSAGE','string':'Sorry,\x20we\x20couldn\x27t\x20generate\x20translations\x20properly.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE':return t({'id':'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','string':'This\x20conversation\x20is\x20loaded\x20from\x20chat\x20history\x20from\x20a\x20previous\x20session,\x20so\x20you\x20can’t\x20apply,\x20reject,\x20or\x20suggest\x20changes.'});case'AI_SUGGESTION_DISABLED_FEED_MESSAGE':return t({'id':'AI_SUGGESTION_DISABLED_FEED_MESSAGE','string':'Actions\x20aren’t\x20available\x20for\x20changes\x20from\x20a\x20previous\x20session.'});default:return _0x4f952c;}}function Rt(_0x4bd88a,_0x4a7447){const _0x38abbe=new _0x22b56d['ButtonView'](_0x4bd88a),_0x41cc24=xt(_0x4bd88a,'AI_TABS_LABEL_MINIMIZE'),_0x485d27=xt(_0x4bd88a,'AI_TABS_LABEL_MAXIMIZE');return _0x38abbe['set']({'withText':!0x1,'icon':_0x22b56d['IconMaximize'],'tooltip':!0x0,'class':'ck-ai-tabs__resize\x20ck-ai-button-tertiary'}),_0x38abbe['bind']('label')['to'](_0x4a7447,'isMaximized',_0x2f53dc=>_0x2f53dc?_0x41cc24:_0x485d27),_0x38abbe['bind']('icon')['to'](_0x4a7447,'isMaximized',_0xb98c62=>_0xb98c62?_0x22b56d['IconMinimize']:_0x22b56d['IconMaximize']),_0x38abbe['bind']('isOn')['to'](_0x4a7447,'isMaximized'),_0x38abbe['on']('execute',()=>{_0x4a7447['fire']('resizeTabs');}),_0x38abbe;}const Pt=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'](_0x4a9757=>_0x4a9757['charCodeAt'](0x0))),Mt=new Uint16Array('Ȁaglq\x09\x15\x18\x1bɭ\x0f\x00\x00\x12p;䀦os;䀧t;䀾t;䀼uot;䀢'['split']('')['map'](_0x499c42=>_0x499c42['charCodeAt'](0x0)));var Nt;const Lt=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]]),Dt=null!==(Nt=String['fromCodePoint'])&&void 0x0!==Nt?Nt:function(_0x49c020){let _0x490583='';return _0x49c020>0xffff&&(_0x49c020-=0x10000,_0x490583+=String['fromCharCode'](_0x49c020>>>0xa&0x3ff|0xd800),_0x49c020=0xdc00|0x3ff&_0x49c020),_0x490583+=String['fromCharCode'](_0x49c020),_0x490583;};var Qt;!function(_0x1ac14e){_0x1ac14e[_0x1ac14e['NUM']=0x23]='NUM',_0x1ac14e[_0x1ac14e['SEMI']=0x3b]='SEMI',_0x1ac14e[_0x1ac14e['EQUALS']=0x3d]='EQUALS',_0x1ac14e[_0x1ac14e['ZERO']=0x30]='ZERO',_0x1ac14e[_0x1ac14e['NINE']=0x39]='NINE',_0x1ac14e[_0x1ac14e['LOWER_A']=0x61]='LOWER_A',_0x1ac14e[_0x1ac14e['LOWER_F']=0x66]='LOWER_F',_0x1ac14e[_0x1ac14e['LOWER_X']=0x78]='LOWER_X',_0x1ac14e[_0x1ac14e['LOWER_Z']=0x7a]='LOWER_Z',_0x1ac14e[_0x1ac14e['UPPER_A']=0x41]='UPPER_A',_0x1ac14e[_0x1ac14e['UPPER_F']=0x46]='UPPER_F',_0x1ac14e[_0x1ac14e['UPPER_Z']=0x5a]='UPPER_Z';}(Qt||(Qt={}));var $t,Vt,Ut,Bt,Ft,jt;function Ht(_0x7c5a28){return _0x7c5a28>=Qt['ZERO']&&_0x7c5a28<=Qt['NINE'];}function Gt(_0x2ce0ee){return _0x2ce0ee>=Qt['UPPER_A']&&_0x2ce0ee<=Qt['UPPER_F']||_0x2ce0ee>=Qt['LOWER_A']&&_0x2ce0ee<=Qt['LOWER_F'];}function Zt(_0x36cbbd){return _0x36cbbd===Qt['EQUALS']||function(_0x456805){return _0x456805>=Qt['UPPER_A']&&_0x456805<=Qt['UPPER_Z']||_0x456805>=Qt['LOWER_A']&&_0x456805<=Qt['LOWER_Z']||Ht(_0x456805);}(_0x36cbbd);}!function(_0x2fcb2b){_0x2fcb2b[_0x2fcb2b['VALUE_LENGTH']=0xc000]='VALUE_LENGTH',_0x2fcb2b[_0x2fcb2b['BRANCH_LENGTH']=0x3f80]='BRANCH_LENGTH',_0x2fcb2b[_0x2fcb2b['JUMP_TABLE']=0x7f]='JUMP_TABLE';}($t||($t={})),function(_0x1b1c8f){_0x1b1c8f[_0x1b1c8f['EntityStart']=0x0]='EntityStart',_0x1b1c8f[_0x1b1c8f['NumericStart']=0x1]='NumericStart',_0x1b1c8f[_0x1b1c8f['NumericDecimal']=0x2]='NumericDecimal',_0x1b1c8f[_0x1b1c8f['NumericHex']=0x3]='NumericHex',_0x1b1c8f[_0x1b1c8f['NamedEntity']=0x4]='NamedEntity';}(Vt||(Vt={})),function(_0x6b2a4f){_0x6b2a4f[_0x6b2a4f['Legacy']=0x0]='Legacy',_0x6b2a4f[_0x6b2a4f['Strict']=0x1]='Strict',_0x6b2a4f[_0x6b2a4f['Attribute']=0x2]='Attribute';}(Ut||(Ut={}));class EntityDecoder{constructor(_0x5884f3,_0x2ed2f6,_0x490f79){this['decodeTree']=_0x5884f3,this['emitCodePoint']=_0x2ed2f6,this['errors']=_0x490f79,this['state']=Vt['EntityStart'],this['consumed']=0x1,this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['decodeMode']=Ut['Strict'];}['startEntity'](_0x57efbe){this['decodeMode']=_0x57efbe,this['state']=Vt['EntityStart'],this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['consumed']=0x1;}['write'](_0x54ec70,_0x577137){switch(this['state']){case Vt['EntityStart']:return _0x54ec70['charCodeAt'](_0x577137)===Qt['NUM']?(this['state']=Vt['NumericStart'],this['consumed']+=0x1,this['stateNumericStart'](_0x54ec70,_0x577137+0x1)):(this['state']=Vt['NamedEntity'],this['stateNamedEntity'](_0x54ec70,_0x577137));case Vt['NumericStart']:return this['stateNumericStart'](_0x54ec70,_0x577137);case Vt['NumericDecimal']:return this['stateNumericDecimal'](_0x54ec70,_0x577137);case Vt['NumericHex']:return this['stateNumericHex'](_0x54ec70,_0x577137);case Vt['NamedEntity']:return this['stateNamedEntity'](_0x54ec70,_0x577137);}}['stateNumericStart'](_0x4c61bb,_0x27926e){return _0x27926e>=_0x4c61bb['length']?-0x1:(0x20|_0x4c61bb['charCodeAt'](_0x27926e))===Qt['LOWER_X']?(this['state']=Vt['NumericHex'],this['consumed']+=0x1,this['stateNumericHex'](_0x4c61bb,_0x27926e+0x1)):(this['state']=Vt['NumericDecimal'],this['stateNumericDecimal'](_0x4c61bb,_0x27926e));}['addToNumericResult'](_0x3dbfe5,_0x490d18,_0xa079cc,_0x3f51b0){if(_0x490d18!==_0xa079cc){const _0x87724b=_0xa079cc-_0x490d18;this['result']=this['result']*Math['pow'](_0x3f51b0,_0x87724b)+Number['parseInt'](_0x3dbfe5['substr'](_0x490d18,_0x87724b),_0x3f51b0),this['consumed']+=_0x87724b;}}['stateNumericHex'](_0x5c381a,_0x5bdc5c){const _0x1b0424=_0x5bdc5c;for(;_0x5bdc5c<_0x5c381a['length'];){const _0x3d6b0b=_0x5c381a['charCodeAt'](_0x5bdc5c);if(!Ht(_0x3d6b0b)&&!Gt(_0x3d6b0b))return this['addToNumericResult'](_0x5c381a,_0x1b0424,_0x5bdc5c,0x10),this['emitNumericEntity'](_0x3d6b0b,0x3);_0x5bdc5c+=0x1;}return this['addToNumericResult'](_0x5c381a,_0x1b0424,_0x5bdc5c,0x10),-0x1;}['stateNumericDecimal'](_0x380923,_0x2a1a6f){const _0x1f607c=_0x2a1a6f;for(;_0x2a1a6f<_0x380923['length'];){const _0x5d7fa1=_0x380923['charCodeAt'](_0x2a1a6f);if(!Ht(_0x5d7fa1))return this['addToNumericResult'](_0x380923,_0x1f607c,_0x2a1a6f,0xa),this['emitNumericEntity'](_0x5d7fa1,0x2);_0x2a1a6f+=0x1;}return this['addToNumericResult'](_0x380923,_0x1f607c,_0x2a1a6f,0xa),-0x1;}['emitNumericEntity'](_0xa2c8c9,_0x578d21){var _0x561d7b;if(this['consumed']<=_0x578d21)return null===(_0x561d7b=this['errors'])||void 0x0===_0x561d7b||_0x561d7b['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;if(_0xa2c8c9===Qt['SEMI'])this['consumed']+=0x1;else{if(this['decodeMode']===Ut['Strict'])return 0x0;}return this['emitCodePoint'](function(_0x28068c){var _0x2b56e1;return _0x28068c>=0xd800&&_0x28068c<=0xdfff||_0x28068c>0x10ffff?0xfffd:null!==(_0x2b56e1=Lt['get'](_0x28068c))&&void 0x0!==_0x2b56e1?_0x2b56e1:_0x28068c;}(this['result']),this['consumed']),this['errors']&&(_0xa2c8c9!==Qt['SEMI']&&this['errors']['missingSemicolonAfterCharacterReference'](),this['errors']['validateNumericCharacterReference'](this['result'])),this['consumed'];}['stateNamedEntity'](_0x287e75,_0xefa3f1){const {decodeTree:_0x3736bc}=this;let _0x99bb58=_0x3736bc[this['treeIndex']],_0x4f4ec9=(_0x99bb58&$t['VALUE_LENGTH'])>>0xe;for(;_0xefa3f1<_0x287e75['length'];_0xefa3f1++,this['excess']++){const _0x194acb=_0x287e75['charCodeAt'](_0xefa3f1);if(this['treeIndex']=Xt(_0x3736bc,_0x99bb58,this['treeIndex']+Math['max'](0x1,_0x4f4ec9),_0x194acb),this['treeIndex']<0x0)return 0x0===this['result']||this['decodeMode']===Ut['Attribute']&&(0x0===_0x4f4ec9||Zt(_0x194acb))?0x0:this['emitNotTerminatedNamedEntity']();if(_0x99bb58=_0x3736bc[this['treeIndex']],_0x4f4ec9=(_0x99bb58&$t['VALUE_LENGTH'])>>0xe,0x0!==_0x4f4ec9){if(_0x194acb===Qt['SEMI'])return this['emitNamedEntityData'](this['treeIndex'],_0x4f4ec9,this['consumed']+this['excess']);this['decodeMode']!==Ut['Strict']&&(this['result']=this['treeIndex'],this['consumed']+=this['excess'],this['excess']=0x0);}}return-0x1;}['emitNotTerminatedNamedEntity'](){var _0x508406;const {result:_0x227f07,decodeTree:_0x170d51}=this,_0x3d27e1=(_0x170d51[_0x227f07]&$t['VALUE_LENGTH'])>>0xe;return this['emitNamedEntityData'](_0x227f07,_0x3d27e1,this['consumed']),null===(_0x508406=this['errors'])||void 0x0===_0x508406||_0x508406['missingSemicolonAfterCharacterReference'](),this['consumed'];}['emitNamedEntityData'](_0x3ac2dd,_0x5deb1e,_0x389c25){const {decodeTree:_0x6238fc}=this;return this['emitCodePoint'](0x1===_0x5deb1e?_0x6238fc[_0x3ac2dd]&~$t['VALUE_LENGTH']:_0x6238fc[_0x3ac2dd+0x1],_0x389c25),0x3===_0x5deb1e&&this['emitCodePoint'](_0x6238fc[_0x3ac2dd+0x2],_0x389c25),_0x389c25;}['end'](){var _0x17bde4;switch(this['state']){case Vt['NamedEntity']:return 0x0===this['result']||this['decodeMode']===Ut['Attribute']&&this['result']!==this['treeIndex']?0x0:this['emitNotTerminatedNamedEntity']();case Vt['NumericDecimal']:return this['emitNumericEntity'](0x0,0x2);case Vt['NumericHex']:return this['emitNumericEntity'](0x0,0x3);case Vt['NumericStart']:return null===(_0x17bde4=this['errors'])||void 0x0===_0x17bde4||_0x17bde4['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;case Vt['EntityStart']:return 0x0;}}}function Xt(_0x1c0e4f,_0x551123,_0x2a862d,_0x289d51){const _0x26ea57=(_0x551123&$t['BRANCH_LENGTH'])>>0x7,_0x5a9de3=_0x551123&$t['JUMP_TABLE'];if(0x0===_0x26ea57)return 0x0!==_0x5a9de3&&_0x289d51===_0x5a9de3?_0x2a862d:-0x1;if(_0x5a9de3){const _0x4df715=_0x289d51-_0x5a9de3;return _0x4df715<0x0||_0x4df715>=_0x26ea57?-0x1:_0x1c0e4f[_0x2a862d+_0x4df715]-0x1;}let _0x35ce42=_0x2a862d,_0x2c485b=_0x35ce42+_0x26ea57-0x1;for(;_0x35ce42<=_0x2c485b;){const _0x2bc850=_0x35ce42+_0x2c485b>>>0x1,_0x42b716=_0x1c0e4f[_0x2bc850];if(_0x42b716<_0x289d51)_0x35ce42=_0x2bc850+0x1;else{if(!(_0x42b716>_0x289d51))return _0x1c0e4f[_0x2bc850+_0x26ea57];_0x2c485b=_0x2bc850-0x1;}}return-0x1;}function qt(_0x492272){return _0x492272===Bt['Space']||_0x492272===Bt['NewLine']||_0x492272===Bt['Tab']||_0x492272===Bt['FormFeed']||_0x492272===Bt['CarriageReturn'];}function Wt(_0x1269be){return _0x1269be===Bt['Slash']||_0x1269be===Bt['Gt']||qt(_0x1269be);}!function(_0x37e492){_0x37e492[_0x37e492['Tab']=0x9]='Tab',_0x37e492[_0x37e492['NewLine']=0xa]='NewLine',_0x37e492[_0x37e492['FormFeed']=0xc]='FormFeed',_0x37e492[_0x37e492['CarriageReturn']=0xd]='CarriageReturn',_0x37e492[_0x37e492['Space']=0x20]='Space',_0x37e492[_0x37e492['ExclamationMark']=0x21]='ExclamationMark',_0x37e492[_0x37e492['Number']=0x23]='Number',_0x37e492[_0x37e492['Amp']=0x26]='Amp',_0x37e492[_0x37e492['SingleQuote']=0x27]='SingleQuote',_0x37e492[_0x37e492['DoubleQuote']=0x22]='DoubleQuote',_0x37e492[_0x37e492['Dash']=0x2d]='Dash',_0x37e492[_0x37e492['Slash']=0x2f]='Slash',_0x37e492[_0x37e492['Zero']=0x30]='Zero',_0x37e492[_0x37e492['Nine']=0x39]='Nine',_0x37e492[_0x37e492['Semi']=0x3b]='Semi',_0x37e492[_0x37e492['Lt']=0x3c]='Lt',_0x37e492[_0x37e492['Eq']=0x3d]='Eq',_0x37e492[_0x37e492['Gt']=0x3e]='Gt',_0x37e492[_0x37e492['Questionmark']=0x3f]='Questionmark',_0x37e492[_0x37e492['UpperA']=0x41]='UpperA',_0x37e492[_0x37e492['LowerA']=0x61]='LowerA',_0x37e492[_0x37e492['UpperF']=0x46]='UpperF',_0x37e492[_0x37e492['LowerF']=0x66]='LowerF',_0x37e492[_0x37e492['UpperZ']=0x5a]='UpperZ',_0x37e492[_0x37e492['LowerZ']=0x7a]='LowerZ',_0x37e492[_0x37e492['LowerX']=0x78]='LowerX',_0x37e492[_0x37e492['OpeningSquareBracket']=0x5b]='OpeningSquareBracket';}(Bt||(Bt={})),function(_0x5427e5){_0x5427e5[_0x5427e5['Text']=0x1]='Text',_0x5427e5[_0x5427e5['BeforeTagName']=0x2]='BeforeTagName',_0x5427e5[_0x5427e5['InTagName']=0x3]='InTagName',_0x5427e5[_0x5427e5['InSelfClosingTag']=0x4]='InSelfClosingTag',_0x5427e5[_0x5427e5['BeforeClosingTagName']=0x5]='BeforeClosingTagName',_0x5427e5[_0x5427e5['InClosingTagName']=0x6]='InClosingTagName',_0x5427e5[_0x5427e5['AfterClosingTagName']=0x7]='AfterClosingTagName',_0x5427e5[_0x5427e5['BeforeAttributeName']=0x8]='BeforeAttributeName',_0x5427e5[_0x5427e5['InAttributeName']=0x9]='InAttributeName',_0x5427e5[_0x5427e5['AfterAttributeName']=0xa]='AfterAttributeName',_0x5427e5[_0x5427e5['BeforeAttributeValue']=0xb]='BeforeAttributeValue',_0x5427e5[_0x5427e5['InAttributeValueDq']=0xc]='InAttributeValueDq',_0x5427e5[_0x5427e5['InAttributeValueSq']=0xd]='InAttributeValueSq',_0x5427e5[_0x5427e5['InAttributeValueNq']=0xe]='InAttributeValueNq',_0x5427e5[_0x5427e5['BeforeDeclaration']=0xf]='BeforeDeclaration',_0x5427e5[_0x5427e5['InDeclaration']=0x10]='InDeclaration',_0x5427e5[_0x5427e5['InProcessingInstruction']=0x11]='InProcessingInstruction',_0x5427e5[_0x5427e5['BeforeComment']=0x12]='BeforeComment',_0x5427e5[_0x5427e5['CDATASequence']=0x13]='CDATASequence',_0x5427e5[_0x5427e5['InSpecialComment']=0x14]='InSpecialComment',_0x5427e5[_0x5427e5['InCommentLike']=0x15]='InCommentLike',_0x5427e5[_0x5427e5['BeforeSpecialS']=0x16]='BeforeSpecialS',_0x5427e5[_0x5427e5['BeforeSpecialT']=0x17]='BeforeSpecialT',_0x5427e5[_0x5427e5['SpecialStartSequence']=0x18]='SpecialStartSequence',_0x5427e5[_0x5427e5['InSpecialTag']=0x19]='InSpecialTag',_0x5427e5[_0x5427e5['InEntity']=0x1a]='InEntity';}(Ft||(Ft={})),function(_0x5388ce){_0x5388ce[_0x5388ce['NoValue']=0x0]='NoValue',_0x5388ce[_0x5388ce['Unquoted']=0x1]='Unquoted',_0x5388ce[_0x5388ce['Single']=0x2]='Single',_0x5388ce[_0x5388ce['Double']=0x3]='Double';}(jt||(jt={}));const zt={'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 _0x7aab1c{constructor({xmlMode:_0x183206=!0x1,decodeEntities:_0x72a6b4=!0x0},_0x2dac29){this['cbs']=_0x2dac29,this['state']=Ft['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['entityStart']=0x0,this['baseState']=Ft['Text'],this['isSpecial']=!0x1,this['running']=!0x0,this['offset']=0x0,this['currentSequence']=void 0x0,this['sequenceIndex']=0x0,this['xmlMode']=_0x183206,this['decodeEntities']=_0x72a6b4,this['entityDecoder']=new EntityDecoder(_0x183206?Mt:Pt,(_0x492123,_0x50bb32)=>this['emitCodePoint'](_0x492123,_0x50bb32));}['reset'](){this['state']=Ft['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['baseState']=Ft['Text'],this['currentSequence']=void 0x0,this['running']=!0x0,this['offset']=0x0;}['write'](_0x4db4ae){this['offset']+=this['buffer']['length'],this['buffer']=_0x4db4ae,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'](_0x2368f1){_0x2368f1===Bt['Lt']||!this['decodeEntities']&&this['fastForwardTo'](Bt['Lt'])?(this['index']>this['sectionStart']&&this['cbs']['ontext'](this['sectionStart'],this['index']),this['state']=Ft['BeforeTagName'],this['sectionStart']=this['index']):this['decodeEntities']&&_0x2368f1===Bt['Amp']&&this['startEntity']();}['stateSpecialStartSequence'](_0x4acbb1){const _0x335b35=this['sequenceIndex']===this['currentSequence']['length'];if(_0x335b35?Wt(_0x4acbb1):(0x20|_0x4acbb1)===this['currentSequence'][this['sequenceIndex']]){if(!_0x335b35)return void this['sequenceIndex']++;}else this['isSpecial']=!0x1;this['sequenceIndex']=0x0,this['state']=Ft['InTagName'],this['stateInTagName'](_0x4acbb1);}['stateInSpecialTag'](_0x3c818d){if(this['sequenceIndex']===this['currentSequence']['length']){if(_0x3c818d===Bt['Gt']||qt(_0x3c818d)){const _0x5eaeb0=this['index']-this['currentSequence']['length'];if(this['sectionStart']<_0x5eaeb0){const _0x1df61f=this['index'];this['index']=_0x5eaeb0,this['cbs']['ontext'](this['sectionStart'],_0x5eaeb0),this['index']=_0x1df61f;}return this['isSpecial']=!0x1,this['sectionStart']=_0x5eaeb0+0x2,void this['stateInClosingTagName'](_0x3c818d);}this['sequenceIndex']=0x0;}(0x20|_0x3c818d)===this['currentSequence'][this['sequenceIndex']]?this['sequenceIndex']+=0x1:0x0===this['sequenceIndex']?this['currentSequence']===zt['TitleEnd']?this['decodeEntities']&&_0x3c818d===Bt['Amp']&&this['startEntity']():this['fastForwardTo'](Bt['Lt'])&&(this['sequenceIndex']=0x1):this['sequenceIndex']=Number(_0x3c818d===Bt['Lt']);}['stateCDATASequence'](_0xa76a80){_0xa76a80===zt['Cdata'][this['sequenceIndex']]?++this['sequenceIndex']===zt['Cdata']['length']&&(this['state']=Ft['InCommentLike'],this['currentSequence']=zt['CdataEnd'],this['sequenceIndex']=0x0,this['sectionStart']=this['index']+0x1):(this['sequenceIndex']=0x0,this['state']=Ft['InDeclaration'],this['stateInDeclaration'](_0xa76a80));}['fastForwardTo'](_0x4fab6b){for(;++this['index']<this['buffer']['length']+this['offset'];)if(this['buffer']['charCodeAt'](this['index']-this['offset'])===_0x4fab6b)return!0x0;return this['index']=this['buffer']['length']+this['offset']-0x1,!0x1;}['stateInCommentLike'](_0x1e46b9){_0x1e46b9===this['currentSequence'][this['sequenceIndex']]?++this['sequenceIndex']===this['currentSequence']['length']&&(this['currentSequence']===zt['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']=Ft['Text']):0x0===this['sequenceIndex']?this['fastForwardTo'](this['currentSequence'][0x0])&&(this['sequenceIndex']=0x1):_0x1e46b9!==this['currentSequence'][this['sequenceIndex']-0x1]&&(this['sequenceIndex']=0x0);}['isTagStartChar'](_0x47b341){return this['xmlMode']?!Wt(_0x47b341):function(_0x33c8c7){return _0x33c8c7>=Bt['LowerA']&&_0x33c8c7<=Bt['LowerZ']||_0x33c8c7>=Bt['UpperA']&&_0x33c8c7<=Bt['UpperZ'];}(_0x47b341);}['startSpecial'](_0xcf6ed,_0x1e8da6){this['isSpecial']=!0x0,this['currentSequence']=_0xcf6ed,this['sequenceIndex']=_0x1e8da6,this['state']=Ft['SpecialStartSequence'];}['stateBeforeTagName'](_0x5e541d){if(_0x5e541d===Bt['ExclamationMark'])this['state']=Ft['BeforeDeclaration'],this['sectionStart']=this['index']+0x1;else{if(_0x5e541d===Bt['Questionmark'])this['state']=Ft['InProcessingInstruction'],this['sectionStart']=this['index']+0x1;else{if(this['isTagStartChar'](_0x5e541d)){const _0x496637=0x20|_0x5e541d;this['sectionStart']=this['index'],this['xmlMode']?this['state']=Ft['InTagName']:_0x496637===zt['ScriptEnd'][0x2]?this['state']=Ft['BeforeSpecialS']:_0x496637===zt['TitleEnd'][0x2]||_0x496637===zt['XmpEnd'][0x2]?this['state']=Ft['BeforeSpecialT']:this['state']=Ft['InTagName'];}else _0x5e541d===Bt['Slash']?this['state']=Ft['BeforeClosingTagName']:(this['state']=Ft['Text'],this['stateText'](_0x5e541d));}}}['stateInTagName'](_0x5c44e7){Wt(_0x5c44e7)&&(this['cbs']['onopentagname'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=Ft['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x5c44e7));}['stateBeforeClosingTagName'](_0x334474){qt(_0x334474)||(_0x334474===Bt['Gt']?this['state']=Ft['Text']:(this['state']=this['isTagStartChar'](_0x334474)?Ft['InClosingTagName']:Ft['InSpecialComment'],this['sectionStart']=this['index']));}['stateInClosingTagName'](_0x4ce8cb){(_0x4ce8cb===Bt['Gt']||qt(_0x4ce8cb))&&(this['cbs']['onclosetag'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=Ft['AfterClosingTagName'],this['stateAfterClosingTagName'](_0x4ce8cb));}['stateAfterClosingTagName'](_0x301bdb){(_0x301bdb===Bt['Gt']||this['fastForwardTo'](Bt['Gt']))&&(this['state']=Ft['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeAttributeName'](_0x1a26d6){_0x1a26d6===Bt['Gt']?(this['cbs']['onopentagend'](this['index']),this['isSpecial']?(this['state']=Ft['InSpecialTag'],this['sequenceIndex']=0x0):this['state']=Ft['Text'],this['sectionStart']=this['index']+0x1):_0x1a26d6===Bt['Slash']?this['state']=Ft['InSelfClosingTag']:qt(_0x1a26d6)||(this['state']=Ft['InAttributeName'],this['sectionStart']=this['index']);}['stateInSelfClosingTag'](_0x43742b){_0x43742b===Bt['Gt']?(this['cbs']['onselfclosingtag'](this['index']),this['state']=Ft['Text'],this['sectionStart']=this['index']+0x1,this['isSpecial']=!0x1):qt(_0x43742b)||(this['state']=Ft['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x43742b));}['stateInAttributeName'](_0x1af8d0){(_0x1af8d0===Bt['Eq']||Wt(_0x1af8d0))&&(this['cbs']['onattribname'](this['sectionStart'],this['index']),this['sectionStart']=this['index'],this['state']=Ft['AfterAttributeName'],this['stateAfterAttributeName'](_0x1af8d0));}['stateAfterAttributeName'](_0x8c13fc){_0x8c13fc===Bt['Eq']?this['state']=Ft['BeforeAttributeValue']:_0x8c13fc===Bt['Slash']||_0x8c13fc===Bt['Gt']?(this['cbs']['onattribend'](jt['NoValue'],this['sectionStart']),this['sectionStart']=-0x1,this['state']=Ft['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x8c13fc)):qt(_0x8c13fc)||(this['cbs']['onattribend'](jt['NoValue'],this['sectionStart']),this['state']=Ft['InAttributeName'],this['sectionStart']=this['index']);}['stateBeforeAttributeValue'](_0x3decfa){_0x3decfa===Bt['DoubleQuote']?(this['state']=Ft['InAttributeValueDq'],this['sectionStart']=this['index']+0x1):_0x3decfa===Bt['SingleQuote']?(this['state']=Ft['InAttributeValueSq'],this['sectionStart']=this['index']+0x1):qt(_0x3decfa)||(this['sectionStart']=this['index'],this['state']=Ft['InAttributeValueNq'],this['stateInAttributeValueNoQuotes'](_0x3decfa));}['handleInAttributeValue'](_0x5db611,_0x23e59e){_0x5db611===_0x23e59e||!this['decodeEntities']&&this['fastForwardTo'](_0x23e59e)?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](_0x23e59e===Bt['DoubleQuote']?jt['Double']:jt['Single'],this['index']+0x1),this['state']=Ft['BeforeAttributeName']):this['decodeEntities']&&_0x5db611===Bt['Amp']&&this['startEntity']();}['stateInAttributeValueDoubleQuotes'](_0x4c577d){this['handleInAttributeValue'](_0x4c577d,Bt['DoubleQuote']);}['stateInAttributeValueSingleQuotes'](_0x3d2434){this['handleInAttributeValue'](_0x3d2434,Bt['SingleQuote']);}['stateInAttributeValueNoQuotes'](_0x5de939){qt(_0x5de939)||_0x5de939===Bt['Gt']?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](jt['Unquoted'],this['index']),this['state']=Ft['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x5de939)):this['decodeEntities']&&_0x5de939===Bt['Amp']&&this['startEntity']();}['stateBeforeDeclaration'](_0x5ccbbe){_0x5ccbbe===Bt['OpeningSquareBracket']?(this['state']=Ft['CDATASequence'],this['sequenceIndex']=0x0):this['state']=_0x5ccbbe===Bt['Dash']?Ft['BeforeComment']:Ft['InDeclaration'];}['stateInDeclaration'](_0x4a755a){(_0x4a755a===Bt['Gt']||this['fastForwardTo'](Bt['Gt']))&&(this['cbs']['ondeclaration'](this['sectionStart'],this['index']),this['state']=Ft['Text'],this['sectionStart']=this['index']+0x1);}['stateInProcessingInstruction'](_0x1f70a1){(_0x1f70a1===Bt['Gt']||this['fastForwardTo'](Bt['Gt']))&&(this['cbs']['onprocessinginstruction'](this['sectionStart'],this['index']),this['state']=Ft['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeComment'](_0x18d033){_0x18d033===Bt['Dash']?(this['state']=Ft['InCommentLike'],this['currentSequence']=zt['CommentEnd'],this['sequenceIndex']=0x2,this['sectionStart']=this['index']+0x1):this['state']=Ft['InDeclaration'];}['stateInSpecialComment'](_0x49740b){(_0x49740b===Bt['Gt']||this['fastForwardTo'](Bt['Gt']))&&(this['cbs']['oncomment'](this['sectionStart'],this['index'],0x0),this['state']=Ft['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeSpecialS'](_0x1752ee){const _0x5392c0=0x20|_0x1752ee;_0x5392c0===zt['ScriptEnd'][0x3]?this['startSpecial'](zt['ScriptEnd'],0x4):_0x5392c0===zt['StyleEnd'][0x3]?this['startSpecial'](zt['StyleEnd'],0x4):(this['state']=Ft['InTagName'],this['stateInTagName'](_0x1752ee));}['stateBeforeSpecialT'](_0x368f5d){switch(0x20|_0x368f5d){case zt['TitleEnd'][0x3]:this['startSpecial'](zt['TitleEnd'],0x4);break;case zt['TextareaEnd'][0x3]:this['startSpecial'](zt['TextareaEnd'],0x4);break;case zt['XmpEnd'][0x3]:this['startSpecial'](zt['XmpEnd'],0x4);break;default:this['state']=Ft['InTagName'],this['stateInTagName'](_0x368f5d);}}['startEntity'](){this['baseState']=this['state'],this['state']=Ft['InEntity'],this['entityStart']=this['index'],this['entityDecoder']['startEntity'](this['xmlMode']?Ut['Strict']:this['baseState']===Ft['Text']||this['baseState']===Ft['InSpecialTag']?Ut['Legacy']:Ut['Attribute']);}['stateInEntity'](){const _0xd2511f=this['entityDecoder']['write'](this['buffer'],this['index']-this['offset']);_0xd2511f>=0x0?(this['state']=this['baseState'],0x0===_0xd2511f&&(this['index']=this['entityStart'])):this['index']=this['offset']+this['buffer']['length']-0x1;}['cleanup'](){this['running']&&this['sectionStart']!==this['index']&&(this['state']===Ft['Text']||this['state']===Ft['InSpecialTag']&&0x0===this['sequenceIndex']?(this['cbs']['ontext'](this['sectionStart'],this['index']),this['sectionStart']=this['index']):this['state']!==Ft['InAttributeValueDq']&&this['state']!==Ft['InAttributeValueSq']&&this['state']!==Ft['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 _0x38fd55=this['buffer']['charCodeAt'](this['index']-this['offset']);switch(this['state']){case Ft['Text']:this['stateText'](_0x38fd55);break;case Ft['SpecialStartSequence']:this['stateSpecialStartSequence'](_0x38fd55);break;case Ft['InSpecialTag']:this['stateInSpecialTag'](_0x38fd55);break;case Ft['CDATASequence']:this['stateCDATASequence'](_0x38fd55);break;case Ft['InAttributeValueDq']:this['stateInAttributeValueDoubleQuotes'](_0x38fd55);break;case Ft['InAttributeName']:this['stateInAttributeName'](_0x38fd55);break;case Ft['InCommentLike']:this['stateInCommentLike'](_0x38fd55);break;case Ft['InSpecialComment']:this['stateInSpecialComment'](_0x38fd55);break;case Ft['BeforeAttributeName']:this['stateBeforeAttributeName'](_0x38fd55);break;case Ft['InTagName']:this['stateInTagName'](_0x38fd55);break;case Ft['InClosingTagName']:this['stateInClosingTagName'](_0x38fd55);break;case Ft['BeforeTagName']:this['stateBeforeTagName'](_0x38fd55);break;case Ft['AfterAttributeName']:this['stateAfterAttributeName'](_0x38fd55);break;case Ft['InAttributeValueSq']:this['stateInAttributeValueSingleQuotes'](_0x38fd55);break;case Ft['BeforeAttributeValue']:this['stateBeforeAttributeValue'](_0x38fd55);break;case Ft['BeforeClosingTagName']:this['stateBeforeClosingTagName'](_0x38fd55);break;case Ft['AfterClosingTagName']:this['stateAfterClosingTagName'](_0x38fd55);break;case Ft['BeforeSpecialS']:this['stateBeforeSpecialS'](_0x38fd55);break;case Ft['BeforeSpecialT']:this['stateBeforeSpecialT'](_0x38fd55);break;case Ft['InAttributeValueNq']:this['stateInAttributeValueNoQuotes'](_0x38fd55);break;case Ft['InSelfClosingTag']:this['stateInSelfClosingTag'](_0x38fd55);break;case Ft['InDeclaration']:this['stateInDeclaration'](_0x38fd55);break;case Ft['BeforeDeclaration']:this['stateBeforeDeclaration'](_0x38fd55);break;case Ft['BeforeComment']:this['stateBeforeComment'](_0x38fd55);break;case Ft['InProcessingInstruction']:this['stateInProcessingInstruction'](_0x38fd55);break;case Ft['InEntity']:this['stateInEntity']();}this['index']++;}this['cleanup']();}['finish'](){this['state']===Ft['InEntity']&&(this['entityDecoder']['end'](),this['state']=this['baseState']),this['handleTrailingData'](),this['cbs']['onend']();}['handleTrailingData'](){const _0x2eec0b=this['buffer']['length']+this['offset'];this['sectionStart']>=_0x2eec0b||(this['state']===Ft['InCommentLike']?this['currentSequence']===zt['CdataEnd']?this['cbs']['oncdata'](this['sectionStart'],_0x2eec0b,0x0):this['cbs']['oncomment'](this['sectionStart'],_0x2eec0b,0x0):this['state']===Ft['InTagName']||this['state']===Ft['BeforeAttributeName']||this['state']===Ft['BeforeAttributeValue']||this['state']===Ft['AfterAttributeName']||this['state']===Ft['InAttributeName']||this['state']===Ft['InAttributeValueSq']||this['state']===Ft['InAttributeValueDq']||this['state']===Ft['InAttributeValueNq']||this['state']===Ft['InClosingTagName']||this['cbs']['ontext'](this['sectionStart'],_0x2eec0b));}['emitCodePoint'](_0x8c60a0,_0x3b2f82){this['baseState']!==Ft['Text']&&this['baseState']!==Ft['InSpecialTag']?(this['sectionStart']<this['entityStart']&&this['cbs']['onattribdata'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x3b2f82,this['index']=this['sectionStart']-0x1,this['cbs']['onattribentity'](_0x8c60a0)):(this['sectionStart']<this['entityStart']&&this['cbs']['ontext'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x3b2f82,this['index']=this['sectionStart']-0x1,this['cbs']['ontextentity'](_0x8c60a0,this['sectionStart']));}}const Yt=new Set(['input','option','optgroup','select','button','datalist','textarea']),Kt=new Set(['p']),Jt=new Set(['thead','tbody']),te=new Set(['dd','dt']),_0x5b5fa7=new Set(['rt','rp']),_0x1eadfc=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',Kt],['h1',Kt],['h2',Kt],['h3',Kt],['h4',Kt],['h5',Kt],['h6',Kt],['select',Yt],['input',Yt],['output',Yt],['button',Yt],['datalist',Yt],['textarea',Yt],['option',new Set(['option'])],['optgroup',new Set(['optgroup','option'])],['dd',te],['dt',te],['address',Kt],['article',Kt],['aside',Kt],['blockquote',Kt],['details',Kt],['div',Kt],['dl',Kt],['fieldset',Kt],['figcaption',Kt],['figure',Kt],['footer',Kt],['form',Kt],['header',Kt],['hr',Kt],['main',Kt],['nav',Kt],['ol',Kt],['pre',Kt],['section',Kt],['table',Kt],['ul',Kt],['rt',_0x5b5fa7],['rp',_0x5b5fa7],['tbody',Jt],['tfoot',Jt]]),_0x25843c=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']),_0x82ea8e=new Set(['math','svg']),_0xc20f41=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignobject','desc','title']),_0x58e576=/\s|\//;let _0x45c3d2=class _0x4fa4d{constructor(_0x26a909,_0x5f07d3={}){var _0x39934d,_0x21a5d6,_0x2d4cff,_0x33a377,_0x4eeffc,_0xadb72b;this['options']=_0x5f07d3,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!=_0x26a909?_0x26a909:{},this['htmlMode']=!this['options']['xmlMode'],this['lowerCaseTagNames']=null!==(_0x39934d=_0x5f07d3['lowerCaseTags'])&&void 0x0!==_0x39934d?_0x39934d:this['htmlMode'],this['lowerCaseAttributeNames']=null!==(_0x21a5d6=_0x5f07d3['lowerCaseAttributeNames'])&&void 0x0!==_0x21a5d6?_0x21a5d6:this['htmlMode'],this['recognizeSelfClosing']=null!==(_0x2d4cff=_0x5f07d3['recognizeSelfClosing'])&&void 0x0!==_0x2d4cff?_0x2d4cff:!this['htmlMode'],this['tokenizer']=new(null!==(_0x33a377=_0x5f07d3['Tokenizer'])&&void 0x0!==_0x33a377?_0x33a377:_0x7aab1c)(this['options'],this),this['foreignContext']=[!this['htmlMode']],null===(_0xadb72b=(_0x4eeffc=this['cbs'])['onparserinit'])||void 0x0===_0xadb72b||_0xadb72b['call'](_0x4eeffc,this);}['ontext'](_0x50b0ba,_0x27b32c){var _0x4ada27,_0xb3a6b3;const _0x1593f7=this['getSlice'](_0x50b0ba,_0x27b32c);this['endIndex']=_0x27b32c-0x1,null===(_0xb3a6b3=(_0x4ada27=this['cbs'])['ontext'])||void 0x0===_0xb3a6b3||_0xb3a6b3['call'](_0x4ada27,_0x1593f7),this['startIndex']=_0x27b32c;}['ontextentity'](_0x72a65d,_0x1fa424){var _0x3d5a30,_0x1061c1;this['endIndex']=_0x1fa424-0x1,null===(_0x1061c1=(_0x3d5a30=this['cbs'])['ontext'])||void 0x0===_0x1061c1||_0x1061c1['call'](_0x3d5a30,Dt(_0x72a65d)),this['startIndex']=_0x1fa424;}['isVoidElement'](_0x317c3c){return this['htmlMode']&&_0x25843c['has'](_0x317c3c);}['onopentagname'](_0x59b2e5,_0x1e9d18){this['endIndex']=_0x1e9d18;let _0x317e45=this['getSlice'](_0x59b2e5,_0x1e9d18);this['lowerCaseTagNames']&&(_0x317e45=_0x317e45['toLowerCase']()),this['emitOpenTag'](_0x317e45);}['emitOpenTag'](_0x183e8f){var _0x374b5a,_0x12bb11,_0x2655cb,_0x2560b6;this['openTagStart']=this['startIndex'],this['tagname']=_0x183e8f;const _0x437ef6=this['htmlMode']&&_0x1eadfc['get'](_0x183e8f);if(_0x437ef6)for(;this['stack']['length']>0x0&&_0x437ef6['has'](this['stack'][0x0]);){const _0x273a34=this['stack']['shift']();null===(_0x12bb11=(_0x374b5a=this['cbs'])['onclosetag'])||void 0x0===_0x12bb11||_0x12bb11['call'](_0x374b5a,_0x273a34,!0x0);}this['isVoidElement'](_0x183e8f)||(this['stack']['unshift'](_0x183e8f),this['htmlMode']&&(_0x82ea8e['has'](_0x183e8f)?this['foreignContext']['unshift'](!0x0):_0xc20f41['has'](_0x183e8f)&&this['foreignContext']['unshift'](!0x1))),null===(_0x2560b6=(_0x2655cb=this['cbs'])['onopentagname'])||void 0x0===_0x2560b6||_0x2560b6['call'](_0x2655cb,_0x183e8f),this['cbs']['onopentag']&&(this['attribs']={});}['endOpenTag'](_0x10e2f3){var _0x4631b7,_0x5d9403;this['startIndex']=this['openTagStart'],this['attribs']&&(null===(_0x5d9403=(_0x4631b7=this['cbs'])['onopentag'])||void 0x0===_0x5d9403||_0x5d9403['call'](_0x4631b7,this['tagname'],this['attribs'],_0x10e2f3),this['attribs']=null),this['cbs']['onclosetag']&&this['isVoidElement'](this['tagname'])&&this['cbs']['onclosetag'](this['tagname'],!0x0),this['tagname']='';}['onopentagend'](_0x3f9d18){this['endIndex']=_0x3f9d18,this['endOpenTag'](!0x1),this['startIndex']=_0x3f9d18+0x1;}['onclosetag'](_0x5e2406,_0x1ab300){var _0x33b6ef,_0x241d61,_0x24ca18,_0x540a0c,_0xd8f246,_0x49d386,_0x1993f2,_0x489d81;this['endIndex']=_0x1ab300;let _0x2bf4c1=this['getSlice'](_0x5e2406,_0x1ab300);if(this['lowerCaseTagNames']&&(_0x2bf4c1=_0x2bf4c1['toLowerCase']()),this['htmlMode']&&(_0x82ea8e['has'](_0x2bf4c1)||_0xc20f41['has'](_0x2bf4c1))&&this['foreignContext']['shift'](),this['isVoidElement'](_0x2bf4c1))this['htmlMode']&&'br'===_0x2bf4c1&&(null===(_0x540a0c=(_0x24ca18=this['cbs'])['onopentagname'])||void 0x0===_0x540a0c||_0x540a0c['call'](_0x24ca18,'br'),null===(_0x49d386=(_0xd8f246=this['cbs'])['onopentag'])||void 0x0===_0x49d386||_0x49d386['call'](_0xd8f246,'br',{},!0x0),null===(_0x489d81=(_0x1993f2=this['cbs'])['onclosetag'])||void 0x0===_0x489d81||_0x489d81['call'](_0x1993f2,'br',!0x1));else{const _0x457e9f=this['stack']['indexOf'](_0x2bf4c1);if(-0x1!==_0x457e9f)for(let _0x59f371=0x0;_0x59f371<=_0x457e9f;_0x59f371++){const _0x573c05=this['stack']['shift']();null===(_0x241d61=(_0x33b6ef=this['cbs'])['onclosetag'])||void 0x0===_0x241d61||_0x241d61['call'](_0x33b6ef,_0x573c05,_0x59f371!==_0x457e9f);}else this['htmlMode']&&'p'===_0x2bf4c1&&(this['emitOpenTag']('p'),this['closeCurrentTag'](!0x0));}this['startIndex']=_0x1ab300+0x1;}['onselfclosingtag'](_0x48039b){this['endIndex']=_0x48039b,this['recognizeSelfClosing']||this['foreignContext'][0x0]?(this['closeCurrentTag'](!0x1),this['startIndex']=_0x48039b+0x1):this['onopentagend'](_0x48039b);}['closeCurrentTag'](_0x1d2b90){var _0x149df3,_0x179ffb;const _0x262e9d=this['tagname'];this['endOpenTag'](_0x1d2b90),this['stack'][0x0]===_0x262e9d&&(null===(_0x179ffb=(_0x149df3=this['cbs'])['onclosetag'])||void 0x0===_0x179ffb||_0x179ffb['call'](_0x149df3,_0x262e9d,!_0x1d2b90),this['stack']['shift']());}['onattribname'](_0x3870f5,_0x1181cc){this['startIndex']=_0x3870f5;const _0x4fa8d7=this['getSlice'](_0x3870f5,_0x1181cc);this['attribname']=this['lowerCaseAttributeNames']?_0x4fa8d7['toLowerCase']():_0x4fa8d7;}['onattribdata'](_0x1cd756,_0x399b65){this['attribvalue']+=this['getSlice'](_0x1cd756,_0x399b65);}['onattribentity'](_0x253718){this['attribvalue']+=Dt(_0x253718);}['onattribend'](_0x3f8635,_0x2df13b){var _0x3a53e7,_0x61efe4;this['endIndex']=_0x2df13b,null===(_0x61efe4=(_0x3a53e7=this['cbs'])['onattribute'])||void 0x0===_0x61efe4||_0x61efe4['call'](_0x3a53e7,this['attribname'],this['attribvalue'],_0x3f8635===jt['Double']?'\x22':_0x3f8635===jt['Single']?'\x27':_0x3f8635===jt['NoValue']?void 0x0:null),this['attribs']&&!Object['prototype']['hasOwnProperty']['call'](this['attribs'],this['attribname'])&&(this['attribs'][this['attribname']]=this['attribvalue']),this['attribvalue']='';}['getInstructionName'](_0x519108){const _0x23cead=_0x519108['search'](_0x58e576);let _0x261003=_0x23cead<0x0?_0x519108:_0x519108['substr'](0x0,_0x23cead);return this['lowerCaseTagNames']&&(_0x261003=_0x261003['toLowerCase']()),_0x261003;}['ondeclaration'](_0x1344fd,_0x5ea531){this['endIndex']=_0x5ea531;const _0x5105de=this['getSlice'](_0x1344fd,_0x5ea531);if(this['cbs']['onprocessinginstruction']){const _0x3cba77=this['getInstructionName'](_0x5105de);this['cbs']['onprocessinginstruction']('!'+_0x3cba77,'!'+_0x5105de);}this['startIndex']=_0x5ea531+0x1;}['onprocessinginstruction'](_0x260e2e,_0x4be6e6){this['endIndex']=_0x4be6e6;const _0x5245e8=this['getSlice'](_0x260e2e,_0x4be6e6);if(this['cbs']['onprocessinginstruction']){const _0x386591=this['getInstructionName'](_0x5245e8);this['cbs']['onprocessinginstruction']('?'+_0x386591,'?'+_0x5245e8);}this['startIndex']=_0x4be6e6+0x1;}['oncomment'](_0x50a1fe,_0x494e70,_0x5a476b){var _0x3c36b9,_0x331848,_0x16f869,_0x2a31e4;this['endIndex']=_0x494e70,null===(_0x331848=(_0x3c36b9=this['cbs'])['oncomment'])||void 0x0===_0x331848||_0x331848['call'](_0x3c36b9,this['getSlice'](_0x50a1fe,_0x494e70-_0x5a476b)),null===(_0x2a31e4=(_0x16f869=this['cbs'])['oncommentend'])||void 0x0===_0x2a31e4||_0x2a31e4['call'](_0x16f869),this['startIndex']=_0x494e70+0x1;}['oncdata'](_0x1f58dd,_0x441306,_0xce98d){var _0x2ed232,_0xb7497a,_0x24068c,_0xba3e8c,_0x78dc06,_0x47483b,_0x5c0972,_0x26c9f2,_0x538825,_0x585dae;this['endIndex']=_0x441306;const _0x40a2bb=this['getSlice'](_0x1f58dd,_0x441306-_0xce98d);!this['htmlMode']||this['options']['recognizeCDATA']?(null===(_0xb7497a=(_0x2ed232=this['cbs'])['oncdatastart'])||void 0x0===_0xb7497a||_0xb7497a['call'](_0x2ed232),null===(_0xba3e8c=(_0x24068c=this['cbs'])['ontext'])||void 0x0===_0xba3e8c||_0xba3e8c['call'](_0x24068c,_0x40a2bb),null===(_0x47483b=(_0x78dc06=this['cbs'])['oncdataend'])||void 0x0===_0x47483b||_0x47483b['call'](_0x78dc06)):(null===(_0x26c9f2=(_0x5c0972=this['cbs'])['oncomment'])||void 0x0===_0x26c9f2||_0x26c9f2['call'](_0x5c0972,'[CDATA['+_0x40a2bb+']]'),null===(_0x585dae=(_0x538825=this['cbs'])['oncommentend'])||void 0x0===_0x585dae||_0x585dae['call'](_0x538825)),this['startIndex']=_0x441306+0x1;}['onend'](){var _0x345047,_0x4ec6f1;if(this['cbs']['onclosetag']){this['endIndex']=this['startIndex'];for(let _0x53e638=0x0;_0x53e638<this['stack']['length'];_0x53e638++)this['cbs']['onclosetag'](this['stack'][_0x53e638],!0x0);}null===(_0x4ec6f1=(_0x345047=this['cbs'])['onend'])||void 0x0===_0x4ec6f1||_0x4ec6f1['call'](_0x345047);}['reset'](){var _0x56ec79,_0xebf427,_0x5e8535,_0x4f37df;null===(_0xebf427=(_0x56ec79=this['cbs'])['onreset'])||void 0x0===_0xebf427||_0xebf427['call'](_0x56ec79),this['tokenizer']['reset'](),this['tagname']='',this['attribname']='',this['attribs']=null,this['stack']['length']=0x0,this['startIndex']=0x0,this['endIndex']=0x0,null===(_0x4f37df=(_0x5e8535=this['cbs'])['onparserinit'])||void 0x0===_0x4f37df||_0x4f37df['call'](_0x5e8535,this),this['buffers']['length']=0x0,this['foreignContext']['length']=0x0,this['foreignContext']['unshift'](!this['htmlMode']),this['bufferOffset']=0x0,this['writeIndex']=0x0,this['ended']=!0x1;}['parseComplete'](_0x2e2ecf){this['reset'](),this['end'](_0x2e2ecf);}['getSlice'](_0x194547,_0x150131){for(;_0x194547-this['bufferOffset']>=this['buffers'][0x0]['length'];)this['shiftBuffer']();let _0x541f82=this['buffers'][0x0]['slice'](_0x194547-this['bufferOffset'],_0x150131-this['bufferOffset']);for(;_0x150131-this['bufferOffset']>this['buffers'][0x0]['length'];)this['shiftBuffer'](),_0x541f82+=this['buffers'][0x0]['slice'](0x0,_0x150131-this['bufferOffset']);return _0x541f82;}['shiftBuffer'](){this['bufferOffset']+=this['buffers'][0x0]['length'],this['writeIndex']--,this['buffers']['shift']();}['write'](_0x1ecf85){var _0x2898a4,_0x33d5c3;this['ended']?null===(_0x33d5c3=(_0x2898a4=this['cbs'])['onerror'])||void 0x0===_0x33d5c3||_0x33d5c3['call'](_0x2898a4,new Error('.write()\x20after\x20done!')):(this['buffers']['push'](_0x1ecf85),this['tokenizer']['running']&&(this['tokenizer']['write'](_0x1ecf85),this['writeIndex']++));}['end'](_0x56ae6c){var _0x4c56b6,_0x10bf47;this['ended']?null===(_0x10bf47=(_0x4c56b6=this['cbs'])['onerror'])||void 0x0===_0x10bf47||_0x10bf47['call'](_0x4c56b6,new Error('.end()\x20after\x20done!')):(_0x56ae6c&&this['write'](_0x56ae6c),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'](_0x321cd7){this['write'](_0x321cd7);}['done'](_0xb1344b){this['end'](_0xb1344b);}};var _0x8c7a1c;!function(_0x23b739){_0x23b739['Root']='root',_0x23b739['Text']='text',_0x23b739['Directive']='directive',_0x23b739['Comment']='comment',_0x23b739['Script']='script',_0x23b739['Style']='style',_0x23b739['Tag']='tag',_0x23b739['CDATA']='cdata',_0x23b739['Doctype']='doctype';}(_0x8c7a1c||(_0x8c7a1c={}));const _0x28dae5=_0x8c7a1c['Root'],_0x42f4d5=_0x8c7a1c['Text'],_0x1afff7=_0x8c7a1c['Directive'],_0x25f6bb=_0x8c7a1c['Comment'],_0x12aa69=_0x8c7a1c['Script'],_0x5d7d23=_0x8c7a1c['Style'],_0x113f20=_0x8c7a1c['Tag'],_0x4c63fb=_0x8c7a1c['CDATA'],_0x246d94=_0x8c7a1c['Doctype'];let _0x613ef9=class _0x2a3e46{constructor(){this['parent']=null,this['prev']=null,this['next']=null,this['startIndex']=null,this['endIndex']=null;}get['parentNode'](){return this['parent'];}set['parentNode'](_0x1426f9){this['parent']=_0x1426f9;}get['previousSibling'](){return this['prev'];}set['previousSibling'](_0x515bd7){this['prev']=_0x515bd7;}get['nextSibling'](){return this['next'];}set['nextSibling'](_0x25f422){this['next']=_0x25f422;}['cloneNode'](_0x31662c=!0x1){return _0x467721(this,_0x31662c);}};class DataNode extends _0x613ef9{constructor(_0x10662a){super(),this['data']=_0x10662a;}get['nodeValue'](){return this['data'];}set['nodeValue'](_0x5e19b9){this['data']=_0x5e19b9;}}let _0xf25e6a=class Text extends DataNode{constructor(){super(...arguments),this['type']=_0x8c7a1c['Text'];}get['nodeType'](){return 0x3;}},_0x31c72d=class Comment extends DataNode{constructor(){super(...arguments),this['type']=_0x8c7a1c['Comment'];}get['nodeType'](){return 0x8;}};class ProcessingInstruction extends DataNode{constructor(_0x47d17b,_0x123448){super(_0x123448),this['name']=_0x47d17b,this['type']=_0x8c7a1c['Directive'];}get['nodeType'](){return 0x1;}}class NodeWithChildren extends _0x613ef9{constructor(_0x26cbab){super(),this['children']=_0x26cbab;}get['firstChild'](){var _0x323f09;return null!==(_0x323f09=this['children'][0x0])&&void 0x0!==_0x323f09?_0x323f09:null;}get['lastChild'](){return this['children']['length']>0x0?this['children'][this['children']['length']-0x1]:null;}get['childNodes'](){return this['children'];}set['childNodes'](_0x214e9c){this['children']=_0x214e9c;}}class _0x334edb extends NodeWithChildren{constructor(){super(...arguments),this['type']=_0x8c7a1c['CDATA'];}get['nodeType'](){return 0x4;}}class Document extends NodeWithChildren{constructor(){super(...arguments),this['type']=_0x8c7a1c['Root'];}get['nodeType'](){return 0x9;}}let _0x4f87d8=class Element extends NodeWithChildren{constructor(_0x4e71f5,_0x5e8b4b,_0x35a21a=[],_0x56d4a2='script'===_0x4e71f5?_0x8c7a1c['Script']:'style'===_0x4e71f5?_0x8c7a1c['Style']:_0x8c7a1c['Tag']){super(_0x35a21a),this['name']=_0x4e71f5,this['attribs']=_0x5e8b4b,this['type']=_0x56d4a2;}get['nodeType'](){return 0x1;}get['tagName'](){return this['name'];}set['tagName'](_0x2792df){this['name']=_0x2792df;}get['attributes'](){return Object['keys'](this['attribs'])['map'](_0x1dc1c7=>{var _0x433ce3,_0x16b2c2;return{'name':_0x1dc1c7,'value':this['attribs'][_0x1dc1c7],'namespace':null===(_0x433ce3=this['x-attribsNamespace'])||void 0x0===_0x433ce3?void 0x0:_0x433ce3[_0x1dc1c7],'prefix':null===(_0x16b2c2=this['x-attribsPrefix'])||void 0x0===_0x16b2c2?void 0x0:_0x16b2c2[_0x1dc1c7]};});}};function _0x16f891(_0x2c613a){return(_0x4120bb=_0x2c613a)['type']===_0x8c7a1c['Tag']||_0x4120bb['type']===_0x8c7a1c['Script']||_0x4120bb['type']===_0x8c7a1c['Style'];var _0x4120bb;}function _0x5e4294(_0x5f0203){return _0x5f0203['type']===_0x8c7a1c['Text'];}function _0x8ea374(_0xdec243){return _0xdec243['type']===_0x8c7a1c['Comment'];}function _0x405a5d(_0x455df9){return _0x455df9['type']===_0x8c7a1c['Root'];}function _0x2d1a61(_0x58bce4){return Object['prototype']['hasOwnProperty']['call'](_0x58bce4,'children');}function _0x467721(_0x236f79,_0x584fe9=!0x1){let _0x508362;if(_0x5e4294(_0x236f79))_0x508362=new _0xf25e6a(_0x236f79['data']);else{if(_0x8ea374(_0x236f79))_0x508362=new _0x31c72d(_0x236f79['data']);else{if(_0x16f891(_0x236f79)){const _0x37c17d=_0x584fe9?_0x51c343(_0x236f79['children']):[],_0x41b534=new _0x4f87d8(_0x236f79['name'],{..._0x236f79['attribs']},_0x37c17d);_0x37c17d['forEach'](_0x5c508a=>_0x5c508a['parent']=_0x41b534),null!=_0x236f79['namespace']&&(_0x41b534['namespace']=_0x236f79['namespace']),_0x236f79['x-attribsNamespace']&&(_0x41b534['x-attribsNamespace']={..._0x236f79['x-attribsNamespace']}),_0x236f79['x-attribsPrefix']&&(_0x41b534['x-attribsPrefix']={..._0x236f79['x-attribsPrefix']}),_0x508362=_0x41b534;}else{if(function(_0x3a4860){return _0x3a4860['type']===_0x8c7a1c['CDATA'];}(_0x236f79)){const _0x56c917=_0x584fe9?_0x51c343(_0x236f79['children']):[],_0x2b9627=new _0x334edb(_0x56c917);_0x56c917['forEach'](_0x42c3ba=>_0x42c3ba['parent']=_0x2b9627),_0x508362=_0x2b9627;}else{if(_0x405a5d(_0x236f79)){const _0x3ee80e=_0x584fe9?_0x51c343(_0x236f79['children']):[],_0x4def95=new Document(_0x3ee80e);_0x3ee80e['forEach'](_0x57e89c=>_0x57e89c['parent']=_0x4def95),_0x236f79['x-mode']&&(_0x4def95['x-mode']=_0x236f79['x-mode']),_0x508362=_0x4def95;}else{if(!function(_0x336d0f){return _0x336d0f['type']===_0x8c7a1c['Directive'];}(_0x236f79))throw new Error('Not\x20implemented\x20yet:\x20'+_0x236f79['type']);{const _0x1f1e1e=new ProcessingInstruction(_0x236f79['name'],_0x236f79['data']);null!=_0x236f79['x-name']&&(_0x1f1e1e['x-name']=_0x236f79['x-name'],_0x1f1e1e['x-publicId']=_0x236f79['x-publicId'],_0x1f1e1e['x-systemId']=_0x236f79['x-systemId']),_0x508362=_0x1f1e1e;}}}}}}return _0x508362['startIndex']=_0x236f79['startIndex'],_0x508362['endIndex']=_0x236f79['endIndex'],null!=_0x236f79['sourceCodeLocation']&&(_0x508362['sourceCodeLocation']=_0x236f79['sourceCodeLocation']),_0x508362;}function _0x51c343(_0x3fbdf4){const _0x5bb87d=_0x3fbdf4['map'](_0x33a17a=>_0x467721(_0x33a17a,!0x0));for(let _0x5893fa=0x1;_0x5893fa<_0x5bb87d['length'];_0x5893fa++)_0x5bb87d[_0x5893fa]['prev']=_0x5bb87d[_0x5893fa-0x1],_0x5bb87d[_0x5893fa-0x1]['next']=_0x5bb87d[_0x5893fa];return _0x5bb87d;}const _0x2672e8={'withStartIndices':!0x1,'withEndIndices':!0x1,'xmlMode':!0x1};class _0x27d98c{constructor(_0xfa5888,_0x12de33,_0x1b3ab5){this['dom']=[],this['root']=new Document(this['dom']),this['done']=!0x1,this['tagStack']=[this['root']],this['lastNode']=null,this['parser']=null,'function'==typeof _0x12de33&&(_0x1b3ab5=_0x12de33,_0x12de33=_0x2672e8),'object'==typeof _0xfa5888&&(_0x12de33=_0xfa5888,_0xfa5888=void 0x0),this['callback']=null!=_0xfa5888?_0xfa5888:null,this['options']=null!=_0x12de33?_0x12de33:_0x2672e8,this['elementCB']=null!=_0x1b3ab5?_0x1b3ab5:null;}['onparserinit'](_0x53cca2){this['parser']=_0x53cca2;}['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'](_0x28e94f){this['handleCallback'](_0x28e94f);}['onclosetag'](){this['lastNode']=null;const _0x521c8c=this['tagStack']['pop']();this['options']['withEndIndices']&&(_0x521c8c['endIndex']=this['parser']['endIndex']),this['elementCB']&&this['elementCB'](_0x521c8c);}['onopentag'](_0x14732e,_0x3ecb2f){const _0x2b6f7e=this['options']['xmlMode']?_0x8c7a1c['Tag']:void 0x0,_0x541a7e=new _0x4f87d8(_0x14732e,_0x3ecb2f,void 0x0,_0x2b6f7e);this['addNode'](_0x541a7e),this['tagStack']['push'](_0x541a7e);}['ontext'](_0x2bb98a){const {lastNode:_0x29bebf}=this;if(_0x29bebf&&_0x29bebf['type']===_0x8c7a1c['Text'])_0x29bebf['data']+=_0x2bb98a,this['options']['withEndIndices']&&(_0x29bebf['endIndex']=this['parser']['endIndex']);else{const _0x5c7351=new _0xf25e6a(_0x2bb98a);this['addNode'](_0x5c7351),this['lastNode']=_0x5c7351;}}['oncomment'](_0x4e06cf){if(this['lastNode']&&this['lastNode']['type']===_0x8c7a1c['Comment'])return void(this['lastNode']['data']+=_0x4e06cf);const _0x7b370b=new _0x31c72d(_0x4e06cf);this['addNode'](_0x7b370b),this['lastNode']=_0x7b370b;}['oncommentend'](){this['lastNode']=null;}['oncdatastart'](){const _0x2a7a47=new _0xf25e6a(''),_0x4cbf68=new _0x334edb([_0x2a7a47]);this['addNode'](_0x4cbf68),_0x2a7a47['parent']=_0x4cbf68,this['lastNode']=_0x2a7a47;}['oncdataend'](){this['lastNode']=null;}['onprocessinginstruction'](_0xe1b5be,_0x3d9d24){const _0x16b20f=new ProcessingInstruction(_0xe1b5be,_0x3d9d24);this['addNode'](_0x16b20f);}['handleCallback'](_0x58a290){if('function'==typeof this['callback'])this['callback'](_0x58a290,this['dom']);else{if(_0x58a290)throw _0x58a290;}}['addNode'](_0x2ee7d2){const _0x4b4a00=this['tagStack'][this['tagStack']['length']-0x1],_0x254245=_0x4b4a00['children'][_0x4b4a00['children']['length']-0x1];this['options']['withStartIndices']&&(_0x2ee7d2['startIndex']=this['parser']['startIndex']),this['options']['withEndIndices']&&(_0x2ee7d2['endIndex']=this['parser']['endIndex']),_0x4b4a00['children']['push'](_0x2ee7d2),_0x254245&&(_0x2ee7d2['prev']=_0x254245,_0x254245['next']=_0x2ee7d2),_0x2ee7d2['parent']=_0x4b4a00,this['lastNode']=null;}}const _0x531ef5=/["&'<>$\x80-\uFFFF]/g,_0x1d9845=new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0x27,'&apos;'],[0x3c,'&lt;'],[0x3e,'&gt;']]),_0x2c1836=null!=String['prototype']['codePointAt']?(_0x2c4bf5,_0xde8dcb)=>_0x2c4bf5['codePointAt'](_0xde8dcb):(_0xf259b6,_0x24cd8e)=>0xd800==(0xfc00&_0xf259b6['charCodeAt'](_0x24cd8e))?0x400*(_0xf259b6['charCodeAt'](_0x24cd8e)-0xd800)+_0xf259b6['charCodeAt'](_0x24cd8e+0x1)-0xdc00+0x10000:_0xf259b6['charCodeAt'](_0x24cd8e);function _0xa7c27(_0x57d0e3){let _0x144b03,_0x556928='',_0x45a7b9=0x0;for(;null!==(_0x144b03=_0x531ef5['exec'](_0x57d0e3));){const _0x6c795b=_0x144b03['index'],_0x1c6f73=_0x57d0e3['charCodeAt'](_0x6c795b),_0x4c8cff=_0x1d9845['get'](_0x1c6f73);void 0x0!==_0x4c8cff?(_0x556928+=_0x57d0e3['substring'](_0x45a7b9,_0x6c795b)+_0x4c8cff,_0x45a7b9=_0x6c795b+0x1):(_0x556928+=_0x57d0e3['substring'](_0x45a7b9,_0x6c795b)+'&#x'+_0x2c1836(_0x57d0e3,_0x6c795b)['toString'](0x10)+';',_0x45a7b9=_0x531ef5['lastIndex']+=Number(0xd800==(0xfc00&_0x1c6f73)));}return _0x556928+_0x57d0e3['substr'](_0x45a7b9);}function _0x39be30(_0x551fb,_0x770d90){return function(_0x3cd1f2){let _0x5a7b7a,_0x27750=0x0,_0x21adf7='';for(;_0x5a7b7a=_0x551fb['exec'](_0x3cd1f2);)_0x27750!==_0x5a7b7a['index']&&(_0x21adf7+=_0x3cd1f2['substring'](_0x27750,_0x5a7b7a['index'])),_0x21adf7+=_0x770d90['get'](_0x5a7b7a[0x0]['charCodeAt'](0x0)),_0x27750=_0x5a7b7a['index']+0x1;return _0x21adf7+_0x3cd1f2['substring'](_0x27750);};}const _0x21dc7d=_0x39be30(/["&\u00A0]/g,new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0xa0,'&nbsp;']])),_0x16cb45=_0x39be30(/[&<>\u00A0]/g,new Map([[0x26,'&amp;'],[0x3c,'&lt;'],[0x3e,'&gt;'],[0xa0,'&nbsp;']])),_0x4c4bc8=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'](_0x2bc56f=>[_0x2bc56f['toLowerCase'](),_0x2bc56f])),_0x428ab5=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'](_0x3a2967=>[_0x3a2967['toLowerCase'](),_0x3a2967])),_0x2223ba=new Set(['style','script','xmp','iframe','noembed','noframes','plaintext','noscript']);function _0xf5d837(_0x29bdb8){return _0x29bdb8['replace'](/"/g,'&quot;');}const _0x48901c=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']);function _0x13134c(_0x1792d0,_0x3c46e1={}){const _0x17acad='length'in _0x1792d0?_0x1792d0:[_0x1792d0];let _0x16df63='';for(let _0x46cf57=0x0;_0x46cf57<_0x17acad['length'];_0x46cf57++)_0x16df63+=_0x2942cd(_0x17acad[_0x46cf57],_0x3c46e1);return _0x16df63;}function _0x2942cd(_0x18a697,_0x76fa54){switch(_0x18a697['type']){case _0x28dae5:return _0x13134c(_0x18a697['children'],_0x76fa54);case _0x246d94:case _0x1afff7:return'<'+_0x18a697['data']+'>';case _0x25f6bb:return function(_0x640a18){return'<!--'+_0x640a18['data']+'-->';}(_0x18a697);case _0x4c63fb:return function(_0x5f1bfc){return'<![CDATA['+_0x5f1bfc['children'][0x0]['data']+']]>';}(_0x18a697);case _0x12aa69:case _0x5d7d23:case _0x113f20:return function(_0x1d6054,_0x59eb9b){var _0x2ca5bf;'foreign'===_0x59eb9b['xmlMode']&&(_0x1d6054['name']=null!==(_0x2ca5bf=_0x4c4bc8['get'](_0x1d6054['name']))&&void 0x0!==_0x2ca5bf?_0x2ca5bf:_0x1d6054['name'],_0x1d6054['parent']&&_0x3d7b22['has'](_0x1d6054['parent']['name'])&&(_0x59eb9b={..._0x59eb9b,'xmlMode':!0x1})),!_0x59eb9b['xmlMode']&&_0x518996['has'](_0x1d6054['name'])&&(_0x59eb9b={..._0x59eb9b,'xmlMode':'foreign'});let _0x11d719='<'+_0x1d6054['name'];const _0x17df82=function(_0x1e7805,_0x318b86){var _0x5d37ee;if(!_0x1e7805)return;const _0x407927=!0x1===(null!==(_0x5d37ee=_0x318b86['encodeEntities'])&&void 0x0!==_0x5d37ee?_0x5d37ee:_0x318b86['decodeEntities'])?_0xf5d837:_0x318b86['xmlMode']||'utf8'!==_0x318b86['encodeEntities']?_0xa7c27:_0x21dc7d;return Object['keys'](_0x1e7805)['map'](_0x59a6e8=>{var _0x187b65,_0x1b624c;const _0x2017e0=null!==(_0x187b65=_0x1e7805[_0x59a6e8])&&void 0x0!==_0x187b65?_0x187b65:'';return'foreign'===_0x318b86['xmlMode']&&(_0x59a6e8=null!==(_0x1b624c=_0x428ab5['get'](_0x59a6e8))&&void 0x0!==_0x1b624c?_0x1b624c:_0x59a6e8),_0x318b86['emptyAttrs']||_0x318b86['xmlMode']||''!==_0x2017e0?_0x59a6e8+'=\x22'+_0x407927(_0x2017e0)+'\x22':_0x59a6e8;})['join']('\x20');}(_0x1d6054['attribs'],_0x59eb9b);return _0x17df82&&(_0x11d719+='\x20'+_0x17df82),0x0===_0x1d6054['children']['length']&&(_0x59eb9b['xmlMode']?!0x1!==_0x59eb9b['selfClosingTags']:_0x59eb9b['selfClosingTags']&&_0x48901c['has'](_0x1d6054['name']))?(_0x59eb9b['xmlMode']||(_0x11d719+='\x20'),_0x11d719+='/>'):(_0x11d719+='>',_0x1d6054['children']['length']>0x0&&(_0x11d719+=_0x13134c(_0x1d6054['children'],_0x59eb9b)),!_0x59eb9b['xmlMode']&&_0x48901c['has'](_0x1d6054['name'])||(_0x11d719+='</'+_0x1d6054['name']+'>')),_0x11d719;}(_0x18a697,_0x76fa54);case _0x42f4d5:return function(_0x23d41e,_0x145b01){var _0x61882e;let _0x7a1a82=_0x23d41e['data']||'';return!0x1===(null!==(_0x61882e=_0x145b01['encodeEntities'])&&void 0x0!==_0x61882e?_0x61882e:_0x145b01['decodeEntities'])||!_0x145b01['xmlMode']&&_0x23d41e['parent']&&_0x2223ba['has'](_0x23d41e['parent']['name'])||(_0x7a1a82=_0x145b01['xmlMode']||'utf8'!==_0x145b01['encodeEntities']?_0xa7c27(_0x7a1a82):_0x16cb45(_0x7a1a82)),_0x7a1a82;}(_0x18a697,_0x76fa54);}}const _0x3d7b22=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignObject','desc','title']),_0x518996=new Set(['svg','math']);function _0x36dd14(_0x5aeb1d){return Array['isArray'](_0x5aeb1d)?_0x5aeb1d['map'](_0x36dd14)['join'](''):_0x2d1a61(_0x5aeb1d)&&!_0x8ea374(_0x5aeb1d)?_0x36dd14(_0x5aeb1d['children']):_0x5e4294(_0x5aeb1d)?_0x5aeb1d['data']:'';}function _0x3e742f(_0x4c2845){return _0x4c2845['parent']||null;}function _0x5099fb(_0x4f068a){if(_0x4f068a['prev']&&(_0x4f068a['prev']['next']=_0x4f068a['next']),_0x4f068a['next']&&(_0x4f068a['next']['prev']=_0x4f068a['prev']),_0x4f068a['parent']){const _0x36e447=_0x4f068a['parent']['children'],_0x51f391=_0x36e447['lastIndexOf'](_0x4f068a);_0x51f391>=0x0&&_0x36e447['splice'](_0x51f391,0x1);}_0x4f068a['next']=null,_0x4f068a['prev']=null,_0x4f068a['parent']=null;}function _0x46f04e(_0x56daeb,_0x55a267){const _0x5907ac=_0x55a267['prev']=_0x56daeb['prev'];_0x5907ac&&(_0x5907ac['next']=_0x55a267);const _0x353f26=_0x55a267['next']=_0x56daeb['next'];_0x353f26&&(_0x353f26['prev']=_0x55a267);const _0x2b0fbe=_0x55a267['parent']=_0x56daeb['parent'];if(_0x2b0fbe){const _0x2bdfab=_0x2b0fbe['children'];_0x2bdfab[_0x2bdfab['lastIndexOf'](_0x56daeb)]=_0x55a267,_0x56daeb['parent']=null;}}function _0x53437c(_0x15910e,_0x3022ca){_0x5099fb(_0x3022ca);const {parent:_0x2f873a}=_0x15910e,_0x43c711=_0x15910e['next'];if(_0x3022ca['next']=_0x43c711,_0x3022ca['prev']=_0x15910e,_0x15910e['next']=_0x3022ca,_0x3022ca['parent']=_0x2f873a,_0x43c711){if(_0x43c711['prev']=_0x3022ca,_0x2f873a){const _0x14d9df=_0x2f873a['children'];_0x14d9df['splice'](_0x14d9df['lastIndexOf'](_0x43c711),0x0,_0x3022ca);}}else _0x2f873a&&_0x2f873a['children']['push'](_0x3022ca);}function _0xbaea3e(_0xd1571c,_0x3c4ca2){if(_0x5099fb(_0x3c4ca2),_0x3c4ca2['parent']=_0xd1571c,_0x3c4ca2['prev']=null,0x1!==_0xd1571c['children']['unshift'](_0x3c4ca2)){const _0x51824a=_0xd1571c['children'][0x1];_0x51824a['prev']=_0x3c4ca2,_0x3c4ca2['next']=_0x51824a;}else _0x3c4ca2['next']=null;}function _0x3fe2d7(_0x58d440,_0x4ca792){_0x5099fb(_0x4ca792);const {parent:_0xb64134}=_0x58d440;if(_0xb64134){const _0x1175d3=_0xb64134['children'];_0x1175d3['splice'](_0x1175d3['indexOf'](_0x58d440),0x0,_0x4ca792);}_0x58d440['prev']&&(_0x58d440['prev']['next']=_0x4ca792),_0x4ca792['parent']=_0xb64134,_0x4ca792['prev']=_0x58d440['prev'],_0x4ca792['next']=_0x58d440,_0x58d440['prev']=_0x4ca792;}function _0x38990a(_0xaeb211,_0x85719c,_0x4a773b=!0x0){const _0x2ccb67=Array['isArray'](_0x85719c)?_0x85719c:[_0x85719c];for(let _0x452d3c=0x0;_0x452d3c<_0x2ccb67['length'];_0x452d3c++){const _0x3d697a=_0x2ccb67[_0x452d3c];if(_0x16f891(_0x3d697a)&&_0xaeb211(_0x3d697a))return _0x3d697a;if(_0x4a773b&&_0x2d1a61(_0x3d697a)&&_0x3d697a['children']['length']>0x0){const _0x5181ba=_0x38990a(_0xaeb211,_0x3d697a['children'],!0x0);if(_0x5181ba)return _0x5181ba;}}return null;}function ti(_0xfd5786,_0x7a7e69){const _0x399ca8=[],_0x455314=[Array['isArray'](_0x7a7e69)?_0x7a7e69:[_0x7a7e69]],_0x21c368=[0x0];for(;;){if(_0x21c368[0x0]>=_0x455314[0x0]['length']){if(0x1===_0x455314['length'])return _0x399ca8;_0x455314['shift'](),_0x21c368['shift']();continue;}const _0x5ecd7e=_0x455314[0x0][_0x21c368[0x0]++];_0x16f891(_0x5ecd7e)&&_0xfd5786(_0x5ecd7e)&&_0x399ca8['push'](_0x5ecd7e),_0x2d1a61(_0x5ecd7e)&&_0x5ecd7e['children']['length']>0x0&&(_0x21c368['unshift'](0x0),_0x455314['unshift'](_0x5ecd7e['children']));}}function _0x27805b(_0x12eb23){return function(_0x7f4368,_0x4d4473){const _0x2f2164=new _0x27d98c(void 0x0,_0x4d4473);return new _0x45c3d2(_0x2f2164,_0x4d4473)['end'](_0x7f4368),_0x2f2164['root'];}(_0x12eb23);}function _0x43b5d2(_0x41d5c8){return _0x13134c(_0x41d5c8);}function _0x558607(_0x3faebd,_0x54775e,_0x24c69a){const _0x4029e7=null!==_0x54775e?_0x1b89c2=>_0x1b89c2['attribs'][_0x3faebd]===_0x54775e:_0x5d9e0f=>Boolean(_0x5d9e0f['attribs'][_0x3faebd]);return _0x38990a(_0x22de11=>_0x16f891(_0x22de11)&&_0x4029e7(_0x22de11),_0x24c69a);}function _0x3b241a(_0x484eaf,_0x5619ad,_0x142883){const _0x2a0be0=null!==_0x5619ad?_0x1837c2=>_0x1837c2['attribs'][_0x484eaf]===_0x5619ad:_0x3f8896=>Boolean(_0x3f8896['attribs'][_0x484eaf]);return ti(_0x3f7677=>_0x16f891(_0x3f7677)&&_0x2a0be0(_0x3f7677),_0x142883);}function _0x73ba2e(_0x5adaf0){return function(_0x4c1d33,_0x8694e4,_0x3f2496,_0x590300){const _0x35cc04=[],_0xf18a5a=[Array['isArray'](_0x8694e4)?_0x8694e4:[_0x8694e4]],_0x3ee250=[0x0];for(;;){if(_0x3ee250[0x0]>=_0xf18a5a[0x0]['length']){if(0x1===_0x3ee250['length'])return _0x35cc04;_0xf18a5a['shift'](),_0x3ee250['shift']();continue;}const _0x2c6eb3=_0xf18a5a[0x0][_0x3ee250[0x0]++];if(_0x4c1d33(_0x2c6eb3)&&(_0x35cc04['push'](_0x2c6eb3),--_0x590300<=0x0))return _0x35cc04;_0x2d1a61(_0x2c6eb3)&&_0x2c6eb3['children']['length']>0x0&&(_0x3ee250['unshift'](0x0),_0xf18a5a['unshift'](_0x2c6eb3['children']));}}(_0x2d2da4=>_0x8ea374(_0x2d2da4),_0x5adaf0,0x0,0x1/0x0);}function _0xcd3c05(_0x3b0f5b,_0x4bee65){return _0x3b0f5b&&_0x16f891(_0x3b0f5b)?_0x3b0f5b['attribs'][_0x4bee65]:null;}function _0xd9edcd(_0x19aa8c,_0x3262fe,_0x45aaac){_0x16f891(_0x19aa8c)&&(null===_0x45aaac?delete _0x19aa8c['attribs'][_0x3262fe]:_0x19aa8c['attribs'][_0x3262fe]=_0x45aaac);}function _0x4c12a2(_0x527c8d,_0x1e8b98,_0xf2ee8a){const _0x5f1d27=_0x1e8b98['cloneNode'](!0x0);'beforebegin'===_0xf2ee8a?_0x3fe2d7(_0x527c8d,_0x5f1d27):'afterbegin'===_0xf2ee8a?_0xbaea3e(_0x527c8d,_0x5f1d27):'beforeend'===_0xf2ee8a?function(_0x185254,_0x4a65be){if(_0x5099fb(_0x4a65be),_0x4a65be['next']=null,_0x4a65be['parent']=_0x185254,_0x185254['children']['push'](_0x4a65be)>0x1){const _0x51e2aa=_0x185254['children'][_0x185254['children']['length']-0x2];_0x51e2aa['next']=_0x4a65be,_0x4a65be['prev']=_0x51e2aa;}else _0x4a65be['prev']=null;}(_0x527c8d,_0x5f1d27):'afterend'===_0xf2ee8a&&_0x53437c(_0x527c8d,_0x5f1d27);}function _0x2a28eb(_0xc9715){const _0x23fd8c=[];let _0x45f3be=_0xc9715;for(;_0x45f3be;)_0x45f3be=_0x3e742f(_0x45f3be),_0x45f3be&&_0x23fd8c['push'](_0x45f3be);return _0x23fd8c;}function _0x558100(_0x2a7346){return _0x2a7346['replace'](/^\s+/gm,'')['replace'](/\s+$/gm,'')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/>\s*</g,'><');}function _0x4e6182(_0x4f9e45){let _0x58b249=0x0;for(;_0x4f9e45['parentNode'];)_0x4f9e45=_0x4f9e45['parentNode'],_0x58b249++;return _0x58b249;}function _0x38138b(_0x3dd34d){const _0x5a600c=[];let _0xa0bdea=_0x3dd34d['nextSibling'];for(;_0xa0bdea;)_0x5a600c['push'](_0xa0bdea),_0xa0bdea=_0xa0bdea['nextSibling'];_0x5a600c['forEach'](_0x2025fd=>{_0x5099fb(_0x2025fd);});}class _0x11f15d extends/* #__PURE__ -- @preserve */
_0x22b56d['ObservableMixin'](){['_m2html'];constructor(){super(),this['_m2html']=new _0x22b56d['MarkdownGfmMdToHtml']();}['convertMarkdownToHTML'](_0x3abe09){const _0x55a7eb=this['_m2html']['parse'](_0x3abe09);return this['parseAndNormalizeHTML'](_0x55a7eb);}['parseAndNormalizeHTML'](_0x41c0da){return this['_parseHTML'](_0x41c0da);}['_parseHTML'](_0x1b6094){const _0x581db3=_0x27805b('<dummy>'+_0x1b6094['replace'](/^\t+/gm,'\x20')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/<[^>]*?$/g,'')+'</dummy>');return _0x581db3['children']=_0x581db3['children'][0x0]['children'],_0x581db3;}}class _0x436b6b extends/* #__PURE__ -- @preserve */
_0x22b56d['ObservableMixin'](){['_generateUid'];['_touchedNodesState']={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};['_existingDataIds']=new Set();constructor(_0x55e80e){super(),this['_generateUid']=_0x55e80e||_0x22b56d['uid'];}['merge'](_0x5fd220,_0x1e3976,_0x5174a9){const _0x17a578=_0x5fd220['cloneNode'](!0x0);if(0x0===_0x1e3976['childNodes']['length']){const _0x304aa8=[];return _0x3b241a('data-id','new-element',_0x17a578)['forEach'](_0x585e39=>{const _0x552fc9=this['_generateUid']();_0xd9edcd(_0x585e39,'data-id',_0x552fc9),_0x304aa8['push'](_0x552fc9);}),this['_removeSpecialComments'](_0x17a578),{'parsedContent':_0x17a578,'newNodeIds':_0x304aa8,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x5174a9&&_0x5174a9['markUnstableElements']&&this['_markLastTagElementUnstable'](_0x17a578),this['_touchedNodesState']['newIds']=[],this['_touchedNodesState']['modifiedIds']=[],this['_touchedNodesState']['removedIds']=[],this['_touchedNodesState']['invalidIds']=[],this['_touchedNodesState']['lastTouchedId']=null,this['_existingDataIds']=new Set(_0x3b241a('data-id',null,_0x1e3976)['map'](_0x2731ed=>_0xcd3c05(_0x2731ed,'data-id'))['filter'](_0x20a401=>!!_0x20a401));let _0x5c0e6a=-0x1,_0x26b687=!0x1;const _0x4be782=_0x17a578['childNodes'],_0xf493b4=Array['from'](_0x4be782)['filter'](_0x31acce=>!(0x3===_0x31acce['nodeType']&&''===_0x43b5d2(_0x31acce)['trim']())),_0x1ce0c0=_0xf493b4['length'];for(let _0x21e6ac=0x0;_0x21e6ac<_0x1ce0c0;_0x21e6ac++){const _0x102e25=_0xf493b4[_0x21e6ac],_0x3b3b59=_0xf493b4[_0x21e6ac+0x1];if(this['_isNewNode'](_0x102e25)){if(-0x1===_0x5c0e6a&&(_0x5c0e6a=_0x21e6ac),this['_markWrappedElements'](_0x102e25),!this['_isNewNode'](_0x3b3b59)){const [_0x51fbbe,_0x19dd1f]=this['_findReferenceNode'](_0x102e25,_0x26b687,_0x1e3976);if(_0x51fbbe){const _0x4425a5=Array['from'](_0xf493b4)['slice'](_0x5c0e6a,_0x21e6ac+0x1);this['_insertNodes'](_0x51fbbe,_0x4425a5,_0x19dd1f),_0x5c0e6a=-0x1;}}}else{if(this['_isExistingContentComment'](_0x102e25))_0x26b687=!0x0;else{if(this['_isExistingNode'](_0x102e25)){const _0x64a2c5=_0xcd3c05(_0x102e25,'data-id');if(_0x64a2c5&&this['_existingDataIds']['has'](_0x64a2c5)){const _0x406c28=_0x558607('data-id',_0x64a2c5,_0x1e3976);this['_replaceNode'](_0x406c28,_0x102e25);}if(this['_touchedNodesState']['removedIds']['includes'](_0x64a2c5)){const _0x1fbe94=this['_touchedNodesState']['removedIds']['indexOf'](_0x64a2c5);this['_touchedNodesState']['removedIds']['splice'](_0x1fbe94,0x1);}}else{if(this['_isDelNode'](_0x102e25)){const _0x380eaf=_0xcd3c05(_0x102e25,'data-id');this['_touchedNodesState']['modifiedIds']['includes'](_0x380eaf)||this['_storeDeletedElementIds'](_0x102e25);}}}}}for(const _0xdc2742 of this['_touchedNodesState']['removedIds']){const _0x505765=_0x558607('data-id',_0xdc2742,_0x1e3976);if(_0x505765){if(_0x5174a9&&_0x5174a9['replaceRemovedWith']){this['_touchedNodesState']['lastTouchedId']=_0xdc2742;const _0x2e42d7=_0x5174a9['replaceRemovedWith']['cloneNode'](!0x0);_0xd9edcd(_0x2e42d7,'data-id',_0xdc2742),_0xd9edcd(_0x2e42d7,'data-removed','true'),_0x46f04e(_0x505765,_0x2e42d7);}else _0x5099fb(_0x505765);}}if(_0x3b241a('data-wrapped-id',null,_0x1e3976)['forEach'](_0x582a94=>{const _0xb0f7e1=_0x558607('data-id',_0xcd3c05(_0x582a94,'data-wrapped-id'),_0x1e3976);var _0x4f105a,_0x15857e;_0xb0f7e1&&(_0x15857e=_0x582a94,_0x5099fb(_0x4f105a=_0xb0f7e1),_0x46f04e(_0x15857e,_0x4f105a));}),_0x3b241a('data-id','new-element',_0x1e3976)['forEach'](_0x464421=>{const _0x102ff8=this['_getUid'](_0x464421);_0xd9edcd(_0x464421,'data-id',_0x102ff8),this['_touchedNodesState']['newIds']['push'](_0x102ff8);}),this['_removeSpecialComments'](_0x1e3976),_0x5174a9&&_0x5174a9['markUnstableElements']&&this['_markUnstableElements'](_0x1e3976,_0x5174a9['markUnstableElementsDepth']||0x0),_0x5174a9&&_0x5174a9['cutAfterLastChange']&&this['_touchedNodesState']['lastTouchedId']){let _0x3a6180=_0x558607('data-id',this['_touchedNodesState']['lastTouchedId'],_0x1e3976);for(;_0x3a6180;)_0x38138b(_0x3a6180),_0x3a6180=_0x3a6180['parentNode'];}return{'parsedContent':_0x1e3976,'newNodeIds':this['_touchedNodesState']['newIds'],'modifiedNodeIds':this['_touchedNodesState']['modifiedIds'],'removedNodeIds':this['_touchedNodesState']['removedIds']};}['_insertNodes'](_0x31ccf9,_0x3f609e,_0x472c2e){for(const _0x156fb7 of _0x3f609e){const _0x59832d=this['_getUid'](_0x156fb7);_0xd9edcd(_0x156fb7,'data-id',_0x59832d),this['_touchedNodesState']['newIds']['push'](_0x59832d),this['_touchedNodesState']['lastTouchedId']=_0x59832d;}const _0x35dd45='afterbegin'===_0x472c2e||'afterend'===_0x472c2e?_0x3f609e['reverse']():_0x3f609e;for(const _0x4025b3 of _0x35dd45)_0x4c12a2(_0x31ccf9,_0x4025b3,_0x472c2e);}['_replaceNode'](_0x34db75,_0x2aedfa){if(!_0x34db75)return;if(_0x16106d=_0x2aedfa,_0x558100(_0x43b5d2(_0x34db75))===_0x558100(_0x43b5d2(_0x16106d)))return;var _0x16106d;const _0x1863fc=this['_getUid'](_0x34db75);_0xd9edcd(_0x2aedfa,'data-id',_0x1863fc),this['_touchedNodesState']['modifiedIds']['push'](_0x1863fc),this['_touchedNodesState']['lastTouchedId']=_0x1863fc,_0x46f04e(_0x34db75,_0x2aedfa['cloneNode'](!0x0));}['_findReferenceNode'](_0x33c52d,_0x2be17,_0x5b71ed){const _0x1c0c57=this['_findPrevElementWithDataId'](_0x33c52d,!0x1);if(_0x1c0c57){const _0x37c1cd=this['_getNodeDataId'](_0x1c0c57),_0x150a84=_0x558607('data-id',_0x37c1cd,_0x5b71ed);if(_0x150a84)return[_0x150a84,'afterend'];this['_touchedNodesState']['invalidIds']['push'](_0x37c1cd);}const _0x5af6cd=this['_findNextElementWithDataId'](_0x33c52d,!0x1);if(_0x5af6cd){const _0x3d5670=this['_getNodeDataId'](_0x5af6cd),_0x37c429=_0x558607('data-id',_0x3d5670,_0x5b71ed);if(_0x37c429)return[_0x37c429,'beforebegin'];this['_touchedNodesState']['invalidIds']['push'](_0x3d5670);}return _0x2be17?_0x33c52d['nextSibling']?this['_findFallbackReferenceNode'](_0x33c52d,_0x5b71ed):[_0x5b71ed['childNodes'][_0x5b71ed['childNodes']['length']-0x1],'afterend']:[_0x5b71ed['childNodes'][0x0],'beforebegin'];}['_findFallbackReferenceNode'](_0x100fe0,_0x4fbce9){const _0x1db7b3=[],_0x48210e=this['_findPrevElementWithDataId'](_0x100fe0,!0x0);if(_0x48210e){const _0xcf2f7=_0x558607('data-id',this['_getNodeDataId'](_0x48210e),_0x4fbce9);_0xcf2f7&&_0x1db7b3['push']([_0xcf2f7,'afterend']);}const _0x2a2a03=this['_findNextElementWithDataId'](_0x100fe0,!0x0);if(_0x2a2a03){const _0x17f173=_0x558607('data-id',this['_getNodeDataId'](_0x2a2a03),_0x4fbce9);_0x17f173&&_0x1db7b3['push']([_0x17f173,'beforebegin']);}if(_0x1db7b3['length']>0x1)return _0x4e6182(_0x1db7b3[0x0][0x0])<=_0x4e6182(_0x1db7b3[0x1][0x0])?_0x1db7b3[0x0]:_0x1db7b3[0x1];return 0x1===_0x1db7b3['length']?_0x1db7b3[0x0]:[_0x4fbce9['lastChild'],'afterend'];}['_findNextElementWithDataId'](_0x10c05e,_0xa22c42){let _0x3383cc=_0x10c05e['nextSibling'],_0xee0d97=null,_0xa615e9=!0x1;for(;_0x3383cc;){if(_0x8ea374(_0x3383cc)){if(this['_isDelNode'](_0x3383cc)&&(_0xee0d97=_0x3383cc),this['_isExistingContentComment'](_0x3383cc)&&_0xa22c42&&!_0xa615e9){_0xa615e9=!0x0,_0x3383cc=_0x3383cc['nextSibling'];continue;}break;}const _0x2c4ce8=_0xcd3c05(_0x3383cc,'data-id');if(_0x2c4ce8&&'new-element'!==_0x2c4ce8&&this['_existingDataIds']['has'](_0x2c4ce8)){_0xee0d97=_0x3383cc;break;}_0x3383cc=_0x3383cc['nextSibling'];}return _0xee0d97;}['_findPrevElementWithDataId'](_0xf3508d,_0x252513){let _0x505abb=_0xf3508d['previousSibling'],_0x4a29a3=null,_0x599e7f=!0x1;for(;_0x505abb;){if(_0x8ea374(_0x505abb)){if(this['_isDelNode'](_0x505abb)&&(_0x4a29a3=_0x505abb),this['_isExistingContentComment'](_0x505abb)&&_0x252513&&!_0x599e7f){_0x599e7f=!0x0,_0x505abb=_0x505abb['previousSibling'];continue;}break;}const _0x4cb68b=_0xcd3c05(_0x505abb,'data-id');if(_0x4cb68b&&'new-element'!==_0x4cb68b&&this['_existingDataIds']['has'](_0x4cb68b)){_0x4a29a3=_0x505abb;break;}_0x505abb=_0x505abb['previousSibling'];}return _0x4a29a3;}['_markWrappedElements'](_0x478ac1){_0x16f891(_0x478ac1)&&_0x3b241a('data-id',null,_0x478ac1)['forEach'](_0x3e9c6c=>{this['_isExistingNode'](_0x3e9c6c)&&!this['_hasWrappedParent'](_0x3e9c6c)&&(_0xd9edcd(_0x3e9c6c,'data-wrapped-id',_0xcd3c05(_0x3e9c6c,'data-id')),_0xd9edcd(_0x3e9c6c,'data-id',null));});}['_getNodeDataId'](_0x4d5c28){if(!_0x4d5c28)return null;if(_0x16f891(_0x4d5c28))return _0xcd3c05(_0x4d5c28,'data-id');if(_0x8ea374(_0x4d5c28)){const _0x33db28=_0x43b5d2(_0x4d5c28)['match'](/removed[\s*-]data-id="([^"]+)"/);if(_0x33db28&&_0x33db28[0x1])return _0x33db28[0x1];}return null;}['_storeDeletedElementIds'](_0x289629){if(_0x8ea374(_0x289629)){const _0x438d80=_0x43b5d2(_0x289629)['match'](/removed[\s*-]data-id="([^"]+)"/);_0x438d80&&_0x438d80[0x1]&&this['_touchedNodesState']['removedIds']['push'](_0x438d80[0x1]);}}['_getUid'](_0x22230b){return this['_isExistingNode'](_0x22230b)?_0xcd3c05(_0x22230b,'data-id'):this['_generateUid']();}['_removeSpecialComments'](_0x2312ea){_0x73ba2e(_0x2312ea)['filter'](_0x3264fe=>this['_isDelNode'](_0x3264fe)||this['_isExistingContentComment'](_0x3264fe))['forEach'](_0x4fc2c6=>{_0x5099fb(_0x4fc2c6);});}['_markLastTagElementUnstable'](_0x19a2e7){const _0x10a726=_0x19a2e7['childNodes'],_0x3e14a7=_0x10a726[_0x10a726['length']-0x1];_0x3e14a7&&_0x16f891(_0x3e14a7)&&_0xd9edcd(_0x3e14a7,'data-unstable','true');}['_markUnstableElements'](_0x30a674,_0x4d431b){const _0x542b18=_0x558607('data-unstable','true',_0x30a674);if(!_0x542b18)return;const _0x386623=_0x2a28eb(_0x542b18)['slice'](0x0,-0x1),_0x11e07c=_0x386623['length'];let _0x488a82=_0x542b18;if(_0x11e07c>_0x4d431b){let _0x1b91fb=_0x11e07c,_0x4fb7ee=null;for(;_0x1b91fb>_0x4d431b&&_0x1b91fb>=0x0;)_0x1b91fb--,_0x4fb7ee=_0x386623[_0x1b91fb];_0x4fb7ee&&(_0x488a82=_0x4fb7ee,_0xd9edcd(_0x542b18,'data-unstable',null),_0xd9edcd(_0x4fb7ee,'data-unstable','true'));}else{if(_0x11e07c<_0x4d431b){let _0x5e0439=_0x11e07c,_0x3a0b32=_0x542b18;for(;_0x5e0439<_0x4d431b;){const _0x45cc77=_0x3a0b32['childNodes']['filter'](_0xa99049=>_0x16f891(_0xa99049));if(0x0===_0x45cc77['length'])break;_0x5e0439++,_0x3a0b32=_0x45cc77[_0x45cc77['length']-0x1];}_0x3a0b32&&(_0x488a82=_0x3a0b32,_0xd9edcd(_0x542b18,'data-unstable',null),_0xd9edcd(_0x3a0b32,'data-unstable','true'));}}let _0x133de1=_0x488a82;for(;_0x133de1;){for(;_0x133de1['nextSibling'];)_0x133de1=_0x133de1['nextSibling'],_0x16f891(_0x133de1)&&_0xd9edcd(_0x133de1,'data-unstable','true');_0x133de1=_0x133de1['parentNode'];}}['_isNewNode'](_0x68e346){return Boolean('new-element'===_0xcd3c05(_0x68e346,'data-id'));}['_isExistingNode'](_0x164f2b){return Boolean((_0xcd3c05(_0x164f2b,'data-id')||'')['length']>0x0&&'new-element'!==_0xcd3c05(_0x164f2b,'data-id'));}['_isDelNode'](_0x353136){return!!_0x353136&&Boolean(_0x8ea374(_0x353136)&&_0x43b5d2(_0x353136)['match'](/removed[\s*-]data-id="[^"]+"/));}['_hasWrappedParent'](_0x3332c5){let _0xd19127=_0x3332c5['parentNode'];for(;_0xd19127;){if(_0xcd3c05(_0xd19127,'data-wrapped-id'))return!0x0;_0xd19127=_0xd19127['parentNode'];}return!0x1;}['_isExistingContentComment'](_0x3aac59){return Boolean(_0x8ea374(_0x3aac59)&&_0x43b5d2(_0x3aac59)['match'](/\s*existing[\s*-](content|document)\s*/g));}}class _0x4905c9 extends _0x22b56d['ContextPlugin']{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0x4fa828,_0x253ead){let _0x23b4f3;if(_0x253ead||(_0x253ead=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0x253ead?_0x23b4f3=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x23b4f3=this['context']['editors']['find'](_0x43d86c=>_0x43d86c['config']['get']('collaboration.channelId')==_0x253ead)),!_0x23b4f3)throw new _0x22b56d['CKEditorError']('permissions-set-permissions-invalid-channel-id',null);const _0x38d6da=_0x23b4f3['plugins'],_0x4cdcf2=_0x38d6da['has']('CommentsRepository')?_0x38d6da['get']('CommentsRepository'):void 0x0,_0x2ed992=_0x38d6da['has']('CommentsOnly')&&_0x38d6da['get']('CommentsOnly'),_0x1b2aac=_0x4fa828['includes']('document:write'),_0x46f6d0=_0x4fa828['includes']('comment:modify_all'),_0x16d3a4=_0x4fa828['includes']('comment:admin'),_0x8a7950=_0x4fa828['includes']('comment:write'),_0x25fb69=_0x8a7950||_0x16d3a4,_0x555dee=_0x25fb69||_0x46f6d0,_0x404bc0=_0x1b2aac||_0x25fb69;(_0x2ed992&&(_0x2ed992['isEnabled']=!_0x1b2aac&&_0x555dee),_0x23b4f3 instanceof _0x22b56d['Editor'])&&(!(_0x1b2aac||_0x555dee&&_0x4cdcf2)?_0x23b4f3['enableReadOnlyMode']('no-permissions'):_0x23b4f3['disableReadOnlyMode']('no-permissions'));if(_0x4cdcf2){_0x4cdcf2['setPermissions']({'admin':_0x16d3a4,'modifyAll':_0x46f6d0,'write':_0x8a7950,'resolve':_0x404bc0},_0x253ead);const _0x18ccff=_0x23b4f3 instanceof _0x22b56d['Editor']&&_0x23b4f3['commands']['get']('addCommentThread');_0x18ccff&&(_0x25fb69?_0x18ccff['clearForceDisabled']('noPermissions'):_0x18ccff['forceDisabled']('noPermissions'));}}}function _0x207a90(_0x519986,_0x1afe6b){const t=_0x519986['t'];switch(_0x1afe6b){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 _0x433f5f extends _0x22b56d['ContextPlugin']{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x4905c9];}constructor(_0x5079a6){super(_0x5079a6),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x22b56d['Collection'](),this['_locale']=_0x5079a6['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:_0x256400,name:_0x1dbb78,..._0x2bff8c}){if(!_0x256400||'string'!=typeof _0x256400)throw new _0x22b56d['CKEditorError']('users-add-invalid-id');if(this['users']['has'](_0x256400))throw new _0x22b56d['CKEditorError']('users-add-duplicated-id',null,{'id':_0x256400});const _0x1cbca4=this['context']['config']['get']('users.getInitialsCallback'),_0x391668={..._0x2bff8c,'id':_0x256400,'name':_0x45d36f(this['_locale'],_0x1dbb78),'color':this['_getNextColor']()};_0x391668['name']=_0x45d36f(this['_locale'],_0x391668['name']);const _0x4168db=new _0x21c76e(_0x391668,_0x1cbca4);return this['users']['add'](_0x4168db),_0x4168db;}['getUser'](_0x29bd48){return this['users']['get'](_0x29bd48);}['useAnonymousUser'](){const _0x24db65=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x24db65);}['defineMe'](_0x41d480){if(this['_myId'])throw new _0x22b56d['CKEditorError']('users-me-already-defined',null);const _0x3d7312=this['getUser'](_0x41d480);if(!_0x3d7312)throw new _0x22b56d['CKEditorError']('users-me-missing-user',null);this['_myId']=_0x41d480,_0x3d7312['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x4e7cc4=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x4e7cc4&&(this['_lastColor']=0x0),new CollaborationUserColor(this['_lastColor']++);}['_addAnonymousUser'](){const _0x14b22d=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x14b22d,'name':_0x207a90(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}}let _0x21c76e=class _0x16582f{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0xd7652e,_0x535b04){this['id']=_0xd7652e['id'],this['color']=_0xd7652e['color'],this['name']=_0xd7652e['name'],this['initials']=_0x535b04?_0x535b04(this['name']):this['_computeInitials'](),this['avatar']=_0xd7652e['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0x52da1=this['name']['split']('\x20')['filter'](_0x2f33ab=>/^[\p{Letter}]/u['test'](_0x2f33ab));return 0x1===_0x52da1['length']?this['_getInitial'](_0x52da1[0x0]):0x0===_0x52da1['length']?this['_getInitial'](this['name']):this['_getInitial'](_0x52da1[0x0])+this['_getInitial'](_0x52da1[_0x52da1['length']-0x1]);}['_getInitial'](_0x5288f5){return String['fromCodePoint'](_0x5288f5['codePointAt'](0x0))['toUpperCase']();}};function _0x45d36f(_0x13b272,_0x10cd94=''){return''==(_0x10cd94=_0x10cd94['trim']())?_0x207a90(_0x13b272,'Anonymous'):_0x10cd94;}class CollaborationUserColor{['_id'];constructor(_0x563e55){this['_id']=_0x563e55;}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 _0x1ab201 extends _0x22b56d['View']{['name'];['notificationView'];constructor(_0x3b077e,_0x57dafb,_0x4f6c5b){super(_0x3b077e),this['name']=_0x57dafb['name'],this['notificationView']=null;const _0x34f48c=['ck','ck-user'],_0x245ffa=['ck','ck-user__img'];if(_0x57dafb['isAnonymous']&&_0x245ffa['push']('ck-user__anonymous'),!_0x57dafb['isAnonymous']&&_0x57dafb['isMe']&&_0x34f48c['push']('ck-user_me'),_0x57dafb['avatar']&&_0x245ffa['push']('ck-user__avatar'),_0x4f6c5b){const _0xb11a60=new _0x22b56d['IconView']();_0xb11a60['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0xb11a60['content']=_0x22b56d['IconNotification'],this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x4f6c5b},'children':[_0xb11a60]};}const _0x3087cf=[{'tag':'div','attributes':{'class':_0x245ffa,'style':{'background-image':_0x57dafb['avatar']?'url(\x27'+_0x57dafb['avatar']+'\x27)':''}}},{'tag':'div','attributes':{'class':_0x57dafb['avatar']?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x57dafb['name']},'children':[{'text':_0x57dafb['initials']}]}];this['notificationView']&&_0x3087cf['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x34f48c,'data-user-id':_0x57dafb['id']},'children':_0x3087cf});}}class AriaDescriptionView extends _0x22b56d['View']{['id'];constructor(_0x2bf546,_0x11cdd2){super(_0x2bf546),this['id']='ck-aria-description-'+_0x22b56d['uid'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x11cdd2}]});}}class LateFocusButtonView extends _0x22b56d['ButtonView']{['render'](){super['render'](),_0x55b7a5(this);}}class LateFocusDropdownButtonView extends _0x22b56d['DropdownButtonView']{['render'](){super['render'](),_0x55b7a5(this);}}function _0x55b7a5(_0x42d41d){_0x42d41d['listenTo'](_0x42d41d['element'],'mousedown',(_0x4571ab,_0x264229)=>{_0x264229['stopPropagation'](),_0x264229['preventDefault']();}),_0x42d41d['listenTo'](_0x42d41d['element'],'mouseup',()=>{_0x42d41d['element']['focus']();});}function _0x5d0d7f(_0x30f5f7){const _0x4ed21e=_0x30f5f7['split'](':');return{'group':_0x4ed21e[0x0],'type':_0x4ed21e[0x1],'subType':_0x4ed21e['length']>=0x5?_0x4ed21e[0x2]:null,'id':_0x4ed21e['length']<0x5?_0x4ed21e[0x2]:_0x4ed21e[0x3],'authorId':_0x4ed21e['length']<0x5?_0x4ed21e[0x3]:_0x4ed21e[0x4],'markerCount':0x6==_0x4ed21e['length']?_0x4ed21e[0x5]:null};}function _0x1fe61e(_0x2ec692,_0xc0238c){const _0x315b52=_0x2ec692['end']['nodeBefore'];if(_0x315b52&&_0x315b52['is']('element')&&_0xc0238c['schema']['isBlock'](_0x315b52)&&!_0xc0238c['schema']['isObject'](_0x315b52)){const _0xcbaf6a=_0xc0238c['createPositionAt'](_0x315b52,'end');return _0xc0238c['createRange'](_0x2ec692['start'],_0xcbaf6a);}return _0x2ec692;}class SuggestionsConversionAlignment extends _0x22b56d['Plugin']{['afterInit'](){const _0x163ba2=this['editor'];if(!_0x163ba2['plugins']['has']('AlignmentEditing'))return;_0x163ba2['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}}const _0x2c0cff=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class SuggestionsConversionBasicStyles extends _0x22b56d['Plugin']{['afterInit'](){const _0xb8db4c=this['editor'],_0x3e09e3=_0xb8db4c['plugins']['get']('SuggestionsConversion');for(const _0x3f3bde of _0x2c0cff){if(!_0xb8db4c['plugins']['has'](_0x3f3bde))continue;const _0x2b17ca=_0x3f3bde['slice'](0x0,-0x7)['toLowerCase']();_0x3e09e3['registerInlineAttribute'](_0x2b17ca);}}}class SuggestionsConversionBookmark extends _0x22b56d['Plugin']{['afterInit'](){const _0x50f9ee=this['editor'],_0x59cc52=_0x50f9ee['plugins']['get']('SuggestionsConversion');_0x50f9ee['plugins']['has']('BookmarkEditing')&&_0x59cc52['registerBlockAttribute']('bookmarkId');}}const _0x29b9e2=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class SuggestionsConversionFont extends _0x22b56d['Plugin']{['afterInit'](){const _0x4264ae=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x12d9ac,commandName:_0x554ca7}of _0x29b9e2)this['editor']['plugins']['has'](_0x12d9ac)&&_0x4264ae['registerInlineAttribute'](_0x554ca7);}}class SuggestionsConversionFootnotes extends _0x22b56d['Plugin']{['afterInit'](){const {editor:_0x45ce75}=this;if(!_0x45ce75['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x12bcca=_0x45ce75['plugins']['get']('SuggestionsConversion');_0x12bcca['registerBlockAttribute']('footnotesListStyle'),_0x12bcca['registerBlockAttribute']('footnotesListStart');}}class SuggestionsConversionHighlight extends _0x22b56d['Plugin']{['afterInit'](){const _0x199bf7=this['editor'];if(!_0x199bf7['plugins']['has']('HighlightEditing'))return;_0x199bf7['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}}class SuggestionsConversionHtmlEmbed extends _0x22b56d['Plugin']{['afterInit'](){const _0x4268c7=this['editor'];if(!_0x4268c7['plugins']['has']('HtmlEmbed'))return;_0x4268c7['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}}class SuggestionsConversionImage extends _0x22b56d['Plugin']{['afterInit'](){const _0x912783=this['editor'];if(!_0x912783['plugins']['has']('ImageEditing'))return;const _0x1b483a=_0x912783['plugins']['get']('SuggestionsConversion');_0x1b483a['registerBlockAttribute']('src'),_0x912783['plugins']['has']('ImageResize')&&_0x1b483a['registerBlockAttribute']('resizedWidth'),_0x912783['plugins']['has']('ImageTextAlternativeEditing')&&_0x1b483a['registerBlockAttribute']('alt'),_0x912783['plugins']['has']('PictureEditing')&&_0x1b483a['registerBlockAttribute']('sources'),_0x912783['plugins']['has']('ImageSizeAttributes')&&(_0x1b483a['registerBlockAttribute']('width'),_0x1b483a['registerBlockAttribute']('height'));}}class SuggestionsConversionIndent extends _0x22b56d['Plugin']{['afterInit'](){const _0x35c3b5=this['editor'],_0x2eb75c=_0x35c3b5['plugins']['get']('SuggestionsConversion');_0x35c3b5['plugins']['has']('IndentBlock')&&(_0x2eb75c['registerBlockAttribute']('blockIndent'),_0x35c3b5['plugins']['has']('ListEditing')&&(_0x2eb75c['registerBlockAttribute']('blockIndentList'),_0x2eb75c['registerBlockAttribute']('blockIndentListItem')));}}class SuggestionsConversionLineHeight extends _0x22b56d['Plugin']{['afterInit'](){const _0x58e407=this['editor'];if(!_0x58e407['plugins']['has']('LineHeight'))return;_0x58e407['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}}class SuggestionsConversionLink extends _0x22b56d['Plugin']{['afterInit'](){const _0x2bdcfe=this['editor'];if(!_0x2bdcfe['plugins']['has']('LinkEditing'))return;const _0xacc400=_0x2bdcfe['plugins']['get']('SuggestionsConversion'),_0x26b50e=_0x2bdcfe['commands']['get']('link');_0xacc400['registerInlineAttribute']('linkHref');for(const _0xbb0841 of _0x26b50e['manualDecorators'])_0xacc400['registerInlineAttribute'](_0xbb0841['id']);}}class SuggestionsConversionList extends _0x22b56d['Plugin']{['afterInit'](){const _0x2d54f6=this['editor'];if(!_0x2d54f6['plugins']['has']('ListEditing'))return;const _0x5b35cb=_0x2d54f6['plugins']['get']('SuggestionsConversion'),_0x1317e8=_0x2d54f6['plugins']['has']('TodoListEditing');_0x5b35cb['registerBlockAttribute']('listItemId'),_0x5b35cb['registerBlockAttribute']('listType'),_0x5b35cb['registerBlockAttribute']('listIndent'),_0x1317e8&&_0x5b35cb['registerBlockAttribute']('todoListChecked');}}class SuggestionsConversionListProperties extends _0x22b56d['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x309ab8=this['editor']['config']['get']('list.properties'),_0x229164=this['editor']['plugins']['get']('SuggestionsConversion');_0x309ab8['styles']&&_0x229164['registerBlockAttribute']('listStyle'),_0x309ab8['reversed']&&_0x229164['registerBlockAttribute']('listReversed'),_0x309ab8['startIndex']&&_0x229164['registerBlockAttribute']('listStart');}}class SuggestionsConversionMultiLevelList extends _0x22b56d['Plugin']{['afterInit'](){const _0x2afc92=this['editor'],_0x454383=_0x2afc92['plugins']['get']('SuggestionsConversion');_0x2afc92['plugins']['has']('MultiLevelList')&&_0x454383['registerBlockAttribute']('listMarkerStyle');}}class SuggestionsConversionStylesDropdown extends _0x22b56d['Plugin']{['afterInit'](){const _0x33020f=this['editor'];if(!_0x33020f['plugins']['has']('Style')||!_0x33020f['plugins']['has']('DataSchema')||!_0x33020f['config']['get']('style.definitions'))return;const _0x4e9a9b=_0x33020f['plugins']['get']('SuggestionsConversion'),_0x37b340=_0x33020f['config']['get']('style.definitions'),_0x56fd27=_0x33020f['plugins']['get']('GeneralHtmlSupport'),_0x41b4d7=_0x33020f['plugins']['get']('StyleUtils')['normalizeConfig'](_0x33020f['plugins']['get']('DataSchema'),_0x37b340),_0xe79881=new Set();for(const _0x5bb831 of _0x41b4d7['block']){const _0x2854c4=_0x56fd27['getGhsAttributeNameForElement'](_0x5bb831['element']);_0xe79881['add'](_0x2854c4);}const _0x4aba04=new Set();for(const _0x299e1f of _0x41b4d7['inline']){const _0x5d125f=_0x56fd27['getGhsAttributeNameForElement'](_0x299e1f['element']);_0x4aba04['add'](_0x5d125f);for(const _0x58ae33 of _0x299e1f['ghsAttributes'])_0x4aba04['add'](_0x58ae33);}for(const _0x4eebc3 of _0xe79881)_0x4e9a9b['registerBlockAttribute'](_0x4eebc3);for(const _0x3f054f of _0x4aba04)_0x4e9a9b['registerInlineAttribute'](_0x3f054f);}}class SuggestionsConversionTableHeadings extends _0x22b56d['Plugin']{['afterInit'](){const _0x5ad813=this['editor'];if(!_0x5ad813['plugins']['has']('TableEditing'))return;const _0x220361=_0x5ad813['plugins']['get']('SuggestionsConversion');_0x220361['registerBlockAttribute']('headingRows'),_0x220361['registerBlockAttribute']('headingColumns');}}class SuggestionsConversionTableProperties extends _0x22b56d['Plugin']{['afterInit'](){const {plugins:_0x22723c}=this['editor'];if(!_0x22723c['has']('TablePropertiesEditing'))return;const _0xc82e15=_0x22723c['get']('SuggestionsConversion'),_0x4eb854=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'];for(const _0x31c5a3 of _0x4eb854)_0xc82e15['registerBlockAttribute'](_0x31c5a3);}}class SuggestionsConversionTableLayout extends _0x22b56d['Plugin']{['afterInit'](){const _0x4385c7=this['editor'],_0x18467d=_0x4385c7['plugins']['get']('SuggestionsConversion');_0x4385c7['plugins']['has']('TableLayout')&&_0x18467d['registerBlockAttribute']('tableType');}}class SuggestionsConversionUploadcare extends _0x22b56d['Plugin']{['afterInit'](){const _0x3c2842=this['editor'],_0x522380=this['editor']['plugins']['get']('SuggestionsConversion');_0x3c2842['plugins']['has']('Uploadcare')&&_0x3c2842['plugins']['has']('UploadcareImageEdit')&&_0x522380['registerBlockAttribute']('uploadcareImageId');}}class SuggestionsConversionShiftEnter extends _0x22b56d['Plugin']{['afterInit'](){const _0x5a9dfc=this['editor'];if(!_0x5a9dfc['plugins']['has']('ShiftEnter'))return;const _0x578e43=_0x5a9dfc['plugins']['get']('SuggestionsConversion'),_0x577068=(_0x442dd6,_0x3b9b7f,_0xb9200,_0x15099f)=>{if(_0x15099f&&!_0xb9200['options']['showSuggestionHighlights'])return;if(!_0xb9200['consumable']['test'](_0x3b9b7f['markerRange'],_0x442dd6['name']))return;const _0x51ddae=_0x5a9dfc['model'];for(const _0x4cc33c of _0x3b9b7f['markerRange']['getItems']()){if(!_0x4cc33c['is']('element','softBreak'))continue;const _0x553aea='deletion'==_0x3b9b7f['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x51fb59,authorId:_0x5b32ac}=_0x5d0d7f(_0x3b9b7f['markerName']),_0x3b901e=_0xb9200['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x553aea,'data-suggestion':_0x51fb59,'data-author-id':_0x5b32ac}),_0x5eeee8=_0xb9200['mapper']['toViewPosition'](_0x51ddae['createPositionBefore'](_0x4cc33c));!_0x15099f&&_0x578e43['_activeMarkers']['includes'](_0x3b9b7f['markerName'])&&_0xb9200['writer']['addClass']('ck-suggestion-marker--active',_0x3b901e),_0xb9200['writer']['insert'](_0x5eeee8,_0x3b901e),_0xb9200['mapper']['bindElementToMarker'](_0x3b901e,_0x3b9b7f['markerName']);}};_0x5a9dfc['editing']['downcastDispatcher']['on']('addMarker:suggestion',(_0x2a24f0,_0x5466d1,_0x5a6d6a)=>{_0x577068(_0x2a24f0,_0x5466d1,_0x5a6d6a,!0x1);},{'priority':'high'}),_0x5a9dfc['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x3eef03,_0x1eaf60,_0x267312)=>{_0x577068(_0x3eef03,_0x1eaf60,_0x267312,!0x0);},{'priority':'high'});}}class SuggestionsConversionMediaEmbed extends _0x22b56d['Plugin']{['afterInit'](){const _0x449154=this['editor'];_0x449154['plugins']['has']('MediaEmbedEditing')&&(_0x449154['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x46d4d9,{writer:_0x419256,options:_0x2c69aa})=>{if(_0x2c69aa['showSuggestionHighlights'])return _0x419256['createEmptyElement']('div');},'converterPriority':'high'}),_0x449154['data']['downcastDispatcher']['on']('attribute:url:media',(_0x4fdeb8,_0x27a61c,_0x155307)=>{_0x155307['options']['showSuggestionHighlights']&&_0x4fdeb8['stop']();},{'priority':'high'}));}}class SuggestionsConversionTable extends _0x22b56d['Plugin']{['afterInit'](){const _0x5b349c=this['editor'];if(!_0x5b349c['plugins']['has']('Table'))return;_0x5b349c['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x19c3a2,_0x8045a4,_0x18ff2e)=>{((_0x5b3820,_0x33476a,_0x500a3c)=>{if(!_0x500a3c['options']['showSuggestionHighlights'])return;const _0x391db4=_0x33476a['item'];if(!_0x391db4||!_0x391db4['is']('element','tableCell'))return;const _0x1fded0=_0x500a3c['mapper']['toViewElement'](_0x391db4);if(_0x1fded0){const {id:_0x435fc1,authorId:_0x28f63b}=_0x5d0d7f(_0x33476a['markerName']);_0x22b56d['setHighlightHandling'](_0x1fded0,_0x500a3c['writer'],(_0x4cc85d,_0x55a698,_0x528954)=>{_0x528954['addClass'](_0x22b56d['toArray'](_0x55a698['classes']),_0x4cc85d),_0x528954['setAttribute']('data-suggestion-id',_0x435fc1,_0x4cc85d),_0x528954['setAttribute']('data-author-id',_0x28f63b,_0x4cc85d);});}})(0x0,_0x8045a4,_0x18ff2e);},{'priority':'highest'});}}class SuggestionsConversionHorizontalLine extends _0x22b56d['Plugin']{['afterInit'](){const _0x456a01=this['editor'];_0x456a01['plugins']['has']('HorizontalLineEditing')&&_0x456a01['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x1b6f53,{writer:_0x5159e5,options:_0x3d06fd})=>{if(!_0x3d06fd['showSuggestionHighlights'])return null;const _0x40acca=_0x5159e5['createContainerElement']('div'),_0x4c3703=_0x5159e5['createEmptyElement']('hr');return _0x5159e5['addClass']('ck-horizontal-line',_0x40acca),_0x5159e5['insert'](_0x5159e5['createPositionAt'](_0x40acca,0x0),_0x4c3703),_0x40acca;},'converterPriority':'high'});}}class SuggestionsConversionTableCellProperties extends _0x22b56d['Plugin']{['afterInit'](){const {plugins:_0x36e4a6,model:_0x5a4688}=this['editor'];if(!_0x36e4a6['has']('TableCellPropertiesEditing'))return;const _0x3c4174=_0x36e4a6['get']('SuggestionsConversion'),_0x36e488=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'];for(const _0x39a2da of _0x36e488)_0x3c4174['registerBlockAttribute'](_0x39a2da);_0x5a4688['schema']['checkAttribute']('tableCell','tableCellType')&&_0x3c4174['registerBlockAttribute']('tableCellType');}}class SuggestionsConversion extends _0x22b56d['Plugin']{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[SuggestionsConversionAlignment,SuggestionsConversionBasicStyles,SuggestionsConversionBookmark,SuggestionsConversionFont,SuggestionsConversionFootnotes,SuggestionsConversionHighlight,SuggestionsConversionHorizontalLine,SuggestionsConversionHtmlEmbed,SuggestionsConversionImage,SuggestionsConversionIndent,SuggestionsConversionLineHeight,SuggestionsConversionLink,SuggestionsConversionList,SuggestionsConversionListProperties,SuggestionsConversionMediaEmbed,SuggestionsConversionMultiLevelList,SuggestionsConversionShiftEnter,SuggestionsConversionStylesDropdown,SuggestionsConversionTable,SuggestionsConversionTableHeadings,SuggestionsConversionTableLayout,SuggestionsConversionTableCellProperties,SuggestionsConversionTableProperties,SuggestionsConversionUploadcare];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x10cd54=this['editor'],_0x1662f5=(_0x422190,_0xd7b126,_0x4951f1)=>{const {id:_0x13596a,authorId:_0x8e4e99,type:_0x18b0b3,subType:_0x1a12cb}=_0x5d0d7f(_0x422190['markerName']),_0x10e30d=['ck-suggestion-marker',this['_getClassName'](_0x18b0b3,_0x1a12cb)];let _0x2153f5=0xbb8;return!_0x4951f1&&(this['_activeMarkers']['includes'](_0x422190['markerName'])&&(_0x10e30d['push']('ck-suggestion-marker--active'),_0x2153f5=0xbc2)),('deletion'==_0x18b0b3&&(_0x2153f5+=0x5),{'classes':_0x10e30d,'attributes':{'data-suggestion':_0x13596a,'data-author-id':_0x8e4e99},'priority':_0x2153f5});};_0x10cd54['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x2fbc27,_0x17a090)=>_0x1662f5(_0x2fbc27,0x0,!0x1)}),_0x10cd54['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x436a32,_0x3c95ba)=>_0x1662f5(_0x436a32,0x0,!0x0)}),_0x10cd54['conversion']['for']('dataDowncast')['add'](_0x2eaf7b=>{_0x2eaf7b['on']('addMarker:suggestion',(_0x1f981a,_0x187542,_0x163656)=>{if(!_0x163656['options']['showSuggestionHighlights'])return;const _0x4abf9d=_0x187542['item'];if(!_0x4abf9d)return;const _0x377ef9=_0x163656['mapper']['toViewElement'](_0x4abf9d);_0x10cd54['model']['schema']['isObject'](_0x4abf9d)&&_0x377ef9&&!_0x377ef9['getCustomProperty']('widget')&&_0x377ef9['is']('containerElement')&&_0x22b56d['toWidget'](_0x377ef9,_0x163656['writer']);},{'priority':'high'});});const _0x5c8104=(_0x368319,_0x26ea14,_0x262e14,_0x4033ea,_0x3b77c5)=>{if(_0x4033ea&&!_0x262e14['options']['showSuggestionHighlights'])return;if(!_0x26ea14['item'])return;const {id:_0xaee8a7,authorId:_0x485f9c,subType:_0x1fe3aa}=_0x5d0d7f(_0x26ea14['markerName']);if(_0x3b77c5){const _0x38dfb7=_0x1fe3aa['split']('|')[0x0];if(!this['isBlockAttribute'](_0x38dfb7))return;}if(_0x26ea14['item']['is']('selection'))return void _0x262e14['consumable']['consume'](_0x26ea14['item'],_0x368319['name']);const _0x507300=_0x262e14['mapper']['toViewElement'](_0x26ea14['item']);if(_0x26ea14['item']['is']('element')&&_0x10cd54['model']['schema']['isBlock'](_0x26ea14['item'])&&!_0x507300['getCustomProperty']('addHighlight')){_0x262e14['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x507300),_0x262e14['writer']['setAttribute']('data-suggestion',_0xaee8a7,_0x507300),_0x262e14['writer']['setAttribute']('data-author-id',_0x485f9c,_0x507300),_0x262e14['mapper']['bindElementToMarker'](_0x507300,_0x26ea14['markerName']),_0x4033ea||(this['_activeMarkers']['includes'](_0x26ea14['markerName'])?_0x262e14['writer']['addClass']('ck-suggestion-marker--active',_0x507300):_0x262e14['writer']['removeClass']('ck-suggestion-marker--active',_0x507300));for(const _0x59e202 of _0x10cd54['model']['createRangeIn'](_0x26ea14['item'])['getItems']())_0x262e14['consumable']['consume'](_0x59e202,_0x368319['name']);_0x262e14['consumable']['consume'](_0x26ea14['item'],_0x368319['name']);}},_0x582ebf=(_0x539f7b,_0x524a6d,_0x297684,_0x22b774)=>{const _0x1b2a51=_0x297684['mapper']['markerNameToElements'](_0x524a6d['markerName']);if(_0x1b2a51){if(_0x22b774){const {subType:_0x54a761}=_0x5d0d7f(_0x524a6d['markerName']),_0x2bd173=_0x54a761['split']('|')[0x0];if(!this['isBlockAttribute'](_0x2bd173))return;}for(const _0x52b31c of _0x1b2a51)_0x52b31c['getCustomProperty']('addHighlight')||(_0x297684['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x52b31c),_0x297684['writer']['removeAttribute']('data-suggestion',_0x52b31c),_0x297684['writer']['removeAttribute']('data-author-id',_0x52b31c),_0x297684['mapper']['unbindElementFromMarkerName'](_0x52b31c,_0x524a6d['markerName']));}};_0x10cd54['conversion']['for']('editingDowncast')['add'](_0x4c14cb=>{_0x4c14cb['on']('addMarker:suggestion:formatBlock',(_0x1b85da,_0x3084ca,_0x23d358)=>{_0x5c8104(_0x1b85da,_0x3084ca,_0x23d358,!0x1,!0x1);},{'priority':'high'});}),_0x10cd54['conversion']['for']('editingDowncast')['add'](_0x36738d=>{_0x36738d['on']('addMarker:suggestion:attribute',(_0x34fba3,_0x27a4b4,_0x24bdc0)=>{_0x5c8104(_0x34fba3,_0x27a4b4,_0x24bdc0,!0x1,!0x0);},{'priority':'high'});}),_0x10cd54['conversion']['for']('editingDowncast')['add'](_0x5507be=>{_0x5507be['on']('removeMarker:suggestion:formatBlock',(_0x6c8182,_0x24e6ca,_0x2ad72f)=>{_0x582ebf(0x0,_0x24e6ca,_0x2ad72f,!0x1);},{'priority':'high'});}),_0x10cd54['conversion']['for']('editingDowncast')['add'](_0x50e050=>{_0x50e050['on']('removeMarker:suggestion:attribute',(_0x5ae2f9,_0x1e38b6,_0xfed493)=>{_0x582ebf(0x0,_0x1e38b6,_0xfed493,!0x0);},{'priority':'high'});}),_0x10cd54['conversion']['for']('dataDowncast')['add'](_0x215805=>{_0x215805['on']('addMarker:suggestion:formatBlock',(_0x1f83d4,_0x522ff3,_0x5d4474)=>{_0x5c8104(_0x1f83d4,_0x522ff3,_0x5d4474,!0x0,!0x1);},{'priority':'highest'});}),_0x10cd54['conversion']['for']('dataDowncast')['add'](_0x1b6b56=>{_0x1b6b56['on']('addMarker:suggestion:attribute',(_0x10a78a,_0x335768,_0x376048)=>{_0x5c8104(_0x10a78a,_0x335768,_0x376048,!0x0,!0x0);},{'priority':'highest'});}),_0x10cd54['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x195fe6,_0x5d1c86)=>{if(_0x5d1c86['options']['showSuggestionHighlights']){const {id:_0x2ae0bb,authorId:_0x35f7c1}=_0x5d0d7f(_0x195fe6);return _0x195fe6['includes'](':split')||_0x195fe6['includes'](':merge')?{'group':'suggestion','name':_0x195fe6['substr'](0xb),'attributes':{'data-suggestion':_0x2ae0bb,'data-author-id':_0x35f7c1}}:null;}return{'group':'suggestion','name':_0x195fe6['substr'](0xb)};}});const _0x28ef6f=(_0x2dcf34,_0x550c24,_0x1de91b,_0x32e77b,_0xd506c5)=>{if(_0x32e77b&&!_0x1de91b['options']['showSuggestionHighlights'])return;if(!_0x1de91b['consumable']['test'](_0x550c24['markerRange'],_0x2dcf34['name']))return;const _0x44baad=this['_activeMarkers'],_0x24cecb=_0x550c24['markerRange']['getWalker'](),_0x405a31=_0x550c24['markerRange']['start'],_0x1fd24e=_0x10cd54['model']['schema'];let _0x29ab7c=null,_0x3a2456=null,_0x5868ce=!0x1,_0x3ec245=!0x1;for(const _0x58c9f7 of _0x24cecb){const _0x27bfbf=_0x58c9f7['item'];_0x5868ce=_0x5868ce||_0x1fd24e['isContent'](_0x27bfbf);const _0x34dd7e=_0x1de91b['mapper']['toViewElement'](_0x27bfbf);if(_0x34dd7e&&_0x34dd7e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x58c9f7['type']&&(_0x1fd24e['isBlock'](_0x27bfbf)&&!_0x1fd24e['isLimit'](_0x27bfbf)&&(_0x27bfbf['nextSibling']||_0x405a31['isAtEnd']?_0x29ab7c&&_0x29ab7c['parent']==_0x27bfbf||(_0x29ab7c=_0x27bfbf,_0x30771a(_0x58c9f7['previousPosition']),_0x3ec245=!0x0):_0x3a2456=_0x3a2456||_0x58c9f7['previousPosition']));}function _0x30771a(_0x51f14f){const {id:_0x3c78ad,authorId:_0x531121}=_0x5d0d7f(_0x550c24['markerName']),_0x299400=_0x1de91b['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xd506c5,'data-suggestion':_0x3c78ad,'data-author-id':_0x531121}),_0x40f724=_0x1de91b['mapper']['toViewPosition'](_0x51f14f);!_0x32e77b&&_0x44baad['includes'](_0x550c24['markerName'])&&_0x1de91b['writer']['addClass']('ck-suggestion-marker--active',_0x299400),_0x1de91b['writer']['insert'](_0x40f724,_0x299400),_0x1de91b['mapper']['bindElementToMarker'](_0x299400,_0x550c24['markerName']);}_0x5868ce||_0x3ec245||!_0x3a2456||_0x30771a(_0x3a2456);};_0x10cd54['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x453528,_0x3fd26c,_0x5b2757)=>{_0x28ef6f(_0x453528,_0x3fd26c,_0x5b2757,!0x1,'merge');},{'priority':'high'}),_0x10cd54['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x3793ff,_0x339116,_0x15d546)=>{_0x28ef6f(_0x3793ff,_0x339116,_0x15d546,!0x0,'merge');},{'priority':'high'}),_0x10cd54['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x12bccd,_0x55ea79,_0x1a5530)=>{_0x28ef6f(_0x12bccd,_0x55ea79,_0x1a5530,!0x1,'split');},{'priority':'high'}),_0x10cd54['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x231e9b,_0x5f1573,_0x1ffb50)=>{_0x28ef6f(_0x231e9b,_0x5f1573,_0x1ffb50,!0x0,'split');},{'priority':'high'}),_0x10cd54['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x3e627e,_0x2c84cf,_0x37680a)=>{((_0x3a1914,_0x406c94,_0x27ee93)=>{const _0x17f395=_0x27ee93['mapper']['markerNameToElements'](_0x406c94['markerName']);if(_0x17f395){for(const _0x41928f of _0x17f395)(_0x41928f['hasClass']('ck-suggestion-marker-split')||_0x41928f['hasClass']('ck-suggestion-marker-merge'))&&(_0x27ee93['mapper']['unbindElementFromMarkerName'](_0x41928f,_0x406c94['markerName']),_0x27ee93['writer']['remove'](_0x41928f));}})(0x0,_0x2c84cf,_0x37680a);},{'priority':'high'});const _0x5acd9c=(_0x442674,_0x6fa6f6,_0x21d284,_0x14c7a5)=>{if(_0x14c7a5&&!_0x21d284['options']['showSuggestionHighlights'])return;const _0x66169e=_0x6fa6f6['markerRange']['start'],_0x3782d4=_0x6fa6f6['markerRange']['end'],_0x564ac0=_0x10cd54['model']['schema'];if(!_0x66169e['isTouching'](_0x3782d4)||!_0x66169e['nodeAfter'])return;const _0x1c0362=_0x66169e['nodeAfter'];if(_0x564ac0['isBlock'](_0x1c0362)&&!_0x564ac0['isLimit'](_0x1c0362)&&_0x564ac0['checkChild'](_0x1c0362,'$text')){if(!_0x21d284['consumable']['consume'](_0x6fa6f6['markerRange'],_0x442674['name']))return;const {id:_0x50857a,authorId:_0x32128f}=_0x5d0d7f(_0x6fa6f6['markerName']),_0x3ed0d3=_0x21d284['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x50857a,'data-author-id':_0x32128f}),_0x279339=_0x21d284['mapper']['toViewPosition'](_0x3782d4);!_0x14c7a5&&this['_activeMarkers']['includes'](_0x6fa6f6['markerName'])&&_0x21d284['writer']['addClass']('ck-suggestion-marker--active',_0x3ed0d3),_0x21d284['writer']['insert'](_0x279339,_0x3ed0d3),_0x21d284['mapper']['bindElementToMarker'](_0x3ed0d3,_0x6fa6f6['markerName']);}};_0x10cd54['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x40fc11,_0x4a260b,_0x48e391)=>{_0x5acd9c(_0x40fc11,_0x4a260b,_0x48e391,!0x1);},{'priority':'high'}),_0x10cd54['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x24d3c4,_0x5da754,_0x2d7663)=>{_0x5acd9c(_0x24d3c4,_0x5da754,_0x2d7663,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x4fbeaf,_0xdd9f6c,_0x425d71)=>{this['_activeMarkers']=_0x425d71['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x252ef4){this['_blockAttributeKeys']['add'](_0x252ef4);}['registerInlineAttribute'](_0x4e6f43){this['_inlineAttributeKeys']['add'](_0x4e6f43);}['isBlockAttribute'](_0x497e2d){return this['_blockAttributeKeys']['has'](_0x497e2d);}['isInlineAttribute'](_0x15950d){return this['_inlineAttributeKeys']['has'](_0x15950d);}['isRegisteredAttribute'](_0x98b2c2){return this['isInlineAttribute'](_0x98b2c2)||this['isBlockAttribute'](_0x98b2c2);}['_getClassName'](_0x5a5e2a,_0x2302e6){if('attribute'!=_0x5a5e2a)return'ck-suggestion-marker-'+_0x5a5e2a;const _0x3fa391=_0x2302e6['split']('|')[0x0];return this['isBlockAttribute'](_0x3fa391)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}}class _0x17c1e9 extends Error{}class InvalidDateTimeError extends _0x17c1e9{constructor(_0x4129ce){super('Invalid\x20DateTime:\x20'+_0x4129ce['toMessage']());}}class InvalidIntervalError extends _0x17c1e9{constructor(_0x4b92dc){super('Invalid\x20Interval:\x20'+_0x4b92dc['toMessage']());}}class InvalidDurationError extends _0x17c1e9{constructor(_0x5cff9f){super('Invalid\x20Duration:\x20'+_0x5cff9f['toMessage']());}}class ConflictingSpecificationError extends _0x17c1e9{}class InvalidUnitError extends _0x17c1e9{constructor(_0x4811b1){super('Invalid\x20unit\x20'+_0x4811b1);}}class InvalidArgumentError extends _0x17c1e9{}class ZoneIsAbstractError extends _0x17c1e9{constructor(){super('Zone\x20is\x20an\x20abstract\x20class');}}const _0x137f2b='numeric',_0x2b2c99='short',_0x1dbf60='long',_0x196798={'year':_0x137f2b,'month':_0x137f2b,'day':_0x137f2b},_0x22a09b={'year':_0x137f2b,'month':_0x2b2c99,'day':_0x137f2b},_0x20abac={'year':_0x137f2b,'month':_0x2b2c99,'day':_0x137f2b,'weekday':_0x2b2c99},_0x503f55={'year':_0x137f2b,'month':_0x1dbf60,'day':_0x137f2b},_0x3fa6ab={'year':_0x137f2b,'month':_0x1dbf60,'day':_0x137f2b,'weekday':_0x1dbf60},_0x564f03={'hour':_0x137f2b,'minute':_0x137f2b},_0x1d69f3={'hour':_0x137f2b,'minute':_0x137f2b,'second':_0x137f2b},_0x3e15ff={'hour':_0x137f2b,'minute':_0x137f2b,'second':_0x137f2b,'timeZoneName':_0x2b2c99},_0x27c544={'hour':_0x137f2b,'minute':_0x137f2b,'second':_0x137f2b,'timeZoneName':_0x1dbf60},_0x5dea3f={'hour':_0x137f2b,'minute':_0x137f2b,'hourCycle':'h23'},_0x26c917={'hour':_0x137f2b,'minute':_0x137f2b,'second':_0x137f2b,'hourCycle':'h23'},_0x29ca48={'hour':_0x137f2b,'minute':_0x137f2b,'second':_0x137f2b,'hourCycle':'h23','timeZoneName':_0x2b2c99},_0x19694d={'hour':_0x137f2b,'minute':_0x137f2b,'second':_0x137f2b,'hourCycle':'h23','timeZoneName':_0x1dbf60},_0x1a9aa8={'year':_0x137f2b,'month':_0x137f2b,'day':_0x137f2b,'hour':_0x137f2b,'minute':_0x137f2b},_0x5919b0={'year':_0x137f2b,'month':_0x137f2b,'day':_0x137f2b,'hour':_0x137f2b,'minute':_0x137f2b,'second':_0x137f2b},_0x39fbb4={'year':_0x137f2b,'month':_0x2b2c99,'day':_0x137f2b,'hour':_0x137f2b,'minute':_0x137f2b},_0x526310={'year':_0x137f2b,'month':_0x2b2c99,'day':_0x137f2b,'hour':_0x137f2b,'minute':_0x137f2b,'second':_0x137f2b},_0xf69215={'year':_0x137f2b,'month':_0x2b2c99,'day':_0x137f2b,'weekday':_0x2b2c99,'hour':_0x137f2b,'minute':_0x137f2b},_0x3f7786={'year':_0x137f2b,'month':_0x1dbf60,'day':_0x137f2b,'hour':_0x137f2b,'minute':_0x137f2b,'timeZoneName':_0x2b2c99},_0x230ec2={'year':_0x137f2b,'month':_0x1dbf60,'day':_0x137f2b,'hour':_0x137f2b,'minute':_0x137f2b,'second':_0x137f2b,'timeZoneName':_0x2b2c99},_0x334d47={'year':_0x137f2b,'month':_0x1dbf60,'day':_0x137f2b,'weekday':_0x1dbf60,'hour':_0x137f2b,'minute':_0x137f2b,'timeZoneName':_0x1dbf60},_0x4cf81d={'year':_0x137f2b,'month':_0x1dbf60,'day':_0x137f2b,'weekday':_0x1dbf60,'hour':_0x137f2b,'minute':_0x137f2b,'second':_0x137f2b,'timeZoneName':_0x1dbf60};class _0x354ba6{get['type'](){throw new ZoneIsAbstractError();}get['name'](){throw new ZoneIsAbstractError();}get['ianaName'](){return this['name'];}get['isUniversal'](){throw new ZoneIsAbstractError();}['offsetName'](_0x47eb7,_0x3cf54e){throw new ZoneIsAbstractError();}['formatOffset'](_0x4be0f8,_0x27f7a6){throw new ZoneIsAbstractError();}['offset'](_0x5426e2){throw new ZoneIsAbstractError();}['equals'](_0x11b9ac){throw new ZoneIsAbstractError();}get['isValid'](){throw new ZoneIsAbstractError();}}let _0x50a7f9=null;class SystemZone extends _0x354ba6{static get['instance'](){return null===_0x50a7f9&&(_0x50a7f9=new SystemZone()),_0x50a7f9;}get['type'](){return'system';}get['name'](){return new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x285ff7,{format:_0x4ff360,locale:_0x26cd01}){return _0x127172(_0x285ff7,_0x4ff360,_0x26cd01);}['formatOffset'](_0x2a3e84,_0x41d27d){return _0x298fa2(this['offset'](_0x2a3e84),_0x41d27d);}['offset'](_0x2bb2d5){return-new Date(_0x2bb2d5)['getTimezoneOffset']();}['equals'](_0x448ff6){return'system'===_0x448ff6['type'];}get['isValid'](){return!0x0;}}const _0x4954a6=new Map(),_0x12389a={'year':0x0,'month':0x1,'day':0x2,'era':0x3,'hour':0x4,'minute':0x5,'second':0x6},_0xbe7094=new Map();class _0x508e9f extends _0x354ba6{static['create'](_0x178d49){let _0x2281a1=_0xbe7094['get'](_0x178d49);return void 0x0===_0x2281a1&&_0xbe7094['set'](_0x178d49,_0x2281a1=new _0x508e9f(_0x178d49)),_0x2281a1;}static['resetCache'](){_0xbe7094['clear'](),_0x4954a6['clear']();}static['isValidSpecifier'](_0x2dc372){return this['isValidZone'](_0x2dc372);}static['isValidZone'](_0x5c62d0){if(!_0x5c62d0)return!0x1;try{return new Intl['DateTimeFormat']('en-US',{'timeZone':_0x5c62d0})['format'](),!0x0;}catch(_0x1f851e){return!0x1;}}constructor(_0x5ca480){super(),this['zoneName']=_0x5ca480,this['valid']=_0x508e9f['isValidZone'](_0x5ca480);}get['type'](){return'iana';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x35f6cc,{format:_0x53b456,locale:_0x42ad7a}){return _0x127172(_0x35f6cc,_0x53b456,_0x42ad7a,this['name']);}['formatOffset'](_0x26e872,_0x3992e2){return _0x298fa2(this['offset'](_0x26e872),_0x3992e2);}['offset'](_0x3e9ab4){if(!this['valid'])return NaN;const _0x191dc9=new Date(_0x3e9ab4);if(isNaN(_0x191dc9))return NaN;const _0x30afbf=function(_0x5183a8){let _0x557075=_0x4954a6['get'](_0x5183a8);return void 0x0===_0x557075&&(_0x557075=new Intl['DateTimeFormat']('en-US',{'hour12':!0x1,'timeZone':_0x5183a8,'year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit','second':'2-digit','era':'short'}),_0x4954a6['set'](_0x5183a8,_0x557075)),_0x557075;}(this['name']);let [_0x293dc3,_0x4ad2ab,_0x551f04,_0x3bfd54,_0xde51a7,_0x4863ff,_0x35cfa2]=_0x30afbf['formatToParts']?function(_0x48052d,_0x4322e4){const _0x145fe7=_0x48052d['formatToParts'](_0x4322e4),_0x50b79d=[];for(let _0x674f14=0x0;_0x674f14<_0x145fe7['length'];_0x674f14++){const {type:_0xd0b923,value:_0x349d50}=_0x145fe7[_0x674f14],_0x35dca6=_0x12389a[_0xd0b923];'era'===_0xd0b923?_0x50b79d[_0x35dca6]=_0x349d50:_0x2a4399(_0x35dca6)||(_0x50b79d[_0x35dca6]=parseInt(_0x349d50,0xa));}return _0x50b79d;}(_0x30afbf,_0x191dc9):function(_0x41fc51,_0x8358e3){const _0x1a6be8=_0x41fc51['format'](_0x8358e3)['replace'](/\u200E/g,''),_0x215bed=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/['exec'](_0x1a6be8),[,_0x40a323,_0x1a41de,_0x128f55,_0x35a28a,_0x2e752b,_0x430458,_0x17b090]=_0x215bed;return[_0x128f55,_0x40a323,_0x1a41de,_0x35a28a,_0x2e752b,_0x430458,_0x17b090];}(_0x30afbf,_0x191dc9);'BC'===_0x3bfd54&&(_0x293dc3=0x1-Math['abs'](_0x293dc3));let _0x181729=+_0x191dc9;const _0x24224e=_0x181729%0x3e8;return _0x181729-=_0x24224e>=0x0?_0x24224e:0x3e8+_0x24224e,(_0x42cac0({'year':_0x293dc3,'month':_0x4ad2ab,'day':_0x551f04,'hour':0x18===_0xde51a7?0x0:_0xde51a7,'minute':_0x4863ff,'second':_0x35cfa2,'millisecond':0x0})-_0x181729)/0xea60;}['equals'](_0x55bec5){return'iana'===_0x55bec5['type']&&_0x55bec5['name']===this['name'];}get['isValid'](){return this['valid'];}}let _0xdd9a2f={};const _0x509e3d=new Map();function _0x28d2d7(_0x2714db,_0x1b1395={}){const _0x12e08f=JSON['stringify']([_0x2714db,_0x1b1395]);let _0x217ba7=_0x509e3d['get'](_0x12e08f);return void 0x0===_0x217ba7&&(_0x217ba7=new Intl['DateTimeFormat'](_0x2714db,_0x1b1395),_0x509e3d['set'](_0x12e08f,_0x217ba7)),_0x217ba7;}const _0x576760=new Map(),ts=new Map();let _0x58d7a5=null;const _0x560dc9=new Map();function _0x910bdd(_0xd1092d){let _0xcc73cf=_0x560dc9['get'](_0xd1092d);return void 0x0===_0xcc73cf&&(_0xcc73cf=new Intl['DateTimeFormat'](_0xd1092d)['resolvedOptions'](),_0x560dc9['set'](_0xd1092d,_0xcc73cf)),_0xcc73cf;}const _0x3d7596=new Map();function _0x5527e4(_0x1db1fc,_0x4863fc,_0x3339c9,_0x4075f1){const _0x4e6cfa=_0x1db1fc['listingMode']();return'error'===_0x4e6cfa?null:'en'===_0x4e6cfa?_0x3339c9(_0x4863fc):_0x4075f1(_0x4863fc);}class PolyNumberFormatter{constructor(_0x1748db,_0x5d15d3,_0x580a93){this['padTo']=_0x580a93['padTo']||0x0,this['floor']=_0x580a93['floor']||!0x1;const {padTo:_0x226c24,floor:_0x46c773,..._0x439835}=_0x580a93;if(!_0x5d15d3||Object['keys'](_0x439835)['length']>0x0){const _0x3d0988={'useGrouping':!0x1,..._0x580a93};_0x580a93['padTo']>0x0&&(_0x3d0988['minimumIntegerDigits']=_0x580a93['padTo']),this['inf']=function(_0x4029e6,_0x39ba96={}){const _0x14bf3b=JSON['stringify']([_0x4029e6,_0x39ba96]);let _0x24aaa0=_0x576760['get'](_0x14bf3b);return void 0x0===_0x24aaa0&&(_0x24aaa0=new Intl['NumberFormat'](_0x4029e6,_0x39ba96),_0x576760['set'](_0x14bf3b,_0x24aaa0)),_0x24aaa0;}(_0x1748db,_0x3d0988);}}['format'](_0x19cfff){if(this['inf']){const _0x275b55=this['floor']?Math['floor'](_0x19cfff):_0x19cfff;return this['inf']['format'](_0x275b55);}return _0x440eab(this['floor']?Math['floor'](_0x19cfff):_0x4c7780(_0x19cfff,0x3),this['padTo']);}}class PolyDateFormatter{constructor(_0x1bce10,_0x19979d,_0x32e7e0){let _0x292249;if(this['opts']=_0x32e7e0,this['originalZone']=void 0x0,this['opts']['timeZone'])this['dt']=_0x1bce10;else{if('fixed'===_0x1bce10['zone']['type']){const _0x1d379a=_0x1bce10['offset']/0x3c*-0x1,_0x4c8dbd=_0x1d379a>=0x0?'Etc/GMT+'+_0x1d379a:'Etc/GMT'+_0x1d379a;0x0!==_0x1bce10['offset']&&_0x508e9f['create'](_0x4c8dbd)['valid']?(_0x292249=_0x4c8dbd,this['dt']=_0x1bce10):(_0x292249='UTC',this['dt']=0x0===_0x1bce10['offset']?_0x1bce10:_0x1bce10['setZone']('UTC')['plus']({'minutes':_0x1bce10['offset']}),this['originalZone']=_0x1bce10['zone']);}else'system'===_0x1bce10['zone']['type']?this['dt']=_0x1bce10:'iana'===_0x1bce10['zone']['type']?(this['dt']=_0x1bce10,_0x292249=_0x1bce10['zone']['name']):(_0x292249='UTC',this['dt']=_0x1bce10['setZone']('UTC')['plus']({'minutes':_0x1bce10['offset']}),this['originalZone']=_0x1bce10['zone']);}const _0x49e548={...this['opts']};_0x49e548['timeZone']=_0x49e548['timeZone']||_0x292249,this['dtf']=_0x28d2d7(_0x19979d,_0x49e548);}['format'](){return this['originalZone']?this['formatToParts']()['map'](({value:_0x39103})=>_0x39103)['join'](''):this['dtf']['format'](this['dt']['toJSDate']());}['formatToParts'](){const _0x12cc1e=this['dtf']['formatToParts'](this['dt']['toJSDate']());return this['originalZone']?_0x12cc1e['map'](_0x450a6d=>{if('timeZoneName'===_0x450a6d['type']){const _0x29a369=this['originalZone']['offsetName'](this['dt']['ts'],{'locale':this['dt']['locale'],'format':this['opts']['timeZoneName']});return{..._0x450a6d,'value':_0x29a369};}return _0x450a6d;}):_0x12cc1e;}['resolvedOptions'](){return this['dtf']['resolvedOptions']();}}class PolyRelFormatter{constructor(_0xae7fea,_0x4f6c69,_0x2ba382){this['opts']={'style':'long',..._0x2ba382},!_0x4f6c69&&_0x182324()&&(this['rtf']=function(_0x4da478,_0x474eb6={}){const {base:_0x1edd8a,..._0x2f975b}=_0x474eb6,_0x1aa2d8=JSON['stringify']([_0x4da478,_0x2f975b]);let _0x1d0bba=ts['get'](_0x1aa2d8);return void 0x0===_0x1d0bba&&(_0x1d0bba=new Intl['RelativeTimeFormat'](_0x4da478,_0x474eb6),ts['set'](_0x1aa2d8,_0x1d0bba)),_0x1d0bba;}(_0xae7fea,_0x2ba382));}['format'](_0x311cfb,_0x421b2e){return this['rtf']?this['rtf']['format'](_0x311cfb,_0x421b2e):function(_0x4197c1,_0x4f7934,_0x514e09='always',_0x5a816e=!0x1){const _0x183b35={'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.']},_0x2206e9=-0x1===['hours','minutes','seconds']['indexOf'](_0x4197c1);if('auto'===_0x514e09&&_0x2206e9){const _0x8e7357='days'===_0x4197c1;switch(_0x4f7934){case 0x1:return _0x8e7357?'tomorrow':'next\x20'+_0x183b35[_0x4197c1][0x0];case-0x1:return _0x8e7357?'yesterday':'last\x20'+_0x183b35[_0x4197c1][0x0];case 0x0:return _0x8e7357?'today':'this\x20'+_0x183b35[_0x4197c1][0x0];}}const _0x16a22e=Object['is'](_0x4f7934,-0x0)||_0x4f7934<0x0,_0x561da3=Math['abs'](_0x4f7934),_0x25961e=0x1===_0x561da3,_0x5c2b38=_0x183b35[_0x4197c1],_0x5eaed5=_0x5a816e?_0x25961e?_0x5c2b38[0x1]:_0x5c2b38[0x2]||_0x5c2b38[0x1]:_0x25961e?_0x183b35[_0x4197c1][0x0]:_0x4197c1;return _0x16a22e?_0x561da3+'\x20'+_0x5eaed5+'\x20ago':'in\x20'+_0x561da3+'\x20'+_0x5eaed5;}(_0x421b2e,_0x311cfb,this['opts']['numeric'],'long'!==this['opts']['style']);}['formatToParts'](_0x55a492,_0x13f6db){return this['rtf']?this['rtf']['formatToParts'](_0x55a492,_0x13f6db):[];}}const _0x920028={'firstDay':0x1,'minimalDays':0x4,'weekend':[0x6,0x7]};class _0x4e5663{static['fromOpts'](_0x3046d5){return _0x4e5663['create'](_0x3046d5['locale'],_0x3046d5['numberingSystem'],_0x3046d5['outputCalendar'],_0x3046d5['weekSettings'],_0x3046d5['defaultToEN']);}static['create'](_0x3f6a69,_0x44d9cd,_0x405301,_0x52c9f5,_0x31f041=!0x1){const _0x356e10=_0x3f6a69||Settings['defaultLocale'],_0x4d20d9=_0x356e10||(_0x31f041?'en-US':_0x58d7a5||(_0x58d7a5=new Intl['DateTimeFormat']()['resolvedOptions']()['locale'],_0x58d7a5)),_0x53fae0=_0x44d9cd||Settings['defaultNumberingSystem'],_0x59d00d=_0x405301||Settings['defaultOutputCalendar'],_0x19ac44=_0x523eb2(_0x52c9f5)||Settings['defaultWeekSettings'];return new _0x4e5663(_0x4d20d9,_0x53fae0,_0x59d00d,_0x19ac44,_0x356e10);}static['resetCache'](){_0x58d7a5=null,_0x509e3d['clear'](),_0x576760['clear'](),ts['clear'](),_0x560dc9['clear'](),_0x3d7596['clear']();}static['fromObject']({locale:_0x2e6a0a,numberingSystem:_0x51bd97,outputCalendar:_0x4dd17e,weekSettings:_0x52ee39}={}){return _0x4e5663['create'](_0x2e6a0a,_0x51bd97,_0x4dd17e,_0x52ee39);}constructor(_0x37436b,_0x29235a,_0x3b4afd,_0x549df2,_0x2357ce){const [_0x31afda,_0x3b268d,_0x10e815]=function(_0xa8c8ef){const _0x122729=_0xa8c8ef['indexOf']('-x-');-0x1!==_0x122729&&(_0xa8c8ef=_0xa8c8ef['substring'](0x0,_0x122729));const _0x121579=_0xa8c8ef['indexOf']('-u-');if(-0x1===_0x121579)return[_0xa8c8ef];{let _0x57a6e2,_0x805c86;try{_0x57a6e2=_0x28d2d7(_0xa8c8ef)['resolvedOptions'](),_0x805c86=_0xa8c8ef;}catch(_0x34651a){const _0x50896c=_0xa8c8ef['substring'](0x0,_0x121579);_0x57a6e2=_0x28d2d7(_0x50896c)['resolvedOptions'](),_0x805c86=_0x50896c;}const {numberingSystem:_0x3ce300,calendar:_0x40cf58}=_0x57a6e2;return[_0x805c86,_0x3ce300,_0x40cf58];}}(_0x37436b);this['locale']=_0x31afda,this['numberingSystem']=_0x29235a||_0x3b268d||null,this['outputCalendar']=_0x3b4afd||_0x10e815||null,this['weekSettings']=_0x549df2,this['intl']=function(_0x17ba42,_0x27611b,_0x49b089){return _0x49b089||_0x27611b?(_0x17ba42['includes']('-u-')||(_0x17ba42+='-u'),_0x49b089&&(_0x17ba42+='-ca-'+_0x49b089),_0x27611b&&(_0x17ba42+='-nu-'+_0x27611b),_0x17ba42):_0x17ba42;}(this['locale'],this['numberingSystem'],this['outputCalendar']),this['weekdaysCache']={'format':{},'standalone':{}},this['monthsCache']={'format':{},'standalone':{}},this['meridiemCache']=null,this['eraCache']={},this['specifiedLocale']=_0x2357ce,this['fastNumbersCached']=null;}get['fastNumbers'](){var _0x3ec737;return null==this['fastNumbersCached']&&(this['fastNumbersCached']=(!(_0x3ec737=this)['numberingSystem']||'latn'===_0x3ec737['numberingSystem'])&&('latn'===_0x3ec737['numberingSystem']||!_0x3ec737['locale']||_0x3ec737['locale']['startsWith']('en')||'latn'===_0x910bdd(_0x3ec737['locale'])['numberingSystem'])),this['fastNumbersCached'];}['listingMode'](){const _0x144dda=this['isEnglish'](),_0x44aff1=!(null!==this['numberingSystem']&&'latn'!==this['numberingSystem']||null!==this['outputCalendar']&&'gregory'!==this['outputCalendar']);return _0x144dda&&_0x44aff1?'en':'intl';}['clone'](_0x31d4e6){return _0x31d4e6&&0x0!==Object['getOwnPropertyNames'](_0x31d4e6)['length']?_0x4e5663['create'](_0x31d4e6['locale']||this['specifiedLocale'],_0x31d4e6['numberingSystem']||this['numberingSystem'],_0x31d4e6['outputCalendar']||this['outputCalendar'],_0x523eb2(_0x31d4e6['weekSettings'])||this['weekSettings'],_0x31d4e6['defaultToEN']||!0x1):this;}['redefaultToEN'](_0x56683a={}){return this['clone']({..._0x56683a,'defaultToEN':!0x0});}['redefaultToSystem'](_0x15754a={}){return this['clone']({..._0x15754a,'defaultToEN':!0x1});}['months'](_0x4cc622,_0x10470d=!0x1){return _0x5527e4(this,_0x4cc622,_0x183144,()=>{const _0x32dff1=_0x10470d?{'month':_0x4cc622,'day':'numeric'}:{'month':_0x4cc622},_0x138be3=_0x10470d?'format':'standalone';return this['monthsCache'][_0x138be3][_0x4cc622]||(this['monthsCache'][_0x138be3][_0x4cc622]=function(_0x1ce15b){const _0x2e056b=[];for(let _0x1309ea=0x1;_0x1309ea<=0xc;_0x1309ea++){const _0x37b232=DateTime['utc'](0x7d9,_0x1309ea,0x1);_0x2e056b['push'](_0x1ce15b(_0x37b232));}return _0x2e056b;}(_0x54af70=>this['extract'](_0x54af70,_0x32dff1,'month'))),this['monthsCache'][_0x138be3][_0x4cc622];});}['weekdays'](_0x4fb364,_0x4bdcfe=!0x1){return _0x5527e4(this,_0x4fb364,_0x1892b2,()=>{const _0x9e3d59=_0x4bdcfe?{'weekday':_0x4fb364,'year':'numeric','month':'long','day':'numeric'}:{'weekday':_0x4fb364},_0x49c252=_0x4bdcfe?'format':'standalone';return this['weekdaysCache'][_0x49c252][_0x4fb364]||(this['weekdaysCache'][_0x49c252][_0x4fb364]=function(_0x11eb27){const _0x35bc03=[];for(let _0x5b1c9c=0x1;_0x5b1c9c<=0x7;_0x5b1c9c++){const _0x305850=DateTime['utc'](0x7e0,0xb,0xd+_0x5b1c9c);_0x35bc03['push'](_0x11eb27(_0x305850));}return _0x35bc03;}(_0x35d8b2=>this['extract'](_0x35d8b2,_0x9e3d59,'weekday'))),this['weekdaysCache'][_0x49c252][_0x4fb364];});}['meridiems'](){return _0x5527e4(this,void 0x0,()=>_0x4763a7,()=>{if(!this['meridiemCache']){const _0x317c3a={'hour':'numeric','hourCycle':'h12'};this['meridiemCache']=[DateTime['utc'](0x7e0,0xb,0xd,0x9),DateTime['utc'](0x7e0,0xb,0xd,0x13)]['map'](_0xdcc98b=>this['extract'](_0xdcc98b,_0x317c3a,'dayperiod'));}return this['meridiemCache'];});}['eras'](_0x19f439){return _0x5527e4(this,_0x19f439,_0x31eecf,()=>{const _0x20a2e9={'era':_0x19f439};return this['eraCache'][_0x19f439]||(this['eraCache'][_0x19f439]=[DateTime['utc'](-0x28,0x1,0x1),DateTime['utc'](0x7e1,0x1,0x1)]['map'](_0x1b5a8f=>this['extract'](_0x1b5a8f,_0x20a2e9,'era'))),this['eraCache'][_0x19f439];});}['extract'](_0x4e88a7,_0x2bcaab,_0x462eb9){const _0x27bcc5=this['dtFormatter'](_0x4e88a7,_0x2bcaab)['formatToParts']()['find'](_0x5602dd=>_0x5602dd['type']['toLowerCase']()===_0x462eb9);return _0x27bcc5?_0x27bcc5['value']:null;}['numberFormatter'](_0x411d70={}){return new PolyNumberFormatter(this['intl'],_0x411d70['forceSimple']||this['fastNumbers'],_0x411d70);}['dtFormatter'](_0x4f771e,_0x1df62a={}){return new PolyDateFormatter(_0x4f771e,this['intl'],_0x1df62a);}['relFormatter'](_0x15010e={}){return new PolyRelFormatter(this['intl'],this['isEnglish'](),_0x15010e);}['listFormatter'](_0x2383a4={}){return function(_0x1e6006,_0x57c069={}){const _0x2de423=JSON['stringify']([_0x1e6006,_0x57c069]);let _0x152d3b=_0xdd9a2f[_0x2de423];return _0x152d3b||(_0x152d3b=new Intl['ListFormat'](_0x1e6006,_0x57c069),_0xdd9a2f[_0x2de423]=_0x152d3b),_0x152d3b;}(this['intl'],_0x2383a4);}['isEnglish'](){return'en'===this['locale']||'en-us'===this['locale']['toLowerCase']()||_0x910bdd(this['intl'])['locale']['startsWith']('en-us');}['getWeekSettings'](){return this['weekSettings']?this['weekSettings']:_0x48f961()?function(_0x34180f){let _0x20c75d=_0x3d7596['get'](_0x34180f);if(!_0x20c75d){const _0x2b2dc4=new Intl['Locale'](_0x34180f);_0x20c75d='getWeekInfo'in _0x2b2dc4?_0x2b2dc4['getWeekInfo']():_0x2b2dc4['weekInfo'],'minimalDays'in _0x20c75d||(_0x20c75d={..._0x920028,..._0x20c75d}),_0x3d7596['set'](_0x34180f,_0x20c75d);}return _0x20c75d;}(this['locale']):_0x920028;}['getStartOfWeek'](){return this['getWeekSettings']()['firstDay'];}['getMinDaysInFirstWeek'](){return this['getWeekSettings']()['minimalDays'];}['getWeekendDays'](){return this['getWeekSettings']()['weekend'];}['equals'](_0x39163a){return this['locale']===_0x39163a['locale']&&this['numberingSystem']===_0x39163a['numberingSystem']&&this['outputCalendar']===_0x39163a['outputCalendar'];}['toString'](){return'Locale('+this['locale']+',\x20'+this['numberingSystem']+',\x20'+this['outputCalendar']+')';}}let _0x8ebd85=null;class FixedOffsetZone extends _0x354ba6{static get['utcInstance'](){return null===_0x8ebd85&&(_0x8ebd85=new FixedOffsetZone(0x0)),_0x8ebd85;}static['instance'](_0x2c9a9a){return 0x0===_0x2c9a9a?FixedOffsetZone['utcInstance']:new FixedOffsetZone(_0x2c9a9a);}static['parseSpecifier'](_0x1a1c0d){if(_0x1a1c0d){const _0x5467bc=_0x1a1c0d['match'](/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(_0x5467bc)return new FixedOffsetZone(_0x292670(_0x5467bc[0x1],_0x5467bc[0x2]));}return null;}constructor(_0x391737){super(),this['fixed']=_0x391737;}get['type'](){return'fixed';}get['name'](){return 0x0===this['fixed']?'UTC':'UTC'+_0x298fa2(this['fixed'],'narrow');}get['ianaName'](){return 0x0===this['fixed']?'Etc/UTC':'Etc/GMT'+_0x298fa2(-this['fixed'],'narrow');}['offsetName'](){return this['name'];}['formatOffset'](_0x59bf21,_0x20a5ff){return _0x298fa2(this['fixed'],_0x20a5ff);}get['isUniversal'](){return!0x0;}['offset'](){return this['fixed'];}['equals'](_0x1a7449){return'fixed'===_0x1a7449['type']&&_0x1a7449['fixed']===this['fixed'];}get['isValid'](){return!0x0;}}class _0x29c815 extends _0x354ba6{constructor(_0x153a58){super(),this['zoneName']=_0x153a58;}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 _0x102251(_0x2cf729,_0x5bf2e4){if(_0x2a4399(_0x2cf729)||null===_0x2cf729)return _0x5bf2e4;if(_0x2cf729 instanceof _0x354ba6)return _0x2cf729;if(function(_0x1e9102){return'string'==typeof _0x1e9102;}(_0x2cf729)){const _0x29d911=_0x2cf729['toLowerCase']();return'default'===_0x29d911?_0x5bf2e4:'local'===_0x29d911||'system'===_0x29d911?SystemZone['instance']:'utc'===_0x29d911||'gmt'===_0x29d911?FixedOffsetZone['utcInstance']:FixedOffsetZone['parseSpecifier'](_0x29d911)||_0x508e9f['create'](_0x2cf729);}return _0x15f55e(_0x2cf729)?FixedOffsetZone['instance'](_0x2cf729):'object'==typeof _0x2cf729&&'offset'in _0x2cf729&&'function'==typeof _0x2cf729['offset']?_0x2cf729:new _0x29c815(_0x2cf729);}const _0x40a330={'arab':'[٠-٩]','arabext':'[۰-۹]','bali':'[᭐-᭙]','beng':'[০-৯]','deva':'[०-९]','fullwide':'[０-９]','gujr':'[૦-૯]','hanidec':'[〇|一|二|三|四|五|六|七|八|九]','khmr':'[០-៩]','knda':'[೦-೯]','laoo':'[໐-໙]','limb':'[᥆-᥏]','mlym':'[൦-൯]','mong':'[᠐-᠙]','mymr':'[၀-၉]','orya':'[୦-୯]','tamldec':'[௦-௯]','telu':'[౦-౯]','thai':'[๐-๙]','tibt':'[༠-༩]','latn':'\x5cd'},_0x28c802={'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]},_0x123f53=_0x40a330['hanidec']['replace'](/[\[|\]]/g,'')['split'](''),_0x3c41b9=new Map();function _0x14ef01({numberingSystem:_0x2a64d9},_0x13b111=''){const _0x4d530f=_0x2a64d9||'latn';let _0x49dfea=_0x3c41b9['get'](_0x4d530f);void 0x0===_0x49dfea&&(_0x49dfea=new Map(),_0x3c41b9['set'](_0x4d530f,_0x49dfea));let _0x4baea1=_0x49dfea['get'](_0x13b111);return void 0x0===_0x4baea1&&(_0x4baea1=new RegExp(''+_0x40a330[_0x4d530f]+_0x13b111),_0x49dfea['set'](_0x13b111,_0x4baea1)),_0x4baea1;}let _0x5e8397,_0x5e9509=()=>Date['now'](),_0xcc0eeb='system',_0x1dfd00=null,_0xbd04a7=null,_0x11f896=null,_0x4f2c01=0x3c,_0x324fd0=null;class Settings{static get['now'](){return _0x5e9509;}static set['now'](_0x4c1820){_0x5e9509=_0x4c1820;}static set['defaultZone'](_0x53281a){_0xcc0eeb=_0x53281a;}static get['defaultZone'](){return _0x102251(_0xcc0eeb,SystemZone['instance']);}static get['defaultLocale'](){return _0x1dfd00;}static set['defaultLocale'](_0x6ec323){_0x1dfd00=_0x6ec323;}static get['defaultNumberingSystem'](){return _0xbd04a7;}static set['defaultNumberingSystem'](_0x58396b){_0xbd04a7=_0x58396b;}static get['defaultOutputCalendar'](){return _0x11f896;}static set['defaultOutputCalendar'](_0x271a47){_0x11f896=_0x271a47;}static get['defaultWeekSettings'](){return _0x324fd0;}static set['defaultWeekSettings'](_0x37119a){_0x324fd0=_0x523eb2(_0x37119a);}static get['twoDigitCutoffYear'](){return _0x4f2c01;}static set['twoDigitCutoffYear'](_0xa92f3f){_0x4f2c01=_0xa92f3f%0x64;}static get['throwOnInvalid'](){return _0x5e8397;}static set['throwOnInvalid'](t){_0x5e8397=t;}static['resetCaches'](){_0x4e5663['resetCache'](),_0x508e9f['resetCache'](),DateTime['resetCache'](),_0x3c41b9['clear']();}}class _0x1b2b84{constructor(_0x3620c3,_0xec46e7){this['reason']=_0x3620c3,this['explanation']=_0xec46e7;}['toMessage'](){return this['explanation']?this['reason']+':\x20'+this['explanation']:this['reason'];}}const _0x51ac91=[0x0,0x1f,0x3b,0x5a,0x78,0x97,0xb5,0xd4,0xf3,0x111,0x130,0x14e],_0x1c2de5=[0x0,0x1f,0x3c,0x5b,0x79,0x98,0xb6,0xd5,0xf4,0x112,0x131,0x14f];function _0x1c71d1(_0x44e084,_0x1527d2){return new _0x1b2b84('unit\x20out\x20of\x20range','you\x20specified\x20'+_0x1527d2+'\x20(of\x20type\x20'+typeof _0x1527d2+')\x20as\x20a\x20'+_0x44e084+',\x20which\x20is\x20invalid');}function _0x102d9c(_0x3b432a,_0x2c154b,_0x213f23){const _0x38bb44=new Date(Date['UTC'](_0x3b432a,_0x2c154b-0x1,_0x213f23));_0x3b432a<0x64&&_0x3b432a>=0x0&&_0x38bb44['setUTCFullYear'](_0x38bb44['getUTCFullYear']()-0x76c);const _0x1ea240=_0x38bb44['getUTCDay']();return 0x0===_0x1ea240?0x7:_0x1ea240;}function _0x462b4e(_0x348e7e,_0x32c134,_0x551e7e){return _0x551e7e+(_0x491962(_0x348e7e)?_0x1c2de5:_0x51ac91)[_0x32c134-0x1];}function _0x5f1f47(_0x370472,_0x73c8e0){const _0x12d95d=_0x491962(_0x370472)?_0x1c2de5:_0x51ac91,_0x155ec4=_0x12d95d['findIndex'](_0x1c8168=>_0x1c8168<_0x73c8e0);return{'month':_0x155ec4+0x1,'day':_0x73c8e0-_0x12d95d[_0x155ec4]};}function _0x8ec50(_0x432c72,_0x222443){return(_0x432c72-_0x222443+0x7)%0x7+0x1;}function _0x53d4b0(_0x3f3ae6,_0x3dabcb=0x4,_0x2491f1=0x1){const {year:_0x34fb0a,month:_0x2c5f3b,day:_0x364c9a}=_0x3f3ae6,_0x267e24=_0x462b4e(_0x34fb0a,_0x2c5f3b,_0x364c9a),_0x466a48=_0x8ec50(_0x102d9c(_0x34fb0a,_0x2c5f3b,_0x364c9a),_0x2491f1);let _0x5a3ed8,_0x15467f=Math['floor']((_0x267e24-_0x466a48+0xe-_0x3dabcb)/0x7);return _0x15467f<0x1?(_0x5a3ed8=_0x34fb0a-0x1,_0x15467f=_0x3d95a6(_0x5a3ed8,_0x3dabcb,_0x2491f1)):_0x15467f>_0x3d95a6(_0x34fb0a,_0x3dabcb,_0x2491f1)?(_0x5a3ed8=_0x34fb0a+0x1,_0x15467f=0x1):_0x5a3ed8=_0x34fb0a,{'weekYear':_0x5a3ed8,'weekNumber':_0x15467f,'weekday':_0x466a48,..._0x11768c(_0x3f3ae6)};}function _0x63360a(_0xd82109,_0x306054=0x4,_0x5732fd=0x1){const {weekYear:_0x5b5ea5,weekNumber:_0x1243c7,weekday:_0x45f6c0}=_0xd82109,_0x2aa52a=_0x8ec50(_0x102d9c(_0x5b5ea5,0x1,_0x306054),_0x5732fd),_0x4f367f=_0x168b4f(_0x5b5ea5);let _0x120498,_0x49489a=0x7*_0x1243c7+_0x45f6c0-_0x2aa52a-0x7+_0x306054;_0x49489a<0x1?(_0x120498=_0x5b5ea5-0x1,_0x49489a+=_0x168b4f(_0x120498)):_0x49489a>_0x4f367f?(_0x120498=_0x5b5ea5+0x1,_0x49489a-=_0x168b4f(_0x5b5ea5)):_0x120498=_0x5b5ea5;const {month:_0x1387a3,day:_0xe3a53b}=_0x5f1f47(_0x120498,_0x49489a);return{'year':_0x120498,'month':_0x1387a3,'day':_0xe3a53b,..._0x11768c(_0xd82109)};}function _0x5af2e9(_0x37f680){const {year:_0x1ba549,month:_0x1edb4f,day:_0x1b41e5}=_0x37f680;return{'year':_0x1ba549,'ordinal':_0x462b4e(_0x1ba549,_0x1edb4f,_0x1b41e5),..._0x11768c(_0x37f680)};}function _0x556fb3(_0x21fc43){const {year:_0xc5ea06,ordinal:_0x2a4fd8}=_0x21fc43,{month:_0x200ee9,day:_0x2b7caa}=_0x5f1f47(_0xc5ea06,_0x2a4fd8);return{'year':_0xc5ea06,'month':_0x200ee9,'day':_0x2b7caa,..._0x11768c(_0x21fc43)};}function _0x2a8582(_0x11deff,_0x50ddc){if(!_0x2a4399(_0x11deff['localWeekday'])||!_0x2a4399(_0x11deff['localWeekNumber'])||!_0x2a4399(_0x11deff['localWeekYear'])){if(!_0x2a4399(_0x11deff['weekday'])||!_0x2a4399(_0x11deff['weekNumber'])||!_0x2a4399(_0x11deff['weekYear']))throw new ConflictingSpecificationError('Cannot\x20mix\x20locale-based\x20week\x20fields\x20with\x20ISO-based\x20week\x20fields');return _0x2a4399(_0x11deff['localWeekday'])||(_0x11deff['weekday']=_0x11deff['localWeekday']),_0x2a4399(_0x11deff['localWeekNumber'])||(_0x11deff['weekNumber']=_0x11deff['localWeekNumber']),_0x2a4399(_0x11deff['localWeekYear'])||(_0x11deff['weekYear']=_0x11deff['localWeekYear']),delete _0x11deff['localWeekday'],delete _0x11deff['localWeekNumber'],delete _0x11deff['localWeekYear'],{'minDaysInFirstWeek':_0x50ddc['getMinDaysInFirstWeek'](),'startOfWeek':_0x50ddc['getStartOfWeek']()};}return{'minDaysInFirstWeek':0x4,'startOfWeek':0x1};}function _0x3fde59(_0x24fa0c){const _0x152e7c=_0xed0727(_0x24fa0c['year']),_0x111b91=_0x305c3b(_0x24fa0c['month'],0x1,0xc),_0x274127=_0x305c3b(_0x24fa0c['day'],0x1,_0x52134e(_0x24fa0c['year'],_0x24fa0c['month']));return _0x152e7c?_0x111b91?!_0x274127&&_0x1c71d1('day',_0x24fa0c['day']):_0x1c71d1('month',_0x24fa0c['month']):_0x1c71d1('year',_0x24fa0c['year']);}function _0x5f3ceb(_0x20c184){const {hour:_0x6a3cd6,minute:_0x2ca423,second:_0x593134,millisecond:_0x4392df}=_0x20c184,_0x234e3b=_0x305c3b(_0x6a3cd6,0x0,0x17)||0x18===_0x6a3cd6&&0x0===_0x2ca423&&0x0===_0x593134&&0x0===_0x4392df,_0x3e2056=_0x305c3b(_0x2ca423,0x0,0x3b),_0xd05c54=_0x305c3b(_0x593134,0x0,0x3b),_0x20a1a5=_0x305c3b(_0x4392df,0x0,0x3e7);return _0x234e3b?_0x3e2056?_0xd05c54?!_0x20a1a5&&_0x1c71d1('millisecond',_0x4392df):_0x1c71d1('second',_0x593134):_0x1c71d1('minute',_0x2ca423):_0x1c71d1('hour',_0x6a3cd6);}function _0x2a4399(_0x42b55b){return void 0x0===_0x42b55b;}function _0x15f55e(_0x1ca40f){return'number'==typeof _0x1ca40f;}function _0xed0727(_0x1697d3){return'number'==typeof _0x1697d3&&_0x1697d3%0x1==0x0;}function _0x182324(){try{return'undefined'!=typeof Intl&&!!Intl['RelativeTimeFormat'];}catch(_0x1cd59b){return!0x1;}}function _0x48f961(){try{return'undefined'!=typeof Intl&&!!Intl['Locale']&&('weekInfo'in Intl['Locale']['prototype']||'getWeekInfo'in Intl['Locale']['prototype']);}catch(_0x5523be){return!0x1;}}function _0x55ae23(_0x16b6f2,_0x581a25,_0x467e43){if(0x0!==_0x16b6f2['length'])return _0x16b6f2['reduce']((_0x28d251,_0x3637ad)=>{const _0x4f14b7=[_0x581a25(_0x3637ad),_0x3637ad];return _0x28d251&&_0x467e43(_0x28d251[0x0],_0x4f14b7[0x0])===_0x28d251[0x0]?_0x28d251:_0x4f14b7;},null)[0x1];}function _0x5a9b91(_0x5ab29b,_0x1ad5fa){return Object['prototype']['hasOwnProperty']['call'](_0x5ab29b,_0x1ad5fa);}function _0x523eb2(_0x58a252){if(null==_0x58a252)return null;if('object'!=typeof _0x58a252)throw new InvalidArgumentError('Week\x20settings\x20must\x20be\x20an\x20object');if(!_0x305c3b(_0x58a252['firstDay'],0x1,0x7)||!_0x305c3b(_0x58a252['minimalDays'],0x1,0x7)||!Array['isArray'](_0x58a252['weekend'])||_0x58a252['weekend']['some'](_0x263e86=>!_0x305c3b(_0x263e86,0x1,0x7)))throw new InvalidArgumentError('Invalid\x20week\x20settings');return{'firstDay':_0x58a252['firstDay'],'minimalDays':_0x58a252['minimalDays'],'weekend':Array['from'](_0x58a252['weekend'])};}function _0x305c3b(_0x24fe3b,_0xd466a3,_0x5c0269){return _0xed0727(_0x24fe3b)&&_0x24fe3b>=_0xd466a3&&_0x24fe3b<=_0x5c0269;}function _0x440eab(_0x447527,_0x19d702=0x2){let _0x218078;return _0x218078=_0x447527<0x0?'-'+(''+-_0x447527)['padStart'](_0x19d702,'0'):(''+_0x447527)['padStart'](_0x19d702,'0'),_0x218078;}function _0x56a184(_0x4c2817){return _0x2a4399(_0x4c2817)||null===_0x4c2817||''===_0x4c2817?void 0x0:parseInt(_0x4c2817,0xa);}function _0x4ff8a2(_0x493b94){return _0x2a4399(_0x493b94)||null===_0x493b94||''===_0x493b94?void 0x0:parseFloat(_0x493b94);}function _0x168da7(_0x3fc116){if(!_0x2a4399(_0x3fc116)&&null!==_0x3fc116&&''!==_0x3fc116){const _0x238116=0x3e8*parseFloat('0.'+_0x3fc116);return Math['floor'](_0x238116);}}function _0x4c7780(_0x200396,_0x1f93ad,_0x7f520e=!0x1){const _0x3f4aef=0xa**_0x1f93ad;return(_0x7f520e?Math['trunc']:Math['round'])(_0x200396*_0x3f4aef)/_0x3f4aef;}function _0x491962(_0x2fa9c3){return _0x2fa9c3%0x4==0x0&&(_0x2fa9c3%0x64!=0x0||_0x2fa9c3%0x190==0x0);}function _0x168b4f(_0x3fdaa6){return _0x491962(_0x3fdaa6)?0x16e:0x16d;}function _0x52134e(_0xcfd757,_0x3b43f5){const _0x2dd644=function(_0x2cee00,_0x2a36d7){return _0x2cee00-_0x2a36d7*Math['floor'](_0x2cee00/_0x2a36d7);}(_0x3b43f5-0x1,0xc)+0x1;return 0x2===_0x2dd644?_0x491962(_0xcfd757+(_0x3b43f5-_0x2dd644)/0xc)?0x1d:0x1c:[0x1f,null,0x1f,0x1e,0x1f,0x1e,0x1f,0x1f,0x1e,0x1f,0x1e,0x1f][_0x2dd644-0x1];}function _0x42cac0(_0x21d66d){let _0x30b4ef=Date['UTC'](_0x21d66d['year'],_0x21d66d['month']-0x1,_0x21d66d['day'],_0x21d66d['hour'],_0x21d66d['minute'],_0x21d66d['second'],_0x21d66d['millisecond']);return _0x21d66d['year']<0x64&&_0x21d66d['year']>=0x0&&(_0x30b4ef=new Date(_0x30b4ef),_0x30b4ef['setUTCFullYear'](_0x21d66d['year'],_0x21d66d['month']-0x1,_0x21d66d['day'])),+_0x30b4ef;}function tn(_0x2dc150,_0x4cf114,_0x102421){return-_0x8ec50(_0x102d9c(_0x2dc150,0x1,_0x4cf114),_0x102421)+_0x4cf114-0x1;}function _0x3d95a6(_0x1b13e3,_0x5e121d=0x4,_0x32e88b=0x1){const _0x95b75c=tn(_0x1b13e3,_0x5e121d,_0x32e88b),_0x225ab8=tn(_0x1b13e3+0x1,_0x5e121d,_0x32e88b);return(_0x168b4f(_0x1b13e3)-_0x95b75c+_0x225ab8)/0x7;}function _0x2f7f24(_0x48d16d){return _0x48d16d>0x63?_0x48d16d:_0x48d16d>Settings['twoDigitCutoffYear']?0x76c+_0x48d16d:0x7d0+_0x48d16d;}function _0x127172(_0x5e291e,_0x4e03cd,_0x3eae3d,_0x160611=null){const _0x271fd1=new Date(_0x5e291e),_0xda0684={'hourCycle':'h23','year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit'};_0x160611&&(_0xda0684['timeZone']=_0x160611);const _0x36abe6={'timeZoneName':_0x4e03cd,..._0xda0684},_0x29b34a=new Intl['DateTimeFormat'](_0x3eae3d,_0x36abe6)['formatToParts'](_0x271fd1)['find'](_0x1069b6=>'timezonename'===_0x1069b6['type']['toLowerCase']());return _0x29b34a?_0x29b34a['value']:null;}function _0x292670(_0x329062,_0x5ab01c){let _0x461ae9=parseInt(_0x329062,0xa);Number['isNaN'](_0x461ae9)&&(_0x461ae9=0x0);const _0x57d291=parseInt(_0x5ab01c,0xa)||0x0;return 0x3c*_0x461ae9+(_0x461ae9<0x0||Object['is'](_0x461ae9,-0x0)?-_0x57d291:_0x57d291);}function _0x2ebe64(_0x47332f){const _0x2088cd=Number(_0x47332f);if('boolean'==typeof _0x47332f||''===_0x47332f||Number['isNaN'](_0x2088cd))throw new InvalidArgumentError('Invalid\x20unit\x20value\x20'+_0x47332f);return _0x2088cd;}function _0xcd427d(_0x1161b7,_0x15f95){const _0x2b6f7c={};for(const _0x3285da in _0x1161b7)if(_0x5a9b91(_0x1161b7,_0x3285da)){const _0x114207=_0x1161b7[_0x3285da];if(null==_0x114207)continue;_0x2b6f7c[_0x15f95(_0x3285da)]=_0x2ebe64(_0x114207);}return _0x2b6f7c;}function _0x298fa2(_0x4999d9,_0x7c4080){const _0x103ad6=Math['trunc'](Math['abs'](_0x4999d9/0x3c)),_0x5abf0e=Math['trunc'](Math['abs'](_0x4999d9%0x3c)),_0x434850=_0x4999d9>=0x0?'+':'-';switch(_0x7c4080){case'short':return''+_0x434850+_0x440eab(_0x103ad6,0x2)+':'+_0x440eab(_0x5abf0e,0x2);case'narrow':return''+_0x434850+_0x103ad6+(_0x5abf0e>0x0?':'+_0x5abf0e:'');case'techie':return''+_0x434850+_0x440eab(_0x103ad6,0x2)+_0x440eab(_0x5abf0e,0x2);default:throw new RangeError('Value\x20format\x20'+_0x7c4080+'\x20is\x20out\x20of\x20range\x20for\x20property\x20format');}}function _0x11768c(_0x167d7e){return function(_0x4e2bc7,_0x234745){return _0x234745['reduce']((_0x3ce7cc,_0x2bfd5f)=>(_0x3ce7cc[_0x2bfd5f]=_0x4e2bc7[_0x2bfd5f],_0x3ce7cc),{});}(_0x167d7e,['hour','minute','second','millisecond']);}const _0x79d195=['January','February','March','April','May','June','July','August','September','October','November','December'],_0x11addb=['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],_0x394405=['J','F','M','A','M','J','J','A','S','O','N','D'];function _0x183144(_0x4ea04f){switch(_0x4ea04f){case'narrow':return[..._0x394405];case'short':return[..._0x11addb];case'long':return[..._0x79d195];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 _0x2f2fb8=['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],_0x128a4b=['Mon','Tue','Wed','Thu','Fri','Sat','Sun'],_0x1b053b=['M','T','W','T','F','S','S'];function _0x1892b2(_0x343d10){switch(_0x343d10){case'narrow':return[..._0x1b053b];case'short':return[..._0x128a4b];case'long':return[..._0x2f2fb8];case'numeric':return['1','2','3','4','5','6','7'];default:return null;}}const _0x4763a7=['AM','PM'],_0x3b62f8=['Before\x20Christ','Anno\x20Domini'],_0x401a8=['BC','AD'],_0x4f9270=['B','A'];function _0x31eecf(_0xdee655){switch(_0xdee655){case'narrow':return[..._0x4f9270];case'short':return[..._0x401a8];case'long':return[..._0x3b62f8];default:return null;}}function _0x13c96c(_0x544ed2,_0x3e6d82){let _0x3d83f2='';for(const _0x573a82 of _0x544ed2)_0x573a82['literal']?_0x3d83f2+=_0x573a82['val']:_0x3d83f2+=_0x3e6d82(_0x573a82['val']);return _0x3d83f2;}const _0x85303e={'D':_0x196798,'DD':_0x22a09b,'DDD':_0x503f55,'DDDD':_0x3fa6ab,'t':_0x564f03,'tt':_0x1d69f3,'ttt':_0x3e15ff,'tttt':_0x27c544,'T':_0x5dea3f,'TT':_0x26c917,'TTT':_0x29ca48,'TTTT':_0x19694d,'f':_0x1a9aa8,'ff':_0x39fbb4,'fff':_0x3f7786,'ffff':_0x334d47,'F':_0x5919b0,'FF':_0x526310,'FFF':_0x230ec2,'FFFF':_0x4cf81d};class Formatter{static['create'](_0x74cdf1,_0x1368ac={}){return new Formatter(_0x74cdf1,_0x1368ac);}static['parseFormat'](_0x332f59){let _0x5da384=null,_0x3d84ce='',_0x416519=!0x1;const _0x3801d9=[];for(let _0x2c4afe=0x0;_0x2c4afe<_0x332f59['length'];_0x2c4afe++){const _0x46966b=_0x332f59['charAt'](_0x2c4afe);'\x27'===_0x46966b?(_0x3d84ce['length']>0x0&&_0x3801d9['push']({'literal':_0x416519||/^\s+$/['test'](_0x3d84ce),'val':_0x3d84ce}),_0x5da384=null,_0x3d84ce='',_0x416519=!_0x416519):_0x416519||_0x46966b===_0x5da384?_0x3d84ce+=_0x46966b:(_0x3d84ce['length']>0x0&&_0x3801d9['push']({'literal':/^\s+$/['test'](_0x3d84ce),'val':_0x3d84ce}),_0x3d84ce=_0x46966b,_0x5da384=_0x46966b);}return _0x3d84ce['length']>0x0&&_0x3801d9['push']({'literal':_0x416519||/^\s+$/['test'](_0x3d84ce),'val':_0x3d84ce}),_0x3801d9;}static['macroTokenToFormatOpts'](_0x3426ac){return _0x85303e[_0x3426ac];}constructor(_0x56b505,_0x4ed8a1){this['opts']=_0x4ed8a1,this['loc']=_0x56b505,this['systemLoc']=null;}['formatWithSystemDefault'](_0x40a1d2,_0x5e9ef4){return null===this['systemLoc']&&(this['systemLoc']=this['loc']['redefaultToSystem']()),this['systemLoc']['dtFormatter'](_0x40a1d2,{...this['opts'],..._0x5e9ef4})['format']();}['dtFormatter'](_0x37051c,_0x18f286={}){return this['loc']['dtFormatter'](_0x37051c,{...this['opts'],..._0x18f286});}['formatDateTime'](_0x17d93c,_0x53809e){return this['dtFormatter'](_0x17d93c,_0x53809e)['format']();}['formatDateTimeParts'](_0x56eec0,_0x324b0b){return this['dtFormatter'](_0x56eec0,_0x324b0b)['formatToParts']();}['formatInterval'](_0x2ab8bd,_0x2f51fc){return this['dtFormatter'](_0x2ab8bd['start'],_0x2f51fc)['dtf']['formatRange'](_0x2ab8bd['start']['toJSDate'](),_0x2ab8bd['end']['toJSDate']());}['resolvedOptions'](_0x24ba61,_0x499ec4){return this['dtFormatter'](_0x24ba61,_0x499ec4)['resolvedOptions']();}['num'](_0x26c3d4,_0x1c8380=0x0){if(this['opts']['forceSimple'])return _0x440eab(_0x26c3d4,_0x1c8380);const _0x27e817={...this['opts']};return _0x1c8380>0x0&&(_0x27e817['padTo']=_0x1c8380),this['loc']['numberFormatter'](_0x27e817)['format'](_0x26c3d4);}['formatDateTimeFromString'](_0x2abbac,_0x3979de){const _0x4694ad='en'===this['loc']['listingMode'](),_0x5a28e6=this['loc']['outputCalendar']&&'gregory'!==this['loc']['outputCalendar'],_0x32c671=(_0x16cd30,_0x5a4a1c)=>this['loc']['extract'](_0x2abbac,_0x16cd30,_0x5a4a1c),_0xf47d53=_0x28c114=>_0x2abbac['isOffsetFixed']&&0x0===_0x2abbac['offset']&&_0x28c114['allowZ']?'Z':_0x2abbac['isValid']?_0x2abbac['zone']['formatOffset'](_0x2abbac['ts'],_0x28c114['format']):'',_0x31afae=()=>_0x4694ad?function(_0x2a541a){return _0x4763a7[_0x2a541a['hour']<0xc?0x0:0x1];}(_0x2abbac):_0x32c671({'hour':'numeric','hourCycle':'h12'},'dayperiod'),_0x59b9c9=(_0x425f99,_0x272d8b)=>_0x4694ad?function(_0xaa4e57,_0x24b61b){return _0x183144(_0x24b61b)[_0xaa4e57['month']-0x1];}(_0x2abbac,_0x425f99):_0x32c671(_0x272d8b?{'month':_0x425f99}:{'month':_0x425f99,'day':'numeric'},'month'),_0x28a60e=(_0x10ac0d,_0x106770)=>_0x4694ad?function(_0x4b9ccc,_0x29325e){return _0x1892b2(_0x29325e)[_0x4b9ccc['weekday']-0x1];}(_0x2abbac,_0x10ac0d):_0x32c671(_0x106770?{'weekday':_0x10ac0d}:{'weekday':_0x10ac0d,'month':'long','day':'numeric'},'weekday'),_0x1e2a23=_0x5b38aa=>{const _0x4352de=Formatter['macroTokenToFormatOpts'](_0x5b38aa);return _0x4352de?this['formatWithSystemDefault'](_0x2abbac,_0x4352de):_0x5b38aa;},_0x5f2ed4=_0x21e332=>_0x4694ad?function(_0x47e610,_0x416223){return _0x31eecf(_0x416223)[_0x47e610['year']<0x0?0x0:0x1];}(_0x2abbac,_0x21e332):_0x32c671({'era':_0x21e332},'era');return _0x13c96c(Formatter['parseFormat'](_0x3979de),_0x24cbc0=>{switch(_0x24cbc0){case'S':return this['num'](_0x2abbac['millisecond']);case'u':case'SSS':return this['num'](_0x2abbac['millisecond'],0x3);case's':return this['num'](_0x2abbac['second']);case'ss':return this['num'](_0x2abbac['second'],0x2);case'uu':return this['num'](Math['floor'](_0x2abbac['millisecond']/0xa),0x2);case'uuu':return this['num'](Math['floor'](_0x2abbac['millisecond']/0x64));case'm':return this['num'](_0x2abbac['minute']);case'mm':return this['num'](_0x2abbac['minute'],0x2);case'h':return this['num'](_0x2abbac['hour']%0xc==0x0?0xc:_0x2abbac['hour']%0xc);case'hh':return this['num'](_0x2abbac['hour']%0xc==0x0?0xc:_0x2abbac['hour']%0xc,0x2);case'H':return this['num'](_0x2abbac['hour']);case'HH':return this['num'](_0x2abbac['hour'],0x2);case'Z':return _0xf47d53({'format':'narrow','allowZ':this['opts']['allowZ']});case'ZZ':return _0xf47d53({'format':'short','allowZ':this['opts']['allowZ']});case'ZZZ':return _0xf47d53({'format':'techie','allowZ':this['opts']['allowZ']});case'ZZZZ':return _0x2abbac['zone']['offsetName'](_0x2abbac['ts'],{'format':'short','locale':this['loc']['locale']});case'ZZZZZ':return _0x2abbac['zone']['offsetName'](_0x2abbac['ts'],{'format':'long','locale':this['loc']['locale']});case'z':return _0x2abbac['zoneName'];case'a':return _0x31afae();case'd':return _0x5a28e6?_0x32c671({'day':'numeric'},'day'):this['num'](_0x2abbac['day']);case'dd':return _0x5a28e6?_0x32c671({'day':'2-digit'},'day'):this['num'](_0x2abbac['day'],0x2);case'c':case'E':return this['num'](_0x2abbac['weekday']);case'ccc':return _0x28a60e('short',!0x0);case'cccc':return _0x28a60e('long',!0x0);case'ccccc':return _0x28a60e('narrow',!0x0);case'EEE':return _0x28a60e('short',!0x1);case'EEEE':return _0x28a60e('long',!0x1);case'EEEEE':return _0x28a60e('narrow',!0x1);case'L':return _0x5a28e6?_0x32c671({'month':'numeric','day':'numeric'},'month'):this['num'](_0x2abbac['month']);case'LL':return _0x5a28e6?_0x32c671({'month':'2-digit','day':'numeric'},'month'):this['num'](_0x2abbac['month'],0x2);case'LLL':return _0x59b9c9('short',!0x0);case'LLLL':return _0x59b9c9('long',!0x0);case'LLLLL':return _0x59b9c9('narrow',!0x0);case'M':return _0x5a28e6?_0x32c671({'month':'numeric'},'month'):this['num'](_0x2abbac['month']);case'MM':return _0x5a28e6?_0x32c671({'month':'2-digit'},'month'):this['num'](_0x2abbac['month'],0x2);case'MMM':return _0x59b9c9('short',!0x1);case'MMMM':return _0x59b9c9('long',!0x1);case'MMMMM':return _0x59b9c9('narrow',!0x1);case'y':return _0x5a28e6?_0x32c671({'year':'numeric'},'year'):this['num'](_0x2abbac['year']);case'yy':return _0x5a28e6?_0x32c671({'year':'2-digit'},'year'):this['num'](_0x2abbac['year']['toString']()['slice'](-0x2),0x2);case'yyyy':return _0x5a28e6?_0x32c671({'year':'numeric'},'year'):this['num'](_0x2abbac['year'],0x4);case'yyyyyy':return _0x5a28e6?_0x32c671({'year':'numeric'},'year'):this['num'](_0x2abbac['year'],0x6);case'G':return _0x5f2ed4('short');case'GG':return _0x5f2ed4('long');case'GGGGG':return _0x5f2ed4('narrow');case'kk':return this['num'](_0x2abbac['weekYear']['toString']()['slice'](-0x2),0x2);case'kkkk':return this['num'](_0x2abbac['weekYear'],0x4);case'W':return this['num'](_0x2abbac['weekNumber']);case'WW':return this['num'](_0x2abbac['weekNumber'],0x2);case'n':return this['num'](_0x2abbac['localWeekNumber']);case'nn':return this['num'](_0x2abbac['localWeekNumber'],0x2);case'ii':return this['num'](_0x2abbac['localWeekYear']['toString']()['slice'](-0x2),0x2);case'iiii':return this['num'](_0x2abbac['localWeekYear'],0x4);case'o':return this['num'](_0x2abbac['ordinal']);case'ooo':return this['num'](_0x2abbac['ordinal'],0x3);case'q':return this['num'](_0x2abbac['quarter']);case'qq':return this['num'](_0x2abbac['quarter'],0x2);case'X':return this['num'](Math['floor'](_0x2abbac['ts']/0x3e8));case'x':return this['num'](_0x2abbac['ts']);default:return _0x1e2a23(_0x24cbc0);}});}['formatDurationFromString'](_0x3b2f7a,_0x50eda9){const _0x3a6deb=_0x781c30=>{switch(_0x781c30[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;}},_0x37e2c4=Formatter['parseFormat'](_0x50eda9),_0x3143b5=_0x37e2c4['reduce']((_0x65883e,{literal:_0x410c02,val:_0xd8cccc})=>_0x410c02?_0x65883e:_0x65883e['concat'](_0xd8cccc),[]),_0x8cdb99=_0x3b2f7a['shiftTo'](..._0x3143b5['map'](_0x3a6deb)['filter'](t=>t));return _0x13c96c(_0x37e2c4,(_0x460e28=>_0x2beda9=>{const _0x5a9ef6=_0x3a6deb(_0x2beda9);return _0x5a9ef6?this['num'](_0x460e28['get'](_0x5a9ef6),_0x2beda9['length']):_0x2beda9;})(_0x8cdb99));}}const _0x18a8fa=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _0x2af8db(..._0x4d29dd){const _0x351f80=_0x4d29dd['reduce']((_0x374e2b,_0x16f5f7)=>_0x374e2b+_0x16f5f7['source'],'');return RegExp('^'+_0x351f80+'$');}function _0x5ee0c4(..._0x3ceadd){return _0x1a343c=>_0x3ceadd['reduce'](([_0x2cdc38,_0x34002e,_0x24337d],_0x490022)=>{const [_0x22f4f2,_0xa2f601,_0x130bb1]=_0x490022(_0x1a343c,_0x24337d);return[{..._0x2cdc38,..._0x22f4f2},_0xa2f601||_0x34002e,_0x130bb1];},[{},null,0x1])['slice'](0x0,0x2);}function _0x59dbab(_0x6ea559,..._0xca78d7){if(null==_0x6ea559)return[null,null];for(const [_0x12bd3d,_0x1fca30]of _0xca78d7){const _0x4a1110=_0x12bd3d['exec'](_0x6ea559);if(_0x4a1110)return _0x1fca30(_0x4a1110);}return[null,null];}function _0x3dd283(..._0x3703fe){return(_0xeb2e18,_0x42713a)=>{const _0x45be45={};let _0x418c3e;for(_0x418c3e=0x0;_0x418c3e<_0x3703fe['length'];_0x418c3e++)_0x45be45[_0x3703fe[_0x418c3e]]=_0x56a184(_0xeb2e18[_0x42713a+_0x418c3e]);return[_0x45be45,null,_0x42713a+_0x418c3e];};}const _0x3d3475=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,_0x38e7f4=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,_0x1af197=RegExp(''+_0x38e7f4['source']+('(?:'+_0x3d3475['source']+'?(?:\x5c[('+_0x18a8fa['source']+')\x5c])?)?')),_0x5af46c=RegExp('(?:T'+_0x1af197['source']+')?'),_0xe46b61=_0x3dd283('weekYear','weekNumber','weekDay'),_0x412403=_0x3dd283('year','ordinal'),_0x337dfb=RegExp(_0x38e7f4['source']+'\x20?(?:'+_0x3d3475['source']+'|('+_0x18a8fa['source']+'))?'),_0x30c7e1=RegExp('(?:\x20'+_0x337dfb['source']+')?');function _0x4de50a(_0x968e72,_0x146556,_0x5ed6da){const _0x1b068d=_0x968e72[_0x146556];return _0x2a4399(_0x1b068d)?_0x5ed6da:_0x56a184(_0x1b068d);}function _0x5b4fe2(_0x4984e6,_0x5ef763){return[{'hours':_0x4de50a(_0x4984e6,_0x5ef763,0x0),'minutes':_0x4de50a(_0x4984e6,_0x5ef763+0x1,0x0),'seconds':_0x4de50a(_0x4984e6,_0x5ef763+0x2,0x0),'milliseconds':_0x168da7(_0x4984e6[_0x5ef763+0x3])},null,_0x5ef763+0x4];}function _0x29e1dd(_0xeaa761,_0x3fe5e0){const _0xd425c1=!_0xeaa761[_0x3fe5e0]&&!_0xeaa761[_0x3fe5e0+0x1],_0x278f8e=_0x292670(_0xeaa761[_0x3fe5e0+0x1],_0xeaa761[_0x3fe5e0+0x2]);return[{},_0xd425c1?null:FixedOffsetZone['instance'](_0x278f8e),_0x3fe5e0+0x3];}function _0x60c165(_0x12366d,_0x2baf24){return[{},_0x12366d[_0x2baf24]?_0x508e9f['create'](_0x12366d[_0x2baf24]):null,_0x2baf24+0x1];}const _0x10c0ca=RegExp('^T?'+_0x38e7f4['source']+'$'),_0x2cb652=/^-?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 _0x3985d5(_0x24990b){const [_0x1e2f0d,_0x26ea17,_0x62e83b,_0x346f14,_0x5de9fb,_0x1f1878,_0x49110b,_0x21b174,_0x2b2811]=_0x24990b,_0x478aed='-'===_0x1e2f0d[0x0],_0x3b0d66=_0x21b174&&'-'===_0x21b174[0x0],_0x3a7a51=(_0x28ae88,_0x3e5a87=!0x1)=>void 0x0!==_0x28ae88&&(_0x3e5a87||_0x28ae88&&_0x478aed)?-_0x28ae88:_0x28ae88;return[{'years':_0x3a7a51(_0x4ff8a2(_0x26ea17)),'months':_0x3a7a51(_0x4ff8a2(_0x62e83b)),'weeks':_0x3a7a51(_0x4ff8a2(_0x346f14)),'days':_0x3a7a51(_0x4ff8a2(_0x5de9fb)),'hours':_0x3a7a51(_0x4ff8a2(_0x1f1878)),'minutes':_0x3a7a51(_0x4ff8a2(_0x49110b)),'seconds':_0x3a7a51(_0x4ff8a2(_0x21b174),'-0'===_0x21b174),'milliseconds':_0x3a7a51(_0x168da7(_0x2b2811),_0x3b0d66)}];}const _0x1010ed={'GMT':0x0,'EDT':-0xf0,'EST':-0x12c,'CDT':-0x12c,'CST':-0x168,'MDT':-0x168,'MST':-0x1a4,'PDT':-0x1a4,'PST':-0x1e0};function _0xfaa718(_0x5c37f1,_0x8c73ea,_0x2bc6ee,_0x54206b,_0x5acd8b,_0xa4f61,_0x3a0088){const _0x4d2502={'year':0x2===_0x8c73ea['length']?_0x2f7f24(_0x56a184(_0x8c73ea)):_0x56a184(_0x8c73ea),'month':_0x11addb['indexOf'](_0x2bc6ee)+0x1,'day':_0x56a184(_0x54206b),'hour':_0x56a184(_0x5acd8b),'minute':_0x56a184(_0xa4f61)};return _0x3a0088&&(_0x4d2502['second']=_0x56a184(_0x3a0088)),_0x5c37f1&&(_0x4d2502['weekday']=_0x5c37f1['length']>0x3?_0x2f2fb8['indexOf'](_0x5c37f1)+0x1:_0x128a4b['indexOf'](_0x5c37f1)+0x1),_0x4d2502;}const _0x43bc8a=/^(?:(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 _0x318c31(_0x12ba93){const [,_0x4e1a18,_0x586262,_0x54747f,_0x40a9ac,_0x321845,_0x24f07c,_0x4ef1f0,_0xff17ac,_0x40258b,_0x39a4f5,_0x2a87df]=_0x12ba93,_0x48034a=_0xfaa718(_0x4e1a18,_0x40a9ac,_0x54747f,_0x586262,_0x321845,_0x24f07c,_0x4ef1f0);let _0x5e3510;return _0x5e3510=_0xff17ac?_0x1010ed[_0xff17ac]:_0x40258b?0x0:_0x292670(_0x39a4f5,_0x2a87df),[_0x48034a,new FixedOffsetZone(_0x5e3510)];}const _0x1c8e33=/^(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$/,_0x4b6faa=/^(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$/,_0xb488a8=/^(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 _0x48b326(_0x1ef2a9){const [,_0x31fe43,_0x4aeaea,_0x3e2a08,_0x116026,_0x3fc1d1,_0x20a357,_0x1ad8b9]=_0x1ef2a9;return[_0xfaa718(_0x31fe43,_0x116026,_0x3e2a08,_0x4aeaea,_0x3fc1d1,_0x20a357,_0x1ad8b9),FixedOffsetZone['utcInstance']];}function _0x3ab3e4(_0x50597c){const [,_0x5183aa,_0x41bd7c,_0x407e3c,_0x47d190,_0x3793c1,_0x5e9578,_0x5b094f]=_0x50597c;return[_0xfaa718(_0x5183aa,_0x5b094f,_0x41bd7c,_0x407e3c,_0x47d190,_0x3793c1,_0x5e9578),FixedOffsetZone['utcInstance']];}const tr=_0x2af8db(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,_0x5af46c),_0x47ffbe=_0x2af8db(/(\d{4})-?W(\d\d)(?:-?(\d))?/,_0x5af46c),_0x5b69ac=_0x2af8db(/(\d{4})-?(\d{3})/,_0x5af46c),_0x1396c7=_0x2af8db(_0x1af197),_0x146a55=_0x5ee0c4(function(_0x46ba67,_0xc3f527){return[{'year':_0x4de50a(_0x46ba67,_0xc3f527),'month':_0x4de50a(_0x46ba67,_0xc3f527+0x1,0x1),'day':_0x4de50a(_0x46ba67,_0xc3f527+0x2,0x1)},null,_0xc3f527+0x3];},_0x5b4fe2,_0x29e1dd,_0x60c165),_0x43ccc6=_0x5ee0c4(_0xe46b61,_0x5b4fe2,_0x29e1dd,_0x60c165),_0x4d75da=_0x5ee0c4(_0x412403,_0x5b4fe2,_0x29e1dd,_0x60c165),_0xbfbcc=_0x5ee0c4(_0x5b4fe2,_0x29e1dd,_0x60c165),_0x8972f7=_0x5ee0c4(_0x5b4fe2),_0x317fcf=_0x2af8db(/(\d{4})-(\d\d)-(\d\d)/,_0x30c7e1),_0x1b4b79=_0x2af8db(_0x337dfb),_0x34f22c=_0x5ee0c4(_0x5b4fe2,_0x29e1dd,_0x60c165),_0x3f9e0e='Invalid\x20Duration',_0xbcbe8f={'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}},_0x713c23={'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},..._0xbcbe8f},_0x492e97=365.2425,_0x5e61f5=30.436875,_0x257a1e={'years':{'quarters':0x4,'months':0xc,'weeks':52.1775,'days':_0x492e97,'hours':8765.82,'minutes':525949.2,'seconds':525949.2*0x3c,'milliseconds':525949.2*0x3c*0x3e8},'quarters':{'months':0x3,'weeks':13.044375,'days':91.310625,'hours':2191.455,'minutes':131487.3,'seconds':525949.2*0x3c/0x4,'milliseconds':7889237999.999999},'months':{'weeks':4.3481250000000005,'days':_0x5e61f5,'hours':730.485,'minutes':43829.1,'seconds':0x282072,'milliseconds':0x9cbebd50},..._0xbcbe8f},_0x4ce444=['years','quarters','months','weeks','days','hours','minutes','seconds','milliseconds'],_0x53e62e=_0x4ce444['slice'](0x0)['reverse']();function _0x414eac(_0x461b2c,_0x1140dd,_0x341261=!0x1){const _0x391ee3={'values':_0x341261?_0x1140dd['values']:{..._0x461b2c['values'],..._0x1140dd['values']||{}},'loc':_0x461b2c['loc']['clone'](_0x1140dd['loc']),'conversionAccuracy':_0x1140dd['conversionAccuracy']||_0x461b2c['conversionAccuracy'],'matrix':_0x1140dd['matrix']||_0x461b2c['matrix']};return new Duration(_0x391ee3);}function _0x580374(_0x47bf21,_0xca785){let _0x172186=_0xca785['milliseconds']??0x0;for(const _0x59b03e of _0x53e62e['slice'](0x1))_0xca785[_0x59b03e]&&(_0x172186+=_0xca785[_0x59b03e]*_0x47bf21[_0x59b03e]['milliseconds']);return _0x172186;}function _0x5f49b7(_0x1a4a3f,_0xee5039){const _0x4a8cbc=_0x580374(_0x1a4a3f,_0xee5039)<0x0?-0x1:0x1;_0x4ce444['reduceRight']((_0x2b2ca3,_0x2af543)=>{if(_0x2a4399(_0xee5039[_0x2af543]))return _0x2b2ca3;if(_0x2b2ca3){const _0x478daa=_0xee5039[_0x2b2ca3]*_0x4a8cbc,_0x1fed0a=_0x1a4a3f[_0x2af543][_0x2b2ca3],_0x18ac60=Math['floor'](_0x478daa/_0x1fed0a);_0xee5039[_0x2af543]+=_0x18ac60*_0x4a8cbc,_0xee5039[_0x2b2ca3]-=_0x18ac60*_0x1fed0a*_0x4a8cbc;}return _0x2af543;},null),_0x4ce444['reduce']((_0x454480,_0x4ed80d)=>{if(_0x2a4399(_0xee5039[_0x4ed80d]))return _0x454480;if(_0x454480){const _0x1f1acf=_0xee5039[_0x454480]%0x1;_0xee5039[_0x454480]-=_0x1f1acf,_0xee5039[_0x4ed80d]+=_0x1f1acf*_0x1a4a3f[_0x454480][_0x4ed80d];}return _0x4ed80d;},null);}class Duration{constructor(_0x4ca51f){const _0x257506='longterm'===_0x4ca51f['conversionAccuracy']||!0x1;let _0xfc26e1=_0x257506?_0x257a1e:_0x713c23;_0x4ca51f['matrix']&&(_0xfc26e1=_0x4ca51f['matrix']),this['values']=_0x4ca51f['values'],this['loc']=_0x4ca51f['loc']||_0x4e5663['create'](),this['conversionAccuracy']=_0x257506?'longterm':'casual',this['invalid']=_0x4ca51f['invalid']||null,this['matrix']=_0xfc26e1,this['isLuxonDuration']=!0x0;}static['fromMillis'](_0x385612,_0x2f1b72){return Duration['fromObject']({'milliseconds':_0x385612},_0x2f1b72);}static['fromObject'](_0x59fad3,_0x12b350={}){if(null==_0x59fad3||'object'!=typeof _0x59fad3)throw new InvalidArgumentError('Duration.fromObject:\x20argument\x20expected\x20to\x20be\x20an\x20object,\x20got\x20'+(null===_0x59fad3?'null':typeof _0x59fad3));return new Duration({'values':_0xcd427d(_0x59fad3,Duration['normalizeUnit']),'loc':_0x4e5663['fromObject'](_0x12b350),'conversionAccuracy':_0x12b350['conversionAccuracy'],'matrix':_0x12b350['matrix']});}static['fromDurationLike'](_0xf4d00){if(_0x15f55e(_0xf4d00))return Duration['fromMillis'](_0xf4d00);if(Duration['isDuration'](_0xf4d00))return _0xf4d00;if('object'==typeof _0xf4d00)return Duration['fromObject'](_0xf4d00);throw new InvalidArgumentError('Unknown\x20duration\x20argument\x20'+_0xf4d00+'\x20of\x20type\x20'+typeof _0xf4d00);}static['fromISO'](_0x3a5801,_0x3cf393){const [_0x4b999c]=function(_0x274206){return _0x59dbab(_0x274206,[_0x2cb652,_0x3985d5]);}(_0x3a5801);return _0x4b999c?Duration['fromObject'](_0x4b999c,_0x3cf393):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x3a5801+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['fromISOTime'](_0xcd5586,_0x1eac80){const [_0x460b7d]=function(_0x4b9a20){return _0x59dbab(_0x4b9a20,[_0x10c0ca,_0x8972f7]);}(_0xcd5586);return _0x460b7d?Duration['fromObject'](_0x460b7d,_0x1eac80):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0xcd5586+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['invalid'](_0xd0ef09,_0x307831=null){if(!_0xd0ef09)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Duration\x20is\x20invalid');const _0x43c28b=_0xd0ef09 instanceof _0x1b2b84?_0xd0ef09:new _0x1b2b84(_0xd0ef09,_0x307831);if(Settings['throwOnInvalid'])throw new InvalidDurationError(_0x43c28b);return new Duration({'invalid':_0x43c28b});}static['normalizeUnit'](_0x58f40f){const _0x5296f1={'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'}[_0x58f40f?_0x58f40f['toLowerCase']():_0x58f40f];if(!_0x5296f1)throw new InvalidUnitError(_0x58f40f);return _0x5296f1;}static['isDuration'](_0x52116a){return _0x52116a&&_0x52116a['isLuxonDuration']||!0x1;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get['numberingSystem'](){return this['isValid']?this['loc']['numberingSystem']:null;}['toFormat'](_0x2921cc,_0x2972db={}){const _0x44eb01={..._0x2972db,'floor':!0x1!==_0x2972db['round']&&!0x1!==_0x2972db['floor']};return this['isValid']?Formatter['create'](this['loc'],_0x44eb01)['formatDurationFromString'](this,_0x2921cc):_0x3f9e0e;}['toHuman'](_0x1bbc45={}){if(!this['isValid'])return _0x3f9e0e;const _0x77803b=_0x4ce444['map'](_0x305f12=>{const _0x2b3e8e=this['values'][_0x305f12];return _0x2a4399(_0x2b3e8e)?null:this['loc']['numberFormatter']({'style':'unit','unitDisplay':'long',..._0x1bbc45,'unit':_0x305f12['slice'](0x0,-0x1)})['format'](_0x2b3e8e);})['filter'](_0x392e94=>_0x392e94);return this['loc']['listFormatter']({'type':'conjunction','style':_0x1bbc45['listStyle']||'narrow',..._0x1bbc45})['format'](_0x77803b);}['toObject'](){return this['isValid']?{...this['values']}:{};}['toISO'](){if(!this['isValid'])return null;let _0x1b7e41='P';return 0x0!==this['years']&&(_0x1b7e41+=this['years']+'Y'),0x0===this['months']&&0x0===this['quarters']||(_0x1b7e41+=this['months']+0x3*this['quarters']+'M'),0x0!==this['weeks']&&(_0x1b7e41+=this['weeks']+'W'),0x0!==this['days']&&(_0x1b7e41+=this['days']+'D'),0x0===this['hours']&&0x0===this['minutes']&&0x0===this['seconds']&&0x0===this['milliseconds']||(_0x1b7e41+='T'),0x0!==this['hours']&&(_0x1b7e41+=this['hours']+'H'),0x0!==this['minutes']&&(_0x1b7e41+=this['minutes']+'M'),0x0===this['seconds']&&0x0===this['milliseconds']||(_0x1b7e41+=_0x4c7780(this['seconds']+this['milliseconds']/0x3e8,0x3)+'S'),'P'===_0x1b7e41&&(_0x1b7e41+='T0S'),_0x1b7e41;}['toISOTime'](_0x544fb1={}){if(!this['isValid'])return null;const _0x4735bb=this['toMillis']();if(_0x4735bb<0x0||_0x4735bb>=0x5265c00)return null;return _0x544fb1={'suppressMilliseconds':!0x1,'suppressSeconds':!0x1,'includePrefix':!0x1,'format':'extended',..._0x544fb1,'includeOffset':!0x1},DateTime['fromMillis'](_0x4735bb,{'zone':'UTC'})['toISOTime'](_0x544fb1);}['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']?_0x580374(this['matrix'],this['values']):NaN;}['valueOf'](){return this['toMillis']();}['plus'](_0x1fe33d){if(!this['isValid'])return this;const _0x3db340=Duration['fromDurationLike'](_0x1fe33d),_0x4646c1={};for(const _0x14ce99 of _0x4ce444)(_0x5a9b91(_0x3db340['values'],_0x14ce99)||_0x5a9b91(this['values'],_0x14ce99))&&(_0x4646c1[_0x14ce99]=_0x3db340['get'](_0x14ce99)+this['get'](_0x14ce99));return _0x414eac(this,{'values':_0x4646c1},!0x0);}['minus'](_0x2677af){if(!this['isValid'])return this;const _0x15b67e=Duration['fromDurationLike'](_0x2677af);return this['plus'](_0x15b67e['negate']());}['mapUnits'](_0x3b6d19){if(!this['isValid'])return this;const _0x1fba2a={};for(const _0x44a83c of Object['keys'](this['values']))_0x1fba2a[_0x44a83c]=_0x2ebe64(_0x3b6d19(this['values'][_0x44a83c],_0x44a83c));return _0x414eac(this,{'values':_0x1fba2a},!0x0);}['get'](_0x5a99bf){return this[Duration['normalizeUnit'](_0x5a99bf)];}['set'](_0x42d35a){if(!this['isValid'])return this;return _0x414eac(this,{'values':{...this['values'],..._0xcd427d(_0x42d35a,Duration['normalizeUnit'])}});}['reconfigure']({locale:_0x5b9c3b,numberingSystem:_0x20c02c,conversionAccuracy:_0x63b92,matrix:_0x1ebf83}={}){return _0x414eac(this,{'loc':this['loc']['clone']({'locale':_0x5b9c3b,'numberingSystem':_0x20c02c}),'matrix':_0x1ebf83,'conversionAccuracy':_0x63b92});}['as'](_0x53c09f){return this['isValid']?this['shiftTo'](_0x53c09f)['get'](_0x53c09f):NaN;}['normalize'](){if(!this['isValid'])return this;const _0x24a34e=this['toObject']();return _0x5f49b7(this['matrix'],_0x24a34e),_0x414eac(this,{'values':_0x24a34e},!0x0);}['rescale'](){if(!this['isValid'])return this;const _0x383926=function(_0x3e069c){const _0x3fe240={};for(const [_0xbbd5b9,_0x159e9a]of Object['entries'](_0x3e069c))0x0!==_0x159e9a&&(_0x3fe240[_0xbbd5b9]=_0x159e9a);return _0x3fe240;}(this['normalize']()['shiftToAll']()['toObject']());return _0x414eac(this,{'values':_0x383926},!0x0);}['shiftTo'](..._0xc3426e){if(!this['isValid'])return this;if(0x0===_0xc3426e['length'])return this;_0xc3426e=_0xc3426e['map'](_0x746653=>Duration['normalizeUnit'](_0x746653));const _0x41d805={},_0x4db87d={},_0x5ed656=this['toObject']();let _0x15aa8f;for(const _0x406632 of _0x4ce444)if(_0xc3426e['indexOf'](_0x406632)>=0x0){_0x15aa8f=_0x406632;let _0x4bf496=0x0;for(const _0x142e91 in _0x4db87d)_0x4bf496+=this['matrix'][_0x142e91][_0x406632]*_0x4db87d[_0x142e91],_0x4db87d[_0x142e91]=0x0;_0x15f55e(_0x5ed656[_0x406632])&&(_0x4bf496+=_0x5ed656[_0x406632]);const _0x5b7b78=Math['trunc'](_0x4bf496);_0x41d805[_0x406632]=_0x5b7b78,_0x4db87d[_0x406632]=(0x3e8*_0x4bf496-0x3e8*_0x5b7b78)/0x3e8;}else _0x15f55e(_0x5ed656[_0x406632])&&(_0x4db87d[_0x406632]=_0x5ed656[_0x406632]);for(const _0x2c1579 in _0x4db87d)0x0!==_0x4db87d[_0x2c1579]&&(_0x41d805[_0x15aa8f]+=_0x2c1579===_0x15aa8f?_0x4db87d[_0x2c1579]:_0x4db87d[_0x2c1579]/this['matrix'][_0x15aa8f][_0x2c1579]);return _0x5f49b7(this['matrix'],_0x41d805),_0x414eac(this,{'values':_0x41d805},!0x0);}['shiftToAll'](){return this['isValid']?this['shiftTo']('years','months','weeks','days','hours','minutes','seconds','milliseconds'):this;}['negate'](){if(!this['isValid'])return this;const _0x2ee2f3={};for(const _0x406cb7 of Object['keys'](this['values']))_0x2ee2f3[_0x406cb7]=0x0===this['values'][_0x406cb7]?0x0:-this['values'][_0x406cb7];return _0x414eac(this,{'values':_0x2ee2f3},!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'](_0x4b619f){if(!this['isValid']||!_0x4b619f['isValid'])return!0x1;if(!this['loc']['equals'](_0x4b619f['loc']))return!0x1;function _0x14ddc2(_0x44ff22,_0x47251c){return void 0x0===_0x44ff22||0x0===_0x44ff22?void 0x0===_0x47251c||0x0===_0x47251c:_0x44ff22===_0x47251c;}for(const _0x2e4cd4 of _0x4ce444)if(!_0x14ddc2(this['values'][_0x2e4cd4],_0x4b619f['values'][_0x2e4cd4]))return!0x1;return!0x0;}}const _0x411a19='Invalid\x20Interval';class Interval{constructor(_0x487a76){this['s']=_0x487a76['start'],this['e']=_0x487a76['end'],this['invalid']=_0x487a76['invalid']||null,this['isLuxonInterval']=!0x0;}static['invalid'](_0xa2a12c,_0x4cd74d=null){if(!_0xa2a12c)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20Interval\x20is\x20invalid');const _0x3c977b=_0xa2a12c instanceof _0x1b2b84?_0xa2a12c:new _0x1b2b84(_0xa2a12c,_0x4cd74d);if(Settings['throwOnInvalid'])throw new InvalidIntervalError(_0x3c977b);return new Interval({'invalid':_0x3c977b});}static['fromDateTimes'](_0x1154ec,_0x2e96d4){const _0x438ffe=_0x4c6383(_0x1154ec),_0x2eac43=_0x4c6383(_0x2e96d4),_0x304c5d=function(_0x5ac37a,_0x5d0cee){return _0x5ac37a&&_0x5ac37a['isValid']?_0x5d0cee&&_0x5d0cee['isValid']?_0x5d0cee<_0x5ac37a?Interval['invalid']('end\x20before\x20start','The\x20end\x20of\x20an\x20interval\x20must\x20be\x20after\x20its\x20start,\x20but\x20you\x20had\x20start='+_0x5ac37a['toISO']()+'\x20and\x20end='+_0x5d0cee['toISO']()):null:Interval['invalid']('missing\x20or\x20invalid\x20end'):Interval['invalid']('missing\x20or\x20invalid\x20start');}(_0x438ffe,_0x2eac43);return null==_0x304c5d?new Interval({'start':_0x438ffe,'end':_0x2eac43}):_0x304c5d;}static['after'](_0x22e4e2,_0x508420){const _0x3cce69=Duration['fromDurationLike'](_0x508420),_0x5c0215=_0x4c6383(_0x22e4e2);return Interval['fromDateTimes'](_0x5c0215,_0x5c0215['plus'](_0x3cce69));}static['before'](_0x2527aa,_0x2cc350){const _0x2c95d0=Duration['fromDurationLike'](_0x2cc350),_0x16498e=_0x4c6383(_0x2527aa);return Interval['fromDateTimes'](_0x16498e['minus'](_0x2c95d0),_0x16498e);}static['fromISO'](_0x383fc8,_0x2b36a2){const [_0x2674ae,_0x37b9f6]=(_0x383fc8||'')['split']('/',0x2);if(_0x2674ae&&_0x37b9f6){let _0x1832cf,_0x5cf173,_0x2acf8a,_0x35c290;try{_0x1832cf=DateTime['fromISO'](_0x2674ae,_0x2b36a2),_0x5cf173=_0x1832cf['isValid'];}catch(_0x8656e1){_0x5cf173=!0x1;}try{_0x2acf8a=DateTime['fromISO'](_0x37b9f6,_0x2b36a2),_0x35c290=_0x2acf8a['isValid'];}catch(_0x46647e){_0x35c290=!0x1;}if(_0x5cf173&&_0x35c290)return Interval['fromDateTimes'](_0x1832cf,_0x2acf8a);if(_0x5cf173){const _0x53bb7e=Duration['fromISO'](_0x37b9f6,_0x2b36a2);if(_0x53bb7e['isValid'])return Interval['after'](_0x1832cf,_0x53bb7e);}else{if(_0x35c290){const _0x4283ad=Duration['fromISO'](_0x2674ae,_0x2b36a2);if(_0x4283ad['isValid'])return Interval['before'](_0x2acf8a,_0x4283ad);}}}return Interval['invalid']('unparsable','the\x20input\x20\x22'+_0x383fc8+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['isInterval'](_0x1943a7){return _0x1943a7&&_0x1943a7['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'](_0xd3bd10='milliseconds'){return this['isValid']?this['toDuration'](_0xd3bd10)['get'](_0xd3bd10):NaN;}['count'](_0x444135='milliseconds',_0x568bcb){if(!this['isValid'])return NaN;const _0x4e61e9=this['start']['startOf'](_0x444135,_0x568bcb);let _0x40853c;return _0x40853c=_0x568bcb?.['useLocaleWeeks']?this['end']['reconfigure']({'locale':_0x4e61e9['locale']}):this['end'],_0x40853c=_0x40853c['startOf'](_0x444135,_0x568bcb),Math['floor'](_0x40853c['diff'](_0x4e61e9,_0x444135)['get'](_0x444135))+(_0x40853c['valueOf']()!==this['end']['valueOf']());}['hasSame'](_0x4c3a93){return!!this['isValid']&&(this['isEmpty']()||this['e']['minus'](0x1)['hasSame'](this['s'],_0x4c3a93));}['isEmpty'](){return this['s']['valueOf']()===this['e']['valueOf']();}['isAfter'](_0x251977){return!!this['isValid']&&this['s']>_0x251977;}['isBefore'](_0x11827f){return!!this['isValid']&&this['e']<=_0x11827f;}['contains'](_0x5dc8a5){return!!this['isValid']&&(this['s']<=_0x5dc8a5&&this['e']>_0x5dc8a5);}['set']({start:_0x1349f6,end:_0xcdb9e3}={}){return this['isValid']?Interval['fromDateTimes'](_0x1349f6||this['s'],_0xcdb9e3||this['e']):this;}['splitAt'](..._0x3fefc9){if(!this['isValid'])return[];const _0x5bb791=_0x3fefc9['map'](_0x4c6383)['filter'](_0xbf83ae=>this['contains'](_0xbf83ae))['sort']((_0xb05214,_0x1aaf7d)=>_0xb05214['toMillis']()-_0x1aaf7d['toMillis']()),_0x3fce07=[];let {s:_0x5c0677}=this,_0x3d4608=0x0;for(;_0x5c0677<this['e'];){const _0x52fda7=_0x5bb791[_0x3d4608]||this['e'],_0x2551ef=+_0x52fda7>+this['e']?this['e']:_0x52fda7;_0x3fce07['push'](Interval['fromDateTimes'](_0x5c0677,_0x2551ef)),_0x5c0677=_0x2551ef,_0x3d4608+=0x1;}return _0x3fce07;}['splitBy'](_0x1050b3){const _0xcfb686=Duration['fromDurationLike'](_0x1050b3);if(!this['isValid']||!_0xcfb686['isValid']||0x0===_0xcfb686['as']('milliseconds'))return[];let _0x4a9d39,{s:_0x2c38a9}=this,_0x4d9a30=0x1;const _0x357315=[];for(;_0x2c38a9<this['e'];){const _0x127683=this['start']['plus'](_0xcfb686['mapUnits'](_0x3407fb=>_0x3407fb*_0x4d9a30));_0x4a9d39=+_0x127683>+this['e']?this['e']:_0x127683,_0x357315['push'](Interval['fromDateTimes'](_0x2c38a9,_0x4a9d39)),_0x2c38a9=_0x4a9d39,_0x4d9a30+=0x1;}return _0x357315;}['divideEqually'](_0x26a17f){return this['isValid']?this['splitBy'](this['length']()/_0x26a17f)['slice'](0x0,_0x26a17f):[];}['overlaps'](_0x213c7a){return this['e']>_0x213c7a['s']&&this['s']<_0x213c7a['e'];}['abutsStart'](_0x2fd2ec){return!!this['isValid']&&+this['e']===+_0x2fd2ec['s'];}['abutsEnd'](_0x148691){return!!this['isValid']&&+_0x148691['e']===+this['s'];}['engulfs'](_0x52d3fe){return!!this['isValid']&&(this['s']<=_0x52d3fe['s']&&this['e']>=_0x52d3fe['e']);}['equals'](_0x3f571d){return!(!this['isValid']||!_0x3f571d['isValid'])&&(this['s']['equals'](_0x3f571d['s'])&&this['e']['equals'](_0x3f571d['e']));}['intersection'](_0x2707f8){if(!this['isValid'])return this;const _0x4bee44=this['s']>_0x2707f8['s']?this['s']:_0x2707f8['s'],_0x55e895=this['e']<_0x2707f8['e']?this['e']:_0x2707f8['e'];return _0x4bee44>=_0x55e895?null:Interval['fromDateTimes'](_0x4bee44,_0x55e895);}['union'](_0x536cdb){if(!this['isValid'])return this;const _0x2abbd4=this['s']<_0x536cdb['s']?this['s']:_0x536cdb['s'],_0x4d34cc=this['e']>_0x536cdb['e']?this['e']:_0x536cdb['e'];return Interval['fromDateTimes'](_0x2abbd4,_0x4d34cc);}static['merge'](_0x23bd23){const [_0x486d95,_0x1dd3f9]=_0x23bd23['sort']((_0x1f7451,_0x4f5442)=>_0x1f7451['s']-_0x4f5442['s'])['reduce'](([_0x90f98d,_0x4c001e],_0x359716)=>_0x4c001e?_0x4c001e['overlaps'](_0x359716)||_0x4c001e['abutsStart'](_0x359716)?[_0x90f98d,_0x4c001e['union'](_0x359716)]:[_0x90f98d['concat']([_0x4c001e]),_0x359716]:[_0x90f98d,_0x359716],[[],null]);return _0x1dd3f9&&_0x486d95['push'](_0x1dd3f9),_0x486d95;}static['xor'](_0x3b157b){let _0x101216=null,_0x7d57ae=0x0;const _0x10ed63=[],_0x2232b9=_0x3b157b['map'](_0x402ca7=>[{'time':_0x402ca7['s'],'type':'s'},{'time':_0x402ca7['e'],'type':'e'}]),_0x1eec0a=Array['prototype']['concat'](..._0x2232b9)['sort']((_0x9640fd,_0xad6b9d)=>_0x9640fd['time']-_0xad6b9d['time']);for(const _0x45dccf of _0x1eec0a)_0x7d57ae+='s'===_0x45dccf['type']?0x1:-0x1,0x1===_0x7d57ae?_0x101216=_0x45dccf['time']:(_0x101216&&+_0x101216!==+_0x45dccf['time']&&_0x10ed63['push'](Interval['fromDateTimes'](_0x101216,_0x45dccf['time'])),_0x101216=null);return Interval['merge'](_0x10ed63);}['difference'](..._0x18dd48){return Interval['xor']([this]['concat'](_0x18dd48))['map'](_0x2c6a31=>this['intersection'](_0x2c6a31))['filter'](_0x429b25=>_0x429b25&&!_0x429b25['isEmpty']());}['toString'](){return this['isValid']?'['+this['s']['toISO']()+'\x20–\x20'+this['e']['toISO']()+')':_0x411a19;}[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'](_0x36a7c0=_0x196798,_0x5592da={}){return this['isValid']?Formatter['create'](this['s']['loc']['clone'](_0x5592da),_0x36a7c0)['formatInterval'](this):_0x411a19;}['toISO'](_0x212e3f){return this['isValid']?this['s']['toISO'](_0x212e3f)+'/'+this['e']['toISO'](_0x212e3f):_0x411a19;}['toISODate'](){return this['isValid']?this['s']['toISODate']()+'/'+this['e']['toISODate']():_0x411a19;}['toISOTime'](_0xb2c1df){return this['isValid']?this['s']['toISOTime'](_0xb2c1df)+'/'+this['e']['toISOTime'](_0xb2c1df):_0x411a19;}['toFormat'](_0x2ad921,{separator:_0x2ee470='\x20–\x20'}={}){return this['isValid']?''+this['s']['toFormat'](_0x2ad921)+_0x2ee470+this['e']['toFormat'](_0x2ad921):_0x411a19;}['toDuration'](_0x3908ee,_0x184c24){return this['isValid']?this['e']['diff'](this['s'],_0x3908ee,_0x184c24):Duration['invalid'](this['invalidReason']);}['mapEndpoints'](_0x3fcd20){return Interval['fromDateTimes'](_0x3fcd20(this['s']),_0x3fcd20(this['e']));}}class _0x56db82{static['hasDST'](_0x3ffaa5=Settings['defaultZone']){const _0x47bf3d=DateTime['now']()['setZone'](_0x3ffaa5)['set']({'month':0xc});return!_0x3ffaa5['isUniversal']&&_0x47bf3d['offset']!==_0x47bf3d['set']({'month':0x6})['offset'];}static['isValidIANAZone'](_0x2367f5){return _0x508e9f['isValidZone'](_0x2367f5);}static['normalizeZone'](_0x2e4e59){return _0x102251(_0x2e4e59,Settings['defaultZone']);}static['getStartOfWeek']({locale:_0x2a701a=null,locObj:_0x355d41=null}={}){return(_0x355d41||_0x4e5663['create'](_0x2a701a))['getStartOfWeek']();}static['getMinimumDaysInFirstWeek']({locale:_0x3e1e9e=null,locObj:_0xb8096d=null}={}){return(_0xb8096d||_0x4e5663['create'](_0x3e1e9e))['getMinDaysInFirstWeek']();}static['getWeekendWeekdays']({locale:_0x51c508=null,locObj:_0x3a0faa=null}={}){return(_0x3a0faa||_0x4e5663['create'](_0x51c508))['getWeekendDays']()['slice']();}static['months'](_0x2ba10f='long',{locale:_0x3b664a=null,numberingSystem:_0x593e54=null,locObj:_0x2c274c=null,outputCalendar:_0x1398a3='gregory'}={}){return(_0x2c274c||_0x4e5663['create'](_0x3b664a,_0x593e54,_0x1398a3))['months'](_0x2ba10f);}static['monthsFormat'](_0x21e57c='long',{locale:_0x2ad441=null,numberingSystem:_0x2d4b30=null,locObj:_0x2e0b6e=null,outputCalendar:_0x3d3dfc='gregory'}={}){return(_0x2e0b6e||_0x4e5663['create'](_0x2ad441,_0x2d4b30,_0x3d3dfc))['months'](_0x21e57c,!0x0);}static['weekdays'](_0x4505a3='long',{locale:_0x4de0e6=null,numberingSystem:_0x286201=null,locObj:_0x4d20c7=null}={}){return(_0x4d20c7||_0x4e5663['create'](_0x4de0e6,_0x286201,null))['weekdays'](_0x4505a3);}static['weekdaysFormat'](_0xdbd0d0='long',{locale:_0x5453be=null,numberingSystem:_0x2637f9=null,locObj:_0x4d2c56=null}={}){return(_0x4d2c56||_0x4e5663['create'](_0x5453be,_0x2637f9,null))['weekdays'](_0xdbd0d0,!0x0);}static['meridiems']({locale:_0x5e8f6c=null}={}){return _0x4e5663['create'](_0x5e8f6c)['meridiems']();}static['eras'](_0x3685d1='short',{locale:_0x1adb02=null}={}){return _0x4e5663['create'](_0x1adb02,null,'gregory')['eras'](_0x3685d1);}static['features'](){return{'relative':_0x182324(),'localeWeek':_0x48f961()};}}function _0x44a219(_0x3dba6c,_0x326aad){const _0x10a5cc=_0x5425d9=>_0x5425d9['toUTC'](0x0,{'keepLocalTime':!0x0})['startOf']('day')['valueOf'](),_0xd1d4d7=_0x10a5cc(_0x326aad)-_0x10a5cc(_0x3dba6c);return Math['floor'](Duration['fromMillis'](_0xd1d4d7)['as']('days'));}function _0x68d86e(_0x42d668,_0x431c6f,_0x53503a,_0x2491ce){let [_0x247fa7,_0x2f1ca7,_0x4ac6f3,_0x1119ba]=function(_0x29f572,_0x949bdb,_0xa35640){const _0x3e7278=[['years',(_0x25ee43,_0x9693c)=>_0x9693c['year']-_0x25ee43['year']],['quarters',(_0x4e7655,_0x3516dc)=>_0x3516dc['quarter']-_0x4e7655['quarter']+0x4*(_0x3516dc['year']-_0x4e7655['year'])],['months',(_0x34e189,_0x37756d)=>_0x37756d['month']-_0x34e189['month']+0xc*(_0x37756d['year']-_0x34e189['year'])],['weeks',(_0x543555,_0x38d682)=>{const _0x11a298=_0x44a219(_0x543555,_0x38d682);return(_0x11a298-_0x11a298%0x7)/0x7;}],['days',_0x44a219]],_0xe9bd52={},_0x163dc7=_0x29f572;let _0x3b825e,_0x588785;for(const [_0x59965a,_0x1d784d]of _0x3e7278)_0xa35640['indexOf'](_0x59965a)>=0x0&&(_0x3b825e=_0x59965a,_0xe9bd52[_0x59965a]=_0x1d784d(_0x29f572,_0x949bdb),_0x588785=_0x163dc7['plus'](_0xe9bd52),_0x588785>_0x949bdb?(_0xe9bd52[_0x59965a]--,(_0x29f572=_0x163dc7['plus'](_0xe9bd52))>_0x949bdb&&(_0x588785=_0x29f572,_0xe9bd52[_0x59965a]--,_0x29f572=_0x163dc7['plus'](_0xe9bd52))):_0x29f572=_0x588785);return[_0x29f572,_0xe9bd52,_0x588785,_0x3b825e];}(_0x42d668,_0x431c6f,_0x53503a);const _0x1f92e6=_0x431c6f-_0x247fa7,_0x3eb95c=_0x53503a['filter'](_0x39adf2=>['hours','minutes','seconds','milliseconds']['indexOf'](_0x39adf2)>=0x0);0x0===_0x3eb95c['length']&&(_0x4ac6f3<_0x431c6f&&(_0x4ac6f3=_0x247fa7['plus']({[_0x1119ba]:0x1})),_0x4ac6f3!==_0x247fa7&&(_0x2f1ca7[_0x1119ba]=(_0x2f1ca7[_0x1119ba]||0x0)+_0x1f92e6/(_0x4ac6f3-_0x247fa7)));const _0x146e1f=Duration['fromObject'](_0x2f1ca7,_0x2491ce);return _0x3eb95c['length']>0x0?Duration['fromMillis'](_0x1f92e6,_0x2491ce)['shiftTo'](..._0x3eb95c)['plus'](_0x146e1f):_0x146e1f;}function _0x5001fa(_0x13cf90,_0x190edb=_0x2c60f3=>_0x2c60f3){return{'regex':_0x13cf90,'deser':([_0x482ec1])=>_0x190edb(function(_0x228db9){let _0x569bf0=parseInt(_0x228db9,0xa);if(isNaN(_0x569bf0)){_0x569bf0='';for(let _0xcb5a37=0x0;_0xcb5a37<_0x228db9['length'];_0xcb5a37++){const _0x448e07=_0x228db9['charCodeAt'](_0xcb5a37);if(-0x1!==_0x228db9[_0xcb5a37]['search'](_0x40a330['hanidec']))_0x569bf0+=_0x123f53['indexOf'](_0x228db9[_0xcb5a37]);else for(const _0x512743 in _0x28c802){const [_0x5b511b,_0x5b8b28]=_0x28c802[_0x512743];_0x448e07>=_0x5b511b&&_0x448e07<=_0x5b8b28&&(_0x569bf0+=_0x448e07-_0x5b511b);}}return parseInt(_0x569bf0,0xa);}return _0x569bf0;}(_0x482ec1))};}const _0x3bb960='[\x20'+String['fromCharCode'](0xa0)+']',_0x5ec04c=new RegExp(_0x3bb960,'g');function _0xae622(_0xa1d82){return _0xa1d82['replace'](/\./g,'\x5c.?')['replace'](_0x5ec04c,_0x3bb960);}function _0x15b905(_0x16751d){return _0x16751d['replace'](/\./g,'')['replace'](_0x5ec04c,'\x20')['toLowerCase']();}function _0xf7f63e(_0x3e2638,_0x5bc86d){return null===_0x3e2638?null:{'regex':RegExp(_0x3e2638['map'](_0xae622)['join']('|')),'deser':([_0x2bd855])=>_0x3e2638['findIndex'](_0x137364=>_0x15b905(_0x2bd855)===_0x15b905(_0x137364))+_0x5bc86d};}function _0xfe7b65(_0x367b02,_0x1c9aee){return{'regex':_0x367b02,'deser':([,_0x5120cc,_0x440cf7])=>_0x292670(_0x5120cc,_0x440cf7),'groups':_0x1c9aee};}function _0x22b1d8(_0x318a95){return{'regex':_0x318a95,'deser':([_0xf98afe])=>_0xf98afe};}function _0x4fe9b3(_0x85f6f8){return _0x85f6f8['replace'](/[\-\[\]{}()*+?.,\\\^$|#\s]/g,'\x5c$&');}const _0x39fe1d={'year':{'2-digit':'yy','numeric':'yyyyy'},'month':{'numeric':'M','2-digit':'MM','short':'MMM','long':'MMMM'},'day':{'numeric':'d','2-digit':'dd'},'weekday':{'short':'EEE','long':'EEEE'},'dayperiod':'a','dayPeriod':'a','hour12':{'numeric':'h','2-digit':'hh'},'hour24':{'numeric':'H','2-digit':'HH'},'minute':{'numeric':'m','2-digit':'mm'},'second':{'numeric':'s','2-digit':'ss'},'timeZoneName':{'long':'ZZZZZ','short':'ZZZ'}};let _0xfa8471=null;function _0x5188bd(_0xed5450,_0x1f7cf3){return Array['prototype']['concat'](..._0xed5450['map'](t=>function(_0x64b8e0,_0x40adec){if(_0x64b8e0['literal'])return _0x64b8e0;const _0x3d50c2=_0x25d91b(Formatter['macroTokenToFormatOpts'](_0x64b8e0['val']),_0x40adec);return null==_0x3d50c2||_0x3d50c2['includes'](void 0x0)?_0x64b8e0:_0x3d50c2;}(t,_0x1f7cf3)));}class _0x29abd9{constructor(_0x55bf14,_0x4fc35a){if(this['locale']=_0x55bf14,this['format']=_0x4fc35a,this['tokens']=_0x5188bd(Formatter['parseFormat'](_0x4fc35a),_0x55bf14),this['units']=this['tokens']['map'](t=>function(_0x4ae884,_0x2ec604){const _0x4d1c1=_0x14ef01(_0x2ec604),_0x195701=_0x14ef01(_0x2ec604,'{2}'),_0x2c3b88=_0x14ef01(_0x2ec604,'{3}'),_0x594c12=_0x14ef01(_0x2ec604,'{4}'),_0x574e12=_0x14ef01(_0x2ec604,'{6}'),_0x4127ff=_0x14ef01(_0x2ec604,'{1,2}'),_0x10400d=_0x14ef01(_0x2ec604,'{1,3}'),_0x123130=_0x14ef01(_0x2ec604,'{1,6}'),_0x4be39d=_0x14ef01(_0x2ec604,'{1,9}'),_0x5e265=_0x14ef01(_0x2ec604,'{2,4}'),_0x308670=_0x14ef01(_0x2ec604,'{4,6}'),_0x22727e=t=>({'regex':RegExp(_0x4fe9b3(t['val'])),'deser':([_0x33b403])=>_0x33b403,'literal':!0x0}),_0x57b414=(t=>{if(_0x4ae884['literal'])return _0x22727e(t);switch(t['val']){case'G':return _0xf7f63e(_0x2ec604['eras']('short'),0x0);case'GG':return _0xf7f63e(_0x2ec604['eras']('long'),0x0);case'y':return _0x5001fa(_0x123130);case'yy':case'kk':return _0x5001fa(_0x5e265,_0x2f7f24);case'yyyy':case'kkkk':return _0x5001fa(_0x594c12);case'yyyyy':return _0x5001fa(_0x308670);case'yyyyyy':return _0x5001fa(_0x574e12);case'M':case'L':case'd':case'H':case'h':case'm':case'q':case's':case'W':return _0x5001fa(_0x4127ff);case'MM':case'LL':case'dd':case'HH':case'hh':case'mm':case'qq':case'ss':case'WW':return _0x5001fa(_0x195701);case'MMM':return _0xf7f63e(_0x2ec604['months']('short',!0x0),0x1);case'MMMM':return _0xf7f63e(_0x2ec604['months']('long',!0x0),0x1);case'LLL':return _0xf7f63e(_0x2ec604['months']('short',!0x1),0x1);case'LLLL':return _0xf7f63e(_0x2ec604['months']('long',!0x1),0x1);case'o':case'S':return _0x5001fa(_0x10400d);case'ooo':case'SSS':return _0x5001fa(_0x2c3b88);case'u':return _0x22b1d8(_0x4be39d);case'uu':return _0x22b1d8(_0x4127ff);case'uuu':case'E':case'c':return _0x5001fa(_0x4d1c1);case'a':return _0xf7f63e(_0x2ec604['meridiems'](),0x0);case'EEE':return _0xf7f63e(_0x2ec604['weekdays']('short',!0x1),0x1);case'EEEE':return _0xf7f63e(_0x2ec604['weekdays']('long',!0x1),0x1);case'ccc':return _0xf7f63e(_0x2ec604['weekdays']('short',!0x0),0x1);case'cccc':return _0xf7f63e(_0x2ec604['weekdays']('long',!0x0),0x1);case'Z':case'ZZ':return _0xfe7b65(new RegExp('([+-]'+_0x4127ff['source']+')(?::('+_0x195701['source']+'))?'),0x2);case'ZZZ':return _0xfe7b65(new RegExp('([+-]'+_0x4127ff['source']+')('+_0x195701['source']+')?'),0x2);case'z':return _0x22b1d8(/[a-z_+-/]{1,256}?/i);case'\x20':return _0x22b1d8(/[^\S\n\r]/);default:return _0x22727e(t);}})(_0x4ae884)||{'invalidReason':'missing\x20Intl.DateTimeFormat.formatToParts\x20support'};return _0x57b414['token']=_0x4ae884,_0x57b414;}(t,_0x55bf14)),this['disqualifyingUnit']=this['units']['find'](t=>t['invalidReason']),!this['disqualifyingUnit']){const [_0x2cc55f,_0x20091c]=function(_0x539ba1){const _0x3ae6c9=_0x539ba1['map'](_0xda3080=>_0xda3080['regex'])['reduce']((_0x4377a8,_0x36a062)=>_0x4377a8+'('+_0x36a062['source']+')','');return['^'+_0x3ae6c9+'$',_0x539ba1];}(this['units']);this['regex']=RegExp(_0x2cc55f,'i'),this['handlers']=_0x20091c;}}['explainFromTokens'](_0x52c27e){if(this['isValid']){const [_0x21a826,_0x1fe25d]=function(_0xe14e50,_0x4c1a23,_0x2dcc49){const _0x398f0d=_0xe14e50['match'](_0x4c1a23);if(_0x398f0d){const _0x2d3823={};let _0x1798fe=0x1;for(const _0x2b9bc9 in _0x2dcc49)if(_0x5a9b91(_0x2dcc49,_0x2b9bc9)){const _0x58dcfa=_0x2dcc49[_0x2b9bc9],_0x2e6d60=_0x58dcfa['groups']?_0x58dcfa['groups']+0x1:0x1;!_0x58dcfa['literal']&&_0x58dcfa['token']&&(_0x2d3823[_0x58dcfa['token']['val'][0x0]]=_0x58dcfa['deser'](_0x398f0d['slice'](_0x1798fe,_0x1798fe+_0x2e6d60))),_0x1798fe+=_0x2e6d60;}return[_0x398f0d,_0x2d3823];}return[_0x398f0d,{}];}(_0x52c27e,this['regex'],this['handlers']),[_0x1ff486,_0x10eecb,_0x26787b]=_0x1fe25d?function(_0x444175){let _0x52a2a6,_0xe935d7=null;_0x2a4399(_0x444175['z'])||(_0xe935d7=_0x508e9f['create'](_0x444175['z'])),_0x2a4399(_0x444175['Z'])||(_0xe935d7||(_0xe935d7=new FixedOffsetZone(_0x444175['Z'])),_0x52a2a6=_0x444175['Z']),_0x2a4399(_0x444175['q'])||(_0x444175['M']=0x3*(_0x444175['q']-0x1)+0x1),_0x2a4399(_0x444175['h'])||(_0x444175['h']<0xc&&0x1===_0x444175['a']?_0x444175['h']+=0xc:0xc===_0x444175['h']&&0x0===_0x444175['a']&&(_0x444175['h']=0x0)),0x0===_0x444175['G']&&_0x444175['y']&&(_0x444175['y']=-_0x444175['y']),_0x2a4399(_0x444175['u'])||(_0x444175['S']=_0x168da7(_0x444175['u']));const _0x25f654=Object['keys'](_0x444175)['reduce']((_0x1bb966,_0x585395)=>{const _0x18bb62=(_0x1332ad=>{switch(_0x1332ad){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;}})(_0x585395);return _0x18bb62&&(_0x1bb966[_0x18bb62]=_0x444175[_0x585395]),_0x1bb966;},{});return[_0x25f654,_0xe935d7,_0x52a2a6];}(_0x1fe25d):[null,null,void 0x0];if(_0x5a9b91(_0x1fe25d,'a')&&_0x5a9b91(_0x1fe25d,'H'))throw new ConflictingSpecificationError('Can\x27t\x20include\x20meridiem\x20when\x20specifying\x2024-hour\x20format');return{'input':_0x52c27e,'tokens':this['tokens'],'regex':this['regex'],'rawMatches':_0x21a826,'matches':_0x1fe25d,'result':_0x1ff486,'zone':_0x10eecb,'specificOffset':_0x26787b};}return{'input':_0x52c27e,'tokens':this['tokens'],'invalidReason':this['invalidReason']};}get['isValid'](){return!this['disqualifyingUnit'];}get['invalidReason'](){return this['disqualifyingUnit']?this['disqualifyingUnit']['invalidReason']:null;}}function _0x49581a(_0x7ae101,_0x3ed0aa,_0x4f58cc){return new _0x29abd9(_0x7ae101,_0x4f58cc)['explainFromTokens'](_0x3ed0aa);}function _0x25d91b(_0x122950,_0x5deadd){if(!_0x122950)return null;const _0x5db9ef=Formatter['create'](_0x5deadd,_0x122950)['dtFormatter']((_0xfa8471||(_0xfa8471=DateTime['fromMillis'](0x16a2e5618e3)),_0xfa8471)),_0x56bb8b=_0x5db9ef['formatToParts'](),_0x52d0d5=_0x5db9ef['resolvedOptions']();return _0x56bb8b['map'](_0x1a720b=>function(_0x49a630,_0xdd85a8,_0x47905e){const {type:_0x216109,value:_0x36fac0}=_0x49a630;if('literal'===_0x216109){const _0x208735=/^\s+$/['test'](_0x36fac0);return{'literal':!_0x208735,'val':_0x208735?'\x20':_0x36fac0};}const _0x324bf6=_0xdd85a8[_0x216109];let _0x50f824=_0x216109;'hour'===_0x216109&&(_0x50f824=null!=_0xdd85a8['hour12']?_0xdd85a8['hour12']?'hour12':'hour24':null!=_0xdd85a8['hourCycle']?'h11'===_0xdd85a8['hourCycle']||'h12'===_0xdd85a8['hourCycle']?'hour12':'hour24':_0x47905e['hour12']?'hour12':'hour24');let _0x364059=_0x39fe1d[_0x50f824];if('object'==typeof _0x364059&&(_0x364059=_0x364059[_0x324bf6]),_0x364059)return{'literal':!0x1,'val':_0x364059};}(_0x1a720b,_0x122950,_0x52d0d5));}const _0x35e072='Invalid\x20DateTime',_0x516d16=0x1eb208c2dc0000;function _0x4e3fe6(_0x4a62cc){return new _0x1b2b84('unsupported\x20zone','the\x20zone\x20\x22'+_0x4a62cc['name']+'\x22\x20is\x20not\x20supported');}function _0x232669(_0x572b1e){return null===_0x572b1e['weekData']&&(_0x572b1e['weekData']=_0x53d4b0(_0x572b1e['c'])),_0x572b1e['weekData'];}function _0x5cc123(_0x36922c){return null===_0x36922c['localWeekData']&&(_0x36922c['localWeekData']=_0x53d4b0(_0x36922c['c'],_0x36922c['loc']['getMinDaysInFirstWeek'](),_0x36922c['loc']['getStartOfWeek']())),_0x36922c['localWeekData'];}function _0x1986b8(_0x119137,_0x3826e0){const _0x217ea8={'ts':_0x119137['ts'],'zone':_0x119137['zone'],'c':_0x119137['c'],'o':_0x119137['o'],'loc':_0x119137['loc'],'invalid':_0x119137['invalid']};return new DateTime({..._0x217ea8,..._0x3826e0,'old':_0x217ea8});}function _0x188c6c(_0xf691a5,_0x413bec,_0x2c5dcf){let _0x52b9ea=_0xf691a5-0x3c*_0x413bec*0x3e8;const _0x3a7e32=_0x2c5dcf['offset'](_0x52b9ea);if(_0x413bec===_0x3a7e32)return[_0x52b9ea,_0x413bec];_0x52b9ea-=0x3c*(_0x3a7e32-_0x413bec)*0x3e8;const _0x17bf40=_0x2c5dcf['offset'](_0x52b9ea);return _0x3a7e32===_0x17bf40?[_0x52b9ea,_0x3a7e32]:[_0xf691a5-0x3c*Math['min'](_0x3a7e32,_0x17bf40)*0x3e8,Math['max'](_0x3a7e32,_0x17bf40)];}function _0x1f16a2(_0x3ac646,_0x2b0901){const _0x52f7e4=new Date(_0x3ac646+=0x3c*_0x2b0901*0x3e8);return{'year':_0x52f7e4['getUTCFullYear'](),'month':_0x52f7e4['getUTCMonth']()+0x1,'day':_0x52f7e4['getUTCDate'](),'hour':_0x52f7e4['getUTCHours'](),'minute':_0x52f7e4['getUTCMinutes'](),'second':_0x52f7e4['getUTCSeconds'](),'millisecond':_0x52f7e4['getUTCMilliseconds']()};}function _0x2beef7(_0x2428a6,_0x1af282,_0x3a9c08){return _0x188c6c(_0x42cac0(_0x2428a6),_0x1af282,_0x3a9c08);}function _0x2fe3e7(_0x340438,_0x5d72b6){const _0x5d0afb=_0x340438['o'],_0x35ea2e=_0x340438['c']['year']+Math['trunc'](_0x5d72b6['years']),_0x5ecbfe=_0x340438['c']['month']+Math['trunc'](_0x5d72b6['months'])+0x3*Math['trunc'](_0x5d72b6['quarters']),_0x3810bf={..._0x340438['c'],'year':_0x35ea2e,'month':_0x5ecbfe,'day':Math['min'](_0x340438['c']['day'],_0x52134e(_0x35ea2e,_0x5ecbfe))+Math['trunc'](_0x5d72b6['days'])+0x7*Math['trunc'](_0x5d72b6['weeks'])},_0x4d9b3e=Duration['fromObject']({'years':_0x5d72b6['years']-Math['trunc'](_0x5d72b6['years']),'quarters':_0x5d72b6['quarters']-Math['trunc'](_0x5d72b6['quarters']),'months':_0x5d72b6['months']-Math['trunc'](_0x5d72b6['months']),'weeks':_0x5d72b6['weeks']-Math['trunc'](_0x5d72b6['weeks']),'days':_0x5d72b6['days']-Math['trunc'](_0x5d72b6['days']),'hours':_0x5d72b6['hours'],'minutes':_0x5d72b6['minutes'],'seconds':_0x5d72b6['seconds'],'milliseconds':_0x5d72b6['milliseconds']})['as']('milliseconds'),_0x4eb6ac=_0x42cac0(_0x3810bf);let [_0x3c1b8f,_0x1460bb]=_0x188c6c(_0x4eb6ac,_0x5d0afb,_0x340438['zone']);return 0x0!==_0x4d9b3e&&(_0x3c1b8f+=_0x4d9b3e,_0x1460bb=_0x340438['zone']['offset'](_0x3c1b8f)),{'ts':_0x3c1b8f,'o':_0x1460bb};}function _0x45d2b3(_0x5bb119,_0x2ab980,_0x31dba6,_0x4b748e,_0xc7aa3e,_0x42881e){const {setZone:_0x5f1c84,zone:_0x131551}=_0x31dba6;if(_0x5bb119&&0x0!==Object['keys'](_0x5bb119)['length']||_0x2ab980){const _0x444416=_0x2ab980||_0x131551,_0xb504db=DateTime['fromObject'](_0x5bb119,{..._0x31dba6,'zone':_0x444416,'specificOffset':_0x42881e});return _0x5f1c84?_0xb504db:_0xb504db['setZone'](_0x131551);}return DateTime['invalid'](new _0x1b2b84('unparsable','the\x20input\x20\x22'+_0xc7aa3e+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20'+_0x4b748e));}function _0x5517c3(_0x59ceb1,_0x1f0aa8,_0x3a0866=!0x0){return _0x59ceb1['isValid']?Formatter['create'](_0x4e5663['create']('en-US'),{'allowZ':_0x3a0866,'forceSimple':!0x0})['formatDateTimeFromString'](_0x59ceb1,_0x1f0aa8):null;}function _0x22ac3f(_0x53cd49,_0x519d64){const _0x564b77=_0x53cd49['c']['year']>0x270f||_0x53cd49['c']['year']<0x0;let _0x67c44d='';return _0x564b77&&_0x53cd49['c']['year']>=0x0&&(_0x67c44d+='+'),_0x67c44d+=_0x440eab(_0x53cd49['c']['year'],_0x564b77?0x6:0x4),_0x519d64?(_0x67c44d+='-',_0x67c44d+=_0x440eab(_0x53cd49['c']['month']),_0x67c44d+='-',_0x67c44d+=_0x440eab(_0x53cd49['c']['day'])):(_0x67c44d+=_0x440eab(_0x53cd49['c']['month']),_0x67c44d+=_0x440eab(_0x53cd49['c']['day'])),_0x67c44d;}function _0x20c3f1(_0x43657a,_0x4a3ab8,_0x2c882b,_0x526a94,_0x1dc067,_0x1ac780){let _0x5c17ac=_0x440eab(_0x43657a['c']['hour']);return _0x4a3ab8?(_0x5c17ac+=':',_0x5c17ac+=_0x440eab(_0x43657a['c']['minute']),0x0===_0x43657a['c']['millisecond']&&0x0===_0x43657a['c']['second']&&_0x2c882b||(_0x5c17ac+=':')):_0x5c17ac+=_0x440eab(_0x43657a['c']['minute']),0x0===_0x43657a['c']['millisecond']&&0x0===_0x43657a['c']['second']&&_0x2c882b||(_0x5c17ac+=_0x440eab(_0x43657a['c']['second']),0x0===_0x43657a['c']['millisecond']&&_0x526a94||(_0x5c17ac+='.',_0x5c17ac+=_0x440eab(_0x43657a['c']['millisecond'],0x3))),_0x1dc067&&(_0x43657a['isOffsetFixed']&&0x0===_0x43657a['offset']&&!_0x1ac780?_0x5c17ac+='Z':_0x43657a['o']<0x0?(_0x5c17ac+='-',_0x5c17ac+=_0x440eab(Math['trunc'](-_0x43657a['o']/0x3c)),_0x5c17ac+=':',_0x5c17ac+=_0x440eab(Math['trunc'](-_0x43657a['o']%0x3c))):(_0x5c17ac+='+',_0x5c17ac+=_0x440eab(Math['trunc'](_0x43657a['o']/0x3c)),_0x5c17ac+=':',_0x5c17ac+=_0x440eab(Math['trunc'](_0x43657a['o']%0x3c)))),_0x1ac780&&(_0x5c17ac+='['+_0x43657a['zone']['ianaName']+']'),_0x5c17ac;}const to={'month':0x1,'day':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},_0x3e963a={'weekNumber':0x1,'weekday':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},_0x14a0eb={'ordinal':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},_0x58f55c=['year','month','day','hour','minute','second','millisecond'],_0x2fa658=['weekYear','weekNumber','weekday','hour','minute','second','millisecond'],_0x9c2186=['year','ordinal','hour','minute','second','millisecond'];function _0x4833b9(_0x12daaf){switch(_0x12daaf['toLowerCase']()){case'localweekday':case'localweekdays':return'localWeekday';case'localweeknumber':case'localweeknumbers':return'localWeekNumber';case'localweekyear':case'localweekyears':return'localWeekYear';default:return function(_0x137edc){const _0x4b70e9={'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'}[_0x137edc['toLowerCase']()];if(!_0x4b70e9)throw new InvalidUnitError(_0x137edc);return _0x4b70e9;}(_0x12daaf);}}function _0x12d0c5(_0x19d7b1,_0x53c81a){const _0x5ae82=_0x102251(_0x53c81a['zone'],Settings['defaultZone']);if(!_0x5ae82['isValid'])return DateTime['invalid'](_0x4e3fe6(_0x5ae82));const _0x387b2c=_0x4e5663['fromObject'](_0x53c81a);let _0x5b9da0,_0xd845ce;if(_0x2a4399(_0x19d7b1['year']))_0x5b9da0=Settings['now']();else{for(const _0x271b52 of _0x58f55c)_0x2a4399(_0x19d7b1[_0x271b52])&&(_0x19d7b1[_0x271b52]=to[_0x271b52]);const _0x213198=_0x3fde59(_0x19d7b1)||_0x5f3ceb(_0x19d7b1);if(_0x213198)return DateTime['invalid'](_0x213198);const _0x8ff1ef=function(_0x4ef121){if(void 0x0===_0x31e7e7&&(_0x31e7e7=Settings['now']()),'iana'!==_0x4ef121['type'])return _0x4ef121['offset'](_0x31e7e7);const _0x477e84=_0x4ef121['name'];let _0x3dc274=_0x141c29['get'](_0x477e84);return void 0x0===_0x3dc274&&(_0x3dc274=_0x4ef121['offset'](_0x31e7e7),_0x141c29['set'](_0x477e84,_0x3dc274)),_0x3dc274;}(_0x5ae82);[_0x5b9da0,_0xd845ce]=_0x2beef7(_0x19d7b1,_0x8ff1ef,_0x5ae82);}return new DateTime({'ts':_0x5b9da0,'zone':_0x5ae82,'loc':_0x387b2c,'o':_0xd845ce});}function _0x264fee(_0x304420,_0x3a42fa,_0x26b738){const _0x4966ad=!!_0x2a4399(_0x26b738['round'])||_0x26b738['round'],_0x171faa=(_0x581651,_0x25c87b)=>{return _0x581651=_0x4c7780(_0x581651,_0x4966ad||_0x26b738['calendary']?0x0:0x2,!0x0),_0x3a42fa['loc']['clone'](_0x26b738)['relFormatter'](_0x26b738)['format'](_0x581651,_0x25c87b);},_0x155610=_0xc43b30=>_0x26b738['calendary']?_0x3a42fa['hasSame'](_0x304420,_0xc43b30)?0x0:_0x3a42fa['startOf'](_0xc43b30)['diff'](_0x304420['startOf'](_0xc43b30),_0xc43b30)['get'](_0xc43b30):_0x3a42fa['diff'](_0x304420,_0xc43b30)['get'](_0xc43b30);if(_0x26b738['unit'])return _0x171faa(_0x155610(_0x26b738['unit']),_0x26b738['unit']);for(const _0x5a5caa of _0x26b738['units']){const _0x46d514=_0x155610(_0x5a5caa);if(Math['abs'](_0x46d514)>=0x1)return _0x171faa(_0x46d514,_0x5a5caa);}return _0x171faa(_0x304420>_0x3a42fa?-0x0:0x0,_0x26b738['units'][_0x26b738['units']['length']-0x1]);}function _0x2a9092(_0x185d27){let _0x351d90,_0x5283dc={};return _0x185d27['length']>0x0&&'object'==typeof _0x185d27[_0x185d27['length']-0x1]?(_0x5283dc=_0x185d27[_0x185d27['length']-0x1],_0x351d90=Array['from'](_0x185d27)['slice'](0x0,_0x185d27['length']-0x1)):_0x351d90=Array['from'](_0x185d27),[_0x5283dc,_0x351d90];}let _0x31e7e7;const _0x141c29=new Map();class DateTime{constructor(_0x69d649){const _0x46b0a4=_0x69d649['zone']||Settings['defaultZone'];let _0x223074=_0x69d649['invalid']||(Number['isNaN'](_0x69d649['ts'])?new _0x1b2b84('invalid\x20input'):null)||(_0x46b0a4['isValid']?null:_0x4e3fe6(_0x46b0a4));this['ts']=_0x2a4399(_0x69d649['ts'])?Settings['now']():_0x69d649['ts'];let _0x5448bd=null,_0x459957=null;if(!_0x223074){if(_0x69d649['old']&&_0x69d649['old']['ts']===this['ts']&&_0x69d649['old']['zone']['equals'](_0x46b0a4))[_0x5448bd,_0x459957]=[_0x69d649['old']['c'],_0x69d649['old']['o']];else{const _0x34e9c0=_0x15f55e(_0x69d649['o'])&&!_0x69d649['old']?_0x69d649['o']:_0x46b0a4['offset'](this['ts']);_0x5448bd=_0x1f16a2(this['ts'],_0x34e9c0),_0x223074=Number['isNaN'](_0x5448bd['year'])?new _0x1b2b84('invalid\x20input'):null,_0x5448bd=_0x223074?null:_0x5448bd,_0x459957=_0x223074?null:_0x34e9c0;}}this['_zone']=_0x46b0a4,this['loc']=_0x69d649['loc']||_0x4e5663['create'](),this['invalid']=_0x223074,this['weekData']=null,this['localWeekData']=null,this['c']=_0x5448bd,this['o']=_0x459957,this['isLuxonDateTime']=!0x0;}static['now'](){return new DateTime({});}static['local'](){const [_0xea9c32,_0x18b7e1]=_0x2a9092(arguments),[_0x56da64,_0x2aa588,_0x4b9381,_0x3778f5,_0x3071be,_0x530f26,_0x18fe74]=_0x18b7e1;return _0x12d0c5({'year':_0x56da64,'month':_0x2aa588,'day':_0x4b9381,'hour':_0x3778f5,'minute':_0x3071be,'second':_0x530f26,'millisecond':_0x18fe74},_0xea9c32);}static['utc'](){const [_0x9ddac8,_0x13fc46]=_0x2a9092(arguments),[_0x2d22c0,_0x30b55b,_0x1889f9,_0x15fc19,_0x1ce255,_0xa2f0d0,_0x230b76]=_0x13fc46;return _0x9ddac8['zone']=FixedOffsetZone['utcInstance'],_0x12d0c5({'year':_0x2d22c0,'month':_0x30b55b,'day':_0x1889f9,'hour':_0x15fc19,'minute':_0x1ce255,'second':_0xa2f0d0,'millisecond':_0x230b76},_0x9ddac8);}static['fromJSDate'](_0x297c14,_0x48b323={}){const _0x15f167=function(_0x4c99e9){return'[object\x20Date]'===Object['prototype']['toString']['call'](_0x4c99e9);}(_0x297c14)?_0x297c14['valueOf']():NaN;if(Number['isNaN'](_0x15f167))return DateTime['invalid']('invalid\x20input');const _0x174c80=_0x102251(_0x48b323['zone'],Settings['defaultZone']);return _0x174c80['isValid']?new DateTime({'ts':_0x15f167,'zone':_0x174c80,'loc':_0x4e5663['fromObject'](_0x48b323)}):DateTime['invalid'](_0x4e3fe6(_0x174c80));}static['fromMillis'](_0x5ec078,_0x23510a={}){if(_0x15f55e(_0x5ec078))return _0x5ec078<-_0x516d16||_0x5ec078>_0x516d16?DateTime['invalid']('Timestamp\x20out\x20of\x20range'):new DateTime({'ts':_0x5ec078,'zone':_0x102251(_0x23510a['zone'],Settings['defaultZone']),'loc':_0x4e5663['fromObject'](_0x23510a)});throw new InvalidArgumentError('fromMillis\x20requires\x20a\x20numerical\x20input,\x20but\x20received\x20a\x20'+typeof _0x5ec078+'\x20with\x20value\x20'+_0x5ec078);}static['fromSeconds'](_0x1bef4c,_0x5b9906={}){if(_0x15f55e(_0x1bef4c))return new DateTime({'ts':0x3e8*_0x1bef4c,'zone':_0x102251(_0x5b9906['zone'],Settings['defaultZone']),'loc':_0x4e5663['fromObject'](_0x5b9906)});throw new InvalidArgumentError('fromSeconds\x20requires\x20a\x20numerical\x20input');}static['fromObject'](_0x395478,_0x1ff429={}){_0x395478=_0x395478||{};const _0x123cde=_0x102251(_0x1ff429['zone'],Settings['defaultZone']);if(!_0x123cde['isValid'])return DateTime['invalid'](_0x4e3fe6(_0x123cde));const _0x4e7fac=_0x4e5663['fromObject'](_0x1ff429),_0x413f7a=_0xcd427d(_0x395478,_0x4833b9),{minDaysInFirstWeek:_0x297fc1,startOfWeek:_0x21e131}=_0x2a8582(_0x413f7a,_0x4e7fac),_0x32feeb=Settings['now'](),_0x303f23=_0x2a4399(_0x1ff429['specificOffset'])?_0x123cde['offset'](_0x32feeb):_0x1ff429['specificOffset'],_0x1cbdb7=!_0x2a4399(_0x413f7a['ordinal']),_0xa5b3c3=!_0x2a4399(_0x413f7a['year']),_0x40853d=!_0x2a4399(_0x413f7a['month'])||!_0x2a4399(_0x413f7a['day']),_0x597028=_0xa5b3c3||_0x40853d,_0x12e6c7=_0x413f7a['weekYear']||_0x413f7a['weekNumber'];if((_0x597028||_0x1cbdb7)&&_0x12e6c7)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x40853d&&_0x1cbdb7)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');const _0x4ab5fd=_0x12e6c7||_0x413f7a['weekday']&&!_0x597028;let _0xd54ba7,_0x8db015,_0x4cc157=_0x1f16a2(_0x32feeb,_0x303f23);_0x4ab5fd?(_0xd54ba7=_0x2fa658,_0x8db015=_0x3e963a,_0x4cc157=_0x53d4b0(_0x4cc157,_0x297fc1,_0x21e131)):_0x1cbdb7?(_0xd54ba7=_0x9c2186,_0x8db015=_0x14a0eb,_0x4cc157=_0x5af2e9(_0x4cc157)):(_0xd54ba7=_0x58f55c,_0x8db015=to);let _0x11db9d=!0x1;for(const _0x1ae4e8 of _0xd54ba7){_0x2a4399(_0x413f7a[_0x1ae4e8])?_0x413f7a[_0x1ae4e8]=_0x11db9d?_0x8db015[_0x1ae4e8]:_0x4cc157[_0x1ae4e8]:_0x11db9d=!0x0;}const _0x827e=_0x4ab5fd?function(_0x47abc2,_0x1c06b0=0x4,_0x323358=0x1){const _0x428d3b=_0xed0727(_0x47abc2['weekYear']),_0x2b5ea8=_0x305c3b(_0x47abc2['weekNumber'],0x1,_0x3d95a6(_0x47abc2['weekYear'],_0x1c06b0,_0x323358)),_0x3f293e=_0x305c3b(_0x47abc2['weekday'],0x1,0x7);return _0x428d3b?_0x2b5ea8?!_0x3f293e&&_0x1c71d1('weekday',_0x47abc2['weekday']):_0x1c71d1('week',_0x47abc2['weekNumber']):_0x1c71d1('weekYear',_0x47abc2['weekYear']);}(_0x413f7a,_0x297fc1,_0x21e131):_0x1cbdb7?function(_0xc34c08){const _0x2e0fca=_0xed0727(_0xc34c08['year']),_0x25eecf=_0x305c3b(_0xc34c08['ordinal'],0x1,_0x168b4f(_0xc34c08['year']));return _0x2e0fca?!_0x25eecf&&_0x1c71d1('ordinal',_0xc34c08['ordinal']):_0x1c71d1('year',_0xc34c08['year']);}(_0x413f7a):_0x3fde59(_0x413f7a),_0x20dd41=_0x827e||_0x5f3ceb(_0x413f7a);if(_0x20dd41)return DateTime['invalid'](_0x20dd41);const _0x37eae8=_0x4ab5fd?_0x63360a(_0x413f7a,_0x297fc1,_0x21e131):_0x1cbdb7?_0x556fb3(_0x413f7a):_0x413f7a,[_0x568c07,_0x591404]=_0x2beef7(_0x37eae8,_0x303f23,_0x123cde),_0x12ec29=new DateTime({'ts':_0x568c07,'zone':_0x123cde,'o':_0x591404,'loc':_0x4e7fac});return _0x413f7a['weekday']&&_0x597028&&_0x395478['weekday']!==_0x12ec29['weekday']?DateTime['invalid']('mismatched\x20weekday','you\x20can\x27t\x20specify\x20both\x20a\x20weekday\x20of\x20'+_0x413f7a['weekday']+'\x20and\x20a\x20date\x20of\x20'+_0x12ec29['toISO']()):_0x12ec29['isValid']?_0x12ec29:DateTime['invalid'](_0x12ec29['invalid']);}static['fromISO'](_0x320e0c,_0x5f0c2b={}){const [_0x52a779,_0x281076]=function(_0x595157){return _0x59dbab(_0x595157,[tr,_0x146a55],[_0x47ffbe,_0x43ccc6],[_0x5b69ac,_0x4d75da],[_0x1396c7,_0xbfbcc]);}(_0x320e0c);return _0x45d2b3(_0x52a779,_0x281076,_0x5f0c2b,'ISO\x208601',_0x320e0c);}static['fromRFC2822'](_0x762218,_0xdf74d6={}){const [_0x1d1276,_0x4ea5cb]=function(_0x103c99){return _0x59dbab(function(_0x36b4df){return _0x36b4df['replace'](/\([^()]*\)|[\n\t]/g,'\x20')['replace'](/(\s\s+)/g,'\x20')['trim']();}(_0x103c99),[_0x43bc8a,_0x318c31]);}(_0x762218);return _0x45d2b3(_0x1d1276,_0x4ea5cb,_0xdf74d6,'RFC\x202822',_0x762218);}static['fromHTTP'](_0x2ab174,_0x286181={}){const [_0x283a74,_0x109cbc]=function(_0x3d596a){return _0x59dbab(_0x3d596a,[_0x1c8e33,_0x48b326],[_0x4b6faa,_0x48b326],[_0xb488a8,_0x3ab3e4]);}(_0x2ab174);return _0x45d2b3(_0x283a74,_0x109cbc,_0x286181,'HTTP',_0x286181);}static['fromFormat'](_0x5f3fce,_0x144c83,_0x4e0d41={}){if(_0x2a4399(_0x5f3fce)||_0x2a4399(_0x144c83))throw new InvalidArgumentError('fromFormat\x20requires\x20an\x20input\x20string\x20and\x20a\x20format');const {locale:_0x11c74d=null,numberingSystem:_0x589644=null}=_0x4e0d41,_0x3dca49=_0x4e5663['fromOpts']({'locale':_0x11c74d,'numberingSystem':_0x589644,'defaultToEN':!0x0}),[_0x4756af,_0x387855,_0x127bb9,_0x1dba76]=function(_0x52bd4b,_0x5ade20,_0x475134){const {result:_0x376efe,zone:_0x3ecffc,specificOffset:_0x239978,invalidReason:_0x3606c8}=_0x49581a(_0x52bd4b,_0x5ade20,_0x475134);return[_0x376efe,_0x3ecffc,_0x239978,_0x3606c8];}(_0x3dca49,_0x5f3fce,_0x144c83);return _0x1dba76?DateTime['invalid'](_0x1dba76):_0x45d2b3(_0x4756af,_0x387855,_0x4e0d41,'format\x20'+_0x144c83,_0x5f3fce,_0x127bb9);}static['fromString'](_0x3e9eee,_0x118e50,_0x32d321={}){return DateTime['fromFormat'](_0x3e9eee,_0x118e50,_0x32d321);}static['fromSQL'](_0x16f1e6,_0x529b21={}){const [_0x4cec33,_0x136c51]=function(_0x1ae5c3){return _0x59dbab(_0x1ae5c3,[_0x317fcf,_0x146a55],[_0x1b4b79,_0x34f22c]);}(_0x16f1e6);return _0x45d2b3(_0x4cec33,_0x136c51,_0x529b21,'SQL',_0x16f1e6);}static['invalid'](_0x443551,_0x1091b6=null){if(!_0x443551)throw new InvalidArgumentError('need\x20to\x20specify\x20a\x20reason\x20the\x20DateTime\x20is\x20invalid');const _0x5eaa7d=_0x443551 instanceof _0x1b2b84?_0x443551:new _0x1b2b84(_0x443551,_0x1091b6);if(Settings['throwOnInvalid'])throw new InvalidDateTimeError(_0x5eaa7d);return new DateTime({'invalid':_0x5eaa7d});}static['isDateTime'](_0x33e386){return _0x33e386&&_0x33e386['isLuxonDateTime']||!0x1;}static['parseFormatForOpts'](_0x3aa4f4,_0x504de8={}){const _0xd8cfc8=_0x25d91b(_0x3aa4f4,_0x4e5663['fromObject'](_0x504de8));return _0xd8cfc8?_0xd8cfc8['map'](t=>t?t['val']:null)['join'](''):null;}static['expandFormat'](_0x4a2b58,_0xf45c04={}){return _0x5188bd(Formatter['parseFormat'](_0x4a2b58),_0x4e5663['fromObject'](_0xf45c04))['map'](t=>t['val'])['join']('');}static['resetCache'](){_0x31e7e7=void 0x0,_0x141c29['clear']();}['get'](_0x4e3c9c){return this[_0x4e3c9c];}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']?_0x232669(this)['weekYear']:NaN;}get['weekNumber'](){return this['isValid']?_0x232669(this)['weekNumber']:NaN;}get['weekday'](){return this['isValid']?_0x232669(this)['weekday']:NaN;}get['isWeekend'](){return this['isValid']&&this['loc']['getWeekendDays']()['includes'](this['weekday']);}get['localWeekday'](){return this['isValid']?_0x5cc123(this)['weekday']:NaN;}get['localWeekNumber'](){return this['isValid']?_0x5cc123(this)['weekNumber']:NaN;}get['localWeekYear'](){return this['isValid']?_0x5cc123(this)['weekYear']:NaN;}get['ordinal'](){return this['isValid']?_0x5af2e9(this['c'])['ordinal']:NaN;}get['monthShort'](){return this['isValid']?_0x56db82['months']('short',{'locObj':this['loc']})[this['month']-0x1]:null;}get['monthLong'](){return this['isValid']?_0x56db82['months']('long',{'locObj':this['loc']})[this['month']-0x1]:null;}get['weekdayShort'](){return this['isValid']?_0x56db82['weekdays']('short',{'locObj':this['loc']})[this['weekday']-0x1]:null;}get['weekdayLong'](){return this['isValid']?_0x56db82['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 _0x5e13ff=0x5265c00,_0x2cd31d=0xea60,_0x21aab0=_0x42cac0(this['c']),_0x1085ef=this['zone']['offset'](_0x21aab0-_0x5e13ff),_0x38c5e8=this['zone']['offset'](_0x21aab0+_0x5e13ff),_0x366c04=this['zone']['offset'](_0x21aab0-_0x1085ef*_0x2cd31d),_0x5614b8=this['zone']['offset'](_0x21aab0-_0x38c5e8*_0x2cd31d);if(_0x366c04===_0x5614b8)return[this];const _0x31da4e=_0x21aab0-_0x366c04*_0x2cd31d,_0x5618ea=_0x21aab0-_0x5614b8*_0x2cd31d,_0x3e4ae9=_0x1f16a2(_0x31da4e,_0x366c04),_0x104b19=_0x1f16a2(_0x5618ea,_0x5614b8);return _0x3e4ae9['hour']===_0x104b19['hour']&&_0x3e4ae9['minute']===_0x104b19['minute']&&_0x3e4ae9['second']===_0x104b19['second']&&_0x3e4ae9['millisecond']===_0x104b19['millisecond']?[_0x1986b8(this,{'ts':_0x31da4e}),_0x1986b8(this,{'ts':_0x5618ea})]:[this];}get['isInLeapYear'](){return _0x491962(this['year']);}get['daysInMonth'](){return _0x52134e(this['year'],this['month']);}get['daysInYear'](){return this['isValid']?_0x168b4f(this['year']):NaN;}get['weeksInWeekYear'](){return this['isValid']?_0x3d95a6(this['weekYear']):NaN;}get['weeksInLocalWeekYear'](){return this['isValid']?_0x3d95a6(this['localWeekYear'],this['loc']['getMinDaysInFirstWeek'](),this['loc']['getStartOfWeek']()):NaN;}['resolvedLocaleOptions'](_0x2102a5={}){const {locale:_0x5aa350,numberingSystem:_0x50fc3c,calendar:_0x475c4d}=Formatter['create'](this['loc']['clone'](_0x2102a5),_0x2102a5)['resolvedOptions'](this);return{'locale':_0x5aa350,'numberingSystem':_0x50fc3c,'outputCalendar':_0x475c4d};}['toUTC'](_0x5e08c0=0x0,_0x405090={}){return this['setZone'](FixedOffsetZone['instance'](_0x5e08c0),_0x405090);}['toLocal'](){return this['setZone'](Settings['defaultZone']);}['setZone'](_0x24a642,{keepLocalTime:_0x9bd331=!0x1,keepCalendarTime:_0x18434f=!0x1}={}){if((_0x24a642=_0x102251(_0x24a642,Settings['defaultZone']))['equals'](this['zone']))return this;if(_0x24a642['isValid']){let _0x20a652=this['ts'];if(_0x9bd331||_0x18434f){const _0x587710=_0x24a642['offset'](this['ts']),_0x2c8c3a=this['toObject']();[_0x20a652]=_0x2beef7(_0x2c8c3a,_0x587710,_0x24a642);}return _0x1986b8(this,{'ts':_0x20a652,'zone':_0x24a642});}return DateTime['invalid'](_0x4e3fe6(_0x24a642));}['reconfigure']({locale:_0x32177e,numberingSystem:_0x4e26fd,outputCalendar:_0x4d6aa5}={}){return _0x1986b8(this,{'loc':this['loc']['clone']({'locale':_0x32177e,'numberingSystem':_0x4e26fd,'outputCalendar':_0x4d6aa5})});}['setLocale'](_0x24e69b){return this['reconfigure']({'locale':_0x24e69b});}['set'](_0x2d9648){if(!this['isValid'])return this;const _0x201387=_0xcd427d(_0x2d9648,_0x4833b9),{minDaysInFirstWeek:_0x46f1f2,startOfWeek:_0x118f4e}=_0x2a8582(_0x201387,this['loc']),_0x4cf203=!_0x2a4399(_0x201387['weekYear'])||!_0x2a4399(_0x201387['weekNumber'])||!_0x2a4399(_0x201387['weekday']),_0x1be87e=!_0x2a4399(_0x201387['ordinal']),_0xb33c0=!_0x2a4399(_0x201387['year']),_0x2780aa=!_0x2a4399(_0x201387['month'])||!_0x2a4399(_0x201387['day']),_0x2e554b=_0xb33c0||_0x2780aa,_0x373b80=_0x201387['weekYear']||_0x201387['weekNumber'];if((_0x2e554b||_0x1be87e)&&_0x373b80)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x2780aa&&_0x1be87e)throw new ConflictingSpecificationError('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');let _0x219371;_0x4cf203?_0x219371=_0x63360a({..._0x53d4b0(this['c'],_0x46f1f2,_0x118f4e),..._0x201387},_0x46f1f2,_0x118f4e):_0x2a4399(_0x201387['ordinal'])?(_0x219371={...this['toObject'](),..._0x201387},_0x2a4399(_0x201387['day'])&&(_0x219371['day']=Math['min'](_0x52134e(_0x219371['year'],_0x219371['month']),_0x219371['day']))):_0x219371=_0x556fb3({..._0x5af2e9(this['c']),..._0x201387});const [_0x213088,_0x4df260]=_0x2beef7(_0x219371,this['o'],this['zone']);return _0x1986b8(this,{'ts':_0x213088,'o':_0x4df260});}['plus'](_0x2a9b1e){if(!this['isValid'])return this;return _0x1986b8(this,_0x2fe3e7(this,Duration['fromDurationLike'](_0x2a9b1e)));}['minus'](_0x3b2337){if(!this['isValid'])return this;return _0x1986b8(this,_0x2fe3e7(this,Duration['fromDurationLike'](_0x3b2337)['negate']()));}['startOf'](_0x1b7d29,{useLocaleWeeks:_0x4d5a38=!0x1}={}){if(!this['isValid'])return this;const _0x310499={},_0x1a7a46=Duration['normalizeUnit'](_0x1b7d29);switch(_0x1a7a46){case'years':_0x310499['month']=0x1;case'quarters':case'months':_0x310499['day']=0x1;case'weeks':case'days':_0x310499['hour']=0x0;case'hours':_0x310499['minute']=0x0;case'minutes':_0x310499['second']=0x0;case'seconds':_0x310499['millisecond']=0x0;}if('weeks'===_0x1a7a46){if(_0x4d5a38){const _0x7a205a=this['loc']['getStartOfWeek'](),{weekday:_0x147387}=this;_0x147387<_0x7a205a&&(_0x310499['weekNumber']=this['weekNumber']-0x1),_0x310499['weekday']=_0x7a205a;}else _0x310499['weekday']=0x1;}if('quarters'===_0x1a7a46){const _0x562353=Math['ceil'](this['month']/0x3);_0x310499['month']=0x3*(_0x562353-0x1)+0x1;}return this['set'](_0x310499);}['endOf'](_0x1a6493,_0x29c691){return this['isValid']?this['plus']({[_0x1a6493]:0x1})['startOf'](_0x1a6493,_0x29c691)['minus'](0x1):this;}['toFormat'](_0x35e9f2,_0x3d3f2c={}){return this['isValid']?Formatter['create'](this['loc']['redefaultToEN'](_0x3d3f2c))['formatDateTimeFromString'](this,_0x35e9f2):_0x35e072;}['toLocaleString'](_0x10271b=_0x196798,_0x40fd9e={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x40fd9e),_0x10271b)['formatDateTime'](this):_0x35e072;}['toLocaleParts'](_0x189365={}){return this['isValid']?Formatter['create'](this['loc']['clone'](_0x189365),_0x189365)['formatDateTimeParts'](this):[];}['toISO']({format:_0x39598a='extended',suppressSeconds:_0x491a1f=!0x1,suppressMilliseconds:_0x39dc90=!0x1,includeOffset:_0x2028d8=!0x0,extendedZone:_0x51576e=!0x1}={}){if(!this['isValid'])return null;const _0x1d26a9='extended'===_0x39598a;let _0x436e92=_0x22ac3f(this,_0x1d26a9);return _0x436e92+='T',_0x436e92+=_0x20c3f1(this,_0x1d26a9,_0x491a1f,_0x39dc90,_0x2028d8,_0x51576e),_0x436e92;}['toISODate']({format:_0x42f8c6='extended'}={}){return this['isValid']?_0x22ac3f(this,'extended'===_0x42f8c6):null;}['toISOWeekDate'](){return _0x5517c3(this,'kkkk-\x27W\x27WW-c');}['toISOTime']({suppressMilliseconds:_0xefa7f2=!0x1,suppressSeconds:_0xb9c755=!0x1,includeOffset:_0x470770=!0x0,includePrefix:_0x880cf7=!0x1,extendedZone:_0x2e0374=!0x1,format:_0xe098c='extended'}={}){if(!this['isValid'])return null;return(_0x880cf7?'T':'')+_0x20c3f1(this,'extended'===_0xe098c,_0xb9c755,_0xefa7f2,_0x470770,_0x2e0374);}['toRFC2822'](){return _0x5517c3(this,'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20ZZZ',!0x1);}['toHTTP'](){return _0x5517c3(this['toUTC'](),'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20\x27GMT\x27');}['toSQLDate'](){return this['isValid']?_0x22ac3f(this,!0x0):null;}['toSQLTime']({includeOffset:_0x16a984=!0x0,includeZone:_0x14af74=!0x1,includeOffsetSpace:_0xb11826=!0x0}={}){let _0x1a8b4e='HH:mm:ss.SSS';return(_0x14af74||_0x16a984)&&(_0xb11826&&(_0x1a8b4e+='\x20'),_0x14af74?_0x1a8b4e+='z':_0x16a984&&(_0x1a8b4e+='ZZ')),_0x5517c3(this,_0x1a8b4e,!0x0);}['toSQL'](_0x344d60={}){return this['isValid']?this['toSQLDate']()+'\x20'+this['toSQLTime'](_0x344d60):null;}['toString'](){return this['isValid']?this['toISO']():_0x35e072;}[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'](_0x586821={}){if(!this['isValid'])return{};const _0x17d1db={...this['c']};return _0x586821['includeConfig']&&(_0x17d1db['outputCalendar']=this['outputCalendar'],_0x17d1db['numberingSystem']=this['loc']['numberingSystem'],_0x17d1db['locale']=this['loc']['locale']),_0x17d1db;}['toJSDate'](){return new Date(this['isValid']?this['ts']:NaN);}['diff'](_0x365731,_0x529628='milliseconds',_0x2cbc85={}){if(!this['isValid']||!_0x365731['isValid'])return Duration['invalid']('created\x20by\x20diffing\x20an\x20invalid\x20DateTime');const _0x553b7c={'locale':this['locale'],'numberingSystem':this['numberingSystem'],..._0x2cbc85},_0x2debb7=(_0x584160=_0x529628,Array['isArray'](_0x584160)?_0x584160:[_0x584160])['map'](Duration['normalizeUnit']),_0x46ed5d=_0x365731['valueOf']()>this['valueOf'](),_0x3d1897=_0x68d86e(_0x46ed5d?this:_0x365731,_0x46ed5d?_0x365731:this,_0x2debb7,_0x553b7c);var _0x584160;return _0x46ed5d?_0x3d1897['negate']():_0x3d1897;}['diffNow'](_0x2af9f4='milliseconds',_0x2a241c={}){return this['diff'](DateTime['now'](),_0x2af9f4,_0x2a241c);}['until'](_0x33c094){return this['isValid']?Interval['fromDateTimes'](this,_0x33c094):this;}['hasSame'](_0x1a719d,_0x3b4f71,_0x158701){if(!this['isValid'])return!0x1;const _0x122342=_0x1a719d['valueOf'](),_0x2f5833=this['setZone'](_0x1a719d['zone'],{'keepLocalTime':!0x0});return _0x2f5833['startOf'](_0x3b4f71,_0x158701)<=_0x122342&&_0x122342<=_0x2f5833['endOf'](_0x3b4f71,_0x158701);}['equals'](_0xda771f){return this['isValid']&&_0xda771f['isValid']&&this['valueOf']()===_0xda771f['valueOf']()&&this['zone']['equals'](_0xda771f['zone'])&&this['loc']['equals'](_0xda771f['loc']);}['toRelative'](_0x42fbf3={}){if(!this['isValid'])return null;const _0x3347ce=_0x42fbf3['base']||DateTime['fromObject']({},{'zone':this['zone']}),_0x145924=_0x42fbf3['padding']?this<_0x3347ce?-_0x42fbf3['padding']:_0x42fbf3['padding']:0x0;let _0x2bd940=['years','months','days','hours','minutes','seconds'],_0x3abcdb=_0x42fbf3['unit'];return Array['isArray'](_0x42fbf3['unit'])&&(_0x2bd940=_0x42fbf3['unit'],_0x3abcdb=void 0x0),_0x264fee(_0x3347ce,this['plus'](_0x145924),{..._0x42fbf3,'numeric':'always','units':_0x2bd940,'unit':_0x3abcdb});}['toRelativeCalendar'](_0x1fa391={}){return this['isValid']?_0x264fee(_0x1fa391['base']||DateTime['fromObject']({},{'zone':this['zone']}),this,{..._0x1fa391,'numeric':'auto','units':['years','months','days'],'calendary':!0x0}):null;}static['min'](..._0x24dcf4){if(!_0x24dcf4['every'](DateTime['isDateTime']))throw new InvalidArgumentError('min\x20requires\x20all\x20arguments\x20be\x20DateTimes');return _0x55ae23(_0x24dcf4,_0x3b15b9=>_0x3b15b9['valueOf'](),Math['min']);}static['max'](..._0x23301d){if(!_0x23301d['every'](DateTime['isDateTime']))throw new InvalidArgumentError('max\x20requires\x20all\x20arguments\x20be\x20DateTimes');return _0x55ae23(_0x23301d,_0x242d83=>_0x242d83['valueOf'](),Math['max']);}static['fromFormatExplain'](_0x1671d0,_0x89e5a0,_0x370c3b={}){const {locale:_0x479821=null,numberingSystem:_0x593dac=null}=_0x370c3b;return _0x49581a(_0x4e5663['fromOpts']({'locale':_0x479821,'numberingSystem':_0x593dac,'defaultToEN':!0x0}),_0x1671d0,_0x89e5a0);}static['fromStringExplain'](_0x28aa43,_0x39c4a4,_0x48882a={}){return DateTime['fromFormatExplain'](_0x28aa43,_0x39c4a4,_0x48882a);}static['buildFormatParser'](_0x2fd2bb,_0x4ec165={}){const {locale:_0xac1976=null,numberingSystem:_0x33dd7d=null}=_0x4ec165,_0x23a473=_0x4e5663['fromOpts']({'locale':_0xac1976,'numberingSystem':_0x33dd7d,'defaultToEN':!0x0});return new _0x29abd9(_0x23a473,_0x2fd2bb);}static['fromFormatParser'](_0x4ef0ac,_0x3556a9,_0x5eeb87={}){if(_0x2a4399(_0x4ef0ac)||_0x2a4399(_0x3556a9))throw new InvalidArgumentError('fromFormatParser\x20requires\x20an\x20input\x20string\x20and\x20a\x20format\x20parser');const {locale:_0x74f0bf=null,numberingSystem:_0x285d80=null}=_0x5eeb87,_0x6963a8=_0x4e5663['fromOpts']({'locale':_0x74f0bf,'numberingSystem':_0x285d80,'defaultToEN':!0x0});if(!_0x6963a8['equals'](_0x3556a9['locale']))throw new InvalidArgumentError('fromFormatParser\x20called\x20with\x20a\x20locale\x20of\x20'+_0x6963a8+',\x20but\x20the\x20format\x20parser\x20was\x20created\x20for\x20'+_0x3556a9['locale']);const {result:_0xb9c370,zone:_0x234acf,specificOffset:_0x11cf40,invalidReason:_0x51ad72}=_0x3556a9['explainFromTokens'](_0x4ef0ac);return _0x51ad72?DateTime['invalid'](_0x51ad72):_0x45d2b3(_0xb9c370,_0x234acf,_0x5eeb87,'format\x20'+_0x3556a9['format'],_0x4ef0ac,_0x11cf40);}static get['DATE_SHORT'](){return _0x196798;}static get['DATE_MED'](){return _0x22a09b;}static get['DATE_MED_WITH_WEEKDAY'](){return _0x20abac;}static get['DATE_FULL'](){return _0x503f55;}static get['DATE_HUGE'](){return _0x3fa6ab;}static get['TIME_SIMPLE'](){return _0x564f03;}static get['TIME_WITH_SECONDS'](){return _0x1d69f3;}static get['TIME_WITH_SHORT_OFFSET'](){return _0x3e15ff;}static get['TIME_WITH_LONG_OFFSET'](){return _0x27c544;}static get['TIME_24_SIMPLE'](){return _0x5dea3f;}static get['TIME_24_WITH_SECONDS'](){return _0x26c917;}static get['TIME_24_WITH_SHORT_OFFSET'](){return _0x29ca48;}static get['TIME_24_WITH_LONG_OFFSET'](){return _0x19694d;}static get['DATETIME_SHORT'](){return _0x1a9aa8;}static get['DATETIME_SHORT_WITH_SECONDS'](){return _0x5919b0;}static get['DATETIME_MED'](){return _0x39fbb4;}static get['DATETIME_MED_WITH_SECONDS'](){return _0x526310;}static get['DATETIME_MED_WITH_WEEKDAY'](){return _0xf69215;}static get['DATETIME_FULL'](){return _0x3f7786;}static get['DATETIME_FULL_WITH_SECONDS'](){return _0x230ec2;}static get['DATETIME_HUGE'](){return _0x334d47;}static get['DATETIME_HUGE_WITH_SECONDS'](){return _0x4cf81d;}}function _0x4c6383(_0x12f4d7){if(DateTime['isDateTime'](_0x12f4d7))return _0x12f4d7;if(_0x12f4d7&&_0x12f4d7['valueOf']&&_0x15f55e(_0x12f4d7['valueOf']()))return DateTime['fromJSDate'](_0x12f4d7);if(_0x12f4d7&&'object'==typeof _0x12f4d7)return DateTime['fromObject'](_0x12f4d7);throw new InvalidArgumentError('Unknown\x20datetime\x20argument:\x20'+_0x12f4d7+',\x20of\x20type\x20'+typeof _0x12f4d7);}function _0x4341fd(_0x22c8de={},_0x44e800){if(void 0x0!==_0x22c8de['dateTimeFormat']&&'function'!=typeof _0x22c8de['dateTimeFormat'])throw new _0x22b56d['CKEditorError']('invalid-date-time-format');return _0x344a91=>{const _0x3eb4c4='string'==typeof _0x344a91?DateTime['fromISO'](_0x344a91):DateTime['fromJSDate'](_0x344a91),_0x556485=DateTime['now'](),_0x5a6390=Math['floor'](_0x556485['diff'](_0x3eb4c4,'days')['days']);return _0x22c8de['dateTimeFormat']?_0x22c8de['dateTimeFormat'](_0x3eb4c4['toJSDate'](),_0x44e800&&_0x44e800['t']?_0x44e800['t']:void 0x0):0x0===_0x5a6390?_0x44e800?_0x207a90(_0x44e800,'Today')+'\x20'+_0x3eb4c4['toFormat']('hh:mma'):_0x3eb4c4['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x5a6390?_0x44e800?_0x207a90(_0x44e800,'Yesterday')+'\x20'+_0x3eb4c4['toFormat']('hh:mma'):_0x3eb4c4['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x5a6390<0x7?_0x44e800?_0x207a90(_0x44e800,'Last')+'\x20'+_0x207a90(_0x44e800,_0x3eb4c4['toFormat']('EEEE'))+'\x20'+_0x3eb4c4['toFormat']('hh:mma'):_0x3eb4c4['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x3eb4c4['toFormat']('LL-dd-yyyy\x20hh:mma');};}function _0x13ae85(_0x58d13c,_0x513d24){const _0x3a1a4e=_0x58d13c['mapper']['markerNameToElements'](_0x513d24['name']);if(!_0x3a1a4e)return null;const _0x4c39fc=_0x22b56d['first'](_0x3a1a4e['values']());return _0x58d13c['view']['domConverter']['mapViewToDom'](_0x4c39fc)||null;}function _0x21d323(_0x3ef6ed,_0x568e5a){if(0x0===_0x568e5a['length'])return null;const _0x530f94=[],_0x3d4d1f=_0x3ef6ed['view']['domConverter'];for(const _0x3916b0 of _0x568e5a){const _0x39df6f=_0x3ef6ed['mapper']['markerNameToElements'](_0x3916b0['name']);if(!_0x39df6f)continue;const _0x2c9c0f=Array['from'](_0x39df6f)['map'](_0x382507=>_0x3d4d1f['mapViewToDom'](_0x382507))['filter'](_0x4268ed=>!!_0x4268ed);_0x530f94['push'](..._0x2c9c0f);}if(0x0===_0x530f94['length'])return null;const _0x386be0=[];for(const _0x469a70 of _0x530f94){const _0x1c55a6=_0x469a70['getClientRects']()['item'](0x0);_0x1c55a6&&_0x386be0['push']({'x':_0x1c55a6['x'],'y':_0x1c55a6['y'],'domElement':_0x469a70});}return 0x0===_0x386be0['length']?null:(_0x386be0['sort']((_0x2b811e,_0xc676f9)=>_0x2b811e['y']-_0xc676f9['y']||_0x2b811e['x']-_0xc676f9['x']),_0x386be0['map'](_0x535796=>_0x535796['domElement']));}function _0x3be235(_0x107f41,{limit:_0x5c9ded,suffix:_0x15aae8='...'}){const _0x11bc51=[];let _0x2b6b81=0x0;const _0x18db18=_0x107f41['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0x4ec49d=0x0;_0x4ec49d<_0x18db18['length'];_0x4ec49d++){let _0x9b91da=_0x18db18[_0x4ec49d];const _0x570f41=_0x13f2f4(_0x9b91da);if(_0x9b91da['startsWith']('<')){if(_0x2b6b81>=_0x5c9ded){const _0x2efecd=_0x9b91da['match'](/[a-zA-Z]+/);if(!_0x2efecd){_0x18db18[_0x4ec49d]='';continue;}const _0x1b7cfe=_0x2efecd[0x0];_0x9b91da['startsWith']('</')?(_0x11bc51['length']&&(_0x9b91da=''),_0x11bc51['pop']()):(_0x11bc51['push'](_0x1b7cfe),_0x9b91da='');}}else{if(_0x2b6b81>=_0x5c9ded)_0x9b91da='';else{if(_0x2b6b81+_0x570f41['length']>=_0x5c9ded){let _0x1e8e9c=_0x5c9ded-_0x2b6b81;if('\x20'===_0x570f41[_0x1e8e9c-0x1])_0x1e8e9c--;else{const _0x44cf81=_0x570f41['slice'](_0x1e8e9c)['indexOf']('\x20');-0x1!==_0x44cf81?_0x1e8e9c+=_0x44cf81:_0x1e8e9c=_0x9b91da['length'];}_0x9b91da=_0x570f41['slice'](0x0,_0x1e8e9c)['join']('')+_0x15aae8,_0x2b6b81=_0x5c9ded;}else _0x2b6b81+=_0x570f41['length'];}}_0x18db18[_0x4ec49d]=_0x9b91da;}return _0x18db18['join']('\x0a')['replace'](/\n/g,'');}function _0x13f2f4(_0x48303a){const _0xdd43f4=[];for(let _0x573a04=0x0;_0x573a04<_0x48303a['length'];_0x573a04++){const _0x1c1cab=_0x48303a['substring'](_0x573a04)['match'](/^&[a-z0-9#]+;/);if(_0x1c1cab){const _0x53174d=_0x1c1cab[0x0];_0xdd43f4['push'](_0x53174d),_0x573a04+=_0x53174d['length']-0x1;}else _0xdd43f4['push'](_0x48303a[_0x573a04]);}return _0xdd43f4;}class _0x218c1a extends _0x22b56d['View']{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x386f58){super(_0x386f58);const _0x4d8cb2=this['bindTemplate'];this['set']('message',_0x207a90(_0x386f58,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x386f58,_0x207a90(_0x386f58,'Yes'),_0x22b56d['IconCheck'],'submit'),this['cancelView']=this['_createButtonView'](_0x386f58,_0x207a90(_0x386f58,'No'),_0x22b56d['IconCancel'],'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x22b56d['FocusTracker'](),this['keystrokes']=new _0x22b56d['KeystrokeHandler'](),this['focusCycler']=new _0x22b56d['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':_0x4d8cb2['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'](_0x408066,_0x1c4165,_0x285cd8,_0x2fcf30){const _0x51dd13=new _0x22b56d['ButtonView'](_0x408066);return _0x51dd13['label']=_0x1c4165,_0x51dd13['icon']=_0x285cd8,_0x51dd13['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x2fcf30}}),_0x51dd13['on']('execute',()=>this['fire'](_0x2fcf30)),_0x51dd13;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x270d8d=>{this['keystrokes']['listenTo'](_0x270d8d['element']),this['focusTracker']['add'](_0x270d8d['element']);}),this['keystrokes']['set']('esc',(_0x5dd99c,_0x12d8b8)=>{this['fire']('cancel'),_0x12d8b8();});}}function _0x2ef563(_0x43fcfa){return class _0x1227f7 extends _0x43fcfa{['showConfirm'](_0x155707,_0x36ffa3){return this['confirmView']=new _0x218c1a(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x155707,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x36ffa3['appendChild'](this['confirmView']['element']),_0x36ffa3['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x3bddad,_0xd431ca,_0x37c1ef)=>{_0x37c1ef||_0x36ffa3['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x4ca042=>this['confirmView']['on']('submit',_0x4ca042));}['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 _0x43a34a(_0x48c638){let _0x297c1c=0x0,_0x221d34=0x0;for(const _0x5b0665 of _0x175948(_0x48c638))_0x297c1c=(_0x297c1c<<0x5)-_0x297c1c+_0x5b0665,_0x297c1c&=_0x297c1c,[_0x297c1c,_0x221d34]=[_0x221d34,_0x297c1c];return _0x1ae6f7(_0x297c1c)+_0x1ae6f7(_0x221d34);}function*_0x1c2daf(_0x2b5d10){null==_0x2b5d10||null==_0x2b5d10?yield 0x12b9b0a1:0x0===_0x2b5d10||!0x1===_0x2b5d10?yield 0x0:0x1===_0x2b5d10||0x1==_0x2b5d10?yield 0x1:Array['isArray'](_0x2b5d10)?yield*function*(_0x3d9eb0){for(const _0x4282e8 of _0x3d9eb0)yield*_0x1c2daf(_0x4282e8);}(_0x2b5d10):'object'==typeof _0x2b5d10?yield*_0x175948(_0x2b5d10):'string'==typeof _0x2b5d10?yield*_0x2c2223(_0x2b5d10):'number'==typeof _0x2b5d10&&(yield _0x2b5d10);}function*_0x175948(_0x11cdb6){if(yield _0x4f598e('{'),_0x11cdb6){const _0x15af74=Object['keys'](_0x11cdb6)['sort']();for(const _0x2464e2 of _0x15af74){yield*_0x2c2223(_0x2464e2),yield _0x4f598e(':');const _0x191899=_0x11cdb6[_0x2464e2];yield*_0x1c2daf(_0x191899);}}yield _0x4f598e('}');}function*_0x2c2223(_0x355e81){yield _0x4f598e('\x22');for(const _0x544f27 of _0x355e81)yield _0x4f598e(_0x544f27);yield _0x4f598e('\x22');}function _0x4f598e(_0xfd7605){return _0xfd7605['charCodeAt'](0x0);}function _0x1ae6f7(_0xf351bb){return(_0xf351bb*=Math['sign'](_0xf351bb))['toString'](0x24);}const _0xb1eef6=['initialData','context','toolbar','rootsAttributes'],_0x3e6374=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function _0x4fff69(_0x3b1dd6,_0x51228a,_0x2bcb37,_0x5db7d0=[]){const _0x249441='string'==typeof _0x3b1dd6?_0x2bcb37['get'](_0x3b1dd6)['constructor']:_0x3b1dd6['prototype']['constructor'];if(_0x51228a['has'](_0x249441))return _0x51228a['get'](_0x249441);_0x51228a['set'](_0x249441,!0x0);const _0x509588=[..._0x3e6374,..._0x5db7d0]['map'](_0x5334e6=>{if(_0x2bcb37['has'](_0x5334e6))return _0x2bcb37['get'](_0x5334e6)['constructor'];})['filter'](_0x4bd474=>_0x4bd474);if(_0x249441&&_0x509588['includes'](_0x249441))return _0x51228a['set'](_0x249441,!0x1),!0x1;if(!_0x249441['requires'])return _0x51228a['set'](_0x249441,!0x0),!0x0;const _0x3b71ed=_0x249441['requires']['every'](_0x13d99b=>_0x4fff69(_0x13d99b,_0x51228a,_0x2bcb37,_0x5db7d0));return _0x51228a['set'](_0x249441,_0x3b71ed),_0x3b71ed;}function _0x44274e(_0x3830a6,_0x3a6546){const _0x1fdee9={};for(const _0x164c12 of _0x3830a6['config']['names']())_0xb1eef6['includes'](_0x164c12)||(_0x1fdee9[_0x164c12]=_0x3830a6['config']['get'](_0x164c12));const _0x506dce=_0x1fdee9['plugins']||[],_0x1dd473=_0x3830a6['constructor']['builtinPlugins']||[],_0x13d3d7=_0x506dce['length']?_0x506dce:_0x1dd473,_0x311276=_0x1fdee9['extraPlugins']||[];delete _0x1fdee9['extraPlugins'];const _0x1a4c30=_0x1fdee9['removePlugins']||[];delete _0x1fdee9['removePlugins'];const _0x5f4159=_0x3830a6['_context']['config']['get']('plugins')||[],_0x28d4b8=_0x13d3d7['concat'](_0x311276)['concat'](_0x5f4159)['map'](_0x3252ff=>'string'==typeof _0x3252ff?_0x1dd473['find'](_0x5ce610=>_0x5ce610['pluginName']==_0x3252ff):_0x3252ff)['filter'](_0x2a1e41=>!_0x1a4c30['includes'](_0x2a1e41)&&!_0x1a4c30['includes'](_0x2a1e41['pluginName'])),_0x4f36dd=Array['from'](new Set(_0x28d4b8)),_0x127513=new Map();return _0x1fdee9['plugins']=_0x4f36dd['filter'](_0x547d4c=>_0x4fff69(_0x547d4c,_0x127513,_0x3830a6['plugins'],_0x3a6546)),_0x1fdee9;}function _0x5588b7(_0x1534ce,_0x4ff95d){const _0x5c2ed6=[];_0x1534ce['document']['selection']['on']('change:range',()=>{const _0x2fcefb=function(_0x41eac4,_0x1a2b56){const _0x1c3fce=[];for(const _0x10cf03 of _0x41eac4['markers']){const _0x57fa1f=_0x10cf03['getRange']();(_0x57fa1f['containsPosition'](_0x1a2b56)||_0x57fa1f['start']['isEqual'](_0x1a2b56)||_0x57fa1f['end']['isEqual'](_0x1a2b56))&&_0x1c3fce['push'](_0x10cf03);}return _0x1c3fce;}(_0x1534ce,_0x1534ce['document']['selection']['focus']),_0x493af1=[],_0x3c00df=[],_0x24e08d=[];for(const _0x1ea3ae of _0x5c2ed6)_0x2fcefb['includes'](_0x1ea3ae)||_0x493af1['push'](_0x1ea3ae);for(const _0x43220d of _0x2fcefb)_0x5c2ed6['includes'](_0x43220d)||_0x3c00df['push'](_0x43220d),_0x24e08d['push'](_0x43220d);(_0x493af1['length']||_0x3c00df['length'])&&_0x4ff95d({'left':_0x493af1,'entered':_0x3c00df}),_0x5c2ed6['length']=0x0,_0x5c2ed6['push'](..._0x24e08d);});}const _0x463f07='Ctrl+Shift+E';function _0xecfe39(_0x2a2232,_0x531d4d){const _0x4d7ab6=_0x2a2232['element'];_0x2a2232['keystrokes']['listenTo'](_0x4d7ab6);for(const _0xfb8e3e of _0x531d4d)_0x337a15(_0x2a2232,_0xfb8e3e);_0x531d4d['on']('change',(_0x10bfe5,_0x32f032)=>{for(const _0x30c274 of _0x32f032['removed'])_0xc3d0f(_0x2a2232,_0x30c274);for(const _0x1ec205 of Array['from'](_0x32f032['added'])['reverse']())_0x337a15(_0x2a2232,_0x1ec205);}),_0x2a2232['keystrokes']['set']('enter',(_0x5b6c03,_0x429580)=>{_0x4d7ab6===_0x5b6c03['target']&&(_0x2a2232['focusCycler']['focusFirst'](),_0x429580());},{'filter':_0x4d6e0b=>_0x4d6e0b['target']===_0x4d7ab6}),_0x2a2232['keystrokes']['set']('esc',(_0x27ceb5,_0x17ad3d)=>{_0x4d7ab6!==_0x27ceb5['target']?_0x2a2232['focus']():_0x2a2232['fire']('escape'),_0x17ad3d();}),_0x2a2232['keystrokes']['set']('arrowdown',(_0xd179d7,_0x3b1e46)=>{_0x4d7ab6===_0xd179d7['target']&&(_0x2a2232['fire']('arrowdown'),_0x3b1e46());}),_0x2a2232['keystrokes']['set']('arrowup',(_0x389fda,_0x2f85b1)=>{_0x4d7ab6===_0x389fda['target']&&(_0x2a2232['fire']('arrowup'),_0x2f85b1());});}function _0x337a15(_0x7d480a,_0x587805){_0x587805['isRendered']&&(_0x7d480a['focusTracker']['add'](_0x587805['element']),_0x7d480a['keystrokes']['listenTo'](_0x587805['element']),_0x22b56d['isViewWithFocusCycler'](_0x587805)&&function(_0x3676ad,_0x2cfbf9){const _0x3c2ab8=_0x3676ad['actions'],_0x22f1e2=_0x2cfbf9['actions'];for(const _0x3828ac of Object['keys'](_0x3c2ab8))if(_0x3828ac in _0x22f1e2&&_0x3c2ab8[_0x3828ac]!==_0x22f1e2[_0x3828ac])return!0x1;return!0x0;}(_0x7d480a['focusCycler'],_0x587805['focusCycler'])&&_0x7d480a['focusCycler']['chain'](_0x587805['focusCycler']));}function _0xc3d0f(_0x1d13e6,_0x18648d){_0x1d13e6['focusTracker']['remove'](_0x18648d['element']),_0x1d13e6['keystrokes']['stopListening'](_0x18648d['element']),_0x22b56d['isViewWithFocusCycler'](_0x18648d)&&_0x1d13e6['focusCycler']['unchain'](_0x18648d['focusCycler']);}class _0x27459e{['diff'](_0x32a879,_0x45e520,_0x4e21ec={}){let _0x373170;'function'==typeof _0x4e21ec?(_0x373170=_0x4e21ec,_0x4e21ec={}):'callback'in _0x4e21ec&&(_0x373170=_0x4e21ec['callback']);const _0x241e87=this['castInput'](_0x32a879,_0x4e21ec),_0x5ef8b3=this['castInput'](_0x45e520,_0x4e21ec),_0x15f09a=this['removeEmpty'](this['tokenize'](_0x241e87,_0x4e21ec)),_0x5b6dfc=this['removeEmpty'](this['tokenize'](_0x5ef8b3,_0x4e21ec));return this['diffWithOptionsObj'](_0x15f09a,_0x5b6dfc,_0x4e21ec,_0x373170);}['diffWithOptionsObj'](_0x2ce30b,_0x296025,_0x561d30,_0x2e8140){var _0x4af25c;const _0xd8f2c7=_0x1df222=>(_0x1df222=this['postProcess'](_0x1df222,_0x561d30),_0x2e8140?void setTimeout(function(){_0x2e8140(_0x1df222);},0x0):_0x1df222),_0x49e38e=_0x296025['length'],_0x38e408=_0x2ce30b['length'];let _0x1a38b8=0x1,_0x51f4d9=_0x49e38e+_0x38e408;null!=_0x561d30['maxEditLength']&&(_0x51f4d9=Math['min'](_0x51f4d9,_0x561d30['maxEditLength']));const _0x502ebc=null!==(_0x4af25c=_0x561d30['timeout'])&&void 0x0!==_0x4af25c?_0x4af25c:0x1/0x0,_0x5d1b66=Date['now']()+_0x502ebc,_0x3bebb7=[{'oldPos':-0x1,'lastComponent':void 0x0}];let _0x39700e=this['extractCommon'](_0x3bebb7[0x0],_0x296025,_0x2ce30b,0x0,_0x561d30);if(_0x3bebb7[0x0]['oldPos']+0x1>=_0x38e408&&_0x39700e+0x1>=_0x49e38e)return _0xd8f2c7(this['buildValues'](_0x3bebb7[0x0]['lastComponent'],_0x296025,_0x2ce30b));let _0x2524c4=-0x1/0x0,_0x317058=0x1/0x0;const _0xdc1540=()=>{for(let _0x5d350c=Math['max'](_0x2524c4,-_0x1a38b8);_0x5d350c<=Math['min'](_0x317058,_0x1a38b8);_0x5d350c+=0x2){let _0x38ca4d;const _0x25487a=_0x3bebb7[_0x5d350c-0x1],_0x625897=_0x3bebb7[_0x5d350c+0x1];_0x25487a&&(_0x3bebb7[_0x5d350c-0x1]=void 0x0);let _0xafb7f6=!0x1;if(_0x625897){const _0x1004df=_0x625897['oldPos']-_0x5d350c;_0xafb7f6=_0x625897&&0x0<=_0x1004df&&_0x1004df<_0x49e38e;}const _0x3a99db=_0x25487a&&_0x25487a['oldPos']+0x1<_0x38e408;if(_0xafb7f6||_0x3a99db){if(_0x38ca4d=!_0x3a99db||_0xafb7f6&&_0x25487a['oldPos']<_0x625897['oldPos']?this['addToPath'](_0x625897,!0x0,!0x1,0x0,_0x561d30):this['addToPath'](_0x25487a,!0x1,!0x0,0x1,_0x561d30),_0x39700e=this['extractCommon'](_0x38ca4d,_0x296025,_0x2ce30b,_0x5d350c,_0x561d30),_0x38ca4d['oldPos']+0x1>=_0x38e408&&_0x39700e+0x1>=_0x49e38e)return _0xd8f2c7(this['buildValues'](_0x38ca4d['lastComponent'],_0x296025,_0x2ce30b))||!0x0;_0x3bebb7[_0x5d350c]=_0x38ca4d,_0x38ca4d['oldPos']+0x1>=_0x38e408&&(_0x317058=Math['min'](_0x317058,_0x5d350c-0x1)),_0x39700e+0x1>=_0x49e38e&&(_0x2524c4=Math['max'](_0x2524c4,_0x5d350c+0x1));}else _0x3bebb7[_0x5d350c]=void 0x0;}_0x1a38b8++;};if(_0x2e8140)!function _0x153209(){setTimeout(function(){if(_0x1a38b8>_0x51f4d9||Date['now']()>_0x5d1b66)return _0x2e8140(void 0x0);_0xdc1540()||_0x153209();},0x0);}();else for(;_0x1a38b8<=_0x51f4d9&&Date['now']()<=_0x5d1b66;){const _0x376a55=_0xdc1540();if(_0x376a55)return _0x376a55;}}['addToPath'](_0x301222,_0x5afdea,_0x567091,_0x409d57,_0x57c823){const _0x10e91f=_0x301222['lastComponent'];return _0x10e91f&&!_0x57c823['oneChangePerToken']&&_0x10e91f['added']===_0x5afdea&&_0x10e91f['removed']===_0x567091?{'oldPos':_0x301222['oldPos']+_0x409d57,'lastComponent':{'count':_0x10e91f['count']+0x1,'added':_0x5afdea,'removed':_0x567091,'previousComponent':_0x10e91f['previousComponent']}}:{'oldPos':_0x301222['oldPos']+_0x409d57,'lastComponent':{'count':0x1,'added':_0x5afdea,'removed':_0x567091,'previousComponent':_0x10e91f}};}['extractCommon'](_0x1fbcf0,_0x492274,_0x34b945,_0x53ce10,_0x12e4a5){const _0x291ebf=_0x492274['length'],_0x5f144b=_0x34b945['length'];let _0x202f7b=_0x1fbcf0['oldPos'],_0x2b4a6d=_0x202f7b-_0x53ce10,_0x4cfea7=0x0;for(;_0x2b4a6d+0x1<_0x291ebf&&_0x202f7b+0x1<_0x5f144b&&this['equals'](_0x34b945[_0x202f7b+0x1],_0x492274[_0x2b4a6d+0x1],_0x12e4a5);)_0x2b4a6d++,_0x202f7b++,_0x4cfea7++,_0x12e4a5['oneChangePerToken']&&(_0x1fbcf0['lastComponent']={'count':0x1,'previousComponent':_0x1fbcf0['lastComponent'],'added':!0x1,'removed':!0x1});return _0x4cfea7&&!_0x12e4a5['oneChangePerToken']&&(_0x1fbcf0['lastComponent']={'count':_0x4cfea7,'previousComponent':_0x1fbcf0['lastComponent'],'added':!0x1,'removed':!0x1}),_0x1fbcf0['oldPos']=_0x202f7b,_0x2b4a6d;}['equals'](_0xb807ac,_0x234ac7,_0x390f1c){return _0x390f1c['comparator']?_0x390f1c['comparator'](_0xb807ac,_0x234ac7):_0xb807ac===_0x234ac7||!!_0x390f1c['ignoreCase']&&_0xb807ac['toLowerCase']()===_0x234ac7['toLowerCase']();}['removeEmpty'](_0x541f87){const _0x5cfb07=[];for(let _0x4d0f2f=0x0;_0x4d0f2f<_0x541f87['length'];_0x4d0f2f++)_0x541f87[_0x4d0f2f]&&_0x5cfb07['push'](_0x541f87[_0x4d0f2f]);return _0x5cfb07;}['castInput'](_0x392748,_0x389e1e){return _0x392748;}['tokenize'](_0x15e294,_0x11d243){return Array['from'](_0x15e294);}['join'](_0x249d49){return _0x249d49['join']('');}['postProcess'](_0x4f8d8a,_0xc20338){return _0x4f8d8a;}get['useLongestToken'](){return!0x1;}['buildValues'](_0x1ee73a,_0x4437a5,_0x3f1583){const _0x4f4408=[];let _0x2b951;for(;_0x1ee73a;)_0x4f4408['push'](_0x1ee73a),_0x2b951=_0x1ee73a['previousComponent'],delete _0x1ee73a['previousComponent'],_0x1ee73a=_0x2b951;_0x4f4408['reverse']();const _0x2a3315=_0x4f4408['length'];let _0x31af21=0x0,_0x4181e2=0x0,_0x1d90e9=0x0;for(;_0x31af21<_0x2a3315;_0x31af21++){const _0x42fb05=_0x4f4408[_0x31af21];if(_0x42fb05['removed'])_0x42fb05['value']=this['join'](_0x3f1583['slice'](_0x1d90e9,_0x1d90e9+_0x42fb05['count'])),_0x1d90e9+=_0x42fb05['count'];else{if(!_0x42fb05['added']&&this['useLongestToken']){let _0x269ec7=_0x4437a5['slice'](_0x4181e2,_0x4181e2+_0x42fb05['count']);_0x269ec7=_0x269ec7['map'](function(_0x4dc07f,_0x3caf0f){const _0x151221=_0x3f1583[_0x1d90e9+_0x3caf0f];return _0x151221['length']>_0x4dc07f['length']?_0x151221:_0x4dc07f;}),_0x42fb05['value']=this['join'](_0x269ec7);}else _0x42fb05['value']=this['join'](_0x4437a5['slice'](_0x4181e2,_0x4181e2+_0x42fb05['count']));_0x4181e2+=_0x42fb05['count'],_0x42fb05['added']||(_0x1d90e9+=_0x42fb05['count']);}}return _0x4f4408;}}const _0x571a5d=new class _0x2d2dcc extends _0x27459e{['tokenize'](_0x1b9783){return _0x1b9783['slice']();}['join'](_0x14fd6d){return _0x14fd6d;}['removeEmpty'](_0x27b2b5){return _0x27b2b5;}}();function _0x58f388(_0x39fe5e,_0x1f487a,_0x540091){return _0x571a5d['diff'](_0x39fe5e,_0x1f487a,_0x540091);}const _0x15ba5f='$elementId',_0x545a59='data-id';class DocumentCompare extends _0x22b56d['ContextPlugin']{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x22b56d['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x1bd236,_0x490fea)=>{_0x490fea['on']('ready',()=>{this['_integrateEditor'](_0x490fea);});});}get['editor'](){if(this['context']instanceof _0x22b56d['Editor'])return this['context'];{const _0x5860b4=this['context']['editors']['first'];if(!_0x5860b4)throw new _0x22b56d['CKEditorError']('documentcompare-no-editor',this);return _0x5860b4;}}['getDiff'](_0x7c2a57,_0x3228a2,_0x10a6aa={'anchor':'main','markDeletions':!0x1}){let _0x5ef1c1,_0x223d44;const _0x22b9d6=this['editor'];if('string'==typeof _0x10a6aa['anchor']){const _0x3a3222=_0x22b9d6['model']['document']['getRoot'](_0x10a6aa['anchor']);if(!_0x3a3222)throw new _0x22b56d['CKEditorError']('documentcompare-compare-no-root',this,{'anchor':_0x10a6aa['anchor']});_0x5ef1c1=_0x3a3222,_0x223d44=_0x22b9d6['model']['createPositionAt'](_0x3a3222,0x0);}else _0x5ef1c1=_0x10a6aa['anchor']['clone'](),_0x223d44=_0x10a6aa['anchor']['clone']();const _0x2fc246=_0x22b9d6['data']['parse'](_0x7c2a57,_0x5ef1c1),_0x5db6ec=_0x22b9d6['data']['parse'](_0x3228a2,_0x5ef1c1);return new DocumentDiff(_0x2fc246,_0x5db6ec,_0x22b9d6,{'anchor':_0x223d44,'markDeletions':_0x10a6aa['markDeletions']});}['isMarkedRemoveOperation'](_0x4a7d3c){return'marker'==_0x4a7d3c['type']&&_0x4a7d3c['name']['startsWith']('$markedRemove');}['_integrateEditor'](_0x196ae2){_0x196ae2['conversion']['for']('upcast')['add'](_0x34defd=>{_0x34defd['on']('element',(_0x3fb730,_0x140285,_0x559910)=>{if(_0x140285['modelRange'])for(const _0x3f4a86 of _0x140285['modelRange']['getItems']({'shallow':!0x0})){if(_0x3f4a86['is']('$textProxy'))continue;const _0x304722=_0x140285['viewItem']['getAttribute'](_0x545a59);_0x304722&&_0x559910['writer']['setAttribute'](_0x15ba5f,_0x304722,_0x3f4a86);}},{'priority':'lowest'});}),_0x196ae2['model']['schema']['addAttributeCheck'](()=>!0x0,_0x15ba5f);}}class DocumentDiff{['_editor'];['_diffItems']=[];['_operationsData']=[];['_markDeletions'];['_anchor'];['_path']=[0x0];['_parents']=[];constructor(_0x2a286e,_0x506174,_0xad871c,_0x50ce6b){this['_editor']=_0xad871c,this['_markDeletions']=!!_0x50ce6b['markDeletions'],this['_anchor']=_0x50ce6b['anchor'];const _0x59921a=this['_tokenizeModel'](_0x2a286e),_0x166222=this['_tokenizeModel'](_0x506174);this['_diffItems']=this['_diffModelTokens'](_0x59921a,_0x166222),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x2a286e['markers'],_0x506174['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x3beeda=this['_editor']['model']['document'],_0x339853=[];let _0x3d41c4=_0x3beeda['version'];for(const _0x72733c of this['_operationsData'])switch(_0x72733c['type']){case'attribute':{const _0x5e0350=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x72733c['path']),_0x555f26=_0x5e0350['getShiftedBy'](_0x72733c['howMany']),_0x4a41eb=new _0x22b56d['ModelRange'](_0x5e0350,_0x555f26),_0xe959ab=JSON['parse'](_0x72733c['oldValue']),_0x5a64c1=JSON['parse'](_0x72733c['newValue']);_0x339853['push'](new _0x22b56d['AttributeOperation'](_0x4a41eb,_0x72733c['key'],_0xe959ab,_0x5a64c1,_0x3d41c4++));break;}case'insert':{const _0x1c33e4=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x72733c['path']),_0x32a542=this['_makeModelFromTokens'](_0x72733c['tokens']);_0x339853['push'](new _0x22b56d['InsertOperation'](_0x1c33e4,_0x32a542,_0x3d41c4++));break;}case'remove':{const _0xe216a4=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x72733c['path']),_0x24c8dd=new _0x22b56d['ModelPosition'](_0x3beeda['graveyard'],[0x0]);_0x339853['push'](new _0x22b56d['MoveOperation'](_0xe216a4,_0x72733c['howMany'],_0x24c8dd,_0x3d41c4++));break;}case'rename':{const _0x2f9dee=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x72733c['path']);_0x339853['push'](new _0x22b56d['RenameOperation'](_0x2f9dee,_0x72733c['oldName'],_0x72733c['newName'],_0x3d41c4++));break;}case'split':{const _0x2784be=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x72733c['path']),_0xbb3de1=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x72733c['path']['slice'](0x0,-0x1));_0xbb3de1['offset']++,_0x339853['push'](new _0x22b56d['SplitOperation'](_0x2784be,Number['NEGATIVE_INFINITY'],_0xbb3de1,null,_0x3d41c4++));break;}case'merge':{const _0x4d2b5e=_0x72733c['path']['slice'](),_0x56e0c9=_0x4d2b5e['slice'](0x0,-0x1);_0x56e0c9[_0x56e0c9['length']-0x1]++,_0x56e0c9['push'](0x0);const _0x474a6f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x56e0c9),_0x16e22c=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x4d2b5e),_0xd59f93=new _0x22b56d['ModelPosition'](_0x3beeda['graveyard'],[0x0]);_0x339853['push'](new _0x22b56d['MergeOperation'](_0x474a6f,Number['NEGATIVE_INFINITY'],_0x16e22c,_0xd59f93,_0x3d41c4++));break;}case'marker':case'markedRemove':{let _0xca66be=null;if(_0x72733c['range']){const _0x44f5a6=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x72733c['range']['start']),_0xf14b0a=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x72733c['range']['end']);_0xca66be=new _0x22b56d['ModelRange'](_0x44f5a6,_0xf14b0a);}const _0x40434d='marker'==_0x72733c['type']?_0x72733c['name']:'$markedRemove:'+_0x22b56d['uid']();_0x339853['push'](new _0x22b56d['MarkerOperation'](_0x40434d,null,_0xca66be,_0x3beeda['model']['markers'],!0x0,_0x3d41c4++));break;}case'unwrap':{const _0x37ce58=_0x72733c['path']['slice']();_0x37ce58['push'](0x0);const _0x23ca3b=_0x72733c['path']['slice'](),_0x2b3127=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x37ce58),_0x330e28=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x23ca3b),_0x2cf1ec=new _0x22b56d['ModelPosition'](_0x3beeda['graveyard'],[0x0]);_0x339853['push'](new _0x22b56d['MoveOperation'](_0x2b3127,_0x72733c['howMany'],_0x330e28,_0x3d41c4++)),_0x339853['push'](new _0x22b56d['MoveOperation'](_0x330e28['getShiftedBy'](_0x72733c['howMany']),0x1,_0x2cf1ec,_0x3d41c4++));break;}case'wrap':{const _0x1911c5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x72733c['range']['start']),_0x297e46=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x72733c['range']['end']),_0x212ee0=_0x72733c['token']['element']['_clone'](!0x1),_0x403db6=_0x72733c['range']['end']['slice']();_0x403db6['push'](0x0);const _0x4cdc66=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x403db6);_0x339853['push'](new _0x22b56d['InsertOperation'](_0x297e46,_0x212ee0,_0x3d41c4++)),_0x339853['push'](new _0x22b56d['MoveOperation'](_0x1911c5,_0x297e46['offset']-_0x1911c5['offset'],_0x4cdc66,_0x3d41c4++));break;}}return _0x339853;}['_tokenizeModel'](_0x3992d3){const _0x33b4fa=[],_0x140ee6=_0x22b56d['ModelRange']['_createIn'](_0x3992d3),_0x511ecd=new _0x22b56d['ModelTreeWalker']({'boundaries':_0x140ee6});let _0x2910cc='',_0x33bfb8=null;const _0x580814=[''],_0x2123c2=new Map();for(const _0x1fae9b of _0x511ecd)if('elementStart'==_0x1fae9b['type']||'elementEnd'==_0x1fae9b['type']){let _0x478522=_0x580814[0x0];''!==_0x2910cc&&(_0x33b4fa['push'](...this['_makeTokensFromTextByWords'](_0x2910cc,_0x33bfb8,_0x478522)),_0x2910cc='');const _0x25c694=_0x1fae9b['item'];let _0x1bb156;_0x25c694['getAttribute'](_0x15ba5f)?_0x1bb156=_0x25c694['getAttribute'](_0x15ba5f):'elementStart'==_0x1fae9b['type']?(_0x1bb156=_0x2f67c5(_0x25c694),_0x2123c2['set'](_0x25c694,_0x1bb156)):_0x1bb156=_0x2123c2['get'](_0x25c694);const _0x1af9d8=this['_getElementCategory'](_0x25c694);'solid'==_0x1af9d8&&('elementStart'==_0x1fae9b['type']?(_0x478522=_0x1bb156,_0x580814['unshift'](_0x478522)):_0x580814['shift']());const _0xc12f41={'type':'element','element':_0x25c694,'elementId':_0x1bb156,'category':_0x1af9d8,'isStart':'elementStart'==_0x1fae9b['type'],'limitId':_0x478522};_0x33b4fa['push'](_0xc12f41);}else''==_0x2910cc&&(_0x33bfb8=_0x1fae9b['previousPosition']['clone']()),_0x2910cc+=_0x1fae9b['item']['data'];return''!==_0x2910cc&&_0x33b4fa['push'](...this['_makeTokensFromTextByWords'](_0x2910cc,_0x33bfb8,_0x580814[0x0])),_0x33b4fa;}['_makeTokensFromTextByWords'](_0x4aa527,_0x1f3ff4,_0xf41dca){const _0x389f33=_0x4aa527['matchAll'](/(\s)/g),_0x57f9a2=Array['from'](_0x389f33)['map'](_0x553edd=>_0x553edd['index']);_0x57f9a2['push'](_0x4aa527['length']),0x0==_0x57f9a2[0x0]&&_0x57f9a2['shift']();const _0x59afdc=[],_0x31c613=_0x1f3ff4['parent'];let _0x350091=0x0,_0x1d964b=_0x1f3ff4['offset'];for(let _0x502d50=0x0;_0x502d50<_0x57f9a2['length'];_0x502d50++)_0x59afdc['push']({'type':'text','data':_0x4aa527['slice'](_0x350091,_0x57f9a2[_0x502d50]),'parent':_0x31c613,'offset':_0x1d964b,'limitId':_0xf41dca}),_0x350091=_0x57f9a2[_0x502d50],_0x1d964b=_0x1f3ff4['offset']+_0x57f9a2[_0x502d50];return _0x59afdc;}['_getElementCategory'](_0x598e8f){const _0x26b7eb=this['_editor']['model']['schema'];return _0x26b7eb['isLimit'](_0x598e8f)||_0x26b7eb['isContent'](_0x598e8f)||_0x26b7eb['isInline'](_0x598e8f)?'solid':_0x26b7eb['isBlock'](_0x598e8f)?'block':'container';}['_diffModelTokens'](_0x50d5ee,_0x5b0fde){const _0x3b3f3c=_0x58f388(_0x50d5ee,_0x5b0fde,{'comparator':_0x37f43e});this['_handleUnclosedBlockOpeningTags'](_0x3b3f3c);const _0x18f9aa=_0x3b3f3c['flatMap'](_0x44ba7d=>{const _0x386a46=_0x44ba7d['added']?'added':_0x44ba7d['removed']?'removed':'unchanged';return _0x44ba7d['value']['map'](_0x2e1daf=>({'token':_0x2e1daf,'change':_0x386a46}));});let _0x2086e8=0x0;for(const _0x884a2e of _0x18f9aa)'added'!=_0x884a2e['change']&&('unchanged'==_0x884a2e['change']&&(_0x884a2e['before']=_0x50d5ee[_0x2086e8]),_0x2086e8++);return _0x18f9aa;}['_handleUnclosedBlockOpeningTags'](_0x2d4ae8){for(let _0x108e6b=0x0;_0x108e6b<_0x2d4ae8['length']-0x1;_0x108e6b++)if(_0x2d4ae8[_0x108e6b]['removed']&&_0x2d4ae8[_0x108e6b+0x1]['added']){const _0x5544cc=this['_findUnclosedBlockOpeningToken'](_0x2d4ae8[_0x108e6b]['value']);if(null!==_0x5544cc){const _0x1aaa97=this['_findUnclosedBlockOpeningToken'](_0x2d4ae8[_0x108e6b+0x1]['value']),_0x1ab729=_0x2d4ae8[_0x108e6b]['value']['splice'](_0x5544cc),_0x132653=_0x2d4ae8[_0x108e6b+0x1]['value']['splice'](_0x1aaa97),_0x234113=[_0x132653['shift']()];_0x1ab729['shift']();const _0x52f4af={'value':_0x1ab729,'removed':!0x0},_0x10f05d={'value':_0x132653,'added':!0x0},_0x4454ab={'value':_0x234113};_0x2d4ae8['splice'](_0x108e6b+0x2,0x0,_0x4454ab,_0x52f4af,_0x10f05d);}}}['_findUnclosedBlockOpeningToken'](_0x3475f2){let _0x2e30a2=0x0,_0x1685ca=-0x1;for(let _0x55d0ea=0x0;_0x55d0ea<_0x3475f2['length'];_0x55d0ea++){const _0x285914=_0x3475f2[_0x55d0ea];'element'==_0x285914['type']&&'block'==_0x285914['category']&&(_0x2e30a2+=_0x285914['isStart']?0x1:-0x1,_0x285914['isStart']&&(_0x1685ca=_0x55d0ea));}return 0x0===_0x2e30a2?null:_0x1685ca;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x23483b=0x0;_0x23483b<this['_diffItems']['length'];_0x23483b++){const _0x23c7fb=this['_diffItems'][_0x23483b]['change'],_0xa45e6=[];_0xa45e6['push'](this['_diffItems'][_0x23483b]);let _0x5c6d8a=_0x23483b+0x1;for(;this['_diffItems'][_0x5c6d8a]&&this['_diffItems'][_0x5c6d8a]['change']==_0x23c7fb;)_0xa45e6['push'](this['_diffItems'][_0x5c6d8a]),_0x5c6d8a++,_0x23483b++;const _0x25cf3=_0xa45e6['map'](_0x351878=>_0x351878['token']);if('unchanged'==_0x23c7fb)_0xa45e6['map'](_0x41730f=>_0x41730f['before'])['forEach'](_0x2971b2=>this['_traverseOverItem'](_0x2971b2));else{if('removed'==_0x23c7fb){if(this['_markDeletions']){const _0x11e8ef=this['_path']['slice']();_0x25cf3['forEach'](_0x4ad6f7=>this['_traverseOverItem'](_0x4ad6f7));const _0x3b0830=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x11e8ef,'end':_0x3b0830}});}else this['_handleChanged'](_0x25cf3,!0x0,this['_path']['slice']());}else{const _0x3a8130=_0x25cf3['filter'](_0x618712=>'element'!=_0x618712['type']||'container'!=_0x618712['category']);this['_handleChanged'](_0x3a8130,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x1bd138=0x0;_0x1bd138<this['_diffItems']['length'];_0x1bd138++){const _0xc7886a=this['_diffItems'][_0x1bd138]['change'],_0x3960b0=[];_0x3960b0['push'](this['_diffItems'][_0x1bd138]);let _0x4ebc7d=_0x1bd138+0x1;for(;this['_diffItems'][_0x4ebc7d]&&this['_diffItems'][_0x4ebc7d]['change']==_0xc7886a;)_0x3960b0['push'](this['_diffItems'][_0x4ebc7d]),_0x4ebc7d++,_0x1bd138++;const _0x5ae4fe=_0x3960b0['map'](_0x471280=>_0x471280['token']);if('unchanged'==_0xc7886a){const _0x5f4d76=_0x3960b0['map'](_0x1a5f22=>_0x1a5f22['before']);this['_handleUnchanged'](_0x5f4d76,_0x5ae4fe);}else('removed'!=_0xc7886a||this['_markDeletions'])&&_0x5ae4fe['forEach'](_0x4d2409=>{this['_traverseOverItem'](_0x4d2409);});}}['_calculateMarkersOperationsData'](_0x2bbb5e,_0x20f695){const _0x2b5f1d={};for(const [_0x2e298c]of _0x2bbb5e)_0x2b5f1d[_0x2e298c]=null;for(const [_0x423a4f,_0x4ec41a]of _0x20f695)_0x2b5f1d[_0x423a4f]=_0x4ec41a;const _0x1fe4eb=Object['entries'](_0x2b5f1d)['map'](([_0x1222a3,_0x36e7d1])=>({'type':'marker','name':_0x1222a3,'range':_0x36e7d1?{'start':_0x36e7d1['start']['path']['slice'](),'end':_0x36e7d1['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x1fe4eb);}['_handleUnwraps'](){const _0x562bef=new Map(),_0x46a99c=[],_0x35d307=[0x0];let _0x20d040=this['_diffItems']['length']+0x1;for(let _0x3dc8be=this['_diffItems']['length']-0x1;_0x3dc8be>=0x0;_0x3dc8be--){const {token:_0x4f7e8d,before:_0x31938c,change:_0x247863}=this['_diffItems'][_0x3dc8be];if('removed'!=_0x247863&&(_0x20d040=_0x3dc8be),'element'!=_0x4f7e8d['type']||'container'!=_0x4f7e8d['category']||'added'==_0x247863)continue;const _0x58e565=_0x31938c?_0x31938c['element']:_0x4f7e8d['element'];if(_0x4f7e8d['isStart']){const _0x392840=_0x562bef['get'](_0x58e565),_0x5912ab=this['_diffItems'][_0x392840];('removed'==_0x247863||'removed'==_0x5912ab['change'])&&_0x20d040<_0x392840&&(this['_operationsData']['push']({'type':'unwrap','path':_0x58e565['getPath'](),'howMany':_0x58e565['maxOffset']+_0x35d307[0x0]}),_0x35d307['shift'](),_0x35d307[0x0]+=_0x58e565['maxOffset']-0x1,_0x46a99c['push'](_0x3dc8be),_0x46a99c['push'](_0x392840));}else _0x562bef['set'](_0x58e565,_0x3dc8be),_0x35d307['unshift'](0x0);}_0x46a99c['sort']((_0x1e44fb,_0xf661d)=>_0xf661d-_0x1e44fb),_0x46a99c['forEach'](_0x499867=>{const _0x29bd28=this['_diffItems'][_0x499867];'removed'==_0x29bd28['change']?this['_diffItems']['splice'](_0x499867,0x1):(_0x29bd28['change']='added',delete _0x29bd28['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x4ecd2d=[];for(let _0x2d9d47=0x0;_0x2d9d47<this['_diffItems']['length'];_0x2d9d47++){const {change:_0xa721a8,token:_0x35e766}=this['_diffItems'][_0x2d9d47];if('added'==_0xa721a8&&'element'==_0x35e766['type']&&'container'==_0x35e766['category']){if(_0x35e766['isStart'])_0x4ecd2d['push'](this['_path']['slice']());else{if(!_0x35e766['isStart']){const _0x46f164=_0x4ecd2d['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x46f164,'end':this['_path']['slice']()},'token':_0x35e766}),this['_path'][this['_path']['length']-0x1]=_0x46f164[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0xa721a8||this['_markDeletions'])&&this['_traverseOverItem'](_0x35e766);}}['_handleUnchanged'](_0x412771,_0x1149f4){for(let _0x1e9cbf=0x0;_0x1e9cbf<_0x412771['length'];_0x1e9cbf++){const _0xa5dd2d=_0x412771[_0x1e9cbf];if('element'==_0xa5dd2d['type']&&_0xa5dd2d['isStart']){const _0x153d82=_0x1149f4[_0x1e9cbf];'block'==_0xa5dd2d['category']&&this['_handleElementRename'](_0xa5dd2d['element'],_0x153d82['element'],this['_path']),this['_handleElementAttributeChanges'](_0xa5dd2d['element'],_0x153d82['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x153d82);}else{if('element'!=_0xa5dd2d['type']||_0xa5dd2d['isStart']){if('text'==_0xa5dd2d['type']){const _0x34a124=this['_path']['slice'](),_0x91bf50=[],_0x56907d=[];for(;_0x412771[_0x1e9cbf]&&'text'==_0x412771[_0x1e9cbf]['type'];)_0x91bf50['push'](_0x412771[_0x1e9cbf]),_0x56907d['push'](_0x1149f4[_0x1e9cbf]),this['_path'][this['_path']['length']-0x1]+=_0x412771[_0x1e9cbf]['data']['length'],_0x1e9cbf++;_0x1e9cbf--,this['_handleTextAttributeChanges'](_0x91bf50,_0x56907d,_0x34a124);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x23034a,_0xccc657,_0x2fa724){const _0x36dff0=[],_0x596758=[],_0x4e7284=_0x2fa724['slice']();for(let _0x3aaee0=0x0;_0x3aaee0<_0x23034a['length'];_0x3aaee0++){const _0x519586=_0x23034a[_0x3aaee0],_0x10ea9c=_0x2fa724['slice']();if('element'!=_0x519586['type']||_0x519586['isStart'])'element'==_0x519586['type']&&_0x519586['isStart']?(_0x2fa724['push'](0x0),_0xccc657||this['_parents']['push'](_0x519586),_0x596758['push']({'before':_0x10ea9c,'after':_0x2fa724['slice'](),'index':_0x3aaee0})):_0x2fa724[_0x2fa724['length']-0x1]+=_0x519586['data']['length'];else{let _0xde3733;_0x2fa724['pop'](),_0x2fa724[_0x2fa724['length']-0x1]++,_0xde3733=_0xccc657?this['_parents'][this['_parents']['length']-0x1]:this['_parents']['pop'](),_0x596758['length']?_0x596758['pop']():_0x36dff0['push']({'before':_0x10ea9c,'after':_0x2fa724['slice'](),'index':_0x3aaee0,'related':_0xde3733});}}if(_0x596758['length']!==_0x36dff0['length'])throw new _0x22b56d['CKEditorError']('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x23034a,'isRemove':_0xccc657});const _0xf607be=[{'after':_0x4e7284['slice'](),'index':-0x1},..._0x36dff0,..._0x596758,{'before':_0x2fa724['slice'](),'index':_0x23034a['length']}];if(_0xccc657){for(let _0x5a0e37=_0xf607be['length']-0x1;_0x5a0e37>=0x1;_0x5a0e37--){const _0x4f8b7f=_0xf607be[_0x5a0e37-0x1]['after'],_0x1811b3=_0xf607be[_0x5a0e37]['before'],_0x5c155b=_0x1811b3[_0x1811b3['length']-0x1]-_0x4f8b7f[_0x4f8b7f['length']-0x1];_0x5c155b&&(this['_operationsData']['push']({'type':'remove','path':_0x4f8b7f,'howMany':_0x5c155b}),_0x1811b3[_0x1811b3['length']-0x1]-=_0x5c155b);}for(const {before:_0x463ec7}of _0x36dff0)this['_operationsData']['push']({'type':'merge','path':_0x463ec7});}else for(let _0x4a3a04=0x0;_0x4a3a04<_0xf607be['length']-0x1;_0x4a3a04++){const _0x4c128a=_0xf607be[_0x4a3a04]['after'],_0xb6499e=_0xf607be[_0x4a3a04+0x1]['before'],_0x32a9cb=_0xf607be[_0x4a3a04]['index']+0x1,_0x1495de=_0xf607be[_0x4a3a04+0x1]['index'];if(_0x32a9cb!==_0x1495de&&this['_operationsData']['push']({'type':'insert','path':_0x4c128a,'tokens':_0x23034a['slice'](_0x32a9cb,_0x1495de)}),_0x4a3a04<_0x36dff0['length']){this['_operationsData']['push']({'type':'split','path':_0xb6499e});const _0x36e433=_0x23034a[_0x596758[_0x596758['length']-0x1-_0x4a3a04]['index']],_0x55d2e2=_0x36dff0[_0x4a3a04]['after'],_0x410c26=_0x36dff0[_0x4a3a04]['related']['element'];this['_handleElementRename'](_0x410c26,_0x36e433['element'],_0x55d2e2),this['_handleElementAttributeChanges'](_0x410c26,_0x36e433['element'],_0x55d2e2);}}}['_traverseOverItem'](_0x27e69e){'element'==_0x27e69e['type']&&_0x27e69e['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x27e69e)):'element'!=_0x27e69e['type']||_0x27e69e['isStart']?'text'==_0x27e69e['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x27e69e['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x2040b1,_0x1cdc56,_0x1ee99f){_0x2040b1['name']!=_0x1cdc56['name']&&this['_operationsData']['push']({'type':'rename','path':_0x1ee99f['slice'](),'oldName':_0x2040b1['name'],'newName':_0x1cdc56['name']});}['_handleElementAttributeChanges'](_0x254010,_0x4fc744,_0x39447d){const _0x256fbc=this['_getAttributeChanges'](_0x254010['getAttributes'](),_0x4fc744['getAttributes']());for(const _0x6995d3 in _0x256fbc){const {oldValue:_0x4940c4,newValue:_0x18d366}=_0x256fbc[_0x6995d3];this['_operationsData']['push']({'type':'attribute','path':_0x39447d['slice'](),'howMany':0x1,'key':_0x6995d3,'oldValue':_0x4940c4,'newValue':_0x18d366});}}['_handleTextAttributeChanges'](_0x21c852,_0x46adbe,_0x55b3fb){const _0x5218f3=this['_operationsData'],_0x561eeb=_0x21c852[0x0]['parent'],_0x220547=_0x21c852[0x0]['offset'],_0x2601ce=_0x46adbe[0x0]['parent'],_0x436ee0=_0x46adbe[0x0]['offset'],_0x39cca0=_0x21c852['reduce']((_0x48c726,_0x3531f1)=>_0x48c726+_0x3531f1['data']['length'],0x0),_0x7bda8d=this['_getAttrsForOffsets'](_0x561eeb,_0x220547,_0x39cca0),_0x17da4a=this['_getAttrsForOffsets'](_0x2601ce,_0x436ee0,_0x39cca0),_0x1ad05f={};for(let _0x3fcc70=0x0;_0x3fcc70<_0x39cca0;_0x3fcc70++){const _0x392a44=_0x7bda8d[_0x220547+_0x3fcc70],_0x44b400=_0x17da4a[_0x436ee0+_0x3fcc70],_0x112d22=this['_getAttributeChanges'](_0x392a44,_0x44b400);for(const _0x10e6ab in _0x1ad05f)_0x112d22[_0x10e6ab]||_0x3fa964(_0x10e6ab);for(const _0x3cc7c5 in _0x112d22){const {oldValue:_0x44ebe2,newValue:_0x5ed334}=_0x112d22[_0x3cc7c5],_0x5b93e8=_0x1ad05f[_0x3cc7c5];_0x5b93e8?_0x5b93e8['oldValue']==_0x44ebe2&&_0x5b93e8['newValue']==_0x5ed334?_0x5b93e8['length']++:(_0x3fa964(_0x3cc7c5),_0x1ad05f[_0x3cc7c5]={'oldValue':_0x44ebe2,'newValue':_0x5ed334,'start':_0x3fcc70,'length':0x1}):_0x1ad05f[_0x3cc7c5]={'oldValue':_0x44ebe2,'newValue':_0x5ed334,'start':_0x3fcc70,'length':0x1};}}for(const _0x2c276d in _0x1ad05f)_0x3fa964(_0x2c276d);function _0x3fa964(_0x553f5d){const _0x4e0111=_0x1ad05f[_0x553f5d],_0x119b70=_0x55b3fb['slice']();_0x119b70[_0x119b70['length']-0x1]+=_0x4e0111['start'],_0x5218f3['push']({'type':'attribute','path':_0x119b70,'howMany':_0x4e0111['length'],'key':_0x553f5d,'oldValue':_0x4e0111['oldValue'],'newValue':_0x4e0111['newValue']}),delete _0x1ad05f[_0x553f5d];}}['_getAttributeChanges'](_0x560f2d,_0x2f8411){const _0x5e60bc={};for(const [_0x3aa431,_0x9f9c12]of _0x560f2d)_0x5e60bc[_0x3aa431]={'oldValue':JSON['stringify'](_0x9f9c12),'newValue':'null'};for(const [_0x107b2c,_0x2a3b10]of _0x2f8411){const _0x86c8fb=JSON['stringify'](_0x2a3b10);_0x5e60bc[_0x107b2c]?_0x5e60bc[_0x107b2c]['oldValue']==_0x86c8fb?delete _0x5e60bc[_0x107b2c]:_0x5e60bc[_0x107b2c]['newValue']=_0x86c8fb:_0x5e60bc[_0x107b2c]={'oldValue':'null','newValue':_0x86c8fb};}return delete _0x5e60bc[_0x15ba5f],_0x5e60bc;}['_getAttrsForOffsets'](_0x59a012,_0x365548,_0x51e65f){const _0x43caa9=new Array(_0x365548+_0x51e65f);let _0x7584=_0x59a012['getChildAtOffset'](_0x365548),_0x2ceb20=_0x7584['startOffset'];for(;_0x7584&&_0x2ceb20<_0x365548+_0x51e65f;){const _0x5f16b6=Array['from'](_0x7584['getAttributes']());_0x43caa9['fill'](_0x5f16b6,_0x2ceb20,_0x2ceb20+_0x7584['offsetSize']),_0x2ceb20+=_0x7584['offsetSize'],_0x7584=_0x7584['nextSibling'];}return _0x43caa9;}['_getPositionFromAnchorAndPath'](_0xe65e61,_0x752092){const _0x52224c=[..._0xe65e61['path']['slice'](0x0,-0x1),_0xe65e61['offset']+_0x752092[0x0],..._0x752092['slice'](0x1)];return new _0x22b56d['ModelPosition'](_0xe65e61['root'],_0x52224c);}['_makeModelFromTokens'](_0x3a98e9){const _0xb0e77=[];let _0x68e36=null;for(const _0x171ef7 of _0x3a98e9)if('element'!=_0x171ef7['type']||_0x171ef7['isStart']||_0x68e36!=_0x171ef7['element']){if(!_0x68e36){if('text'==_0x171ef7['type']){const _0x25a9a5=_0x22b56d['ModelPosition']['_createAt'](_0x171ef7['parent'],_0x171ef7['offset']),_0x457ce5=_0x22b56d['ModelRange']['_createFromPositionAndShift'](_0x25a9a5,_0x171ef7['data']['length']),_0x27d90d=Array['from'](_0x457ce5['getItems']())['map'](_0x297f46=>new _0x22b56d['ModelText'](_0x297f46['data'],_0x297f46['getAttributes']()));_0xb0e77['push'](..._0x27d90d);}else{_0x68e36=_0x171ef7['element'];const _0x223ef8=_0x171ef7['element']['_clone'](!0x0);_0x223ef8['_removeAttribute'](_0x15ba5f);for(const _0x298854 of this['_editor']['model']['createRangeIn'](_0x223ef8)['getItems']())_0x298854['is']('element')&&_0x298854['_removeAttribute'](_0x15ba5f);_0xb0e77['push'](_0x223ef8);}}}else _0x68e36=null;return _0xb0e77;}}function _0x37f43e(_0x2a1994,_0x366ff0){return _0x2a1994['type']===_0x366ff0['type']&&(_0x2a1994['limitId']===_0x366ff0['limitId']&&('text'==_0x2a1994['type']?_0x2a1994['data']==_0x366ff0['data']:function(_0x2de8f7,_0x30166d){if(_0x2de8f7['isStart']!=_0x30166d['isStart'])return!0x1;if(_0x2de8f7['isStart']&&_0x2de8f7['elementId']!=_0x30166d['elementId'])return!0x1;if(_0x2de8f7['category']!=_0x30166d['category'])return!0x1;if('block'==_0x2de8f7['category'])return!0x0;if('container'==_0x2de8f7['category']&&_0x2de8f7['elementId']!=_0x30166d['elementId'])return!0x1;return _0x2de8f7['element']['name']==_0x30166d['element']['name'];}(_0x2a1994,_0x366ff0)));}function _0x2f67c5(_0x52114e){return _0x43a34a({'name':_0x52114e['name'],...Object['fromEntries'](_0x52114e['getAttributes']())});}function _0x58f0c1({editor:_0x33ac80,changeGroups:_0x3c1d60,documentContextContent:_0x5e7a9e,showDiff:_0x2cb16e,trimUnchanged:_0x171b30=!0x0}){return _0x3c1d60['map'](_0x2e71c1=>{const _0x4da4c5=new Document([]),_0x30edae=new Document([]);for(const _0x143d6d of _0x2e71c1['changes'])if(_0x2cb16e&&'removed'==_0x143d6d['type']||_0x30edae['children']['push'](_0x143d6d['node']['cloneNode'](!0x0)),'new'!=_0x143d6d['type']&&(_0x2cb16e||'removed'!=_0x143d6d['type'])){const _0x3e4c1a=_0x38990a(_0x24b6bb=>_0xcd3c05(_0x24b6bb,'data-id')==_0x143d6d['id'],_0x5e7a9e,!0x0);_0x3e4c1a&&_0x4da4c5['children']['push'](_0x3e4c1a['cloneNode'](!0x0));}const {content:_0x416441,hasChanges:_0x596ab0}=function(_0x2bfbd9,_0x540a4c,_0x3d939c,_0x1a1c51,_0x4cb8af=!0x0){const _0x115a23=_0x2bfbd9['plugins']['get']('DocumentCompare'),_0x5b84a8=_0x43b5d2(_0x540a4c),_0x28eb19=_0x43b5d2(_0x3d939c),_0x23f076=_0x2bfbd9['data']['parse'](_0x5b84a8,'$root'),_0x16c034=_0x2bfbd9['model']['createPositionAt'](_0x23f076,0x0),_0xc53d6f=_0x115a23['getDiff'](_0x5b84a8,_0x28eb19,{'anchor':_0x16c034,'markDeletions':_0x1a1c51}),_0x111ac2=_0xc53d6f['getOperations']();if(0x0==_0x111ac2['length'])return{'content':_0x540a4c['cloneNode'](!0x0),'hasChanges':!0x1};_0x1a1c51?function(_0x500775,_0x2336a8,_0x1068c3){if(0x0==_0x500775['length'])return;const _0xd684d8=_0x1068c3['plugins']['get']('DocumentCompare'),_0x3069a0=_0x1068c3['plugins']['get']('SuggestionsConversion');_0x1068c3['model']['change'](_0x5decde=>{const _0x22fcd5=new Set();for(let _0x51892d=0x0;_0x51892d<_0x500775['length'];_0x51892d++){const _0x378235=_0x500775[_0x51892d];if(_0x378235['baseVersion']=null,_0x378235['isDocumentOperation']=!0x1,_0xd684d8['isMarkedRemoveOperation'](_0x378235)){const _0x2f38f9=_0x1fe61e(_0x378235['newRange'],_0x1068c3['model']),_0x2484d3='suggestion:deletion:'+_0x22b56d['uid']()+':$aiSuggestion';_0x2336a8['markers']['set'](_0x2484d3,_0x2f38f9);}else switch(_0x378235['type']){case'rename':{if(_0x378235['oldName']==_0x378235['newName'])break;_0x5decde['batch']['addOperation'](_0x378235),_0x1068c3['model']['applyOperation'](_0x378235);const _0x4c48af='$elementName',_0x25a408=_0x378235['position'],_0x4c2ee2=_0x1068c3['model']['createRange'](_0x25a408,_0x1068c3['model']['createPositionAt'](_0x25a408['nodeAfter'],'end')),_0x5cb6cb='suggestion:attribute:'+_0x4c48af+':'+_0x22b56d['uid']()+':$aiSuggestion';_0x2336a8['markers']['set'](_0x5cb6cb,_0x4c2ee2);break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{if(_0x378235['oldValue']==_0x378235['newValue'])break;_0x5decde['batch']['addOperation'](_0x378235),_0x1068c3['model']['applyOperation'](_0x378235);const _0x1f3b33=_0x378235['key'];if(!_0x3069a0['isRegisteredAttribute'](_0x1f3b33))break;const _0x4ec13f=_0x1fe61e(_0x378235['range'],_0x1068c3['model']),_0x3d401b='suggestion:attribute:'+_0x1f3b33+':'+_0x22b56d['uid']()+':$aiSuggestion';_0x2336a8['markers']['set'](_0x3d401b,_0x4ec13f);break;}case'insert':{_0x5decde['batch']['addOperation'](_0x378235),_0x1068c3['model']['applyOperation'](_0x378235);if(_0x500775[_0x51892d+0x1]&&'move'==_0x500775[_0x51892d+0x1]['type']){_0x5ef36d(_0x2336a8,_0x378235);break;}const _0x1971c5=_0x378235['position'],_0x17dde5=_0x378235['howMany'],_0x13681e=_0x1fe61e(_0x1068c3['model']['createRange'](_0x1971c5,_0x1971c5['getShiftedBy'](_0x17dde5)),_0x1068c3['model']),_0x29b9fd='suggestion:insertion:'+_0x22b56d['uid']()+':$aiSuggestion';_0x2336a8['markers']['set'](_0x29b9fd,_0x13681e);break;}case'split':{_0x5decde['batch']['addOperation'](_0x378235),_0x1068c3['model']['applyOperation'](_0x378235);const _0x1f990f=_0x378235['splitPosition'],_0x14b65d=_0x378235['moveTargetPosition'],_0x2739ee=_0x1068c3['model']['createRange'](_0x1f990f,_0x14b65d),_0x131204='suggestion:insertion:'+_0x22b56d['uid']()+':$aiSuggestion';_0x2336a8['markers']['set'](_0x131204,_0x2739ee);break;}case'move':{_0x5decde['batch']['addOperation'](_0x378235),_0x1068c3['model']['applyOperation'](_0x378235),_0x500775[_0x51892d-0x1]&&'insert'==_0x500775[_0x51892d-0x1]['type']&&_0x5ef36d(_0x2336a8,_0x378235);const _0x5d9993=_0x378235['getMovedRangeStart'](),_0x46ffd0=_0x378235['howMany'];for(let _0x20a806=0x0;_0x20a806<_0x46ffd0;_0x20a806++){const _0x4ea8e5=_0x5d9993['getShiftedBy'](_0x20a806)['nodeAfter'];_0x22fcd5['add'](_0x4ea8e5);}break;}case'remove':{const _0x3bf11e=_0x378235['sourcePosition'],_0x9d3be3=_0x378235['howMany'],_0x507d6f=new _0x22b56d['_DetachOperation'](_0x3bf11e,_0x9d3be3);_0x5decde['batch']['addOperation'](_0x507d6f),_0x1068c3['model']['applyOperation'](_0x507d6f);break;}}}for(const _0x3ecf12 of _0x22fcd5){const _0x102705=_0x1068c3['model']['createRangeOn'](_0x3ecf12),_0x470205='suggestion:formatBlock:$fakeWrap:'+_0x22b56d['uid']()+':$aiSuggestion';_0x2336a8['markers']['set'](_0x470205,_0x1fe61e(_0x102705,_0x1068c3['model']));}});}(_0x111ac2,_0x23f076,_0x2bfbd9):_0x2bfbd9['model']['change'](_0x248b10=>{for(const _0x10947e of _0x111ac2)if('remove'==_0x10947e['type']){const _0x1361e2=_0x10947e['sourcePosition'],_0x104af7=_0x10947e['howMany'],_0x497b85=new _0x22b56d['_DetachOperation'](_0x1361e2,_0x104af7);_0x248b10['batch']['addOperation'](_0x497b85),_0x2bfbd9['model']['applyOperation'](_0x497b85);}else{if('marker'==_0x10947e['type']){const _0x583339=_0x10947e['name'],_0x352954=_0x10947e['newRange'];null!==_0x352954?_0x23f076['markers']['set'](_0x583339,_0x352954):_0x23f076['markers']['delete'](_0x583339);}else _0x10947e['baseVersion']=null,_0x10947e['isDocumentOperation']=!0x1,_0x248b10['batch']['addOperation'](_0x10947e),_0x2bfbd9['model']['applyOperation'](_0x10947e);}});if(_0x4cb8af){const _0x1b73de=_0x489c91(_0x2bfbd9,_0x111ac2,_0x23f076);_0x4e4af4(_0x2bfbd9['model'],_0x1b73de),function(_0x39989a,_0x57877b){const _0x3ced95=_0x57877b['getFirstRange']()['start'];let _0x2c9c0c=_0x57877b['getFirstRange']()['end'];const _0x47e79a=_0x3ced95['root'];(_0x2c9c0c['textNode']||_0x2c9c0c['nodeAfter']&&_0x2c9c0c['nodeAfter']['is']('$text'))&&(_0x22b56d['_insertIntoModelNodeList'](_0x2c9c0c,'...'),_0x2c9c0c=_0x2c9c0c['getShiftedBy'](0x3)),(_0x3ced95['textNode']||_0x3ced95['nodeBefore']&&_0x3ced95['nodeBefore']['is']('$text'))&&(_0x22b56d['_insertIntoModelNodeList'](_0x3ced95,'...'),function(_0x4a6817,_0x5975a8,_0x44d1c7){for(let [_0x5ceaa2,_0x490755]of _0x4a6817['markers']){const _0x158fee=_0x490755['_getTransformedByInsertion'](_0x5975a8,_0x44d1c7,!0x1);_0x490755=_0x158fee[0x0],_0x4a6817['markers']['set'](_0x5ceaa2,_0x490755);}}(_0x47e79a,_0x3ced95,0x3),_0x3ced95['parent']==_0x2c9c0c['parent']&&(_0x2c9c0c=_0x2c9c0c['getShiftedBy'](0x3)));const _0x4dce60=_0x39989a['createRange'](_0x39989a['createPositionAt'](_0x47e79a,0x0),_0x3ced95),_0x7a1f94=_0x39989a['createRange'](_0x2c9c0c,_0x39989a['createPositionAt'](_0x47e79a,'end')),_0x2e1d1d=[..._0x4dce60['getMinimalFlatRanges'](),..._0x7a1f94['getMinimalFlatRanges']()];_0x2e1d1d['reverse']();for(const _0x28fc2b of _0x2e1d1d)_0x22b56d['_removeFromModelNodeList'](_0x28fc2b),_0x3ab5b9(_0x47e79a,_0x28fc2b);}(_0x2bfbd9['model'],_0x1b73de);}const _0x2d5f76=_0x2bfbd9['data']['stringify'](_0x23f076,{'showSuggestionHighlights':!0x0});return{'content':_0x27805b(_0x2d5f76),'hasChanges':!0x0};}(_0x33ac80,_0x4da4c5,_0x30edae,_0x2cb16e,_0x171b30);return{'type':_0x2e71c1['changes'][0x0]['type'],'index':_0x2e71c1['index'],'content':_0x416441,'hasChanges':_0x596ab0};});}function _0x5ef36d(_0x1d2c63,_0x1cc056){for(const [_0x5ee0ca,_0x5848df]of _0x1d2c63['markers']){const _0x11b2fb=_0x22b56d['ModelRange']['_createFromRanges'](_0x5848df['getTransformedByOperation'](_0x1cc056));_0x1d2c63['markers']['set'](_0x5ee0ca,_0x11b2fb);}}function _0x489c91(_0x443eb5,_0x25a180,_0x5075eb){const _0x50c345=_0x443eb5['plugins']['get']('DocumentCompare');let _0x18de05=_0x443eb5['model']['createPositionAt'](_0x5075eb,Number['POSITIVE_INFINITY']),_0x4072e4=_0x443eb5['model']['createPositionAt'](_0x5075eb,0x0);for(const _0x10a066 of _0x25a180){let _0x26230e,_0x3314a8;if(_0x50c345['isMarkedRemoveOperation'](_0x10a066))_0x26230e=_0x10a066['newRange']['start'],_0x3314a8=_0x10a066['newRange']['end'];else switch(_0x18de05=_0x18de05['getTransformedByOperation'](_0x10a066),_0x4072e4=_0x4072e4['getTransformedByOperation'](_0x10a066),_0x10a066['type']){case'rename':_0x26230e=_0x10a066['position'],_0x3314a8=_0x26230e['getShiftedBy'](0x1);break;case'addAttribute':case'removeAttribute':case'changeAttribute':_0x26230e=_0x10a066['range']['start'],_0x3314a8=_0x10a066['range']['end'];break;case'insert':_0x26230e=_0x10a066['position'],_0x3314a8=_0x26230e['getShiftedBy'](_0x10a066['howMany']);break;case'split':_0x26230e=_0x10a066['splitPosition'],_0x3314a8=_0x10a066['moveTargetPosition'];break;case'merge':{const _0x2f3209=_0x10a066['targetPosition']['path']['slice'](0x0,-0x1);_0x26230e=_0x443eb5['model']['createPositionFromPath'](_0x5075eb,_0x2f3209),_0x3314a8=_0x26230e['getShiftedBy'](0x1);break;}case'remove':{const _0x30daca=_0x10a066['howMany'],_0x311dcd=_0x10a066['sourcePosition']['_getTransformedByInsertion'](_0x10a066['targetPosition'],_0x30daca),_0x37f0d0=_0x10a066['getMovedRangeStart']();'remove'==_0x10a066['type']?(_0x26230e=_0x311dcd,_0x3314a8=_0x311dcd):(_0x26230e=_0x37f0d0,_0x3314a8=_0x37f0d0['getShiftedBy'](_0x30daca));break;}}_0x26230e&&_0x26230e['isBefore'](_0x18de05)&&(_0x18de05=_0x26230e['clone'](),_0x18de05['stickiness']='toNone'),_0x3314a8&&_0x3314a8['isAfter'](_0x4072e4)&&(_0x4072e4=_0x3314a8['clone'](),_0x4072e4['stickiness']='toNone');}return _0x443eb5['model']['createSelection'](_0x443eb5['model']['createRange'](_0x18de05,_0x4072e4));}function _0x4e4af4(_0x16a987,_0x5357ac){_0x2103f2(_0x16a987,_0x5357ac,'forward');const _0x436a46=_0x5357ac['getFirstRange']();_0x5357ac['setTo']([]),_0x5357ac['setTo'](_0x436a46,{'backward':!0x0}),_0x2103f2(_0x16a987,_0x5357ac,'backward');}function _0x2103f2(_0x2b01a4,_0x4f4cc4,_0x5323c5){let _0x327566=0x14;for(;_0x327566;){_0x2b01a4['modifySelection'](_0x4f4cc4,{'unit':'word','direction':_0x5323c5}),_0x327566--;const _0x1a8081=_0x4f4cc4['focus']['forward'==_0x5323c5?'nodeBefore':'nodeAfter'];if(_0x1a8081&&_0x1a8081['is']('element')&&_0x2b01a4['schema']['isBlock'](_0x1a8081)&&_0x2b01a4['schema']['isObject'](_0x1a8081))break;}}function _0x3ab5b9(_0x173d77,_0x215a0c){for(const [_0x396d38,_0x51194b]of _0x173d77['markers']){const _0x664f6f=_0x51194b['_getTransformedByDeletion'](_0x215a0c['start'],_0x215a0c['end']['offset']-_0x215a0c['start']['offset']);null!=_0x664f6f?_0x173d77['markers']['set'](_0x396d38,_0x664f6f):_0x173d77['markers']['delete'](_0x396d38);}}class _0x4b9c9f extends _0x22b56d['ObservableMixin'](){['id'];['interactionId'];['type'];['sources']=[];['parsedContent']=new Document([]);['parsedMergedContent']=new Document([]);['changeGroups']=[];['areActionsDisabled']=!0x1;['documentContextContent'];['aiResponseParser'];['aiResponseApplier'];['editor'];['cachedSuggestionContentParts']={'withDiff':[],'withoutDiff':[]};constructor({type:_0x1921e4,content:_0x3d69f9='',isDone:_0x592441=!0x1,interactionId:_0x1e5538,areActionsDisabled:_0x182596,documentContextContent:_0x4f3953,editor:_0x249c1b,id:_0x55666c}){super(),this['id']=_0x55666c||_0x22b56d['uid'](),this['interactionId']=_0x1e5538,this['type']=_0x1921e4,this['areActionsDisabled']=!!_0x182596,this['editor']=_0x249c1b,this['aiResponseParser']=new _0x11f15d(),this['aiResponseApplier']=new _0x436b6b(),this['documentContextContent']=_0x27805b(_0x4f3953||''),this['set']('isDone',_0x592441),this['on']('change:content',()=>{this['onContentChange']();}),this['set']('content',_0x3d69f9);}['appendContent'](_0x200d23){this['set']('content',this['content']+_0x200d23);}['done'](){this['isDone']||(this['set']('isDone',!0x0),this['onContentChange']());}['destroy'](){this['stopListening']();}['setChangeGroupState'](_0x105871,_0x4a7bc9){this['changeGroups'][_0x105871]['state']=_0x4a7bc9,this['fire']('replyChangeGroupStateUpdated',{'reply':this,'index':_0x105871,'state':_0x4a7bc9});}['getContentParts']({showDiff:_0x47571e,groupIndex:_0x1ebc79}){if(!this['editor'])throw new _0x22b56d['CKEditorError']('ai-get-editor-from-context-no-editor',null,{'aiReply':this});const _0x5f49a4=this['_getCachedContentParts'](_0x47571e,_0x1ebc79);if(_0x5f49a4)return _0x5f49a4;let _0x19f17f=[];if(void 0x0===_0x1ebc79)_0x19f17f=this['changeGroups'];else{const _0x151adb=this['changeGroups']['find'](({index:_0x1708eb})=>_0x1708eb===_0x1ebc79);if(!_0x151adb)throw new _0x22b56d['CKEditorError']('ai-reply-get-content-parts-group-not-found',null,{'aiReply':this,'groupIndex':_0x1ebc79});_0x19f17f=[_0x151adb];}const _0x704bce=_0x58f0c1({'editor':this['editor'],'showDiff':_0x47571e,'changeGroups':_0x19f17f,'documentContextContent':this['documentContextContent']});return this['_setCachedContentParts'](_0x47571e,_0x704bce),_0x704bce;}['_getCachedContentParts'](_0x124604,_0x227dcf){const _0x522b16=_0x124604?'withDiff':'withoutDiff';if(!this['cachedSuggestionContentParts'][_0x522b16]['length'])return null;const _0x349041=this['cachedSuggestionContentParts'][_0x522b16];if(void 0x0===_0x227dcf)return _0x349041['length']>0x0&&_0x349041['length']!==this['changeGroups']['length']?(this['_setCachedContentParts'](_0x124604,null),null):_0x225f94(_0x349041);{const _0x19bc6a=_0x349041['find'](({index:_0x2589e2})=>_0x2589e2===_0x227dcf);if(_0x19bc6a)return[_0x225f94(_0x19bc6a)];}return null;}['_setCachedContentParts'](_0x2c314f,_0x3ce6eb){const _0x3a2025=_0x2c314f?'withDiff':'withoutDiff';_0x3ce6eb?_0x3ce6eb['forEach'](_0x4f7a04=>{const _0x3553e3=this['cachedSuggestionContentParts'][_0x3a2025],_0x5c5090=_0x3553e3['find'](({index:_0x1ceca2})=>_0x1ceca2===_0x4f7a04['index']);if(_0x5c5090){const _0x3e2f9c=_0x3553e3['indexOf'](_0x5c5090);_0x3553e3['splice'](_0x3e2f9c,0x1,_0x4f7a04);}else _0x3553e3['push'](_0x4f7a04);}):this['cachedSuggestionContentParts'][_0x3a2025]['length']=0x0;}['onContentChange'](){if('modification'===this['type']){this['parsedContent']=this['aiResponseParser']['parseAndNormalizeHTML'](this['content']);const _0x3a2f58=this['changeGroups'];this['updateChangeGroups']();const _0x299869=this['_getDifferentChangeGroups'](_0x3a2f58,this['changeGroups']);(_0x299869['length']||this['isDone'])&&(this['fire']('replyContentUpdated',this,_0x299869),this['cachedSuggestionContentParts']['withDiff']['length']=this['cachedSuggestionContentParts']['withoutDiff']['length']=0x0);}else this['parsedContent']=this['aiResponseParser']['convertMarkdownToHTML'](this['content']),this['fire']('replyContentUpdated',this);}['_getDifferentChangeGroups'](_0xdfb34,_0x47862f){const _0x7afaa5=[];for(const _0x32b9b2 of _0x47862f){const _0x4e1243=_0xdfb34[_0x32b9b2['index']];_0x4e1243?_0x4e1243['changes']['length']!==_0x32b9b2['changes']['length']?_0x7afaa5['push'](_0x32b9b2):_0x4e1243['changes']['forEach']((_0xc8b386,_0x1e6af0)=>{const _0x1d6a1f=_0x32b9b2['changes'][_0x1e6af0];_0xc8b386['id']!==_0x1d6a1f['id']&&_0x7afaa5['push'](_0x32b9b2);}):_0x7afaa5['push'](_0x32b9b2);}return _0x7afaa5;}['updateChangeGroups'](){const _0x4cae47=new _0x4f87d8('p',{},[new _0x4f87d8('span',{'style':'color:\x20#808080;\x20font-style:\x20italic'},[new _0xf25e6a(xt(this['editor']['locale'],'AI_SUGGESTION_CONTENT_PART_REMOVED'))])]),_0x10f618=this['aiResponseApplier']['merge'](this['parsedContent'],this['documentContextContent']['cloneNode'](!0x0),{'markUnstableElements':!this['isDone'],'replaceRemovedWith':_0x4cae47,'cutAfterLastChange':!this['isDone']});if(!_0x10f618['modifiedNodeIds']['length']&&!this['isDone'])return;this['parsedMergedContent']=_0x10f618['parsedContent'];let _0x2ecda8=[];if(ti(_0x1ebd21=>{const _0x12d502=_0xcd3c05(_0x1ebd21,'data-id');if(!_0x12d502||!_0x5b3448(_0x12d502))return!0x1;const _0x138612=[_0x1ebd21,..._0x2a28eb(_0x1ebd21)]['at'](-0x2);if(_0x1ebd21!=_0x138612){const _0x183c2f=_0xcd3c05(_0x138612,'data-id');_0x5b3448(_0x183c2f)||(_0x2ecda8['push']({'node':_0x138612,'id':_0x183c2f,'type':'modified'}),_0x10f618['modifiedNodeIds']['push'](_0x183c2f));}else _0x10f618['modifiedNodeIds']['includes'](_0x12d502)?_0x2ecda8['push']({'node':_0x1ebd21,'type':'modified','id':_0x12d502}):_0x10f618['newNodeIds']['includes'](_0x12d502)?_0x2ecda8['push']({'node':_0x1ebd21,'type':'new','id':_0x12d502,'anchorId':_0xcd3c05(_0x1ebd21['previousSibling'],'data-id')}):_0x2ecda8['push']({'node':_0x1ebd21,'type':'removed','id':_0x12d502});return!0x0;},this['parsedMergedContent']),_0x2ecda8=_0x2ecda8['filter'](({node:_0x3e6a84})=>[..._0x2a28eb(_0x3e6a84),_0x3e6a84]['every'](_0x9c7007=>!_0xcd3c05(_0x9c7007,'data-unstable'))),0x0==_0x2ecda8['length'])return;const _0x5d3346=[[_0x2ecda8[0x0]]];for(let _0x79a04=0x1;_0x79a04<_0x2ecda8['length'];_0x79a04++){const _0x4c9401=_0x5d3346[_0x5d3346['length']-0x1],_0x48ef70=_0x4c9401[_0x4c9401['length']-0x1];_0x2ecda8[_0x79a04]['node']['previousSibling']==_0x48ef70['node']&&'modified'!=_0x2ecda8[_0x79a04]['type']&&'modified'!=_0x48ef70['type']?_0x4c9401['push'](_0x2ecda8[_0x79a04]):_0x5d3346['push']([_0x2ecda8[_0x79a04]]);}for(const _0x523647 of _0x5d3346){const _0x1a877f=_0x523647[0x0],_0x1bb7cc=_0x523647[_0x523647['length']-0x1],_0x2f73cf=_0x31d2ad(_0x1a877f['node']['previousSibling']);_0x2f73cf&&_0x523647['unshift'](_0x2f73cf);const _0x2b3c53=_0x31d2ad(_0x1bb7cc['node']['nextSibling']);_0x2b3c53&&_0x523647['push'](_0x2b3c53);}function _0x5b3448(_0x152643){return _0x10f618['modifiedNodeIds']['includes'](_0x152643)||_0x10f618['newNodeIds']['includes'](_0x152643)||_0x10f618['removedNodeIds']['includes'](_0x152643);}function _0x31d2ad(_0x53536c){if(_0x53536c&&_0xcd3c05(_0x53536c,'data-id')&&!_0xcd3c05(_0x53536c,'data-unstable')){const _0x521ac5=_0xcd3c05(_0x53536c,'data-id');if(!_0x5b3448(_0x521ac5))return{'node':_0x53536c,'type':'context','id':_0x521ac5};}return null;}this['changeGroups']=_0x5d3346['map']((_0x45fb54,_0x3e1de6)=>({'changes':_0x45fb54,'state':'pending','index':_0x3e1de6}));}}const _0x1e4117=['interactionCreated','interactionStarted','interactionStopped','interactionFinished','interactionDestroyed','replyCreated','replyContentUpdated','replyChangeGroupStateUpdated','setConversationTitle','webSearchStarted','webSearchFinished','reasoningStarted','reasoningFinished','toolDataReceived','error'];class AIInteraction extends _0x22b56d['EmitterMixin'](){['id'];['replies']=[];['currentReply'];['messageId'];['actionCallId'];['currentRequest'];['connector'];['isStopped']=!0x1;['isDestroyed']=!0x1;['editor'];['_isReasoning']=!0x1;['_isWebSearching']=!0x1;constructor({connector:_0x4a2c09,editor:_0xfce10a}){super(),this['id']=_0x22b56d['uid'](),this['connector']=_0x4a2c09,this['isStopped']=!0x0,this['editor']=_0xfce10a;}async['start'](){const _0x34300e=[];let _0x4c1431,_0x2cc80f,_0x1e5c63;this['isStopped']=!0x1;try{this['currentRequest']=await this['sendRequest'](),this['fire']('interactionStarted',this);const _0x12e23d=await this['currentRequest']['getStream']();for await(const _0x2e9e93 of _0x12e23d){if(this['isStopped'])return;if('error'==_0x2e9e93['event'])return void this['fire']('error',{'error':new _0x22b56d['CKEditorError']('ai-chat-interaction-error',this)});switch(_0x2e9e93['event']){case'message-metadata':this['messageId']=_0x2e9e93['data']['messageId'];break;case'action-metadata':this['actionCallId']=_0x2e9e93['data']['callId'];break;case'conversation-title':this['setConversationTitle'](_0x2e9e93['data']['conversationTitle'],!0x0);break;case'source':_0x34300e['push'](_0x2e9e93['data']['source']);break;case'web-search':this['_isWebSearching']||(this['_isWebSearching']=!0x0,this['fire']('webSearchStarted',this));break;case'reasoning':this['_isReasoning']||(this['_isReasoning']=!0x0,this['fire']('reasoningStarted',this));break;case'modification-delta':case'text-delta':this['resetReasoningState'](),this['resetWebSearchState'](),_0x4c1431='modification-delta'==_0x2e9e93['event']?'modification':'text',_0x2cc80f='modification-delta'==_0x2e9e93['event']?_0x2e9e93['data']['id']:void 0x0,this['currentReply']&&this['currentReply']['type']!=_0x4c1431&&(this['currentReply']['done'](),this['currentReply']=void 0x0),this['currentReply']||(this['currentReply']=this['createReply']({'type':_0x4c1431,'interactionId':this['id'],'id':_0x2cc80f}),'modification'==_0x4c1431&&(this['currentReply']['sources']=_0x34300e['splice'](0x0))),this['currentReply']['appendContent'](_0x2e9e93['data']['textDelta']);break;case'mcp-tool-result':_0x1e5c63=JSON['parse'](_0x2e9e93['data']['result']),this['_handleToolResultData']({'toolName':_0x2e9e93['data']['toolName'],'data':_0x1e5c63['data'],'attributes':_0x1e5c63['attributes']});break;case'mcp-tool-notification':this['_handleToolNotificationData']({'toolName':_0x2e9e93['data']['toolName'],'data':_0x2e9e93['data']['data']});}}}finally{this['isStopped']||(this['currentReply']&&_0x34300e['length']>0x0&&(this['currentReply']['sources']=_0x34300e['splice'](0x0)),this['_finalizeInteraction'](),this['fire']('interactionFinished',this));}}['stop'](){this['isStopped']||(this['_finalizeInteraction'](),this['fire']('interactionStopped',this));}['getReply'](_0x350f3c){return this['replies']['find'](_0x1135ec=>_0x1135ec['id']===_0x350f3c);}['destroy'](){this['isDestroyed']||(this['stop'](),this['replies']['forEach'](_0x188a2f=>_0x188a2f['destroy']()),this['replies']=[],this['isDestroyed']=!0x0,this['fire']('interactionDestroyed',this),this['stopListening']());}['createReply'](_0x1db092){const _0x21f8a6=new _0x4b9c9f({'editor':this['editor'],'documentContextContent':this['getDocumentContext']()?.['content'],..._0x1db092});return this['replies']['push'](_0x21f8a6),_0x21f8a6['delegate'](..._0x1e4117)['to'](this),this['fire']('replyCreated',_0x21f8a6),_0x21f8a6;}['setConversationTitle'](_0x4d0416,_0x138e6e=!0x1){this['fire']('setConversationTitle',_0x4d0416,_0x138e6e);}['resetWebSearchState'](){this['_isWebSearching']&&(this['_isWebSearching']=!0x1,this['fire']('webSearchFinished',this));}['resetReasoningState'](){this['_isReasoning']&&(this['_isReasoning']=!0x1,this['fire']('reasoningFinished',this));}['_handleToolResultData'](_0x36860b){this['fire']('toolDataReceived',{'type':'result','toolName':_0x36860b['toolName'],'data':structuredClone(_0x36860b['data']||{}),'attributes':structuredClone(_0x36860b['attributes']||{})},this);}['_handleToolNotificationData'](_0xe4644e){this['fire']('toolDataReceived',{'type':'notification','toolName':_0xe4644e['toolName'],'data':structuredClone(_0xe4644e['data'])},this);}['_finalizeInteraction'](){this['isStopped']=!0x0,this['currentRequest']&&this['currentRequest']['abortController']['abort'](),this['currentReply']&&this['currentReply']['done'](),this['currentRequest']=this['currentReply']=void 0x0;}}var _0x2c5b12=function(_0x47544a){return _0x47544a['TOOL']='mcp-tool-context',_0x47544a['FILE']='file',_0x47544a['DOCUMENT']='document',_0x47544a['URL']='web-resource',_0x47544a['TEXT']='text',_0x47544a['SELECTION']='selection',_0x47544a;}({}),_0x47fdfb=function(_0x567878){return _0x567878['TEXT']='text',_0x567878['MARKDOWN']='markdown',_0x567878['HTML']='html',_0x567878;}({});const _0x37615a=new Map([['usage-limits-exceeded','ai-usage-limits-exceeded'],['rate-limits-exceeded','ai-rate-limits-exceeded'],['invalid-content-type','ai-invalid-content-type'],['invalid-request-data','ai-chat-invalid-request'],['model-already-set','ai-chat-model-already-set'],['model-not-found','ai-chat-model-not-found'],['unsafe-content-detected','ai-chat-unsafe-content-detected'],['unsupported-content-type','ai-chat-unsupported-content-type'],['content-too-large','ai-chat-content-too-large'],['unsupported-file-type','ai-chat-context-unsupported-file-type'],['file-too-large','ai-chat-context-file-too-large'],['file-too-many-pages','ai-chat-context-file-too-many-pages'],['form-data-size-limits-exceeded','ai-chat-context-form-data-size-limits-exceeded']]),_0xe8139=['contextItemAdded','contextItemRemoved','contextItemLoadingEnded','contextSent','error','addContextOptionsChanged','sourceResourcesLoaded','resourceStateChanged','uploadProgressChanged'];class AIChatContext extends _0x22b56d['ObservableMixin'](){['_connector'];['_config'];['_ownerId'];constructor({connector:_0x5c6b25,config:_0x449646,ownerId:_0x276872}){super(),this['_connector']=_0x5c6b25,this['_config']=_0x449646,this['_ownerId']=_0x276872;}['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'](_0x4dd1b5){const _0x185840=await this['_createContextItemFromContent'](_0x4dd1b5);return this['_addToConversationContextItem'](_0x185840),'current-document'===_0x185840['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x185840;}async['_createContextItemFromContent'](_0x1e0c90){if(_0x1e0c90['type']===_0x2c5b12['DOCUMENT']){const _0x47c6bf=await this['_connector']['fetchDocument'](this['_ownerId'],_0x1e0c90['id'])['getDocument']();return{'id':'current-document','uiId':'current-document','label':'Current\x20document','type':_0x1e0c90['type'],'content':_0x47c6bf['content'],'hidden':this['_conversationContextItems']['has']('current-document'),'version':_0x47c6bf['attributes']?.['version'],'sessionId':_0x47c6bf['attributes']?.['sessionId']};}if(_0x1e0c90['type']===_0x2c5b12['TOOL'])return{'id':_0x1e0c90['id'],'uiId':_0x1e0c90['id'],'label':_0x1e0c90['data']?.['label']||_0x1e0c90['id'],'type':_0x2c5b12['TOOL'],'mcpServerName':_0x1e0c90['mcpServerName'],'toolName':_0x1e0c90['toolName'],'data':_0x1e0c90['data']||{}};return{'id':_0x1e0c90['id'],'uiId':_0x1e0c90['id'],'label':_0x1e0c90['attributes']?.['label']||_0x1e0c90['name']||_0x1e0c90['url']||_0x1e0c90['id'],'type':_0x1e0c90['type'],..._0x1e0c90?.['attributes']?.['resourceId']?{'resourceId':_0x1e0c90['attributes']?.['resourceId']}:{}};}['getSentContextItems'](){return new Map(this['_conversationContextItems']);}['removeFromContext'](_0x19e4c0){const _0x2b8483=this['_pendingContextItems']['get'](_0x19e4c0);_0x2b8483?.['isReadOnly']||this['_removeContextItem'](_0x19e4c0);}['clearPendingContextItems'](){if(0x0===this['_pendingContextItems']['size'])return;for(const _0x4ff9b3 of this['_pendingContextItems']['values']())this['_removeContextItem'](_0x4ff9b3['uiId']);const _0x10e414=this['_conversationContextItems']['get']('current-document')||this['_pendingContextItems']['get']('current-document');_0x10e414&&this['_addContextItem']({..._0x10e414,'isReadOnly':!0x0,'hidden':!0x0});}['addToConversationContext'](_0x2dd17b){for(const _0x57f29f of _0x2dd17b['values']())this['_addToConversationContextItem'](_0x57f29f);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'](_0x43e555){return Array['from'](_0x43e555['values']())['map'](_0x102b89=>this['_mapContextItemToRequestData'](_0x102b89))['filter'](_0x17b482=>null!==_0x17b482);}async['addFilesToContext'](_0x413706,_0x5a199c,_0x41778c=_0x2c5b12['FILE']){const _0x541aad='files-'+_0x22b56d['uid']();this['_startUploadOperation'](_0x541aad);try{await Promise['all'](_0x413706['map'](async _0x17f964=>{const _0x285068='file-'+_0x22b56d['uid'](),_0x22562e=pt(_0x17f964['name']);try{this['_addContextItem']({'type':_0x41778c,'label':_0x5a199c?.['label']||_0x22562e,'uiId':_0x285068,'resourceId':_0x5a199c?.['resourceId']},!0x0);const _0x2e1181=this['_connector']['uploadFile'](this['_ownerId'],_0x17f964,_0x5a199c);this['_ongoingUploads']['set'](_0x285068,_0x2e1181['abortController']);const {id:_0x338392}=await _0x2e1181['getId']();this['_ongoingUploads']['delete'](_0x285068),this['_finishContextItemLoading']({'type':_0x41778c,'id':_0x338392,'label':_0x5a199c?.['label']||_0x22562e,'uiId':_0x285068,'resourceId':_0x5a199c?.['resourceId']},!0x1);}catch(_0x2b23fd){this['_ongoingUploads']['delete'](_0x285068);if(!(_0x2b23fd instanceof _0x22b56d['CKEditorError']&&_0x2b23fd['message']['startsWith']('ai-request-aborted'))){const _0x52a4c5=_0x37615a['get'](_0x2b23fd['code'])||'ai-chat-file-upload-failed',_0x459493=new _0x22b56d['CKEditorError'](_0x52a4c5,null,{'fileName':_0x22562e,..._0x2b23fd});_0x459493['stack']=_0x2b23fd['stack'],this['fire']('error',{'error':_0x459493});}this['_removeContextItem'](_0x285068);}}));}finally{this['_finishUploadOperation'](_0x541aad);}}['addCurrentDocumentToContext'](_0xb5a5a4){if(this['isCurrentDocumentInContext']()||!this['_addContextOptionsState']['document']['enabled'])return;const _0x417880={'type':_0x2c5b12['DOCUMENT'],'uiId':'current-document','label':_0xb5a5a4,'isReadOnly':this['_conversationContextItems']['has']('current-document'),'hidden':this['_conversationContextItems']['has']('current-document')};this['_addContextItem'](_0x417880);}async['updateCurrentDocument'](_0x378163,_0xdb1d2f,_0xf89db4,_0x19c4f1){const _0x2a180b=this['_pendingContextItems']['get']('current-document');if(_0x2a180b&&_0x378163){_0x2a180b['selection']=_0x19c4f1?_0x19c4f1['map'](_0x2bed88=>({'start':_0x2bed88['start'],'end':_0x2bed88['end']})):[];try{if(_0x2a180b['version']===_0xdb1d2f)return;const {id:_0x13fc75}=await this['_connector']['uploadDocument'](this['_ownerId'],_0x378163,{'version':_0xdb1d2f,'sessionId':_0xf89db4})['getId']();_0x2a180b['id']=_0x13fc75,_0x2a180b['content']=_0x378163,_0x2a180b['version']=_0xdb1d2f,_0x2a180b['sessionId']=_0xf89db4;}catch(_0x59a21e){const _0x332ab6=new _0x22b56d['CKEditorError']('ai-chat-document-upload-failed',null);_0x332ab6['stack']=_0x59a21e['stack'],this['fire']('error',{'error':_0x332ab6});}}}['addSelectionToContext'](_0x5f3578){this['_addContextItem']({'type':_0x2c5b12['SELECTION'],'label':_0x5f3578,'uiId':'selection','content':_0x5f3578});}['removeSelectionFromContext'](){this['_removeContextItem']('selection');}async['addUrlToContext'](_0x96c866,_0x23053e){const _0x4eeb6a='url-'+_0x22b56d['uid']();this['_startUploadOperation'](_0x4eeb6a);const _0x477e88='url-'+_0x22b56d['uid']();try{this['_addContextItem']({'type':_0x2c5b12['URL'],'label':_0x23053e?.['label']||_0x96c866,'uiId':_0x477e88,'resourceId':_0x23053e?.['resourceId']},!0x0);const _0x1289bd=this['_connector']['uploadUrl'](this['_ownerId'],_0x96c866,_0x23053e);this['_ongoingUploads']['set'](_0x477e88,_0x1289bd['abortController']);const {id:_0x5ca35c}=await _0x1289bd['getId']();this['_ongoingUploads']['delete'](_0x477e88),this['_finishContextItemLoading']({'type':_0x2c5b12['URL'],'id':_0x5ca35c,'label':_0x23053e?.['label']||_0x96c866,'uiId':_0x477e88,'resourceId':_0x23053e?.['resourceId']},!0x1);}catch(_0x2f795a){this['_ongoingUploads']['delete'](_0x477e88),(_0x2f795a['message']['startsWith']('ai-request-aborted')||this['fire']('error',{'error':new _0x22b56d['CKEditorError']('ai-chat-url-upload-failed',this,{'url':_0x96c866,'originalError':_0x2f795a}),'url':_0x96c866}),this['_removeContextItem'](_0x477e88));}finally{this['_finishUploadOperation'](_0x4eeb6a);}}['addToolItemToContext'](_0x41fd52){_0x41fd52['id']=_0x41fd52['id']??_0x22b56d['uid']()['substring'](0x0,0x15),this['_pendingContextItems']['set'](_0x41fd52['uiId'],_0x41fd52),this['fire']('contextItemAdded',{'contextItem':_0x41fd52,'isLoading':!0x1});}async['loadSourceResources'](_0x471a0a,_0x4f87a8,_0x40be68){const _0x3c584c=this['_addContextOptionsState']['sources']['find'](_0x56bf55=>_0x56bf55['id']===_0x471a0a);if(!_0x3c584c)return this['fire']('error',{'error':new _0x22b56d['CKEditorError']('ai-chat-source-not-found',this,{'sourceId':_0x471a0a}),'sourceId':_0x471a0a}),[];try{const _0x18afc7=(await _0x3c584c['getResources'](_0x4f87a8))['map'](_0x116d68=>{const _0x15b32b=this['_isResourceInContext'](_0x116d68['id']);return{..._0x116d68,'isInContext':_0x15b32b};});return _0x3c584c['resources']=_0x18afc7,this['fire']('sourceResourcesLoaded',{'sourceId':_0x471a0a,'source':_0x3c584c,'resources':_0x18afc7,'uid':_0x40be68}),_0x18afc7;}catch(_0x14afa9){return this['fire']('error',{'error':new _0x22b56d['CKEditorError']('ai-chat-source-resources-load-failed',this,{'sourceId':_0x471a0a,'originalError':_0x14afa9}),'sourceId':_0x471a0a,'sourceLabel':_0x3c584c['label']}),[];}}async['addResourceToContext'](_0x26f78f,_0x38c3af){if(this['_isResourceInContext'](_0x38c3af['id']))return;let _0x14686d=_0x38c3af['data'];if(!_0x14686d&&_0x26f78f['getData'])try{_0x14686d=await _0x26f78f['getData'](_0x38c3af['id']);}catch(_0x68cfc9){return void this['fire']('error',{'error':new _0x22b56d['CKEditorError']('ai-chat-resource-load-failed',this,{'resourceId':_0x38c3af['id'],'sourceId':_0x26f78f['id'],'originalError':_0x68cfc9}),'resourceId':_0x38c3af['id'],'sourceId':_0x26f78f['id']});}if(_0x14686d)switch(_0x38c3af['type']){case _0x2c5b12['URL']:if('string'!=typeof _0x14686d)return void this['fire']('error',{'error':new _0x22b56d['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x38c3af['id'],'sourceId':_0x26f78f['id'],'expectedType':'string','actualType':typeof _0x14686d}),'resourceId':_0x38c3af['id'],'sourceId':_0x26f78f['id']});await this['addUrlToContext'](_0x14686d,{'label':_0x38c3af['label'],'resourceId':_0x38c3af['id']});break;case _0x2c5b12['FILE']:if(!(_0x14686d instanceof File))return void this['fire']('error',{'error':new _0x22b56d['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x38c3af['id'],'sourceId':_0x26f78f['id'],'expectedType':'File','actualType':typeof _0x14686d}),'resourceId':_0x38c3af['id'],'sourceId':_0x26f78f['id']});await this['addFilesToContext']([_0x14686d],{'label':_0x38c3af['label'],'resourceId':_0x38c3af['id']});break;case _0x2c5b12['TEXT']:if('object'!=typeof _0x14686d||!('content'in _0x14686d)||!('type'in _0x14686d))return void this['fire']('error',{'error':new _0x22b56d['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x38c3af['id'],'sourceId':_0x26f78f['id'],'expectedType':'object\x20with\x20content\x20and\x20type\x20properties','actualType':typeof _0x14686d}),'resourceId':_0x38c3af['id'],'sourceId':_0x26f78f['id']});_0x14686d=AIChatContext['_convertTextResourceToFile'](_0x14686d,_0x38c3af['label']),await this['addFilesToContext']([_0x14686d],{'label':_0x38c3af['label'],'resourceId':_0x38c3af['id']},_0x2c5b12['TEXT']);break;case _0x2c5b12['TOOL']:break;default:this['fire']('error',{'error':new _0x22b56d['CKEditorError']('ai-chat-context-unsupported-type',this,{'resourceId':_0x38c3af['id'],'sourceId':_0x26f78f['id'],'resourceType':_0x38c3af['type']}),'resourceId':_0x38c3af['id'],'sourceId':_0x26f78f['id']});}else this['fire']('error',{'error':new _0x22b56d['CKEditorError']('ai-chat-resource-no-data',this,{'resourceId':_0x38c3af['id'],'sourceId':_0x26f78f['id']}),'resourceId':_0x38c3af['id'],'sourceId':_0x26f78f['id']});}static['_convertTextResourceToFile'](_0x43e9b4,_0x4a2ee6){switch(_0x43e9b4['type']){case _0x47fdfb['MARKDOWN']:return new File([_0x43e9b4['content']],_0x4a2ee6,{'type':'text/markdown'});case _0x47fdfb['HTML']:return new File([_0x43e9b4['content']],_0x4a2ee6,{'type':'text/html'});default:return new File([_0x43e9b4['content']],_0x4a2ee6,{'type':'text/plain'});}}static['_mapContextItemToRequestData'](_0x4cf174){switch(_0x4cf174['type']){case _0x2c5b12['FILE']:return{'type':_0x2c5b12['FILE'],'id':_0x4cf174['id']};case _0x2c5b12['URL']:return{'type':_0x2c5b12['URL'],'id':_0x4cf174['id']};case _0x2c5b12['DOCUMENT']:return{'type':_0x2c5b12['DOCUMENT'],'id':_0x4cf174['id'],..._0x4cf174['selection']?.['length']&&{'selection':_0x4cf174['selection']}};case _0x2c5b12['TEXT']:return{'type':_0x2c5b12['FILE'],'id':_0x4cf174['id']};case _0x2c5b12['TOOL']:{const _0x20368d=_0x4cf174;return{'type':_0x2c5b12['TOOL'],'mcpServerName':_0x20368d['mcpServerName'],'toolName':_0x20368d['toolName'],'data':_0x20368d['data'],'id':_0x20368d['id']};}default:return null;}}['_addContextItem'](_0x8439ca,_0x1f31b1=!0x1){if(this['_pendingContextItems']['set'](_0x8439ca['uiId'],_0x8439ca),_0x8439ca['hidden']||this['fire']('contextItemAdded',{'contextItem':_0x8439ca,'isLoading':_0x1f31b1}),'current-document'===_0x8439ca['uiId']&&this['_toggleAddCurrentDocumentOptionVisibility'](),_0x8439ca['resourceId']){const _0x5e0a34=this['_findSourceIdsByResourceId'](_0x8439ca['resourceId']);_0x5e0a34&&_0x5e0a34['forEach'](_0x1f371b=>{this['_updateResourceInContextState'](_0x1f371b,_0x8439ca['resourceId'],!0x0);});}}['_removeContextItem'](_0x409a3e){const _0x229a8f=this['_pendingContextItems']['get'](_0x409a3e),_0x17e504=this['_ongoingUploads']['get'](_0x409a3e);if(_0x17e504&&(_0x17e504['abort'](),this['_ongoingUploads']['delete'](_0x409a3e)),_0x229a8f?.['resourceId']){const _0x130074=this['_findSourceIdsByResourceId'](_0x229a8f['resourceId']);_0x130074&&_0x130074['forEach'](_0x2ba6c3=>{this['_updateResourceInContextState'](_0x2ba6c3,_0x229a8f['resourceId'],!0x1);});}this['_pendingContextItems']['delete'](_0x409a3e),this['fire']('contextItemRemoved',{'uiId':_0x409a3e,'type':_0x229a8f?.['type']}),'current-document'===_0x409a3e&&this['_toggleAddCurrentDocumentOptionVisibility']();}['_finishContextItemLoading'](_0x29caa1,_0x1c94b6){if(this['_pendingContextItems']['has'](_0x29caa1['uiId'])&&(this['_pendingContextItems']['set'](_0x29caa1['uiId'],_0x29caa1),this['fire']('contextItemLoadingEnded',{'contextItem':_0x29caa1,'isLoading':_0x1c94b6}),_0x29caa1['resourceId'])){const _0x346981=this['_findSourceIdsByResourceId'](_0x29caa1['resourceId']);_0x346981&&_0x346981['forEach'](_0x5a6293=>{this['_updateResourceInContextState'](_0x5a6293,_0x29caa1['resourceId'],!0x0);});}}['_addToConversationContextItem'](_0x47d74e){this['_conversationContextItems']['set'](_0x47d74e['uiId'],_0x47d74e);}['_setAddContextOptionsDefaultState'](){this['_addContextOptionsState']={'document':{'enabled':!0x1!==this['_config']?.['document']?.['enabled'],'isHidden':!0x1},'urls':{'enabled':!0x1!==this['_config']?.['urls']?.['enabled']},'files':{'enabled':!0x1!==this['_config']?.['files']?.['enabled']},'sources':this['_getCustomSourcesInitialState'](),'customItems':this['_config']?.['customItems']?.['map'](_0xd0074c=>({..._0xd0074c,'enabled':!0x0}))??[]},this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_getCustomSourcesInitialState'](){return this['_config']?.['sources']?.['map'](_0x42528f=>({..._0x42528f,'resources':[]}))??[];}['_toggleAddCurrentDocumentOptionVisibility'](){const _0xf353ec=this['isCurrentDocumentInContext']()||this['isCurrentDocumentInConversation']();this['_addContextOptionsState']['document']['isHidden']=_0xf353ec,this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_isResourceInContext'](_0x34d402){for(const _0x25a377 of this['_pendingContextItems']['values']())if(_0x25a377['resourceId']===_0x34d402)return!0x0;for(const _0x56ba46 of this['_conversationContextItems']['values']())if(_0x56ba46['resourceId']===_0x34d402)return!0x0;return!0x1;}['_findSourceIdsByResourceId'](_0x279794){const _0x43dae4=[];for(const _0x146d34 of this['_addContextOptionsState']['sources']){_0x146d34['resources']['find'](_0xf81e58=>_0xf81e58['id']===_0x279794)&&_0x43dae4['push'](_0x146d34['id']);}return 0x0===_0x43dae4['length']?null:_0x43dae4;}['_updateResourceInContextState'](_0x4d5f6d,_0x4e0524,_0x151e9a){const _0x4825bc=this['_addContextOptionsState']['sources']['find'](_0x3d178=>_0x3d178['id']===_0x4d5f6d);if(!_0x4825bc)return;const _0x31cfea=_0x4825bc['resources']['find'](_0x40c328=>_0x40c328['id']===_0x4e0524);_0x31cfea&&(_0x31cfea['isInContext']=_0x151e9a,this['fire']('resourceStateChanged',{'sourceId':_0x4d5f6d,'resourceId':_0x4e0524,'isInContext':_0x151e9a}));}['_startUploadOperation'](_0x2c2517){this['_ongoingUploadOperations']['set'](_0x2c2517,!0x0),this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x0});}['_finishUploadOperation'](_0x39cd6a){this['_ongoingUploadOperations']['delete'](_0x39cd6a),0x0===this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x1});}}const _0x1a85aa=['capabilitiesUpdated'];class AICapabilities extends _0x22b56d['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'](_0x571edd){const _0x9a17e5={};return _0x571edd&&_0x571edd['isWebSearchEnabled']&&(_0x9a17e5['webSearch']={}),_0x571edd&&_0x571edd['isReasoningEnabled']&&(_0x9a17e5['reasoning']={}),_0x9a17e5;}['toggleWebSearch'](){this['setWebSearch'](!this['_isWebSearchEnabled']);}['toggleReasoning'](){this['setReasoning'](!this['_isReasoningEnabled']);}['setWebSearch'](_0x2f8c44){_0x2f8c44!==this['_isWebSearchEnabled']&&(this['_isWebSearchEnabled']=_0x2f8c44,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}['setReasoning'](_0xdff38c){_0xdff38c!==this['_isReasoningEnabled']&&(this['_isReasoningEnabled']=_0xdff38c,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}}class AIChatInteraction extends AIInteraction{['userMessage'];['conversationId'];['contextItems']=new Map();['model'];['attributes'];constructor(_0x1de231){super(_0x1de231),this['conversationId']=_0x1de231['conversationId'],this['contextItems']=_0x1de231['contextItems'],this['capabilities']=_0x1de231['capabilities'],this['userMessage']=_0x1de231['userMessage'],this['model']=_0x1de231['model'],this['attributes']=_0x1de231['attributes'];}async['sendRequest'](){return this['connector']['queryAssistant']({'message':this['userMessage'],'conversationId':this['conversationId'],'parts':AIChatContext['mapContextItemsToRequestData'](this['contextItems']),'capabilities':AICapabilities['getCapabilitiesRequestData'](this['capabilities']),'model':this['model'],'attributes':this['attributes']});}['getDocumentContext'](){return this['contextItems']['get']('current-document');}}class AIChatConversation extends _0x22b56d['EmitterMixin'](){['id'];['isStarted']=!0x1;['isFromHistory'];['interactions']=[];['currentInteraction'];['selectedModel'];['connector'];['options'];constructor(_0x1dcefd){super(),this['options']=_0x1dcefd,this['connector']=_0x1dcefd['connector'],this['chatModels']=_0x1dcefd['chatModels'],this['id']=_0x1dcefd['conversationId'],this['isFromHistory']=_0x1dcefd['isFromHistory'];}async['init'](_0x31d0f4){try{this['chatContext']=new AIChatContext({'connector':this['connector'],'config':_0x31d0f4,'ownerId':this['id']}),this['chatContext']['delegate'](..._0xe8139)['to'](this),this['chatContext']['init'](),this['chatCapabilities']=new AICapabilities(),this['chatCapabilities']['delegate'](..._0x1a85aa)['to'](this),this['chatCapabilities']['init']();const _0x22344a=await this['chatModels']['getAvailableModels']();this['fire']('conversationInitialized',{'availableModels':_0x22344a});const _0x16f16c=await this['chatModels']['getModel'](this['options']['selectedModelId']);_0x16f16c&&await this['setModel'](_0x16f16c);}catch(_0x4f56bb){const _0x3c4ea1=new _0x22b56d['CKEditorError']('ai-chat-conversation-init-failed',null,{'message':_0x4f56bb['message']||_0x4f56bb});_0x3c4ea1['stack']=_0x4f56bb['stack'],this['fire']('error',{'error':_0x3c4ea1});}}async['start'](){if(this['isStarted'])throw new _0x22b56d['CKEditorError']('ai-chat-conversation-already-started',null,{'conversation':this});if(!this['selectedModel'])throw new _0x22b56d['CKEditorError']('ai-chat-conversation-start-no-model-selected',null,{'conversation':this});try{const {id:_0x4d8c42}=await this['connector']['startConversation'](this['id'],this['options']['group'])['getConversation']();this['id']=_0x4d8c42,this['isStarted']=!0x0,this['fire']('conversationStarted',{'conversationId':this['id'],'selectedModel':this['selectedModel']});}catch(_0x4ff125){const _0x45e819=new _0x22b56d['CKEditorError']('ai-chat-conversation-start-failed',null,{'message':_0x4ff125['message'],'conversationId':this['id']});throw _0x45e819['stack']=_0x4ff125['stack'],this['fire']('error',{'error':_0x45e819}),_0x45e819;}}async['load'](_0x50e15f,_0x3dda9c){try{const _0x5c0ef7=await this['connector']['fetchConversation'](_0x50e15f)['getConversation'](),_0x4022f5=await this['connector']['fetchConversationMessages'](_0x50e15f)['getMessages'](),_0x247a33=_0x4022f5[0x0]['model'];this['isStarted']=!0x0,this['id']=_0x5c0ef7['id'],'title'in _0x5c0ef7?this['fire']('setConversationTitle',_0x5c0ef7['title'],!0x0):this['fire']('setConversationTitle','',!0x0);const _0x45e21f=(await this['chatModels']['getAll']())['find'](_0x240247=>_0x240247['id']['toLowerCase']()===_0x247a33['toLowerCase']());return this['selectedModel']=_0x45e21f,this['fire']('modelSelected',{'selectedModel':_0x45e21f,'isDisabled':!0x0}),await this['_processMessagesToInteractions'](_0x4022f5,_0x3dda9c,_0x247a33),this['currentInteraction']=void 0x0,this;}catch(_0x2b7357){const _0x1689ee=new _0x22b56d['CKEditorError']('ai-chat-conversation-init-from-id-failed',null,{'message':_0x2b7357['message'],'conversationId':_0x50e15f});throw _0x1689ee['stack']=_0x2b7357['stack'],this['fire']('error',{'error':_0x1689ee}),_0x1689ee;}}async['_processMessagesToInteractions'](_0x53cc85,_0x2cd3f9,_0x22911f){let _0x3c684a;for(const _0x209978 of _0x53cc85)if('user'===_0x209978['role']){const _0x4bc38b=await this['_extractContextItems'](_0x209978),_0x164677={'isReasoningEnabled':Object['hasOwn'](_0x209978['capabilities'],'reasoning'),'isWebSearchEnabled':Object['hasOwn'](_0x209978['capabilities'],'webSearch')};_0x3c684a=this['createInteraction']({'userMessage':_0x209978['prompt'],'contextItems':_0x4bc38b,'capabilities':_0x164677,'modelId':_0x22911f,'attributes':_0x209978['attributes']}),this['currentInteraction']=_0x3c684a,this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}else{if('assistant'===_0x209978['role']&&_0x3c684a){const _0x296975=[];for(const _0x3f6d9c of _0x209978['content'])switch(_0x3f6d9c['type']){case'text':case'modification':{const _0x15cb17=_0x3c684a['getDocumentContext']()?.['sessionId']!==_0x2cd3f9;_0x3c684a['currentReply']=_0x3c684a['createReply']({'type':_0x3f6d9c['type'],'isDone':!0x0,'interactionId':_0x3c684a['id'],'areActionsDisabled':_0x15cb17}),_0x3c684a['currentReply']['appendContent'](_0x3f6d9c['content']),_0x296975['length']>0x0&&(_0x3c684a['currentReply']['sources']=_0x296975['splice'](0x0));break;}case'url':_0x296975['push'](_0x3f6d9c);break;case'mcp-tool-result':{const {data:_0x2b72fe,attributes:_0x37ee8b}=JSON['parse'](_0x3f6d9c['content']);_0x3c684a['_handleToolResultData']({'toolName':_0x3f6d9c['toolName'],'data':_0x2b72fe,'attributes':_0x37ee8b});break;}}}}}async['_extractContextItems'](_0x2f1da3){const _0x5a2912=new Map();if(!_0x2f1da3['content'])return _0x5a2912;for(const _0x55cdf9 of _0x2f1da3['content']){const _0x134859=await this['chatContext']['populateFromMessage'](_0x55cdf9);_0x134859&&_0x5a2912['set'](_0x134859['id'],_0x134859);}return _0x5a2912;}async['handleUserInteraction']({userMessage:_0x4700c6,attributes:_0xbf3ffd}){if(!this['isStarted'])throw new _0x22b56d['CKEditorError']('ai-chat-handle-user-conversation-not-initialized',null,{'conversation':this});if(this['currentInteraction'])throw new _0x22b56d['CKEditorError']('ai-chat-handle-user-interaction-already-in-progress',null,{'conversation':this});try{const _0x25a466=this['chatContext']['getPendingContextItems'](),_0x49a9d6=this['chatCapabilities']['getCapabilitiesConfig'](),_0x44594e=this['selectedModel']['id'];this['currentInteraction']=this['createInteraction']({'userMessage':_0x4700c6,'contextItems':_0x25a466,'capabilities':_0x49a9d6,'modelId':_0x44594e,'attributes':_0xbf3ffd}),await this['currentInteraction']['start'](),this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}catch(_0x1f0778){if(_0x1f0778 instanceof _0x22b56d['CKEditorError'])this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':_0x1f0778});else{const _0x4cde8f=_0x37615a['get'](_0x1f0778['code'])||'ai-chat-handle-user-interaction-start-failed';this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':new _0x22b56d['CKEditorError'](_0x4cde8f,null,{'error':_0x1f0778})});}}finally{this['currentInteraction']?.['stop'](),this['currentInteraction']=void 0x0;}}['createInteraction']({userMessage:_0x503bfe,contextItems:_0x42eda7,capabilities:_0x9e7b18,modelId:_0x590864,attributes:_0x5e282c}){const _0x455f43=new AIChatInteraction({'userMessage':_0x503bfe,'contextItems':_0x42eda7,'capabilities':_0x9e7b18,'conversationId':this['id'],'connector':this['connector'],'editor':this['options']['getEditor']&&this['options']['getEditor'](),'model':_0x590864,'attributes':_0x5e282c});return _0x455f43['delegate'](..._0x1e4117)['to'](this),this['interactions']['push'](_0x455f43),this['fire']('interactionCreated',_0x455f43),_0x455f43;}['getInteraction'](_0x31d612){return this['interactions']['find'](_0xd21c31=>_0xd21c31['id']===_0x31d612);}['removeInteraction'](_0x7597a8){const _0x46406e=this['getInteraction'](_0x7597a8);_0x46406e&&(_0x46406e['destroy'](),this['interactions']['splice'](this['interactions']['indexOf'](_0x46406e),0x1));}get['lastInteraction'](){return this['interactions'][this['interactions']['length']-0x1];}['addCurrentDocumentToContext'](_0x241cfa){this['chatContext']['addCurrentDocumentToContext'](_0x241cfa);}async['updateCurrentDocumentInContext']({content:_0x1b4b0a,version:_0x1172f9,sessionId:_0x5552e7,selections:_0xfb5aa2}){await this['chatContext']['updateCurrentDocument'](_0x1b4b0a,_0x1172f9,_0x5552e7,_0xfb5aa2);}['getCurrentDocumentContext'](){return this['currentInteraction']?.['getDocumentContext']()?.['content']||'';}['addSelectionToContext'](_0x9a17a0){this['chatContext']['addSelectionToContext'](_0x9a17a0);}['removeSelectionFromContext'](){this['chatContext']['removeSelectionFromContext']();}['addFilesToContext'](_0x4beaf4){this['chatContext']['addFilesToContext'](_0x4beaf4);}['addUrlToContext'](_0x44327c){this['chatContext']['addUrlToContext'](_0x44327c);}['addToolItemToContext'](_0x779283){this['chatContext']['addToolItemToContext'](_0x779283);}['addResourceToContext'](_0x1663a2,_0x2df6ef){this['chatContext']['addResourceToContext'](_0x1663a2,_0x2df6ef);}['loadSourceResources'](_0x21e777,_0x42d88d,_0x444ce8){return this['chatContext']['loadSourceResources'](_0x21e777,_0x42d88d,_0x444ce8);}['removeFromContext'](_0x473aba){this['chatContext']['removeFromContext'](_0x473aba);}['setWebSearch'](_0x37b143){this['chatCapabilities']['setWebSearch'](_0x37b143);}['toggleWebSearch'](){this['chatCapabilities']['toggleWebSearch']();}['setReasoning'](_0x2dcd6f){this['chatCapabilities']['setReasoning'](_0x2dcd6f);}['toggleReasoning'](){this['chatCapabilities']['toggleReasoning']();}['isCurrentDocumentInContext'](){return this['chatContext']['isCurrentDocumentInContext']();}['isCurrentDocumentInConversation'](){return this['chatContext']['isCurrentDocumentInConversation']();}['isSelectionInContext'](){return this['chatContext']['isSelectionInContext']();}async['setModel'](_0x259c7d){_0x259c7d?!0x1===await this['chatModels']['isAvailable'](_0x259c7d)&&(_0x22b56d['logWarning']('ai-chat-conversation-set-model-not-available',{'conversation':this,'model':_0x259c7d}),_0x259c7d=(await this['chatModels']['getAvailableModels']())[0x0]):(_0x22b56d['logWarning']('ai-chat-conversation-set-model-null',{'conversation':this}),_0x259c7d=(await this['chatModels']['getAvailableModels']())[0x0]),_0x259c7d['id']!==this['selectedModel']?.['id']&&(this['selectedModel']=_0x259c7d,this['chatCapabilities']['reset'](),this['fire']('modelSelected',{'selectedModel':_0x259c7d}));}}class _0x25dc16 extends _0x22b56d['EmitterMixin'](){['_connector'];['_config'];['_locale'];['_modelList']=[];['_modelsRequest']=null;constructor({connector:_0x5a9e74,config:_0x127f5f,locale:_0x17d8d8}){super(),this['_connector']=_0x5a9e74,this['_config']=_0x127f5f,this['_locale']=_0x17d8d8;}get['_availableModels'](){return this['_config']?.['displayedModels'];}get['_defaultModelId'](){return this['_config']?.['defaultModelId'];}async['getAll'](){return this['_modelsRequest']||(this['_modelsRequest']=this['_retrieveModels']()),this['_modelsRequest'];}async['getAvailableModels'](){const _0x276a8c=await this['getAll']();let _0x4912b4;return _0x4912b4=this['_availableModels']?this['_filterModels'](_0x276a8c,this['_availableModels']):_0x276a8c['filter'](_0x3dc339=>_0x3dc339['recommended']),_0x4912b4;}async['getModel'](_0x3fbf25){const _0x5b1ac0=await this['getAll']();if(!_0x5b1ac0['length'])return null;if(_0x3fbf25){const _0xfb23b8=this['_getModelById'](_0x5b1ac0,_0x3fbf25);if(_0xfb23b8)return _0xfb23b8;_0x22b56d['logWarning']('ai-chat-model-id-unrecognized',{'modelId':_0x3fbf25,'fallBackModelId':this['_defaultModelId']});}return this['getDefault']();}async['getDefault'](){const _0x569b41=await this['getAvailableModels']();if(!_0x569b41['length'])return null;if(this['_defaultModelId']){const _0x15bf92=this['_getModelById'](_0x569b41,this['_defaultModelId']);if(_0x15bf92)return _0x15bf92;_0x22b56d['logWarning']('ai-chat-default-model-id-unrecognized',{'defaultModelId':this['_defaultModelId'],'fallBackModelId':_0x569b41[0x0]['id']});}return _0x569b41[0x0];}async['isAvailable'](_0x5c6174){return(await this['getAvailableModels']())['some'](_0x207bd0=>_0x207bd0['name']===_0x5c6174['name']&&_0x207bd0['provider']===_0x5c6174['provider']);}async['_retrieveModels'](){if(!this['_modelList']['length'])try{const _0x5430f0=this['_locale']['uiLanguage']||'en',_0x4cc926=this['_connector']['getModels'](_0x5430f0),_0x13965b=await _0x4cc926['list']();this['_modelList']=_0x13965b['items']['map'](_0x37ae5c=>_0x4504d9(_0x37ae5c)?{..._0x37ae5c,'name':xt(this['_locale'],'AI_MODEL_NAME_AUTO')}:_0x37ae5c);}catch(_0x5d0c21){throw _0x22b56d['logError']('ai-models-unable-to-retrieve',{'error':_0x5d0c21}),_0x5d0c21;}return[...this['_modelList']];}['_filterModels'](_0x15cef7,_0x478d0f){let _0x13b1fb;if(_0x478d0f){_0x13b1fb=[];const _0x4ee91f=new Set(),_0x48cb82='string'==typeof _0x478d0f?[_0x478d0f['toLocaleLowerCase']()]:_0x478d0f['map'](_0x19bb1c=>_0x19bb1c['toLocaleLowerCase']());for(const _0x429854 of _0x48cb82)for(const _0x38c8ee of _0x15cef7)!_0x4ee91f['has'](_0x38c8ee['id'])&&this['_isMatchingFilter'](_0x38c8ee,_0x429854)&&(_0x13b1fb['push'](_0x38c8ee),_0x4ee91f['add'](_0x38c8ee['id']));}else _0x13b1fb=_0x15cef7;return _0x13b1fb;}['_isMatchingFilter'](_0x3e466a,_0x35b27a){const _0x3d9397=_0x3e466a['id']['toLocaleLowerCase'](),_0x2b9434=_0x3e466a['name']['toLocaleLowerCase'](),_0x3c0fb5=_0x3e466a['provider']['toLocaleLowerCase']();return _0x3d9397===_0x35b27a||_0x2b9434===_0x35b27a||_0x4504d9(_0x3e466a)&&'auto'===_0x35b27a||_0x3c0fb5===_0x35b27a||_0x3d9397['startsWith'](_0x35b27a);}['_getModelById'](_0x14c15f,_0xffd183){return _0x14c15f['find'](_0x5b17cb=>_0x4504d9(_0x5b17cb)&&'auto'===_0xffd183?_0x5b17cb:_0x5b17cb['id']===_0xffd183)||null;}}function _0x4504d9(_0x2983dc){return _0x2983dc['id']['startsWith']('agent');}function ta(_0x43ee42){if(_0x43ee42 instanceof _0x22b56d['Editor'])return _0x43ee42;if(_0x43ee42?.['editors']&&_0x43ee42['editors']['get'](0x0))return _0x43ee42['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.'),_0x43ee42['editors']['get'](0x0);throw new _0x22b56d['CKEditorError']('ai-get-editor-from-context-no-editor');}function _0x58f663({editor:_0x444719,interaction:_0x7c0d3c,reply:_0x46064b,groups:_0x2e7d0c,transform:_0x52ebc3,documentCompare:_0x16a6be,documentCompareOptions:_0x46825b}){const _0x3e483f=_0x7c0d3c['getDocumentContext']();if(!_0x3e483f)return[];const _0x567b7a=_0x3e483f['content'],_0x21a823=_0x3e483f['version'],_0x129a97=_0x46064b['documentContextContent']['cloneNode'](!0x0);for(const {changes:_0x2d69b4}of _0x2e7d0c){const _0x1ff095=_0x2d69b4['filter'](_0x2f78f2=>'new'!=_0x2f78f2['type'])['map'](_0x370585=>_0x558607('data-id',_0x370585['id'],_0x129a97)),_0x284324=_0x2d69b4['filter'](_0x35e2dd=>'removed'!=_0x35e2dd['type'])['map'](_0x388d24=>_0x388d24['node']['cloneNode'](!0x0));let _0x411683=null;if(_0x1ff095['length']){_0x411683=_0x1ff095[0x0]['previousSibling'];for(let _0x424782=0x0;_0x424782<_0x1ff095['length'];_0x424782++)_0x5099fb(_0x1ff095[_0x424782]);}if(_0x284324['length']){_0x411683||(_0x2d69b4[0x0]['anchorId']?_0x411683=_0x558607('data-id',_0x2d69b4[0x0]['anchorId'],_0x129a97):(_0x411683=_0x284324['shift'](),_0xbaea3e(_0x129a97,_0x411683)));for(let _0x4f684b=0x0;_0x4f684b<_0x284324['length'];_0x4f684b++)_0x53437c(_0x411683,_0x284324[_0x4f684b]),_0x411683=_0x284324[_0x4f684b];}}const _0x8bc959=_0x43b5d2(_0x129a97),_0x213738=_0x16a6be['getDiff'](_0x567b7a,_0x8bc959,_0x46825b)['getOperations']();if(_0x52ebc3){const _0x2f778c=_0x444719['model']['document']['history']['getOperations'](_0x21a823),_0x58ef2a={'document':_0x444719['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x22b56d['transformOperationSets'](_0x213738,_0x2f778c,_0x58ef2a)['operationsA'];}return _0x213738;}function _0x3e2ca4(_0x588449,_0x40b79a){if('marker'!=_0x40b79a['type'])return;const _0x47c1f7=_0x588449['model']['markers']['get'](_0x40b79a['name']);_0x47c1f7&&(_0x40b79a['oldRange']=_0x47c1f7['getRange']());}class AIChatController extends _0x22b56d['ContextPlugin']{['_aiEditing'];['_aiConnector'];['_aiChatUi'];['_aiChatModels'];['_aiChatBalloon'];['_batchToChanges']=new Map();['_currentPreviewedChangeGroup']=null;['_bodyCollection'];static get['requires'](){return[AIConnector,DocumentCompare];}static get['pluginName'](){return'AIChatController';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_bodyCollection']=new _0x22b56d['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_aiConnector']=this['context']['plugins']['get']('AIConnector'),this['_aiChatUi']=this['context']['plugins']['get']('AIChatUI'),this['_aiEditing']=this['context']['plugins']['get']('AIEditing'),this['_aiChatModels']=new _0x25dc16({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});const _0x5ac74c=this['context']['plugins']['get']('AITabs');this['listenTo'](this['_aiChatUi'],'startConversation',()=>{this['_startConversationSafely']();}),this['listenTo'](this['_aiChatUi'],'sendUserMessage',(_0x22d908,_0x1d3237)=>{this['_handleUIUserMessage']({'userMessage':_0x1d3237});}),this['listenTo'](_0x5ac74c,'resizedTabs',(_0x57c297,_0x4087f3)=>{this['_setIsMaximized'](_0x4087f3);}),this['listenTo'](this['_aiChatUi'],'resizeTabs',()=>{_0x5ac74c['resize']();}),this['listenTo'](this['_aiChatUi'],'abortPromptStream',async()=>{await this['_stopLastInteraction'](),await this['_flushLastInteractionUI'](),this['removeSelectionFromChatContext']();}),this['listenTo'](this['_aiChatUi'],'addDocumentToContext',()=>{this['addCurrentDocumentToChatContext']();}),this['listenTo'](this['_aiChatUi'],'addFileToContext',(_0x36a68c,_0x3937ce)=>{this['activeConversation']?.['addFilesToContext'](Array['from'](_0x3937ce));}),this['listenTo'](this['_aiChatUi'],'addUrlToContext',(_0x448c80,_0x21c599)=>{this['activeConversation']?.['addUrlToContext'](_0x21c599);}),this['listenTo'](this['_aiChatUi'],'executeCustomItemCallback',(_0x1006fa,_0x41dc41)=>{_0x41dc41['callback'](this['context']);}),this['listenTo'](this['_aiChatUi'],'addResourceToContext',(_0x493955,_0x347629)=>{this['activeConversation']?.['addResourceToContext'](_0x347629['source'],_0x347629['resource']);}),this['listenTo'](this['_aiChatUi'],'removeContextItem',(_0x318c2f,_0x3e038b)=>{this['_removeFromContext'](_0x3e038b);}),this['listenTo'](this['_aiChatUi'],'loadSourceResources',(_0x96bd0c,_0x18739d)=>{this['activeConversation']?.['loadSourceResources'](_0x18739d['sourceId'],_0x18739d['query'],_0x18739d['uid']);}),this['listenTo'](this['_aiChatUi'],'toggleWebSearch',()=>{this['_toggleWebSearch']();}),this['listenTo'](this['_aiChatUi'],'toggleReasoning',()=>{this['_toggleReasoning']();}),this['listenTo'](this['_aiChatUi'],'selectModel',(_0x3f2277,_0x7af421)=>{this['activeConversation']?.['setModel'](_0x7af421);}),this['listenTo'](this['_aiChatUi'],'like',(_0x47a16b,{replyId:_0x1fd222})=>{console['log']('Liked\x20response',_0x1fd222);}),this['listenTo'](this['_aiChatUi'],'dislike',(_0x2308b4,{replyId:_0x23ad2b})=>{console['log']('Disliked\x20response',_0x23ad2b);}),this['listenTo'](this['_aiChatUi'],'insertSuggestion',(_0x4dda30,_0x2ef5dc)=>{this['_insertSuggestion'](_0x2ef5dc);}),this['listenTo'](this['_aiChatUi'],'showChangeInText',(_0x2d41a4,{replyId:_0x22d1de,partIndex:_0x167e0b})=>{this['_aiChatBalloonShowDiff']=this['_aiChatUi']['showDiff'],this['_openBalloonFor'](_0x22d1de,_0x167e0b);}),this['listenTo'](this['_aiChatUi'],'mouseOverSuggestion',(_0x2fc01f,{replyId:_0x426607,partIndex:_0x40449c})=>{const _0x41cac6=this['_getDocumentRangeForReplyChanges'](_0x426607,_0x40449c);_0x41cac6&&'$graveyard'!=_0x41cac6['range']['root']['rootName']&&this['_aiEditing']['showFakeVisualSelection']([_0x41cac6['range']],'ai-chat-controller-mouse-over');}),this['listenTo'](this['_aiChatUi'],'mouseLeaveSuggestion',()=>{this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['listenTo'](this['_aiChatUi'],'applySuggestion',(_0x449ae0,_0x5963c8)=>{this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over'),this['_applySuggestion'](_0x5963c8);}),this['listenTo'](this['_aiChatUi'],'toggleSuggestionDisplayMode',async(_0x400829,{replyId:_0x29d63e,showDiff:_0x444eef})=>{const {reply:_0x5efa9e}=this['getInteractionAndReplyById'](_0x29d63e),_0x20e42d=_0x5efa9e['getContentParts']({'showDiff':_0x444eef});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x5efa9e['id'],'parts':_0x20e42d,'renderingStrategy':'static'});}),this['listenTo'](this['_aiChatUi'],'rejectSuggestion',(_0x8da87c,{replyId:_0x979e72,partIndex:_0x7b8c3b})=>{this['_rejectSuggestion']({'replyId':_0x979e72,'partIndex':_0x7b8c3b}),this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['context']['plugins']['has']('AIChatBalloon')&&(this['_aiChatBalloon']=this['context']['plugins']['get']('AIChatBalloon'),this['set']('_aiChatBalloonShowDiff',!0x1),this['_aiChatBalloon']['bind']('showDiff')['to'](this,'_aiChatBalloonShowDiff'),this['listenTo'](this['_aiChatBalloon'],'toggleSuggestionDisplayMode',()=>{const {replyId:_0x100736,partIndex:_0x48e2ac}=this['_currentPreviewedChangeGroup'];this['_aiChatBalloonShowDiff']=!this['_aiChatBalloonShowDiff'];const {reply:_0x40a147}=this['getInteractionAndReplyById'](_0x100736),_0x3e7b94=_0x40a147['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'groupIndex':_0x48e2ac});this['_aiChatBalloon']['updateContent']({'part':_0x3e7b94[0x0],'renderingStrategy':'static','keepErrors':!0x0});}),this['listenTo'](this['_aiChatBalloon'],'applySuggestion',()=>{const {replyId:_0x4a849b,partIndex:_0x399acd}=this['_currentPreviewedChangeGroup'];this['_applySuggestion']({'replyId':_0x4a849b,'partIndex':_0x399acd}),this['_aiChatBalloon']['setState']('accepted');}),this['listenTo'](this['_aiChatBalloon'],'insertSuggestion',()=>{const {replyId:_0xf946d9,partIndex:_0x14c37a}=this['_currentPreviewedChangeGroup'];this['_insertSuggestion']({'replyId':_0xf946d9,'partIndex':_0x14c37a}),this['_aiChatBalloon']['setState']('accepted');}),this['listenTo'](this['_aiChatBalloon'],'rejectSuggestion',()=>{const {replyId:_0x16d9d2,partIndex:_0x54135e}=this['_currentPreviewedChangeGroup'];this['_rejectSuggestion']({'replyId':_0x16d9d2,'partIndex':_0x54135e}),this['_aiChatBalloon']['setState']('rejected');}),this['listenTo'](this['_aiChatBalloon'],'showNext',()=>{const {replyId:_0xb12d61,partIndex:_0x5694}=this['_currentPreviewedChangeGroup'],_0x3b8ab6=this['_getPresentableSiblingContentPartIndex'](_0xb12d61,_0x5694,'next');null!==_0x3b8ab6&&this['_openBalloonFor'](_0xb12d61,_0x3b8ab6);}),this['listenTo'](this['_aiChatBalloon'],'showPrevious',()=>{const {replyId:_0x21a380,partIndex:_0x5be1a6}=this['_currentPreviewedChangeGroup'],_0x13a765=this['_getPresentableSiblingContentPartIndex'](_0x21a380,_0x5be1a6,'previous');null!==_0x13a765&&this['_openBalloonFor'](_0x21a380,_0x13a765);}),this['listenTo'](this['_aiChatBalloon'],'dialogClosed',(_0x37a0c6,{id:_0x55c5ca})=>{if('aiChatBalloon'!==_0x55c5ca)return;const {replyId:_0x2aa10a,partIndex:_0x51e096}=this['_currentPreviewedChangeGroup'];this['_currentPreviewedChangeGroup']=null,this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x2aa10a,'index':_0x51e096,'isActive':!0x1});}));}async['afterInit'](){this['context']instanceof _0x22b56d['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x5103e1,_0x456f5e)=>{_0x456f5e['on']('ready',()=>{this['_integrateEditor'](_0x456f5e);});});const _0x522a11=this['context']['config']['get']('ai.chat.initialConversation');let _0x547d9d=_0x522a11;if('lastCreated'!=_0x522a11||(_0x547d9d=await this['_getLastCreatedConversationId'](),_0x547d9d))return'new'==_0x547d9d?this['_startConversationSafely']():this['loadConversation'](_0x547d9d);}async['destroy'](){return await this['_stopLastInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['_insertSuggestion'](_0x41a9da){const _0x1fd1c6=ta(this['context']);if(!_0x1fd1c6['plugins']['has']('TrackChanges'))throw new _0x22b56d['CKEditorError']('ai-no-track-changes',null);const _0x5ede84=this['context']['plugins']['get']('DocumentCompare'),{reply:_0x485b0f,interaction:_0x432918}=this['getInteractionAndReplyById'](_0x41a9da['replyId']),_0x4981da=this['_getDocumentRangeForReplyChanges'](_0x41a9da['replyId'],_0x41a9da['partIndex']),_0x4eb62b=void 0x0!==_0x41a9da['partIndex']?[_0x485b0f['changeGroups'][_0x41a9da['partIndex']]]:_0x485b0f['changeGroups']['filter'](_0x3f5cfa=>'pending'==_0x3f5cfa['state']),_0x41a49a=_0x4eb62b['map'](_0xae1d2=>_0x485b0f['changeGroups']['indexOf'](_0xae1d2));if(!_0x4981da||'$graveyard'==_0x4981da['range']['root']['rootName'])return void _0x41a49a['forEach'](_0x13512d=>_0x485b0f['setChangeGroupState'](_0x13512d,'outdated'));_0x41a49a['forEach'](_0x2a0edf=>_0x485b0f['setChangeGroupState'](_0x2a0edf,'accepted'));const _0x40267f=_0x58f663({'editor':_0x1fd1c6,'reply':_0x485b0f,'interaction':_0x432918,'groups':_0x4eb62b,'transform':!0x0,'documentCompare':_0x5ede84,'documentCompareOptions':{'anchor':'main','markDeletions':!0x0}});let _0x46c77b;_0x4981da&&this['_scrollToSuggestionRange'](_0x4981da['range']),_0x1fd1c6['model']['change'](_0x2e5505=>{_0x46c77b=_0x2e5505['batch'],_0x1fd1c6['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x40267f),this['_aiEditing']['hideFakeVisualSelection']('ai-chat-controller-mouse-over');}),this['_batchToChanges']['set'](_0x46c77b,{'interactionId':_0x432918['id'],'replyId':_0x485b0f['id'],'indexes':_0x41a49a['slice']()}),this['_updateRatings'](_0x485b0f);}['_applySuggestion'](_0x2e144d){const _0x131011=ta(this['context']),_0x3f4da6=this['context']['plugins']['get'](DocumentCompare),{reply:_0x21f17d,interaction:_0x27a90b}=this['getInteractionAndReplyById'](_0x2e144d['replyId']),_0x5de039=this['_getDocumentRangeForReplyChanges'](_0x2e144d['replyId'],_0x2e144d['partIndex']),_0x3af3b7=void 0x0!==_0x2e144d['partIndex']?[_0x21f17d['changeGroups'][_0x2e144d['partIndex']]]:_0x21f17d['changeGroups']['filter'](_0x586bec=>'pending'==_0x586bec['state']),_0x1f58db=_0x3af3b7['map'](_0x296d5e=>_0x21f17d['changeGroups']['indexOf'](_0x296d5e));if(!_0x5de039||'$graveyard'==_0x5de039['range']['root']['rootName'])return void _0x1f58db['forEach'](_0x4fd9e4=>_0x21f17d['setChangeGroupState'](_0x4fd9e4,'outdated'));_0x1f58db['forEach'](_0x459e60=>_0x21f17d['setChangeGroupState'](_0x459e60,'accepted'));const _0x5d891b=_0x58f663({'editor':_0x131011,'reply':_0x21f17d,'interaction':_0x27a90b,'groups':_0x3af3b7,'transform':!0x0,'documentCompare':_0x3f4da6,'documentCompareOptions':{'anchor':'main','markDeletions':!0x1}});let _0x73dd6c;_0x5de039&&this['_scrollToSuggestionRange'](_0x5de039['range']),_0x131011['model']['change'](_0x28c90c=>{_0x73dd6c=_0x28c90c['batch'];for(const _0x319b90 of _0x5d891b)_0x319b90['baseVersion']=_0x131011['model']['document']['version'],_0x3e2ca4(_0x131011,_0x319b90),_0x28c90c['batch']['addOperation'](_0x319b90),_0x131011['model']['applyOperation'](_0x319b90);}),this['_batchToChanges']['set'](_0x73dd6c,{'interactionId':_0x27a90b['id'],'replyId':_0x21f17d['id'],'indexes':_0x1f58db['slice']()}),this['_updateRatings'](_0x21f17d);}['_rejectSuggestion'](_0x486b0b){const {reply:_0x12e246}=this['getInteractionAndReplyById'](_0x486b0b['replyId']);_0x12e246['setChangeGroupState'](_0x486b0b['partIndex'],'rejected');}['_openBalloonFor'](_0x434384,_0x2d1bf0){if(!this['_aiChatBalloon'])return;const {reply:_0x441ba0}=this['getInteractionAndReplyById'](_0x434384),_0x1e2e75=_0x441ba0['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});let _0x2ea828,_0x52175a;if(void 0x0!==_0x2d1bf0?(_0x52175a=_0x1e2e75['find'](_0x4b7cfa=>_0x4b7cfa['index']==_0x2d1bf0),_0x2ea828=_0x52175a?.['index']):(_0x52175a=_0x1e2e75[0x0],_0x2ea828=_0x52175a['index']),this['_currentPreviewedChangeGroup']?.['replyId']==_0x434384&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x2ea828)return;const _0x241bb5=this['_getUserPresentableContentPartDocumentRange'](_0x434384,_0x441ba0,_0x52175a);if(!_0x241bb5)return void this['_aiChatBalloon']['close']();this['_currentPreviewedChangeGroup']={'replyId':_0x434384,'partIndex':_0x2ea828},this['_scrollToSuggestionRange'](_0x241bb5,!0x0);const _0x2befef=this['_getPresentableSiblingContentPartIndex'](_0x434384,_0x2ea828,'next');this['_aiChatBalloon']['updateContent']({'part':_0x52175a,'renderingStrategy':'static'}),this['_aiChatBalloon']['open']({'index':_0x2ea828,'title':xt(this['context']['locale'],'AI_BALLOON_HEADER_TITLE',(_0x2ea828+0x1)['toString']()),'showRotator':null!==_0x2befef,'ranges':[_0x241bb5],'areActionsDisabled':_0x441ba0['areActionsDisabled']}),this['_aiChatBalloon']['setState']('pending'),this['_aiChatUi']['scrollFeedToSuggestion'](_0x434384,_0x2ea828),this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x434384,'index':_0x2ea828,'isActive':!0x0});}['_getPresentableSiblingContentPartIndex'](_0x4117bd,_0x52ee7a,_0x4f4ef5){const {reply:_0x347328}=this['getInteractionAndReplyById'](_0x4117bd),_0x424ddc=_0x347328['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});if(0x1==_0x424ddc['length'])return null;const _0x4695a7=_0x424ddc['findIndex'](_0x5bc7e6=>_0x5bc7e6['index']==_0x52ee7a),_0x3ed9c3='next'==_0x4f4ef5?0x1:-0x1;let _0x3ec041=_0x424ddc['at']((_0x4695a7+_0x3ed9c3)%_0x424ddc['length'])['index'],_0xd2ca2b=_0x424ddc[_0x3ec041];for(;!this['_getUserPresentableContentPartDocumentRange'](_0x4117bd,_0x347328,_0xd2ca2b);){if(_0x3ec041=_0x424ddc['at']((_0x3ec041+_0x3ed9c3)%_0x424ddc['length'])['index'],_0x3ec041===_0x4695a7)return null;_0xd2ca2b=_0x424ddc[_0x3ec041];}return _0x3ec041;}['_getUserPresentableContentPartDocumentRange'](_0x4f98f1,_0x49c562,_0x2f9b6d){const _0x52746c=_0x49c562['changeGroups'];if(!_0x2f9b6d['hasChanges'])return null;const _0x1f109a=_0x52746c['find'](_0x154e49=>_0x154e49['index']==_0x2f9b6d['index']);if('pending'!==_0x1f109a?.['state'])return null;const _0x5dfe67=this['_getDocumentRangeForReplyChanges'](_0x4f98f1,_0x2f9b6d['index']);if(!_0x5dfe67)return null;const {range:_0x5cd640,currentIndex:_0xaab599}=_0x5dfe67;return'$graveyard'==_0x5cd640['root']['rootName']?(_0x49c562['setChangeGroupState'](_0xaab599,'outdated'),null):_0x5dfe67['range'];}['_getDocumentRangeForReplyChanges'](_0x34b8e7,_0x5bcbf6){const _0x55e331=ta(this['context']),{reply:_0x16afa6,interaction:_0x86ce80}=this['getInteractionAndReplyById'](_0x34b8e7),_0x4269d1=_0x16afa6['changeGroups']['filter'](_0x248802=>'pending'==_0x248802['state']),_0x461b5a=_0x4269d1['map'](_0x1979ea=>_0x16afa6['changeGroups']['indexOf'](_0x1979ea));void 0x0===_0x5bcbf6&&(_0x5bcbf6=_0x461b5a[0x0]);const _0x30eb8c=_0x461b5a['indexOf'](_0x5bcbf6);if(-0x1==_0x30eb8c)return null;const _0x22ed22=_0x4269d1[_0x30eb8c],_0x127e47=new Document([]),_0x4227b0=new Document([]);for(const _0x3bf5ac of _0x22ed22['changes'])if('removed'!=_0x3bf5ac['type']&&_0x4227b0['children']['push'](_0x3bf5ac['node']['cloneNode'](!0x0)),'new'!=_0x3bf5ac['type']){const _0x250d35=_0x38990a(_0x29014c=>_0xcd3c05(_0x29014c,'data-id')==_0x3bf5ac['id'],_0x16afa6['documentContextContent'],!0x0);_0x127e47['children']['push'](_0x250d35['cloneNode'](!0x0));}if(0x0==_0x127e47['children']['length']){if(_0x22ed22['changes'][0x0]['anchorId']){const _0x11ef44=_0x558607('data-id',_0x22ed22['changes'][0x0]['anchorId'],_0x16afa6['documentContextContent']);_0x127e47['children']['unshift'](_0x11ef44['cloneNode'](!0x0)),_0x4227b0['children']['unshift'](_0x11ef44['cloneNode'](!0x0)),_0x11ef44['nextSibling']&&(_0x127e47['children']['push'](_0x11ef44['nextSibling']['cloneNode'](!0x0)),_0x4227b0['children']['push'](_0x11ef44['nextSibling']['cloneNode'](!0x0)));}else{const _0x2f7e3a=_0x16afa6['documentContextContent']['children'][0x0];if(!_0x2f7e3a)return null;_0x127e47['children']['push'](_0x2f7e3a['cloneNode'](!0x0)),_0x4227b0['children']['push'](_0x2f7e3a['cloneNode'](!0x0));}}const _0x1a6d4c=_0x86ce80['getDocumentContext'](),_0x1ba88f=_0x55e331['data']['parse'](_0x1a6d4c['content']),_0x3a5fa0=_0x43b5d2(_0x127e47),_0xc50465=_0x55e331['data']['parse'](_0x3a5fa0),_0x261702=_0x55e331['data']['parse'](_0x3a5fa0),_0x5735b7=_0x55e331['model']['createPositionAt'](_0xc50465,0x0),_0x1778c6=_0x43b5d2(_0x4227b0),_0x4796a2={'anchor':_0x5735b7,'markDeletions':!0x1},_0x2bd625=_0x55e331['plugins']['get'](DocumentCompare)['getDiff'](_0x3a5fa0,_0x1778c6,_0x4796a2)['getOperations']();if(!_0x2bd625['length'])return null;_0x55e331['model']['change'](_0x54837e=>{for(const _0x54a63a of _0x2bd625)if('remove'==_0x54a63a['type']){const _0x468015=_0x54a63a['sourcePosition'],_0x38051d=_0x54a63a['howMany'],_0x3cd579=new _0x22b56d['_DetachOperation'](_0x468015,_0x38051d);_0x54837e['batch']['addOperation'](_0x3cd579),_0x55e331['model']['applyOperation'](_0x3cd579);}else'marker'!==_0x54a63a['type']&&(_0x54a63a['baseVersion']=null,_0x54a63a['isDocumentOperation']=!0x1,_0x54837e['batch']['addOperation'](_0x54a63a),_0x55e331['model']['applyOperation'](_0x54a63a));});const _0x587503=_0x489c91(_0x55e331,_0x2bd625,_0xc50465);_0x4e4af4(_0x55e331['model'],_0x587503);const _0x443986=_0x587503['getFirstRange']()['start']['path']['slice'](),_0x560bc7=_0x587503['getFirstRange']()['end']['path']['slice'](),_0x3b13d8=[];let _0x4bd56a=_0xc50465,_0x7a1cf2=_0x261702;for(let _0x3a8647=0x0;_0x3a8647<_0x560bc7['length'];_0x3a8647++){const _0x2b0c47=_0x4bd56a['maxOffset']-_0x560bc7[_0x3a8647];_0x3b13d8[_0x3a8647]=_0x7a1cf2['maxOffset']-_0x2b0c47,_0x4bd56a=_0x4bd56a['getChildAtOffset'](_0x560bc7[_0x3a8647]),_0x7a1cf2=_0x7a1cf2['getChildAtOffset'](_0x3b13d8[_0x3a8647]);}const _0x4d7658=_0x55e331['model']['createRange'](_0x55e331['model']['createPositionFromPath'](_0x261702,_0x443986),_0x55e331['model']['createPositionFromPath'](_0x261702,_0x3b13d8)),_0x15b1bf=_0x261702['getChild'](0x0)['getAttribute'](_0x15ba5f),_0x4eedaf=Array['from'](_0x1ba88f['getChildren']())['find'](_0x5df27a=>_0x5df27a['getAttribute'](_0x15ba5f)==_0x15b1bf)['getPath'](),_0x421b31=_0x4d7658['start']['path']['slice'](),_0x2c4a9d=_0x4d7658['end']['path']['slice']();_0x421b31[0x0]=_0x4eedaf[0x0]+_0x421b31[0x0],_0x2c4a9d[0x0]=_0x4eedaf[0x0]+_0x2c4a9d[0x0];let _0x19e08c=_0x55e331['model']['createRange'](_0x55e331['model']['createPositionFromPath'](_0x55e331['model']['document']['getRoot'](),_0x421b31),_0x55e331['model']['createPositionFromPath'](_0x55e331['model']['document']['getRoot'](),_0x2c4a9d));const _0x18e8f2=_0x55e331['model']['document']['history']['getOperations'](_0x1a6d4c['version']);for(const _0x5e628c of _0x18e8f2)_0x19e08c=_0x22b56d['ModelRange']['_createFromRanges'](_0x19e08c['getTransformedByOperation'](_0x5e628c));return{'range':_0x19e08c,'currentIndex':_0x5bcbf6};}['_integrateEditor'](_0x526ec3){if(!_0x526ec3['plugins']['has']('Undo'))return;const _0x3c6224=_0x526ec3['commands']['get']('undo'),_0x47a955=_0x526ec3['commands']['get']('redo');this['listenTo'](_0x3c6224,'revert',(_0x4bd79b,_0x49c8f2,_0x56bc27)=>{const _0xdde45c=this['_batchToChanges']['get'](_0x49c8f2);if(!_0xdde45c)return;const _0x236d23=this['activeConversation']['getInteraction'](_0xdde45c['interactionId'])['getReply'](_0xdde45c['replyId']);_0xdde45c['indexes']['forEach'](_0x176799=>_0x236d23['setChangeGroupState'](_0x176799,'pending')),this['_batchToChanges']['delete'](_0x49c8f2),this['_batchToChanges']['set'](_0x56bc27,_0xdde45c);}),this['listenTo'](_0x47a955,'revert',(_0x42406f,_0x1ec756,_0x1e8df0)=>{const _0x17151c=this['_batchToChanges']['get'](_0x1ec756);if(!_0x17151c)return;const _0x739be2=this['activeConversation']['getInteraction'](_0x17151c['interactionId'])['getReply'](_0x17151c['replyId']);_0x17151c['indexes']['forEach'](_0x4cec34=>_0x739be2['setChangeGroupState'](_0x4cec34,'accepted')),this['_batchToChanges']['delete'](_0x1ec756),this['_batchToChanges']['set'](_0x1e8df0,_0x17151c);});}async['loadConversation'](_0x10966a){this['context']['plugins']['has']('AIChatBalloon')&&this['context']['plugins']['get']('AIChatBalloon')['close'](),(this['context']['plugins']['get'](_0x32d0d0)['view']['activateTab']('chat'),this['_aiChatUi']['setFeedItemRenderingStrategy']('static'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x0),await this['_stopLastInteraction']());try{await this['_aiConnector']['fetchConversation'](_0x10966a)['getConversation'](),await this['_startConversationSafely'](_0x10966a),this['updateConversationTitle']('\x20'),await this['activeConversation']['load'](_0x10966a,this['_aiEditing']['sessionId']),this['activeConversation']['isCurrentDocumentInConversation']()&&this['addCurrentDocumentToChatContext']();}catch(_0x5a153c){this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x10966a}),this['_logError'](new _0x22b56d['CKEditorError']('ai-chat-conversation-not-found',this,{'error':_0x5a153c}));}finally{this['_aiChatUi']['startAutoScroll'](),this['_aiChatUi']['setFeedItemRenderingStrategy']('streaming'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1);}}async['_getLastCreatedConversationId'](){const _0x362348=this['_aiConnector']['fetchConversations'](this['getGroupId'](),{'limit':0x1,'sortBy':'createdAt'});try{const _0x534e95=await _0x362348['getConversations']();return _0x534e95['length']?_0x534e95[0x0]['id']:'new';}catch(_0x261817){return this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x22b56d['uid']()}),this['_logError'](new _0x22b56d['CKEditorError']('ai-chat-conversation-init-failed',this,{'error':_0x261817})),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1),this['_aiChatUi']['disableControls'](),null;}}['handleRemovedConversation'](_0x2bc873){this['activeConversation']['id']===_0x2bc873&&this['_startConversationSafely']();}['addCurrentDocumentToChatContext'](){this['activeConversation']?.['addCurrentDocumentToContext'](xt(this['context']['locale'],'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'));}async['addSelectionToChatContext'](){const _0x3fa4ca=this['_aiEditing']['getSelectionText']();this['activeConversation']?.['addSelectionToContext'](_0x3fa4ca),this['addCurrentDocumentToChatContext']();}['removeSelectionFromChatContext'](){this['activeConversation']?.['removeSelectionFromContext']();}['focusPromptInput'](){this['_aiChatUi']['focusPromptInput']();}async['startConversation'](){await this['_startConversationSafely']();}async['sendMessage']({message:_0x580b00,attributes:_0x240325}){await this['_handleUIUserMessage']({'userMessage':_0x580b00,'attributes':_0x240325});}['getGroupId'](){const _0xde5dc6=this['context']['config']['get']('collaboration.channelId');if(!_0xde5dc6)throw new _0x22b56d['CKEditorError']('ai-chat-missing-channel-id',this);return _0xde5dc6;}async['_startConversationSafely'](_0x50793c){try{this['_aiChatUi']['enableControls'](),await this['_handleStartConversation'](_0x50793c);}catch(_0x196475){this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x50793c||_0x22b56d['uid']()}),console['error'](_0x196475),this['activeConversation']=void 0x0,this['_aiChatUi']['disableControls']();}}async['_handleStartConversation'](_0x5b6ce9){let _0x306b12;this['context']['plugins']['has']('AIChatBalloon')&&this['context']['plugins']['get']('AIChatBalloon')['close'](),_0x5b6ce9||!this['activeConversation']?_0x306b12=this['context']['config']['get']('ai.models.defaultModelId'):this['_aiChatUi']['isModelAvailable']&&(_0x306b12=this['activeConversation']['selectedModel']['id']),await this['_stopLastInteraction']();const _0x117acb=this['getGroupId'](),_0x5f2897=_0x5b6ce9||_0x22b56d['uid']();this['activeConversation']=new AIChatConversation({'connector':this['_aiConnector'],'chatModels':this['_aiChatModels'],'selectedModelId':_0x306b12,'conversationId':_0x5f2897,'group':_0x117acb,'getEditor':()=>ta(this['context']),'isFromHistory':!!_0x5b6ce9}),this['activeConversation']['delegate']('toolDataReceived','interactionStarted')['to'](this),this['activeConversation']['on']('conversationInitialized',(_0x524e4f,_0x2527d1)=>{this['_aiChatUi']['createConversation'](_0x2527d1),this['_aiChatUi']['resetMessageInput'](),this['_aiChatUi']['clearPendingContextUI'](),this['_aiChatUi']['clearConversationContextUI'](),_0x5b6ce9||(this['_aiChatUi']['resetConversationTitle'](),this['addCurrentDocumentToChatContext']());}),this['activeConversation']['on']('uploadProgressChanged',(_0x1d4523,_0x3be732)=>{this['_aiChatUi']['setIsUploadInProgress'](_0x3be732['isUploadInProgress']);}),this['activeConversation']['on']('interactionCreated',(_0x36d1d2,_0x464de3)=>{this['_aiChatUi']['addFeedItemUserMessage'](_0x464de3);}),this['activeConversation']['on']('webSearchStarted',()=>{const _0x54cd33=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});this['_aiChatUi']['setLoadingMessage'](_0x54cd33);}),this['activeConversation']['on']('reasoningStarted',()=>{const _0x46d1b6=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});this['_aiChatUi']['setLoadingMessage'](_0x46d1b6);}),this['activeConversation']['on']('webSearchFinished',(_0x1f81c5,_0x3785ae)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x3785ae,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this['activeConversation']['on']('reasoningFinished',(_0x4c757e,_0x54898e)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x54898e,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this['activeConversation']['on']('interactionStarted',()=>{this['_aiChatUi']['startInteraction']();}),this['activeConversation']['on']('interactionFinished',async()=>{await this['_aiChatUi']['finishInteraction']();}),this['activeConversation']['on']('interactionDestroyed',(_0x28b7a6,_0x50b803)=>{this['_aiChatUi']['removeFeedInteraction'](_0x50b803['id']);}),this['activeConversation']['on']('setConversationTitle',(_0x2852c6,_0x5e97fd,_0x17dccf)=>{this['updateConversationTitle'](_0x5e97fd,_0x17dccf);}),this['activeConversation']['on']('replyCreated',(_0x272b5f,_0xb83055)=>{'text'===_0xb83055['type']?this['_aiChatUi']['addFeedItemAIReply'](_0xb83055):this['_aiChatUi']['addFeedItemAISuggestion'](_0xb83055);}),this['activeConversation']['on']('replyContentUpdated',async(_0x34b5e5,_0x2bb0d7)=>{await this['_updateReplyContent']({'reply':_0x2bb0d7});}),this['activeConversation']['on']('replyChangeGroupStateUpdated',(_0x54944e,{reply:_0x499fdd,index:_0x1ae8cf,state:_0x37d0b})=>{this['_aiChatUi']['updateFeedItemAIReplySuggestionPartState']({'id':_0x499fdd['id'],'index':_0x1ae8cf,'state':_0x37d0b}),this['_currentPreviewedChangeGroup']?.['replyId']['includes'](_0x499fdd['id'])&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x1ae8cf&&this['_aiChatBalloon']?.['setState'](_0x37d0b);}),this['activeConversation']['on']('contextItemAdded',(_0xb9984a,_0x4c7a4)=>{if(this['_aiChatUi']['addContextItem'](_0x4c7a4['contextItem'],_0x4c7a4['isLoading']),'selection'===_0x4c7a4['contextItem']['type']){const _0xcaca84=[...ta(this['context'])['model']['document']['selection']['getRanges']()];this['_aiEditing']['showFakeVisualSelection'](_0xcaca84,'ai-conversation-'+this['activeConversation']?.['id']);}}),this['activeConversation']['on']('contextItemRemoved',(_0x25f211,_0x7f5570)=>{this['_aiChatUi']['removeContextItem'](_0x7f5570['uiId']),'current-document'==_0x7f5570['uiId']&&this['removeSelectionFromChatContext'](),'selection'===_0x7f5570['type']&&this['_aiEditing']['hideFakeVisualSelection']('ai-conversation-'+this['activeConversation']?.['id']);}),this['activeConversation']['on']('contextItemLoadingEnded',(_0x1836d2,_0x4785e7)=>{this['_aiChatUi']['setContextItemLoading'](_0x4785e7['contextItem']['uiId'],_0x4785e7['isLoading']);}),this['activeConversation']['on']('contextSent',(_0x3c74ae,_0x3a077c)=>{this['_aiChatUi']['setConversationContext'](_0x3a077c['contextItems']);}),this['activeConversation']['on']('addContextOptionsChanged',(_0x390129,_0x1da18d)=>{this['_aiChatUi']['setAddContextOptions'](_0x1da18d['options']);}),this['activeConversation']['on']('sourceResourcesLoaded',(_0x1903a7,_0x503fba)=>{this['_aiChatUi']['populateSourceResourceBalloon'](_0x503fba['sourceId'],_0x503fba['source'],_0x503fba['resources'],_0x503fba['uid']);}),this['activeConversation']['on']('resourceStateChanged',(_0x362fe8,_0x5648dd)=>{this['_aiChatUi']['updateResourceState'](_0x5648dd['sourceId'],_0x5648dd['resourceId'],_0x5648dd['isInContext']);}),this['activeConversation']['on']('capabilitiesUpdated',(_0x2657e5,_0x20476c)=>{this['_aiChatUi']['updateCapabilities'](_0x20476c);}),this['activeConversation']['on']('modelSelected',async(_0x52c18c,_0x284aed)=>{const _0x15ee5c=(await this['_aiChatModels']['getAll']())['find'](_0x470991=>_0x470991['id']===_0x284aed['selectedModel']?.['id'])||null;this['_aiChatUi']['setSelectedModel'](_0x15ee5c,_0x284aed['isDisabled']);}),this['activeConversation']['on']('error',(_0x1aa8f5,{error:_0xf553ea,interactionId:_0x2fd81f,fileName:_0x4bb6db,url:_0x3fd6bc,sourceId:_0x3c6dbf,sourceLabel:_0x151101})=>{const _0x1d99d5=_0x2fd81f?_0x2fd81f+':'+_0x22b56d['uid']():_0x22b56d['uid']();_0xf553ea['message']['startsWith']('ai-request-aborted')?this['_aiChatUi']['addFeedItemStaticMessage']({'staticMessage':xt(this['context']['locale'],'AI_CHAT_ABORTED_MESSAGE'),'id':_0x1d99d5}):_0xf553ea['message']['startsWith']('ai-chat-conversation-init-failed')||_0xf553ea['message']['startsWith']('ai-chat-conversation-start-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x1d99d5}),this['_logError'](_0xf553ea)):_0xf553ea['message']['startsWith']('ai-chat-file-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE',_0x4bb6db),'id':_0x1d99d5}):_0xf553ea['message']['startsWith']('ai-chat-url-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL',_0x3fd6bc),'id':_0x1d99d5}):_0xf553ea['message']['startsWith']('ai-chat-context-invalid-data')?this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_CONTEXT_INVALID_DATA'),'id':_0x1d99d5}):_0xf553ea['message']['startsWith']('ai-chat-context-unsupported-type')?this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE'),'id':_0x1d99d5}):_0xf553ea['message']['startsWith']('ai-chat-source-resources-load-failed')?(_0x3c6dbf&&this['_aiChatUi']['closeSourceResourceBalloon'](_0x3c6dbf),this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES',_0x151101||'source'),'id':_0x1d99d5}),this['_logError'](_0xf553ea)):_0xf553ea['message']['startsWith']('ai-chat-resource-load-failed')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_RESOURCE_LOAD_FAILED'),'id':_0x1d99d5}),this['_logError'](_0xf553ea)):_0xf553ea['message']['startsWith']('ai-chat-invalid-request')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_INVALID_REQUEST'),'id':_0x1d99d5}),this['_logError'](_0xf553ea)):_0xf553ea['message']['startsWith']('ai-chat-context-unsupported-file-type')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE'),'id':_0x1d99d5}),this['_logError'](_0xf553ea)):_0xf553ea['message']['startsWith']('ai-chat-context-file-too-large')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_LARGE'),'id':_0x1d99d5}),this['_logError'](_0xf553ea)):_0xf553ea['message']['startsWith']('ai-chat-context-file-too-many-pages')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES'),'id':_0x1d99d5}),this['_logError'](_0xf553ea)):_0xf553ea['message']['startsWith']('ai-chat-context-form-data-size-limits-exceeded')?(this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED'),'id':_0x1d99d5}),this['_logError'](_0xf553ea)):(this['_aiChatUi']['addFeedItemError']({'errorMessage':xt(this['context']['locale'],'AI_CHAT_GENERIC_ERROR'),'id':_0x1d99d5}),this['_logError'](_0xf553ea));}),await this['activeConversation']['init'](this['context']['config']['get']('ai.chat.context')),_0x5b6ce9||await this['activeConversation']['start']();}async['_handleUIUserMessage']({userMessage:_0x15336a,attributes:_0x490d31}){if(!this['activeConversation'])throw new _0x22b56d['CKEditorError']('ai-chat-controller-no-active-conversation');if(this['activeConversation']['isCurrentDocumentInContext']()){const _0xa86333=await this['_aiEditing']['getDocumentData']();await this['activeConversation']['updateCurrentDocumentInContext'](_0xa86333);}this['activeConversation']['id']&&this['activeConversation']['isStarted']&&await this['activeConversation']['handleUserInteraction']({'userMessage':_0x15336a,'attributes':_0x490d31});}['_showConversationHistory'](){console['log']('Showing\x20conversation\x20history...');}['_setIsMaximized'](_0x38225d){this['_aiChatUi']['setIsMaximized'](_0x38225d);}['_logError'](_0x4e6a11){_0x22b56d['logError'](_0x4e6a11['message']);}['_removeFromContext'](_0x59512a){this['activeConversation']?.['removeFromContext'](_0x59512a);}['_toggleWebSearch'](){this['activeConversation']?.['toggleWebSearch']();}['_toggleReasoning'](){this['activeConversation']?.['toggleReasoning']();}['getInteractionAndReplyById'](_0x34ebdd){const [_0x15cfb2,_0x34bf02]=_0x34ebdd['split'](':'),_0x3207a4=this['activeConversation']['getInteraction'](_0x15cfb2),_0xd09945=_0x3207a4['getReply'](_0x34bf02);return{'interaction':_0x3207a4,'reply':_0xd09945};}['_scrollToSuggestionRange'](_0x317ed5,_0x368b47=!0x1){const _0x2bee97=ta(this['context']),_0x3b8fe6={'target':_0x2bee97['editing']['view']['domConverter']['viewRangeToDom'](_0x2bee97['editing']['mapper']['toViewRange'](_0x317ed5)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x368b47};_0x368b47&&(_0x3b8fe6['alignToTop']=!0x0),_0x22b56d['scrollViewportToShowTarget'](_0x3b8fe6);}['updateConversationTitle'](_0x316883,_0x3cac86=!0x1){this['_aiChatUi']['setConversationTitle'](_0x316883||xt(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),_0x3cac86);}async['_updateReplyContent']({reply:_0x28702b,renderingStrategy:_0x12ecad}){const {id:_0x3f1ae5,interactionId:_0x49ce63,isDone:_0x1ad7a4,type:_0x384d80,parsedContent:_0x2e1a16}=_0x28702b,_0x1ef8f6=_0x49ce63+':'+_0x3f1ae5;if('modification'===_0x384d80){const _0x2087e8=_0x28702b['getContentParts']({'showDiff':this['_aiChatUi']['showDiff']});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x1ef8f6,'parts':_0x2087e8,'renderingStrategy':_0x12ecad,'isDone':_0x1ad7a4});}else'text'===_0x384d80&&await this['_aiChatUi']['updateFeedItemAIReplyContent']({'id':_0x1ef8f6,'parsedContent':_0x2e1a16,'renderingStrategy':_0x12ecad,'isDone':_0x1ad7a4});_0x1ad7a4&&_0x28702b['sources']['length']>0x0&&this['_aiChatUi']['updateFeedItemAIReplySources'](_0x1ef8f6,_0x28702b['sources']);}async['_stopLastInteraction'](){const _0x3ba296=this['activeConversation']?.['lastInteraction'];_0x3ba296&&(_0x3ba296['stop'](),this['_aiChatUi']['stopInteraction'](_0x3ba296));}async['_flushLastInteractionUI'](){const _0x3445a0=this['activeConversation']?.['lastInteraction'];if(_0x3445a0){for await(const _0xd99c28 of _0x3445a0['replies'])await this['_updateReplyContent']({'reply':_0xd99c28,'renderingStrategy':'static'});}}['_updateRatings'](_0x11cdc3){const _0x416858={'positiveCount':_0x11cdc3['changeGroups']['filter'](_0x40507d=>'accepted'===_0x40507d['state'])['length'],'totalCount':_0x11cdc3['changeGroups']['length'],'modificationId':_0x11cdc3['id']},_0x13c063=this['activeConversation']['getInteraction'](_0x11cdc3['interactionId'])['messageId'];_0x13c063&&this['_aiConnector']['upsertAIChatRating'](this['activeConversation']['id'],_0x13c063,_0x416858);}['_registerToolDataCallback'](_0x152888){let _0x592369=null,_0x18d1b2=null;this['on']('toolDataReceived',(_0x15f8c0,_0xb16dbe,_0x13683d)=>{_0x13683d['id']!==_0x592369&&(_0x592369=_0x13683d['id'],_0x18d1b2=this['_getAIChatInteractionAPI'](_0x13683d)),_0x152888(_0xb16dbe,_0x18d1b2);});}['_getAIChatInteractionAPI'](_0x349824){const _0x4c5119=this['_aiChatUi'],_0x25e78b=()=>{_0x349824['resetWebSearchState'](),_0x349824['resetReasoningState'](),_0x4c5119['clearLoadingMessage']();},_0x131322=()=>{_0x349824['currentReply']&&(_0x349824['currentReply']['done'](),_0x349824['currentReply']=void 0x0);};return{'insertTextReply':(_0x11a463,_0xdeae2d)=>{_0x131322(),_0x25e78b();const _0x2b2e1c=_0x349824['currentReply']=_0x349824['createReply']({'type':'text','interactionId':_0x349824['id'],'content':_0x11a463,'id':_0xdeae2d||_0x22b56d['uid']()});return _0x131322(),_0x2b2e1c;},'insertCustomElement':async(_0x56df7b,_0x2c4fb7)=>(_0x131322(),_0x25e78b(),_0x4c5119['addFeedItemCustomElement'](_0x56df7b,_0x2c4fb7||_0x22b56d['uid']())),'setLoadingMessage':_0x4dad66=>{_0x4c5119['setLoadingMessage'](_0x4dad66);},'clearLoadingMessage':()=>{_0x4c5119['clearLoadingMessage']();}};}}const _0x26d272='ai-selection';class AIEditing extends _0x22b56d['ContextPlugin']{constructor(_0x43d1f3){super(_0x43d1f3),this['context']['config']['define']('ai.models.showModelSelector',!0x0);}['_outputDataProcessor'];['_displayedFakeSelectionId']=null;['_displayedFakeSelectionLocked']=!0x1;['_sessionId'];static get['pluginName'](){return'AIEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['sessionId'](){if(!this['_sessionId']){const _0x4e4ced=ta(this['context']),_0x2c4991=_0x4e4ced['plugins']['has']('RealTimeCollaborationClient')&&_0x4e4ced['plugins']['get']('RealTimeCollaborationClient')['sessionId'];this['_sessionId']=_0x2c4991||_0x22b56d['uid']();}return this['_sessionId'];}async['getDocumentData'](){const _0x28920b=ta(this['context']),_0x11d9c7=_0x28920b['model'],_0x2caa37=_0x28920b['data']['toView'](_0x11d9c7['document']['getRoot'](),{'convertAiChatSelectionMarker':!0x0}),_0x395955=new _0x22b56d['ViewDowncastWriter'](_0x28920b['editing']['view']['document']);this['_setDataIdsOnChildren'](_0x2caa37,_0x395955);let _0x30034a=await this['_getDocumentDataStringFromView'](_0x2caa37);const _0x32d036=this['_getMarkersInDocumentOrder'](),_0x585e7e=[];for(const _0xf4b4d6 of _0x32d036){const _0x3daa02='<'+_0xf4b4d6['name']+':start></'+_0xf4b4d6['name']+':start>',_0x92924f=_0x30034a['indexOf'](_0x3daa02);_0x30034a=_0x30034a['substring'](0x0,_0x92924f)+_0x30034a['substring'](_0x92924f+_0x3daa02['length']);const _0x26b8c6='<'+_0xf4b4d6['name']+':end></'+_0xf4b4d6['name']+':end>',_0x3d3f72=_0x30034a['indexOf'](_0x26b8c6);_0x30034a=_0x30034a['substring'](0x0,_0x3d3f72)+_0x30034a['substring'](_0x3d3f72+_0x26b8c6['length']),_0x585e7e['push']({'markerName':_0xf4b4d6['name'],'start':_0x92924f,'end':_0x3d3f72,'htmlFragment':_0x30034a['substring'](_0x92924f,_0x3d3f72)});}return{'content':_0x30034a,'version':_0x28920b['model']['document']['version'],'sessionId':this['sessionId'],'selections':_0x585e7e};}async['afterInit'](){this['context']instanceof _0x22b56d['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0xb2b177,_0x18b312)=>{_0x18b312['on']('ready',()=>{this['_integrateEditor'](_0x18b312);});});}['_setOutputDataProcessor'](_0x4eb897){this['_outputDataProcessor']=_0x4eb897;}async['_getDocumentDataStringFromView'](_0x13febf){let _0x37125f;const _0x516c78=ta(this['context']);if(this['_outputDataProcessor']){const _0x46f4d6=_0x516c78['data']['processor']['domConverter']['viewToDom'](_0x13febf),_0x2143b8=await this['_outputDataProcessor'](_0x46f4d6);_0x37125f=_0x516c78['data']['processor']['htmlWriter']['getHtml'](_0x2143b8);}else _0x37125f=_0x516c78['data']['processor']['toData'](_0x13febf);return _0x37125f;}['_integrateEditor'](_0x50dbdf){_0x50dbdf['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x26d272,'view':{'classes':['ck-fake-ai-selection','ck-ai-assistant-ui_theme'],'priority':0xc}}),_0x50dbdf['conversion']['for']('dataDowncast')['markerToElement']({'model':_0x26d272,'view':(_0x9b74dd,{writer:_0x434599,options:_0x5332e9})=>_0x5332e9['convertAiChatSelectionMarker']?_0x434599['createUIElement'](_0x9b74dd['markerName']+':'+(_0x9b74dd['isOpening']?'start':'end')):null});}['showFakeVisualSelection'](_0x5d4e18,_0x84a45c,_0x56981c=!0x1,_0x522eb4=!0x1){if(this['_displayedFakeSelectionLocked']&&!_0x522eb4)return!0x1;const _0x16c235=ta(this['context'])['model'];return _0x16c235['change'](_0x147f7c=>{this['_displayedFakeSelectionId']&&this['hideFakeVisualSelection'](this['_displayedFakeSelectionId']),this['_displayedFakeSelectionId']=_0x84a45c,this['_displayedFakeSelectionLocked']=_0x56981c;let _0x3346dd=0x0;for(let _0x19d030 of _0x5d4e18){const _0x4fae54=_0x26d272+':'+_0x3346dd;if(_0x19d030['start']['isAtEnd']){const _0x583973=_0x19d030['start']['getLastMatchingPosition'](({item:_0x4cfaca})=>!_0x16c235['schema']['isContent'](_0x4cfaca),{'boundaries':_0x19d030});_0x19d030=_0x147f7c['createRange'](_0x583973,_0x19d030['end']);}_0x147f7c['addMarker'](_0x4fae54,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x19d030}),_0x3346dd++;}}),window['getSelection']()?.['removeAllRanges'](),!0x0;}['hideFakeVisualSelection'](_0x4e32ef){if(this['_displayedFakeSelectionId']!=_0x4e32ef)return!0x1;this['_displayedFakeSelectionId']=null,this['_displayedFakeSelectionLocked']=!0x1;const _0x3e73c4=ta(this['context']),_0x191032=_0x3e73c4['model']['markers']['getMarkersGroup'](_0x26d272);return _0x3e73c4['model']['change'](_0x15034f=>{for(const _0x433dac of _0x191032)_0x15034f['removeMarker'](_0x433dac);}),!0x0;}async['modelToDataWithIds'](_0x5d9a69){const _0x587e92=ta(this['context']),_0x2ac5d2=_0x587e92['data']['toView'](_0x5d9a69),_0x51d4ff=new _0x22b56d['ViewDowncastWriter'](_0x587e92['editing']['view']['document']);return this['_setDataIdsOnChildren'](_0x2ac5d2,_0x51d4ff),this['_getDocumentDataStringFromView'](_0x2ac5d2);}['_setDataIdsOnChildren'](_0x103b5f,_0x42565e){let _0x4988c5=!0x1;const _0x549f86=new Set();for(const _0x50d4cb of _0x103b5f['getChildren']()){const _0x2e82b3=_0x50d4cb['is']('emptyElement')||_0x50d4cb['is']('containerElement');if(!_0x50d4cb['is']('element'))continue;(this['_setDataIdsOnChildren'](_0x50d4cb,_0x42565e)||_0x2e82b3)&&(_0x42565e['setAttribute']('data-id',this['_nextDataId'](_0x549f86),_0x50d4cb),_0x4988c5=!0x0);}return _0x4988c5;}['_nextDataId'](_0x41c8aa){let _0x31adf1;do{_0x31adf1='';for(let _0x2dbfaa=0x0;_0x2dbfaa<0x4;_0x2dbfaa++)_0x31adf1+=String['fromCharCode'](0x61+Math['floor'](0x1a*Math['random']()));}while(_0x41c8aa['has'](_0x31adf1));return _0x41c8aa['add'](_0x31adf1),_0x31adf1;}['getSelectionText'](){const {model:_0x1d908b}=ta(this['context']),_0x33c541=_0x1d908b['document']['selection'],_0x26ecdc=[];for(const _0x400ec6 of _0x33c541['getRanges']())for(const _0x500d66 of _0x400ec6['getItems']())_0x500d66['is']('$textProxy')?_0x26ecdc['push'](_0x500d66['data']):_0x500d66['is']('element')&&_0x26ecdc['length']>0x0&&'\x20'!==_0x26ecdc[_0x26ecdc['length']-0x1]&&_0x26ecdc['push']('\x20');return _0x26ecdc['length']?'\x22'+_0x26ecdc['join']('')['trim']()+'\x22':xt(this['context']['locale'],'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL');}['_getMarkersInDocumentOrder'](){const _0x114f08=ta(this['context'])['model'];return Array['from'](_0x114f08['markers']['getMarkersGroup'](_0x26d272))['sort']((_0x272a65,_0x1d6d2d)=>_0x272a65['getStart']()['isBefore'](_0x1d6d2d['getStart']())?-0x1:_0x272a65['getStart']()['isAfter'](_0x1d6d2d['getStart']())?0x1:0x0);}}const _0x9ac31b=['showChangeInText','insertSuggestion','applySuggestion','rejectSuggestion','mouseOverSuggestion','mouseLeaveSuggestion','toggleSuggestionDisplayMode','like','dislike'],_0x29f679=[..._0x9ac31b,'startConversation','resizeTabs','sendUserMessage','abortPromptStream','addDocumentToContext','addFileToContext','addUrlToContext','executeCustomItemCallback','addResourceToContext','removeContextItem','loadSourceResources','toggleWebSearch','toggleReasoning','selectModel'];var _0x53ca90,_0x35d28c='undefined'==typeof document?void 0x0:document,_0xe71410=!!_0x35d28c&&'content'in _0x35d28c['createElement']('template'),_0x4e9947=!!_0x35d28c&&_0x35d28c['createRange']&&'createContextualFragment'in _0x35d28c['createRange']();function _0x2fa2c4(_0x15aad2){return _0x15aad2=_0x15aad2['trim'](),_0xe71410?function(_0x5ba56a){var _0x2b3cfb=_0x35d28c['createElement']('template');return _0x2b3cfb['innerHTML']=_0x5ba56a,_0x2b3cfb['content']['childNodes'][0x0];}(_0x15aad2):_0x4e9947?function(_0x39a00c){return _0x53ca90||(_0x53ca90=_0x35d28c['createRange']())['selectNode'](_0x35d28c['body']),_0x53ca90['createContextualFragment'](_0x39a00c)['childNodes'][0x0];}(_0x15aad2):function(_0x585fe6){var _0x18ffee=_0x35d28c['createElement']('body');return _0x18ffee['innerHTML']=_0x585fe6,_0x18ffee['childNodes'][0x0];}(_0x15aad2);}function _0x3cf417(_0x26fbd5,_0x1571da){var _0x18731d,_0x48b2d1,_0x1139a9=_0x26fbd5['nodeName'],_0x3eaba6=_0x1571da['nodeName'];return _0x1139a9===_0x3eaba6||(_0x18731d=_0x1139a9['charCodeAt'](0x0),_0x48b2d1=_0x3eaba6['charCodeAt'](0x0),_0x18731d<=0x5a&&_0x48b2d1>=0x61?_0x1139a9===_0x3eaba6['toUpperCase']():_0x48b2d1<=0x5a&&_0x18731d>=0x61&&_0x3eaba6===_0x1139a9['toUpperCase']());}function _0x165429(_0xb0d1a9,_0x55c74e,_0x469208){_0xb0d1a9[_0x469208]!==_0x55c74e[_0x469208]&&(_0xb0d1a9[_0x469208]=_0x55c74e[_0x469208],_0xb0d1a9[_0x469208]?_0xb0d1a9['setAttribute'](_0x469208,''):_0xb0d1a9['removeAttribute'](_0x469208));}var _0x2b9f2b={'OPTION':function(_0x3b24bc,_0x5968f7){var _0xd777cd=_0x3b24bc['parentNode'];if(_0xd777cd){var _0x408101=_0xd777cd['nodeName']['toUpperCase']();'OPTGROUP'===_0x408101&&(_0x408101=(_0xd777cd=_0xd777cd['parentNode'])&&_0xd777cd['nodeName']['toUpperCase']()),'SELECT'!==_0x408101||_0xd777cd['hasAttribute']('multiple')||(_0x3b24bc['hasAttribute']('selected')&&!_0x5968f7['selected']&&(_0x3b24bc['setAttribute']('selected','selected'),_0x3b24bc['removeAttribute']('selected')),_0xd777cd['selectedIndex']=-0x1);}_0x165429(_0x3b24bc,_0x5968f7,'selected');},'INPUT':function(_0x4d1548,_0x1d1981){_0x165429(_0x4d1548,_0x1d1981,'checked'),_0x165429(_0x4d1548,_0x1d1981,'disabled'),_0x4d1548['value']!==_0x1d1981['value']&&(_0x4d1548['value']=_0x1d1981['value']),_0x1d1981['hasAttribute']('value')||_0x4d1548['removeAttribute']('value');},'TEXTAREA':function(_0x14fc6c,_0x4070c0){var _0x443ed7=_0x4070c0['value'];_0x14fc6c['value']!==_0x443ed7&&(_0x14fc6c['value']=_0x443ed7);var _0x50a61e=_0x14fc6c['firstChild'];if(_0x50a61e){var _0x3a04c9=_0x50a61e['nodeValue'];if(_0x3a04c9==_0x443ed7||!_0x443ed7&&_0x3a04c9==_0x14fc6c['placeholder'])return;_0x50a61e['nodeValue']=_0x443ed7;}},'SELECT':function(_0x40b6bd,_0x3dd679){if(!_0x3dd679['hasAttribute']('multiple')){for(var _0x8fe058,_0x21407d,_0x5697a0=-0x1,_0x1626e7=0x0,_0x44048b=_0x40b6bd['firstChild'];_0x44048b;)if('OPTGROUP'===(_0x21407d=_0x44048b['nodeName']&&_0x44048b['nodeName']['toUpperCase']()))(_0x44048b=(_0x8fe058=_0x44048b)['firstChild'])||(_0x44048b=_0x8fe058['nextSibling'],_0x8fe058=null);else{if('OPTION'===_0x21407d){if(_0x44048b['hasAttribute']('selected')){_0x5697a0=_0x1626e7;break;}_0x1626e7++;}!(_0x44048b=_0x44048b['nextSibling'])&&_0x8fe058&&(_0x44048b=_0x8fe058['nextSibling'],_0x8fe058=null);}_0x40b6bd['selectedIndex']=_0x5697a0;}}};function _0x3051f7(){}function _0x11412e(_0x3681b0){if(_0x3681b0)return _0x3681b0['getAttribute']&&_0x3681b0['getAttribute']('id')||_0x3681b0['id'];}var _0xe38d34=function(_0x47b3c4){return function(_0x5ad50d,_0x57a125,_0x5d72bb){if(_0x5d72bb||(_0x5d72bb={}),'string'==typeof _0x57a125){if('#document'===_0x5ad50d['nodeName']||'HTML'===_0x5ad50d['nodeName']||'BODY'===_0x5ad50d['nodeName']){var _0x401584=_0x57a125;(_0x57a125=_0x35d28c['createElement']('html'))['innerHTML']=_0x401584;}else _0x57a125=_0x2fa2c4(_0x57a125);}else 0xb===_0x57a125['nodeType']&&(_0x57a125=_0x57a125['firstElementChild']);var _0x7ba6a4=_0x5d72bb['getNodeKey']||_0x11412e,_0x159627=_0x5d72bb['onBeforeNodeAdded']||_0x3051f7,_0x4d3f4a=_0x5d72bb['onNodeAdded']||_0x3051f7,_0x4c117b=_0x5d72bb['onBeforeElUpdated']||_0x3051f7,_0x13af0c=_0x5d72bb['onElUpdated']||_0x3051f7,_0x26ef14=_0x5d72bb['onBeforeNodeDiscarded']||_0x3051f7,_0x2c5282=_0x5d72bb['onNodeDiscarded']||_0x3051f7,_0x14f51b=_0x5d72bb['onBeforeElChildrenUpdated']||_0x3051f7,_0xca1f6f=_0x5d72bb['skipFromChildren']||_0x3051f7,_0x52b2ca=_0x5d72bb['addChild']||function(_0x3fe7b2,_0xcdb2f1){return _0x3fe7b2['appendChild'](_0xcdb2f1);},_0x4f2125=!0x0===_0x5d72bb['childrenOnly'],_0x4d2108=Object['create'](null),_0x5d40fd=[];function _0x256cc4(_0x2b0ce2){_0x5d40fd['push'](_0x2b0ce2);}function _0x4f42aa(_0x20a61a,_0x23753b){if(0x1===_0x20a61a['nodeType'])for(var _0x8fe67=_0x20a61a['firstChild'];_0x8fe67;){var _0x3be501=void 0x0;_0x23753b&&(_0x3be501=_0x7ba6a4(_0x8fe67))?_0x256cc4(_0x3be501):(_0x2c5282(_0x8fe67),_0x8fe67['firstChild']&&_0x4f42aa(_0x8fe67,_0x23753b)),_0x8fe67=_0x8fe67['nextSibling'];}}function _0x31c572(_0x56a207,_0x599903,_0x2138de){!0x1!==_0x26ef14(_0x56a207)&&(_0x599903&&_0x599903['removeChild'](_0x56a207),_0x2c5282(_0x56a207),_0x4f42aa(_0x56a207,_0x2138de));}function _0x1893e4(_0x3f3ca2){if(0x1===_0x3f3ca2['nodeType']||0xb===_0x3f3ca2['nodeType'])for(var _0x5f515b=_0x3f3ca2['firstChild'];_0x5f515b;){var _0xe41c83=_0x7ba6a4(_0x5f515b);_0xe41c83&&(_0x4d2108[_0xe41c83]=_0x5f515b),_0x1893e4(_0x5f515b),_0x5f515b=_0x5f515b['nextSibling'];}}function _0x1c4ea1(_0x334e22){_0x4d3f4a(_0x334e22);for(var _0x1520b5=_0x334e22['firstChild'];_0x1520b5;){var _0x3173df=_0x1520b5['nextSibling'],_0x4ecbe1=_0x7ba6a4(_0x1520b5);if(_0x4ecbe1){var _0x4064c6=_0x4d2108[_0x4ecbe1];_0x4064c6&&_0x3cf417(_0x1520b5,_0x4064c6)?(_0x1520b5['parentNode']['replaceChild'](_0x4064c6,_0x1520b5),_0x3711da(_0x4064c6,_0x1520b5)):_0x1c4ea1(_0x1520b5);}else _0x1c4ea1(_0x1520b5);_0x1520b5=_0x3173df;}}function _0x3711da(_0x5058f4,_0x4c121f,_0x2243a5){var _0x27941f=_0x7ba6a4(_0x4c121f);if(_0x27941f&&delete _0x4d2108[_0x27941f],!_0x2243a5){var _0x5c97b3=_0x4c117b(_0x5058f4,_0x4c121f);if(!0x1===_0x5c97b3)return;if(_0x5c97b3 instanceof HTMLElement&&_0x1893e4(_0x5058f4=_0x5c97b3),_0x47b3c4(_0x5058f4,_0x4c121f),_0x13af0c(_0x5058f4),!0x1===_0x14f51b(_0x5058f4,_0x4c121f))return;}'TEXTAREA'!==_0x5058f4['nodeName']?function(_0x2d9eb0,_0x397af0){var _0x1f3083,_0x45df77,_0x2aaff7,_0x2abfa9,_0x441167,_0x2304d7=_0xca1f6f(_0x2d9eb0,_0x397af0),_0x1a871a=_0x397af0['firstChild'],_0xa12db9=_0x2d9eb0['firstChild'];t:for(;_0x1a871a;){for(_0x2abfa9=_0x1a871a['nextSibling'],_0x1f3083=_0x7ba6a4(_0x1a871a);!_0x2304d7&&_0xa12db9;){if(_0x2aaff7=_0xa12db9['nextSibling'],_0x1a871a['isSameNode']&&_0x1a871a['isSameNode'](_0xa12db9)){_0x1a871a=_0x2abfa9,_0xa12db9=_0x2aaff7;continue t;}_0x45df77=_0x7ba6a4(_0xa12db9);var _0x469fbc=_0xa12db9['nodeType'],_0x3bb2dd=void 0x0;if(_0x469fbc===_0x1a871a['nodeType']&&(0x1===_0x469fbc?(_0x1f3083?_0x1f3083!==_0x45df77&&((_0x441167=_0x4d2108[_0x1f3083])?_0x2aaff7===_0x441167?_0x3bb2dd=!0x1:(_0x2d9eb0['insertBefore'](_0x441167,_0xa12db9),_0x45df77?_0x256cc4(_0x45df77):_0x31c572(_0xa12db9,_0x2d9eb0,!0x0),_0x45df77=_0x7ba6a4(_0xa12db9=_0x441167)):_0x3bb2dd=!0x1):_0x45df77&&(_0x3bb2dd=!0x1),(_0x3bb2dd=!0x1!==_0x3bb2dd&&_0x3cf417(_0xa12db9,_0x1a871a))&&_0x3711da(_0xa12db9,_0x1a871a)):0x3!==_0x469fbc&&0x8!=_0x469fbc||(_0x3bb2dd=!0x0,_0xa12db9['nodeValue']!==_0x1a871a['nodeValue']&&(_0xa12db9['nodeValue']=_0x1a871a['nodeValue']))),_0x3bb2dd){_0x1a871a=_0x2abfa9,_0xa12db9=_0x2aaff7;continue t;}_0x45df77?_0x256cc4(_0x45df77):_0x31c572(_0xa12db9,_0x2d9eb0,!0x0),_0xa12db9=_0x2aaff7;}if(_0x1f3083&&(_0x441167=_0x4d2108[_0x1f3083])&&_0x3cf417(_0x441167,_0x1a871a))_0x2304d7||_0x52b2ca(_0x2d9eb0,_0x441167),_0x3711da(_0x441167,_0x1a871a);else{var _0x3df453=_0x159627(_0x1a871a);!0x1!==_0x3df453&&(_0x3df453&&(_0x1a871a=_0x3df453),_0x1a871a['actualize']&&(_0x1a871a=_0x1a871a['actualize'](_0x2d9eb0['ownerDocument']||_0x35d28c)),_0x52b2ca(_0x2d9eb0,_0x1a871a),_0x1c4ea1(_0x1a871a));}_0x1a871a=_0x2abfa9,_0xa12db9=_0x2aaff7;}!function(_0x1fd39a,_0x1fabb4,_0x1a2c0c){for(;_0x1fabb4;){var _0x32bfa3=_0x1fabb4['nextSibling'];(_0x1a2c0c=_0x7ba6a4(_0x1fabb4))?_0x256cc4(_0x1a2c0c):_0x31c572(_0x1fabb4,_0x1fd39a,!0x0),_0x1fabb4=_0x32bfa3;}}(_0x2d9eb0,_0xa12db9,_0x45df77);var _0x548d5d=_0x2b9f2b[_0x2d9eb0['nodeName']];_0x548d5d&&_0x548d5d(_0x2d9eb0,_0x397af0);}(_0x5058f4,_0x4c121f):_0x2b9f2b['TEXTAREA'](_0x5058f4,_0x4c121f);}_0x1893e4(_0x5ad50d);var _0x4d6281=_0x5ad50d,_0x17eef1=_0x4d6281['nodeType'],_0x27bc63=_0x57a125['nodeType'];if(!_0x4f2125){if(0x1===_0x17eef1)0x1===_0x27bc63?_0x3cf417(_0x5ad50d,_0x57a125)||(_0x2c5282(_0x5ad50d),_0x4d6281=function(_0x456600,_0x493ef1){for(var _0x2ea443=_0x456600['firstChild'];_0x2ea443;){var _0x4eec64=_0x2ea443['nextSibling'];_0x493ef1['appendChild'](_0x2ea443),_0x2ea443=_0x4eec64;}return _0x493ef1;}(_0x5ad50d,function(_0x439162,_0x2c3eb2){return _0x2c3eb2&&'http://www.w3.org/1999/xhtml'!==_0x2c3eb2?_0x35d28c['createElementNS'](_0x2c3eb2,_0x439162):_0x35d28c['createElement'](_0x439162);}(_0x57a125['nodeName'],_0x57a125['namespaceURI']))):_0x4d6281=_0x57a125;else{if(0x3===_0x17eef1||0x8===_0x17eef1){if(_0x27bc63===_0x17eef1)return _0x4d6281['nodeValue']!==_0x57a125['nodeValue']&&(_0x4d6281['nodeValue']=_0x57a125['nodeValue']),_0x4d6281;_0x4d6281=_0x57a125;}}}if(_0x4d6281===_0x57a125)_0x2c5282(_0x5ad50d);else{if(_0x57a125['isSameNode']&&_0x57a125['isSameNode'](_0x4d6281))return;if(_0x3711da(_0x4d6281,_0x57a125,_0x4f2125),_0x5d40fd)for(var _0x21b843=0x0,_0x221f4a=_0x5d40fd['length'];_0x21b843<_0x221f4a;_0x21b843++){var _0x3563dc=_0x4d2108[_0x5d40fd[_0x21b843]];_0x3563dc&&_0x31c572(_0x3563dc,_0x3563dc['parentNode'],!0x1);}}return!_0x4f2125&&_0x4d6281!==_0x5ad50d&&_0x5ad50d['parentNode']&&(_0x4d6281['actualize']&&(_0x4d6281=_0x4d6281['actualize'](_0x5ad50d['ownerDocument']||_0x35d28c)),_0x5ad50d['parentNode']['replaceChild'](_0x4d6281,_0x5ad50d)),_0x4d6281;};}(function(_0x2e8af7,_0x4867c3){var _0x4607e5,_0x33b64c,_0xd2cd3e,_0x576d64,_0x267bb3=_0x4867c3['attributes'];if(0xb!==_0x4867c3['nodeType']&&0xb!==_0x2e8af7['nodeType']){for(var _0x791928=_0x267bb3['length']-0x1;_0x791928>=0x0;_0x791928--)_0x33b64c=(_0x4607e5=_0x267bb3[_0x791928])['name'],_0xd2cd3e=_0x4607e5['namespaceURI'],_0x576d64=_0x4607e5['value'],_0xd2cd3e?(_0x33b64c=_0x4607e5['localName']||_0x33b64c,_0x2e8af7['getAttributeNS'](_0xd2cd3e,_0x33b64c)!==_0x576d64&&('xmlns'===_0x4607e5['prefix']&&(_0x33b64c=_0x4607e5['name']),_0x2e8af7['setAttributeNS'](_0xd2cd3e,_0x33b64c,_0x576d64))):_0x2e8af7['getAttribute'](_0x33b64c)!==_0x576d64&&_0x2e8af7['setAttribute'](_0x33b64c,_0x576d64);for(var _0xbf3a64=_0x2e8af7['attributes'],_0x5db0b7=_0xbf3a64['length']-0x1;_0x5db0b7>=0x0;_0x5db0b7--)_0x33b64c=(_0x4607e5=_0xbf3a64[_0x5db0b7])['name'],(_0xd2cd3e=_0x4607e5['namespaceURI'])?(_0x33b64c=_0x4607e5['localName']||_0x33b64c,_0x4867c3['hasAttributeNS'](_0xd2cd3e,_0x33b64c)||_0x2e8af7['removeAttributeNS'](_0xd2cd3e,_0x33b64c)):_0x4867c3['hasAttribute'](_0x33b64c)||_0x2e8af7['removeAttribute'](_0x33b64c);}});class HTMLStreamer{['options'];['isStreaming']=!0x1;['document']=null;['nodesList']=[];['currentIndex']=0x0;['timeoutAbortController']=null;['lastUpdateTime']=0x0;constructor(_0xbeb750){this['options']={'delay':_0xbeb750['delay']??0x14,'textNodeStyle':_0xbeb750['textNodeStyle'],'onStreamUpdate':_0xbeb750['onStreamUpdate']||(()=>{})};}async['stream']({document:_0xb064be,targetElement:_0x159cfe,abortSignal:_0x14148e}){this['isStreaming']&&this['stop'](),_0x14148e?.['addEventListener']('abort',this['stop']['bind'](this)),this['document']=_0x467721(_0xb064be,!0x0),this['nodesList']=this['getParsedDocumentNodeList'](),this['isStreaming']=!0x0,this['currentIndex']>this['nodesList']['length']&&(this['currentIndex']=this['nodesList']['length']);for(let _0x4f877a=0x0;_0x4f877a<this['currentIndex'];_0x4f877a++)this['nodesList'][_0x4f877a]['shouldBeStreamed']=!0x0;do{const _0x569cba=Date['now'](),_0x3ded02=this['nodesList'][this['currentIndex']],_0x3a5581=_0x569cba-this['lastUpdateTime'];if(_0x3ded02){_0x3ded02['shouldBeStreamed']=!0x0;let _0x5a96d5=_0x3ded02['parent'];for(;_0x5a96d5;)_0x5a96d5['shouldBeStreamed']=!0x0,_0x5a96d5=_0x5a96d5['parent'];}if(_0x3a5581<this['options']['delay'])try{const {promise:_0x162738,abortController:_0x1e7e59}=_0x119517(this['options']['delay']-_0x3a5581);this['timeoutAbortController']=_0x1e7e59,await _0x162738;}catch(_0x28527b){return;}_0xe38d34(_0x159cfe,'<'+_0x159cfe['tagName']+'>'+this['renderNode'](this['document'])+'</'+_0x159cfe['tagName']+'>',{'childrenOnly':!0x0}),this['options']['onStreamUpdate']&&this['options']['onStreamUpdate'](),this['currentIndex']++,this['lastUpdateTime']=Date['now']();}while(this['currentIndex']<this['nodesList']['length']);this['currentIndex']=this['nodesList']['length'],this['isStreaming']=!0x1;}['reset'](){this['isStreaming']=!0x1,this['document']=null,this['nodesList']=[],this['currentIndex']=0x0,this['timeoutAbortController']=null;}['cleanUpAnimations']({targetElement:_0x4f7f0e}){Array['from'](_0x4f7f0e['querySelectorAll']('span[data-ck-html-streamer-word-chunk]'))['reverse']()['forEach'](_0x29e36b=>{_0x29e36b['replaceWith'](_0x29e36b['childNodes'][0x0]);});}['stop'](){this['isStreaming']=!0x1,this['timeoutAbortController']&&(this['timeoutAbortController']['abort'](),this['timeoutAbortController']=null);}['renderNode'](_0x430184){let _0x8d8fe2='';if(function(_0x226f6f){return _0x405a5d(_0x226f6f);}(_0x430184)){for(const _0x512b40 of _0x430184['children'])_0x8d8fe2+=this['renderNode'](_0x512b40);}else{if(_0x30540e(_0x430184)){if(!_0x430184['shouldBeStreamed'])return'';const _0x2da0c5=_0x430184,_0x12689b=Object['entries'](_0x2da0c5['attribs'])['map'](([_0x5cc26f,_0x3061f5])=>_0x5cc26f+'=\x22'+_0x3061f5+'\x22')['join']('\x20');_0x8d8fe2+='<'+_0x2da0c5['tagName']+(_0x12689b?'\x20'+_0x12689b:'')+'>';for(const _0x1272c6 of _0x2d1a61(_0x28dab0=_0x2da0c5)?_0x28dab0['children']:[])_0x8d8fe2+=this['renderNode'](_0x1272c6);_0x8d8fe2+='</'+_0x2da0c5['tagName']+'>';}else{if(!_0x4d1eb0(_0x430184))return'';if(!_0x430184['shouldBeStreamed'])return'';!function(_0x159b65){if(!_0x159b65['parent']||!_0x30540e(_0x159b65['parent']))return!0x1;if(!_0x372b6f['includes'](_0x159b65['parent']['tagName']))return!0x1;return!_0x36dd14(_0x159b65)['match'](/^\s*[<>]\s*$/);}(_0x430184)?_0x8d8fe2+=_0x13134c(_0x430184):_0x8d8fe2+=_0x13134c(new _0x4f87d8('span',{'data-ck-html-streamer-word-chunk':'','style':this['options']['textNodeStyle']},[_0x430184]));}}var _0x28dab0;return _0x8d8fe2;}['getParsedDocumentNodeList'](){const _0x2a9367=[];return function(_0x68db24,_0x5a1197){const _0x1cb30a=_0x4b5546=>{if(_0x5a1197(_0x4b5546),_0x4b5546 instanceof NodeWithChildren)for(let _0x3eadd8=0x0;_0x3eadd8<_0x4b5546['children']['length'];_0x3eadd8++){const _0x396aa0=_0x4b5546['children'][_0x3eadd8];_0x1cb30a(_0x396aa0);}};for(let _0x44c724=0x0;_0x44c724<_0x68db24['children']['length'];_0x44c724++)_0x1cb30a(_0x68db24['children'][_0x44c724]);}(this['document'],_0xf524b5=>{if(_0x4d1eb0(_0xf524b5)){const _0x192198=this['splitTextNodeIntoWordNodes'](_0xf524b5);_0x192198['length']&&_0x2a9367['push'](..._0x192198);}_0xf524b5['isWordSplitSource']||_0xf524b5['isWordSplitResult']||_0x2a9367['push'](_0xf524b5);}),_0x2a9367;}['splitTextNodeIntoWordNodes'](_0x159e18){if(_0x159e18['isWordSplitSource']||_0x159e18['isWordSplitResult'])return[];const _0x3a61f8=_0x36dd14(_0x159e18)['match'](/(?:\s*\S+\s*)/g),_0x4c9a55=[];if(_0x3a61f8&&_0x3a61f8['length']>0x1){for(const _0x41fc24 of _0x3a61f8){const _0x354917=new _0xf25e6a(_0x41fc24);_0x354917['isWordSplitResult']=!0x0,_0x3fe2d7(_0x159e18,_0x354917),_0x4c9a55['push'](_0x354917);}_0x159e18['isWordSplitSource']=!0x0,_0x5099fb(_0x159e18);}return _0x4c9a55;}}const _0x372b6f=['p','li','td','th','span','h1','h2','h3','h4','h5','h6','b','strong','i','em','mark','del','ins','sup','sub','a','code','div'];function _0x4d1eb0(_0x164436){return _0x5e4294(_0x164436);}function _0x30540e(_0x4e81fb){return _0x16f891(_0x4e81fb);}function _0x119517(_0x3cbb4e){const _0x2c8801=new AbortController();return{'promise':new Promise((_0x6dad9b,_0x5ad6da)=>{const _0x3205e2=setTimeout(_0x6dad9b,_0x3cbb4e);_0x2c8801['signal']['addEventListener']('abort',()=>{clearTimeout(_0x3205e2),_0x5ad6da();});}),'abortController':_0x2c8801};}class AIChatFeedItemView extends _0x22b56d['View']{['options'];['content']='';['htmlStreamer'];['children'];constructor(_0x2ef8c9){super();const _0x24326b=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']=_0x2ef8c9,this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__item',_0x24326b['if']('isDone','ck-ai-chat__feed__item_done'),_0x24326b['if']('isVisible','ck-hidden',_0x3f2f62=>!_0x3f2f62),'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'](_0x22c5a9=>{_0x22c5a9['removeAttribute']('data-id');}),this['isDone']=!0x0;}async['streamIntoElement'](_0x35ad55,_0x40fdfc,_0x304d71){await this['htmlStreamer']['stream']({'document':_0x35ad55,'targetElement':_0x40fdfc,'abortSignal':_0x304d71});}}class AISuggestionHeaderView extends _0x22b56d['View']{['showChangesToggleView'];constructor(_0x20c260,_0x381626){super(_0x20c260),this['set']('isShowChangesToggleVisible',!0x0),this['showChangesToggleView']=new _0x2f714a(_0x20c260),this['showChangesToggleView']['set']({'class':'ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','label':xt(_0x20c260,'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':!0x0}),this['showChangesToggleView']['isOn']=_0x381626['showDiff'],this['showChangesToggleView']['bind']('isVisible')['to'](this,'isShowChangesToggleVisible'),this['showChangesToggleView']['bind']('icon')['to'](this['showChangesToggleView'],'isOn',_0x43c431=>_0x43c431?_0x22b56d['IconShowChangesOn']:_0x22b56d['IconShowChangesOff']),this['showChangesToggleView']['on']('execute',()=>{this['showChangesToggleView']['isOn']=!this['showChangesToggleView']['isOn'],this['fire']('toggleShowChanges',{'isOn':this['showChangesToggleView']['isOn']});});const _0x49bfe4=new _0x22b56d['IconView']();_0x49bfe4['content']=_0x22b56d['IconDocument'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__header',!0x1===_0x381626['showHeader']?'ck-hidden':null]['filter'](Boolean)},'children':[_0x49bfe4,{'tag':'span','children':[xt(_0x20c260,'AI_SUGGESTION_HEADER_TITLE')]},this['showChangesToggleView']]});}}class _0x2f714a extends _0x22b56d['ButtonView']{['render'](){super['render'](),this['children']['remove'](this['iconView']),this['children']['add'](this['iconView']);}}const _0x122e34={'accepted':_0x22b56d['IconBoxWithCheck'],'rejected':_0x22b56d['IconBoxWithCross'],'outdated':_0x22b56d['IconBoxWithCross']};class AISuggestionContentPartStateView extends _0x22b56d['View']{['stateIconView'];constructor(_0x209b56){super(_0x209b56);const _0x31464b=this['bindTemplate'];this['set']('state','accepted'),this['set']('isVisible',!0x0),this['stateIconView']=new StateIconView(),this['stateIconView']['bind']('state')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__content-part-state',_0x31464b['to']('state',_0x591925=>'ck-ai-suggestion__content-part-state_'+_0x591925),_0x31464b['if']('isVisible','ck-hidden',_0xa74fe9=>!_0xa74fe9)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-suggestion__content-part-state__label']},'children':[{'text':_0x31464b['to']('state',_0x3bf794=>{switch(_0x3bf794){case'accepted':return xt(_0x209b56,'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED');case'rejected':return xt(_0x209b56,'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED');case'outdated':return xt(_0x209b56,'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED');}})}]},this['stateIconView']]});}['setState'](_0x16bbf8){this['state']=_0x16bbf8;}}class StateIconView extends _0x22b56d['IconView']{constructor(){super(),this['set']('state','accepted'),this['content']=_0x122e34[this['state']],this['on']('change:state',()=>{this['content']=_0x122e34[this['state']];});}}class AISuggestionContentPartToolbarView extends _0x22b56d['ToolbarView']{['_applyButton'];['_suggestButton'];constructor(_0x18f51d,_0x2052e5,_0x55d63a){super(_0x18f51d);const _0x5952aa=Boolean(_0x55d63a);this['set']('isEnabled',!_0x5952aa),this['set']('isVisible',!0x0),this['class']='ck-ai-suggestion-content-part-toolbar';const _0xb99ac7=[];if(_0x5952aa){const _0x312dd2=new _0x22b56d['ButtonView'](_0x18f51d);_0x312dd2['set']({'label':xt(_0x18f51d,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x22b56d['IconInfo']}),_0xb99ac7['push'](_0x312dd2);}else{_0x2052e5['includes']('applySuggestion')&&(this['_applyButton']=new _0x22b56d['ButtonView'](_0x18f51d),this['_applyButton']['set']({'label':xt(_0x18f51d,'AI_SUGGESTION_CONTENT_PART_APPLY'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x22b56d['IconBoxWithCheck']}),this['_applyButton']['bind']('isEnabled')['to'](this),this['_applyButton']['on']('execute',()=>{this['fire']('applySuggestion');}),_0xb99ac7['push'](this['_applyButton'])),_0x2052e5['includes']('insertSuggestion')&&(this['_suggestButton']=new _0x22b56d['ButtonView'](_0x18f51d),this['_suggestButton']['set']({'label':xt(_0x18f51d,'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x22b56d['IconBoxWithMarker']}),this['_suggestButton']['bind']('isEnabled')['to'](this),this['_suggestButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),_0xb99ac7['push'](this['_suggestButton']));const _0x8334d2=new _0x22b56d['ButtonView'](_0x18f51d);_0x8334d2['set']({'label':xt(_0x18f51d,'AI_SUGGESTION_CONTENT_PART_REJECT'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x22b56d['IconBoxWithCross']}),_0x8334d2['bind']('isEnabled')['to'](this),_0x8334d2['on']('execute',()=>{this['fire']('rejectSuggestion');}),_0xb99ac7['push'](_0x8334d2);}this['items']['addMany'](_0xb99ac7);const _0x3605c0=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':[_0x3605c0['if']('isVisible','ck-hidden',_0x4dd8f5=>!_0x4dd8f5)]}});}['setButtonsVisibility']({showApplyButton:_0x437312,showSuggestButton:_0x5d9c05}){this['_applyButton']&&(this['_applyButton']['isVisible']=_0x437312),this['_suggestButton']&&(this['_suggestButton']['isVisible']=_0x5d9c05);}}class AISuggestionContentPartHeaderView extends _0x22b56d['View']{['toolbarView'];['stateView'];['titleLabelView'];['children'];constructor(_0x348a50,{part:_0x3d01c9,uiIndex:_0x3fb951,availableActions:_0x2de5f0,areActionsDisabled:_0x47fed3}){super(_0x348a50),this['set']('isEnabled',!0x0),this['set']('state','pending'),this['toolbarView']=new AISuggestionContentPartToolbarView(_0x348a50,_0x2de5f0,_0x47fed3),this['toolbarView']['on']('rejectSuggestion',()=>{this['fire']('rejectSuggestion',{'index':_0x3d01c9['index']});}),this['toolbarView']['on']('insertSuggestion',()=>{this['fire']('insertSuggestion',{'index':_0x3d01c9['index']});}),this['toolbarView']['on']('applySuggestion',()=>{this['fire']('applySuggestion',{'index':_0x3d01c9['index']});}),this['toolbarView']['bind']('isEnabled')['to'](this),this['stateView']=new AISuggestionContentPartStateView(_0x348a50),this['titleLabelView']=new AISuggestionBodyContentPartTitleLabelView(_0x348a50,_0x3fb951),this['children']=this['createCollection'](),this['children']['addMany']([this['titleLabelView'],this['toolbarView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-ai-suggestion__body__content-part__title']},'children':this['children']}),this['on']('change:state',(_0x4bc63f,_0x411a7f,_0x52db27,_0x18e4d3)=>{'pending'===_0x18e4d3?this['children']['remove'](this['toolbarView']):this['children']['remove'](this['stateView']),'pending'===_0x52db27?this['children']['add'](this['toolbarView']):(this['stateView']['setState'](_0x52db27),this['children']['add'](this['stateView']));});}}class AISuggestionBodyContentPartTitleLabelView extends _0x22b56d['View']{constructor(_0x39d655,_0x356a17){super(_0x39d655),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__body__content-part__title__label']},'children':[xt(_0x39d655,'AI_SUGGESTION_CONTENT_PART_TITLE',_0x356a17['toString']())]});}}class AISuggestionStreamableContentView extends _0x22b56d['View']{['htmlStreamer'];constructor(_0x15bcd7){super(_0x15bcd7),this['htmlStreamer']=new HTMLStreamer({'textNodeStyle':'animation:\x20ck-html-streamer-fade-in\x20.5s','delay':0x14}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content','ck-reset_all-excluded','ck-ai-suggestion-streamable-content']}});}async['update']({part:_0x36d185,renderingStrategy:_0x47c639,abortSignal:_0x45ec0d}){'streaming'===_0x47c639?await this['htmlStreamer']['stream']({'document':_0x36d185['content'],'targetElement':this['element'],'abortSignal':_0x45ec0d}):this['element']['innerHTML']=_0x43b5d2(_0x36d185['content']);}['clear'](){this['htmlStreamer']['reset'](),this['element']['innerHTML']='';}}class AISuggestionBodyViewContentPartView extends _0x22b56d['View']{['_children'];['_headerView'];['_streamableContentView'];constructor(_0x4305e6,{part:_0x5689f7,uiIndex:_0x58c8ea,areActionsDisabled:_0x463dbf,availableActions:_0x60fb88}){super(_0x4305e6);const _0x343053=this['bindTemplate'];this['set']('state','pending'),this['set']('isDone',!0x1),this['set']('isVisible',!0x1),this['set']('isActive',!0x1),this['set']('isEnabled',!0x1);const _0x4f756e=()=>{this['isEnabled']=this['isDone']&&'pending'==this['state']&&!_0x463dbf;};this['on']('change:state',_0x4f756e),this['on']('change:isDone',_0x4f756e),_0x4f756e(),this['_children']=this['createCollection'](),this['_headerView']=new AISuggestionContentPartHeaderView(_0x4305e6,{'part':_0x5689f7,'uiIndex':_0x58c8ea,'availableActions':_0x60fb88,'areActionsDisabled':_0x463dbf}),this['_headerView']['bind']('isEnabled','state')['to'](this),this['_headerView']['delegate'](..._0x9ac31b)['to'](this),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x4305e6),this['_children']['addMany']([this['_headerView'],this['_streamableContentView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-part',_0x343053['to']('state',_0x3a6418=>'ck-ai-suggestion__body__content-part_'+_0x3a6418),_0x343053['if']('isEnabled','ck-ai-suggestion__body__content-part_enabled'),_0x343053['if']('isActive','ck-ai-suggestion__body__content-part_active'),_0x343053['if']('isVisible','ck-hidden',_0x43d5c9=>!_0x43d5c9)]},'children':this['_children'],'on':{'mouseenter':_0x343053['to'](()=>{this['isEnabled']&&this['fire']('mouseOverSuggestion',{'index':_0x5689f7['index']});}),'mouseleave':_0x343053['to'](()=>{this['isEnabled']&&this['fire']('mouseLeaveSuggestion',{'index':_0x5689f7['index']});}),'click':_0x343053['to'](_0x5b4627=>{const _0xdd009f=_0x5b4627['target'];this['isEnabled']&&!this['_headerView']['toolbarView']['element']['contains'](_0xdd009f)&&this['fire']('showChangeInText',{'index':_0x5689f7['index']});})}});}async['updateContent']({part:_0x46a222,renderingStrategy:_0x459d1c,showUnchangedParts:_0x181ad9=!0x1,abortSignal:_0x12e1af}){this['partDefinition']=_0x46a222,this['isVisible']=this['partDefinition']['hasChanges']||_0x181ad9,this['isVisible']&&await this['_streamableContentView']['update']({'part':_0x46a222,'renderingStrategy':_0x459d1c,'abortSignal':_0x12e1af});}['markAsDone'](){this['isDone']=!0x0;}}class _0x34185e extends _0x22b56d['EmitterMixin'](){['queue']=[];['isProcessing']=!0x1;['_abortController'];async['enqueue'](_0x2e2b09){const _0x4444f2=this['createTask'](_0x2e2b09);return this['queue']['push'](_0x4444f2),this['_processQueue'](),_0x4444f2['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(_0x5e5771=>{this['once']('_queueEmpty',()=>{_0x5e5771();});}):Promise['resolve']();}async['_processQueue'](){if(!this['isProcessing']){this['_abortController']=new AbortController(),this['isProcessing']=!0x0;try{for(;this['queue']['length']&&this['isProcessing'];){const _0x5a3289=this['queue']['shift']();try{await _0x5a3289['callback'](this['_abortController']['signal']),_0x5a3289['resolve']();}catch(_0x23692e){_0x5a3289['reject'](_0x23692e);}}}finally{this['isProcessing']=!0x1,this['_abortController']=void 0x0;}this['fire']('_queueEmpty');}}['createTask'](_0x1ebeb3){let _0x200e10,_0x3fba57;const _0x1272a0=new Promise((_0x182ba1,_0x15e5d0)=>{_0x200e10=_0x182ba1,_0x3fba57=_0x15e5d0;});return{'callback':_0x1ebeb3,'resolve':_0x200e10,'reject':_0x3fba57,'completePromise':_0x1272a0};}}class AIChatFeedErrorItemView extends AIChatFeedItemView{constructor(_0x1e50dd){super(_0x1e50dd),this['extendTemplate']({'attributes':{'class':['ck-ai-notification','warning'===_0x1e50dd['level']?'ck-ai-notification_warning':'ck-ai-notification_error']}});}['render'](){super['render'](),this['setContent'](this['options']['initialContent']),this['markAsDone']();}['setContent'](_0x20a7cc){this['element']['innerHTML']=_0x20a7cc;}}const _0xc7a910=['applySuggestion','insertSuggestion'];class AIChatFeedSuggestionItemActionsView extends _0x22b56d['View']{['_applyChangesButton'];['_insertSuggestionsButton'];['children'];constructor(_0x3ebf72,_0x1efd01=[..._0xc7a910],_0x3c5e4a){super(_0x3ebf72);const _0x227738=this['bindTemplate'],_0x2f6113=Boolean(_0x3c5e4a);if(this['set']('isEnabled',!_0x2f6113),this['set']('isVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),_0x2f6113){const _0x7e45b7=new _0x22b56d['ButtonView'](_0x3ebf72);_0x7e45b7['set']({'label':xt(_0x3ebf72,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x22b56d['IconInfo']});const _0x417199=new _0x22b56d['View'](_0x3ebf72);_0x417199['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat__feed__suggestion__actions__info'},'children':[{'tag':'p','children':[xt(_0x3ebf72,'AI_SUGGESTION_DISABLED_FEED_MESSAGE'),_0x7e45b7]}]}),this['children']['add'](_0x417199);}else this['_applyChangesButton']=new _0x22b56d['ButtonView'](_0x3ebf72),this['_applyChangesButton']['set']({'label':xt(_0x3ebf72,'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),'withText':!0x0,'type':'button','isVisible':_0x1efd01['includes']('applySuggestion'),'class':'ck-ai-button-primary'}),this['_insertSuggestionsButton']=new _0x22b56d['ButtonView'](_0x3ebf72),this['_insertSuggestionsButton']['set']({'label':xt(_0x3ebf72,'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL'),'withText':!0x0,'type':'button','isVisible':_0x1efd01['includes']('insertSuggestion'),'class':'ck-ai-button-secondary'}),this['_insertSuggestionsButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),this['_applyChangesButton']['on']('execute',()=>{this['fire']('applySuggestion');}),[this['_applyChangesButton'],this['_insertSuggestionsButton']]['forEach'](_0x5ea119=>{_0x5ea119['bind']('isEnabled')['to'](this);}),this['children']['addMany']([this['_applyChangesButton'],this['_insertSuggestionsButton']]);this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__ai-suggestion__actions',_0x227738['if']('isVisible','ck-hidden',_0x1e47d8=>!_0x1e47d8)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_applyChangesButton']&&(this['_applyChangesButton']['isVisible']=!this['isTrackChangesOn']);});}['updateVisibility'](_0x4d66f2){this['isVisible']=_0x4d66f2;}['_switchButtonLabelsPlurality'](_0x34183e){this['_applyChangesButton']&&this['_insertSuggestionsButton']&&(_0x34183e?(this['_applyChangesButton']['label']=xt(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),this['_insertSuggestionsButton']['label']=xt(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL')):(this['_applyChangesButton']['label']=xt(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY'),this['_insertSuggestionsButton']['label']=xt(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST')));}}class _0x17f22a extends _0x22b56d['View']{['children'];['balloonPanelView'];['bodyCollection'];constructor(_0x51c7bf,_0x19545d){super(_0x51c7bf),this['bodyCollection']=_0x19545d,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',_0x3148df=>!_0x3148df)]},'children':this['children']});const _0x46dd4a=new _0x22b56d['View'](this['locale']),_0x5a98a2=new _0x22b56d['IconView']();_0x5a98a2['content']=_0x22b56d['IconWeb'],_0x46dd4a['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-sources__header']},'children':[_0x5a98a2,{'tag':'span','children':[{'text':xt(this['locale'],'AI_CHAT_SOURCES_HEADER')}]}]}),this['children']['add'](_0x46dd4a),this['_setupBalloonPanel'](_0x51c7bf);}['addSource'](_0x39b966){this['children']['add'](new _0x1a805e(this['locale'],_0x39b966,this['balloonPanelView']));}['_setupBalloonPanel'](_0x4bad85){this['balloonPanelView']=new _0x22b56d['BalloonPanelView'](_0x4bad85),this['balloonPanelView']['extendTemplate']({'attributes':{'class':['ck-ai-web-source__tooltip-balloon']}}),this['bodyCollection']['add'](this['balloonPanelView']);}}class _0x1a805e extends _0x22b56d['ButtonView']{['balloonPanelView'];['source'];constructor(_0x42cee2,_0x3202e5,_0x222d8c){super(_0x42cee2),this['source']=_0x3202e5,this['balloonPanelView']=_0x222d8c,this['set']({'label':_0x3202e5['title'],'class':['ck\x20ck-ai-web-source'],'withText':!0x0});const _0x3d9b38=this['bindTemplate'];if(this['extendTemplate']({'on':{'click':_0x3d9b38['to'](()=>{window['open'](_0x3202e5['url'],'_blank');}),'mouseenter':_0x3d9b38['to'](()=>{this['_showTooltip']();}),'mouseleave':_0x3d9b38['to'](()=>{this['_hideTooltip']();})}}),_0x3202e5['favicon']){const _0x12eb0b=new _0x22b56d['View'](_0x42cee2);_0x12eb0b['setTemplate']({'tag':'img','attributes':{'src':_0x3202e5['favicon']||_0x22b56d['IconWeb'],'alt':_0x3202e5['title'],'class':['ck-ai-web-source__image']}}),this['children']['add'](_0x12eb0b);}else this['set']('icon',_0x22b56d['IconWeb']);}['_createTooltipContentView'](_0x34186a,_0x29d632){const _0x2033a2=new _0x22b56d['View'](_0x34186a),_0x61e3a4=[];let _0x36084d;_0x29d632?.['favicon']?(_0x36084d=new _0x22b56d['View'](_0x34186a),_0x36084d['setTemplate']({'tag':'img','attributes':{'src':_0x29d632['favicon'],'alt':_0x29d632['title'],'class':['ck-ai-web-source__tooltip-image']}})):(_0x36084d=new _0x22b56d['IconView'](),_0x36084d['content']=_0x22b56d['IconWeb'],_0x36084d['extendTemplate']({'attributes':{'alt':_0x29d632['title'],'class':['ck-ai-web-source__tooltip-image']}})),_0x61e3a4['push'](_0x36084d);const _0xc2b58e=new _0x22b56d['View'](_0x34186a);_0xc2b58e['setTemplate']({'tag':'a','attributes':{'class':['ck-ai-web-source__tooltip-url'],'href':_0x29d632['url']},'children':[{'text':new URL(_0x29d632['url'])?.['hostname']}]}),_0x61e3a4['push'](_0xc2b58e);const _0x3121f5=new _0x22b56d['View'](_0x34186a);_0x3121f5['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-web-source__tooltip-row']},'children':_0x61e3a4});const _0x87ea6=new _0x22b56d['View'](_0x34186a);return _0x87ea6['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-web-source__tooltip-row','ck-ai-web-source__tooltip-title']},'children':[{'text':_0x29d632['title']['length']>0x190?_0x29d632['title']['substring'](0x0,0x190)+'...':_0x29d632['title']}]}),_0x2033a2['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-source__tooltip']},'children':[_0x3121f5,_0x87ea6]}),_0x2033a2;}['_showTooltip'](){this['_updateTooltipContent'](),this['balloonPanelView']['pin']({'target':this['element'],'positions':[_0x22b56d['BalloonPanelView']['defaultPositions']['northArrowSouth'],_0x22b56d['BalloonPanelView']['defaultPositions']['northArrowSouthWest'],_0x22b56d['BalloonPanelView']['defaultPositions']['northArrowSouthEast']],'limiter':document['querySelector']('.ck-ai-chat')}),this['balloonPanelView']['show']();}['_hideTooltip'](){this['balloonPanelView']['hide']();}['_updateTooltipContent'](){this['balloonPanelView']['content']['get'](0x0)?.['destroy'](),this['balloonPanelView']['content']['clear']();const _0x206a77=this['_createTooltipContentView'](this['locale'],this['source']);this['balloonPanelView']['content']['add'](_0x206a77);}}class AISuggestionBodyView extends _0x22b56d['View']{['_actionsView'];['_sourcesView'];['_children'];['_areActionsDisabled'];['_showUnchangedParts'];['_updateContentPartsPromiseQueue'];['_emptyPartsWarningView'];['_availableActions'];['_cachedContentParts']=[];constructor(_0x1793fc,_0xfbcaeb){super(_0x1793fc);const {areActionsDisabled:_0xab526e,showUnchangedParts:_0x118e43,availableActions:_0x4a9a3}=_0xfbcaeb;this['_areActionsDisabled']=_0xab526e,this['_showUnchangedParts']=_0x118e43,this['_availableActions']=_0x4a9a3,this['set']('hasPendingParts',!0x1),this['set']('isTrackChangesOn',!0x1),this['_children']=this['createCollection'](),this['_updateContentPartsPromiseQueue']=new _0x34185e(),this['_emptyPartsWarningView']=new AIChatFeedErrorItemView({'id':'empty-parts-warning','initialContent':xt(_0x1793fc,'AI_SUGGESTION_EMPTY_PART_WARNING'),'level':'warning'}),this['_emptyPartsWarningView']['isVisible']=!0x1,this['_actionsView']=new AIChatFeedSuggestionItemActionsView(_0x1793fc,_0xfbcaeb['availableActions'],this['_areActionsDisabled']),this['_actionsView']['bind']('isTrackChangesOn')['to'](this),this['_sourcesView']=new _0x17f22a(this['locale'],_0xfbcaeb['bodyCollection']),_0xfbcaeb['areActionsDisabled']?this['_actionsView']['isEnabled']=!0x1:this['_actionsView']['bind']('isEnabled')['to'](this,'hasPendingParts'),this['_actionsView']['delegate'](..._0x9ac31b)['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body']},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-parts']},'children':this['_children']},this['_emptyPartsWarningView'],this['_actionsView'],this['_sourcesView']]});}get['partsCount'](){return this['_children']['length'];}async['updateContentParts']({parts:_0x38cf9,renderingStrategy:_0x21bdf7,abortSignal:_0x359ded}){this['_children']['length']?_0x38cf9['forEach'](_0x1ea804=>{const _0x426f46=this['_cachedContentParts']['findIndex'](_0x445c82=>_0x445c82['index']==_0x1ea804['index']);-0x1===_0x426f46?this['_cachedContentParts']['push'](_0x1ea804):this['_cachedContentParts'][_0x426f46]=_0x1ea804;}):this['_cachedContentParts']=_0x38cf9;const _0x14c6bd=this['_showUnchangedParts']?_0x38cf9:_0x38cf9['filter'](_0x46f38c=>_0x46f38c['hasChanges']);this['_actionsView']['_switchButtonLabelsPlurality'](_0x14c6bd['length']>0x1);for(const _0x5b503d of _0x14c6bd)this['_updateContentPartsPromiseQueue']['enqueue'](async _0x421638=>{let _0x2065f5=this['getPartView'](_0x5b503d['index']);_0x2065f5||(_0x2065f5=new AISuggestionBodyViewContentPartView(this['locale'],{'part':_0x5b503d,'uiIndex':this['_children']['length']+0x1,'areActionsDisabled':this['_areActionsDisabled'],'availableActions':this['_availableActions']}),_0x2065f5['delegate'](..._0x9ac31b)['to'](this),this['_children']['add'](_0x2065f5),this['hasPendingParts']=!0x0),await _0x2065f5['updateContent']({'part':_0x5b503d,'renderingStrategy':_0x21bdf7,'showUnchangedParts':this['_showUnchangedParts'],'abortSignal':_0x421638}),_0x2065f5['markAsDone']();});return _0x359ded?.['addEventListener']('abort',()=>{this['_updateContentPartsPromiseQueue']['abort']();}),this['_updateContentPartsPromiseQueue']['queueEmptyPromise'];}['updatePartState'](_0x30708d,_0x4eca34){const _0xccfe2a=this['getPartView'](_0x30708d);_0xccfe2a&&(_0xccfe2a['state']=_0x4eca34),this['hasPendingParts']='pending'==_0x4eca34||Array['from'](this['_children'])['some'](_0x2af4f8=>'pending'==_0x2af4f8['state']);}['setPartActive'](_0x2380fd,_0x49bd42){if(!0x1===_0x2380fd){for(const _0x32c30c of this['_children'])_0x32c30c['isActive']=!0x1;}else{const _0xb723b=this['getPartView'](_0x2380fd);_0xb723b&&(_0xb723b['isActive']=_0x49bd42);}}['updateSources'](_0x40b1ee){_0x40b1ee['forEach'](_0x407870=>this['_sourcesView']['addSource'](_0x407870)),this['_sourcesView']['isVisible']=!0x0;}['getPartView'](_0x3960fb){return this['_children']['find'](_0x28a943=>_0x28a943['partDefinition']['index']==_0x3960fb)??null;}['markAsDone'](){if(!this['_showUnchangedParts']){const _0x3f63d5=!this['_cachedContentParts']['find'](({hasChanges:_0x51be69})=>_0x51be69),_0x4bb9eb=!!this['_cachedContentParts']['find'](({hasChanges:_0x49d5b9})=>!_0x49d5b9);this['_emptyPartsWarningView']['isVisible']=0x0==this['_children']['length']||_0x4bb9eb,_0x3f63d5?this['_emptyPartsWarningView']['setContent'](xt(this['locale'],'AI_SUGGESTION_NO_PARTS_WARNING')):this['_emptyPartsWarningView']['setContent'](xt(this['locale'],'AI_SUGGESTION_EMPTY_PART_WARNING'));}this['_children']['forEach'](_0x12f330=>_0x12f330['markAsDone']()),this['_actionsView']['updateVisibility'](this['hasNonEmptyParts']);}get['hasNonEmptyParts'](){return this['_children']['filter'](_0x3a67f7=>_0x3a67f7['partDefinition']['hasChanges'])['length']>0x0;}}class AISuggestionContainerView extends _0x22b56d['View']{['bodyView'];['children'];['headerView'];constructor(_0x221412,_0x462ed7,_0x50643e){super(_0x221412);const {showDiff:_0x12cdf5,areActionsDisabled:_0x1d999d,showUnchangedParts:_0x4e470d,availableActions:_0xdbcd63}=_0x462ed7;this['set']('isTrackChangesOn',!0x1),this['set']('areChangesVisible',!0x1),this['children']=this['createCollection'](),this['headerView']=new AISuggestionHeaderView(_0x221412,{'showDiff':_0x12cdf5}),this['headerView']['on']('toggleShowChanges',(_0x32b181,_0x43ce23)=>{this['areChangesVisible']=_0x43ce23['isOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':_0x43ce23['isOn']});}),this['children']['add'](this['headerView']),this['bodyView']=new AISuggestionBodyView(_0x221412,{'areActionsDisabled':_0x1d999d,'showUnchangedParts':!!_0x4e470d,'availableActions':_0xdbcd63,'bodyCollection':_0x50643e}),this['bodyView']['delegate'](..._0x9ac31b)['to'](this),this['bodyView']['bind']('isTrackChangesOn')['to'](this),this['children']['add'](this['bodyView']),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__container','ck-rounded-corners']},'children':this['children']});}async['updateContent'](_0x267f7b){await this['bodyView']['updateContentParts'](_0x267f7b);}['updateSources'](_0x317b87){this['bodyView']['updateSources'](_0x317b87);}['markAsDone'](){this['bodyView']['markAsDone'](),this['headerView']&&(this['headerView']['isShowChangesToggleVisible']=this['bodyView']['hasNonEmptyParts']);}}class AIChatFeedSuggestionItemView extends AIChatFeedItemView{['containerView'];constructor(_0x203577,_0x2ba43d,_0x163680){super(_0x2ba43d),this['set']('isTrackChangesOn',!0x1),this['containerView']=new AISuggestionContainerView(_0x203577,{'showDiff':_0x2ba43d['showDiff'],'areActionsDisabled':_0x2ba43d['areActionsDisabled'],'availableActions':_0x2ba43d['availableActions']},_0x163680),this['containerView']['on']('toggleSuggestionDisplayMode',(_0x4c17d4,_0x546503)=>{this['fire']('toggleSuggestionDisplayMode',{'replyId':this['options']['id'],'showDiff':_0x546503['showDiff']});}),this['containerView']['bind']('isTrackChangesOn')['to'](this),this['containerView']['on']('like',()=>{this['fire']('like',{'replyId':this['options']['id']});}),this['containerView']['on']('dislike',()=>{this['fire']('dislike',{'replyId':this['options']['id']});}),this['containerView']['on']('showChangeInText',(_0x8e64c7,{index:_0x4982c6})=>{this['fire']('showChangeInText',{'replyId':this['options']['id'],'partIndex':_0x4982c6});}),this['containerView']['on']('applySuggestion',(_0x32d6d0,{index:_0x393e50}={})=>{this['fire']('applySuggestion',{'replyId':this['options']['id'],'partIndex':_0x393e50});}),this['containerView']['on']('insertSuggestion',(_0x24b057,{index:_0x503083}={})=>{this['fire']('insertSuggestion',{'replyId':this['options']['id'],'partIndex':_0x503083});}),this['containerView']['on']('rejectSuggestion',(_0x371053,{index:_0x9acdd0})=>{this['fire']('rejectSuggestion',{'replyId':this['options']['id'],'partIndex':_0x9acdd0});}),this['containerView']['on']('mouseOverSuggestion',(_0x492a3a,{index:_0x332bf0})=>{this['fire']('mouseOverSuggestion',{'replyId':this['options']['id'],'partIndex':_0x332bf0});}),this['containerView']['on']('mouseLeaveSuggestion',(_0x82f167,{index:_0x5a0ac5})=>{this['fire']('mouseLeaveSuggestion',{'replyId':this['options']['id'],'partIndex':_0x5a0ac5});}),this['children']['addMany']([this['containerView']]),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-suggestion']}});}async['updateContent'](_0xa0375c){await this['containerView']['updateContent'](_0xa0375c);}['updatePartState'](_0x4cafec,_0x1484d9){this['containerView']['bodyView']['updatePartState'](_0x4cafec,_0x1484d9);}['setPartActive'](_0x315216,_0x39c515){!0x1===_0x315216?this['containerView']['bodyView']['setPartActive'](!0x1):this['containerView']['bodyView']['setPartActive'](_0x315216,_0x39c515);}['updateSources'](_0x3376e4){this['containerView']['updateSources'](_0x3376e4);}['getPartView'](_0x3fc895){return this['containerView']['bodyView']['getPartView'](_0x3fc895);}['markAsDone'](){super['markAsDone'](),this['containerView']['markAsDone']();}}class AIChatFeedReplyItemView extends AIChatFeedItemView{['replyContainer'];['_bodyCollection'];constructor(_0x3d0996,_0xac9762,_0x257f4c){super(_0xac9762),this['_bodyCollection']=_0x257f4c,this['locale']=_0x3d0996,this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-reply']}}),this['replyContainer']=new _0x22b56d['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':_0x27805b(this['options']['initialContent']),'renderingStrategy':'static'}),this['markAsDone']());}async['updateContent']({parsedContent:_0x263f42,renderingStrategy:_0x3465fa,abortSignal:_0x36ce4b}){'streaming'===_0x3465fa?await this['streamIntoElement'](_0x263f42,this['replyContainer']['element'],_0x36ce4b):this['replyContainer']['element']['innerHTML']=_0x13134c(_0x263f42);}['updateSources'](_0x529361){const _0x4c9647=new _0x17f22a(this['locale'],this['_bodyCollection']);_0x4c9647['children']['addMany'](_0x529361['map'](_0x2fe167=>new _0x1a805e(this['locale'],_0x2fe167,_0x4c9647['balloonPanelView']))),_0x4c9647['isVisible']=!0x0,this['children']['add'](_0x4c9647);}}class _0x8e7671 extends _0x22b56d['SpinnerView']{constructor(_0x4715c8=void 0x0){super();const _0x5a87e7=_0x4715c8?'ck-ai-spinner_'+_0x4715c8:'';this['extendTemplate']({'tag':'span','attributes':{'class':['ck-ai-spinner',_0x5a87e7]}});}}const _0x3b7e12={'file':_0x22b56d['IconFileUpload'],'document':_0x22b56d['IconDocument'],'web-resource':_0x22b56d['IconLink'],'text':_0x22b56d['IconFileUpload'],'selection':_0x22b56d['IconSelection'],'mcp-tool-context':_0x22b56d['IconDocument']},_0x176cb6='ck-ai-chat-context-chip',_0x2f0549='ck-ai-chat-context-chip_wide',_0x2b3c4e='ck-ai-chat-context-chip_document',_0x694635='ck-ai-chat-context-chip__label',_0x51f45a='ck-ai-chat-context-chip__type-icon',_0x5560d6='ck-ai-chat-context-controls__chip-tooltip',_0x4e3f22='n';class AIChatContextItemButtonView extends _0x22b56d['ButtonView']{constructor(_0x570e16,_0x57400f,_0x1f4700,_0x4c385f,_0x3b4b2d=!0x1){super(_0x570e16),this['_isAnimationOnEnterEnabled']=_0x4c385f,this['_initializeProperties'](_0x57400f,_0x1f4700,_0x3b4b2d),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'](_0x3f1f88,_0xce572d,_0x59842a){this['set']('label',_0x3f1f88['label']),this['set']('tooltip',!0x0),this['set']('itemType',_0x3f1f88['type']),this['set']('id',_0x3f1f88['uiId']),this['set']('readonly',_0xce572d),this['set']('isLoading',_0x59842a);}['_setupTemplate'](){const _0x725a15=this['_createIconView'](),_0x113a8c=this['_createRemoveButton'](),_0x3747c5=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':this['_createTemplateAttributes'](_0x3747c5),'children':this['_createTemplateChildren'](_0x725a15,_0x113a8c,_0x3747c5)});}['_createTemplateAttributes'](_0x2bc926){return{'class':[_0x176cb6,_0x2bc926['if']('itemType',_0x2b3c4e,_0x42ec05=>'document'==_0x42ec05),_0x2bc926['if']('itemType',_0x2f0549,_0x35084b=>'selection'==_0x35084b)],'data-cke-tooltip-text':_0x2bc926['to']('label',_0x31bdcd),'data-cke-tooltip-position':_0x4e3f22,'data-cke-tooltip-class':_0x5560d6};}['_createTemplateChildren'](_0xbdada0,_0x3a5dc9,_0x555cc3){const _0x530be9=this['_createLabelElement'](_0x555cc3),_0x27b54d=this['_createLoaderIcon']();return this['readonly']?[_0xbdada0,_0x530be9]:[_0xbdada0,_0x27b54d,_0x530be9,_0x3a5dc9];}['_createLabelElement'](_0x5baf3a){return{'tag':'span','attributes':{'class':_0x694635},'children':[{'text':_0x5baf3a['to']('label')}]};}['_createRemoveButton'](){const _0x211880=new _0x22b56d['ButtonView'](this['locale']);return _0x211880['set']({'label':xt(this['locale'],'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT'),'icon':_0x22b56d['IconClose']}),this['_setupRemoveButtonEvent'](_0x211880),_0x211880;}['_setupRemoveButtonEvent'](_0x442ac4){_0x442ac4['on']('execute',()=>{this['fire']('removeContextItemChip',this['id']);});}['_createIconView'](){const _0x25c157=this['bindTemplate'],_0x1175ee=new _0x22b56d['IconView']();return _0x1175ee['content']=_0x3b7e12[this['itemType']],_0x1175ee['extendTemplate']({'attributes':{'class':[_0x51f45a,_0x25c157['if']('isLoading','ck-hidden',_0x4941f4=>_0x4941f4)]}}),_0x1175ee;}['_handleAnimationEndOnce'](_0x18d119,_0x4737ca){if(!_0x18d119)return;const _0x1cd468=()=>{_0x4737ca(),_0x18d119['removeEventListener']('animationend',_0x1cd468),_0x18d119['removeEventListener']('webkitAnimationEnd',_0x1cd468);};_0x18d119['addEventListener']('animationend',_0x1cd468),_0x18d119['addEventListener']('webkitAnimationEnd',_0x1cd468);}['_createLoaderIcon'](){const _0x61f96d=new _0x8e7671('small');return _0x61f96d['bind']('isVisible')['to'](this,'isLoading',_0x5da3a2=>_0x5da3a2),_0x61f96d;}}function _0x31bdcd(_0x577d9d){if(!_0x577d9d)return _0x577d9d;if(_0x577d9d['length']<=0x78)return _0x577d9d;const _0x26d85e=_0x577d9d['slice'](0x0,0x78),_0x19b98a=_0x26d85e['lastIndexOf']('\x20');return(_0x19b98a>0x0?_0x26d85e['slice'](0x0,_0x19b98a):_0x26d85e)+'…';}const _0xb8d0ce={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},_0x4d40dc='300px';class AIChatChipsOverflowManager{['_locale'];['_config'];['_visibleChips'];['_overflowChips'];['_showMoreButtonView']=null;['_showMoreBalloonPanelView']=null;['_containerElement']=null;['_bodyCollection'];['_parentView']=null;['_intersectionObserver']=null;['_pendingCalculation']=!0x1;constructor(_0x242964,_0x43a1b5,_0x2d9233,_0x46f809,_0x2bdcdb){this['_locale']=_0x242964,this['_visibleChips']=_0x43a1b5,this['_config']={..._0xb8d0ce,..._0x2d9233,'cssClasses':{'controlsButton':'','calculationContainer':'ck-calculation-container',..._0x2d9233['cssClasses']}},this['_overflowChips']=new _0x22b56d['Collection'](),this['_bodyCollection']=_0x46f809,this['_parentView']=_0x2bdcdb||null;}['setContainerElement'](_0x210d4c){this['_intersectionObserver']&&(this['_intersectionObserver']['disconnect'](),this['_intersectionObserver']=null),this['_containerElement']=_0x210d4c,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 _0x1bceb3=[...this['_visibleChips'],...this['_overflowChips']],_0x5b72da=this['_createCalculationContainer'](),_0x2f9e87=this['_calculateOverflowInContainer'](_0x5b72da,_0x1bceb3),_0x221e63=_0x5b72da['_ancestorsToRestore'];_0x221e63&&this['_restoreAncestorVisibility'](_0x221e63),_0x5b72da['remove'](),this['_applyOverflowResults'](_0x1bceb3,_0x2f9e87);}['_createShowMoreButton'](){this['_showMoreButtonView']=this['_createShowMoreButtonView'](),this['_showMoreBalloonPanelView']=this['_createShowMoreBalloonPanelView'](),this['_showMoreButtonView']['render'](),this['_containerElement']['appendChild'](this['_showMoreButtonView']['element']),this['_showMoreButtonView']['on']('execute',()=>{this['_handleShowMoreButtonClick']();}),_0x22b56d['clickOutsideHandler']({'emitter':this['_showMoreBalloonPanelView'],'contextElements':[this['_showMoreBalloonPanelView']['element'],this['_showMoreButtonView']['element']],'callback':()=>this['hideBalloonPanel'](),'activator':()=>this['_showMoreButtonView']['isOn']});}['_createShowMoreButtonView'](){const _0x2c1281=new _0x22b56d['ButtonView'](this['_locale']);_0x2c1281['set']({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x14eb15=[this['_config']['cssClasses']['showMoreButton']];return this['_config']['cssClasses']['controlsButton']&&_0x14eb15['push'](this['_config']['cssClasses']['controlsButton']),_0x2c1281['extendTemplate']({'attributes':{'class':_0x14eb15}}),_0x2c1281;}['_createShowMoreBalloonPanelView'](){const _0x26d71c=new _0x22b56d['BalloonPanelView'](this['_locale']);return _0x26d71c['extendTemplate']({'attributes':{'class':this['_config']['cssClasses']['showMoreBalloon']}}),this['_bodyCollection']['add'](_0x26d71c),_0x26d71c;}['_updateBalloonContent'](){if(this['_showMoreBalloonPanelView']&&(this['_showMoreBalloonPanelView']['content']['clear'](),this['_overflowChips']['length']>0x0)){this['_overflowChips']['forEach'](_0x1760cb=>{_0x1760cb['disableAnimationOnEnter']();});const _0x4d5345=new _0x22b56d['View'](this['_locale']);_0x4d5345['setTemplate']({'tag':'div','attributes':{'class':this['_config']['cssClasses']['overflowContainer']},'children':this['_overflowChips']}),this['_showMoreBalloonPanelView']['content']['add'](_0x4d5345);}}['_handleShowMoreButtonClick'](){this['_showMoreButtonView']['isOn']?this['hideBalloonPanel']():this['showBalloonPanel']();}['_updateShowMoreButtonVisibility'](){const _0x596a8c=this['_overflowChips']['length']>0x0;this['_showMoreButtonView']?.['element']&&(this['_showMoreButtonView']['element']['style']['display']=_0x596a8c?'':'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'](_0x5ad0ae){const _0x5bf4b1=this['_containerElement']?.['tagName']['toLowerCase']()||'div',_0x438264=this['_containerElement']?.['classList'];if(_0x438264){const _0x19b5a2=_0x438264[0x0]||'',_0x2f7e19=_0x5ad0ae['querySelector']('.'+_0x19b5a2),_0x1dd28a=_0x5ad0ae['querySelector'](_0x5bf4b1);return _0x2f7e19||_0x1dd28a||_0x5ad0ae;}return _0x5ad0ae['querySelector'](_0x5bf4b1)||_0x5ad0ae;}['_calculateContainerWidth'](){const _0x35bcf2=this['_parentView']?.['element']||this['_containerElement'];if(!_0x35bcf2)return _0x4d40dc;const _0x66b3a9=window['getComputedStyle'](_0x35bcf2)['width'];if('auto'===_0x66b3a9||'0px'===_0x66b3a9||!_0x66b3a9){const _0x4ffe1b=_0x35bcf2['parentElement'];if(_0x4ffe1b){const _0x4f85d4=window['getComputedStyle'](_0x4ffe1b);return'auto'!==_0x4f85d4['width']?_0x4f85d4['width']:_0x4d40dc;}return _0x4d40dc;}return _0x66b3a9;}['_applyCalculationStyles'](_0x3a568c,_0x498c52){this['_config']['cssClasses']['calculationContainer']&&_0x3a568c['classList']['add'](this['_config']['cssClasses']['calculationContainer']),_0x3a568c['style']['width']=_0x498c52,_0x3a568c['style']['position']='absolute',_0x3a568c['style']['top']='-9999px',_0x3a568c['style']['left']='-9999px',_0x3a568c['style']['opacity']='0',_0x3a568c['style']['pointerEvents']='none',_0x3a568c['style']['zIndex']='-1',_0x3a568c['style']['visibility']='visible\x20!important',_0x3a568c['style']['display']='block\x20!important',_0x3a568c['style']['boxSizing']='border-box';}['_restoreAncestorVisibility'](_0x9359d3){_0x9359d3['forEach'](({element:_0x2ef1b6,originalDisplay:_0x2fcc68,originalVisibility:_0x4b27a7})=>{_0x2ef1b6['style']['display']=_0x2fcc68,_0x2ef1b6['style']['visibility']=_0x4b27a7;});}['_makeAncestorsVisible'](_0x5a4805){const _0x5154b6=[];let _0x3d7334=_0x5a4805;for(;_0x3d7334&&_0x3d7334!==document['body'];){const _0x2448c6=window['getComputedStyle'](_0x3d7334);'none'!==_0x2448c6['display']&&'hidden'!==_0x2448c6['visibility']||(_0x5154b6['push']({'element':_0x3d7334,'originalDisplay':_0x3d7334['style']['display'],'originalVisibility':_0x3d7334['style']['visibility']}),_0x3d7334['style']['display']='block',_0x3d7334['style']['visibility']='visible'),_0x3d7334=_0x3d7334['parentElement'];}return _0x5154b6;}['_createContainerElements'](){let _0x3a191f,_0x51fff5;return this['_parentView']?.['element']?(_0x3a191f=this['_parentView']['element']['cloneNode'](!0x0),_0x51fff5=this['_findTargetContainer'](_0x3a191f)):(_0x3a191f=document['createElement']('div'),_0x51fff5=_0x3a191f),{'calculationContainer':_0x3a191f,'targetContainer':_0x51fff5};}['_createCalculationContainer'](){const {calculationContainer:_0x21c624,targetContainer:_0x188df9}=this['_createContainerElements'](),_0x31b8ad=this['_calculateContainerWidth']();this['_applyCalculationStyles'](_0x21c624,_0x31b8ad);const _0x1e8ba4=this['_parentView']?.['element']||this['_containerElement'],_0x55731f=_0x1e8ba4?.['parentElement'];_0x55731f?_0x55731f['appendChild'](_0x21c624):document['body']['appendChild'](_0x21c624),_0x21c624['_targetContainer']=_0x188df9;const _0x353b02=this['_makeAncestorsVisible'](_0x55731f||null);return _0x21c624['offsetWidth'],_0x21c624['_ancestorsToRestore']=_0x353b02,_0x21c624;}['_calculateOverflowInContainer'](_0x5e192c,_0x26fd78){const _0x33e9b0=_0x5e192c['_targetContainer']||_0x5e192c,_0xde5315=[],{rowCount:_0x14cdbd}=this['_renderChipsAndCountRows'](_0x33e9b0,_0x26fd78);if(_0x14cdbd<=this['_config']['maxVisibleRows'])return _0xde5315;const _0x55057b=_0x26fd78['slice']();for(;_0x55057b['length']>0x0;){if(this['_testButtonFit'](_0x5e192c,_0x33e9b0,_0x55057b)){const _0x214713=_0x26fd78['filter'](_0x16a72b=>!_0x55057b['includes'](_0x16a72b));_0xde5315['push'](..._0x214713);break;}if(!_0x55057b['pop']())break;}return _0xde5315;}['_renderChipsAndCountRows'](_0x446cc1,_0x5d4015){_0x446cc1['innerHTML']='',_0x5d4015['forEach'](_0x3cb196=>{if(_0x3cb196['element']){const _0x52828a=_0x3cb196['element']['cloneNode'](!0x0);_0x446cc1['appendChild'](_0x52828a);}}),_0x446cc1['offsetWidth'];const _0x2e8191=_0x446cc1['children'],_0x1ad3a8=[];return Array['from'](_0x2e8191)['forEach'](_0x18b970=>{const _0x4d541d=_0x18b970['getBoundingClientRect']()['top'];_0x1ad3a8['some'](_0x37c153=>Math['abs'](_0x37c153-_0x4d541d)<this['_config']['rowDetectionTolerance'])||_0x1ad3a8['push'](_0x4d541d);}),{'rowCount':_0x1ad3a8['length']};}['_createMockButton'](){const _0xde46d0=document['createElement']('button');return _0xde46d0['className']=this['_config']['cssClasses']['showMoreButton'],this['_config']['cssClasses']['controlsButton']&&_0xde46d0['classList']['add'](this['_config']['cssClasses']['controlsButton']),_0xde46d0['textContent']='+\x201',_0xde46d0;}['_testButtonFit'](_0x1c77ee,_0x17f0f8,_0x1f6d68){this['_renderChipsAndCountRows'](_0x17f0f8,_0x1f6d68);const _0x33e642=this['_createMockButton']();_0x1c77ee['appendChild'](_0x33e642),_0x1c77ee['offsetWidth'];const _0x343cee=[..._0x17f0f8['children'],_0x33e642],_0x42b405=[];_0x343cee['forEach'](_0x444bd9=>{const _0x5ed68d=_0x444bd9['getBoundingClientRect']()['top'];_0x42b405['some'](_0xd5b8dc=>Math['abs'](_0xd5b8dc-_0x5ed68d)<this['_config']['rowDetectionTolerance'])||_0x42b405['push'](_0x5ed68d);});const _0x2c0906=_0x42b405['length'];return _0x33e642['remove'](),_0x2c0906<=this['_config']['maxVisibleRows'];}['_distributeChips'](_0x120628,_0x44cee0){this['_visibleChips']['clear'](),this['_overflowChips']['clear'](),_0x120628['forEach'](_0x453fbd=>{_0x44cee0['includes'](_0x453fbd)?this['_overflowChips']['add'](_0x453fbd):this['_visibleChips']['add'](_0x453fbd);});}['_updateOverflowUI'](_0x5cd94f){if(_0x5cd94f>0x0&&!this['_showMoreButtonView']&&this['_createShowMoreButton'](),_0x5cd94f>0x0&&this['_showMoreButtonView']){const _0x4c8398=''+this['_config']['showMoreLabelPrefix']+(_0x5cd94f<0x63?_0x5cd94f:'99');this['_showMoreButtonView']['label']=_0x4c8398;}this['_updateBalloonContent'](),this['_updateShowMoreButtonVisibility'](),this['_repinBalloonPanel']();}['_applyOverflowResults'](_0xb314,_0x43c496){this['_distributeChips'](_0xb314,_0x43c496),this['_updateOverflowUI'](_0x43c496['length']);}['_setupVisibilityObserver'](){this['_containerElement']&&'undefined'!=typeof IntersectionObserver&&(this['_intersectionObserver']=new IntersectionObserver(_0x3a159e=>{_0x3a159e[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 _0x57f57f=this['_containerElement']['getBoundingClientRect']();if(0x0===_0x57f57f['width']||0x0===_0x57f57f['height'])return!0x1;const _0x2570e4=window['innerHeight']||document['documentElement']['clientHeight'],_0x4d1f28=window['innerWidth']||document['documentElement']['clientWidth'],_0x26d353=0xc8;return _0x57f57f['bottom']>=-0xc8&&_0x57f57f['top']<=_0x2570e4+_0x26d353&&_0x57f57f['right']>=-0xc8&&_0x57f57f['left']<=_0x4d1f28+_0x26d353;}}const _0x49d654='ck-ai-chat__feed__context-chips',_0x33e46c='ck-ai-chat-context-chips-wrapper',_0x11e66d='ck-ai-chat-context-chips-wrapper-balloon',_0x86e06='ck-ai-chat-controls-button',_0x1ba1f2='ck-ai-chat-controls_context_show-more-button',_0x4b8129='ck-ai-chat-context-controls__show-more-balloon-panel';class AIChatFeedContextChipsView extends _0x22b56d['View']{['_contextChips']=this['createCollection']();['_overflowManager'];['_bodyCollection'];constructor(_0xaf77ab,_0x5599fb,_0x39e70d){super(_0xaf77ab),this['_bodyCollection']=_0x39e70d,this['_createContextChips'](_0x5599fb);const _0x244bf1={'cssClasses':{'showMoreButton':_0x1ba1f2,'showMoreBalloon':_0x4b8129,'overflowContainer':_0x11e66d,'controlsButton':_0x86e06}};this['_overflowManager']=new AIChatChipsOverflowManager(_0xaf77ab,this['_contextChips'],_0x244bf1,this['_bodyCollection'],this),this['setTemplate']({'tag':'div','attributes':{'class':[_0x49d654,'ck','ck-reset_all']},'children':[{'tag':'div','attributes':{'class':_0x33e46c},'children':this['_contextChips']}]});}['render'](){super['render']();const _0x12243f=this['element']['querySelector']('.'+_0x33e46c);_0x12243f&&(this['_overflowManager']['setContainerElement'](_0x12243f),this['_overflowManager']['reorganizeChips']());}['destroy'](){super['destroy'](),this['_overflowManager']['destroy']();}['_createContextChips'](_0xe583a7){for(const _0x5cc2e9 of _0xe583a7){const _0x4824fa=new AIChatContextItemButtonView(this['locale'],_0x5cc2e9,!0x0,!0x1);this['_contextChips']['add'](_0x4824fa);}}}class AIChatFeedUserMessageItemView extends AIChatFeedItemView{['_contextChipsView']=null;['_locale'];['_bodyCollection'];['_messageContentView'];constructor(_0x2aa934,_0x49f4ee,_0x4ddd99){super(_0x49f4ee),this['_locale']=_0x2aa934,this['_bodyCollection']=_0x4ddd99,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'](_0x148ea7=>!_0x148ea7['hidden']),this['_bodyCollection']),this['_contextChipsView']['extendTemplate']({'attributes':{'class':'ck-ai-chat__feed__context-chips'}}),this['children']['add'](this['_contextChipsView']));}['_createMessageContentView'](){this['_messageContentView']=new _0x22b56d['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(_0x248de9,_0x30c290){super(_0x30c290);const {isWebSearchEnabled:_0x590399,isReasoningEnabled:_0x1de4b7}=_0x30c290['capabilities'],_0x4bc835=[];let _0x5dbf77='';_0x590399&&_0x1de4b7?(_0x5dbf77=xt(_0x248de9,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING'),_0x4bc835['push'](_0x2a8057(_0x22b56d['IconWeb'])),_0x4bc835['push'](_0x2a8057(_0x22b56d['IconBulb']))):_0x590399?(_0x5dbf77=xt(_0x248de9,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH'),_0x4bc835['push'](_0x2a8057(_0x22b56d['IconWeb']))):_0x1de4b7&&(_0x5dbf77=xt(_0x248de9,'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'),_0x4bc835['push'](_0x2a8057(_0x22b56d['IconBulb']))),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__interaction-header',_0x5dbf77?'':'ck-hidden']}});const _0x41b69e=new _0x22b56d['View']();_0x41b69e['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__interaction-header__capabilities']},'children':[..._0x4bc835,{'tag':'span','attributes':{'class':['ck-ai-chat__feed__interaction-header__capabilities__text']},'children':[_0x5dbf77]}]}),this['children']['add'](_0x41b69e),this['capabilities']=_0x30c290['capabilities'];}}function _0x2a8057(_0x33face){const _0x37f78a=new _0x22b56d['IconView']();return _0x37f78a['content']=_0x33face,_0x37f78a;}const _0x2c5fc6=['wheel','touchstart','pointerdown','keydown'],_0x3fc8ea=['ArrowUp','ArrowDown','PageUp','PageDown','Home','End','\x20'];class _0x4b11f4{['element'];['animationFrameId'];['isRunning'];['abortController'];['isUserPaused'];constructor(_0x29ddf7){this['element']=_0x29ddf7,this['animationFrameId']=null,this['isRunning']=!0x1,this['abortController']=new AbortController(),this['isUserPaused']=!0x1;for(const _0x2799f4 of _0x2c5fc6){const _0x4b888b='keydown'!==_0x2799f4;this['element']['addEventListener'](_0x2799f4,this['_onUserEvent']['bind'](this),{'passive':_0x4b888b,'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'](_0x50784e){if(this['isRunning']){if('keydown'===_0x50784e['type']){const _0x57c5b7=_0x50784e['key'];if(!_0x3fc8ea['includes'](_0x57c5b7))return;}_0x50784e instanceof WheelEvent?_0x50784e['deltaY']<0x0?this['isUserPaused']=!0x0:this['isUserPaused']=!this['_isAtBottom']():this['isUserPaused']=!0x0;}}['_isAtBottom'](){const {scrollTop:_0x14bd9c,scrollHeight:_0x2dd45a,clientHeight:_0x3276dc}=this['element'];return _0x2dd45a-_0x14bd9c-_0x3276dc<=0x5;}['_rafUpdate'](){this['isRunning']&&(this['isUserPaused']||this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'auto'}),this['animationFrameId']=requestAnimationFrame(this['_rafUpdate']['bind'](this)));}}class AISkeletonView extends _0x22b56d['View']{constructor(_0x1852f3,_0x4e6832){super(_0x1852f3),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-skeleton']},'children':this['_createSkeletonItems'](_0x4e6832)});}['_createSkeletonItems'](_0x5138b4){const _0x29de78=['ck','ck-ai-skeleton__item'];return _0x5138b4['map'](_0x387aca=>{let _0x27ac2e='';switch(_0x387aca['attributes']['align']){case'right':_0x27ac2e='margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;';break;case'center':_0x27ac2e='margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;';break;case'left':_0x27ac2e='margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;';}return{'tag':_0x387aca['tag'],'attributes':{'class':[..._0x29de78,_0x387aca['attributes']['class']?_0x387aca['attributes']['class']:''],'style':'width:\x20'+_0x387aca['attributes']['width']+';\x20height:\x20'+_0x387aca['attributes']['height']+';'+_0x27ac2e}};});}}const _0x469faf={'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':_0xb95e2e(0x5,'100%','44px','right'),'aiChatResources':_0xb95e2e(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 _0xb95e2e(_0xec80e3,_0xc3e156,_0x56ffa9,_0x3b84b5){return new Array(_0xec80e3)['fill'](null)['map'](()=>({'tag':'div','attributes':{'width':_0xc3e156,'height':_0x56ffa9,'align':_0x3b84b5}}));}class AIChatFeedCustomElementView extends AIChatFeedItemView{constructor(_0x1f8eaf){super(_0x1f8eaf),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__custom-element']}});}async['render'](){super['render'](),'string'==typeof this['options']['content']?this['element']['innerHTML']=this['options']['content']:this['element']['appendChild'](this['options']['content']);}}class AIChatFeedView extends _0x22b56d['View']{['children'];['scrollManager'];['_bodyCollection'];constructor(_0xbb764d,_0x4dda02){super(_0xbb764d),this['_bodyCollection']=_0x4dda02,this['set']('isPending',!0x1),this['set']('loadingMessage',''),this['set']('isLoadingSkeletonVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),this['children']['delegate'](..._0x29f679)['to'](this),this['_setupTemplate']();}['render'](){super['render'](),this['scrollManager']=new _0x4b11f4(this['element']);}['destroy'](){super['destroy'](),this['scrollManager']['destroy']();}['clear'](){this['children']['clear']();}['addItem'](_0x3297e2,_0x13ab8f){let _0x17b378;return'ai-reply'===_0x3297e2?_0x17b378=new AIChatFeedReplyItemView(this['locale'],_0x13ab8f,this['_bodyCollection']):'ai-suggestion-reply'===_0x3297e2?(_0x17b378=new AIChatFeedSuggestionItemView(this['locale'],_0x13ab8f,this['_bodyCollection']),_0x17b378['bind']('isTrackChangesOn')['to'](this)):_0x17b378='user-message'===_0x3297e2?new AIChatFeedUserMessageItemView(this['locale'],_0x13ab8f,this['_bodyCollection']):'interaction-header'===_0x3297e2?new AIChatFeedInteractionHeaderView(this['locale'],_0x13ab8f):'custom-element'===_0x3297e2?new AIChatFeedCustomElementView(_0x13ab8f):new AIChatFeedErrorItemView(_0x13ab8f),this['children']['add'](_0x17b378),_0x17b378;}async['updateReplyItem']({id:_0x407a93,parsedContent:_0x2755a2,renderingStrategy:_0x5b38db,abortSignal:_0x95b4ca}){const _0x459937=this['getItemById'](_0x407a93);if(!(_0x459937 instanceof AIChatFeedReplyItemView))throw new _0x22b56d['CKEditorError']('ai-chat-feed-view-item-not-a-reply-item',null,{'itemView':_0x459937,'id':_0x407a93,'parsedContent':_0x2755a2});await _0x459937['updateContent']({'parsedContent':_0x2755a2,'renderingStrategy':_0x5b38db,'abortSignal':_0x95b4ca});}async['updateWebSources'](_0x5cd25f,_0x1103fc){const _0x33e995=this['getItemById'](_0x5cd25f);if(_0x33e995 instanceof AIChatFeedSuggestionItemView)_0x33e995['updateSources'](_0x1103fc);else{if(!(_0x33e995 instanceof AIChatFeedReplyItemView))throw new _0x22b56d['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-or-reply-item',null,{'itemView':_0x33e995,'id':_0x5cd25f,'sources':_0x1103fc});_0x33e995['updateSources'](_0x1103fc);}}async['updateSuggestionItem']({id:_0x5c9b4d,parts:_0x593837,renderingStrategy:_0x3989e7,abortSignal:_0x274f4c}){const _0x18c9b8=this['getItemById'](_0x5c9b4d);if(!(_0x18c9b8 instanceof AIChatFeedSuggestionItemView))throw new _0x22b56d['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',null,{'itemView':_0x18c9b8,'id':_0x5c9b4d,'parts':_0x593837});await _0x18c9b8['updateContent']({'parts':_0x593837,'renderingStrategy':_0x3989e7,'abortSignal':_0x274f4c});}['updateSuggestionPartState']({id:_0x4481be,index:_0x1190e5,state:_0x3645d5}){const _0x3686e0=this['getItemById'](_0x4481be);if(!(_0x3686e0 instanceof AIChatFeedSuggestionItemView))throw new _0x22b56d['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x4481be});_0x3686e0['updatePartState'](_0x1190e5,_0x3645d5);}['setSuggestionPartActive']({id:_0x1ff5fc,index:_0x5f12de,isActive:_0x50a52d}){const _0x52d318=this['getItemById'](_0x1ff5fc);if(!(_0x52d318 instanceof AIChatFeedSuggestionItemView))throw new _0x22b56d['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x1ff5fc});this['children']['filter'](_0x936e59=>_0x936e59 instanceof AIChatFeedSuggestionItemView)['forEach'](_0x655a15=>{_0x655a15['setPartActive'](!0x1);}),_0x52d318['setPartActive'](_0x5f12de,_0x50a52d);}['markItemAsDone'](_0x153bab){this['getItemById'](_0x153bab)['markAsDone']();}['getItemIds'](){return this['children']['map'](_0xb60fa5=>_0xb60fa5['options']['id']);}['removeItem'](_0x21e269){this['children']['remove'](this['getItemById'](_0x21e269));}['hasItem'](_0x415b33){return!!this['children']['find'](_0x452234=>_0x452234['options']['id']['includes'](_0x415b33));}['scrollToSuggestion'](_0x46bacc,_0x3ac899){const _0x48e7f3=this['getItemById'](_0x46bacc);if(!(_0x48e7f3 instanceof AIChatFeedSuggestionItemView))return void _0x22b56d['logWarning']('ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item',{'replyId':_0x46bacc,'partIndex':_0x3ac899});const _0x3d50a4=_0x48e7f3['getPartView'](_0x3ac899);_0x3d50a4?_0x22b56d['scrollAncestorsToShowTarget'](_0x3d50a4['element'],0x14,this['element']['parentElement'],!0x0,!0x0):_0x22b56d['logWarning']('ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found',{'replyId':_0x46bacc,'partIndex':_0x3ac899});}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed']},'children':this['_createTemplateChildren']()});}['_createTemplateChildren'](){const _0x552fe1=this['_createSkeletonLoader']();return[this['_createFeedItems'](),_0x552fe1,this['_createFeedLoader']()];}['_createSkeletonLoader'](){const _0x196b22=new AISkeletonView(this['locale'],_0x469faf['aiFeed']);return _0x196b22['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden',_0x5b5954=>!_0x5b5954)]}}),_0x196b22;}['_createFeedItems'](){const _0x37c3e8=new _0x22b56d['View'](this['locale']);return _0x37c3e8['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__items',this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden')]},'children':this['children']}),_0x37c3e8;}['_createFeedLoader'](){const _0x5cdd22=new _0x22b56d['View'](this['locale']);return _0x5cdd22['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__loader',this['bindTemplate']['if']('isPending','ck-hidden',_0x3fcdb7=>!_0x3fcdb7)]},'children':this['_createLoaderChildren']()}),_0x5cdd22;}['_createLoaderChildren'](){const _0x44c19e=new _0x8e7671();return _0x44c19e['isVisible']=!0x0,[_0x44c19e,{'tag':'span','attributes':{'class':['ck','ck-ai-chat__loader-text']},'children':[{'text':this['bindTemplate']['to']('loadingMessage')}]}];}['getItemById'](_0x368d79){const _0x45d989=this['children']['find'](_0x1f27f1=>_0x1f27f1['options']['id']['includes'](_0x368d79));if(!_0x45d989)throw new _0x22b56d['CKEditorError']('ai-chat-feed-view-item-not-found',this,{'id':_0x368d79});return _0x45d989;}['setLoadingMessage'](_0x3b9cd6){this['set']('loadingMessage',_0x3b9cd6);}['toggleLoadingSkeleton'](_0x18537b){this['set']('isLoadingSkeletonVisible',_0x18537b);}['startAutoScroll'](){this['scrollManager']['start']();}['stopAutoScroll'](){this['scrollManager']['stop']();}}class AIChatPromptSuggestionsListView extends _0x22b56d['ListView']{['filter'](){let _0x15b2c2=0x0;for(const _0x48f0e2 of this['items'])_0x15b2c2+=_0x48f0e2['items']['length'];return{'resultsCount':_0x15b2c2,'totalItemsCount':_0x15b2c2};}}const _0x1f742b='ck-ai-chat__prompt-input_highlighted';class AIChatPromptInputView extends _0x22b56d['AutocompleteView']{['submitButtonView'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;['_addContextButtonView'];['_queryViewResizeObserver'];constructor(_0x534a14,_0x57dff2){super(_0x534a14,{'queryView':{'label':'','creator':_0x22b56d['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new AIChatPromptSuggestionsListView(_0x534a14),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this['set']('isEmpty',!0x0),this['set']('isUploadInProgress',!0x1),this['_addContextButtonView']=_0x57dff2,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',(_0x285a5e,_0x35f6c1)=>!_0x285a5e&&!_0x35f6c1),this['focusableChildren']['add'](this['submitButtonView']);}['render'](){super['render'](),this['queryView']['fieldWrapperChildren']['add'](this['submitButtonView']),this['keystrokes']['set']('enter',(_0xa49d52,_0x2d943d)=>{this['isUploadInProgress']||this['isEmpty']||_0xa49d52['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x2d943d());}),this['queryView']['fieldView']['on']('update',()=>{this['isEmpty']=''===this['queryView']['fieldView']['element']['value']?.['trim']();});}['destroy'](){super['destroy'](),this['_queryViewResizeObserver']&&this['_queryViewResizeObserver']['destroy']();}['submit'](){const _0x2111df=this['queryView']['fieldView']['element']['value']?.['trim']();if(!_0x2111df)return this['queryView']['errorText']=xt(this['locale'],'AI_CHAT_PROMPT_EMPTY_ERROR'),void(this['queryView']['fieldView']['hasError']=!0x0);this['queryView']['fieldView']['hasError']=!0x1;const _0x473f9b=pt(_0x2111df);this['fire']('sendUserMessage',_0x473f9b),this['queryView']['fieldView']['reset']();}['setPlaceholderText'](_0x114ac9){this['queryView']['fieldView']['set']('placeholder',_0x114ac9);}['focus'](_0x4fbb48=!0x1){super['focus'](),_0x4fbb48&&(this['element']['classList']['contains'](_0x1f742b)||(this['element']['classList']['add'](_0x1f742b),setTimeout(()=>{this['element']['classList']['remove'](_0x1f742b);},0x320)));}['_createSubmitButton'](){const _0x3ebbaa=new _0x22b56d['ButtonView'](this['locale']);return _0x3ebbaa['set']({'icon':_0x22b56d['IconSubmit'],'label':xt(this['locale'],'AI_CHAT_LABEL_SUBMIT'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-chat__prompt-submit-button','isEnabled':!0x1}),_0x3ebbaa['on']('execute',()=>{this['submit']();}),_0x3ebbaa;}['setIsUploadInProgress'](_0x1951d9){this['isUploadInProgress']=_0x1951d9;}['_setUpAddContextButtonPositioning'](){const _0x297157=this['locale'],_0x497be5=()=>{_0x22b56d['global']['window']['requestAnimationFrame'](()=>{if(_0x22b56d['isVisible'](this['element'])){const _0x38401f=new _0x22b56d['Rect'](this['queryView']['fieldView']['element']),_0x1dfd0b=new _0x22b56d['Rect'](this['_addContextButtonView']['element']),_0x25fbfb=_0x38401f['width'],_0x1e30a4='rtl'===_0x297157['uiLanguageDirection']?'right':'left';_0x38401f['excludeScrollbarsAndBorders']();const _0x48ce2e=_0x25fbfb-_0x38401f['width']+0x1;this['_addContextButtonView']['element']['style'][_0x1e30a4]='calc('+(_0x25fbfb-_0x1dfd0b['width']-_0x48ce2e)+'px\x20-\x20var(--ck-spacing-tiny))';}});};this['queryView']['fieldView']['on']('update',_0x497be5),this['on']('render',()=>{_0x497be5(),this['_queryViewResizeObserver']=new _0x22b56d['ResizeObserver'](this['queryView']['fieldView']['element'],()=>{_0x497be5();});});}}const _0x337038='ck-ai-chat__prompt-capabilities',_0x5c27c0='ck-ai-chat-controls-button',_0x1209df='ck-ai-chat-controls-button--commands',_0x1fdcb3='ck-ai-button-tertiary',_0xa85ff0='ck-ai-chat-controls__model-selection',_0x525318='ck-ai-chat-controls__model-selection__item-name',_0x586c2e='ck-ai-chat-controls__model-selection__item-description',_0x21bcf6='ck-ai-chat-controls__model-selection__item-capabilities',tc='n';class AIChatPromptCapabilitiesView extends _0x22b56d['View']{['_webSearchButton'];['_reasoningButton'];['_commandsButton'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_modelNameView'];constructor(_0xd9d3d7){super(_0xd9d3d7),this['set']('webSearchActive',!0x1),this['set']('reasoningActive',!0x1),this['set']('modelDisplayMode','selector'),this['set']('modelSelectorEnabled',!0x0),this['set']('activeModelId',null),this['set']('activeModelName',null),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelNameView']=this['_createModelNameView'](),this['_webSearchButton']=this['_createWebSearchButton'](),this['_reasoningButton']=this['_createReasoningButton'](),this['_commandsButton']=this['_createCommandsButton'](),this['_modelSelectionDropdown']['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x587651=>'selector'===_0x587651),this['_modelSelectionDropdown']['buttonView']['bind']('tooltip')['to'](this,'modelSelectorEnabled',_0x4b0717=>_0x4b0717?this['_modelSelectionDropdown']['buttonView']['label']:xt(this['locale'],'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP')),this['_modelSelectionDropdown']['bind']('isEnabled')['to'](this,'modelSelectorEnabled',_0x5bc510=>_0x5bc510),this['_webSearchButton']['bind']('isOn')['to'](this,'webSearchActive',_0x2b4fd1=>_0x2b4fd1),this['_webSearchButton']['bind']('tooltip')['to'](this,'webSearchActive',_0x178907=>xt(this['locale'],_0x178907?'AI_CHAT_DISABLE_WEB_SEARCH':'AI_CHAT_ENABLE_WEB_SEARCH')),this['_reasoningButton']['bind']('isOn')['to'](this,'reasoningActive',_0x2e7665=>_0x2e7665),this['_reasoningButton']['bind']('tooltip')['to'](this,'reasoningActive',_0x4fc78b=>xt(this['locale'],_0x4fc78b?'AI_CHAT_DISABLE_REASONING':'AI_CHAT_ENABLE_REASONING')),this['setTemplate']({'tag':'div','attributes':{'class':[_0x337038]},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],this['_webSearchButton'],this['_reasoningButton'],this['_commandsButton']]}),this['_modelSelectionDropdownItems']=new _0x22b56d['Collection'](),_0x22b56d['addListToDropdown'](this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);}['setModelList'](_0x385e82,_0x23b6bc){if(_0x23b6bc)this['set']('modelDisplayMode','hidden');else{const _0x3397ca=0x1===_0x385e82['length'];this['set']('modelDisplayMode',_0x3397ca?'name':'selector');}if(this['_modelSelectionDropdownItems']['clear'](),_0x385e82?.['length'])for(const _0x5cb651 of _0x385e82){const _0x5d7a9d=new _0x22b56d['UIModel']({'label':_0x5cb651['name'],'withText':!0x0,'role':'menuitemradio','id':_0x5cb651['id'],'model':_0x5cb651});_0x5d7a9d['bind']('isOn')['to'](this,'activeModelId',_0x132b7a=>_0x132b7a===_0x5cb651['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x5d7a9d,'labelView':new _0x5aa548(this['locale'],_0x5cb651)});}}['setWebSearch'](_0x35d576){this['set']('webSearchActive',_0x35d576);}['setReasoning'](_0x57e018){this['set']('reasoningActive',_0x57e018);}['setModel'](_0x23d001){if(!_0x23d001)return;this['activeModelId']=_0x23d001['id'],this['activeModelName']=_0x23d001['name']||_0x23d001['id'],this['_modelSelectionDropdown']['buttonView']['set']('label',_0x23d001['name']),this['_modelSelectionDropdown']['buttonView']['set']('tooltip',_0x23d001['name']);const _0x4082ac=_0x23d001['capabilities']['webSearch']?.['enabled']??!0x1;this['set']('webSearchActive',!0x1),this['_webSearchButton']['set']('isOn',!0x1),this['_webSearchButton']['set']('isEnabled',_0x4082ac),this['_webSearchButton']['set']('isVisible',_0x4082ac);const _0x4eebfa=_0x23d001['capabilities']['reasoning']?.['enabled']??!0x1;this['set']('reasoningActive',!0x1),this['_reasoningButton']['set']('isOn',!0x1),this['_reasoningButton']['set']('isEnabled',_0x4eebfa),this['_reasoningButton']['set']('isVisible',_0x4eebfa);}['enableModelSelector'](){this['set']('modelSelectorEnabled',!0x0);}['disableModelSelector'](_0x3a5bff){this['set']('modelSelectorEnabled',!0x1),_0x3a5bff&&this['set']('modelDisplayMode','hidden');}['_createWebSearchButton'](){const _0x1dccab=new _0x22b56d['ButtonView']();return _0x1dccab['set']({'label':xt(this['locale'],'AI_CHAT_SEARCH_WEB'),'icon':_0x22b56d['IconWeb'],'class':_0x5c27c0,'isToggleable':!0x0,'tooltipPosition':tc}),_0x1dccab['on']('execute',()=>{this['fire']('toggleWebSearch');}),_0x1dccab;}['_createReasoningButton'](){const _0x10463d=new _0x22b56d['ButtonView']();return _0x10463d['set']({'label':xt(this['locale'],'AI_CHAT_REASONING'),'icon':_0x22b56d['IconBulb'],'class':_0x5c27c0,'isToggleable':!0x0,'tooltipPosition':tc}),_0x10463d['on']('execute',()=>{this['fire']('toggleReasoning');}),_0x10463d;}['_createCommandsButton'](){const _0x5e1369=new _0x22b56d['ButtonView']();return _0x5e1369['set']({'label':xt(this['locale'],'AI_CHAT_COMMANDS'),'icon':_0x22b56d['IconAI'],'withText':!0x0,'class':_0x5c27c0,'isToggleable':!0x0,'tooltip':xt(this['locale'],'AI_CHAT_COMMANDS'),'tooltipPosition':tc}),_0x5e1369['extendTemplate']({'attributes':{'class':[_0x1209df]}}),_0x5e1369['on']('execute',()=>{console['log']('Commands\x20are\x20not\x20implemented\x20yet.'),alert('Commands\x20are\x20not\x20implemented\x20yet.');}),_0x5e1369;}['_createModelSelectionDropdown'](){const _0x3825ee=_0x22b56d['createDropdown'](this['locale']);return _0x3825ee['set']({'panelPosition':'ne','class':[_0xa85ff0]}),_0x3825ee['buttonView']['set']({'label':xt(this['locale'],'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP'),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':tc,'class':_0x1fdcb3}),this['listenTo'](_0x3825ee,'execute',_0x316370=>{this['fire']('selectModel',_0x316370['source']['model']);}),_0x3825ee;}['_createModelNameView'](){const _0x22f019=new _0x350cb4(this['locale']);return _0x22f019['bind']('text')['to'](this,'activeModelName',_0x429b50=>_0x429b50??''),_0x22f019['bind']('isVisible')['to'](this,'modelDisplayMode',_0x45e0ab=>'name'===_0x45e0ab),_0x22f019;}}let _0x5aa548=class ModelButtonLabelView extends _0x22b56d['ButtonLabelView']{constructor(_0x19373a,_0x48ca24){super();const _0x28eba2=this['bindTemplate'],_0x5895ac=this['createCollection']();this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x28eba2['to']('style'),'id':_0x28eba2['to']('id')},'children':[{'tag':'div','attributes':{'class':[_0x525318]},'children':[{'text':_0x28eba2['to']('text')}]},{'tag':'div','attributes':{'class':[_0x586c2e]},'children':[{'tag':'span','children':[{'text':_0x48ca24['description']}]}]},{'tag':'div','attributes':{'class':[_0x21bcf6]},'children':_0x5895ac}]}),_0x5895ac['addMany'](this['_getCapabilityParts'](_0x19373a,_0x22b56d['IconWeb'],'AI_CHAT_SEARCH_WEB',_0x48ca24['capabilities']['webSearch']?.['enabled']??!0x1)),_0x5895ac['addMany'](this['_getCapabilityParts'](_0x19373a,_0x22b56d['IconBulb'],'AI_CHAT_REASONING',_0x48ca24['capabilities']['reasoning']?.['enabled']??!0x1));}['_getCapabilityParts'](_0x325135,_0x25927b,_0x4bf5e9,_0x5ac8b2){const _0x3833e5=new _0x22b56d['IconView']();_0x3833e5['content']=_0x25927b;const _0x490597=new _0x22b56d['View'](_0x325135);_0x490597['setTemplate']({'tag':'span','children':[{'text':xt(_0x325135,_0x4bf5e9)+':\x20'}]});const _0x5bd96e=new _0x22b56d['View'](_0x325135);return _0x5bd96e['setTemplate']({'tag':'span','children':[{'text':xt(_0x325135,_0x5ac8b2?'AI_CHAT_CAPABILITIES_YES':'AI_CHAT_CAPABILITIES_NO')}]}),[_0x3833e5,_0x490597,_0x5bd96e];}},_0x350cb4=class _0x3e3754 extends _0x22b56d['View']{constructor(_0x531fe4){super(_0x531fe4),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x5d93f9=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-chat-controls__model-name',_0x5d93f9['if']('isVisible','ck-hidden',_0x1fb5e4=>!_0x1fb5e4)]},'children':[{'text':_0x5d93f9['to']('text')}]});}};const _0x4679a9='ck-ai-chat-context-controls__url-form',_0x35269e='ck-ai-chat-context-controls__url-input-section';class AIChatContextPanelUrlInputView extends _0x22b56d['View']{['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['urlInputField'];['backButton'];['confirmButton'];constructor(_0x3e369f){super(_0x3e369f),this['focusTracker']=new _0x22b56d['FocusTracker'](),this['keystrokes']=new _0x22b56d['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 _0x22b56d['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['set']('withBackButton',!0x0),this['_setupTemplate'](),this['_setupEventHandlers'](),this['_setupKeystrokes']();}['render'](){super['render'](),this['_focusables']['forEach'](_0x40b820=>{this['focusTracker']['add'](_0x40b820['element']),this['keystrokes']['listenTo'](_0x40b820['element']);}),_0x22b56d['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'](_0x2534e9){this['urlInputField']['errorText']=_0x2534e9,this['_updateConfirmButtonState'](),this['fire']('refreshBalloon');}['clearError'](){this['urlInputField']['errorText']=null,this['_updateConfirmButtonState']();}['_createBackButton'](){const _0x52e3e0=new _0x22b56d['ButtonView'](this['locale']);return _0x52e3e0['set']({'icon':_0x22b56d['IconPreviousArrow'],'tooltip':xt(this['locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':'n','class':['ck-button-icon\x20ck-button-back']}),this['on']('change:withBackButton',(_0x5b3c03,_0x4fad6b,_0x303f67)=>{_0x52e3e0['set']({'class':['ck-button-icon\x20ck-button-back'+(_0x303f67?'':'\x20ck-hidden')]});}),_0x52e3e0;}['_createUrlInputField'](){const _0x239139=new _0x22b56d['LabeledFieldView'](this['locale'],_0x22b56d['createLabeledInputText']);return _0x239139['set']({'label':xt(this['locale'],'AI_CHAT_CONTEXT_URL_LABEL'),'class':'ck-labeled-field-view_empty'}),_0x239139['fieldView']['set']({'placeholder':xt(this['locale'],'AI_CHAT_CONTEXT_URL_PLACEHOLDER')}),_0x239139;}['_createConfirmButton'](){const _0x1f13d3=new _0x22b56d['ButtonView'](this['locale']);return _0x1f13d3['set']({'icon':_0x22b56d['IconCheck'],'tooltip':xt(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'tooltipPosition':'n','class':'ck-button-icon','type':'submit','isEnabled':!0x1}),_0x1f13d3;}['_setupTemplate'](){const _0x1efd87=new _0x22b56d['FormHeaderView'](this['locale'],{'label':xt(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'class':'ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url'});_0x1efd87['children']['add'](this['backButton'],0x0),this['setTemplate']({'tag':'form','attributes':{'class':_0x4679a9,'tabindex':'-1'},'children':[_0x1efd87,{'tag':'div','attributes':{'class':_0x35269e},'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',_0x34da47=>{_0x34da47['stop'](),this['_handleSubmit']();});}['_setupKeystrokes'](){this['keystrokes']['set']('esc',(_0x5356c2,_0x38ded7)=>{this['clear'](),this['fire']('cancel'),_0x38ded7();});}['_handleSubmit'](){const _0x21a2e0=this['getValue']()['trim']();_0x21a2e0?this['_isValidUrl'](_0x21a2e0)?(this['clearError'](),this['fire']('submitUrl',_0x21a2e0)):this['setError'](xt(this['locale'],'AI_CHAT_CONTEXT_URL_INVALID_ERROR')):this['setError'](xt(this['locale'],'AI_CHAT_CONTEXT_URL_EMPTY_ERROR'));}['_updateConfirmButtonState'](){const _0x135876=this['getValue']()['trim'](),_0x40063b=!!this['urlInputField']['errorText'];this['confirmButton']['isEnabled']=_0x135876['length']>0x0&&!_0x40063b;}['_isValidUrl'](_0x324c72){try{return!!new URL(_0x324c72);}catch{return!0x1;}}}const _0x51f826='ck-ai-chat-resources__item',_0x189755='ck-ai-chat-resources__item--in-context',_0x279df2='ck-ai-chat-resources__item-title',_0x57a21f='ck-ai-chat-resources__item__icon';class AIChatResourceListItemView extends _0x22b56d['ListItemView']{['resource'];['_titleView'];['_iconView'];constructor(_0x5b787b,_0x58356b){super(_0x5b787b),this['resource']=_0x58356b,this['set']('isInContext',!!_0x58356b['isInContext']),this['_titleView']=this['_createTitleView'](),this['_iconView']=this['_createIconView'](),this['_setupTemplate']();}['render'](){super['render']();}['getResourceIcon'](_0x37274e){if(_0x37274e['isInContext'])return _0x22b56d['IconCheck'];switch(_0x37274e['type']){case _0x2c5b12['DOCUMENT']:return _0x22b56d['IconDocument'];case _0x2c5b12['URL']:return _0x22b56d['IconLink'];case _0x2c5b12['FILE']:case _0x2c5b12['TEXT']:return _0x22b56d['IconFileUpload'];default:return _0x22b56d['IconDocumentOutline'];}}['highlightText'](_0x552112){if(!_0x552112||''===_0x552112['trim']())return void this['_titleView']['highlightText'](null);const _0x5bd308=new RegExp(Ot(_0x552112),'gi');this['_titleView']['highlightText'](_0x5bd308);}['updateResourceState'](_0x30152c){this['resource']['isInContext']=_0x30152c,this['isInContext']=_0x30152c,this['_updateIcon']();}['_createTitleView'](){const _0x45426c=new _0x22b56d['HighlightedTextView']();return _0x45426c['text']=this['resource']['label'],_0x45426c['extendTemplate']({'tag':'span','attributes':{'class':[_0x279df2]}}),_0x45426c;}['_createIconView'](){const _0x1d344f=new _0x22b56d['IconView']();return _0x1d344f['content']=this['getResourceIcon'](this['resource']),_0x1d344f;}['_setupTemplate'](){const _0x9eeec2=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':[_0x51f826,_0x9eeec2['if']('isVisible','ck-hidden',_0x5a0119=>!_0x5a0119),_0x9eeec2['if']('isInContext',_0x189755)]},'children':[{'tag':'div','attributes':{'class':[_0x57a21f]},'children':[this['_iconView']]},this['_titleView']],'on':{'click':_0x9eeec2['to']('execute')}});}['_updateIcon'](){this['_iconView']['content']=this['getResourceIcon'](this['resource']);}}const _0x4fa6d7='ck-ai-chat-resources__list';class AIChatContextResourcesListView extends _0x22b56d['ListView']{['_source'];constructor(_0x2136b6,_0x27a823){super(_0x2136b6),this['_source']=_0x27a823,this['extendTemplate']({'attributes':{'class':[_0x4fa6d7]}});}['setResources'](_0x4fb33a,_0x1a1485){this['items']['clear']();let _0x2d40f8=_0x4fb33a;if(this['_source']['useDefaultFiltering']&&_0x1a1485&&''!==_0x1a1485['trim']()){const _0x59d342=new RegExp(_0x1a1485['replace'](/[.*+?^${}()|[\]\\]/g,'\x5c$&'),'gi');_0x2d40f8=_0x4fb33a['filter'](_0x3cf377=>_0x59d342['test'](_0x3cf377['label']));}for(const _0x3a61aa of _0x2d40f8){const _0x462f9a=new AIChatResourceListItemView(this['locale'],_0x3a61aa);_0x462f9a['on']('execute',()=>{this['_handleResourceSelection'](this['_source'],_0x3a61aa);}),this['items']['add'](_0x462f9a);}this['_source']['useDefaultFiltering']&&this['highlightText'](_0x1a1485);}['highlightText'](_0x6d2e08){this['_source']['useDefaultFiltering']&&this['items']['forEach'](_0x4b76c7=>{_0x4b76c7['highlightText'](_0x6d2e08);});}['updateResourceState'](_0x304c01,_0x2a4f59){for(const _0x4ee8eb of this['items']){const _0x432ca2=_0x4ee8eb;_0x432ca2['resource']['id']===_0x304c01&&_0x432ca2['updateResourceState'](_0x2a4f59);}}['_handleResourceSelection'](_0x8b571f,_0x47db65){this['fire']('addResourceToContext',{'source':_0x8b571f,'resource':_0x47db65});}}class AIChatContextResourcesSearchInputView extends _0x22b56d['LabeledFieldView']{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x20687b){const t=_0x20687b['t'],_0x1af174={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x22b56d['createLabeledInputText'],'label':xt(_0x20687b,'AI_CHAT_SEARCH_RESOURCES')};super(_0x20687b,_0x1af174['creator']),this['label']=_0x1af174['label'],this['_viewConfig']=_0x1af174,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x20687b,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x208a21){this['fire']('search',_0x208a21);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x22b56d['IconView'](),this['iconView']['content']=_0x22b56d['IconLoupe'],this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x52b30a,t){this['resetButtonView']=new _0x22b56d['ButtonView'](_0x52b30a),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x22b56d['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',_0x114287=>!_0x114287),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 _0x22b56d['View']{['_searchView'];['_searchSection'];['_searchInputVisibleFrom'];['_resourcesListView'];['_skeletonLoader'];['_source'];['children'];['_latestLoadResourcesUid']=null;constructor(_0x252bae,_0x886df2){super(_0x252bae),this['_source']=_0x886df2['source'],this['_searchInputVisibleFrom']=_0x886df2['searchInputVisibleFrom']??0x7,this['set']('isLoading',!0x0),this['_searchView']=this['_createSearchView'](),this['_searchSection']=this['_createSearchSection'](),this['_resourcesListView']=this['_createResourcesListView'](),this['_skeletonLoader']=this['_createSkeletonView'](),this['children']=new _0x22b56d['ViewCollection']([this['_skeletonLoader'],this['_resourcesListView']]),this['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat-resources'},'children':this['children']});}['_createSearchView'](){return new AIChatContextResourcesSearchInputView(this['locale']);}['_createSearchSection'](){const _0x1a7ef4=new _0x22b56d['View'](this['locale']);return _0x1a7ef4['setTemplate']({'tag':'div','attributes':{'class':'ck\x20ck-search'},'children':[this['_searchView']]}),this['_searchView']['on']('search',(_0x4c2abb,_0x1c5a96)=>{this['loadResources'](_0x1c5a96),this['_source']['useDefaultFiltering']&&this['_resourcesListView']['highlightText'](_0x1c5a96);}),_0x1a7ef4;}['_createResourcesListView'](){const _0x1cc027=new AIChatContextResourcesListView(this['locale'],this['_source']);return _0x1cc027['delegate']('addResourceToContext')['to'](this),_0x1cc027['extendTemplate']({'attributes':{'class':this['bindTemplate']['if']('isLoading','ck-hidden')}}),_0x1cc027;}['_createSkeletonView'](){const _0x31b1df=new AISkeletonView(this['locale'],_0x469faf['aiChatResources']);return _0x31b1df['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoading','ck-hidden',_0xf8d00d=>!_0xf8d00d)]}}),_0x31b1df;}['render'](){super['render'](),this['loadResources']('');}['loadResources'](_0x4ec32a){const _0x246898=_0x22b56d['uid']();this['_latestLoadResourcesUid']=_0x246898,this['fire']('loadSourceResources',{'sourceId':this['_source']['id'],'query':_0x4ec32a,'uid':_0x246898}),this['isLoading']=!0x0;}['setResources'](_0xb70e3,_0x156013){if(_0x156013&&_0x156013!==this['_latestLoadResourcesUid'])return;const _0x999882=this['_source']['useDefaultFiltering']?this['_searchView']['getQuery']():'';this['_resourcesListView']['setResources'](_0xb70e3,_0x999882),_0xb70e3['length']>=this['_searchInputVisibleFrom']&&!this['children']['has'](this['_searchSection'])&&this['children']['add'](this['_searchSection'],0x0),requestAnimationFrame(()=>{this['isLoading']=!0x1;});}['updateResourceState'](_0x5c99f2,_0x367246){this['_resourcesListView']['updateResourceState'](_0x5c99f2,_0x367246);}}const _0x57a3d0='ck-ai-chat-context-controls__source-balloon-panel',_0x3fbdbc='ck-button-icon\x20ck-button-back',_0x59f2b9='ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source';class AIChatResourcesBalloonView{['_sourceResourceBalloons']=new Map();['_bodyCollection'];['_locale'];['_config'];constructor(_0x136459,_0x22fcc2,_0x2e2e9a){this['_locale']=_0x136459,this['_bodyCollection']=_0x22fcc2,this['_config']=_0x2e2e9a;}['showSourceResourcesBalloon']({source:_0x4799be,withBackButton:_0x49e174}){let _0x4fbef9=this['_sourceResourceBalloons']['get'](_0x4799be['id']);_0x4fbef9||(_0x4fbef9=this['_createSourceResourceBalloonPanel'](),this['_sourceResourceBalloons']['set'](_0x4799be['id'],_0x4fbef9),this['_setupSingleResourceBalloonClickOutsideHandler'](_0x4fbef9)),this['_addSourceResourceContent']({'balloonPanel':_0x4fbef9,'source':_0x4799be,'withBackButton':_0x49e174}),_0x4fbef9['show']();const _0x3f2c91=this['_config']['getTargetElement']();_0x3f2c91&&_0x4fbef9['pin']({'target':_0x3f2c91,'limiter':this['_config']['getLimiterElement']()});}['populateSourceResourceBalloon'](_0x3a974f,_0x2c143c,_0x3c76bb){const _0x2f6d6b=this['_sourceResourceBalloons']['get'](_0x3a974f);if(!_0x2f6d6b)return;const _0x5ed037=this['_getResourcesViewFromBalloon'](_0x2f6d6b);_0x5ed037&&(_0x5ed037['setResources'](_0x2c143c,_0x3c76bb),_0x5ed037['once']('change:isLoading',()=>{_0x2f6d6b['pin']({'target':this['_config']['getTargetElement'](),'limiter':this['_config']['getLimiterElement']()});}));}['closeSourceResourceBalloon'](_0x4b5f2c){const _0x351f25=this['_sourceResourceBalloons']['get'](_0x4b5f2c);_0x351f25&&requestAnimationFrame(()=>{_0x351f25['hide'](),this['_sourceResourceBalloons']['delete'](_0x4b5f2c),this['_config']['onBalloonClosed']();});}['isAnyResourceBalloonVisible'](){for(const _0x3e1afc of this['_sourceResourceBalloons']['values']())if(_0x3e1afc['isVisible'])return!0x0;return!0x1;}['updateResourceState'](_0x20cf76,_0x3027ed,_0x245cd6){const _0x107262=this['_sourceResourceBalloons']['get'](_0x20cf76);if(!_0x107262||!_0x107262['isVisible'])return;const _0x2c5153=this['_config']['getTargetElement']();if(!_0x2c5153)return;_0x107262['pin']({'target':_0x2c5153,'limiter':this['_config']['getLimiterElement']()});const _0xeacce=this['_getResourcesViewFromBalloon'](_0x107262);_0xeacce&&_0xeacce['updateResourceState'](_0x3027ed,_0x245cd6);}['destroy'](){for(const _0x483264 of this['_sourceResourceBalloons']['values']())_0x483264['destroy']();this['_sourceResourceBalloons']['clear']();}['_createSourceResourceBalloonPanel'](){const _0x12d116=new _0x22b56d['BalloonPanelView'](this['_locale']);return _0x12d116['extendTemplate']({'attributes':{'class':_0x57a3d0}}),this['_bodyCollection']['add'](_0x12d116),_0x12d116;}['_addSourceResourceContent']({balloonPanel:_0x39640d,source:_0x4259eb,withBackButton:_0x3b2084}){_0x39640d['content']['clear']();const _0x281edf=this['_createBalloonHeader']({'balloonPanel':_0x39640d,'source':_0x4259eb,'withBackButton':_0x3b2084});_0x39640d['content']['add'](_0x281edf);const _0xe3464b=this['_createBalloonResourcesView'](_0x4259eb);_0x39640d['content']['add'](_0xe3464b);}['_createBalloonHeader']({balloonPanel:_0x41717c,source:_0x7d176c,withBackButton:_0x50b358}){const _0x13be2f=new _0x22b56d['FormHeaderView'](this['_locale'],{'label':_0x7d176c['label'],'class':_0x59f2b9});return _0x50b358&&_0x13be2f['children']['add'](this['_createBackButton'](_0x41717c),0x0),_0x13be2f;}['_createBackButton'](_0x8848a0){const _0x586a7f=new _0x22b56d['ButtonView'](this['_locale']);return _0x586a7f['set']({'icon':_0x22b56d['IconPreviousArrow'],'tooltip':xt(this['_locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':'n','class':_0x3fbdbc}),_0x586a7f['on']('execute',()=>{_0x8848a0['hide'](),this['_config']['onBackToContext']();}),_0x586a7f;}['_createBalloonResourcesView'](_0x52f209){const _0x442a81=new AIChatContextResourcesView(this['_locale'],{'source':_0x52f209,'searchInputVisibleFrom':this['_config']['searchInputVisibleFrom']});return _0x442a81['on']('loadSourceResources',(_0x38480d,_0x366b74)=>{this['_config']['onLoadSourceResources'](_0x366b74);}),_0x442a81['on']('addResourceToContext',(_0x41eade,_0x323c82)=>{this['_config']['onResourceSelected'](_0x323c82['source'],_0x323c82['resource']),this['closeSourceResourceBalloon'](_0x52f209['id']);}),_0x442a81;}['_getResourcesViewFromBalloon'](_0x429f40){const _0x58a4ee=_0x429f40['content']['get'](0x1);return _0x58a4ee instanceof AIChatContextResourcesView?_0x58a4ee:null;}['_setupSingleResourceBalloonClickOutsideHandler'](_0x34f5d0){_0x22b56d['clickOutsideHandler']({'emitter':_0x34f5d0,'contextElements':[_0x34f5d0['element']],'callback':()=>{_0x34f5d0['hide'](),this['_config']['onBalloonClosed']();},'activator':()=>_0x34f5d0['isVisible']});}}const _0x33b299=['addDocumentToContext','addFileToContext','addUrlToContext','addResourceToContext','removeContextItem','loadSourceResources','executeCustomItemCallback'],_0x456154='ck-ai-chat-context-controls',_0x4b54d0='ck-ai-chat-context-controls__pending-contexts',_0x394cdb='ck-ai-chat-context-controls__add-context-balloon-panel',_0x122c36='ck-ai-chat-context-controls__add-context-button',_0x2bddfc='ck-ai-chat-context-controls__url-balloon-panel',_0x49b18c='ck-ai-chat-context-controls__balloon-button',_0x3f80a2='ck-ai-chat-context-controls__balloon-button-source',_0x36d63b='ck-ai-chat-controls-button',_0x2f0d46='ck-ai-chat-context-chips-wrapper-balloon',_0x57c98d='ck-ai-chat-controls_context_show-more-button',_0x14fc5b='ck-ai-chat-context-controls__show-more-balloon-panel',_0x1c2a55='ck-ai-chat',_0x4ea8e9=[_0x22b56d['BalloonPanelView']['defaultPositions']['northArrowSouthWest'],_0x22b56d['BalloonPanelView']['defaultPositions']['northArrowSouth'],_0x22b56d['BalloonPanelView']['defaultPositions']['northArrowSouthEast'],_0x22b56d['BalloonPanelView']['defaultPositions']['southArrowNorthWest'],_0x22b56d['BalloonPanelView']['defaultPositions']['southArrowNorth'],_0x22b56d['BalloonPanelView']['defaultPositions']['southArrowNorthEast']];class AIChatContextPanelView extends _0x22b56d['View']{['addContextButtonView'];['_currentContextsChips']=this['createCollection']();['_conversationContextsChips']=this['createCollection']();['_overflowManager'];['_addContextBalloonPanelView'];['_urlBalloonPanelView'];['_urlInputView'];['_resourcesBalloonView'];['_addContextBalloonConfig'];['_hasExactlyOneSource']=!0x1;['bodyCollection'];constructor(_0x7fc35c,_0x54056d){super(_0x7fc35c),this['bodyCollection']=_0x54056d['bodyCollection'],this['_currentContextsChips']=this['createCollection'](),this['_conversationContextsChips']=this['createCollection'](),this['addContextButtonView']=this['_createAddContextButtonView'](_0x7fc35c),this['_addContextBalloonPanelView']=this['_createAddContextBalloonPanelView'](_0x7fc35c),this['_urlBalloonPanelView']=this['_createUrlBalloonPanelView'](_0x7fc35c),this['_resourcesBalloonView']=this['_createResourcesBalloonView'](_0x7fc35c,_0x54056d);const _0x36e6ce={'cssClasses':{'showMoreButton':_0x57c98d,'showMoreBalloon':_0x14fc5b,'overflowContainer':_0x2f0d46,'controlsButton':_0x36d63b}};this['_overflowManager']=new AIChatChipsOverflowManager(_0x7fc35c,this['_currentContextsChips'],_0x36e6ce,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'](_0x39d518,_0x51dbdb){const _0x157879=this['_createContextButton'](_0x39d518,'current',!0x0,_0x51dbdb);this['_addContextToCollection'](_0x157879,this['_currentContextsChips']),this['_overflowManager']['reorganizeChips']();}['removeContextItem'](_0x4d08df){this['_removeContextFromCollection'](_0x4d08df,this['_currentContextsChips']),this['_removeContextFromCollection'](_0x4d08df,this['_overflowManager']['overflowChips']),this['_overflowManager']['reorganizeChips']();}['setContextItemLoading'](_0x2088d6,_0x2a2b24){let _0x4f4b7e=this['_currentContextsChips']['find'](_0xf40f1a=>_0xf40f1a['id']===_0x2088d6);_0x4f4b7e||(_0x4f4b7e=this['_overflowManager']['overflowChips']['find'](_0x5485e7=>_0x5485e7['id']===_0x2088d6)),_0x4f4b7e&&(_0x4f4b7e['isLoading']=_0x2a2b24);}['setConversationContext'](_0x5810b0){this['_conversationContextsChips']['clear']();for(const _0x1d1b43 of _0x5810b0){const _0x355b6b=this['_createContextButton'](_0x1d1b43,'conversation',!0x1,!0x1);this['_addContextToCollection'](_0x355b6b,this['_conversationContextsChips']);}}['clearCurrentContextItems'](){this['_currentContextsChips']['clear'](),this['_overflowManager']['clear']();}['clearConversationContextItems'](){this['_conversationContextsChips']['clear']();}['updateResourceState'](_0x4a8e50,_0x9258da,_0x2f086b){this['_resourcesBalloonView']['updateResourceState'](_0x4a8e50,_0x9258da,_0x2f086b);}['hideAddContextBalloonPanel'](){this['_toggleAddContextBalloon'](!0x1);}['showAddContextBalloonPanel'](){this['_toggleAddContextBalloon'](!0x0);}['hideUrlBalloonPanel'](){this['_urlBalloonPanelView']['hide'](),this['addContextButtonView']['isOn']=!0x1,this['_urlInputView']&&this['_urlInputView']['clear']();}['showUrlBalloonPanel'](){this['_urlBalloonPanelView']['show'](),this['addContextButtonView']['isOn']=!0x0;}['_showSourceResourcesBalloon']({source:_0x240678,withBackButton:_0x18022f}){this['_resourcesBalloonView']['showSourceResourcesBalloon']({'source':_0x240678,'withBackButton':_0x18022f}),this['addContextButtonView']['isOn']=!0x0;}['populateSourceResourceBalloon'](_0x21b640,_0x212ee8,_0x5da122,_0x4526bb){this['_resourcesBalloonView']['populateSourceResourceBalloon'](_0x21b640,_0x5da122,_0x4526bb);}['closeSourceResourceBalloon'](_0x2f5b13){this['_resourcesBalloonView']['closeSourceResourceBalloon'](_0x2f5b13),this['addContextButtonView']['isOn']=!0x1;}['setAddContextOptions'](_0x3ada41){this['_setBalloonPanelContent'](this['_addContextBalloonPanelView'],this['locale'],_0x3ada41),this['_setAddContextButtonEnabled'](_0x3ada41);}['_setAddContextButtonEnabled'](_0x3c5db3){const _0x43eb11=!_0x3c5db3['document']['isHidden']&&_0x3c5db3['document']['enabled'],_0x5878f2=_0x3c5db3['urls']['enabled'],_0x4dd7e0=_0x3c5db3['files']['enabled'],_0x475e1a=_0x3c5db3['sources']['length']>0x0,_0x1cab25=_0x3c5db3['customItems']&&_0x3c5db3['customItems']['length']>0x0;this['addContextButtonView']['isEnabled']=_0x43eb11||_0x5878f2||_0x4dd7e0||_0x475e1a||_0x1cab25;}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':[_0x456154,'ck-reset_all-excluded']},'children':[{'tag':'div','attributes':{'class':_0x4b54d0},'children':this['_currentContextsChips']}]});}['_bindEventHandlers'](){this['addContextButtonView']['on']('execute',()=>{this['_handleAddContextButtonClick']();});}['_createAddContextButtonView'](_0x1bb4d5){const _0x3f3923=new _0x22b56d['ButtonView'](_0x1bb4d5);return _0x3f3923['set']({'label':xt(_0x1bb4d5,'AI_CHAT_CONTEXT_ADD_CONTEXT'),'class':_0x36d63b+'\x20'+_0x122c36,'icon':_0x22b56d['IconPaperClip'],'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x3f3923;}['_createAddContextBalloonPanelView'](_0x599517){return this['_createBaseBalloonPanel'](_0x599517,_0x394cdb);}['_createUrlBalloonPanelView'](_0x290af2){const _0xa4b0a0=this['_createBaseBalloonPanel'](_0x290af2,_0x2bddfc);return this['_addUrlContent'](_0xa4b0a0,_0x290af2),_0xa4b0a0;}['_createResourcesBalloonView'](_0x2d89b7,_0x19beb9){const _0x56021a={'searchInputVisibleFrom':_0x19beb9['searchInputVisibleFrom'],'onBackToContext':()=>{this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x4ea8e9});},'onResourceSelected':(_0x184f75,_0x21b797)=>{this['fire']('addResourceToContext',{'source':_0x184f75,'resource':_0x21b797});},'onLoadSourceResources':_0x3fbb41=>{this['fire']('loadSourceResources',_0x3fbb41);},'onBalloonClosed':()=>{this['addContextButtonView']['isOn']=!0x1;},'getLimiterElement':()=>this['_getLimiterElement'](),'getTargetElement':()=>this['addContextButtonView']['element']};return new AIChatResourcesBalloonView(_0x2d89b7,_0x19beb9['bodyCollection'],_0x56021a);}['_getLimiterElement'](){return this['element']?.['closest']('.'+_0x1c2a55)||document['body'];}['_createBaseBalloonPanel'](_0x3a59eb,_0x482710){const _0x2398a5=new _0x22b56d['BalloonPanelView'](_0x3a59eb);return _0x2398a5['extendTemplate']({'attributes':{'class':_0x482710}}),this['bodyCollection']['add'](_0x2398a5),_0x2398a5;}['_setBalloonPanelContent'](_0x36ab33,_0x34cbb4,_0x49ce18){if(_0x36ab33['content']['clear'](),!_0x49ce18['document']['isHidden']&&_0x49ce18['document']['enabled']){const _0x390cb5=this['_createBalloonButton'](_0x34cbb4,{'label':xt(_0x34cbb4,'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'),'icon':_0x22b56d['IconDocument']});_0x390cb5['on']('execute',()=>{this['fire']('addDocumentToContext'),this['hideAddContextBalloonPanel']();}),_0x36ab33['content']['add'](_0x390cb5);}if(_0x49ce18['urls']['enabled']){const _0x4990e1=this['_createBalloonButton'](_0x34cbb4,{'label':xt(_0x34cbb4,'AI_CHAT_CONTEXT_URL_LABEL'),'icon':_0x22b56d['IconLink']});_0x4990e1['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['showUrlBalloonPanel'](),this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x4ea8e9}),this['_urlInputView']['focus']();}),_0x36ab33['content']['add'](_0x4990e1);}if(_0x49ce18['files']['enabled']){const _0x508fe0=new _0x22b56d['FileDialogButtonView'](_0x34cbb4);_0x508fe0['set']({'label':xt(_0x34cbb4,'AI_CHAT_CONTEXT_FILE_LABEL'),'icon':_0x22b56d['IconBrowseFiles'],'withText':!0x0,'tooltip':!0x0,'class':_0x49b18c,'allowMultipleFiles':!0x0}),_0x508fe0['on']('execute',()=>{this['hideAddContextBalloonPanel']();}),_0x508fe0['on']('done',(_0x3975df,_0x5ad576)=>{this['fire']('addFileToContext',_0x5ad576);}),_0x508fe0['tooltip']=!0x0,_0x36ab33['content']['add'](_0x508fe0);}for(const _0x33150f of _0x49ce18['sources']){const _0x4d6602=this['_createBalloonButton'](_0x34cbb4,{'label':_0x33150f['label'],'icon':_0x33150f['icon']||_0x22b56d['IconDocumentOutline'],'type':'source'});_0x36ab33['content']['add'](_0x4d6602),_0x4d6602['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['_showSourceResourcesBalloon']({'source':_0x33150f,'withBackButton':!this['_hasExactlyOneSource']});});}for(const _0x481cbf of _0x49ce18['customItems']||[]){const _0x2fd9d2=this['_createBalloonButton'](_0x34cbb4,{'label':_0x481cbf['label'],'icon':_0x481cbf['icon']||_0x22b56d['IconDocumentOutline'],'type':'customItem'});_0x36ab33['content']['add'](_0x2fd9d2),_0x2fd9d2['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['fire']('executeCustomItemCallback',_0x481cbf);});}this['_hasExactlyOneSource']=0x1===_0x36ab33['content']['length'],this['_urlInputView']['withBackButton']=!this['_hasExactlyOneSource'];}['_addUrlContent'](_0x5a0157,_0x163bdf){this['_urlInputView']=new AIChatContextPanelUrlInputView(_0x163bdf),this['_urlInputView']['on']('submitUrl',(_0x46d1c0,_0x58d1af)=>{this['_handleUrlSubmit'](_0x58d1af);}),this['_urlInputView']['on']('cancel',()=>{this['hideUrlBalloonPanel'](),this['_hasExactlyOneSource']||(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x4ea8e9}));}),this['_urlInputView']['on']('refreshBalloon',()=>{this['_urlBalloonPanelView']['isVisible']&&this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x4ea8e9});}),_0x5a0157['content']['add'](this['_urlInputView']);}['_createBalloonButton'](_0x10f5a5,_0x4325fc){const _0x5a1306='source'===_0x4325fc['type']?new SourcesBalloonButtonView(_0x10f5a5):new _0x22b56d['ButtonView'](_0x10f5a5);return _0x5a1306['set']({'label':_0x4325fc['label'],'icon':_0x4325fc['icon'],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x49b18c}),_0x5a1306;}['_setupAllBalloonClickOutsideHandlers'](){this['_setupAddContextBalloonClickOutsideHandler'](),this['_setupUrlBalloonClickOutsideHandler']();}['_setupUrlBalloonClickOutsideHandler'](){_0x22b56d['clickOutsideHandler']({'emitter':this['_urlBalloonPanelView'],'contextElements':[this['_urlBalloonPanelView']['element']],'callback':()=>{this['hideUrlBalloonPanel']();},'activator':()=>this['_urlBalloonPanelView']['isVisible']});}['_toggleAddContextBalloon'](_0x86f3d1){const _0x673898=this['_addContextBalloonConfig'];_0x673898['buttonView']['isOn']=_0x86f3d1,_0x86f3d1?_0x673898['balloonView']['show']():_0x673898['balloonView']['hide']();}['_setupAddContextBalloonClickOutsideHandler'](){const {balloonView:_0x31b918,buttonView:_0x368d41,hideMethod:_0x4cf109}=this['_addContextBalloonConfig'];_0x22b56d['clickOutsideHandler']({'emitter':_0x31b918,'contextElements':[_0x31b918['element'],_0x368d41['element']],'callback':()=>{_0x4cf109();},'activator':()=>_0x368d41['isOn']&&!this['_urlBalloonPanelView']['isVisible']&&!this['_resourcesBalloonView']['isAnyResourceBalloonVisible']()});}['_createContextButton'](_0x1a1dd8,_0x39d54a,_0x4f15d7=!0x1,_0x492861=!0x1){const _0x3df131='conversation'===_0x39d54a||!0x0===_0x1a1dd8['isReadOnly'],_0x4bb6d5=new AIChatContextItemButtonView(this['locale'],_0x1a1dd8,_0x3df131,_0x4f15d7,_0x492861);return _0x3df131||_0x4bb6d5['on']('removeContextItemChip',()=>{this['fire']('removeContextItem',_0x4bb6d5['id']);}),_0x4bb6d5;}['_addContextToCollection'](_0x2f8f6c,_0x4e95d7){_0x4e95d7['add'](_0x2f8f6c,0x0);}['_removeContextFromCollection'](_0x15ac4f,_0x57b7b4){const _0x246859=_0x57b7b4['find'](_0x403429=>_0x403429['id']===_0x15ac4f);_0x246859&&_0x57b7b4['remove'](_0x246859);}['_handleAddContextButtonClick'](){this['addContextButtonView']['isOn']?this['hideAddContextBalloonPanel']():(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x4ea8e9}),this['_hasExactlyOneSource']&&this['_addContextBalloonPanelView']['content']['get'](0x0)?.['fire']('execute'));}['_handleUrlSubmit'](_0x13b924){this['_urlInputView']['clear'](),this['hideUrlBalloonPanel'](),this['fire']('addUrlToContext',_0x13b924);}}class SourcesBalloonButtonView extends _0x22b56d['ButtonView']{['arrowView'];constructor(_0x53a7fe){super(_0x53a7fe),this['set']({'withText':!0x0,'role':'menuitem'}),this['arrowView']=this['_createArrowView'](),this['extendTemplate']({'attributes':{'class':[_0x3f80a2]}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x3724f2=new _0x22b56d['IconView']();return _0x3724f2['content']=_0x22b56d['IconDropdownArrow'],_0x3724f2['extendTemplate']({'attributes':{'class':_0x3f80a2+'__arrow'}}),_0x3724f2;}}class AIChatControlsLoaderView extends _0x22b56d['View']{['_cancelButtonView'];['_loaderView'];constructor(_0x4962c){super(_0x4962c),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 _0x20a4c2=new _0x22b56d['ButtonView'](this['locale']);return _0x20a4c2['set']({'label':xt(this['locale'],'AI_CHAT_STOP_GENERATING'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-button-stop-generating','icon':_0x22b56d['IconStop']}),_0x20a4c2['on']('execute',()=>{this['fire']('abortPromptStream');}),_0x20a4c2;}['_createLoaderView'](){const _0x16c091=new _0x22b56d['View'](this['locale']);return _0x16c091['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':xt(this['locale'],'AI_CHAT_IS_WRITING')}]}),_0x16c091;}}class AIChatControlsView extends _0x22b56d['View']{['_contextPanelView'];['_promptInputView'];['_promptCapabilitiesView'];['_loaderView'];['_modelUnavailableMessageView'];['_shouldRestorePromptInputFocus'];constructor(_0x3a5bcc,_0x2afc3b){super(_0x3a5bcc),this['_contextPanelView']=this['_createContextPanelView'](_0x3a5bcc,{'bodyCollection':_0x2afc3b['bodyCollection'],'searchInputVisibleFrom':_0x2afc3b['contextResourcesSearchInputVisibleFrom']}),this['_promptInputView']=this['_createPromptInputView'](_0x3a5bcc),this['_promptCapabilitiesView']=this['_createPromptCapabilitiesView'](_0x3a5bcc),this['_loaderView']=this['_createLoaderView'](_0x3a5bcc),this['_modelUnavailableMessageView']=this['_createModelUnavailableMessageView'](_0x3a5bcc),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'](..._0x33b299)['to'](this),this['set']('isModelAvailable',!0x0),this['set']('isDisabled',!0x1);const _0xe6192e=this['bindTemplate'];this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-ai-chat-controls',_0xe6192e['if']('isDisabled','ck-ai-chat-controls-disabled')]},'children':[{'tag':'div','attributes':{'class':[_0xe6192e['if']('isLoading','ck-hidden',_0x18a47e=>_0x18a47e||!this['isModelAvailable']),_0xe6192e['if']('isModelAvailable','ck-hidden',_0x3ce877=>!_0x3ce877||this['isLoading'])]},'children':[this['_contextPanelView'],this['_promptInputView'],this['_promptCapabilitiesView']]},{'tag':'div','attributes':{'class':[_0xe6192e['if']('isLoading','ck-hidden',_0x437598=>!_0x437598)]},'children':[this['_loaderView']]},{'tag':'div','attributes':{'class':[_0xe6192e['if']('isModelAvailable','ck-hidden',_0x488993=>_0x488993)]},'children':[this['_modelUnavailableMessageView']]}]}),_0x22b56d['clickOutsideHandler']({'emitter':this['_promptInputView'],'activator':()=>this['isLoading'],'contextElements':()=>[this['element']],'callback':()=>{this['_shouldRestorePromptInputFocus']=!0x1;}}),this['on']('change:isLoading',this['_handlePromptInputFocus'],{'priority':'low'});}['_createContextPanelView'](_0xd8c8e3,_0x4c550a){return new AIChatContextPanelView(_0xd8c8e3,_0x4c550a);}['_createPromptInputView'](_0x3e1edd){return new AIChatPromptInputView(_0x3e1edd,this['_contextPanelView']['addContextButtonView']);}['_createPromptCapabilitiesView'](_0x3a60c4){return new AIChatPromptCapabilitiesView(_0x3a60c4);}['_createLoaderView'](_0x244f00){return new AIChatControlsLoaderView(_0x244f00);}['_createModelUnavailableMessageView'](_0x59001a){const _0x1fd3e1=new AIChatModelUnavailableMessageView(_0x59001a);return _0x1fd3e1['delegate']('startConversation')['to'](this),_0x1fd3e1;}['_handlePromptInputFocus'](_0x4f5754,_0xd421be,_0x1324fb){_0x1324fb?this['_shouldRestorePromptInputFocus']=!0x0:this['_shouldRestorePromptInputFocus']&&this['_promptInputView']['focus']();}['addContextItem'](_0x404afa,_0x465617){this['_contextPanelView']['addContextItem'](_0x404afa,_0x465617);}['removeContextItem'](_0x1c411a){this['_contextPanelView']['removeContextItem'](_0x1c411a);}['setContextItemLoading'](_0x3bb3c6,_0xfdae3c){this['_contextPanelView']['setContextItemLoading'](_0x3bb3c6,_0xfdae3c);}['setIsUploadInProgress'](_0x4a2cf9){this['_promptInputView']['setIsUploadInProgress'](_0x4a2cf9);}['setConversationContext'](_0x265de0){this['_contextPanelView']['setConversationContext'](_0x265de0);}['clearPendingContextUI'](){this['_contextPanelView']['clearCurrentContextItems']();}['clearConversationContextUI'](){this['_contextPanelView']['clearConversationContextItems']();}['updateResourceState'](_0x5cafe2,_0x127dd0,_0x4921a7){this['_contextPanelView']['updateResourceState'](_0x5cafe2,_0x127dd0,_0x4921a7);}['setWebSearch'](_0x3450b4){this['_promptCapabilitiesView']['setWebSearch'](_0x3450b4);}['setReasoning'](_0x1ddb6e){this['_promptCapabilitiesView']['setReasoning'](_0x1ddb6e);}['resetMessageInput'](){this['_promptInputView']['reset']();}['setAddContextOptions'](_0x260a4a){this['_contextPanelView']['setAddContextOptions'](_0x260a4a);}['setInputPlaceholder'](_0x81ee0e){this['_promptInputView']['setPlaceholderText'](_0x81ee0e);}['setModelList'](_0x3936d2,_0x337e24){this['_promptCapabilitiesView']['setModelList'](_0x3936d2,_0x337e24);}['setModel'](_0x3445bd){_0x3445bd?(this['isModelAvailable']=!0x0,this['_promptCapabilitiesView']['setModel'](_0x3445bd)):this['isModelAvailable']=!0x1;}['enableModelSelector'](){this['_promptCapabilitiesView']['enableModelSelector']();}['disableModelSelector'](_0x94a819){this['_promptCapabilitiesView']['disableModelSelector'](_0x94a819);}['populateSourceResourceBalloon'](_0x403bb1,_0x33db14,_0x262b58,_0xc488a1){this['_contextPanelView']['populateSourceResourceBalloon'](_0x403bb1,_0x33db14,_0x262b58,_0xc488a1);}['closeSourceResourceBalloon'](_0x3d7386){this['_contextPanelView']['closeSourceResourceBalloon'](_0x3d7386);}['focusPromptInput'](_0x349bab=!0x1){this['_promptInputView']['focus'](_0x349bab);}['setPromptInputValue'](_0x1b0f75){this['_promptInputView']['queryView']['fieldView']['reset'](),this['_promptInputView']['queryView']['fieldView']['value']=_0x1b0f75;}}class AIChatModelUnavailableMessageView extends _0x22b56d['View']{constructor(_0x292d2c){super(_0x292d2c);const _0xc741dd=new _0x22b56d['ButtonView'](_0x292d2c);_0xc741dd['set']({'label':xt(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON'),'withText':!0x0,'class':['ck-ai-chat-controls__start-new-chat-button'],'tooltip':''}),_0xc741dd['delegate']('execute')['to'](this,'startConversation'),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-controls-model-unavailable-message']},'children':[{'tag':'p','children':[{'text':xt(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT')+'\x20'},_0xc741dd]}]});}}class AIChatHeaderView extends _0x22b56d['FormHeaderView']{['conversationStartButton'];['resizeButton'];constructor(_0x1cc498,_0x5d85f7){super(_0x1cc498,{'label':xt(_0x1cc498,'AI_CHAT_HEADING'),'class':'ck-ai-header\x20ck-ai-header_chat','icon':_0x22b56d['IconAIChat']}),this['set']('isMaximized',!0x1),this['conversationStartButton']=this['_createStartConversationButton'](_0x1cc498),this['children']['add'](this['conversationStartButton']),_0x5d85f7&&(this['resizeButton']=Rt(_0x1cc498,this),this['children']['add'](this['resizeButton']));}['_createStartConversationButton'](_0x13cce3){const _0x304532=new _0x22b56d['ButtonView'](_0x13cce3);return _0x304532['set']({'label':xt(this['locale'],'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':_0x22b56d['IconPlus'],'class':'ck-ai-chat__start-conversation'}),_0x304532['on']('execute',()=>{this['fire']('startConversation');}),_0x304532;}}class _0x36ccc3 extends _0x22b56d['View']{constructor(_0x5aee5a){super(_0x5aee5a),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-disclaimer__content']},'children':[{'text':xt(_0x5aee5a,'AI_DISCLAIMER_TEXT')}]}]});}}class AIChatView extends _0x22b56d['View']{['chatHeader'];['chatFeed'];['chatControls'];['chatDisclaimer'];['_bodyCollection'];constructor(_0x33f476,_0x266f9e){super(_0x33f476),this['_bodyCollection']=new _0x22b56d['BodyCollection'](_0x33f476),this['_bodyCollection']['attachToDom'](),this['chatHeader']=new AIChatHeaderView(_0x33f476,_0x266f9e['showResizeButton']),this['chatHeader']['delegate'](..._0x29f679)['to'](this),this['chatFeed']=new AIChatFeedView(_0x33f476,this['_bodyCollection']),this['chatFeed']['delegate'](..._0x29f679)['to'](this),this['chatControls']=new AIChatControlsView(_0x33f476,{'bodyCollection':this['_bodyCollection'],'contextResourcesSearchInputVisibleFrom':_0x266f9e['contextResourcesSearchInputVisibleFrom']}),this['chatControls']['delegate'](..._0x29f679)['to'](this),this['chatDisclaimer']=new _0x36ccc3(_0x33f476),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat','ck-rounded-corners'],'dir':_0x33f476['uiLanguageDirection']},'children':[this['chatHeader'],this['chatFeed'],this['chatControls'],this['chatDisclaimer']]});}['populateSourceResourceBalloon'](_0xb03d4,_0x2d835c,_0x50ef56,_0x62acc1){this['chatControls']['populateSourceResourceBalloon'](_0xb03d4,_0x2d835c,_0x50ef56,_0x62acc1);}['closeSourceResourceBalloon'](_0x3d33b2){this['chatControls']['closeSourceResourceBalloon'](_0x3d33b2);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}}class AIChatUI extends _0x22b56d['ContextPlugin']{static get['requires'](){return[_0x32d0d0];}['_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(_0x5f4234){super(_0x5f4234);const _0x5770bc=this['context']['plugins']['get']('AITabs');this['set']('isBusy',!0x1),this['_promiseQueue']=new _0x34185e(),this['_view']=new AIChatView(this['context']['locale'],{'showResizeButton':_0x5770bc['showResizeButton'],'contextResourcesSearchInputVisibleFrom':this['context']['config']['get']('ai.chat.context.searchInputVisibleFrom')}),this['_view']['delegate'](..._0x29f679)['to'](this),this['_view']['on']('toggleSuggestionDisplayMode',(_0x3e5a45,{showDiff:_0x22680f})=>{this['showDiff']=_0x22680f;}),_0x5770bc['view']['addTab']({'id':'chat','buttonLabel':xt(this['context']['locale'],'AI_CHAT_HEADING'),'buttonIcon':_0x22b56d['IconAIChat'],'order':0x0,'content':this['_view']}),this['_view']['chatControls']['bind']('isLoading')['to'](this,'isBusy',_0x3dfc56=>_0x3dfc56),this['_view']['chatFeed']['bind']('isPending')['to'](this,'isBusy',_0x3232c4=>_0x3232c4),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']()),this['bind']('isModelAvailable')['to'](this['_view']['chatControls'],'isModelAvailable');}['destroy'](){super['destroy'](),this['_titleAnimationInterval']&&clearInterval(this['_titleAnimationInterval']);}['createConversation'](_0x3c9304){const _0xef90aa=this['context']['config']['get']('ai.chat.welcomeMessage')??xt(this['context']['locale'],'AI_CHAT_WELCOME_MESSAGE');this['_view']['chatFeed']['clear'](),this['_view']['chatControls']['enableModelSelector'](),this['_view']['chatControls']['setModelList'](_0x3c9304['availableModels'],!this['context']['config']['get']('ai.models.showModelSelector')),this['addFeedItemStaticMessage']({'id':'conversation-start','staticMessage':_0xef90aa}),this['fire']('conversationCreated');}['addFeedItemStaticMessage']({id:_0x22f7cd,staticMessage:_0x17c514}){this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x22f7cd,'initialContent':'<p>'+_0x17c514+'</p>'});}['addFeedItemUserMessage'](_0x2b4b83){const _0x44472d=_0x2b4b83['attributes']?.['displayedPrompt']||_0x2b4b83['userMessage'];this['_view']['chatFeed']['addItem']('user-message',{'contextItems':Array['from'](_0x2b4b83['contextItems']['values']()),'initialContent':'<p>'+_0x44472d+'</p>','id':_0x2b4b83['id']});}['addFeedItemError']({errorMessage:_0x4912e3,id:_0x113b5b}){this['_view']['chatFeed']['addItem']('error-message',{'initialContent':'<p>'+_0x4912e3+'</p>','id':_0x113b5b});}['addFeedItemAIReply'](_0x523511){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x523511['interactionId']+':'+_0x523511['id']}),this['clearLoadingMessage']();});}async['addFeedItemAISuggestion'](_0xef938d){const _0x3570cf=ta(this['context']);let _0x34a66e=_0x3570cf['config']['get']('ai.availableReplyActions')||[..._0xc7a910];if(_0x3570cf['plugins']['has']('TrackChanges')){if(!this['_isTrackChangesCommandValueBound']){this['_isTrackChangesCommandValueBound']=!0x0;const _0x1f7602=_0x3570cf['commands']['get']('trackChanges');this['_view']['chatFeed']['bind']('isTrackChangesOn')['to'](_0x1f7602,'value');}}else _0x34a66e=_0x34a66e['filter'](_0x2404e6=>'insertSuggestion'!=_0x2404e6);return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-suggestion-reply',{'id':_0xef938d['interactionId']+':'+_0xef938d['id'],'areActionsDisabled':_0xef938d['areActionsDisabled'],'showDiff':this['showDiff'],'availableActions':_0x34a66e}),this['clearLoadingMessage']();});}['addFeedInteractionHeader'](_0xe7d214,_0x1c0773){const _0x59eff1=this['_view']['chatFeed']['children']['last'];if(_0x59eff1 instanceof AIChatFeedInteractionHeaderView)return this['_view']['chatFeed']['children']['remove'](_0x59eff1),void this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0xe7d214['id'],'capabilities':{'isWebSearchEnabled':_0x59eff1['capabilities']['isWebSearchEnabled']||_0x1c0773['isWebSearchEnabled'],'isReasoningEnabled':_0x59eff1['capabilities']['isReasoningEnabled']||_0x1c0773['isReasoningEnabled']}});this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0xe7d214['id'],'capabilities':_0x1c0773});}async['addFeedItemCustomElement'](_0x557718,_0x290203){let _0x2faff1;return await this['_promiseQueue']['enqueue'](async()=>{_0x2faff1=this['_view']['chatFeed']['addItem']('custom-element',{'content':_0x557718,'id':_0x290203});}),_0x2faff1;}['removeFeedItem'](_0x50e46c){this['_view']['chatFeed']['removeItem'](_0x50e46c);}['hasFeedItem'](_0x353dc6){return this['_view']['chatFeed']['hasItem'](_0x353dc6);}['updateFeedInteractionHeader'](_0x2a31d8){const _0x5dae77=this['_view']['chatFeed']['children']['find'](_0xaf0f97=>_0xaf0f97['options']['id']==_0x2a31d8['id']&&_0xaf0f97 instanceof AIChatFeedInteractionHeaderView);_0x5dae77&&_0x5dae77['set']('isVisible',_0x2a31d8['isVisible']);}async['updateFeedItemAIReplyContent'](_0x505c27){const _0xafaa8b=_0x505c27['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x4abc5a=>{await this['_view']['chatFeed']['updateReplyItem']({..._0x505c27,'abortSignal':_0x4abc5a,'renderingStrategy':_0xafaa8b}),_0x505c27['isDone']&&this['markFeedItemAsDone'](_0x505c27['id']);});}['updateFeedItemAIReplySources'](_0x422356,_0x1bf36b){this['_view']['chatFeed']['updateWebSources'](_0x422356,_0x1bf36b);}async['updateFeedItemAIReplySuggestionContent'](_0x85bd0){const _0xff3cd0=_0x85bd0['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x7ab2a3=>{await this['_view']['chatFeed']['updateSuggestionItem']({..._0x85bd0,'abortSignal':_0x7ab2a3,'renderingStrategy':_0xff3cd0}),_0x85bd0['isDone']&&this['markFeedItemAsDone'](_0x85bd0['id']);});}['updateFeedItemAIReplySuggestionPartState'](_0xb62803){this['_view']['chatFeed']['updateSuggestionPartState'](_0xb62803);}['setFeedItemAIReplySuggestionPartActive'](_0x39a6bd){this['_view']['chatFeed']['setSuggestionPartActive'](_0x39a6bd);}['markFeedItemAsDone'](_0xeef8a3){this['_view']['chatFeed']['markItemAsDone'](_0xeef8a3);}['removeFeedInteraction'](_0x1f3309){this['_view']['chatFeed']['getItemIds']()['filter'](_0x102dd6=>_0x102dd6['startsWith'](_0x1f3309))['forEach'](_0x116a37=>this['_view']['chatFeed']['removeItem'](_0x116a37));}['startInteraction'](){const _0xc8cd0a=this['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1});this['setLoadingMessage'](_0xc8cd0a),this['_view']['chatControls']['disableModelSelector'](!this['context']['config']['get']('ai.models.showModelSelector')),this['isBusy']=!0x0,this['_view']['chatFeed']['startAutoScroll']();}['stopInteraction'](_0xe465d){this['_promiseQueue']['abort'](),this['_view']['chatFeed']['getItemIds']()['filter'](_0x2d4e61=>_0x2d4e61['startsWith'](_0xe465d['id']))['forEach'](_0x43e3a8=>this['markFeedItemAsDone'](_0x43e3a8)),this['isBusy']=!0x1,this['_view']['chatFeed']['stopAutoScroll']();}async['finishInteraction'](){return this['_promiseQueue']['queueEmptyPromise']['then'](()=>{this['isBusy']=!0x1,this['_view']['chatFeed']['stopAutoScroll']();});}['addContextItem'](_0x4eee7f,_0x34c8bc){this['_view']['chatControls']['addContextItem'](_0x4eee7f,_0x34c8bc);}['removeContextItem'](_0x1eac5b){this['_view']['chatControls']['removeContextItem'](_0x1eac5b);}['setContextItemLoading'](_0x2f1b59,_0x18e2ed){this['_view']['chatControls']['setContextItemLoading'](_0x2f1b59,_0x18e2ed);}['setIsUploadInProgress'](_0x589333){this['_view']['chatControls']['setIsUploadInProgress'](_0x589333);}['setConversationContext'](_0x31b5b7){this['_view']['chatControls']['setConversationContext'](_0x31b5b7);}['clearPendingContextUI'](){this['_view']['chatControls']['clearPendingContextUI']();}['clearConversationContextUI'](){this['_view']['chatControls']['clearConversationContextUI']();}['updateResourceState'](_0x35ce09,_0xb21bd6,_0x18db5d){this['_view']['chatControls']['updateResourceState'](_0x35ce09,_0xb21bd6,_0x18db5d);}['resetMessageInput'](){this['_view']['chatControls']['resetMessageInput'](),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']());}['setAddContextOptions'](_0x477d6a){this['_view']['chatControls']['setAddContextOptions'](_0x477d6a);}['updateCapabilities'](_0x5f5b3f){this['_view']['chatControls']['setWebSearch'](_0x5f5b3f['isWebSearchEnabled']),this['_view']['chatControls']['setReasoning'](_0x5f5b3f['isReasoningEnabled']),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder'](_0x5f5b3f));}['setSelectedModel'](_0x1d7195,_0x304542){this['_view']['chatControls']['setModel'](_0x1d7195),_0x304542&&this['_view']['chatControls']['disableModelSelector'](!0x1);}['setFeedItemRenderingStrategy'](_0x4f1559){this['feedItemRenderingStrategy']=_0x4f1559;}['toggleLoadingSkeleton'](_0x40c0fe){this['_view']['chatFeed']['toggleLoadingSkeleton'](_0x40c0fe);}['resetConversationTitle'](){this['setConversationTitle'](xt(this['context']['locale'],'AI_CHAT_HEADING'));}['setConversationTitle'](_0x1b10ca,_0x1909d5=!0x1){if(_0x1909d5&&!_0x22b56d['_isMotionReduced']()&&_0x1b10ca['length'])return this['_view']['chatHeader']['label']='',void this['_animateConversationTitle'](_0x1b10ca);this['_view']['chatHeader']['label']=_0x1b10ca;}['setLoadingMessage'](_0x33e577){this['_view']['chatFeed']['setLoadingMessage'](_0x33e577);}['clearLoadingMessage'](){this['_view']['chatFeed']['setLoadingMessage']('');}['_animateConversationTitle'](_0x49347a){let _0x25d715=0x0;clearInterval(this['_titleAnimationInterval']),this['_titleAnimationInterval']=setInterval(()=>{this['_view']['chatHeader']['label']=this['_view']['chatHeader']['label']+_0x49347a[_0x25d715],_0x25d715++,_0x25d715===_0x49347a['length']&&clearInterval(this['_titleAnimationInterval']);},0x1e);}['setIsMaximized'](_0x2b7ae6){this['_view']['chatHeader']['isMaximized']=_0x2b7ae6;}['prepareLoadingMessage'](_0x503676){return _0x503676['isWebSearchEnabled']&&_0x503676['isReasoningEnabled']?xt(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING'):_0x503676['isWebSearchEnabled']?xt(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH'):_0x503676['isReasoningEnabled']?xt(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REASONING'):xt(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR');}['_getInputPlaceholder'](_0x44b75a){return _0x44b75a?_0x44b75a['isWebSearchEnabled']&&_0x44b75a['isReasoningEnabled']?xt(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING'):_0x44b75a['isWebSearchEnabled']?xt(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH'):_0x44b75a['isReasoningEnabled']?xt(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING'):xt(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR'):xt(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR');}['populateSourceResourceBalloon'](_0x162917,_0x3bc5aa,_0xab0575,_0x20b8d2){this['_view']['populateSourceResourceBalloon'](_0x162917,_0x3bc5aa,_0xab0575,_0x20b8d2);}['closeSourceResourceBalloon'](_0x195284){this['_view']['closeSourceResourceBalloon'](_0x195284);}['setPromptInputValue'](_0x329ccb){this['_view']['chatControls']['setPromptInputValue'](_0x329ccb);}['focusPromptInput'](_0x560440=!0x1){this['_view']['chatControls']['focusPromptInput'](_0x560440);}['scrollFeedToSuggestion'](_0x21e85a,_0x5b5a68){this['_view']['chatFeed']['scrollToSuggestion'](_0x21e85a,_0x5b5a68);}['startAutoScroll'](){this['_view']['chatFeed']['startAutoScroll']();}['disableControls'](){this['_view']['chatControls']['isDisabled']=!0x0;}['enableControls'](){this['_view']['chatControls']['isDisabled']=!0x1;}}class AIChatHistorySectionListView extends _0x22b56d['ListView']{['sections'];constructor(_0x760c8e,_0x41448d){super(_0x760c8e),this['sections']=_0x41448d,this['items']['addMany'](this['sections']),this['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__sections']}});}['filter'](_0x126eef){let _0x259b9f=0x0,_0x3d7552=0x0;for(const _0x112f36 of this['sections']){const {resultsCount:_0x1f1ef2,totalItemsCount:_0xb18714}=_0x112f36['filter'](_0x126eef);_0x259b9f+=_0x1f1ef2,_0x3d7552+=_0xb18714;}return{'resultsCount':_0x259b9f,'totalItemsCount':_0x3d7552};}}class AIChatHistoryListView extends _0x22b56d['ListItemView']{['title'];['itemsViews'];['_itemsListView'];constructor(_0x27ffc6,{title:_0x41ec1b,items:_0x352b09}){super(_0x27ffc6);const _0x4b72ac=this['bindTemplate'];this['set']('isVisible',!0x0),this['title']=_0x41ec1b,this['itemsViews']=_0x352b09;const _0x37c5c4=new _0x22b56d['View'](_0x27ffc6);_0x37c5c4['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__section-title']},'children':[this['title']]}),this['_itemsListView']=new _0x22b56d['ListView'](_0x27ffc6),this['_itemsListView']['items']['addMany'](this['itemsViews']),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__section',_0x4b72ac['if']('isVisible','ck-hidden',_0x27cbf1=>!_0x27cbf1)]},'children':[_0x37c5c4,this['_itemsListView']]});}['filter'](_0x296722){const _0x3b051a=this['itemsViews']['length'];let _0x5b063c=0x0;for(const _0x5141d1 of this['itemsViews']){if(_0x296722){const _0x358740=_0x5141d1['isMatching'](_0x296722);_0x5141d1['isVisible']=!!_0x358740,_0x5141d1['highlightText'](_0x296722);}else _0x5141d1['isVisible']=!0x0,_0x5141d1['highlightText'](null);_0x5141d1['isVisible']&&_0x5b063c++;}return this['isVisible']=_0x5b063c>0x0,{'resultsCount':_0x5b063c,'totalItemsCount':_0x3b051a};}['getItem'](_0xd7a44d){return this['itemsViews']['find'](_0x246703=>_0x246703['id']===_0xd7a44d);}['removeItem'](_0x522e23){const _0x2bf419=this['itemsViews']['indexOf'](_0x522e23);-0x1!==_0x2bf419&&(this['itemsViews']['splice'](_0x2bf419,0x1),this['_itemsListView']['items']['remove'](_0x522e23));}}class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
_0x2ef563(_0x22b56d['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(_0xa24599,_0x2063a5){super(_0xa24599);const _0x1a9c10=this['bindTemplate'];this['set']('isEdit',!0x1),this['set']('isVisible',!0x0),this['set']('pinned',!!_0x2063a5['pinned']),this['set']('loadingState',null),this['id']=_0x2063a5['id'];const {title:_0x5d618e,createdAt:_0x479812,active:_0x359004=!0x1}=_0x2063a5;this['_titleView']=new _0x22b56d['HighlightedTextView'](),this['_titleView']['text']=_0x5d618e,this['_titleView']['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__item-title']}});const _0x4e0ce3=this['_createCheckView'](),_0x47a44b=this['_createPinButtonView'](_0xa24599),_0x353b97=this['_createMenuDropdownView'](),_0x43195a=this['_createEditInputView'](_0xa24599,_0x5d618e),_0x20a0e6=this['_createAcceptEditButtonView'](_0xa24599,_0x43195a),_0x1ddd80=this['_createCancelEditButtonView'](_0xa24599,_0x43195a);this['actions']=this['createCollection'](),this['mainContent']=this['createCollection'](),this['mainContent']['add'](this['_titleView']),this['actions']['add'](_0x47a44b),this['actions']['add'](_0x353b97),this['on']('change:isEdit',(_0x45e3a2,_0xeb61f1,_0x5625b5)=>{this['actions']['clear'](),this['mainContent']['clear'](),_0x5625b5?(this['actions']['add'](_0x20a0e6),this['actions']['add'](_0x1ddd80),this['mainContent']['add'](_0x43195a),_0x43195a['element']['focus']()):(this['actions']['add'](_0x47a44b),this['actions']['add'](_0x353b97),this['mainContent']['add'](this['_titleView']));}),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__item',_0x359004?'ck-ai-chat-history__item--active':'',_0x1a9c10['if']('isVisible','ck-hidden',_0x520d08=>!_0x520d08),_0x1a9c10['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',_0x1a9c10['if']('loadingState','ck-hidden',_0x4f2031=>!!_0x4f2031)]},'children':_0x359004?[_0x4e0ce3]:[]},{'tag':'div','attributes':{'class':['ck-ai-loader',_0x1a9c10['if']('loadingState','ck-hidden',_0x217ed1=>!_0x217ed1)]},'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',_0x1a9c10['if']('loadingState','ck-hidden',_0x3b842c=>!!_0x3b842c)]},'children':this['mainContent']},{'tag':'div','attributes':{'class':['ck-ai-loader__text',_0x1a9c10['if']('loadingState','ck-hidden',_0x42c586=>!_0x42c586)]},'children':[{'text':_0x1a9c10['to']('loadingState',_0x54e615=>_0x54e615?xt(this['locale'],AIChatHistoryListItemView['LOADING_LABELS'][_0x54e615]):'')}]}]},{'tag':'span','attributes':{'class':['ck-ai-chat-history__item-date']},'children':[_0x479812]}]},{'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'](_0x53c7d4){this['_titleView']['text']=pt(_0x53c7d4);}['updateLoadingState'](_0x19fdaf,_0x3f4534){this['set']('loadingState',_0x3f4534?_0x19fdaf:null);}['_createCheckView'](){const _0x39efa4=new _0x22b56d['IconView']();return _0x39efa4['set']({'content':_0x22b56d['IconCheck']}),_0x39efa4;}['_createPinButtonView'](_0x283d36){const _0x4d54e3=new _0x22b56d['ButtonView'](_0x283d36);return _0x4d54e3['set']({'label':xt(_0x283d36,'AI_CHAT_HISTORY_PIN_BUTTON'),'icon':_0x22b56d['IconPin'],'withText':!0x1,'tooltip':!0x0}),_0x4d54e3['bind']('isOn')['to'](this,'pinned'),_0x4d54e3['on']('execute',()=>{const _0x538ef7=!this['pinned'];this['fire']('setConversationPinned',{'id':this['id'],'pinned':_0x538ef7});}),_0x4d54e3;}['_createMenuDropdownView'](){const _0x3264f6=_0x22b56d['createDropdown'](this['locale'],LateFocusDropdownButtonView),_0xfa3f76=_0x3264f6['panelView']['children'];_0x3264f6['buttonView']['set']({'label':xt(this['locale'],'AI_CHAT_HISTORY_SHOW_MORE_ITEMS'),'icon':_0x22b56d['IconThreeHorizontalDots']}),_0x3264f6['panelPosition']='sw';const _0x3946bf=new _0x22b56d['ButtonView'](this['locale']);_0x3946bf['label']=xt(this['locale'],'AI_CHAT_HISTORY_EDIT_NAME'),_0x3946bf['withText']=!0x0,_0x3946bf['on']('execute',()=>{this['isEdit']=!0x0;});const _0x247307=new _0x22b56d['ButtonView'](this['locale']);_0x247307['label']=xt(this['locale'],'AI_CHAT_HISTORY_REMOVE'),_0x247307['withText']=!0x0,_0x247307['on']('execute',()=>{this['showConfirm'](xt(this['locale'],'AI_CHAT_HISTORY_REMOVE_CONFIRM'),this['element'])['then'](()=>{this['fire']('removeConversation',{'id':this['id']});});});const _0x53bc33=new _0x22b56d['ListView'](this['locale']),_0x44f632=new _0x22b56d['ListItemView'](this['locale']);_0x44f632['children']['add'](_0x3946bf);const _0xc98a83=new _0x22b56d['ListItemView'](this['locale']);return _0xc98a83['children']['add'](_0x247307),_0x53bc33['items']['addMany']([_0x44f632,_0xc98a83]),_0xfa3f76['add'](_0x53bc33),_0x3264f6;}['_createEditInputView'](_0x102e54,_0x6df318){const _0x47e55e=new _0x22b56d['InputTextView'](_0x102e54),_0x7c8e4=_0x47e55e['bindTemplate'];return _0x47e55e['value']=_0x6df318,_0x47e55e['extendTemplate']({'on':{'keydown':_0x7c8e4['to'](_0x1b7693=>{'Enter'==_0x1b7693['key']&&this['_commitEditInputValue'](_0x47e55e);})}}),_0x47e55e;}['_createAcceptEditButtonView'](_0xa7535d,_0x5ad896){const _0x4da831=new _0x22b56d['ButtonView'](_0xa7535d);return _0x4da831['set']({'icon':_0x22b56d['IconCheck'],'withText':!0x1,'tooltip':xt(_0xa7535d,'AI_CHAT_HISTORY_ACCEPT')}),_0x4da831['extendTemplate']({'attributes':{'class':['ck-confirm-view-submit']}}),_0x4da831['on']('execute',()=>{this['_commitEditInputValue'](_0x5ad896);}),_0x4da831;}['_commitEditInputValue'](_0x6f384){const _0x5df6d1=_0x6f384['element']['value']||'';this['_titleView']['text']=_0x5df6d1,this['isEdit']=!0x1,this['fire']('editConversationTitle',{'id':this['id'],'title':_0x5df6d1});}['_createCancelEditButtonView'](_0x1f241c,_0x2a0c00){const _0x5c6d51=new _0x22b56d['ButtonView'](_0x1f241c);return _0x5c6d51['set']({'icon':_0x22b56d['IconCancel'],'withText':!0x1,'tooltip':xt(_0x1f241c,'AI_CHAT_HISTORY_CANCEL')}),_0x5c6d51['extendTemplate']({'attributes':{'class':['ck-confirm-view-cancel']}}),_0x5c6d51['on']('execute',()=>{this['isEdit']=!0x1,_0x2a0c00['value']=this['_titleView']['text']||'',this['fire']('edit:cancel');}),_0x5c6d51;}['_createSpinnerView'](){const _0x57700f=new _0x8e7671('tiny');return _0x57700f['isVisible']=!0x0,_0x57700f;}['isMatching'](_0x2fcf01){return this['_titleView']&&'string'==typeof this['_titleView']['text']&&this['_titleView']['text']['match'](_0x2fcf01)?{'title':!0x0}:null;}['highlightText'](_0xb8b72){this['_titleView']['highlightText'](_0xb8b72);}}class AIChatHistoryView extends _0x22b56d['View']{['searchView'];['mainErrorView'];['skeletonView'];['emptyView'];['sectionsView'];['resizeButton'];constructor(_0x30436c,_0x5ed7a9){super(_0x30436c),this['set']('hasItems',!0x1),this['set']('isLoading',!0x0),this['set']('errorMessage',''),this['set']('isMaximized',!0x1),this['set']('isSearchViewVisible',!0x1),this['set']('isEmptyViewVisible',!0x1),this['set']('isMainErrorViewVisible',!0x1);const _0x35ca15=new _0x22b56d['FormHeaderView'](_0x30436c,{'label':xt(_0x30436c,'AI_CHAT_HISTORY_HEADING'),'icon':_0x22b56d['IconAIHistory'],'class':'ck-ai-header\x20ck-ai-header_history'});_0x5ed7a9&&(this['resizeButton']=Rt(_0x30436c,this),_0x35ca15['children']['add'](this['resizeButton'])),this['sectionsView']=new AIChatHistorySectionListView(_0x30436c,[]),this['sectionsView']['delegate'](..._0x2196ec)['to'](this),this['mainErrorView']=this['_createErrorView'](),this['skeletonView']=this['_createSkeletonView'](),this['emptyView']=this['_createEmptyStateView'](),this['searchView']=this['_createSearchView'](),this['mainErrorView']['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isMainErrorViewVisible','ck-hidden',_0x2c536d=>!_0x2c536d)]}}),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':[_0x35ca15,{'tag':'div','attributes':{'class':['ck-ai-chat-history__content']},'children':[this['skeletonView'],this['mainErrorView'],this['emptyView'],this['searchView']]}]});}['_updateViewVisibility'](){this['isSearchViewVisible']=!this['isLoading']&&this['hasItems'],this['isEmptyViewVisible']=!this['isLoading']&&!this['hasItems']&&!this['errorMessage'],this['isMainErrorViewVisible']=!this['isSearchViewVisible']&&!!this['errorMessage'];}['_createSearchView'](){const _0x3e43ba=new _0x22b56d['SearchTextView'](this['locale'],{'filteredView':this['sectionsView'],'queryView':{'label':xt(this['locale'],'AI_CHAT_HISTORY_SEARCH_LABEL')},'infoView':{'text':{'notFound':{'primary':_0x149f57=>xt(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY',_0x149f57),'secondary':xt(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY')}}}}),_0x27457e=this['_createErrorView']();return _0x27457e['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('errorMessage','ck-hidden',_0x4f4517=>!_0x4f4517)]}}),_0x3e43ba['on']('render',()=>{_0x3e43ba['children']['add'](_0x27457e,0x1);}),_0x3e43ba['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isSearchViewVisible','ck-hidden',_0x1525b0=>!_0x1525b0)]}}),_0x3e43ba;}['_createSkeletonView'](){const _0xb31720=new AISkeletonView(this['locale'],_0x469faf['aiHistory']);return _0xb31720['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isLoading','ck-hidden',_0x4763b2=>!_0x4763b2)]}}),_0xb31720;}['_createErrorView'](){const _0x28fdd2=new _0x22b56d['View'](this['locale']),_0x408f5c=new _0x22b56d['ButtonView'](this['locale']);_0x408f5c['set']({'withText':!0x1,'icon':_0x22b56d['IconCancel'],'class':'ck-ai-notification_error__dismiss-button'}),_0x408f5c['bind']('isVisible')['to'](this,'hasItems',_0x29d903=>!!_0x29d903),_0x408f5c['on']('execute',()=>{this['errorMessage']='';});const _0x33ded5=this['bindTemplate'];return _0x28fdd2['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error']},'children':[{'tag':'p','children':[{'text':_0x33ded5['to']('errorMessage')}]},_0x408f5c]}),_0x28fdd2;}['_createEmptyStateView'](){const _0x415aef=new _0x22b56d['ButtonView'](this['locale']);_0x415aef['set']({'label':xt(this['locale'],'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':_0x22b56d['IconPlus'],'class':'ck-ai-chat__start-conversation'}),_0x415aef['on']('execute',()=>{this['fire']('openChat');});const _0x552253=new _0x22b56d['View'](this['locale']);return _0x552253['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__empty',this['bindTemplate']['if']('isEmptyViewVisible','ck-hidden',_0x43368e=>!_0x43368e)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-history__empty-message']},'children':[xt(this['locale'],'AI_CHAT_HISTORY_EMPTY_MESSAGE')]},_0x415aef]}),_0x552253;}['_createListItemViews'](_0xa84445,_0x1d5d95){const _0x4027fe=[];for(const _0x542442 of _0xa84445){const _0x4d9185=new AIChatHistoryListItemView(_0x1d5d95,_0x542442);_0x4d9185['delegate'](..._0x2196ec)['to'](this),_0x4027fe['push'](_0x4d9185);}return _0x4027fe;}['updateHistoryItemsWithCategories'](_0x26d6f6){const _0x58e01f=this['locale']||'en',_0x3db961=[];for(const _0x2692e8 of _0x26d6f6){const _0x158e50=this['_createListItemViews'](_0x2692e8['items'],_0x58e01f);_0x3db961['push'](new AIChatHistoryListView(_0x58e01f,{'title':_0x2692e8['title'],'items':_0x158e50}));}this['sectionsView']['sections']=_0x3db961,this['sectionsView']['items']['clear'](),this['sectionsView']['items']['addMany'](_0x3db961),this['hasItems']=_0x26d6f6['some'](_0x2e30b5=>_0x2e30b5['items']['length']>0x0),this['_refreshSearch']();}['removeHistoryItem'](_0xe4fc0){for(const _0x2b98e5 of this['sectionsView']['sections']){const _0x5a5252=_0x2b98e5['getItem'](_0xe4fc0);if(_0x5a5252){if(_0x2b98e5['removeItem'](_0x5a5252),0x0===_0x2b98e5['itemsViews']['length']){const _0x58805e=this['sectionsView']['sections']['indexOf'](_0x2b98e5);-0x1!==_0x58805e&&(this['sectionsView']['sections']['splice'](_0x58805e,0x1),this['sectionsView']['items']['remove'](_0x2b98e5));}this['hasItems']=this['sectionsView']['sections']['length']>0x0,this['_refreshSearch']();break;}}}['updateItemTitle'](_0x572b04,_0x57acc6){for(const _0x39e456 of this['sectionsView']['sections']){const _0xe01cf7=_0x39e456['getItem'](_0x572b04);if(_0xe01cf7){_0xe01cf7['updateTitle'](_0x57acc6);break;}}}['updateItemLoadingState'](_0x115a4d,_0x59b0af,_0x5377fa){for(const _0x5ee057 of this['sectionsView']['sections']){const _0x144255=_0x5ee057['getItem'](_0x115a4d);if(_0x144255){_0x144255['updateLoadingState'](_0x59b0af,_0x5377fa);break;}}}['_refreshSearch'](){if(this['hasItems']){const _0x5e9f58=this['searchView']['queryView']['fieldView']?.['element']?.['value']||'';this['searchView']['search'](_0x5e9f58);}}}const _0x2196ec=['showConversationHistory','removeConversation','editConversationTitle','setConversationPinned','selectConversation','openChat','resizeTabs'];class AIChatHistoryUI extends _0x22b56d['ContextPlugin']{static get['requires'](){return[_0x32d0d0];}['_historyView'];static get['pluginName'](){return'AIChatHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xbf3595){super(_0xbf3595);const _0x528a31=this['context']['plugins']['get']('AITabs');this['_historyView']=new AIChatHistoryView(this['context']['locale'],_0x528a31['showResizeButton']),this['_historyView']['delegate'](..._0x2196ec)['to'](this),_0x528a31['view']['addTab']({'id':'history','buttonLabel':xt(this['context']['locale'],'AI_CHAT_HISTORY_HEADING'),'buttonIcon':_0x22b56d['IconAIHistory'],'order':0x0,'content':this['_historyView']});}['removeHistoryItem'](_0xc0c709){this['_historyView']['removeHistoryItem'](_0xc0c709);}['updateItems'](_0x1f117f){this['_historyView']['updateHistoryItemsWithCategories'](_0x1f117f);}['updateItemTitle'](_0x5defa4,_0x47836c){this['_historyView']['updateItemTitle'](_0x5defa4,_0x47836c);}['updateItemLoadingState'](_0xa27e69,_0x4fd4ca,_0x1c8f3e){this['_historyView']['updateItemLoadingState'](_0xa27e69,_0x4fd4ca,_0x1c8f3e);}['setLoadingSkeleton'](_0x1b3c74){this['_historyView']['isLoading']=_0x1b3c74;}['showError'](_0x2c2344){this['_historyView']['errorMessage']=_0x2c2344;}['hideError'](){this['_historyView']['errorMessage']='';}['setIsMaximized'](_0x249d4b){this['_historyView']['isMaximized']=_0x249d4b;}}class AIChatHistoryItem extends _0x22b56d['ObservableMixin'](){['id'];['createdAt'];constructor({id:_0x5505ce,title:_0x3b3c38,createdAt:_0x5abec2,updatedAt:_0x107399,pinned:_0x56610b}){super(),this['id']=_0x5505ce,this['createdAt']=new Date(_0x5abec2),this['set']('title',_0x3b3c38),this['set']('updatedAt',_0x107399?new Date(_0x107399):null),this['set']('pinned',_0x56610b||!0x1);}['updateTitle'](_0x513659){this['set']('title',pt(_0x513659)),this['updatedAt']=new Date();}['updatePinned'](_0x224067){this['set']('pinned',_0x224067),this['updatedAt']=new Date();}}class AIChatHistoryConversations extends _0x22b56d['EmitterMixin'](){['items']=[];['connector'];['group'];constructor({connector:_0x51ba6d,group:_0x5b271a}){super(),this['connector']=_0x51ba6d,this['group']=_0x5b271a;}async['init'](){try{const _0x1823a3=this['connector']['fetchConversations'](this['group']),_0xfe6a7f=await _0x1823a3['getConversations']();this['loadItems'](_0xfe6a7f);}catch(_0x3aff29){this['fire']('error',{'error':_0x3aff29,'operation':'init'});}}['addItem'](_0x2f7d11){this['items']['push'](_0x2f7d11);}async['removeItem'](_0x48b4be){const _0x4d4e7b=this['items']['findIndex'](_0x18c41b=>_0x18c41b['id']===_0x48b4be);if(-0x1===_0x4d4e7b)return!0x1;try{return await this['connector']['deleteConversation'](_0x48b4be)['execute'](),this['items']['splice'](_0x4d4e7b,0x1),this['fire']('itemRemoved',{'itemId':_0x48b4be}),!0x0;}catch(_0x53e1c4){return this['fire']('error',{'error':_0x53e1c4,'operation':'removeItem','itemId':_0x48b4be}),!0x1;}}['getItem'](_0x41b485){return this['items']['find'](_0x26cea9=>_0x26cea9['id']===_0x41b485);}async['updateItemTitle'](_0x2670e9,_0x393348){const _0x7445ac=this['getItem'](_0x2670e9);if(!_0x7445ac)return!0x1;try{return await this['connector']['updateConversation'](_0x2670e9,{'title':_0x393348})['getResult'](),_0x7445ac['updateTitle'](_0x393348),this['fire']('itemUpdated',{'itemId':_0x2670e9,'updates':{'title':_0x393348}}),!0x0;}catch(_0x41be51){return this['fire']('error',{'error':_0x41be51,'operation':'updateItemTitle','itemId':_0x2670e9}),!0x1;}}async['updateItemPinned'](_0x101921,_0x229b14){const _0x2b876a=this['getItem'](_0x101921);if(!_0x2b876a)return!0x1;try{return await this['connector']['updateConversation'](_0x101921,{'pinned':_0x229b14})['getResult'](),_0x2b876a['updatePinned'](_0x229b14),this['fire']('itemUpdated',{'itemId':_0x101921,'updates':{'pinned':_0x229b14}}),!0x0;}catch(_0x3eaba1){return this['fire']('error',{'error':_0x3eaba1,'operation':'updateItemPinned','itemId':_0x101921}),!0x1;}}['loadItems'](_0x10659f){try{this['items']=[],_0x10659f['map'](_0x3bcdf5=>{this['addItem'](new AIChatHistoryItem(_0x3bcdf5));}),this['fire']('itemsLoaded',{'items':[...this['items']]});}catch(_0xf3b780){this['fire']('error',{'error':_0xf3b780,'operation':'loadItems'});}}['getItems'](_0x507fcf={}){const _0x4c56c9=void 0x0!==_0x507fcf['pinned']&&_0x507fcf['pinned'],_0x44e984=_0x507fcf['from']?new Date(_0x507fcf['from']['getFullYear'](),_0x507fcf['from']['getMonth'](),_0x507fcf['from']['getDate']()):null,_0x463e14=_0x507fcf['to']?new Date(_0x507fcf['to']['getFullYear'](),_0x507fcf['to']['getMonth'](),_0x507fcf['to']['getDate']()):null;return this['items']['filter'](_0x5d2fce=>{if(_0x5d2fce['pinned']!==_0x4c56c9)return!0x1;if(_0x463e14){const _0x103de8=new Date(_0x5d2fce['createdAt']['getFullYear'](),_0x5d2fce['createdAt']['getMonth'](),_0x5d2fce['createdAt']['getDate']());return _0x44e984?_0x44e984['getTime']()===_0x463e14['getTime']()?_0x103de8['getTime']()===_0x44e984['getTime']():_0x103de8<_0x463e14&&_0x103de8>=_0x44e984:_0x103de8<_0x463e14;}return!0x0;});}}class AIChatHistoryController extends _0x22b56d['ContextPlugin']{['_aiConnector'];['_aiChatHistoryUi'];['_aiChatController'];static get['requires'](){return[AIConnector,AIChatController,AIChatHistoryUI,_0x32d0d0];}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 _0x1ea229=this['context']['plugins']['get'](_0x32d0d0);try{const _0x35324c=this['_aiChatController']['getGroupId']();this['history']=new AIChatHistoryConversations({'connector':this['_aiConnector'],'group':_0x35324c}),this['listenTo'](this['_aiChatHistoryUi'],'removeConversation',(_0x16e61f,_0x1c1d60)=>{this['_setItemLoading'](_0x1c1d60['id'],'remove'),this['_handleRemove'](_0x1c1d60['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'editConversationTitle',(_0x1fb203,_0x1eb08d)=>{this['_setItemLoading'](_0x1eb08d['id'],'rename'),this['_handleEditTitle'](_0x1eb08d['id'],_0x1eb08d['title']);}),this['listenTo'](this['history'],'itemUpdated',(_0x1fe052,_0x5c26b8)=>{void 0x0!==_0x5c26b8['updates']['title']&&this['_aiChatHistoryUi']['updateItemTitle'](_0x5c26b8['itemId'],_0x5c26b8['updates']['title']),void 0x0!==_0x5c26b8['updates']['pinned']&&this['_updateHistoryItemsUI'](),this['_clearItemLoading'](_0x5c26b8['itemId']);}),this['listenTo'](this['history'],'itemRemoved',(_0x31e5d8,_0x3a024d)=>{this['_aiChatController']['handleRemovedConversation'](_0x3a024d['itemId']),this['_aiChatHistoryUi']['removeHistoryItem'](_0x3a024d['itemId']),this['_clearItemLoading'](_0x3a024d['itemId']);}),this['listenTo'](this['history'],'itemsLoaded',()=>{this['_updateHistoryItemsUI']();}),this['listenTo'](this['history'],'error',(_0xddae,_0xf9fa2)=>{this['_handleHistoryErrorUI'](_0xf9fa2['error'],_0xf9fa2['operation'],_0xf9fa2['itemId']);}),this['listenTo'](this['_aiChatHistoryUi'],'selectConversation',(_0x155eda,_0x88d6ed)=>{this['_handleSelectConversation'](_0x88d6ed['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'setConversationPinned',(_0x30dff0,_0x7bffd2)=>{const _0x3d85c3=_0x7bffd2['pinned']?'pin':'unpin';this['_setItemLoading'](_0x7bffd2['id'],_0x3d85c3),this['_handleTogglePin'](_0x7bffd2['id'],_0x7bffd2['pinned']);}),this['listenTo'](this['_aiChatHistoryUi'],'openChat',()=>{_0x1ea229['view']['activateTab']('chat');}),this['listenTo'](this['_aiChatController'],'change:activeConversation',()=>{this['_updateHistoryItemsUI']();}),_0x1ea229['view']['on']('activateTab:history',()=>{this['_showConversationHistory']();}),this['listenTo'](_0x1ea229,'resizedTabs',(_0xcdd04e,_0xf8706d)=>{this['_setIsMaximized'](_0xf8706d);}),this['listenTo'](this['_aiChatHistoryUi'],'resizeTabs',()=>{_0x1ea229['resize']();});}catch(_0x489c60){this['_handleHistoryErrorUI'](_0x489c60,'init');}}async['_handleEditTitle'](_0x552dbf,_0x5ab908){await this['history']['updateItemTitle'](_0x552dbf,_0x5ab908);}async['_handleTogglePin'](_0x1cda1b,_0x3bb614){await this['history']['updateItemPinned'](_0x1cda1b,_0x3bb614);}async['_handleRemove'](_0x5311b6){await this['history']['removeItem'](_0x5311b6);}async['_handleSelectConversation'](_0x206f97){await this['_aiChatController']['loadConversation'](_0x206f97);}async['_showConversationHistory'](){this['_aiChatHistoryUi']['showError'](''),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x0),await this['history']['init'](),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_updateHistoryItemsUI'](){const _0x44d177=this['_aiChatController']['activeConversation']?.['id'],_0x3fea86=this['_getCategorizedItems']()['map'](_0x53e123=>({'title':_0x53e123['title'],'items':_0x53e123['items']['map'](_0x4244f2=>({'id':_0x4244f2['id'],'title':_0x4244f2['title']||xt(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),'createdAt':new Date(_0x4244f2['createdAt'])['toLocaleDateString'](),'active':_0x4244f2['id']===_0x44d177,'pinned':_0x4244f2['pinned']}))}));this['_aiChatHistoryUi']['updateItems'](_0x3fea86);}['_setItemLoading'](_0x1a7a5b,_0x1125ce){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x1a7a5b,_0x1125ce,!0x0);}['_clearItemLoading'](_0x501780){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x501780,null,!0x1);}['_handleHistoryErrorUI'](_0x386204,_0x505325,_0x418543){const _0x4fd477=this['_generateErrorMessage'](_0x505325,_0x418543);this['_aiChatHistoryUi']['showError'](_0x4fd477),_0x418543&&this['_clearItemLoading'](_0x418543),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_generateErrorMessage'](_0x9f2b11,_0x4e373f){const _0x206f9d=_0x4e373f?this['history']['getItem'](_0x4e373f):null,_0x469fb9=_0x206f9d?.['title']||xt(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION');switch(_0x9f2b11){case'updateItemTitle':return xt(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE',_0x469fb9);case'updateItemPinned':{const _0x544b81=xt(this['context']['locale'],_0x206f9d?.['pinned']?'AI_CHAT_HISTORY_UNPIN_ACTION':'AI_CHAT_HISTORY_PIN_ACTION');return xt(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED',[_0x544b81,_0x469fb9]);}case'removeItem':return xt(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM',_0x469fb9);case'init':case'loadItems':return xt(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS');default:return xt(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_GENERIC');}}['_getCategorizedItems'](){const _0x1460b9=new Date(),_0x3843ef=new Date(_0x1460b9['getFullYear'](),_0x1460b9['getMonth'](),_0x1460b9['getDate']()),_0xab107e=new Date(_0x3843ef);_0xab107e['setDate'](_0xab107e['getDate']()-0x1);const _0x76153d=new Date(_0x3843ef);_0x76153d['setDate'](_0x76153d['getDate']()-0xe);const _0x15e0c6=this['history']['getItems']({'pinned':!0x0}),_0x45b58c=this['history']['getItems']({'from':_0x3843ef,'to':_0x3843ef}),_0x3c4c64=this['history']['getItems']({'from':_0xab107e,'to':_0xab107e}),_0x1affb8=this['history']['getItems']({'from':_0x76153d,'to':_0xab107e}),_0x17ad5a=this['history']['getItems']({'to':_0x76153d}),_0x5dc644=[];return _0x15e0c6['length']>0x0&&_0x5dc644['push']({'title':xt(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_PINNED'),'items':_0x15e0c6}),_0x45b58c['length']>0x0&&_0x5dc644['push']({'title':xt(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_TODAY'),'items':_0x45b58c}),_0x3c4c64['length']>0x0&&_0x5dc644['push']({'title':xt(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_YESTERDAY'),'items':_0x3c4c64}),_0x1affb8['length']>0x0&&_0x5dc644['push']({'title':xt(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS'),'items':_0x1affb8}),_0x17ad5a['length']>0x0&&_0x5dc644['push']({'title':xt(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LATER'),'items':_0x17ad5a}),_0x5dc644;}['_setIsMaximized'](_0x943534){this['_aiChatHistoryUi']['setIsMaximized'](_0x943534);}}class AIChatHistory extends _0x22b56d['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 _0x22b56d['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(_0x390e16){super(_0x390e16),this['context']['config']['define']('ai.chat.context',{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this['context']['config']['define']('ai.chat.initialConversation','new');}async['addSelectionToChatContext'](){await this['context']['plugins']['get'](AIChatController)['addSelectionToChatContext']();}async['startConversation'](){await this['context']['plugins']['get'](AIChatController)['startConversation']();}async['sendMessage']({message:_0x206228,attributes:_0x4ea9f4}){await this['context']['plugins']['get'](AIChatController)['sendMessage']({'message':_0x206228,'attributes':_0x4ea9f4});}['removeSelectionFromChatContext'](){this['context']['plugins']['get'](AIChatController)['removeSelectionFromChatContext']();}['focusPromptInput'](){this['context']['plugins']['get'](AIChatController)['focusPromptInput']();}['registerToolDataCallback'](_0x1165c3){this['context']['plugins']['get'](AIChatController)['_registerToolDataCallback'](_0x1165c3);}}class AIChatShortcutView extends _0x22b56d['ButtonView']{['id'];constructor(_0x165a01,_0x3e8cef){super(_0x165a01);const {id:_0x2c1da6,type:_0x3e944f,icon:_0x488a6b}=_0x3e8cef;this['id']=_0x2c1da6,this['set']({'label':_0x3e8cef['label'],'withText':!0x0,'class':'ck-ai-chat-shortcut'}),this['extendTemplate']({'attributes':{'data-cke-ai-shortcut-id':_0x3e8cef['id']}}),_0x488a6b?this['icon']=_0x488a6b:'chat'===_0x3e944f?this['icon']=_0x22b56d['IconAIChat']:'review'===_0x3e944f?this['icon']=_0x22b56d['IconAIReview']:'translate'===_0x3e944f&&(this['icon']=_0x22b56d['IconAITranslate']);}}class AIChatShortcutsView extends _0x22b56d['View']{['listView'];constructor(_0x3464e2,_0x5b01ec){super(_0x3464e2);const _0x2fbda2=_0x5b01ec['map'](_0x185941=>{const _0xfe72e6=new _0x22b56d['ListItemView'](this['locale']),_0x4fdefd=new AIChatShortcutView(this['locale'],_0x185941);return _0xfe72e6['children']['add'](_0x4fdefd),_0x4fdefd['delegate']('execute')['to'](this),_0xfe72e6;});this['listView']=new _0x22b56d['ListView'](this['locale']),this['listView']['items']['addMany'](_0x2fbda2),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-shortcuts']},'children':[this['listView']]});}}const _0x4b917e='chat-shortcuts';var _0x43175a=function(_0x301b7b){return _0x301b7b['CHAT']='chat',_0x301b7b['REVIEW']='review',_0x301b7b['TRANSLATE']='translate',_0x301b7b;}({});class AIChatShortcuts extends _0x22b56d['ContextPlugin']{['_shortcuts'];['_shortcutsView'];['_aiChatUI'];static get['requires'](){return[AIChatUI];}static get['pluginName'](){return'AIChatShortcuts';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_aiChatUI']=this['context']['plugins']['get'](AIChatUI),this['_shortcuts']=this['context']['config']['get']('ai.chat.shortcuts')??[];const _0x9aa4db=this['context']['plugins']['get']('AIChatController');this['_shortcuts']['length']&&(this['_validateShortcuts'](),this['_aiChatUI']['on']('conversationCreated',()=>{_0x9aa4db['activeConversation']['isFromHistory']||this['_injectShortcuts']();}),this['listenTo'](_0x9aa4db,'interactionStarted',()=>{this['_removeShortcuts']();}));}['_validateShortcuts'](){const _0x1913b6=Object['values'](_0x43175a);this['_shortcuts']['forEach'](_0x482275=>{let _0xc5a663=!0x0;if(_0x482275['id']&&_0x482275['label']&&_0x1913b6['includes'](_0x482275['type'])?'chat'===_0x482275['type']&&(_0xc5a663='string'==typeof _0x482275['prompt']):_0xc5a663=!0x1,!_0xc5a663)throw new _0x22b56d['CKEditorError']('ai-chat-shortcuts-invalid-config',this['context'],{'shortcut':_0x482275});});}['_injectShortcuts'](){const _0xcd6ff6=this['context']['plugins']['get'](AIChatUI);this['_shortcutsView']=new AIChatShortcutsView(this['context']['locale'],this['_shortcuts']),this['_shortcutsView']['render'](),_0xcd6ff6['addFeedItemCustomElement'](this['_shortcutsView']['element'],_0x4b917e),this['_shortcutsView']['on']('execute',_0x15abf9=>{const _0x51771d=_0x15abf9['source']['id'];this['_executeShortcut'](_0x51771d);});}['_removeShortcuts'](){const _0x59476d=this['context']['plugins']['get'](AIChatUI);_0x59476d['hasFeedItem'](_0x4b917e)&&_0x59476d['removeFeedItem'](_0x4b917e),this['_shortcutsView']?.['destroy']();}['_executeShortcut'](_0x575926){const _0xed899a=this['_shortcuts']['find'](_0xeff3c5=>_0xeff3c5['id']===_0x575926),_0x1a908a=_0xed899a['type'];'chat'===_0x1a908a?this['_runChatShortcut'](_0xed899a):'review'===_0x1a908a?_0xed899a['check']?this['_runReviewShortcut'](_0xed899a):this['_switchTab']('reviewMode'):'translate'===_0x1a908a&&(_0xed899a['language']?this['_runTranslateShortcut'](_0xed899a):this['_switchTab']('translate'));}['_switchTab'](_0x9f7ee5){if(!this['context']['plugins']['has']('AITabs'))throw new _0x22b56d['CKEditorError']('ai-chat-shortcuts-ai-tabs-not-found',this['context'],{'tabName':_0x9f7ee5});this['context']['plugins']['get']('AITabs')['view']['activateTab'](_0x9f7ee5);}async['_runChatShortcut']({prompt:_0x56b32d,draftMode:_0x4e5fe9,useWebSearch:_0x5ecc6b=!0x1,useReasoning:_0x2a1cb8=!0x1,model:_0x3566cb}){const _0x2d15d5=this['context']['plugins']['get']('AIChat'),_0x21a7ca=this['context']['plugins']['get']('AIChatController'),_0x31eb18=_0x21a7ca['activeConversation'];let _0x5b6036;_0x5b6036=_0x3566cb?await _0x31eb18['chatModels']['getModel'](_0x3566cb):await _0x31eb18['chatModels']['getDefault'](),_0x5b6036&&await _0x31eb18['setModel'](_0x5b6036),_0x31eb18['setWebSearch'](_0x5ecc6b),_0x31eb18['setReasoning'](_0x2a1cb8),_0x21a7ca['addCurrentDocumentToChatContext'](),_0x4e5fe9?(this['_aiChatUI']['setPromptInputValue'](_0x56b32d),this['_aiChatUI']['focusPromptInput'](!0x0)):_0x2d15d5['sendMessage']({'message':_0x56b32d});}['_runReviewShortcut']({check:_0x4aa56a,model:_0x301435,prompt:_0x5477a8,params:_0x2b1eac}){if(!this['context']['plugins']['has']('AIReviewModeUI'))throw new _0x22b56d['CKEditorError']('ai-chat-shortcuts-review-mode-not-found',this['context']);this['_switchTab']('reviewMode');const _0x219c33={'id':_0x4aa56a,'isCustom':'custom'===_0x4aa56a};_0x301435&&_0x5477a8&&(_0x219c33['args']={'model':_0x301435,'prompt':_0x5477a8}),_0x2b1eac&&(_0x219c33['params']=_0x2b1eac),this['context']['plugins']['get']('AIReviewModeUI')['fire']('runReviewCheck',_0x219c33);}['_runTranslateShortcut']({language:_0x5c0b39}){if(!this['context']['plugins']['has']('AITranslateUI'))throw new _0x22b56d['CKEditorError']('ai-chat-shortcuts-translate-not-found',this['context']);this['_switchTab']('translate'),this['context']['plugins']['get']('AITranslateUI')['fire']('runReviewCheck',{'id':_0x5c0b39,'args':{'language':_0x5c0b39}});}}class _0x52abbb extends _0x22b56d['Command']{constructor(_0x4018cb){super(_0x4018cb);const _0x4d469a=_0x4018cb['plugins']['get']('AITabs')['view'];this['bind']('value')['to'](_0x4d469a,'isVisible'),this['isEnabled']=!0x0;}['execute'](){const _0x5b4716=this['editor']['plugins']['get']('AITabs')['view'];_0x5b4716['isVisible']=!_0x5b4716['isVisible'];}}class AIToggleButtonUI extends _0x22b56d['Plugin']{static get['requires'](){return[_0x32d0d0];}static get['pluginName'](){return'AIToggleButtonUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3cffe3=this['editor'];_0x3cffe3['commands']['add']('toggleAi',new _0x52abbb(_0x3cffe3)),_0x3cffe3['ui']['componentFactory']['add']('toggleAi',()=>{const _0x342545=this['_createAIUIButton'](_0x22b56d['ButtonView']);return _0x342545['set']({'tooltip':!0x0,'class':'ck-ai-toggle-button'}),_0x342545;}),_0x3cffe3['ui']['componentFactory']['add']('menuBar:toggleAi',()=>{const _0x21743e=this['_createAIUIButton'](_0x22b56d['MenuBarMenuListItemButtonView']);return _0x21743e['set']({'role':'menuitemcheckbox'}),_0x21743e;});}['_createAIUIButton'](_0x5170d7){const _0x4957d5=this['editor'],_0x4fae93=_0x4957d5['commands']['get']('toggleAi'),_0x35e9c7=new _0x5170d7(_0x4957d5['locale']);return _0x35e9c7['set']({'label':xt(_0x4957d5['locale'],'AI_TOGGLE_BUTTON_LABEL'),'icon':_0x22b56d['IconAIAskAI'],'isToggleable':!0x0}),_0x35e9c7['bind']('isEnabled')['to'](_0x4fae93),_0x35e9c7['bind']('isOn')['to'](_0x4fae93,'value',_0x4a1715=>!!_0x4a1715),this['listenTo'](_0x35e9c7,'execute',()=>{_0x4fae93['execute']();}),_0x35e9c7;}}const _0xd1a2d7=['applySuggestion','insertSuggestion','showNext','showPrevious'];class _0x85b5cf extends _0x22b56d['View']{['_errorView'];constructor(_0x42aeaa){super(_0x42aeaa),this['set']('_errorMessage',''),this['set']('_isErrorVisible',!0x1);}['showBlockingError'](_0x442714){this['showError'](_0x442714);}['showError'](_0xfa4ec1){this['_errorView']||(this['_errorView']=this['_createErrorView']()),this['_errorMessage']=_0xfa4ec1,this['_isErrorVisible']=!0x0;}['hideError'](){this['_isErrorVisible']=!0x1;}['_createErrorView'](){const _0x3d999a=new _0x22b56d['View'](this['locale']),_0x3b4ef9=new _0x22b56d['View'](this['locale']);return _0x3b4ef9['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__error-text']},'children':[{'text':this['bindTemplate']['to']('_errorMessage')}]}),_0x3d999a['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__error','ck-ai-balloon-error',this['bindTemplate']['if']('_isErrorVisible','ck-hidden',_0x3c8a01=>!_0x3c8a01)]},'children':[_0x3b4ef9]}),_0x3d999a;}}const _0x296843=0xa;class _0x36c97a extends _0x22b56d['ContextPlugin']{static get['requires'](){return[AIEditing];}static get['pluginName'](){return'AIBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['isOpen']=!0x1;['_currentConfig'];['_isUpdatingMarkers']=!0x1;['open'](_0x411df5){const {id:_0x2a02e2}=this['_currentConfig']??{};this['_currentConfig']=_0x411df5;const {id:_0x4a5843}=this['_currentConfig'];this['isOpen']&&_0x2a02e2===_0x4a5843?this['_updateDialog']():this['_showDialog']();}['close'](){const _0x357064=ta(this['context'])['plugins']['get']('Dialog');_0x357064['isOpen']&&this['_currentConfig']&&_0x357064['id']===this['_currentConfig']['id']&&_0x357064['hide']();}['_updateDialog'](){const _0x3d0761=ta(this['context'])['plugins']['get']('Dialog'),{icon:_0x3ee43d,title:_0x4d89d4}=this['_currentConfig'];_0x3d0761['view']?.['headerView']&&(_0x3d0761['view']['headerView']['label']=_0x4d89d4,_0x3d0761['view']['headerView']['iconView']&&_0x3ee43d&&(_0x3d0761['view']['headerView']['iconView']['content']=_0x3ee43d)),this['_isUpdatingMarkers']=!0x0,this['_showFakeVisualSelection'](),this['_isUpdatingMarkers']=!0x1,_0x3d0761['view']?.['updatePosition']();}['_showFakeVisualSelection'](){this['context']['plugins']['get'](AIEditing)['showFakeVisualSelection'](this['_currentConfig']['ranges'],'ai-balloon-'+this['_currentConfig']['index'],!0x0,!0x0);}['_hideFakeVisualSelection'](_0x186b97){this['context']['plugins']['get'](AIEditing)['hideFakeVisualSelection']('ai-balloon-'+_0x186b97);}['_showDialog'](){const _0x95b5b4=ta(this['context'])['plugins']['get']('Dialog'),{id:_0x14aff9,title:_0x4ab594,icon:_0x1e1d4b,class:_0x164799,mainView:_0x2ae66d}=this['_currentConfig'];_0x2ae66d['delegate'](..._0xd1a2d7)['to'](this),_0x95b5b4['show']({'title':_0x4ab594,'icon':_0x1e1d4b,'hasCloseButton':!0x0,'id':_0x14aff9,'position':this['_calculateDialogPosition']['bind'](this),'className':'ck-ai-balloon\x20'+(_0x164799||''),'content':_0x2ae66d,'onShow':_0xb025b1=>{this['_showFakeVisualSelection'](),this['_setupFakeVisualSelectionMarkerRemovalListener']();const _0x403c4d=this['_getSelectionElements']();_0x403c4d&&_0x403c4d[0x0]&&_0x22b56d['scrollViewportToShowTarget']({'target':_0x403c4d[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this['isOpen']=!0x0,_0xb025b1['once']('hide',()=>{this['fire']('beforeDialogClosed',{'id':_0x14aff9});},{'priority':'high'});},'onHide':()=>{this['_hideFakeVisualSelection'](this['_currentConfig']['index']),this['_cleanupFakeVisualSelectionMarkerRemovalListener'](),this['fire']('dialogClosed',{'id':_0x14aff9}),this['isOpen']=!0x1;}});}['_calculateDialogPosition'](_0x595c94,_0x5e2bc4){if(!_0x5e2bc4)return null;const _0x4d968f=this['_getSelectionElements']();if(!_0x4d968f||0x0===_0x4d968f['length'])return{'left':Math['round'](_0x5e2bc4['left']+_0x5e2bc4['width']/0x2-_0x595c94['width']/0x2),'top':Math['round'](_0x5e2bc4['top']+_0x5e2bc4['height']/0x2-_0x595c94['height']/0x2)};const _0x8a8f00=Math['round'](_0x5e2bc4['left']+_0x5e2bc4['width']/0x2-_0x595c94['width']/0x2),_0x307daf=_0x4d968f['map'](_0x34985e=>new _0x22b56d['Rect'](_0x34985e)),_0x36c799=_0x595c94['height'];return{'left':_0x8a8f00,'top':this['_calculateOptimalTopPosition'](_0x307daf,_0x36c799,_0x5e2bc4)};}['_calculateOptimalTopPosition'](_0x49c473,_0x58eabe,_0x2b9a4d){const _0x388cc4=new _0x22b56d['Rect'](_0x22b56d['global']['window']),_0x3f07f5=_0x49c473['map'](_0x2040d8=>_0x2040d8['getVisible']())['filter'](_0x4c7a60=>_0x4c7a60),_0x209f10=_0x22b56d['Rect']['getBoundingRect'](_0x3f07f5);if(!_0x209f10)return Math['round'](_0x2b9a4d['top']+_0x2b9a4d['height']/0x2);const _0x209974=_0x388cc4['getIntersection'](_0x209f10);if(!_0x209974)return Math['round'](_0x2b9a4d['top']+_0x2b9a4d['height']/0x2);const _0x271f9e=_0x2b9a4d['getVisible'](),_0x628715=_0x271f9e&&_0x209f10['height']>_0x271f9e['height'],_0x5ccd07=_0x209974['top'],_0x23e15d=_0x209974['bottom'];if(_0x628715){const _0x57441e=(_0x271f9e||_0x388cc4)['height']/0x2-_0x58eabe/0x2,_0x341136=_0x5ccd07-_0x296843-_0x2b9a4d['top'],_0x352969=_0x2b9a4d['bottom']-_0x23e15d-_0x296843;return _0x341136>=_0x58eabe?Math['max'](_0x296843,_0x5ccd07-_0x58eabe-_0x296843):_0x352969>=_0x58eabe?_0x23e15d+_0x296843:Math['max'](_0x296843,_0x57441e);}const _0x48d71d=_0x5ccd07-_0x58eabe,_0xb2cd02=_0x2b9a4d['bottom']-_0x23e15d-_0x296843,_0x436195=_0x5ccd07-_0x296843-_0x2b9a4d['top'];let _0x5a5fa1;if(_0xb2cd02>=_0x58eabe)_0x5a5fa1=_0x23e15d+_0x296843;else{if(_0x436195>=_0x58eabe)_0x5a5fa1=_0x48d71d-_0x296843;else _0x5a5fa1=_0x5ccd07+_0x209f10['height']/0x2-_0x58eabe/0x2;}return _0x5a5fa1;}['_setupFakeVisualSelectionMarkerRemovalListener'](){const _0x2ee09f=ta(this['context']);this['listenTo'](_0x2ee09f['model']['document'],'change',()=>{if(!this['_isUpdatingMarkers']){for(const {name:_0x48a968,data:{newRange:_0x378aa1}}of _0x2ee09f['model']['document']['differ']['getChangedMarkers']())if(_0x48a968['startsWith'](_0x26d272+':')&&(_0x378aa1&&(_0x378aa1['start']['isEqual'](_0x378aa1['end'])||'$graveyard'==_0x378aa1['root']['rootName'])||null==_0x378aa1)){const _0x2c6482=xt(this['context']['locale'],'AI_BALLOON_SELECTION_REMOVED_ERROR');this['_currentConfig']['mainView']['showBlockingError'](_0x2c6482),this['fire']('selectionRemoved');}}});}['_cleanupFakeVisualSelectionMarkerRemovalListener'](){const _0x240644=ta(this['context']);this['_currentConfig']['mainView']['hideError'](),this['stopListening'](_0x240644['model']['document']);}['_getSelectionElements'](){const _0x33d45d=ta(this['context']);return _0x21d323(_0x33d45d['editing'],[..._0x33d45d['model']['markers']['getMarkersGroup']('ai-selection'),..._0x33d45d['model']['markers']['getMarkersGroup']('ai-balloon-selection')]);}}class _0x3fbeba extends _0x22b56d['ToolbarView']{['copyButton'];['likeButton'];['dislikeButton'];['showChangesButton'];['_config'];constructor(_0x5d9328,_0x1e23c0={}){super(_0x5d9328),this['set']('isEnabled',!0x0),this['set']('isShowChangesOn',!0x1),this['_config']={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x1e23c0};const _0x16b1d5=!(this['_config']['showCopy']||this['_config']['showChanges']||this['_config']['showLike']||this['_config']['showDislike']||this['_config']['customView']?.['length']);this['class']=_0x16b1d5?'ck-ai-mini-toolbar\x20ck-hidden':'ck-ai-mini-toolbar',this['_config']['showCopy']&&(this['_setupCopyButton'](),this['items']['add'](this['copyButton'])),this['_config']['showChanges']&&(this['_setupShowChangesButton'](),this['items']['add'](this['showChangesButton'])),this['_setupRatingButtons'](),this['_config']['showLike']&&this['items']['add'](this['likeButton']),this['_config']['showDislike']&&this['items']['add'](this['dislikeButton']),this['_config']['customView']&&this['items']['addMany'](this['_config']['customView']);}['toggleShowChangesEnabled'](_0x61fb8d){this['showChangesButton']['isEnabled']=_0x61fb8d;}['_setupRatingButtons'](){this['likeButton']=new _0x22b56d['ButtonView'](this['locale']),this['likeButton']['set']({'icon':_0x22b56d['IconThumbUp'],'label':xt(this['locale'],'AI_MINI_TOOLBAR_LIKE'),'tooltip':!0x0}),this['likeButton']['bind']('isEnabled')['to'](this),this['likeButton']['on']('execute',()=>{this['fire']('like');}),this['dislikeButton']=new _0x22b56d['ButtonView'](this['locale']),this['dislikeButton']['set']({'icon':_0x22b56d['IconThumbDown'],'label':xt(this['locale'],'AI_MINI_TOOLBAR_DISLIKE'),'tooltip':!0x0}),this['dislikeButton']['bind']('isEnabled')['to'](this),this['dislikeButton']['on']('execute',()=>{this['fire']('dislike');});}['_setupCopyButton'](){this['copyButton']=new _0x22b56d['ButtonView'](this['locale']),this['copyButton']['set']({'icon':_0x22b56d['IconCopy'],'label':xt(this['locale'],'AI_MINI_TOOLBAR_COPY'),'class':'ck-ai-mini-toolbar-copy-button','tooltip':!0x0}),this['copyButton']['bind']('isEnabled')['to'](this);const _0x462a76=new _0x22b56d['IconView']();_0x462a76['set']({'content':_0x22b56d['IconCheck']}),_0x462a76['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'](_0x462a76);}['_setupShowChangesButton'](){this['showChangesButton']=new _0x22b56d['ButtonView'](this['locale']),this['showChangesButton']['set']({'icon':_0x22b56d['IconShowChangesOff'],'label':xt(this['locale'],'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':'full'==this['_config']['showChanges'],'tooltip':'full'!=this['_config']['showChanges'],'class':'ck-ai-button-tertiary'}),this['showChangesButton']['bind']('isOn')['to'](this,'isShowChangesOn'),this['showChangesButton']['bind']('isEnabled')['to'](this),this['showChangesButton']['bind']('icon')['to'](this,'isShowChangesOn',_0x9ca6b=>_0x9ca6b?_0x22b56d['IconShowChangesOn']:_0x22b56d['IconShowChangesOff']),this['showChangesButton']['on']('execute',()=>{this['fire']('toggleShowChanges');});}}class AIChatBalloonView extends _0x85b5cf{['children'];['nextButtonView'];['previousButtonView'];['focusCycler'];['_focusables'];['_focusTracker'];['_keystrokes'];['_config'];['_streamableContentView'];['_toolbarContainerView'];['_partToolbarView'];['_stateView'];['_miniToolbarView'];constructor(_0x1aed64,_0x3fa982){super(_0x1aed64);const _0x4e6c4f=this['bindTemplate'];this['set']('showDiff',!0x1),this['set']('_state','pending'),this['_focusTracker']=new _0x22b56d['FocusTracker'](),this['_keystrokes']=new _0x22b56d['KeystrokeHandler'](),this['_focusables']=this['createCollection'](),this['focusCycler']=new _0x22b56d['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_config']=_0x3fa982,this['nextButtonView']=this['_createNextButtonView'](),this['previousButtonView']=this['_createPreviousButtonView'](),this['_streamableContentView']=new AISuggestionStreamableContentView(_0x1aed64),this['_partToolbarView']=new AISuggestionContentPartToolbarView(_0x1aed64,_0x3fa982['availableActions']),this['_partToolbarView']['delegate']('applySuggestion','insertSuggestion','rejectSuggestion')['to'](this),this['_togglePartToolbarButtonsVisibility'](_0x3fa982),this['_stateView']=new AISuggestionContentPartStateView(_0x1aed64),this['_stateView']['isVisible']=!0x1,this['_miniToolbarView']=new _0x3fbeba(_0x1aed64,{'showChanges':'full'}),this['_miniToolbarView']['bind']('isShowChangesOn')['to'](this,'showDiff'),this['_miniToolbarView']['on']('toggleShowChanges',()=>{this['fire']('toggleSuggestionDisplayMode');}),this['_toolbarContainerView']=new AIChatBalloonToolbarContainerView(_0x1aed64,[this['_partToolbarView'],this['_stateView'],this['_miniToolbarView']]),this['children']=this['createCollection']([this['_streamableContentView'],this['_toolbarContainerView']]),this['on']('change:_state',(_0x4a5fa9,_0x40a3c0,_0x1e12ba,_0x23cfd6)=>{let _0x2a3717,_0x2d5a73;'pending'===_0x23cfd6?(_0x2a3717=this['_partToolbarView'],_0x2d5a73=this['_stateView']):(_0x2a3717=this['_stateView'],_0x2d5a73=this['_partToolbarView']),this['_stateView']['setState'](_0x1e12ba),_0x2a3717['isVisible']=!0x1,_0x2d5a73['isVisible']=!0x0;}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-balloon-main',_0x4e6c4f['to']('_state',_0x22a711=>'ck-ai-chat-balloon-main_state_'+_0x22a711)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_togglePartToolbarButtonsVisibility'](_0x3fa982);});}['render'](){super['render'](),this['nextButtonView']['render'](),this['previousButtonView']['render'](),this['_focusTracker']['add'](this['element']),this['_focusTracker']['add'](this['nextButtonView']),this['_focusTracker']['add'](this['previousButtonView']),this['_focusTracker']['add'](this['_miniToolbarView']),this['_focusTracker']['add'](this['_partToolbarView']),this['_keystrokes']['listenTo'](this['element']),this['_keystrokes']['listenTo'](this['nextButtonView']['element']),this['_keystrokes']['listenTo'](this['previousButtonView']['element']),this['_focusables']['addMany']([this['nextButtonView'],this['previousButtonView'],this['_partToolbarView'],this['_miniToolbarView']]);}['destroy'](){super['destroy'](),this['previousButtonView']['destroy'](),this['nextButtonView']['destroy']();}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}async['updateContent'](_0x253de2){_0x253de2?.['keepErrors']||this['hideError'](),await this['_streamableContentView']['update'](_0x253de2);}['setState'](_0x58fd4d){this['_state']=_0x58fd4d;}['showError'](_0x368b6e){super['showError'](_0x368b6e),this['children']['has'](this['_errorView'])||this['children']['add'](this['_errorView'],0x0);}['hideError'](){this['_isErrorVisible']&&(super['hideError'](),this['togglePartToolbarEnabled'](!0x0));}['showBlockingError'](_0x44f31e){super['showBlockingError'](_0x44f31e),this['togglePartToolbarEnabled'](!0x1);}['toggleRotatorButtonsVisibility'](_0xd350a8){this['nextButtonView']['isVisible']=this['previousButtonView']['isVisible']=_0xd350a8;}['togglePartToolbarEnabled'](_0xd67439){this['_partToolbarView']['isEnabled']=_0xd67439;}['_togglePartToolbarButtonsVisibility']({showApplyButton:_0x1586af,showSuggestButton:_0xf767d1}){_0x1586af=_0x1586af&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0xf767d1=_0xf767d1&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_partToolbarView']['setButtonsVisibility']({'showApplyButton':_0x1586af,'showSuggestButton':_0xf767d1});}['_createNextButtonView'](){const _0x327fb4=new _0x22b56d['ButtonView'](this['locale']);return _0x327fb4['set']({'icon':_0x22b56d['IconChevronDown'],'label':xt(this['locale'],'AI_BALLOON_NEXT_LABEL'),'isVisible':!0x0}),_0x327fb4['on']('execute',()=>{this['fire']('showNext');}),_0x327fb4;}['_createPreviousButtonView'](){const _0x471c6e=new _0x22b56d['ButtonView'](this['locale']);return _0x471c6e['set']({'icon':_0x22b56d['IconChevronUp'],'label':xt(this['locale'],'AI_BALLOON_PREVIOUS_LABEL'),'isVisible':!0x0}),_0x471c6e['on']('execute',()=>{this['fire']('showPrevious');}),_0x471c6e;}}class AIChatBalloonToolbarContainerView extends _0x22b56d['View']{constructor(_0x3a66b2,_0x16523c){super(_0x3a66b2),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-balloon__toolbar-container']},'children':_0x16523c});}}class AIChatBalloon extends _0x22b56d['Plugin']{static get['requires'](){return[_0x22b56d['Dialog'],_0x36c97a];}static get['pluginName'](){return'AIChatBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_chatBalloonView'];constructor(_0x4de7fe){super(_0x4de7fe),this['set']('showDiff',!0x1);}['open'](_0x4054b5){const _0x98f2ef=this['editor'];this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),_0x98f2ef['plugins']['get']('AIBalloon')['open']({..._0x4054b5,'id':'aiChatBalloon','class':'ck-ai-chat-balloon','mainView':this['_chatBalloonView']}),this['_toggleRotatorButtonsInDialogHeader'](_0x4054b5['showRotator']),this['_chatBalloonView']['togglePartToolbarEnabled'](!_0x4054b5['areActionsDisabled']),this['_restoreDefaultViewFocus']();}['close'](){this['editor']['plugins']['get']('AIBalloon')['close']();}['updateContent'](_0x3379e4){return this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),this['_chatBalloonView']['updateContent'](_0x3379e4);}['setState'](_0x431d4c){this['_chatBalloonView']&&this['_chatBalloonView']['setState'](_0x431d4c);}['_createChatBalloonView'](){const _0x5ba18a=this['editor'],_0x2e6402=_0x5ba18a['plugins']['get']('AIBalloon'),_0x489ead=_0x5ba18a['commands']['get']('trackChanges');let _0x984a1=_0x5ba18a['config']['get']('ai.availableReplyActions')||[..._0xc7a910];_0x5ba18a['plugins']['has']('TrackChanges')||(_0x984a1=_0x984a1['filter'](_0x177005=>'insertSuggestion'!=_0x177005));const _0x5a3a74=new AIChatBalloonView(_0x5ba18a['locale'],{'availableActions':_0x984a1,'showApplyButton':!0x0,'showSuggestButton':!!_0x489ead});return _0x5a3a74['bind']('showDiff')['to'](this),_0x5a3a74['delegate'](..._0x9ac31b)['to'](this),_0x5a3a74['delegate']('showPrevious','showNext')['to'](this),_0x2e6402['delegate']('dialogClosed')['to'](this),_0x5a3a74['on']('applySuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x5a3a74['on']('insertSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x5a3a74['on']('rejectSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x489ead&&_0x5a3a74['bind']('isTrackChangesOn')['to'](_0x489ead,'value'),_0x5a3a74['render'](),_0x5a3a74;}['_toggleRotatorButtonsInDialogHeader'](_0x1ab43f){const _0x53177f=this['editor'],_0x56df6e=_0x53177f['plugins']['get']('Dialog')['view']['headerView']['children'];this['_chatBalloonView']['toggleRotatorButtonsVisibility'](_0x1ab43f),_0x56df6e['has'](this['_chatBalloonView']['previousButtonView'])||(_0x56df6e['addMany']([this['_chatBalloonView']['previousButtonView'],this['_chatBalloonView']['nextButtonView']],0x0),_0x53177f['plugins']['get']('AIBalloon')['once']('beforeDialogClosed',()=>{_0x56df6e['remove'](this['_chatBalloonView']['previousButtonView']),_0x56df6e['remove'](this['_chatBalloonView']['nextButtonView']);}));}['_restoreDefaultViewFocus'](){this['_chatBalloonView']['focus']();}}class AIEditorIntegration extends _0x22b56d['Plugin']{static get['requires'](){return[AIToggleButtonUI,AIChatBalloon,SuggestionsConversion];}static get['pluginName'](){return'AIEditorIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function _0x30a2f7(_0x5032e8){const {editor:_0x402646,action:_0x21c3cc,withText:_0x217c43=!0x1,withIcon:_0x23d6e=!0x0,isInDropdown:_0x3b45b6=!0x0,shouldPreventFocus:_0x5cb071=!0x1}=_0x5032e8;return()=>{const _0x21568a=_0x402646['locale'],_0x2bed8c=new _0x22b56d['ButtonView'](_0x21568a),_0x48677c=_0x2bed8c['bindTemplate'];_0x3b45b6&&_0x2bed8c['extendTemplate']({'on':{'mouseenter':_0x48677c['to'](()=>{_0x5cb071&&_0x5cb071()||_0x2bed8c['focus']();})}});const _0x2f12b6=_0x21c3cc['icon']??_0x21c3cc['parent']?.['icon'];return _0x2bed8c['set']({'label':_0x21c3cc['displayedPrompt'],'withText':_0x217c43,'role':'menuitem','icon':_0x23d6e?_0x2f12b6??_0x22b56d['IconAIQuickActions']:void 0x0,'tooltip':!_0x217c43,'class':'ck-ai-quick-actions-button','isEnabled':_0x21c3cc['isEnabled']}),_0x2bed8c['on']('execute',()=>{_0x402646['editing']['view']['focus'](),_0x402646['commands']['execute']('aiQuickAction',_0x21c3cc);}),_0x2bed8c;};}class DropdownMenuButtonWithHighlightView extends _0x22b56d['ListItemButtonView']{['arrowView'];constructor(_0x4c2cee,_0x43658f){super(_0x4c2cee,_0x43658f);const _0x4615e3=this['bindTemplate'];this['set']({'withText':!0x0,'role':'menuitem'}),this['arrowView']=this['_createArrowView'](),this['extendTemplate']({'attributes':{'class':['ck-dropdown-menu-list__nested-menu__button'],'aria-haspopup':!0x0,'aria-expanded':this['bindTemplate']['to']('isOn',_0x1eac29=>String(_0x1eac29)),'data-cke-tooltip-disabled':_0x4615e3['to']('isOn')},'on':{'mouseenter':_0x4615e3['to']('mouseenter')}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x5c064e=new _0x22b56d['IconView']();return _0x5c064e['content']=_0x22b56d['IconDropdownArrow'],_0x5c064e['extendTemplate']({'attributes':{'class':'ck-dropdown-menu-list__nested-menu__button__arrow'}}),_0x5c064e;}}class AIQuickActionsFilteredListView extends _0x22b56d['ListView']{['_allListItems'];['_allSearchableItems'];constructor(_0x344c65,_0x5dc137,_0x16d39e){super(_0x344c65),this['_allListItems']=_0x5dc137,this['_allSearchableItems']=_0x16d39e;}['filter'](_0x478059){if(!_0x478059)return this['items']['clear'](),this['items']['addMany'](this['_allListItems']),this['_clearHighlight'](),{'resultsCount':this['_allListItems']['length'],'totalItemsCount':this['_allListItems']['length']};const _0x2889a0=_0x478059['source']['toLowerCase']()['trim'](),_0x1dfaaa=this['_allSearchableItems']['filter'](_0x203535=>(_0x203535['groupLabel']?_0x203535['label']+'\x20('+_0x203535['groupLabel']+')':_0x203535['label'])['toLowerCase']()['includes'](_0x2889a0));return this['items']['clear'](),this['items']['addMany'](_0x1dfaaa['sort']((_0x250740,_0x130f0c)=>{const _0x3bd94a=_0x250740['groupLabel'],_0x3a8193=_0x130f0c['groupLabel'];return _0x3bd94a||_0x3a8193?_0x3bd94a?0x1:-0x1:0x0;})['map'](_0x4e83c3=>_0x4e83c3['item'])),this['_highlightQuery'](_0x2889a0,_0x1dfaaa),{'resultsCount':_0x1dfaaa['length'],'totalItemsCount':this['_allSearchableItems']['length']};}['_highlightQuery'](_0x57d11b,_0x5a6008){if(!_0x57d11b)return;const _0xcc3143=new RegExp(Ot(_0x57d11b),'gi');_0x5a6008['forEach'](_0x232dba=>{_0x232dba['highlightViews']&&_0x232dba['highlightViews']['forEach'](_0x501ef4=>{'function'==typeof _0x501ef4['highlightText']&&_0x501ef4['highlightText'](_0xcc3143);});});}['_clearHighlight'](){this['_allSearchableItems']['forEach'](_0x1fe3b3=>{_0x1fe3b3['highlightViews']&&_0x1fe3b3['highlightViews']['forEach'](_0x3b3e72=>{'function'==typeof _0x3b3e72['highlightText']&&_0x3b3e72['highlightText'](null);});});}}const _0x809a30='menu',_0x9dfd06='menuitem';class AIQuickActionsDropdownContentView extends _0x22b56d['View']{['_bodyCollection'];['optionsListView'];['_searchTextView']=null;['_allSearchableItems']=[];['children'];['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['_openNestedPanels']=new Set();['_hasSearch'];constructor(_0x515681,_0x5cda8b,_0x1b2eab,_0x57fc97,_0x45da6f=!0x1){const _0x5348b1=_0x515681['locale'];super(_0x5348b1),this['_bodyCollection']=_0x57fc97,this['_hasSearch']=_0x45da6f;const _0x176a32=this['_createListItems'](_0x515681,_0x5cda8b,_0x1b2eab);this['optionsListView']=new AIQuickActionsFilteredListView(_0x5348b1,_0x176a32,this['_allSearchableItems']),this['optionsListView']['role']=_0x809a30,this['optionsListView']['items']['addMany'](_0x176a32),this['focusTracker']=new _0x22b56d['FocusTracker'](),this['keystrokes']=new _0x22b56d['KeystrokeHandler'](),_0x45da6f&&(this['_searchTextView']=this['_createSearchTextView']()),this['_focusables']=_0x176a32,this['focusCycler']=new _0x22b56d['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes']}),_0x45da6f&&this['_searchTextView']&&this['focusCycler']['chain'](this['_searchTextView']['focusCycler']);const _0x4fa16a=_0x45da6f&&this['_searchTextView']?[this['_searchTextView']]:[this['optionsListView']];this['children']=new _0x22b56d['ViewCollection'](_0x4fa16a),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions','ck-rounded-corners'],'dir':_0x5348b1['uiLanguageDirection']},'children':this['children']});}['_createSearchTextView'](){return new _0x22b56d['SearchTextView'](this['locale'],{'filteredView':this['optionsListView'],'queryView':{'label':xt(this['locale'],'AI_QUICK_ACTIONS_SEARCH')},'class':'ck-ai-quick-actions-search','infoView':{'text':{'notFound':{'primary':xt(this['locale'],'AI_QUICK_ACTIONS_SEARCH_NOT_FOUND')}}}});}['_isSearchFocused'](){if(!this['_hasSearch']||!this['_searchTextView']||!this['_searchTextView']['queryView']['fieldView']['element'])return!0x1;const _0x488611=this['_searchTextView']['queryView']['fieldView']['element']['ownerDocument']?.['activeElement'];return this['_searchTextView']['queryView']['fieldView']['element']['contains'](_0x488611);}['_createListItems'](_0x4efff5,_0x206044,_0x52b209){const _0x44e4b7=new _0x22b56d['ViewCollection']();return _0x206044['forEach'](_0x386975=>{if('actions'in _0x386975){const {listItem:_0x3f243d}=this['_createActionGroupButton'](_0x4efff5,_0x386975,_0x52b209);_0x44e4b7['add'](_0x3f243d),_0x386975['actions']['forEach'](_0x1e243d=>{this['_createActionButton'](_0x4efff5,_0x1e243d,_0x386975['label'],_0x386975['icon']);const {listItem:_0x8b5e15,highlightViews:_0x140513}=this['_createSearchResultActionButton'](_0x4efff5,_0x1e243d,_0x386975['label'],_0x386975['icon']);this['_allSearchableItems']['push']({'item':_0x8b5e15,'label':_0x1e243d['displayedPrompt'],'groupLabel':_0x386975['label'],'highlightViews':_0x140513});});}else{const {listItem:_0x3ef3af}=this['_createActionButton'](_0x4efff5,_0x386975);_0x44e4b7['add'](_0x3ef3af);const _0x288006=_0x3ef3af['children']['first'];if(_0x288006){const {listItem:_0x557118,highlightViews:_0x1e0e57}=this['_createSearchResultActionButton'](_0x4efff5,_0x386975);this['_allSearchableItems']['push']({'item':_0x557118,'label':_0x288006['label']||'','highlightViews':_0x1e0e57});}}}),_0x44e4b7;}['_createActionButton'](_0x2d66b3,_0x295ec9,_0x2110eb,_0x38c4db){const _0x2a70c5=new _0x22b56d['ListItemView'](this['locale']);if(_0x2110eb&&_0x38c4db){const _0xa73442=new _0x22b56d['ButtonView'](this['locale']),_0x23c5d1=_0xa73442['bindTemplate'],_0x2fc23b=new _0x22b56d['HighlightedTextView']();_0x2fc23b['text']=_0x295ec9['displayedPrompt'];const _0x3ce5a9=new _0x22b56d['HighlightedTextView']();_0x3ce5a9['text']=_0x2110eb;const _0xc311b0=new _0x22b56d['IconView']();_0xc311b0['content']=_0x38c4db,_0xc311b0['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x42cd1f=new _0x22b56d['View'](this['locale']);_0x42cd1f['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__open-paren'},'children':[{'text':'\x20('}]});const _0x8b4110=new _0x22b56d['View'](this['locale']);return _0x8b4110['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__close-paren'},'children':[{'text':')'}]}),_0xa73442['set']({'label':_0x295ec9['displayedPrompt']+'\x20('+_0x2110eb+')','withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','tooltip':!0x1}),_0xa73442['setTemplate']({'tag':'button','attributes':{'class':['ck','ck-button','ck-button_with-text','ck-ai-quick-actions-button','ck-ai-quick-actions-button_with-group'],'type':'button','role':'menuitem','tabindex':'-1'},'children':[_0x2fc23b,_0x42cd1f,_0xc311b0,_0x3ce5a9,_0x8b4110],'on':{'mouseenter':_0x23c5d1['to'](()=>{this['_isSearchFocused']()||_0xa73442['focus']();}),'click':_0x23c5d1['to'](()=>{_0xa73442['fire']('execute');})}}),_0xa73442['on']('execute',()=>{_0x2d66b3['editing']['view']['focus'](),_0x2d66b3['commands']['execute']('aiQuickAction',_0x295ec9);}),_0x2a70c5['children']['add'](_0xa73442),{'listItem':_0x2a70c5,'highlightViews':[_0x2fc23b,_0x3ce5a9]};}{const _0x6505fd=new _0x22b56d['ButtonLabelWithHighlightView'](),_0x3c963b=new _0x22b56d['ButtonView'](this['locale'],_0x6505fd),_0x37fdf2=_0x3c963b['bindTemplate'],_0x40c56e=_0x295ec9['icon']??_0x295ec9['parent']?.['icon'],_0x27a2c6=void 0x0!==_0x295ec9['icon'];return _0x3c963b['set']({'label':_0x295ec9['displayedPrompt'],'withText':!0x0,'role':'menuitem','icon':_0x27a2c6?_0x40c56e??_0x22b56d['IconAIQuickActions']:void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button'}),_0x3c963b['extendTemplate']({'on':{'mouseenter':_0x37fdf2['to'](()=>{this['_isSearchFocused']()||_0x3c963b['focus']();})}}),_0x3c963b['on']('execute',()=>{_0x2d66b3['editing']['view']['focus'](),_0x2d66b3['commands']['execute']('aiQuickAction',_0x295ec9);}),_0x2a70c5['children']['add'](_0x3c963b),{'listItem':_0x2a70c5,'highlightViews':[_0x6505fd]};}}['_createSearchResultActionButton'](_0x42e69f,_0x2b4ab8,_0x532fb9,_0x596768){return _0x532fb9&&_0x596768?this['_createSearchResultGroupedActionButton'](_0x42e69f,_0x2b4ab8,_0x532fb9,_0x596768):this['_createSearchResultIndividualActionButton'](_0x42e69f,_0x2b4ab8);}['_createSearchResultGroupedActionButton'](_0x4fcdba,_0x223f53,_0x2d72c2,_0x2850b1){const _0x395317=new _0x22b56d['ListItemView'](this['locale']),_0xaddef6=new _0x22b56d['ButtonView'](this['locale']),_0x3a14ed=_0xaddef6['bindTemplate'],{view:_0x4c0ef3,highlightView:_0x4e693f}=this['_createSearchResultGroupRow'](_0x2d72c2,_0x2850b1),{view:_0x4f5944,highlightView:_0x2466da}=this['_createSearchResultActionRow'](_0x223f53['displayedPrompt']),_0x177fea=this['_createSearchResultContentView'](_0x4c0ef3,_0x4f5944);return _0xaddef6['set']({'label':_0x223f53['displayedPrompt'],'withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','tooltip':!0x1}),_0xaddef6['setTemplate']({'tag':'button','attributes':{'class':['ck','ck-button','ck-button_with-text','ck-ai-quick-actions-button','ck-ai-quick-actions-search-result-button','ck-ai-quick-actions-search-result-button_with-group'],'type':'button','role':'menuitem','tabindex':'-1'},'children':[_0x177fea],'on':{'mouseenter':_0x3a14ed['to'](()=>{this['_isSearchFocused']()||_0xaddef6['focus']();}),'click':_0x3a14ed['to'](()=>{this['_handleSearchResultButtonClick'](_0xaddef6);})}}),this['_setupActionButtonExecution'](_0xaddef6,_0x4fcdba,_0x223f53),_0x395317['children']['add'](_0xaddef6),{'listItem':_0x395317,'highlightViews':[_0x4e693f,_0x2466da]};}['_createSearchResultIndividualActionButton'](_0x593a41,_0x382bb1){const _0x4ca10e=new _0x22b56d['ListItemView'](this['locale']),_0x38006d=new _0x22b56d['ButtonLabelWithHighlightView'](),_0x12c1ab=new _0x22b56d['ButtonView'](this['locale'],_0x38006d),_0x314f14=_0x12c1ab['bindTemplate'];return _0x12c1ab['set']({'label':_0x382bb1['displayedPrompt'],'withText':!0x0,'role':'menuitem','icon':void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button'}),_0x12c1ab['extendTemplate']({'on':{'mouseenter':_0x314f14['to'](()=>{this['_isSearchFocused']()||_0x12c1ab['focus']();})}}),this['_setupActionButtonExecution'](_0x12c1ab,_0x593a41,_0x382bb1),_0x4ca10e['children']['add'](_0x12c1ab),{'listItem':_0x4ca10e,'highlightViews':[_0x38006d]};}['_createSearchResultGroupRow'](_0x2fc411,_0x23b2ef){const _0x52629f=new _0x22b56d['View'](this['locale']),_0x19d370=new _0x22b56d['IconView']();_0x19d370['content']=_0x23b2ef,_0x19d370['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x195f1d=new _0x22b56d['HighlightedTextView']();return _0x195f1d['text']=_0x2fc411,_0x52629f['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__group-row'},'children':[_0x19d370,_0x195f1d]}),{'view':_0x52629f,'highlightView':_0x195f1d};}['_createSearchResultActionRow'](_0x4f9b14){const _0x3078e2=new _0x22b56d['View'](this['locale']),_0x3da99f=new _0x22b56d['HighlightedTextView']();return _0x3da99f['text']=_0x4f9b14,_0x3078e2['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__action-row'},'children':[_0x3da99f]}),{'view':_0x3078e2,'highlightView':_0x3da99f};}['_createSearchResultContentView'](_0x4849f3,_0x2855bd){const _0x5c009e=new _0x22b56d['View'](this['locale']);return _0x5c009e['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__content'},'children':[_0x4849f3,_0x2855bd]}),_0x5c009e;}['_setupActionButtonExecution'](_0x667af1,_0x3b3013,_0x3a4f30){_0x667af1['on']('execute',()=>{_0x3b3013['editing']['view']['focus'](),_0x3b3013['commands']['execute']('aiQuickAction',_0x3a4f30);});}['_createActionGroupButton'](_0x43ec17,_0x284596,_0x2ab0b9){const _0x434b27=new _0x22b56d['ListItemView'](this['locale']),_0x1e9349=new _0x22b56d['ButtonLabelWithHighlightView'](),_0x4f45a0=new DropdownMenuButtonWithHighlightView(this['locale'],_0x1e9349),_0x65b24=_0x4f45a0['bindTemplate'],_0x67a611=this['_getPanelKeystroke'](_0x2ab0b9),_0x2aec56=this['_createGroupActionsList'](_0x43ec17,_0x284596['actions'],_0x2ab0b9);_0x4f45a0['set']({'label':_0x284596['label'],'withText':!0x0,'role':_0x9dfd06,'icon':_0x284596['icon']??_0x22b56d['IconAIQuickActions'],'isEnabled':_0x284596['actions']['some'](_0x1a4a8e=>_0x1a4a8e['isEnabled'])}),_0x4f45a0['extendTemplate']({'on':{'mouseenter':_0x65b24['to'](()=>{this['_isSearchFocused']()||_0x4f45a0['focus']();})}});const _0x3109dd=new _0x22b56d['BalloonPanelView'](this['locale']);return _0x3109dd['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-panel','ck-dropdown-menu__nested-menu__panel']},'on':{'keydown':_0x65b24['to'](_0x10e1d0=>{this['_handlePanelKeydown'](_0x10e1d0,_0x67a611,_0x4f45a0,_0x3109dd);})}}),_0x4f45a0['bind']('isOn')['to'](_0x3109dd,'isVisible'),this['_bodyCollection']['add'](_0x3109dd),_0x3109dd['content']['add'](_0x2aec56),this['_setupGroupMenuBehavior'](_0x4f45a0,_0x3109dd),_0x434b27['children']['add'](_0x4f45a0),{'listItem':_0x434b27,'highlightView':_0x1e9349};}['_createGroupActionsList'](_0x5eb023,_0x3deadc,_0x728456){const _0x1a4cc5=new _0x22b56d['ListView'](this['locale']);return _0x1a4cc5['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-list','ck-dropdown-menu-list']}}),_0x3deadc['forEach'](_0x1a94be=>{const _0x128f1b=new _0x22b56d['ListItemView'](this['locale']),_0x26a4c5=_0x30a2f7({'editor':_0x5eb023,'action':_0x1a94be,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this['_isSearchFocused']()})();_0x128f1b['children']['add'](_0x26a4c5),_0x728456['focusTracker']['add'](_0x26a4c5),_0x1a4cc5['items']['add'](_0x128f1b);}),_0x1a4cc5;}['_setupGroupMenuBehavior'](_0x5d2784,_0x5c407f){const _0x297b14=_0x5d2784['bindTemplate'],_0x51f0ff=this['_getButtonKeystroke'](_0x5d2784);_0x5d2784['extendTemplate']({'attributes':{'class':['ck-ai-quick-actions-group-button']},'on':{'mouseenter':_0x297b14['to'](()=>{this['_showNestedPanel'](_0x5c407f,_0x5d2784);}),'mouseleave':_0x297b14['to'](_0x2a3d09=>{const _0x5e67ea=_0x2a3d09['relatedTarget'];this['_isMovingToNestedMenu'](_0x5e67ea,_0x5c407f)||this['_hideNestedPanel'](_0x5c407f);}),'keydown':_0x297b14['to'](_0x3f7ea9=>{_0x3f7ea9['key']==_0x51f0ff&&(this['_showNestedPanel'](_0x5c407f,_0x5d2784),_0x5c407f['content']['get'](0x0)['focus']());})}}),_0x5c407f['on']('render',()=>{_0x5c407f['element']?.['addEventListener']('mouseleave',_0x45d94b=>{const _0x5bb99e=_0x45d94b['relatedTarget'];_0x5d2784['element']?.['contains'](_0x5bb99e)||this['_isMovingToNestedMenu'](_0x5bb99e,_0x5c407f)||this['_hideNestedPanel'](_0x5c407f);});});}['_showNestedPanel'](_0x410ec3,_0x3fe21f){this['_openNestedPanels']['forEach'](_0x451d64=>{_0x451d64!==_0x410ec3&&_0x451d64['isVisible']&&_0x451d64['hide']();}),_0x410ec3['show'](),_0x410ec3['pin']({'positions':[_0x22b56d['DropdownMenuPanelPositioningFunctions']['eastSouth']],'target':_0x3fe21f['element'],'fitInViewport':!0x0}),this['_openNestedPanels']['add'](_0x410ec3);}['_hideNestedPanel'](_0x170434){_0x170434['hide'](),this['_openNestedPanels']['delete'](_0x170434);}['_hideAllNestedPanels'](){this['_openNestedPanels']['forEach'](_0x5568e6=>_0x5568e6['hide']()),this['_openNestedPanels']['clear']();}['_isMovingToNestedMenu'](_0x5a0e6a,_0x13f313){if(!_0x5a0e6a)return!0x1;if(_0x13f313['element']?.['contains'](_0x5a0e6a))return!0x0;const _0x2cac84=_0x5a0e6a;return _0x2cac84['closest']&&(null!==_0x2cac84['closest']('.ck-ai-quick-actions-group-panel')||null!==_0x2cac84['closest']('.ck-ai-quick-actions-group-list')||null!==_0x2cac84['closest']('.ck-ai-quick-actions-group-button'));}['resetSearch'](){this['_searchTextView']&&this['_searchTextView']['reset']();}['destroy'](){this['_hideAllNestedPanels'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['focus'](){this['_searchTextView']?this['_searchTextView']['focus']():this['optionsListView']['focus']();}['_getPanelKeystroke'](_0x5263ab){return'rtl'===_0x5263ab['locale']['uiLanguageDirection']?'ArrowRight':'ArrowLeft';}['_getButtonKeystroke'](_0x261d3e){return'rtl'===_0x261d3e['locale']['uiLanguageDirection']?'ArrowLeft':'ArrowRight';}['_handlePanelKeydown'](_0x1f5b1b,_0x5823b2,_0x2af87e,_0x27a203){_0x1f5b1b['key']==_0x5823b2&&(_0x2af87e['focus'](),this['_hideNestedPanel'](_0x27a203));}['_handleSearchResultButtonClick'](_0x5d9e1f){_0x5d9e1f['fire']('execute');}}function _0x453729(_0x321b24){const {editor:_0x1ad9d3,content:_0x5c824b,buttonDefinition:_0x35616b,bodyCollection:_0x43b3fb,hasSearch:_0x20b2eb=!0x1}=_0x321b24;return()=>{const _0x1f39e7=_0x1ad9d3['locale'],_0x2f0a16=_0x22b56d['createDropdown'](_0x1f39e7);_0x2f0a16['buttonView']['set']({'icon':_0x35616b['icon']??_0x22b56d['IconAIQuickActions'],'label':_0x35616b['label'],'tooltip':!0x0}),_0x2f0a16['set']({'class':'ck-ai-quick-actions-dropdown'});const _0x570146=new AIQuickActionsDropdownContentView(_0x1ad9d3,_0x5c824b,_0x2f0a16,_0x43b3fb,_0x20b2eb);if(_0x2f0a16['panelView']['children']['add'](_0x570146),_0x20b2eb){const _0x1c3374='ai-quick-actions-dropdown-selection';_0x2f0a16['on']('change:isOpen',(_0x830df0,_0x54baa5,_0xdd595)=>{if(_0xdd595){if(_0x1ad9d3['plugins']['has']('AIEditing')){const _0x1f934c=_0x1ad9d3['plugins']['get'](AIEditing),_0x3eaa70=_0x1ad9d3['model']['document']['selection'],_0x41c999=Array['from'](_0x3eaa70['getRanges']());_0x41c999['length']>0x0&&_0x1f934c['showFakeVisualSelection'](_0x41c999,_0x1c3374,!0x1,!0x0);}}else _0x1ad9d3['plugins']['has']('AIEditing')&&_0x1ad9d3['plugins']['get'](AIEditing)['hideFakeVisualSelection'](_0x1c3374),_0x570146['resetSearch']();});}return _0x2f0a16;};}const _0xee53c4='<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>',_0x16cfdf='<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>',_0x262b32='<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 _0x53c42b=function(_0x3f0a0e){return _0x3f0a0e['CHAT']='CHAT',_0x3f0a0e['ACTION']='ACTION',_0x3f0a0e['REVIEW']='REVIEW',_0x3f0a0e;}({}),_0x527444=function(_0x58c249){return _0x58c249['CHAT']='AIChat',_0x58c249['ACTION']='AIActions',_0x58c249['REVIEW']='AIReviewMode',_0x58c249;}({});class AIQuickActionsUI extends _0x22b56d['Plugin']{static get['requires'](){return[_0x22b56d['BalloonToolbar'],AIConnector];}static get['pluginName'](){return'AIQuickActionsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){const _0x51251f=await this['_getDefaultAndCustomActions']();this['_prepareQuickActionsDefinition'](_0x51251f),this['_initializeQuickActionsComponentsAndCommands']();}static['getDefaultQuickActions'](_0x54a691){return function(_0x5bfd0f){const _0x531364=new Intl['DisplayNames'](['en'],{'type':'language'})['of'](_0x5bfd0f['uiLanguage']),_0x5ba51f=_0x531364||'English',_0x3484c1=[{'id':'ask-ai','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_ASK_AI'),'type':'CHAT','icon':_0x22b56d['IconAIChatCommands']},{'id':'chat-commands','label':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_CHAT_COMMANDS'),'icon':_0x22b56d['IconAIChatCommands'],'actions':[{'id':'explain','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_EXPLAIN'),'prompt':_0xee53c4['replace']('%0',_0x5ba51f),'type':'CHAT'},{'id':'summarize','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_SUMMARIZE'),'prompt':_0x16cfdf['replace']('%0',_0x5ba51f),'type':'CHAT'},{'id':'highlight-key-points','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'prompt':_0x262b32['replace']('%0',_0x5ba51f),'type':'CHAT'}]},{'id':'improve-writing','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_IMPROVE_WRITING'),'type':'ACTION','icon':_0x22b56d['IconAIImproveWriting']},{'id':'continue','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_CONTINUE_WRITING'),'type':'ACTION','icon':_0x22b56d['IconAIContinueWriting']},{'id':'fix-grammar','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING'),'type':'ACTION','icon':_0x22b56d['IconAIGrammarCheck']},{'id':'adjust-length','label':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_ADJUST_LENGTH'),'icon':_0x22b56d['IconAIAdjustLength'],'actions':[{'id':'make-shorter','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_MAKE_SHORTER'),'type':'ACTION'},{'id':'make-longer','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_MAKE_LONGER'),'type':'ACTION'}]},{'id':'change-tone','label':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_CHANGE_TONE'),'icon':_0x22b56d['IconAIChangeTone'],'actions':[{'id':'make-tone-casual','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_MORE_CASUAL'),'type':'ACTION'},{'id':'make-tone-direct','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_MORE_DIRECT'),'type':'ACTION'},{'id':'make-tone-friendly','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_MORE_FRIENDLY'),'type':'ACTION'},{'id':'make-tone-confident','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_MORE_CONFIDENT'),'type':'ACTION'},{'id':'make-tone-professional','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_MORE_PROFESSIONAL'),'type':'ACTION'}]},{'id':'translate','label':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_TRANSLATE'),'icon':_0x22b56d['IconAITranslate'],'actions':[{'id':'translate-to-english','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH'),'type':'ACTION','actionName':'translate','args':{'language':'english'}},{'id':'translate-to-chinese','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_TRANSLATE_CHINESE'),'type':'ACTION','actionName':'translate','args':{'language':'chinese'}},{'id':'translate-to-spanish','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_TRANSLATE_SPANISH'),'type':'ACTION','actionName':'translate','args':{'language':'spanish'}},{'id':'translate-to-german','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_TRANSLATE_GERMAN'),'type':'ACTION','actionName':'translate','args':{'language':'german'}},{'id':'translate-to-french','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_TRANSLATE_FRENCH'),'type':'ACTION','actionName':'translate','args':{'language':'french'}},{'id':'translate-to-japanese','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE'),'type':'ACTION','actionName':'translate','args':{'language':'japanese'}},{'id':'translate-to-portuguese','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE'),'type':'ACTION','actionName':'translate','args':{'language':'portuguese'}},{'id':'translate-to-korean','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_TRANSLATE_KOREAN'),'type':'ACTION','actionName':'translate','args':{'language':'korean'}},{'id':'translate-to-italian','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN'),'type':'ACTION','actionName':'translate','args':{'language':'italian'}},{'id':'translate-to-russian','displayedPrompt':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN'),'type':'ACTION','actionName':'translate','args':{'language':'russian'}}]},{'id':'other','label':xt(_0x5bfd0f,'AI_QUICK_ACTIONS_OTHER'),'icon':_0x22b56d['IconAIOther'],'actions':[]}];return _0x3484c1;}(_0x54a691);}async['_getDefaultAndCustomActions'](){const _0x530824=AIQuickActionsUI['getDefaultQuickActions'](this['editor']['locale']),_0x25cc74=this['editor']['config']['get']('ai.quickActions.extraCommands')||[];let _0x2c6ccb=[];try{_0x2c6ccb=await new _0x25dc16({'connector':this['editor']['plugins']['get']('AIConnector'),'locale':this['editor']['locale']})['getAll']();}catch(_0x52b93c){const _0x6c1b44=new _0x22b56d['CKEditorError']('ai-quick-actions-models-unable-to-retrieve',this,{'error':_0x52b93c});_0x22b56d['logError'](_0x6c1b44['message']);}finally{const _0x1f1cb3=_0x25cc74['map'](_0x18d439=>({..._0x18d439,'icon':void 0x0})),_0x32ef=_0x530824['find'](_0x492050=>'other'===_0x492050['id']);_0x32ef['actions']['push'](..._0x1f1cb3),_0x530824['forEach'](_0xc34e6=>{if('actions'in _0xc34e6)_0xc34e6['actions']['forEach'](_0x2d5802=>{if(_0x2d5802['isEnabled']=!!_0x2c6ccb['find'](_0x1d9872=>_0x1d9872['id']===_0x2d5802['model'])||void 0x0===_0x2d5802['model'],!_0x2d5802['isEnabled']){const _0x188a15=new _0x22b56d['CKEditorError']('ai-quick-actions-unavailable-model',this,{'actionId':_0x2d5802['id'],'modelId':_0x2d5802['model']});_0x22b56d['logError'](_0x188a15['message']);}});else{if(_0xc34e6['isEnabled']=!!_0x2c6ccb['find'](_0x5e100e=>_0x5e100e['id']===_0xc34e6['model'])||void 0x0===_0xc34e6['model'],!_0xc34e6['isEnabled']){const _0x2f7d8a=new _0x22b56d['CKEditorError']('ai-quick-actions-unavailable-model',this,{'actionId':_0xc34e6['id'],'modelId':_0xc34e6['model']});_0x22b56d['logError'](_0x2f7d8a['message']);}}});}return _0x530824;}['_initializeQuickActionsComponentsAndCommands'](){const _0x39fdce=new _0x22b56d['BodyCollection'](this['editor']['locale']);_0x39fdce['attachToDom'](),this['_initializeQuickActionsDropdown'](_0x39fdce),this['_initializeQuickActionsMenuBar'](),this['_initializeQuickActionsComponents'](_0x39fdce);}['_initializeQuickActionsDropdown'](_0x2b6a6c){const _0x4a1d5e=this['editor']['config']['get']('ai.quickActions.isSearchEnabled')??!0x0;this['editor']['ui']['componentFactory']['add']('aiQuickActions',_0x453729({'editor':this['editor'],'content':this['_quickActionsDefinition'],'buttonDefinition':{'icon':_0x22b56d['IconAIQuickActions'],'label':xt(this['editor']['locale'],'AI_QUICK_ACTIONS_HEADING')},'bodyCollection':_0x2b6a6c,'hasSearch':_0x4a1d5e}));}['_prepareQuickActionsDefinition'](_0x1d4acf){this['_quickActionsDefinition']=_0x1d4acf['map'](_0x2f1e78=>{if('actions'in _0x2f1e78){const _0x44c7bd=_0x2f1e78;return{..._0x44c7bd,'actions':_0x44c7bd['actions']['map'](_0x37d37b=>{const {actions:_0x53ccf5,..._0x30ce8a}=_0x44c7bd;return{..._0x37d37b,'parent':_0x30ce8a};})['filter'](_0x24a7fb=>this['_shouldIncludeAction'](_0x24a7fb))};}return _0x2f1e78;})['filter'](_0x37463c=>'actions'in _0x37463c?_0x37463c['actions']['length']>0x0:this['_shouldIncludeAction'](_0x37463c));}['_shouldIncludeAction'](_0x1e9b00){const _0x509bb0=this['editor']['config']['get']('ai.quickActions.removeCommands')||[];return this['editor']['plugins']['has'](_0x527444[_0x1e9b00['type']])&&!_0x509bb0['includes'](_0x1e9b00['id'])&&!('CHAT'===_0x1e9b00['type']&&!0x1===this['editor']['config']['get']('ai.chat.context.document.enabled'));}['_initializeQuickActionsComponents'](_0x360cba){this['_quickActionsDefinition']['forEach'](_0xf4a13e=>{if('actions'in _0xf4a13e){const _0x59fb28=_0x453729({'editor':this['editor'],'content':_0xf4a13e['actions'],'buttonDefinition':_0xf4a13e,'bodyCollection':_0x360cba});this['editor']['ui']['componentFactory']['add'](_0xf4a13e['id'],_0x59fb28),_0xf4a13e['actions']['forEach'](_0x34a991=>{const _0x354c77=_0x30a2f7({'editor':this['editor'],'action':_0x34a991});this['editor']['ui']['componentFactory']['add'](_0x34a991['id'],_0x354c77);});}else{const _0x27a6b1=_0x30a2f7({'editor':this['editor'],'action':_0xf4a13e,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this['editor']['ui']['componentFactory']['add'](_0xf4a13e['id'],_0x27a6b1);}});}['_initializeQuickActionsMenuBar'](){this['editor']['ui']['componentFactory']['add']('menuBar:aiQuickActions',_0x2a349a=>{const _0x42f462=new _0x22b56d['MenuBarMenuView'](_0x2a349a),_0x98fff8=xt(_0x2a349a,'AI_QUICK_ACTIONS_HEADING');_0x42f462['buttonView']['set']({'label':_0x98fff8,'icon':_0x22b56d['IconAIQuickActions']});const _0x4c86d4=new _0x22b56d['MenuBarMenuListView'](_0x2a349a);_0x4c86d4['set']({'ariaLabel':_0x98fff8,'role':'menu'}),this['_quickActionsDefinition']['forEach'](_0x1368e6=>{if('actions'in _0x1368e6){const _0x19f5d0=_0x1368e6,_0x92b3ed=new _0x22b56d['MenuBarMenuListItemView'](_0x2a349a,_0x42f462),_0x16da64=new _0x22b56d['MenuBarMenuView'](_0x2a349a),_0x1c8103=new _0x22b56d['MenuBarMenuListView'](_0x2a349a);_0x16da64['buttonView']['set']({'label':_0x19f5d0['label'],'icon':_0x19f5d0['icon']}),_0x19f5d0['actions']['forEach'](_0x1605b7=>{const _0x43c1d2=new _0x22b56d['MenuBarMenuListItemView'](_0x2a349a,_0x16da64),_0x9e5ea2=new _0x22b56d['MenuBarMenuListItemButtonView'](_0x2a349a);_0x9e5ea2['set']({'label':_0x1605b7['displayedPrompt'],'icon':_0x1605b7['icon'],'role':'menuitem','isEnabled':_0x1605b7['isEnabled']}),_0x9e5ea2['on']('execute',()=>{this['_executeQuickAction'](_0x1605b7);}),_0x9e5ea2['delegate']('execute')['to'](_0x16da64),_0x43c1d2['children']['add'](_0x9e5ea2),_0x1c8103['items']['add'](_0x43c1d2);}),_0x16da64['panelView']['children']['add'](_0x1c8103),_0x92b3ed['children']['add'](_0x16da64),_0x4c86d4['items']['add'](_0x92b3ed);}else{const _0x3cb5d3=_0x1368e6,_0x37b40b=new _0x22b56d['MenuBarMenuListItemView'](_0x2a349a,_0x42f462),_0x3de79f=new _0x22b56d['MenuBarMenuListItemButtonView'](_0x2a349a);_0x3de79f['set']({'label':_0x3cb5d3['displayedPrompt'],'icon':_0x3cb5d3['icon'],'role':'menuitem','isEnabled':_0x3cb5d3['isEnabled']}),_0x3de79f['on']('execute',()=>{this['_executeQuickAction'](_0x3cb5d3);}),_0x3de79f['delegate']('execute')['to'](_0x42f462),_0x37b40b['children']['add'](_0x3de79f),_0x4c86d4['items']['add'](_0x37b40b);}});const _0x52f24c=Object['values'](_0x527444)['some'](_0x2f1382=>this['editor']['plugins']['has'](_0x2f1382));return _0x42f462['set']({'isEnabled':_0x52f24c}),_0x42f462['panelView']['children']['add'](_0x4c86d4),_0x42f462;});}['_executeQuickAction'](_0x17e7b6){const _0xd9986e=this['editor'];_0xd9986e['editing']['view']['focus'](),_0xd9986e['commands']['execute']('aiQuickAction',_0x17e7b6);const _0x51c6f1=_0xd9986e['ui']['view']['menuBarView'];_0x51c6f1&&_0x51c6f1['close']&&_0x51c6f1['close']();}}class AIQuickActionsCommand extends _0x22b56d['Command']{['execute'](_0x24514a){switch(this['_expandSelectionIfCollapsed'](),_0x24514a['type']){case _0x53c42b['CHAT']:if(!this['editor']['plugins']['has']('AIChat')){const _0x5c1799=xt(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIChat');throw new _0x22b56d['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x5c1799});}this['_handleAIChatAction'](_0x24514a);break;case _0x53c42b['ACTION']:if(!this['editor']['plugins']['has']('AIActions')){const _0x284bb9=xt(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIActions');throw new _0x22b56d['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x284bb9});}this['_handleAIActionsAction'](_0x24514a);break;case _0x53c42b['REVIEW']:if(!this['editor']['plugins']['has']('AIReviewMode')){const _0x500d84=xt(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIReviewMode');throw new _0x22b56d['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x500d84});}this['_handleAIReviewAction'](_0x24514a);}}async['_handleAIChatAction'](_0x67e7b0){const _0x2c2a91=this['editor']['plugins']['get']('AIChat'),_0x96da31=this['editor']['plugins']['get']('AIChatController'),_0x2f0c95=this['editor']['plugins']['get']('AITabs')['view'];if(_0x2f0c95['isVisible']||(_0x2f0c95['isVisible']=!0x0),'chat'!==_0x2f0c95['activeTab']&&_0x2f0c95['activateTab']('chat'),'ask-ai'===_0x67e7b0['id'])_0x96da31['removeSelectionFromChatContext'](),await _0x2c2a91['addSelectionToChatContext'](),_0x2c2a91['focusPromptInput']();else await _0x2c2a91['startConversation'](),_0x96da31['removeSelectionFromChatContext'](),await _0x2c2a91['addSelectionToChatContext'](),_0x2c2a91['focusPromptInput'](),await _0x2c2a91['sendMessage']({'message':_0x67e7b0['prompt']||_0x67e7b0['displayedPrompt'],'attributes':{'quickActionData':{'id':_0x67e7b0['id']},'displayedPrompt':_0x67e7b0['displayedPrompt']}});}['_expandSelectionIfCollapsed'](){const _0x53e3bc=this['editor'],_0x2545f4=_0x53e3bc['model']['document']['selection'];if(!_0x2545f4['isCollapsed'])return;const _0x5b94f8=_0x22b56d['first'](_0x2545f4['getSelectedBlocks']())||_0x53e3bc['model']['schema']['getLimitElement'](_0x2545f4);_0x53e3bc['model']['change'](_0xd53c1d=>{_0xd53c1d['setSelection'](_0x5b94f8,'in');});}['_handleAIActionsActionLabel'](_0x31a928){return _0x31a928['parent']?.['label']&&'other'!==_0x31a928['parent']?.['id']?_0x31a928['parent']['label']+':\x20'+_0x31a928['displayedPrompt']:_0x31a928['displayedPrompt'];}async['_handleAIActionsAction'](_0x3ea50f){const _0x2cd867=this['editor']['plugins']['get']('AIActions'),_0x524f45=_0x3ea50f['prompt']?{'userMessage':_0x3ea50f['prompt'],'model':_0x3ea50f['model']}:{'actionName':_0x3ea50f['actionName']||_0x3ea50f['id'],'args':_0x3ea50f['args']},_0x2d2fc1=this['_handleAIActionsActionLabel'](_0x3ea50f);await _0x2cd867['executeAction'](_0x524f45,_0x2d2fc1,_0x3ea50f['icon']);}async['_handleAIReviewAction'](_0x5e9035){console['log']('handleAIReviewAction',_0x5e9035);}}class AIQuickActionsEditing extends _0x22b56d['Plugin']{static get['pluginName'](){return'AIQuickActionsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xea767d=this['editor'],_0x2d8020=new AIQuickActionsCommand(this['editor']);if(_0xea767d['commands']['add']('aiQuickAction',_0x2d8020),_0xea767d['plugins']['has']('AIChat')){const _0x264a5a=this['editor']['plugins']['get']('AIChat');_0xea767d['model']['document']['selection']['on']('change:range',(_0x183e99,_0x18f9ab)=>{_0x18f9ab['directChange']&&_0x264a5a['removeSelectionFromChatContext']();});}}}class AIActionsReply extends _0x4b9c9f{['updateChangeGroups'](){if(this['parsedMergedContent']=this['parsedContent']['cloneNode'](!0x0),0x0==this['parsedMergedContent']['childNodes']['length'])return void(this['changeGroups']=[]);const _0x4de736=_0x58f388(this['documentContextContent']['children']['map'](_0x17da7d=>({'node':_0x17da7d,'id':_0xcd3c05(_0x17da7d,'data-id')})),this['parsedMergedContent']['children']['map'](_0x23a0bf=>({'node':_0x23a0bf,'id':_0xcd3c05(_0x23a0bf,'data-id')||_0x22b56d['uid']()})),{'comparator':(_0x246e45,_0x37230f)=>_0x246e45['id']==_0x37230f['id'],'oneChangePerToken':!0x0});if(!this['isDone']){for(;_0x4de736['length']&&_0x4de736[_0x4de736['length']-0x1]['removed'];)_0x4de736['pop']();}const _0x41f5a5=_0x4de736['map'](_0x582fbd=>{const _0x41ef8e=_0x582fbd['added']?'new':_0x582fbd['removed']?'removed':'modified';return{'node':_0x582fbd['value'][0x0]['node'],'type':_0x41ef8e,'id':_0x582fbd['value'][0x0]['id']};});this['changeGroups']=[{'changes':_0x41f5a5,'state':'pending','index':0x0}];}['_getDifferentChangeGroups'](_0x433449,_0x524d9c){return _0x524d9c;}}class AIActionsInteraction extends AIInteraction{['content'];['version'];['actionName'];['args'];['userMessage'];['model'];['hasError']=!0x1;constructor(_0x230897){super(_0x230897),this['content']=_0x230897['content'],this['version']=_0x230897['version'],this['actionName']=_0x230897['actionName'],this['args']=_0x230897['args'],this['userMessage']=_0x230897['userMessage'],this['model']=_0x230897['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':_0x2c5b12['TEXT'],'content':this['content'],'version':this['version'],'label':'Current\x20document','uiId':'current-document'};}['createReply'](_0x4bb2b0){const _0x2efb95=new AIActionsReply({'editor':this['editor'],'documentContextContent':this['content'],..._0x4bb2b0});return this['replies']['push'](_0x2efb95),_0x2efb95['delegate'](..._0x1e4117)['to'](this),this['fire']('replyCreated',_0x2efb95),_0x2efb95;}}class AIActionsBalloonToolbarView extends _0x22b56d['ToolbarView']{constructor(_0x3c64a9,_0xba0d71=!0x0,_0x44c57c=!0x0){super(_0x3c64a9),this['set']('isEnabled',!0x1),_0xba0d71&&(this['applyButton']=this['_createButton'](xt(_0x3c64a9,'AI_BALLOON_APPLY_BUTTON'),'ck-ai-button-primary'),this['applyButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['applyButton'])),_0x44c57c&&(this['suggestButton']=this['_createButton'](xt(_0x3c64a9,'AI_BALLOON_SUGGEST_BUTTON'),_0xba0d71?'ck-ai-button-secondary':'ck-ai-button-primary'),this['suggestButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['suggestButton'])),this['setButtonsVisibility']({'showApplyButton':_0xba0d71,'showSuggestButton':_0x44c57c}),this['extendTemplate']({'attributes':{'class':['ck-ai-balloon__toolbar']}});}['setButtonsVisibility']({showApplyButton:_0x468d53,showSuggestButton:_0x209b48}){this['applyButton']&&(this['applyButton']['isVisible']=_0x468d53),this['suggestButton']&&(this['suggestButton']['isVisible']=_0x209b48);}['_createButton'](_0x3cc3ab,_0x366ac4){const _0x23d46b=new _0x22b56d['ButtonView'](this['locale']);return _0x23d46b['set']({'label':_0x3cc3ab,'class':_0x366ac4,'isVisible':!0x0,'withText':!0x0}),_0x23d46b;}}class AIActionsBalloonDisclaimerView extends _0x22b56d['View']{constructor(_0x110bec){super(_0x110bec),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-balloon__disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-balloon__disclaimer-content']},'children':[{'text':xt(_0x110bec,'AI_DISCLAIMER_TEXT')}]}]});}}class AISuggestionLoaderView extends _0x22b56d['View']{constructor(_0x3ab4df){super(_0x3ab4df),this['set']('isVisible',!0x0);const _0x5430fa=new _0x8e7671('small');_0x5430fa['isVisible']=!0x0;const _0x5c67fa=new _0x22b56d['View'](this['locale']);_0x5c67fa['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__loader-text']},'children':[xt(this['locale'],'AI_CHAT_IS_WRITING')]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__loader',this['bindTemplate']['if']('isVisible','ck-hidden',_0x5384fc=>!_0x5384fc)]},'children':[_0x5430fa,_0x5c67fa]});}}class AIActionsBalloonView extends _0x85b5cf{['focusCycler'];['_config'];['_contentWrapper'];['_streamableContentView'];['_toolbarView'];['_miniToolbarView'];['_loaderView'];['_disclaimerView'];['_focusTracker'];['_keystrokes'];['_dialogContent'];['_focusables'];['_scrollManager'];['_navigationPreviousButton'];['_navigationNextButton'];['_navigationTryAgainButton'];['_navigationCounter'];constructor(_0x5e5d9b,_0x521730){super(_0x5e5d9b),this['set']('isBusy',!0x1),this['set']('isTrackChangesOn',!0x1),this['set']('_isLoading',!0x1),this['set']('_hasError',!0x1),this['_config']=_0x521730,this['_focusTracker']=new _0x22b56d['FocusTracker'](),this['_keystrokes']=new _0x22b56d['KeystrokeHandler'](),this['_focusables']=this['createCollection'](),this['focusCycler']=new _0x22b56d['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_dialogContent']=new _0x22b56d['ViewCollection'](),this['_addContentWrapper'](_0x521730),this['_addDisclaimerView'](),this['_addToolbar'](_0x521730),this['_focusables']['clear'](),this['_focusables']['addMany']([this['_toolbarView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-actions-balloon-main']},'children':this['_dialogContent']}),this['on']('change:isTrackChangesOn',()=>{this['_toggleToolbarButtonsVisibility'](_0x521730);});}['render'](){super['render']();for(const _0x5d1bf2 of this['_focusables'])this['_focusTracker']['add'](_0x5d1bf2['element']);this['_keystrokes']['listenTo'](this['element']),this['_initializeScrollManager']();}['destroy'](){super['destroy'](),this['_scrollManager']&&this['_scrollManager']['destroy']();}['focus'](_0x153431){-0x1===_0x153431?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['setIsLoading'](_0x58872c){this['_isLoading']=_0x58872c;}['setErrorState'](){this['_hasError']=!0x0,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x1);}['clearErrorState'](){this['_hasError']=!0x1,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x0);}['showError'](_0x53e232){super['showError'](_0x53e232),this['_dialogContent']['has'](this['_errorView'])||this['_dialogContent']['add'](this['_errorView'],0x0);}['hideError'](){super['hideError'](),this['clearErrorState']();}['showBlockingError'](_0x303262){super['showBlockingError'](_0x303262),this['setErrorState']();}['addMiniToolbarItem'](_0xb5414d){this['_miniToolbarView']['items']['has'](_0xb5414d)||this['_miniToolbarView']['items']['add'](_0xb5414d);}['removeMiniToolbarItem'](_0x5d572e){this['_miniToolbarView']['items']['has'](_0x5d572e)&&this['_miniToolbarView']['items']['remove'](_0x5d572e);}['showLoader'](){this['_loaderView']&&(this['_isLoading']=!0x0);}['hideLoader'](){this['_loaderView']&&(this['_isLoading']=!0x1);}['_toggleToolbarButtonsVisibility']({showApplyButton:_0x3cddb4,showSuggestButton:_0x1c3237}){_0x3cddb4=_0x3cddb4&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x1c3237=_0x1c3237&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_toolbarView']['setButtonsVisibility']({'showApplyButton':_0x3cddb4,'showSuggestButton':_0x1c3237});}async['updateContent'](_0xb0fc7){await this['_streamableContentView']['update'](_0xb0fc7);}['clearContent'](){this['_streamableContentView']['clear']();}['_addContentWrapper'](_0x2d2955){this['_contentWrapper']=new _0x22b56d['View'](this['locale']),this['_contentWrapper']['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-actions-balloon-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-actions-balloon-content-wrapper']},'children':[this['_createLoaderView'](),this['_createStreamableContentView']()]},this['_createMiniToolbar'](_0x2d2955['miniToolbarConfig'])]}),this['_dialogContent']['add'](this['_contentWrapper']);}['_addDisclaimerView'](){this['_disclaimerView']=new AIActionsBalloonDisclaimerView(this['locale']),this['_dialogContent']['add'](this['_disclaimerView']);}['_addToolbar']({showApplyButton:_0x57db9a,showSuggestButton:_0x578f11}){this['_toolbarView']=new AIActionsBalloonToolbarView(this['locale'],_0x57db9a,_0x578f11),this['_toolbarView']['applyButton']?.['on']('execute',()=>{this['fire']('applySuggestion');}),this['_toolbarView']['suggestButton']?.['on']('execute',()=>{this['fire']('insertSuggestion');}),this['_toolbarView']['bind']('isEnabled')['to'](this,'isBusy',this,'_isLoading',this,'_hasError',(_0x1c8de4,_0x48fa0e,_0x44c0d5)=>!(_0x1c8de4||_0x48fa0e||_0x44c0d5)),this['_toggleToolbarButtonsVisibility']({'showApplyButton':_0x57db9a,'showSuggestButton':_0x578f11}),this['_dialogContent']['add'](this['_toolbarView']);}['_createMiniToolbar'](_0x2423a6){return this['_miniToolbarView']=new _0x3fbeba(this['locale'],_0x2423a6),this['_miniToolbarView']['delegate'](..._0x9ac31b)['to'](this),this['_miniToolbarView']['on']('toggleShowChanges',()=>{this['_miniToolbarView']['isShowChangesOn']=!this['_miniToolbarView']['isShowChangesOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':this['_miniToolbarView']['isShowChangesOn']});}),this['_miniToolbarView']['bind']('isEnabled')['to'](this,'isBusy',this,'_isLoading',(_0x3941b4,_0x299390)=>!(_0x3941b4||_0x299390)),this['_miniToolbarView'];}['_createLoaderView'](){return this['_loaderView']=new AISuggestionLoaderView(this['locale']),this['_loaderView']['bind']('isVisible')['to'](this,'_isLoading'),this['_loaderView'];}['_createStreamableContentView'](){return this['_streamableContentView']=new AISuggestionStreamableContentView(this['locale']),this['_streamableContentView'];}['_setupMiniToolbarButtons'](){const _0x3759c7=new _0x22b56d['ButtonView'](this['locale']),_0x29b806=new _0x22b56d['ButtonView'](this['locale']),_0x34208d=new AIActionsBalloonNavigationCounterView(this['locale']),_0x16fe21=new _0x22b56d['ButtonView'](this['locale']);_0x3759c7['set']({'icon':_0x22b56d['IconRefresh'],'label':xt(this['locale'],'AI_ACTIONS_TRY_AGAIN'),'tooltip':!0x0,'class':'ck-ai-custom-action-button'}),_0x29b806['set']({'icon':_0x22b56d['IconPreviousArrow'],'tooltip':xt(this['locale'],'AI_ACTIONS_PREVIOUS_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-previous-button'}),_0x16fe21['set']({'icon':_0x22b56d['IconNextArrow'],'tooltip':xt(this['locale'],'AI_ACTIONS_NEXT_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-next-button'}),_0x3759c7['bind']('isEnabled')['to'](this,'isBusy',_0x25dd9a=>!_0x25dd9a),_0x3759c7['on']('execute',()=>{this['fire']('tryAgain');}),_0x29b806['bind']('isEnabled')['to'](this,'isBusy',_0x2fa822=>!_0x2fa822),_0x29b806['on']('execute',()=>{this['fire']('showPrevious');}),_0x16fe21['bind']('isEnabled')['to'](this,'isBusy',_0x535390=>!_0x535390),_0x16fe21['on']('execute',()=>{this['fire']('showNext');}),this['_navigationPreviousButton']=_0x29b806,this['_navigationCounter']=_0x34208d,this['_navigationNextButton']=_0x16fe21,this['_navigationTryAgainButton']=_0x3759c7;}['updateMiniToolbarButtons'](_0x54a775,_0x2ffd00){this['_navigationPreviousButton']||this['_setupMiniToolbarButtons']();const _0x3ac968=_0x54a775>0x1;if(this['addMiniToolbarItem'](this['_navigationTryAgainButton']),_0x3ac968){this['addMiniToolbarItem'](this['_navigationPreviousButton']),this['addMiniToolbarItem'](this['_navigationCounter']),this['addMiniToolbarItem'](this['_navigationNextButton']);const _0x8ff0ed=_0x54a775-_0x2ffd00;this['_navigationCounter']['setInteractionCount'](_0x8ff0ed+'/'+_0x54a775),this['_navigationPreviousButton']['isEnabled']=_0x2ffd00<_0x54a775-0x1,this['_navigationNextButton']['isEnabled']=_0x2ffd00>0x0;}else this['removeMiniToolbarItem'](this['_navigationPreviousButton']),this['removeMiniToolbarItem'](this['_navigationCounter']),this['removeMiniToolbarItem'](this['_navigationNextButton']);}['disableMiniToolbarButtons'](){this['_navigationTryAgainButton']['isEnabled']=!0x1,this['_navigationPreviousButton']['isEnabled']=!0x1,this['_navigationNextButton']['isEnabled']=!0x1;}['startAutoScroll'](){this['_initializeScrollManager'](),this['_scrollManager']&&this['_scrollManager']['start']();}['stopAutoScroll'](){this['_scrollManager']&&this['_scrollManager']['stop']();}['toggleIsLoading'](_0x468501){this['_isLoading']=_0x468501;}['resetShowChangesButton'](){this['_miniToolbarView']['isShowChangesOn']=!0x1;}['_initializeScrollManager'](){const _0x25640c=this['_getScrollableElement']();_0x25640c&&!this['_scrollManager']&&(this['_scrollManager']=new _0x4b11f4(_0x25640c));}['_getScrollableElement'](){return this['_streamableContentView']['element'];}}class AIActionsBalloonNavigationCounterView extends _0x22b56d['View']{constructor(_0x180efd){super(_0x180efd);const _0x33ff1b=this['bindTemplate'];this['set']('interactionCount','1/1'),this['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-interaction-counter']},'children':[{'text':_0x33ff1b['to']('interactionCount')}]});}['setInteractionCount'](_0x1568e5){this['set']('interactionCount',_0x1568e5);}}class AIActions extends _0x22b56d['Plugin']{static get['requires'](){return[AIConnector,_0x22b56d['Dialog'],AIEditing,_0x36c97a,DocumentCompare];}static get['pluginName'](){return'AIActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_aiConnector'];['_interactions']=[];['_currentInteractionIndex']=0x0;['_interactionParams'];['_balloonShowDiff']=!0x1;['_promiseQueue'];['_bodyCollection'];get['_interaction'](){return this['_interactions'][this['_interactions']['length']-0x1];}['_actionsBalloonView'];constructor(_0x51a8e9){super(_0x51a8e9),this['_bodyCollection']=new _0x22b56d['BodyCollection'](this['editor']['locale']),this['_bodyCollection']['attachToDom'](),this['_aiConnector']=this['editor']['plugins']['get']('AIConnector'),this['set']('isBusy',!0x1),this['_promiseQueue']=new _0x34185e();}['stopInteraction'](){this['_stopInteraction']();}async['executeAction'](_0x538667,_0x26ce77,_0x19e34e){if(this['_stopInteraction'](),this['editor']['plugins']['has']('TableSelection')){if(this['editor']['plugins']['get']('TableSelection')['getSelectedTableCells']()){const {modelFragment:_0x4531f4,anchorData:_0x7a015b}=this['_getExecuteDataInTable']();return this['_executeAction'](_0x538667,_0x4531f4,_0x7a015b,_0x26ce77,_0x19e34e);}}const {modelFragment:_0x9e1ef1,anchorData:_0x30f760}=this['_getExecuteDataRegular']();return this['_executeAction'](_0x538667,_0x9e1ef1,_0x30f760,_0x26ce77,_0x19e34e);}async['destroy'](){return this['_stopInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['_createActionsBalloonView'](){const _0x7270b9=this['editor']['plugins']['has']('TrackChanges');let _0x484525=this['editor']['config']['get']('ai.availableReplyActions')||[..._0xc7a910];_0x7270b9||(_0x484525=_0x484525['filter'](_0x2f7b2d=>'insertSuggestion'!=_0x2f7b2d));const _0xb00669=this['editor']['commands']['get']('trackChanges'),_0x2f95b2=new AIActionsBalloonView(this['editor']['locale'],{'showApplyButton':!0x0,'showSuggestButton':_0x7270b9,'miniToolbarConfig':{'showChanges':'icon'},'availableActions':_0x484525});return _0x2f95b2['bind']('isBusy')['to'](this),_0xb00669&&_0x2f95b2['bind']('isTrackChangesOn')['to'](_0xb00669,'value'),_0x2f95b2['on']('tryAgain',()=>{this['_refreshInteraction']();}),_0x2f95b2['on']('showPrevious',()=>{this['_navigateToPrevious']();}),_0x2f95b2['on']('showNext',()=>{this['_navigateToNext']();}),_0x2f95b2;}['_getExecuteDataRegular'](){const _0x473c7c=this['editor']['model']['document']['selection'];if(_0x473c7c['isCollapsed']){const _0x9eebf4=_0x22b56d['first'](_0x473c7c['getSelectedBlocks']())||this['editor']['model']['schema']['getLimitElement'](_0x473c7c);this['editor']['model']['change'](_0x53c1c3=>{_0x53c1c3['setSelection'](_0x9eebf4,'in');});}const _0x1355e9=_0x473c7c['getFirstRange'](),_0x44db12=this['_wrapWithCommonAncestors'](this['editor']['model']['getSelectedContent'](_0x473c7c),_0x1355e9['start'],_0x1355e9['end']);this['_copyMarkersToFragment'](_0x44db12,_0x473c7c,{'isTableSelection':!0x1});const _0x2efd63=_0x473c7c['getFirstRange']()['start'],_0x5db199=new Map();let _0x20e064=_0x44db12;for(let _0x4ed149=0x0;_0x4ed149<_0x2efd63['path']['length'];_0x4ed149++)_0x5db199['set'](_0x20e064,_0x2efd63['path'][_0x4ed149]),_0x20e064=_0x20e064['getChild'](0x0);return{'modelFragment':_0x44db12,'anchorData':_0x5db199};}['_getExecuteDataInTable'](){const _0x40fa83=this['editor']['model']['document']['selection'],_0x50d782=this['editor']['plugins']['get']('TableSelection')['getSelectionAsFragment'](),_0x1f7ce9=_0x40fa83['getFirstRange']()['start']['parent']['parent'],_0x12a942=this['editor']['model']['createRange'](this['editor']['model']['createPositionBefore'](_0x1f7ce9),this['editor']['model']['createPositionAfter'](_0x1f7ce9)),_0xde9dd0=this['_wrapWithCommonAncestors'](_0x50d782,_0x12a942['start'],_0x12a942['end']);this['_copyMarkersToFragment'](_0xde9dd0,_0x40fa83,{'isTableSelection':!0x0});const _0x440199=_0x40fa83['getFirstRange']()['start'],_0x123412=new Map();let _0xd9a10e=_0xde9dd0;for(let _0x959827=0x0;_0x959827<_0x440199['path']['length'];_0x959827++)if(_0x123412['set'](_0xd9a10e,_0x440199['path'][_0x959827]),_0x959827<_0x440199['path']['length']-0x1)_0xd9a10e=_0xd9a10e['getChild'](0x0);else{let _0x2fcac5=_0xd9a10e['nextSibling'];for(;_0x2fcac5;)_0x123412['set'](_0x2fcac5,_0x440199['path'][_0x959827]),_0x2fcac5=_0x2fcac5['nextSibling'];}return{'modelFragment':_0xde9dd0,'anchorData':_0x123412};}async['_executeAction'](_0x22809d,_0x46b51d,_0x31c36f,_0x413959,_0x3b502a){const _0x6900ca=this['editor']['plugins']['get'](AIEditing),_0x47f1df=this['editor']['plugins']['get'](_0x36c97a),_0x2341ff=this['editor']['model']['document']['selection'],_0x2b74ae=await _0x6900ca['modelToDataWithIds'](_0x46b51d),_0x5d8853=this['editor']['model']['document']['version'],_0x25c0ab=[..._0x2341ff['getRanges']()];return this['_actionsBalloonView']||(this['_actionsBalloonView']=this['_createActionsBalloonView']()),this['_clearInteractionHistory'](),this['_clearErrorState'](),this['_actionsBalloonView']['clearContent'](),_0x47f1df['open']({'index':0x3e8*Math['random']()%0x3e8,'title':_0x413959,'icon':_0x3b502a||_0x22b56d['IconAIQuickActions'],'mainView':this['_actionsBalloonView'],'class':'ck-ai-actions-balloon','ranges':_0x25c0ab,'id':'aiActionsBalloon'}),this['_setLoadingState'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x47f1df),this['_interactionParams']={'action':_0x22809d,'content':_0x2b74ae,'version':_0x5d8853,'aiBalloon':_0x47f1df,'modelFragment':_0x46b51d,'anchorData':_0x31c36f},this['_setupApplyListeners'](),this['listenTo'](_0x47f1df,'selectionRemoved',()=>{this['_stopInteraction'](),this['_actionsBalloonView']['disableMiniToolbarButtons']();}),this['listenTo'](_0x47f1df,'dialogClosed',(_0x1c795e,{id:_0x108365})=>{if('aiActionsBalloon'===_0x108365){if(this['_interaction']&&this['_interaction']['replies']['length']>0x0){const _0x3c4a12=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1],_0x356c00=_0x3c4a12['changeGroups'][0x0];_0x356c00&&'pending'===_0x356c00['state']&&_0x3c4a12['setChangeGroupState'](0x0,'rejected');}this['_stopInteraction'](),this['_clearInteractionHistory'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x47f1df);}}),this['_createInteraction'](_0x2b74ae,_0x5d8853,_0x47f1df,_0x22809d);}['_setupApplyListeners'](){if(!this['_interactionParams'])return;const {modelFragment:_0x35aaf1,anchorData:_0x423402}=this['_interactionParams'];this['listenTo'](this['_actionsBalloonView'],'applySuggestion',()=>{this['_applyChanges'](_0x35aaf1,_0x423402,!0x1);}),this['listenTo'](this['_actionsBalloonView'],'insertSuggestion',()=>{this['_applyChanges'](_0x35aaf1,_0x423402,!0x0);});}['_wrapWithCommonAncestors'](_0x38e9ee,_0x2f0dc0,_0x1a272d){const _0x5759ad=this['editor']['model']['createRange'](_0x2f0dc0,_0x1a272d)['getCommonAncestor'](),_0x597780=_0x5759ad['is']('documentFragment')?[]:_0x5759ad['getAncestors']({'includeSelf':!0x0})['slice'](0x1);if(_0x597780['length']){const _0x27ad7e=_0x597780['map'](_0x3fdb02=>_0x3fdb02['_clone'](!0x1));for(let _0x3b7127=0x1;_0x3b7127<_0x27ad7e['length'];_0x3b7127++)_0x27ad7e[_0x3b7127-0x1]['_appendChild'](_0x27ad7e[_0x3b7127]);return _0x27ad7e[_0x27ad7e['length']-0x1]['_appendChild'](_0x38e9ee),new _0x22b56d['ModelDocumentFragment'](_0x27ad7e[0x0]);}return _0x38e9ee;}['_copyMarkersToFragment'](_0x363054,_0x33ad28,_0x41116b={'isTableSelection':!0x1}){const _0x381feb=this['editor']['model'],_0x1b6a93=Array['from'](_0x33ad28['getRanges']()),_0x53a79d=_0x33ad28['getFirstRange']()['start'];for(const _0x1d1ae3 of _0x381feb['markers']){if(_0x1d1ae3['name']['startsWith'](_0x26d272)||!_0x1d1ae3['affectsData'])continue;const _0x88cc60=_0x1d1ae3['getRange']();if(!_0x1b6a93['some'](_0x15ae50=>_0x15ae50['containsRange'](_0x88cc60,!0x0)))continue;const _0x7a17cc=this['_regularCalculateMarkerPath'](_0x88cc60['start'],_0x53a79d,_0x41116b['isTableSelection']),_0x123fb9=this['_regularCalculateMarkerPath'](_0x88cc60['end'],_0x53a79d,_0x41116b['isTableSelection']),_0x567f70=_0x381feb['createPositionFromPath'](_0x363054,_0x7a17cc),_0x53a396=_0x381feb['createPositionFromPath'](_0x363054,_0x123fb9);if(!_0x567f70['isEqual'](_0x53a396)){const _0x5d6267=_0x381feb['createRange'](_0x567f70,_0x53a396);_0x363054['markers']['set'](_0x1d1ae3['name'],_0x5d6267);}}}['_regularCalculateMarkerPath'](_0x2709b0,_0x350a55,_0x22ce3e=!0x1){const _0x27920d=[..._0x2709b0['path']['slice']()];for(let _0x57f49a=0x0;_0x57f49a<Math['max'](_0x350a55['path']['length'],_0x2709b0['path']['length']);_0x57f49a++){const _0x397db6=_0x350a55['path'][_0x57f49a]||0x0,_0x10d37a=(_0x2709b0['path'][_0x57f49a]||0x0)-_0x397db6;if(_0x27920d[_0x57f49a]=_0x10d37a,0x0!==_0x10d37a&&!_0x22ce3e)break;}return _0x27920d;}async['_createInteraction'](_0x589e09,_0x5a96e2,_0x2313da,_0x525dde){const _0x1fb239=this['editor'];this['_interactionParams']||(this['_interactionParams']={'action':_0x525dde,'content':_0x589e09,'version':_0x5a96e2,'aiBalloon':_0x2313da,'modelFragment':this['editor']['model']['getSelectedContent'](this['editor']['model']['document']['selection']),'anchorData':new Map()});const _0x478223=new AIActionsInteraction({'connector':this['_aiConnector'],'editor':_0x1fb239,'content':_0x589e09,'version':_0x5a96e2,..._0x525dde});this['_interactions']['push'](_0x478223);const _0x4cb26c=(_0x592640,_0x514b3c=!0x1,_0x3c0fc3='streaming')=>this['_promiseQueue']['enqueue'](async _0x2b3c2c=>{try{const _0x3a4e63=_0x58f0c1({'editor':_0x1fb239,'changeGroups':_0x592640['changeGroups'],'documentContextContent':_0x592640['documentContextContent'],'showDiff':_0x514b3c,'trimUnchanged':!0x1});_0x3a4e63['length']&&await this['_actionsBalloonView']['updateContent']({'part':_0x3a4e63[0x0],'renderingStrategy':_0x3c0fc3,'abortSignal':_0x2b3c2c});}catch(_0x487e39){if(this['_isAbortError'](_0x487e39))return;throw _0x487e39;}});this['_interaction']['on']('replyCreated',(_0x4acc10,_0x5ab8d8)=>{this['_actionsBalloonView']['hideLoader'](),this['_actionsBalloonView']['startAutoScroll'](),_0x4cb26c(_0x5ab8d8)['catch'](_0x8caa4d=>{this['_isAbortError'](_0x8caa4d)||(console['error']('Error\x20updating\x20content\x20in\x20replyCreated:',_0x8caa4d),this['_setErrorState'](_0x478223));});}),this['_interaction']['on']('replyContentUpdated',(_0x202111,_0x558ce9)=>{_0x4cb26c(_0x558ce9)['catch'](_0x5ba693=>{this['_isAbortError'](_0x5ba693)||(console['error']('Error\x20updating\x20content\x20in\x20replyContentUpdated:',_0x5ba693),this['_setErrorState'](_0x478223));});}),this['_interaction']['on']('interactionFinished',async()=>{try{await this['_clearLoadingState'](),this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),await this['_promiseQueue']['queueEmptyPromise'];}catch(_0x4d4133){this['_isAbortError'](_0x4d4133)||(console['error']('Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:',_0x4d4133),this['_setErrorState'](_0x478223));}finally{this['_actionsBalloonView']['stopAutoScroll']();}}),this['listenTo'](this['_actionsBalloonView'],'toggleSuggestionDisplayMode',async(_0x1a107c,{showDiff:_0x24bc6d})=>{try{this['_balloonShowDiff']=_0x24bc6d;const _0x4e88c4=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1];_0x4e88c4&&await _0x4cb26c(_0x4e88c4,_0x24bc6d,'static');}catch(_0x2dbc47){this['_isAbortError'](_0x2dbc47)||(console['error']('Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:',_0x2dbc47),this['_setErrorState'](_0x478223));}}),this['_interaction']['on']('replyChangeGroupStateUpdated',(_0x90000a,{reply:_0xe957db})=>{const _0x540118={'positiveCount':_0xe957db['changeGroups']['filter'](_0x812f4a=>'accepted'===_0x812f4a['state'])['length'],'totalCount':_0xe957db['changeGroups']['length']},_0x5ee219=this['_interaction']['actionCallId'],_0x15818b=this['_interaction']['actionName'];_0x15818b?this['_aiConnector']['upsertAIActionRating'](_0x15818b,_0x5ee219,_0x540118):this['_aiConnector']['upsertCustomAIActionRating'](_0x5ee219,_0x540118);}),this['_setLoadingState']();try{const _0x429618=await this['_interaction']['start']();return this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),_0x429618;}catch(_0xe1cfc0){if(this['_isAbortError'](_0xe1cfc0))return;this['_actionsBalloonView']['hideLoader'](),this['_setErrorState'](_0x478223);}}['_applyChanges'](_0x5edf4a,_0x3f29e7,_0x4f6160){const _0x40ab61=this['editor'];if(_0x4f6160&&!_0x40ab61['plugins']['has']('TrackChanges'))throw new _0x22b56d['CKEditorError']('ai-no-track-changes',null);const _0x592077=this['editor']['plugins']['get'](DocumentCompare),_0x40c888=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x40c888||!_0x40c888['replies']['length'])return;const _0x4b4b53=_0x40c888['replies'][_0x40c888['replies']['length']-0x1],_0x21da10=_0x4b4b53['changeGroups'];_0x4b4b53['setChangeGroupState'](0x0,'accepted');let _0x891d22=_0x58f663({'editor':_0x40ab61,'reply':_0x4b4b53,'interaction':_0x40c888,'groups':_0x21da10,'transform':!0x1,'documentCompare':_0x592077,'documentCompareOptions':{'anchor':_0x40ab61['model']['createPositionAt'](_0x5edf4a,0x0),'markDeletions':_0x4f6160}});_0x891d22=this['_filterOperationsOutsideRange'](_0x891d22,_0x3f29e7);for(const _0x5bd7a7 of _0x891d22)this['_anchorOperation'](_0x3f29e7,_0x5bd7a7,_0x40ab61['model']['document']['getRoot']());const _0x1f9da4=_0x40c888['getDocumentContext']()['version'],_0x4f1d5a=_0x40ab61['model']['document']['history']['getOperations'](_0x1f9da4),_0xf146ab={'document':_0x40ab61['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x45fc08=_0x22b56d['transformOperationSets'](_0x891d22,_0x4f1d5a,_0xf146ab)['operationsA'];_0x40ab61['model']['change'](_0x16d78f=>{if(_0x16d78f['setSelection'](_0x40ab61['model']['document']['selection']['focus']),_0x4f6160)_0x40ab61['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x45fc08);else{for(const _0x24ffab of _0x45fc08)_0x24ffab['baseVersion']=_0x40ab61['model']['document']['version'],_0x3e2ca4(_0x40ab61,_0x24ffab),_0x16d78f['batch']['addOperation'](_0x24ffab),_0x40ab61['model']['applyOperation'](_0x24ffab);}}),this['editor']['plugins']['get']('AIBalloon')['close']();}['_filterOperationsOutsideRange'](_0x4d52fe,_0x3dcc1b){return _0x4d52fe['filter'](_0x2165b5=>{if('rename'==_0x2165b5['type']){const _0x56c4e8=_0x2165b5['position']['nodeAfter'];return!_0x3dcc1b['has'](_0x56c4e8);}if(_0x2165b5['type']['indexOf']('Attribute')>-0x1){const _0x327dfc=_0x2165b5['range']['start']['nodeAfter'];return!_0x3dcc1b['has'](_0x327dfc);}return!0x0;});}['_anchorOperation'](_0xb8cd8e,_0x5630dd,_0x35ec42){const _0x53e225=_0x5630dd['clone']();for(const _0x49c3ae in _0x5630dd){const _0x580d61=_0x5630dd[_0x49c3ae];_0x580d61 instanceof _0x22b56d['ModelRange']?_0x5630dd[_0x49c3ae]=new _0x22b56d['ModelRange'](_0x1ebac6(_0x580d61['start']),_0x1ebac6(_0x580d61['end'])):_0x580d61 instanceof _0x22b56d['ModelPosition']&&(_0x5630dd[_0x49c3ae]=_0x1ebac6(_0x580d61));}if(['insert','move','remove','reinsert','split','merge']['includes'](_0x53e225['type'])){if(_0x53e225['isDocumentOperation']=!0x1,_0x53e225['baseVersion']=null,'remove'==_0x53e225['type']){const _0x2f6ede=_0x53e225['sourcePosition'],_0x3d87b4=_0x53e225['howMany'];new _0x22b56d['_DetachOperation'](_0x2f6ede,_0x3d87b4)['_execute']();}else _0x53e225['_execute']();}function _0x1ebac6(_0x3a69cd){if('$graveyard'==_0x3a69cd['root']['rootName'])return _0x3a69cd;const _0x5e5d93=[];let _0x454760=_0x3a69cd['root'];for(let _0x282206=0x0;_0x282206<_0x3a69cd['path']['length'];_0x282206++){const _0x399446=_0xb8cd8e['get'](_0x454760)||0x0;_0x5e5d93[_0x282206]=_0x3a69cd['path'][_0x282206]+_0x399446,_0x454760=_0x454760['getChildAtOffset'](_0x3a69cd['path'][_0x282206]);}return new _0x22b56d['ModelPosition'](_0x35ec42,_0x5e5d93,_0x3a69cd['stickiness']);}}['_refreshInteraction'](){if(!this['_interactionParams'])return;this['_interactions']['length']>0x0&&this['_stopInteraction'](),this['_currentInteractionIndex']=0x0,this['_balloonShowDiff']=!0x1;const {action:_0x2fa61c,content:_0x2c4783,version:_0x2add02,aiBalloon:_0x55b4f1}=this['_interactionParams'];this['_clearErrorState'](),this['_actionsBalloonView']['clearContent'](),this['_actionsBalloonView']['showLoader'](),this['_actionsBalloonView']['resetShowChangesButton'](),this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),this['stopListening'](this['_actionsBalloonView']),this['_setupApplyListeners'](),this['_createInteraction'](_0x2c4783,_0x2add02,_0x55b4f1,_0x2fa61c)['catch'](_0x3c6c7e=>{this['_isAbortError'](_0x3c6c7e)||console['error']('Error\x20refreshing\x20interaction:',_0x3c6c7e);});}['_isAbortError'](_0x2dfce2){return!!_0x2dfce2['message']&&_0x2dfce2['message']['startsWith']('ai-request-aborted');}['_clearInteractionHistory'](){this['_interactions']=[],this['_interactionParams']=void 0x0,this['_currentInteractionIndex']=0x0,this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}['_stopInteraction'](){this['_interaction']&&this['_interaction']['stop'](),this['_promiseQueue']['abort'](),this['isBusy']=!0x1,this['_interactionParams']&&this['_actionsBalloonView']['stopAutoScroll']();}['_navigateToPrevious'](){const _0x340eff=this['_interactions']['length'];this['_currentInteractionIndex']<_0x340eff-0x1&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']+0x1);}['_navigateToNext'](){this['_currentInteractionIndex']>0x0&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']-0x1);}async['_displayInteractionAtIndex'](_0x1cea92){if(!this['_interactionParams'])return;this['_currentInteractionIndex']=_0x1cea92;const _0x13f419=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x13f419)return;if(_0x13f419['hasError'])return this['_setErrorState'](_0x13f419),void this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);if(!_0x13f419['replies']['length'])return;this['_actionsBalloonView']['hideError'](),this['_interactionParams']&&this['_clearErrorState']();const _0x536f52=_0x13f419['replies'][_0x13f419['replies']['length']-0x1];if(_0x536f52){const _0x4e48de=this['editor'];try{const _0x1367aa=_0x58f0c1({'editor':_0x4e48de,'changeGroups':_0x536f52['changeGroups'],'documentContextContent':_0x536f52['documentContextContent'],'showDiff':this['_balloonShowDiff'],'trimUnchanged':!0x1});await new Promise(_0x2db994=>setTimeout(_0x2db994,0x32)),await this['_actionsBalloonView']['updateContent']({'part':_0x1367aa[0x0],'renderingStrategy':'static','abortSignal':new AbortController()['signal']});}catch(_0x1568c){this['_isAbortError'](_0x1568c)||console['error']('Error\x20updating\x20content\x20during\x20navigation:',_0x1568c);}}this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}['_setLoadingState'](){this['_actionsBalloonView']['setIsLoading'](!0x0),this['isBusy']=!0x0;}async['_setErrorState'](_0x5bd78c){const _0x3c677a=xt(this['editor']['locale'],'AI_ACTIONS_GENERIC_ERROR');this['_actionsBalloonView']['showError'](_0x3c677a),_0x5bd78c['hasError']=!0x0,await this['_promiseQueue']['queueEmptyPromise'],this['_actionsBalloonView']['setErrorState'](),this['_actionsBalloonView']['toggleIsLoading'](!0x0);}['_clearErrorState'](){this['_actionsBalloonView']['hideError'](),this['_actionsBalloonView']['toggleIsLoading'](!0x1);}async['_clearLoadingState'](){await this['_promiseQueue']['queueEmptyPromise'],this['isBusy']=!0x1,this['_actionsBalloonView']['setIsLoading'](!0x1);}}class AIQuickActions extends _0x22b56d['Plugin']{static get['requires'](){return[AIQuickActionsUI,AIQuickActionsEditing,AIActions];}static get['pluginName'](){return'AIQuickActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1bbc6b){super(_0x1bbc6b),_0x1bbc6b['config']['define']('ai.quickActions',{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}class AIReviewCoreReviewCheckListItemResultsView extends _0x22b56d['View']{['resultResponseView'];['acceptButtonView'];['dismissButtonView'];['infoButtonView'];['outdatedButtonView'];constructor(_0x1db62c,_0xdaf330){super(_0x1db62c),this['id']=_0xdaf330,this['set']('status','pending'),this['set']('changeId',_0xdaf330),this['resultResponseView']=this['_createResultResponseView'](),this['acceptButtonView']=this['_createAcceptButtonView'](),this['dismissButtonView']=this['_createDismissButtonView'](),this['infoButtonView']=this['_createInfoButtonView'](),this['outdatedButtonView']=this['_createOutdatedButtonView'](),this['set']('isInfoToggleOn',!0x1),this['set']('isActive',!0x1),this['set']('showDiff',!0x0),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-result',this['bindTemplate']['if']('isActive','ck-ai_review__check-run-result_active')]},'on':{'click':this['bindTemplate']['to']('click'),'mouseover':this['bindTemplate']['to']('mouseover'),'mouseout':this['bindTemplate']['to']('mouseout')},'children':[this['resultResponseView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-result-footer']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-run-result-action-buttons']},'children':[this['acceptButtonView'],this['dismissButtonView'],this['outdatedButtonView']]},this['infoButtonView']]}]}),this['on']('click',(_0xcbc08,_0x266049)=>{_0x266049&&_0x266049['target']&&'A'===_0x266049['target']['tagName']&&_0x266049['preventDefault'](),this['fire']('activateChange',{'id':_0xdaf330,'source':this,'uiInteraction':'click'});}),this['on']('mouseover',()=>{this['fire']('activateChange',{'id':_0xdaf330,'source':this,'uiInteraction':'hover'});}),this['on']('mouseout',()=>{this['fire']('deactivateChange',{'origin':'panel','id':_0xdaf330,'source':this});});}['setItemAsActive'](){this['isActive']=!0x0;}['setItemAsInactive'](){this['isActive']=!0x1;}['_createResultResponseView'](){const _0x1c24b8=new _0x22b56d['View'](this['locale']);return _0x1c24b8['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content','ck-reset_all-excluded','ck-ai_review__check-run-result-response',this['bindTemplate']['if']('showDiff','ck-hidden',_0x57e103=>!_0x57e103)]}}),_0x1c24b8;}['_createAcceptButtonView'](){const _0x45620c=new _0x22b56d['ButtonView'](this['locale']);return _0x45620c['set']({'label':xt(this['locale'],'AI_REVIEW_MODE_ACCEPT_CHANGE'),'withText':!0x0}),_0x45620c['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x364c6d=>{this['fire']('acceptChange',{'id':this['changeId']}),_0x364c6d['stopPropagation']();})},'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-result-accept-button',this['bindTemplate']['if']('status','ck-hidden',_0x403ecd=>'pending'!==_0x403ecd&&'accepted'!==_0x403ecd),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-accept-button',_0x4497a9=>'pending'===_0x4497a9),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x45b27b=>'accepted'===_0x45b27b)]}}),this['on']('change:status',(_0x258a05,_0x3fd62f,_0x2a597b)=>{_0x45620c['isEnabled']='pending'===_0x2a597b,'accepted'===_0x2a597b&&(_0x45620c['label']=xt(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED'),_0x45620c['icon']=_0x22b56d['IconCheck']);}),_0x45620c;}['_createDismissButtonView'](){const _0x330c5e=new _0x22b56d['ButtonView'](this['locale']);return _0x330c5e['set']({'label':xt(this['locale'],'AI_REVIEW_MODE_DISMISS_CHANGE'),'withText':!0x0}),_0x330c5e['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x2cdcd0=>{this['fire']('dismissChange',{'id':this['changeId']}),_0x2cdcd0['stopPropagation']();})},'attributes':{'class':['ck-ai-button-tertiary',this['bindTemplate']['if']('status','ck-hidden',_0x2d34b7=>'pending'!==_0x2d34b7&&'rejected'!==_0x2d34b7),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-dismiss-button',_0x5dfcea=>'pending'===_0x5dfcea),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x5a1dfd=>'rejected'===_0x5a1dfd)]}}),this['on']('change:status',(_0x4a79bb,_0x5ef2df,_0x4d845e)=>{_0x330c5e['isEnabled']='pending'===_0x4d845e,'rejected'===_0x4d845e&&(_0x330c5e['label']=xt(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_REJECTED'),_0x330c5e['icon']=_0x22b56d['IconCancel']);}),_0x330c5e;}['_createInfoButtonView'](){const _0x3fba47=new _0x22b56d['ButtonView'](this['locale']);return _0x3fba47['set']({'label':xt(this['locale'],'AI_REVIEW_MODE_LEARN_MORE'),'icon':_0x22b56d['IconInfo'],'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox','class':'ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden'}),_0x3fba47['bind']('isOn')['to'](this,'isInfoToggleOn',_0x2514d5=>_0x2514d5),_0x3fba47['on']('execute',()=>{this['isInfoToggleOn']=!this['isInfoToggleOn'];}),_0x3fba47;}['_createOutdatedButtonView'](){const _0x2f8cfa=new _0x22b56d['ButtonView'](this['locale']);return _0x2f8cfa['set']({'label':xt(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED'),'icon':_0x22b56d['IconOutdated'],'withText':!0x0,'isEnabled':!0x1}),_0x2f8cfa['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-result-status-button',this['bindTemplate']['if']('status','ck-hidden',_0x4c26db=>'outdated'!==_0x4c26db)],'disabled':'disabled'}}),_0x2f8cfa;}}class AIReviewCoreBalloonSuggestionItemView extends _0x22b56d['BalloonPanelView']{['resultItemView'];['_pinnedRectIndex']=void 0x0;['_pinnedTargetElement']=void 0x0;['_pinnedTargetChangeId']=void 0x0;constructor(_0x304fb2,_0x42ba79){super(_0x304fb2),this['set']({'isVisible':!0x1,'position':'arrow_se','class':null,'top':0x0,'left':0x0}),this['extendTemplate']({'tag':'div','attributes':{'class':['ck-reset'],'tabindex':'-1'}}),this['set']('isDiffActive',!0x1),this['content']['add'](this['_createContentView']()),_0x42ba79['add'](this);}['render'](){super['render'](),this['_setupClickOutsideHandler']();}['updateContent'](_0x5b0353){this['resultItemView']['changeId']=_0x5b0353['id'],this['resultItemView']['resultResponseView']['element']['innerHTML']=_0x5b0353['contentDiffed'];}['showBalloon'](_0x549260,_0x54177e,_0xef4d68,_0x30fb2b,_0x2c7102,_0x37da8a){const _0x54dc06=_0x54177e();if(!_0x54dc06)return;this['updateContent'](_0x549260),this['show']();const _0x19f0a7=Array['from'](_0x54dc06['getClientRects']())['reverse'](),_0x1cd481=this['_getPointedRectIndexFromEvent'](_0xef4d68,_0x19f0a7),_0x8ebe4c=_0x19f0a7[_0x1cd481??0x0];'click'===_0x30fb2b?(this['isDiffActive']=!0x0,this['pin']({'target':()=>this['_getBestRectPositionOnClick'](_0x54177e(),_0x1cd481,_0x549260['id'],_0x2c7102,_0x37da8a)||_0x8ebe4c})):'hover'===_0x30fb2b&&(this['isDiffActive']=!0x1,this['pin']({'target':()=>this['_getBestRectPositionOnHover'](_0x54177e(),_0x1cd481,_0x549260['id'])||_0x8ebe4c}));}['hideBalloon'](){this['hide'](),this['unpin'](),this['_pinnedRectIndex']=void 0x0,this['_pinnedTargetElement']=void 0x0,this['_pinnedTargetChangeId']=void 0x0;}['hideDiffInBalloon'](){this['resultItemView']['showDiff']=!0x1;}['showDiffInBalloon'](){this['resultItemView']['showDiff']=!0x0;}['deactivateChange'](){this['fire']('deactivateChange',{'origin':'balloon'});}['_setupClickOutsideHandler'](){_0x22b56d['clickOutsideHandler']({'emitter':this,'activator':()=>this['isVisible'],'contextElements':()=>{const _0x165d50=[this['element']];return this['_pinnedTargetElement']&&_0x165d50['push'](this['_pinnedTargetElement']),_0x165d50;},'callback':()=>{this['hide'](),this['unpin'](),this['deactivateChange'](),this['_pinnedTargetElement']=void 0x0,this['_pinnedRectIndex']=void 0x0,this['_pinnedTargetChangeId']=void 0x0;}});}['_createContentView'](){const _0x363d46=new _0x22b56d['View']();return this['resultItemView']=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],''),this['resultItemView']['resultResponseView']['extendTemplate']({'attributes':{'class':['ck-content']}}),this['resultItemView']['delegate']('acceptChange','dismissChange')['to'](this),_0x363d46['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-ai_review-balloon-panel-suggestion',this['bindTemplate']['if']('isDiffActive','ck-ai_review-balloon-panel-suggestion_diff-active')]},'children':[{'tag':'p','attributes':{'class':['ck-ai_review__suggestion-text']},'children':[this['resultItemView']]}]}),_0x363d46;}['_getBestRectPositionOnClick'](_0x3c004f,_0x245f73,_0x2505b0,_0x2a6486,_0x1a0865){if(!_0x3c004f)return null;const _0xde9acc=this['position']['replace']('arrow_',''),_0x3fff48=Array['from'](_0x3c004f['getClientRects']());let _0x51137c,_0x4d22e9=_0x3fff48['reverse']();return void 0x0!==_0x245f73&&this['_isPinnedRectVisible'](_0x4d22e9[_0x245f73],_0x2a6486,_0x1a0865)?(_0x51137c=_0x4d22e9[_0x245f73],this['_pinnedRectIndex']=_0x245f73):this['_isPinnedRectVisible'](_0x4d22e9[0x0],_0x2a6486,_0x1a0865)&&void 0x0===_0x245f73?_0x51137c=_0x4d22e9[0x0]:(_0x4d22e9='s'==_0xde9acc[0x0]?[..._0x3fff48]['reverse']():_0x3fff48,_0x4d22e9['forEach'](_0x2fcbea=>{this['_isPinnedRectVisible'](_0x2fcbea,_0x2a6486,_0x1a0865)&&(_0x51137c=_0x2fcbea);})),this['_pinnedTargetChangeId']=_0x2505b0,this['_pinnedTargetElement']=_0x3c004f,_0x51137c||_0x3c004f['getBoundingClientRect']();}['_getBestRectPositionOnHover'](_0x225e17,_0x23ab65,_0x612a9a){if(!_0x225e17)return null;const _0x4f4d3d=Array['from'](_0x225e17['getClientRects']())['reverse']();if(void 0x0===this['_pinnedRectIndex']&&void 0x0!==_0x23ab65&&this['_pinnedTargetChangeId']!==_0x612a9a)return this['_pinnedRectIndex']=_0x23ab65,this['_pinnedTargetElement']=_0x225e17,this['_pinnedTargetChangeId']=_0x612a9a,_0x4f4d3d[_0x23ab65];if(void 0x0!==this['_pinnedRectIndex']&&this['_pinnedTargetChangeId']===_0x612a9a){if(_0x225e17!==this['_pinnedTargetElement'])return Array['from'](this['_pinnedTargetElement']['getClientRects']())['reverse']()[this['_pinnedRectIndex']];return _0x4f4d3d[this['_pinnedRectIndex']];}return void 0x0!==_0x23ab65&&this['_pinnedTargetChangeId']!==_0x612a9a?(this['_pinnedRectIndex']=_0x23ab65,this['_pinnedTargetElement']=_0x225e17,this['_pinnedTargetChangeId']=_0x612a9a,_0x4f4d3d[_0x23ab65]):_0x225e17['getBoundingClientRect']();}['_getPointedRectIndexFromEvent'](_0x16611,_0x5dd1c1){if(_0x16611)for(let _0x239289=0x0;_0x239289<_0x5dd1c1['length'];_0x239289++){const _0x41fdc2=_0x5dd1c1[_0x239289];if(_0x16611['clientX']>=_0x41fdc2['left']-0x3&&_0x16611['clientX']<=_0x41fdc2['right']+0x3&&_0x16611['clientY']>=_0x41fdc2['top']-0x3&&_0x16611['clientY']<=_0x41fdc2['bottom']+0x3)return _0x239289;}}['_isPinnedRectVisible'](_0x1e93b2,_0x23f25c,_0x44f1be){const _0x459dad=new _0x22b56d['Rect'](_0x1e93b2),_0x39505a=_0x23f25c||document['documentElement'],_0x53b22c=_0x459dad['getIntersection'](_0x22b56d['getConstrainedViewportRect'](_0x44f1be)),_0x303f79=new _0x22b56d['Rect'](_0x39505a)['getIntersection'](_0x459dad);return!!(_0x53b22c&&_0x303f79&&_0x459dad['width']>0x0);}}const _0x10e2b8=['getReviewCheckList','runReviewCheck','abortReviewStream','toggleDiff','acceptAllChanges','leaveReviewCoreResultList','activateChange','deactivateChange','acceptChange','dismissChange','learnMore','finishReview','retryReview'];class _0x49718a extends _0x22b56d['ContextPlugin']{['_mainView'];['_balloonSuggestionView'];['_bodyCollection'];static get['requires'](){return[_0x32d0d0];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5c4385){super(_0x5c4385),this['_bodyCollection']=new _0x22b56d['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_mainView']=this['createMainView'](),this['_mainView']['delegate'](..._0x10e2b8)['to'](this),this['_balloonSuggestionView']=new AIReviewCoreBalloonSuggestionItemView(this['context']['locale'],this['_bodyCollection']),this['_balloonSuggestionView']['delegate']('acceptChange','dismissChange','deactivateChange')['to'](this);}['init'](){const _0x3d3b31=this['context']['plugins']['get']('AITabs');this['registerTab'](_0x3d3b31);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}['setAvailableChecks'](_0x58f51a){if(!this['_mainView']['reviewCheckListView']['hasChecks']()){const _0x33b4f6=!this['context']['config']['get']('ai.models.showModelSelector');this['_mainView']['reviewCheckListView']['setChecks'](_0x58f51a,_0x33b4f6);}this['_mainView']['showReviewCheckListView']();}['showReviewCheckList'](){this['fire']('getReviewCheckList');}['showCheckRunResults'](_0x525cbf){_0x525cbf&&('error-general'!==_0x525cbf['status']?'error-chunk'!==_0x525cbf['status']?this['_mainView']['showReviewCheckResultsView']():this['showChunkErrorView']():this['showGeneralResultsErrorView']());}['showCheckRunResult'](_0x3f274c){this['_mainView']['addCheckRunResult'](_0x3f274c);}['showGeneralResultsErrorView'](){this['_mainView']['showGeneralResultsErrorView']();}['showGeneralReviewCoreErrorView'](_0x206dfd){this['_mainView']['showGeneralReviewCoreErrorView'](_0x206dfd??xt(this['context']['locale'],'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE'));}['showChunkErrorView'](){this['_mainView']['showChunkErrorView']();}['setCheckResultTitle'](_0x597d32,_0x462169){this['_mainView']['reviewCheckResultsView']['setTitle'](_0x597d32,_0x462169);}['setActiveStateInResults'](_0x25ceb9){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x44a1a0=>{_0x44a1a0['id']===_0x25ceb9&&_0x44a1a0['setItemAsActive']();});}['resetActiveStateInResults'](){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x12ea6e=>_0x12ea6e['setItemAsInactive']());}['updateChangeState'](_0x1132e2,_0x5a8762){'accepted'===_0x5a8762||'rejected'===_0x5a8762||'outdated'===_0x5a8762?this['_mainView']['reviewCheckResultsView']['hideResult'](_0x1132e2,_0x5a8762):this['_mainView']['reviewCheckResultsView']['showResult'](_0x1132e2,_0x5a8762);}['showReviewCompletedView'](){this['_mainView']['showReviewCompletedView']();}['showActionsWhenResultIsReady'](){this['_mainView']['showActionsWhenResultIsReady']();}['showNoChangesView'](){this['_mainView']['showNoChangesView']();}['hideActionsWhenResultIsReady'](){this['_mainView']['hideActionsWhenResultIsReady']();}['showChangeBalloon'](_0x3ad7aa,_0x34495a,_0x55d46b,_0x238485,_0x51c55f,_0x5a310b){this['_balloonSuggestionView']['showBalloon'](_0x3ad7aa,_0x34495a,_0x55d46b,_0x238485,_0x51c55f,_0x5a310b);}['hideChangeBalloon'](){this['_balloonSuggestionView']['hideBalloon']();}['hideDiffInBalloon'](){this['_balloonSuggestionView']['hideDiffInBalloon']();}['showDiffInBalloon'](){this['_balloonSuggestionView']['showDiffInBalloon']();}['getChangeElement'](_0x2371e4){const _0x47af33=this['_mainView']['reviewCheckResultsView']['getResults']()['find'](_0x367dbf=>_0x367dbf['id']===_0x2371e4);return _0x47af33?_0x47af33['element']:null;}['deactivateChange'](){this['_balloonSuggestionView']['deactivateChange']();}}class _0x3602e8 extends _0x22b56d['View']{constructor(_0x5227a1){super(_0x5227a1),this['set']('isVisible',!0x1),this['set']('errorMessage','');const _0xb74f67=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__general-error-container',_0xb74f67['if']('isVisible','ck-hidden',_0x3e86f0=>!_0x3e86f0)]},'children':[{'tag':'p','attributes':{'class':'ck\x20ck-ai-notification\x20ck-ai-notification_error'},'children':[{'text':_0xb74f67['to']('errorMessage')}]}]});}}class _0x202c3c extends _0x22b56d['View']{['reviewCoreHeader'];['generalErrorView'];['reviewCheckListView'];['reviewCheckResultsView'];['reviewCompletedView'];constructor(_0x1de0fd,_0x1ae22a){super(_0x1de0fd),this['reviewCoreHeader']=_0x1ae22a['header'],this['generalErrorView']=new _0x3602e8(_0x1de0fd),this['reviewCheckListView']=_0x1ae22a['list'],this['reviewCheckListView']['delegate'](..._0x10e2b8)['to'](this),this['reviewCheckResultsView']=_0x1ae22a['results'],this['reviewCheckResultsView']['delegate'](..._0x10e2b8)['to'](this),this['reviewCompletedView']=_0x1ae22a['completed'],this['reviewCompletedView']['delegate']('finishReview')['to'](this),this['reviewCheckListView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isLoading',!0x1),this['reviewCheckResultsView']['set']('isResultReady',!0x1),this['reviewCompletedView']['set']('isVisible',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-review','ck-rounded-corners'],'dir':'ltr'},'children':[this['reviewCoreHeader'],this['generalErrorView'],this['reviewCheckListView'],this['reviewCheckResultsView'],this['reviewCompletedView']]});}['showReviewCheckListView'](){this['reviewCheckListView']['resetAllParameterizedChecks'](),this['reviewCheckListView']['set']('isVisible',!0x0),this['reviewCheckResultsView']['set']('isVisible',!0x1),this['reviewCompletedView']['set']('isVisible',!0x1);}['showReviewCheckResultsView'](){this['hideActionsWhenResultIsReady'](),this['reviewCheckResultsView']['resetErrorState'](),this['reviewCheckListView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isVisible',!0x0),this['reviewCheckResultsView']['clearResults'](),this['reviewCheckResultsView']['set']('isLoading',!0x0),this['reviewCheckResultsView']['set']('isCompleted',!0x1);}['addCheckRunResult'](_0x5bfd76){this['reviewCheckResultsView']['addResult'](_0x5bfd76),this['reviewCheckResultsView']['set']('isLoading',!0x1);}['showReviewCompletedView'](){this['reviewCheckResultsView']['set']('isVisible',!0x0),this['reviewCompletedView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isCompleted',!0x0),this['reviewCheckListView']['set']('isVisible',!0x1);}['showActionsWhenResultIsReady'](){this['reviewCheckResultsView']['isResultReady']?(this['reviewCheckListView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isVisible',!0x0),this['reviewCompletedView']['set']('isVisible',!0x1)):this['reviewCheckResultsView']['isResultReady']=!0x0;}['showNoChangesView'](){this['reviewCheckListView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isVisible',!0x1),this['reviewCompletedView']['set']('isVisible',!0x0);}['hideActionsWhenResultIsReady'](){this['reviewCheckResultsView']['isResultReady']=!0x1;}['showGeneralReviewCoreErrorView'](_0x2893f2){this['generalErrorView']['set']('isVisible',!0x0),this['generalErrorView']['errorMessage']=_0x2893f2;}['showGeneralResultsErrorView'](){this['reviewCheckResultsView']['set']('isLoading',!0x1),this['showActionsWhenResultIsReady'](),this['reviewCheckResultsView']['showGeneralErrorMessage']();}['showChunkErrorView'](){this['reviewCheckResultsView']['set']('isLoading',!0x1),this['showActionsWhenResultIsReady'](),this['reviewCheckResultsView']['showChunkErrorMessage']();}}class AIReviewCoreFinishReviewButtonView extends _0x22b56d['ButtonView']{constructor(_0x437c25,_0xd72999){super(_0xd72999),this['set']({'label':_0x437c25,'withText':!0x0,'class':'ck-ai-button-primary'}),this['on']('execute',()=>{this['fire']('finishReview');});}}class AIReviewCoreUICheckResultsView extends _0x22b56d['ListItemView']{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x274bf2,_0x5556c4){super(_0x274bf2),this['_contents']=_0x5556c4,this['_resultViews']=new _0x22b56d['ViewCollection'](),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['_resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x36ccc3(_0x274bf2),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x4c5423=this['_createCombinedSkeletonLoader'](),_0x18f21a=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x18f21a['if']('isLoading','ck-ai_review__check-run_loading',_0x143357=>_0x143357),_0x18f21a['if']('isResultReady','ck-ai_review__check-run_ready',_0x11c5bf=>_0x11c5bf),_0x18f21a['if']('isVisible','ck-hidden',_0x4cc09a=>!_0x4cc09a)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x1f95d2=>_0x1f95d2)]},'children':this['_resultViews']},_0x4c5423]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0xebe587){const _0xf373cd=new AIReviewCoreReviewCheckListItemResultsView(this['locale'],_0xebe587['id']);_0xf373cd['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0xf373cd),_0xf373cd['resultResponseView']['element']['innerHTML']=_0xebe587['contentDiffed'];}['hideResult'](_0x38de6f,_0x40ee34){if('pending'===_0x40ee34)return;const _0x59a6fc=this['_resultViews']['find'](_0x2fa81b=>_0x2fa81b['id']===_0x38de6f);_0x59a6fc&&(_0x59a6fc['status']=_0x40ee34,_0x59a6fc['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x49fa73,_0x2eab1a){if('pending'!==_0x2eab1a)return;const _0x1b920b=this['_resultViews']['find'](_0x1c83bd=>_0x1c83bd['id']===_0x49fa73);_0x1b920b&&(_0x1b920b['status']=_0x2eab1a,_0x1b920b['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x2f023c,_0x17afb4){this['headerTitle']=_0x2f023c,this['headerSubtitle']=_0x17afb4||'';}['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'],_0x469faf['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x4b69c5=new _0x22b56d['View'](this['locale']),_0xcff4a4=[];for(let _0x20b669=0x0;_0x20b669<0x10;_0x20b669++){const _0x3cf6ed=this['_createSkeletonLoader']();_0x3cf6ed['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0xcff4a4['push'](_0x3cf6ed);}return _0x4b69c5['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x2dab26=>!_0x2dab26)]},'children':_0xcff4a4}),_0x4b69c5;}['_createErrorView'](){const _0x498482=new _0x22b56d['View'](this['locale']),_0x1c70bb=new _0x22b56d['ButtonView'](this['locale']),t=this['locale']['t'];return _0x498482['delegate']('retryReview')['to'](this),_0x1c70bb['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x1c70bb['on']('execute',()=>{this['fire']('retryReview');}),_0x498482['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x9e15b5=>!_0x9e15b5),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0xd28fe5=>'chunk'===_0xd28fe5)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai_review__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x38fe2e=>'chunk'===_0x38fe2e)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x530122=>'general'!==_0x530122)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x3999cd=>'chunk'!==_0x3999cd)]},'children':[{'text':xt(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x1c70bb]}),_0x498482;}['_createCancelButtonView'](){const _0x19c712=new _0x22b56d['ButtonView'](this['locale']);return _0x19c712['set']({'label':xt(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x22b56d['IconStop']}),_0x19c712['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5d99de=>_0x5d99de),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x52b739=>_0x52b739)]}}),_0x19c712['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x19c712;}['_createToggleDiffButtonView'](){const _0x496ebe=new _0x22b56d['ButtonView'](this['locale']);_0x496ebe['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x496ebe['bind']('isEnabled')['to'](this,'isError',_0x54886d=>!_0x54886d),_0x496ebe['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1d02df=>!_0x1d02df),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3e46a6=>_0x3e46a6)]}});const _0x233d91=xt(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x22373d=xt(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x496ebe['bind']('isOn')['to'](this,'isToggleDiffOn',_0x39b26c=>_0x39b26c),_0x496ebe['bind']('icon')['to'](this,'isToggleDiffOn',_0xacac41=>_0xacac41?_0x22b56d['IconEye']:_0x22b56d['IconEyeCrossedOut']),_0x496ebe['bind']('label')['to'](this,'isToggleDiffOn',_0x4eb7e5=>_0x4eb7e5?_0x233d91:_0x22373d),_0x496ebe['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x496ebe;}['_createAcceptAllButtonView'](){const _0x15cb9b=new _0x22b56d['ButtonView'](this['locale']);return _0x15cb9b['set']({'label':xt(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x15cb9b['bind']('isEnabled')['to'](this,'isError',_0x2a0d35=>!_0x2a0d35),_0x15cb9b['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3505ff=>!_0x3505ff),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4b0e32=>_0x4b0e32)]}}),_0x15cb9b['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x15cb9b;}['_createExitReviewButtonView'](){const _0x5b7fb7=new _0x22b56d['ButtonView'](this['locale']);return _0x5b7fb7['set']({'label':xt(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x5b7fb7['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1374e9=>!_0x1374e9),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5cf05f=>_0x5cf05f)]}}),_0x5b7fb7['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x5b7fb7;}['_createResultHeaderView'](){const _0x420db6=new _0x22b56d['View'](this['locale']),_0x9f5940=this['_createTitleView']();return _0x420db6['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x1d0540=>_0x1d0540)]},'children':[_0x9f5940,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x420db6;}['_createTitleView'](){const _0x21c669=new _0x22b56d['View'](this['locale']),_0x58648a=new _0x8e7671();return _0x58648a['bind']('isVisible')['to'](this,'isResultReady',_0xedf991=>!_0xedf991),_0x21c669['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x58648a,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5a944d=>_0x5a944d)]},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3a8c2c=>!_0x3a8c2c)]},'children':[{'text':xt(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x21c669;}['_createFinishReviewButtonView'](){const _0x29e65f=new AIReviewCoreFinishReviewButtonView(xt(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x29e65f['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5b63fb=>!_0x5b63fb)]}}),_0x29e65f['delegate']('finishReview')['to'](this),_0x29e65f;}}class AIReviewCoreReviewCompletedView extends _0x22b56d['ListItemView']{['_resultsHeader'];['_finishReviewButtonView'];constructor(_0x340d0f,_0x686720){super(_0x340d0f),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](_0x686720['buttonText']),this['_resultsHeader']=this['_createResultHeaderView'](_0x686720['headerText']);const _0x38698e=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed',_0x38698e['if']('isVisible','ck-hidden',_0x3da3fa=>!_0x3da3fa)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__review-completed-content']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-content-icon']},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':['ck-ai_review__review-completed-content-text']},'children':[{'text':_0x686720['emptyResultsText']}]}]}]});}['_createFinishReviewButtonView'](_0xd373e1){const _0x4636cd=new AIReviewCoreFinishReviewButtonView(_0xd373e1,this['locale']);return _0x4636cd['delegate']('finishReview')['to'](this),_0x4636cd;}['_createResultHeaderView'](_0x4d41ab){const _0x32f995=new _0x22b56d['View'](this['locale']);return _0x32f995['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title']},'children':[{'text':_0x4d41ab}]},{'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header-buttons']},'children':[this['_finishReviewButtonView']]}]}),_0x32f995;}}class _0x3a9d00 extends _0x22b56d['View']{['_dropdownView'];['_defaultValue'];['_defaultLabel'];constructor(_0x42ed5b,_0x3f4a87){super(_0x42ed5b),this['_defaultValue']=_0x3f4a87['default']||(_0x3f4a87['data']['length']>0x0?_0x3f4a87['data'][0x0]['id']:''),this['_defaultLabel']=_0x3f4a87['data']['find'](_0x3003b4=>_0x3003b4['id']===this['_defaultValue'])?.['label']||'',this['set']('formValue',''),this['_dropdownView']=_0x22b56d['createDropdown'](this['locale']);const _0x56291c=this['_prepareListOptions'](_0x3f4a87['data']);_0x22b56d['addListToDropdown'](this['_dropdownView'],_0x56291c,{'role':'menu','ariaLabel':_0x3f4a87['label']}),this['_dropdownView']['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0}),this['_dropdownView']['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x12b66d=>{_0x12b66d['stopPropagation']();})}}),this['listenTo'](this['_dropdownView'],'execute',_0x34bafa=>{this['formValue']=_0x34bafa['source']['model']['id'],this['_dropdownView']['buttonView']['label']=_0x34bafa['source']['model']['label'];}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai_review__check-list-item-parameterized-form-element','ck-ai_review__check-list-item-parameterized-form-element_dropdown']},'children':[this['_dropdownView']]});}['resetToDefault'](){this['formValue']=this['_defaultValue'],this['_dropdownView']['buttonView']['label']=this['_defaultLabel'];}['_prepareListOptions'](_0x45145c=[]){const _0x1c1a2e=new _0x22b56d['Collection']();this['resetToDefault']();for(const _0xa2990d of _0x45145c){const _0x4edf4c=new _0x22b56d['UIModel']({'label':_0xa2990d['label'],'withText':!0x0,'role':'menuitemradio','id':_0xa2990d['id'],'model':_0xa2990d});_0x4edf4c['bind']('isOn')['to'](this,'formValue',_0x3765d4=>_0x3765d4===_0x4edf4c['id']);const _0x4a1586={'type':'button','model':_0x4edf4c};_0x1c1a2e['add'](_0x4a1586);}return _0x1c1a2e;}}class _0x48516f extends _0x22b56d['ListItemView']{['_formItem']=null;constructor(_0x1127db,_0x469418,_0x1c7f02){super(_0x1127db),this['argsKey']=_0x469418?.['argsKey'];if('dropdown'===_0x469418['formType'])this['_formItem']=new _0x3a9d00(this['locale'],_0x469418);this['set']('value',''),this['bind']('value')['to'](this['_formItem'],'formValue');const _0x482034=new _0x22b56d['FormRowView'](this['locale'],{'children':[this['_formItem']],'class':[_0x1c7f02?'ck-form__row_with-submit':'']});_0x1c7f02&&_0x482034['children']['add'](_0x1c7f02),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__form-item','ck-reset_all']},'children':[_0x482034]});}['resetToDefault'](){this['_formItem']['resetToDefault']();}}class AIReviewCorePromptInputView extends _0x22b56d['TextareaView']{['keystrokes'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;constructor(_0x40c3e9){super(_0x40c3e9),this['set']('isEmpty',!0x0),this['keystrokes']=new _0x22b56d['KeystrokeHandler'](),this['minRows']=AIReviewCorePromptInputView['MIN_ROWS'],this['maxRows']=AIReviewCorePromptInputView['MAX_ROWS'],this['extendTemplate']({'attributes':{'id':'ai-review-prompt-input','class':['ck','ck-review__prompt-input']}});}['render'](){super['render'](),this['on']('update',()=>{this['isEmpty']=''===this['element']['value']?.['trim']();}),this['keystrokes']['listenTo'](this['element']);}}class AIReviewCoreCustomCheckView extends _0x22b56d['View']{['focusTracker']=new _0x22b56d['FocusTracker']();['keystrokes']=new _0x22b56d['KeystrokeHandler']();['focusCycler'];['_focusables']=new _0x22b56d['ViewCollection']();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x280fd1,_0x281012,_0x1c6551=!0x1){super(_0x280fd1),this['_check']=_0x281012,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x281012['defaultModel']?_0x281012['defaultModel']['id']:'',this['_defaultLabel']=_0x281012['defaultModel']?_0x281012['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x22b56d['LabeledFieldView'](this['locale'],()=>new AIReviewCorePromptInputView(_0x280fd1)),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 _0x22b56d['Collection'](),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x1c6551),_0x22b56d['addListToDropdown'](this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x22b56d['FormRowView'](this['locale'],{'children':[this['promptInputView']]}),new _0x22b56d['FormRowView'](this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x1887be,_0x4aa8b8)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x4aa8b8()):_0x4aa8b8();}),this['focusCycler']=new _0x22b56d['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'](_0x2601bd=>{this['_focusables']['add'](_0x2601bd),this['focusTracker']['add'](_0x2601bd['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 _0x3fb657 of this['_getFormValidators']()){const _0x2fa88e=_0x3fb657();if(_0x2fa88e)return this['promptInputView']['errorText']=_0x2fa88e,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return xt(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x305d58=new _0x22b56d['ButtonView'](this['locale']),t=this['locale']['t'];return _0x305d58['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x305d58['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x305d58;}['_createCancelButtonView'](){const _0x5ec404=new _0x22b56d['ButtonView'](this['locale']),t=this['locale']['t'];return _0x5ec404['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x5ec404['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x337a06=>{_0x337a06['stopPropagation']();})}}),_0x5ec404['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x5ec404;}['_setModelList'](_0x249436){this['_modelSelectionDropdownItems']['clear']();const _0x213a3c=this['_check']['models'];if(_0x249436)this['set']('modelDisplayMode','hidden');else{const _0x57bf05=0x1===_0x213a3c['length'];this['set']('modelDisplayMode',_0x57bf05?'name':'selector');}if(this['resetToDefault'](),_0x213a3c?.['length']){0x1===_0x213a3c['length']&&this['set']('activeModelName',_0x213a3c[0x0]['name']||_0x213a3c[0x0]['id']);for(const _0x4452b4 of _0x213a3c){const _0xe0326c=new _0x22b56d['UIModel']({'label':_0x4452b4['name'],'withText':!0x0,'role':'menuitemradio','id':_0x4452b4['id'],'model':_0x4452b4});_0xe0326c['bind']('isOn')['to'](this,'modelId',_0x5b1c06=>_0x5b1c06===_0x4452b4['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0xe0326c,'labelView':new ModelButtonLabelView(this['locale'],_0x4452b4)});}}}['_createModelSelectionDropdown'](){const _0x318ff9=_0x22b56d['createDropdown'](this['locale']);return _0x318ff9['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x318ff9['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x318ff9['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x893d6=>'selector'===_0x893d6),this['listenTo'](_0x318ff9,'execute',_0x296720=>{this['modelId']=_0x296720['source']['model']['id'],_0x318ff9['buttonView']['label']=_0x296720['source']['label'];}),_0x318ff9;}['_createModelNameView'](){const _0x459a0c=new _0x2874af(this['locale']);return _0x459a0c['bind']('text')['to'](this,'activeModelName',_0x3bcccb=>_0x3bcccb??''),_0x459a0c['bind']('isVisible')['to'](this,'modelDisplayMode',_0x1b7ce5=>'name'===_0x1b7ce5),_0x459a0c;}['_createActionsFooterView'](){const _0x41393f=new _0x22b56d['View'](this['locale']);return _0x41393f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x41393f;}}class _0x2874af extends _0x22b56d['View']{constructor(_0x4f1d30){super(_0x4f1d30),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x520440=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x520440['if']('isVisible','ck-hidden',_0x143c8d=>!_0x143c8d)]},'children':[{'text':_0x520440['to']('text')}]});}}class ModelButtonLabelView extends _0x22b56d['ButtonLabelView']{constructor(_0x21049e,_0x4f7536){super();const _0x480490=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x480490['to']('style'),'id':_0x480490['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x480490['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x4f7536['description']||'']}]}]});}}class AIReviewCoreReviewCommandListItemView extends _0x22b56d['ListItemView']{['_formItemsCollection']=new _0x22b56d['ViewCollection']();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x56b22b,_0x4669d6,_0xe3a06d,_0x4b90f5=!0x1){super(_0x56b22b),this['_hideModels']=_0x4b90f5,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x4669d6['isParameterized']);const _0x1f0462=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai_review__check-list-item_selected',_0x126c00=>_0x126c00),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x2d990f=>_0x2d990f)],'style':{'--ck-ai-review-check-list-item-index':_0xe3a06d}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-list-item-title-text']},'children':[{'text':_0x4669d6['title']}]},_0x1f0462]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x4669d6['description']?[{'text':_0x4669d6['description']}]:[]}]}]},..._0x4669d6['isParameterized']?[this['_createParameterizedView'](_0x4669d6)]:[],...'custom'===_0x4669d6['id']?[this['_createCustomView'](_0x4669d6,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x4669d6['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x4669d6['id'],'args':_0x4669d6['useArgs']?_0x4669d6['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x22b56d['clickOutsideHandler']({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x45a13e=>{_0x45a13e['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x48e969=new _0x22b56d['IconView']();return _0x48e969['content']=_0x22b56d['IconChevronRight'],_0x48e969['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x48e969;}['_createParameterizedView'](_0x10d60b){const _0x208d63=new _0x22b56d['View'](),_0x483c11=this['_createFormView'](_0x10d60b);return _0x208d63['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x51351b=>!_0x51351b)]},'children':[_0x483c11]}),_0x208d63;}['_createFormView'](_0x3c01b1){const _0x21e296=new _0x22b56d['View'](),_0x5f4784=Array['isArray'](_0x3c01b1['options'])?_0x3c01b1['options']:[],_0x3b29a4=new _0x22b56d['ButtonView'](this['locale']),t=this['locale']['t'];_0x3b29a4['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3b29a4['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x151bd2=>{_0x151bd2['stopPropagation']();})}}),_0x3b29a4['on']('execute',()=>{const _0x5b2e82=[],_0x249bcf={};this['_formItemsCollection']['forEach'](_0x289dc7=>{_0x5b2e82['push'](_0x289dc7['value']),_0x3c01b1['useArgs']&&_0x3c01b1['options']&&(_0x249bcf[_0x289dc7['argsKey']]=_0x289dc7['value']);}),this['fire']('runReviewCheck',{'id':_0x3c01b1['id'],'params':_0x5b2e82['length']?_0x5b2e82:void 0x0,'args':Object['keys'](_0x249bcf)['length']?_0x249bcf:void 0x0});});const _0x29dc78=_0x5f4784['length'];return _0x5f4784['forEach']((_0x59ecbc,_0x3679b0)=>{const _0x567adf=_0x3679b0===_0x29dc78-0x1;this['_formItemsCollection']['add'](new _0x48516f(this['locale'],_0x59ecbc,_0x567adf?_0x3b29a4:null));}),_0x21e296['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x21e296;}['_createCustomView'](_0x2d9457,_0x321ece=!0x1){return this['_customCheckView']=new AIReviewCoreCustomCheckView(this['locale'],_0x2d9457,_0x321ece),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-parameterized','ck-ai_review__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x21c68d=>!_0x21c68d)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x5126d9,_0x2a5bb0,_0x13ec98)=>{_0x13ec98||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}class AIReviewCoreReviewCheckListView extends _0x22b56d['ListItemView']{['_checkViews'];constructor(_0x14cfc5){super(_0x14cfc5),this['_checkViews']=new _0x22b56d['ViewCollection'](),this['_setupTemplate']();}['setChecks'](_0x20ee25,_0x2caaa0=!0x1){this['_checkViews']['clear']();for(const [_0x43e4ab,_0x3df7cf]of _0x20ee25['entries']()){const _0x135bc9=new AIReviewCoreReviewCommandListItemView(this['locale'],_0x3df7cf,_0x43e4ab,_0x2caaa0);_0x135bc9['delegate']('runReviewCheck')['to'](this),this['_checkViews']['add'](_0x135bc9);}}['hasChecks'](){return this['_checkViews']['length']>0x0;}['resetAllParameterizedChecks'](){for(const _0x19e9d1 of this['_checkViews'])_0x19e9d1 instanceof AIReviewCoreReviewCommandListItemView&&_0x19e9d1['resetToDefault']();}['_setupTemplate'](){const _0x1e77de=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x1e77de['if']('isVisible','ck-hidden',_0x4f920c=>!_0x4f920c)]},'children':this['_checkViews']});}}class _0x7a082 extends _0x49718a{static get['pluginName'](){return'AIReviewModeUI';}['createMainView'](){const _0x5a4766=this['context']['locale'],_0x20498b=new _0x22b56d['FormHeaderView'](_0x5a4766,{'label':xt(_0x5a4766,'AI_REVIEW_MODE'),'icon':_0x22b56d['IconAIReview'],'class':'ck-ai-header\x20ck-ai-header_review'});return new _0x202c3c(this['context']['locale'],{'header':_0x20498b,'list':new AIReviewCoreReviewCheckListView(_0x5a4766),'results':new AIReviewCoreUICheckResultsView(_0x5a4766,{'generalErrorText':xt(_0x5a4766,'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x5a4766,{'headerText':xt(_0x5a4766,'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE'),'emptyResultsText':xt(_0x5a4766,'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT'),'buttonText':xt(_0x5a4766,'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL')})});}['registerTab'](){const _0x46d042=this['context']['plugins']['get']('AITabs');_0x46d042['view']['on']('activateTab',(_0x475233,_0x22f854)=>{'reviewMode'===_0x22f854?this['fire']('getReviewCheckList'):this['fire']('leaveReview');}),_0x46d042['view']['addTab']({'id':'reviewMode','buttonLabel':xt(this['context']['locale'],'AI_REVIEW_MODE'),'buttonIcon':_0x22b56d['IconAIReview'],'order':0x0,'content':this['_mainView']});}}const _0xa7603d='review-';class AIReviewCoreEditing extends _0x22b56d['ContextPlugin']{static get['requires'](){return[DocumentCompare,AIEditing];}static get['pluginName'](){return'AIReviewCoreEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_markers']=new Map();['_activeMarkers']=new Set();['_domEmitter'];['_eventEmitter'];constructor(_0x1f271e){super(_0x1f271e),this['_domEmitter']=new(_0x22b56d['DomEmitterMixin']())(),this['_eventEmitter']=new(_0x22b56d['EmitterMixin']())();}get['emitter'](){return this['_eventEmitter'];}['afterInit'](){const _0x5c0e48=ta(this['context']);_0x5c0e48['conversion']['for']('editingDowncast')['markerToElement']({'model':_0xa7603d+'insert','view':(_0x42af8f,{writer:_0x1e77df})=>{const _0x233e0b=this['_markers']['get'](_0x42af8f['markerName']),_0x23175d={'class':'ck-ai_review-marker_add'+(this['_activeMarkers']['has'](_0x233e0b?.['id']||'')?'\x20ck-ai_review__change_active':''),'data-marker-id':_0x42af8f['markerName']};return _0x1e77df['createUIElement']('span',_0x23175d,function(_0x3524c3){const _0x5af6bd=this['toDomElement'](_0x3524c3);return _0x5af6bd['innerHTML']=_0x233e0b?.['content']?.['asString']||'',_0x5af6bd;});}}),_0x5c0e48['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0xa7603d+'remove-only','view':_0x2c26d2=>{const _0x14f613=this['_markers']['get'](_0x2c26d2['markerName']),_0x232442=['ck-ai_review-marker_strikethrough'];return this['_activeMarkers']['has'](_0x14f613?.['id']||'')&&_0x232442['push']('ck-ai_review__change_active'),{'classes':_0x232442,'attributes':{'data-marker-id':_0x2c26d2['markerName']}};}}),_0x5c0e48['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0xa7603d+'remove-context','view':_0x262077=>{const _0x1670ef=this['_markers']['get'](_0x262077['markerName']),_0x4174ee=['ck-ai_review-marker_underline'];return this['_activeMarkers']['has'](_0x1670ef?.['id']||'')&&_0x4174ee['push']('ck-ai_review__change_active'),{'classes':_0x4174ee,'attributes':{'data-marker-id':_0x262077['markerName']}};}}),_0x5c0e48['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0xa7603d+'remove-text','view':_0xd2a135=>{const _0x5f5887=this['_markers']['get'](_0xd2a135['markerName']),_0x49c7c7=['ck-ai_review-marker_hide'];return this['_activeMarkers']['has'](_0x5f5887?.['id']||'')&&_0x49c7c7['push']('ck-ai_review__change_active'),{'classes':_0x49c7c7,'attributes':{'data-marker-id':_0xd2a135['markerName']}};}}),_0x5c0e48['conversion']['for']('dataDowncast')['markerToElement']({'model':_0xa7603d+'suggestion-context','view':(_0x3609cb,{writer:_0x51147c})=>_0x51147c['createRawElement']('span',{'class':'ck-ai_review-marker_context-'+(_0x3609cb['isOpening']?'start':'end')})}),_0x5c0e48['conversion']['for']('downcast')['attributeToAttribute']({'model':_0x15ba5f,'view':_0x545a59});const _0x143c2f=_0x5c0e48['ui']['getEditableElement']()||document['body'];this['_domEmitter']['listenTo'](_0x143c2f,'mouseup',(_0x52523f,_0x45617a)=>{const _0x5325e4=_0x45617a['target'],_0x3aff2f=this['_findMarkerElement'](_0x5325e4);if(!_0x3aff2f)return;const _0x1d81c5=_0x3aff2f['getAttribute']('data-marker-id'),_0x4af29e=_0x1d81c5['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerClicked',{'markerId':_0x1d81c5,'changeId':_0x4af29e,'markerElement':()=>this['_findMarkerElementById'](_0x1d81c5),'domEvent':_0x45617a});},{'usePassive':!0x0,'priority':'highest'}),this['_domEmitter']['listenTo'](_0x143c2f,'mouseover',(_0x5555e8,_0x4a4d2e)=>{const _0x5b3a77=_0x4a4d2e['target'],_0x22b82c=_0x4a4d2e['relatedTarget'];let _0xabee94=this['_findMarkerElement'](_0x5b3a77);if(!_0xabee94&&_0x22b82c&&(_0xabee94=this['_findMarkerElement'](_0x22b82c)),!_0xabee94)return;const _0x1e7648=_0xabee94['getAttribute']('data-marker-id'),_0xb66f9b=_0x1e7648['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerHovered',{'changeId':_0xb66f9b,'markerElement':()=>this['_findMarkerElementById'](_0x1e7648),'domEvent':_0x4a4d2e});}),this['_domEmitter']['listenTo'](document,'mouseover',rt((_0x3e2abb,_0x4cf82d)=>{const _0xe4adee=_0x4cf82d['target'];if(this['_findMarkerElement'](_0xe4adee))return;_0xe4adee['closest']('.ck-reset.ck-ai_review-balloon-panel-suggestion')||this['_eventEmitter']['fire']('changeMarkerBlurred');},0xc8)),_0x5c0e48['model']['document']['registerPostFixer'](_0x574a07=>this['_validateMarkers'](_0x5c0e48,_0x574a07)),_0x5c0e48['model']['document']['on']('change',()=>this['_handleMarkerChanges'](_0x5c0e48));}['getDocumentData'](){const _0x15ea9e=this['context']['plugins']['get']('AIEditing'),_0x2798ff=ta(this['context']),_0x2ea057=_0x2798ff['model'],_0x52eb79=new _0x22b56d['ModelDocumentFragment']();for(const _0x2202ce of _0x2ea057['document']['getRoot']()['getChildren']()){const _0x557da5=_0x2202ce['_clone'](!0x0);_0x52eb79['_appendChild'](_0x557da5);}for(const _0x44694b of _0x2ea057['markers'])_0x52eb79['markers']['set'](_0x44694b['name'],this['_changeRangeOwnerDocument'](_0x44694b['getRange']()['clone'](),_0x52eb79));const _0x3505f3=new _0x22b56d['ModelTreeWalker']({'ignoreElementEnd':!0x0,'startPosition':_0x2ea057['createPositionAt'](_0x52eb79,0x0)}),_0x3e819f=new Set(),_0x324e84=new Map();for(const {item:_0x5249bb}of _0x3505f3){if(!_0x5249bb['is']('$textProxy'))continue;const _0x332872=_0x5249bb['parent'];if(_0x332872&&_0x332872['is']('element')){const _0x432bb0=this['_upsertDataId'](_0x332872,()=>_0x15ea9e['_nextDataId'](_0x3e819f));_0x3e819f['add'](_0x432bb0);for(const _0x9c3b3c of _0x332872['getChildren']())_0x9c3b3c['is']('element')&&_0x3e819f['add'](this['_upsertDataId'](_0x9c3b3c,()=>_0x15ea9e['_nextDataId'](_0x3e819f)));let _0x53255a=_0x332872;for(;_0x53255a['parent']&&!_0x53255a['parent']['is']('documentFragment');)_0x53255a=_0x53255a['parent'],_0x53255a['hasAttribute'](_0x15ba5f)&&_0x53255a['_removeAttribute'](_0x15ba5f);_0x324e84['set'](_0x432bb0,{'path':_0x332872['getPath'](),'getContent':this['_createGetContentUsingDataIdFn'](_0x53255a['_clone'](!0x0),_0x432bb0,_0x2798ff['data'])}),_0x3505f3['jumpTo'](_0x2ea057['createPositionAfter'](_0x332872));}}return{'content':_0x2798ff['data']['processor']['toData'](_0x2798ff['data']['toView'](_0x52eb79)),'version':_0x2798ff['model']['document']['version'],'elements':_0x324e84};}['diffContent'](_0x20cdd4,_0x2bc143,_0x4e4afe=!0x1){const _0x3ac501=[],_0x431748=ta(this['context']),_0x2a0715=_0x431748['data']['parse'](_0x2bc143,'$documentFragment'),_0x3e6fd1=_0x431748['data']['parse'](_0x20cdd4,'$documentFragment'),_0x5c5288=_0x431748['model']['createPositionAt'](_0x3e6fd1,0x0);if(this['_haveSingleTopLevelElement'](_0x2a0715)){if(!this['_hasSameTopLevelElement'](_0x3e6fd1,_0x2a0715))return _0x3ac501;}else{const _0x35fd79=_0x431748['model']['schema'];if(!this['_haveOnlyInlineContent'](_0x3e6fd1,_0x35fd79)||!this['_haveOnlyInlineContent'](_0x2a0715,_0x35fd79))return _0x3ac501;}const _0x2ae2c0=this['context']['plugins']['get']('DocumentCompare')['getDiff'](_0x20cdd4,_0x2bc143,{'anchor':_0x5c5288,'markDeletions':!0x0})['getOperations']()['filter'](_0xe36dd0=>'insert'===_0xe36dd0['type']||'marker'===_0xe36dd0['type']&&_0xe36dd0['name']['startsWith']('$markedRemove')),_0x9c3f23=this['_groupAdjacentOperations'](_0x2ae2c0),_0x17a541=[];if(_0x4e4afe){if(_0x9c3f23['length']){const _0x8c6f69=_0x9c3f23[0x0]['operations'][0x0],_0x4ce5e6='insert'===_0x8c6f69['type']?_0x8c6f69['position']:_0x8c6f69['newRange']['start'],_0x3ef617=this['_getPositionLimitingRange'](_0x4ce5e6,_0x431748,'inside'),_0x4c6a5a=_0x3ef617?_0x2a0715['getChild'](0x0)['getChildren']():_0x2a0715['getChildren'](),_0x3590ff=_0x3ef617||_0x431748['model']['createRangeIn'](_0x3e6fd1),_0x3ddc6d=[new _0x22b56d['MarkerOperation']('$markedRemove:synthetic'+_0x22b56d['uid'](),null,_0x3590ff,_0x431748['model']['document']['model']['markers'],!0x0,_0x431748['model']['document']['version']+0x1),new _0x22b56d['InsertOperation'](_0x3590ff['end'],_0x4c6a5a,_0x431748['model']['document']['version']+0x2)];_0x17a541['push']({'operations':_0x3ddc6d,'operationsIsolated':_0x3ddc6d,'groupOffset':0x0});}}else _0x17a541['push'](..._0x9c3f23);let _0x100c28=0x0;return _0x431748['model']['change'](_0x4d17fd=>{for(let _0x33c7e5=0x0;_0x33c7e5<_0x17a541['length'];_0x33c7e5++){const _0xa616e4=_0x17a541[_0x33c7e5],_0x41667c=_0x4d17fd['createDocumentFragment']();for(const _0x34d6b0 of _0x3e6fd1['getChildren']())_0x4d17fd['append'](_0x34d6b0['_clone'](!0x0),_0x41667c);for(const _0x3c2c7b of _0xa616e4['operationsIsolated'])if('insert'===_0x3c2c7b['type']){const _0x551f4f=_0x3c2c7b;_0x551f4f['baseVersion']=null,_0x551f4f['isDocumentOperation']=!0x1,this['_changeOperationOwnerDocument'](_0x551f4f,_0x41667c),_0x4d17fd['batch']['addOperation'](_0x3c2c7b),_0x431748['model']['applyOperation'](_0x3c2c7b);const _0x5a30a7='suggestion:insertion:id:authorId:'+_0x100c28++,_0x3ec8af=_0x431748['model']['createRange'](_0x551f4f['position'],_0x551f4f['position']['getShiftedBy'](_0x551f4f['howMany']));_0x41667c['markers']['set'](_0x5a30a7,_0x3ec8af);}else{if('marker'===_0x3c2c7b['type']&&_0x3c2c7b['name']['startsWith']('$markedRemove')){const _0x4ebe10=_0x3c2c7b,_0x1b2a87='suggestion:deletion:id:authorId:'+_0x100c28++;this['_changeOperationOwnerDocument'](_0x4ebe10,_0x41667c),_0x41667c['markers']['set'](_0x1b2a87,_0x4ebe10['newRange']);}}if(_0x4e4afe)_0x3ac501['push']({..._0xa616e4,'context':this['_createGetContentFn'](_0x3e6fd1,_0x431748['data']),'content':this['_createGetContentFn'](_0x3e6fd1,_0x431748['data'])});else{const _0x2aec24=this['_getChangeContext'](this['_changePositionOwnerDocument'](this['_getOperationStart'](_0xa616e4['operationsIsolated'][0x0]),_0x41667c),this['_changePositionOwnerDocument'](this['_getOperationEnd'](_0xa616e4['operationsIsolated'][_0xa616e4['operationsIsolated']['length']-0x1]),_0x41667c));_0x41667c['markers']['set'](_0xa7603d+'suggestion-context',new _0x22b56d['ModelRange'](_0x2aec24['start'],_0x2aec24['end'])),_0x3ac501['push']({..._0xa616e4,'context':this['_createGetContextFn'](_0x41667c,_0x431748['data'],{'ellipsisBefore':_0x2aec24['hasContentBefore'],'ellipsisAfter':_0x2aec24['hasContentAfter']}),'content':this['_createGetContentFn'](_0x41667c,_0x431748['data'])});}}}),_0x3ac501;}['markChangePositionInEditorContent'](_0x2a4acd,_0x489ae1){if(!_0x2a4acd['length'])return;const _0x5a013e=_0x2a4acd[0x0]['parent']['id'],_0x3fc3df=_0x489ae1['elements']['get'](_0x5a013e);if(!_0x3fc3df)return void console['warn']('No\x20element\x20found\x20for\x20ID:\x20'+_0x5a013e);const _0x4f0d98=_0x3fc3df['path'],_0x2925f9=ta(this['context']),_0x23dc11=_0x2925f9['model']['document']['history']['getOperations'](_0x489ae1['version']),_0x284c3b=[];for(const _0x55205b of _0x2a4acd){const _0xbdf4fb=_0x55205b['operationsIsolated']['map'](_0x50fff6=>this['_translateOperationToEditorContent'](_0x50fff6,_0x4f0d98,_0x2925f9['model']['document']['getRoots']()[0x0]));if(!_0xbdf4fb||!_0xbdf4fb['length'])continue;const _0x4b9ef1=_0xbdf4fb['every'](_0x51986c=>'marker'===_0x51986c['type']&&_0x51986c['name']['startsWith']('$markedRemove')),_0x572fbe={'document':_0x2925f9['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x50dbb1=_0x22b56d['transformOperationSets'](_0xbdf4fb,_0x23dc11,_0x572fbe)['operationsA'];for(const _0x3b3cd2 of _0x50dbb1)if('insert'===_0x3b3cd2['type']){const _0x4f30ac=_0x3b3cd2,_0x5f410e=_0x4f30ac['nodes'];_0x2925f9['model']['change'](_0x965b96=>{const _0x8db6fc=_0x965b96['createDocumentFragment']();for(const _0x4df173 of _0x5f410e)_0x965b96['append'](_0x4df173['_clone'](!0x0),_0x8db6fc);_0x284c3b['push']({'start':_0x4f30ac['position'],'end':_0x4f30ac['position'],'type':'insert','groupId':_0x55205b['id'],'content':{'asString':this['_createGetContentFn'](_0x8db6fc,_0x2925f9['data'])(),'asFragment':_0x8db6fc}});});}else{if('marker'===_0x3b3cd2['type']&&_0x3b3cd2['name']['startsWith']('$markedRemove')){const _0xf8328b=_0x3b3cd2;let _0xae8670='remove-text';if(_0x4b9ef1){const _0x1a2181=this['_findAdjacentContextDistance'](_0xf8328b['newRange']['start'],'backward',_0x2925f9['model']['schema']),_0x51cbd3=this['_findAdjacentContextDistance'](_0xf8328b['newRange']['end'],'forward',_0x2925f9['model']['schema']);if(_0x1a2181||_0x51cbd3){const _0x471d45=_0xf8328b['newRange']['start']['getShiftedBy'](-_0x1a2181),_0x11ca62=_0xf8328b['newRange']['end']['getShiftedBy'](_0x51cbd3);_0x284c3b['push']({'start':_0x471d45,'end':_0x11ca62,'groupId':_0x55205b['id'],'type':'remove-context'});}else _0xae8670='remove-only';}_0x284c3b['push']({'start':_0xf8328b['newRange']['start'],'end':_0xf8328b['newRange']['end'],'groupId':_0x55205b['id'],'type':_0xae8670});}}}this['_insertMarkers'](_0x284c3b);}['clearAllMarkers'](){const _0x16bed5=ta(this['context']);_0x16bed5['model']['change'](_0x51d894=>{for(const _0x18f98c of this['_markers']['keys']())_0x16bed5['model']['markers']['get'](_0x18f98c)&&_0x51d894['removeMarker'](_0x18f98c);}),this['_markers']['clear'](),this['_activeMarkers']['clear']();}['switchToReadOnly'](){ta(this['context'])['enableReadOnlyMode']('ai-review');}['switchToEdit'](){ta(this['context'])['disableReadOnlyMode']('ai-review');}['applyChange'](_0x422735){const _0x159e8b=ta(this['context']),_0x281b41=_0x159e8b['model'],_0x1ca0ce=_0x422735['map'](_0x44e519=>this['_getMarkersDataForGroup'](_0x44e519))['flat']();_0x281b41['change'](_0x4f4dc2=>{for(const _0x1e74e3 of _0x1ca0ce){const _0x3d996a=_0x159e8b['model']['markers']['get'](_0x1e74e3['id']);if(_0x3d996a){if('insert'===_0x1e74e3['type']){if(!_0x1e74e3['content'])continue;_0x281b41['insertContent'](_0x1e74e3['content']['asFragment']||null,_0x3d996a['getRange']()['start']);}else'remove-text'!==_0x1e74e3['type']&&'remove-only'!==_0x1e74e3['type']||_0x281b41['deleteContent'](_0x281b41['createSelection'](_0x3d996a['getRange']()));_0x4f4dc2['removeMarker'](_0x1e74e3['id']),this['_markers']['delete'](_0x1e74e3['id']);}}});}['rejectChange'](_0x50850b){const _0xbb73b0=ta(this['context']),_0x39e05d=this['_getMarkersDataForGroup'](_0x50850b);_0xbb73b0['model']['change'](_0x56b897=>{for(const _0x34d48f of _0x39e05d)_0x56b897['removeMarker'](_0x34d48f['id']),this['_markers']['delete'](_0x34d48f['id']);});}['getEditor'](){return ta(this['context']);}['getMarkerElementForChange'](_0x353fe4){const _0x3225a0=Array['from'](this['_markers']['values']())['filter'](_0x220272=>_0x220272['groupId']===_0x353fe4);if(!_0x3225a0['length'])return null;const _0x2c19e1=0x1===_0x3225a0['length']?_0x3225a0[0x0]:this['_sortMarkers'](_0x3225a0)[0x0],_0x174a86=ta(this['context'])['model']['markers']['get'](_0x2c19e1['id']);if(!_0x174a86)return null;return{'modelRange':_0x174a86['getRange'](),'getElement':()=>this['_findMarkerElementById'](_0x2c19e1['id'])};}['getContentElementForChange'](_0x5def00){const _0x5a051b=Array['from'](this['_markers']['values']())['filter'](_0x4a8e95=>_0x4a8e95['groupId']===_0x5def00);if(!_0x5a051b['length'])return null;const _0x4c99cc=0x1===_0x5a051b['length']?_0x5a051b[0x0]:this['_sortMarkers'](_0x5a051b)[0x0],_0x5d6fd3=ta(this['context']),_0x1b4c21=_0x5d6fd3['model']['markers']['get'](_0x4c99cc['id']);if(!_0x1b4c21)return null;const _0x249a80=_0x1b4c21['getRange'](),_0x30987f=_0x5d6fd3['editing']['view']['getDomRoot']();if(!_0x30987f||!_0x249a80)return null;let _0x35b170=_0x249a80['start']['parent'];for(;_0x35b170['parent']&&'$root'!==_0x35b170['parent']['name'];)_0x35b170=_0x35b170['parent'];if(!_0x35b170||!_0x35b170['name'])return null;const _0x148c83=_0x30987f['querySelector']('[data-marker-id=\x22'+_0x4c99cc['id']+'\x22]');if(!_0x148c83)return null;let _0x2c54eb=null;_0x5d6fd3['model']['change'](_0x3ab054=>{_0x2c54eb=_0x3ab054['createDocumentFragment'](),_0x3ab054['append'](_0x35b170['_clone'](!0x0),_0x2c54eb);});const _0x3c1e98=_0x5d6fd3['data']['toView'](_0x2c54eb)['getChild'](0x0);return _0x148c83['closest'](_0x3c1e98['name']);}['reactivateMarkers'](_0x2c8be9){const _0x41f1ff=this['_getMarkersDataForGroup'](_0x2c8be9);if(!_0x41f1ff['length'])return;const _0x1817e4=Array['from'](this['_activeMarkers'])['sort'](),_0x18f27f=Array['from'](new Set(_0x41f1ff['map'](_0x3f5fb0=>_0x3f5fb0['id'])))['sort']();_0x1817e4['join']('|')!==_0x18f27f['join']('|')&&(this['setAllMarkersAsInactive'](),this['setMarkersInElementAsActive'](_0x2c8be9));}['setMarkersInElementAsActive'](_0x4ee897){const _0x26976d=this['_getMarkersDataForGroup'](_0x4ee897);if(!_0x26976d['length'])return;const _0x1fdc49=ta(this['context']),_0x33f451=new Set(_0x26976d['map'](_0x17d06d=>_0x17d06d['id'])),_0x20f745=Array['from'](_0x33f451['values']())['map'](_0x381806=>_0x1fdc49['model']['markers']['get'](_0x381806))['filter'](_0x40f83b=>!!_0x40f83b);_0x33f451['forEach'](_0x5725a5=>{this['_activeMarkers']['add'](_0x5725a5);}),_0x1fdc49['model']['change'](()=>{_0x20f745['forEach'](_0x367aed=>{_0x1fdc49['editing']['reconvertMarker'](_0x367aed);});});}['setAllMarkersAsInactive'](){const _0x55f00a=Array['from'](this['_activeMarkers']);if(!_0x55f00a['length'])return;this['_activeMarkers']['clear']();const _0x26a4f2=ta(this['context']),_0x237f4b=_0x55f00a['map'](_0xde886c=>_0x26a4f2['model']['markers']['get'](_0xde886c))['filter'](_0x11f501=>!!_0x11f501);_0x26a4f2['model']['change'](()=>{_0x237f4b['forEach'](_0x4aca15=>{_0x26a4f2['editing']['reconvertMarker'](_0x4aca15);});});}['_getPositionLimitingRange'](_0x4e6279,_0x411bf3,_0x116827='outside'){if(!_0x4e6279)return null;let _0x28ec92=_0x4e6279['parent'];for(;_0x28ec92&&_0x28ec92['parent']&&'$root'!==_0x28ec92['parent']['name']&&!_0x411bf3['model']['schema']['isLimit'](_0x28ec92)&&!_0x411bf3['model']['schema']['isBlock'](_0x28ec92);)_0x28ec92=_0x28ec92['parent'];if(!_0x28ec92||!_0x28ec92['name']||'$root'===_0x28ec92['name'])return null;let _0x9b88fe=null;return _0x411bf3['model']['change'](_0x1d849e=>{_0x9b88fe='inside'===_0x116827?_0x1d849e['createRangeIn'](_0x28ec92):_0x1d849e['createRangeOn'](_0x28ec92);}),_0x9b88fe;}['_validateMarkers'](_0x1615d8,_0x13c3cb){const _0x24edfd=Array['from'](this['_markers']['keys']()),_0x4134d8=new Map();for(const _0x45ea4d of _0x24edfd){const _0x694e1c=_0x1615d8['model']['markers']['get'](_0x45ea4d);if(!_0x694e1c)continue;const _0x4bd71f=_0x694e1c['getStart']()['path'][0x0];_0x4134d8['has'](_0x4bd71f)||_0x4134d8['set'](_0x4bd71f,[]),_0x4134d8['get'](_0x4bd71f)['push'](_0x694e1c);}const _0x2c387e=new Set();for(const _0x56fe49 of _0x1615d8['model']['document']['differ']['getChanges']()){let _0x4a39fb=-0x1,_0xa0ca13=null;if('insert'===_0x56fe49['type'])_0xa0ca13=new _0x22b56d['ModelRange'](_0x56fe49['position'],_0x56fe49['position']['getShiftedBy'](_0x56fe49['length'])),_0x4a39fb=_0x56fe49['position']['path'][0x0];else{if('remove'!==_0x56fe49['type'])continue;_0xa0ca13=new _0x22b56d['ModelRange'](_0x56fe49['position']),_0x4a39fb=_0x56fe49['position']['path'][0x0];}const _0x575d50=_0x4134d8['get'](_0x4a39fb)||[];if(_0x575d50['length']){for(const _0x88aa2a of _0x575d50)if(_0xa0ca13['root']['rootName']===_0x88aa2a['getRange']()['root']['rootName']&&('insert'!==_0x56fe49['type']||!_0xa0ca13['containsRange'](_0x88aa2a['getRange']()))&&(_0xa0ca13['isIntersecting'](_0x88aa2a['getRange']())||_0xa0ca13['start']['isTouching'](_0x88aa2a['getRange']()['end'])||_0xa0ca13['end']['isTouching'](_0x88aa2a['getRange']()['start']))){const _0x54680f=this['_parseMarkerName'](_0x88aa2a['name']);Array['from'](this['_markers']['values']())['filter'](_0x27166f=>_0x27166f['groupId']===_0x54680f['groupId'])['forEach'](_0xdf5b2f=>_0x2c387e['add'](_0xdf5b2f['id']));}}}if(_0x2c387e['size']){for(const _0x358fbf of _0x2c387e)_0x13c3cb['removeMarker'](_0x358fbf);return!0x0;}return!0x1;}['_handleMarkerChanges'](_0xdbb830){for(const {name:_0x1a6333,data:_0x4edc25}of _0xdbb830['model']['document']['differ']['getChangedMarkers']()){if(!_0x1a6333['startsWith'](_0xa7603d))continue;const _0x356014=_0x4edc25['oldRange'],_0x315266=_0x4edc25['newRange'],_0x474ed7=_0x356014&&'$graveyard'===_0x356014['root']['rootName'],_0x433f99=_0x315266&&'$graveyard'===_0x315266['root']['rootName'];if(_0x474ed7&&_0x433f99)continue;const _0x5d46f9=this['_parseMarkerName'](_0x1a6333);this['_markers']['get'](_0x1a6333)&&(_0x433f99||!_0x315266?this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x1a6333,'changeId':_0x5d46f9['groupId']}):_0x474ed7&&_0x315266&&this['_eventEmitter']['fire']('changeMarkerRestored',{'markerId':_0x1a6333,'changeId':_0x5d46f9['groupId']}));}}['_parseMarkerName'](_0x14ac30){const _0x3f0b81=_0x14ac30['split'](':'),_0x43a2a0=(_0x3f0b81[0x1]||'')['split']('_');return{'prefix':_0x3f0b81[0x0],'groupId':_0x43a2a0[0x0],'suffix':_0x43a2a0[0x1]};}['_translateOperationToEditorContent'](_0x3213c0,_0x4c8cf1,_0x19efe5){if('insert'===_0x3213c0['type']){const _0x1dc049=_0x3213c0;return new _0x22b56d['InsertOperation'](this['_changePosition'](_0x4c8cf1['concat'](_0x1dc049['position']['offset']),_0x19efe5),_0x1dc049['nodes'],_0x1dc049['baseVersion']);}if('marker'===_0x3213c0['type']&&_0x3213c0['name']['startsWith']('$markedRemove')){const _0x57be02=_0x3213c0;return new _0x22b56d['MarkerOperation'](_0x57be02['name'],_0x57be02['oldRange'],this['_changeRange'](_0x57be02['newRange'],_0x4c8cf1['concat'](_0x57be02['newRange']['start']['offset']),_0x4c8cf1['concat'](_0x57be02['newRange']['end']['offset']),_0x19efe5),_0x57be02['_markers'],_0x57be02['affectsData'],_0x57be02['baseVersion']);}return _0x3213c0;}['_groupAdjacentOperations'](_0x26d8cd){if(!_0x26d8cd['length'])return[];const _0xe330b2=[];let _0x289292=0x0,_0x312e6c=0x0,_0x31f6fc=[];for(let _0x447338=0x0;_0x447338<=_0x26d8cd['length'];_0x447338++){const _0x4a56e2=_0x26d8cd[_0x447338],_0x5127b8=_0x26d8cd[_0x447338-0x1];!_0x4a56e2||_0x5127b8&&!this['_getOperationEnd'](_0x5127b8)['isTouching'](this['_getOperationStart'](_0x4a56e2))?(_0xe330b2['push']({'operations':_0x31f6fc,'operationsIsolated':_0x31f6fc['map'](_0x9a1758=>this['_shiftOperation'](_0x9a1758['clone'](),-_0x312e6c)),'groupOffset':_0x289292}),_0x31f6fc=_0x4a56e2?[_0x4a56e2]:[],_0x312e6c+=_0x289292,_0x289292=0x0):_0x31f6fc['push'](_0x4a56e2),_0x4a56e2&&'insert'===_0x4a56e2['type']&&(_0x289292+=_0x4a56e2['howMany']);}return _0xe330b2;}['_findAdjacentContextDistance'](_0x357e32,_0x7c6240,_0x54b277,_0x11ca2c=0x1){const _0x442d2e=new _0x22b56d['ModelTreeWalker']({'startPosition':_0x357e32,'direction':_0x7c6240});let _0x57d2b5=0x0;for(let _0x25874d=0x0;_0x25874d<_0x11ca2c;_0x25874d++){let _0x4b68fc=0x0,_0x5bf4fe=!0x1,_0x1fd29f='forward'===_0x7c6240?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x555eb5}of _0x442d2e)if(_0x555eb5['is']('$textProxy')){const _0x37f878=_0x1fd29f['exec'](_0x555eb5['data']);if(_0x37f878&&_0x37f878['length']){if(_0x4b68fc+='forward'===_0x7c6240?_0x37f878['index']+_0x37f878[0x0]['length']:_0x555eb5['data']['length']-_0x37f878['index'],_0x37f878[0x0]['length']!==_0x555eb5['data']['length'])break;_0x5bf4fe=!0x0,_0x1fd29f='forward'===_0x7c6240?/^\w+/:/\w+$/;}else{if(_0x5bf4fe)break;_0x4b68fc+=_0x555eb5['offsetSize'];}}else{if(_0x555eb5['is']('element')){_0x54b277['isInline'](_0x555eb5)&&!_0x5bf4fe&&(_0x4b68fc+=0x1);break;}}_0x57d2b5+=_0x4b68fc,_0x442d2e['jumpTo'](_0x357e32['getShiftedBy']('forward'===_0x7c6240?_0x57d2b5:-_0x57d2b5));}return _0x57d2b5;}['_getChangeContext'](_0x3503fd,_0x1964b7){const _0x4f60be=ta(this['context'])['model']['schema'],_0x4eace0=this['_findAdjacentContextDistance'](_0x3503fd,'backward',_0x4f60be,0x6),_0x416473=this['_findAdjacentContextDistance'](_0x1964b7,'forward',_0x4f60be,0x6),_0x4a36bf=_0x3503fd['getShiftedBy'](-_0x4eace0),_0x572b62=_0x1964b7['getShiftedBy'](_0x416473);return{'start':_0x4a36bf,'end':_0x572b62,'hasContentBefore':!_0x4a36bf['isAtStart'],'hasContentAfter':!_0x572b62['isAtEnd']};}['_insertMarkers'](_0x4b43ff){const _0x26033c=this['context']['plugins']['get']('AIEditing'),_0x462744=new Set();ta(this['context'])['model']['change'](_0x1aee45=>{for(const _0xfd4d9f of _0x4b43ff){const _0x5864d1=''+_0xa7603d+_0xfd4d9f['type']+':'+_0xfd4d9f['groupId']+'_'+_0x26033c['_nextDataId'](_0x462744);this['_markers']['set'](_0x5864d1,{'id':_0x5864d1,'groupId':_0xfd4d9f['groupId'],'type':_0xfd4d9f['type'],'content':_0xfd4d9f['content']}),_0x1aee45['addMarker'](_0x5864d1,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1aee45['createRange'](_0xfd4d9f['start'],_0xfd4d9f['end'])});}});}['_createGetContextFn'](_0x3487b1,_0x10b553,_0x5b48a5){let _0x2a8bc9='';return()=>{if(!_0x2a8bc9){const _0x26fb7a=_0x10b553['toView'](_0x3487b1,{'showSuggestionHighlights':!0x0});let _0x4314d4=_0x26fb7a['getChild'](0x0);if(_0x4314d4['is']('containerElement')||(_0x4314d4=_0x26fb7a),!_0x4314d4)return'';let _0x268a95=!0x1;const _0x2ffc43=[];for(const _0xb852b8 of _0x4314d4['getChildren']())_0xb852b8['is']('element','span')&&_0xb852b8['hasClass']('ck-ai_review-marker_context-end')&&(_0x268a95=!0x1),_0x268a95&&_0x2ffc43['push'](_0xb852b8),_0xb852b8['is']('element','span')&&_0xb852b8['hasClass']('ck-ai_review-marker_context-start')&&(_0x268a95=!0x0);_0x4314d4['_removeChildren'](0x0,_0x4314d4['childCount']),_0x5b48a5?.['ellipsisBefore']&&_0x4314d4['_appendChild']('…'),_0x4314d4['_appendChild'](_0x2ffc43),_0x5b48a5?.['ellipsisAfter']&&_0x4314d4['_appendChild']('…');const _0x473387=_0x10b553['htmlProcessor']['domConverter']['viewToDom'](_0x26fb7a),_0x4bebd0=_0x10b553['htmlProcessor']['htmlWriter']['getHtml'](_0x473387);_0x2a8bc9=_0x4bebd0;}return _0x2a8bc9;};}['_createGetContentFn'](_0x1dd68e,_0x43221b){let _0x4b559a='';return()=>(_0x4b559a||(_0x4b559a=_0x43221b['stringify'](_0x1dd68e,{'showSuggestionHighlights':!0x0})),_0x4b559a);}['_createGetContentUsingDataIdFn'](_0x23b584,_0x3b36ad,_0xe8718){let _0x377b4d='';return()=>{if(!_0x377b4d){const _0x3ba3b5=_0xe8718['toView'](new _0x22b56d['ModelDocumentFragment'](_0x23b584)),_0x11fe13=_0xe8718['htmlProcessor']['domConverter']['viewToDom'](_0x3ba3b5)['querySelector']('[data-id=\x22'+_0x3b36ad+'\x22]');_0x377b4d=_0x11fe13?.['outerHTML']||'';}return _0x377b4d;};}['_findMarkerElement'](_0x18275f,_0x5c7d84=0x5){let _0x20e20e=_0x18275f,_0x51ff04=null;for(let _0xebe153=0x0;_0xebe153<_0x5c7d84&&_0x20e20e;_0xebe153++){if(!_0x20e20e['className']){_0x20e20e=_0x20e20e['parentElement'];continue;}if(!(''+_0x20e20e['className'])['includes']('ck-ai_review-marker_')){_0x20e20e=_0x20e20e['parentElement'];continue;}if(!_0x20e20e['getAttribute']('data-marker-id'))break;_0x51ff04=_0x20e20e;break;}return _0x51ff04;}['_findMarkerElementById'](_0x41cc6c){const _0x2ef891=ta(this['context']),_0x330954=_0x2ef891['model']['markers']['get'](_0x41cc6c);return _0x330954?_0x13ae85(_0x2ef891['editing'],_0x330954):null;}['_getMarkersDataForGroup'](_0x5d5abe){return Array['from'](this['_markers']['values']())['filter'](_0x2a8338=>_0x2a8338['groupId']===_0x5d5abe);}['_getOperationStart'](_0x12bc35){return'insert'===_0x12bc35['type']?_0x12bc35['position']:_0x12bc35['newRange']['start'];}['_getOperationEnd'](_0x5863dd,_0x30dd0e=!0x1){return'insert'===_0x5863dd['type']?_0x30dd0e?_0x5863dd['position']:_0x5863dd['position']['getShiftedBy'](_0x5863dd['howMany']):_0x5863dd['newRange']['end'];}['_shiftOperation'](_0x52d042,_0x26abd3){return'insert'===_0x52d042['type']?_0x52d042['position']=_0x52d042['position']['getShiftedBy'](_0x26abd3):'marker'===_0x52d042['type']&&_0x52d042['newRange']&&(_0x52d042['newRange']=new _0x22b56d['ModelRange'](_0x52d042['newRange']['start']['getShiftedBy'](_0x26abd3),_0x52d042['newRange']['end']['getShiftedBy'](_0x26abd3))),_0x52d042;}['_changeOperationOwnerDocument'](_0x3576d7,_0x4b9c86){'insert'===_0x3576d7['type']?_0x3576d7['position']=this['_changePositionOwnerDocument'](_0x3576d7['position'],_0x4b9c86):'marker'===_0x3576d7['type']&&_0x3576d7['newRange']&&(_0x3576d7['newRange']=this['_changeRangeOwnerDocument'](_0x3576d7['newRange'],_0x4b9c86));}['_changePositionOwnerDocument'](_0x292c32,_0x3471b2){return new _0x22b56d['ModelPosition'](_0x3471b2,_0x292c32['path']);}['_changeRangeOwnerDocument'](_0x3aedc2,_0x2b7004){return new _0x22b56d['ModelRange'](this['_changePositionOwnerDocument'](_0x3aedc2['start'],_0x2b7004),this['_changePositionOwnerDocument'](_0x3aedc2['end'],_0x2b7004));}['_changePosition'](_0x1bebf1,_0x534034){return new _0x22b56d['ModelPosition'](_0x534034,[..._0x1bebf1]);}['_changeRange'](_0x123699,_0x3b83a3,_0x1431f7,_0x3cd8d7){return new _0x22b56d['ModelRange'](this['_changePosition'](_0x3b83a3,_0x3cd8d7),this['_changePosition'](_0x1431f7,_0x3cd8d7));}['_sortMarkers'](_0x4791a1){const _0x4eec7f=_0x443186=>{switch(_0x443186){case'insert':return 0x0;case'remove-context':return 0x1;case'remove-only':return 0x2;case'remove-text':return 0x3;}};return _0x4791a1['sort']((_0x4bdfc9,_0x56ad2e)=>_0x4eec7f(_0x4bdfc9['type'])-_0x4eec7f(_0x56ad2e['type']));}['_hasSameTopLevelElement'](_0x78eecf,_0x2c12d3){const _0x45b24b=_0x78eecf['getChild'](0x0),_0x21f93e=_0x2c12d3['getChild'](0x0);return!(!_0x45b24b||!_0x21f93e)&&((!_0x45b24b['is']('element')||!_0x21f93e['is']('element')||_0x45b24b['name']===_0x21f93e['name'])&&!(_0x45b24b['is']('element')&&!_0x21f93e['is']('element')||!_0x45b24b['is']('element')&&_0x21f93e['is']('element')));}['_haveSingleTopLevelElement'](_0x35435e){return 0x1===_0x35435e['childCount'];}['_haveOnlyInlineContent'](_0x379bef,_0x445e9b){for(const _0x5d02bd of _0x379bef['getChildren']())if(_0x5d02bd['is']('element')&&!_0x445e9b['isInline'](_0x5d02bd))return!0x1;return!0x0;}['_upsertDataId'](_0x2cd9eb,_0x4589c2){let _0x108156=_0x2cd9eb['getAttribute'](_0x15ba5f);return _0x108156||(_0x108156=_0x4589c2(),_0x2cd9eb['_setAttribute'](_0x15ba5f,_0x108156)),_0x108156;}}class AIReviewCheckResult extends _0x22b56d['EmitterMixin'](){['id'];['contentNew'];['contentInitial'];['documentVersion'];constructor({id:_0x4824c5,contentNew:_0x4a15fe,contentInitial:_0x5af197,documentVersion:_0x298fbe}){super(),this['id']=_0x4824c5,this['contentNew']=_0x4a15fe,this['contentInitial']=_0x5af197,this['documentVersion']=_0x298fbe;}}class AIReviewCheckResultChange extends _0x22b56d['ObservableMixin'](){['id'];['parent'];['_data'];['_editorOperations']=[];constructor(_0x14c6d6,_0x32c19d,_0x13d81a){super(),this['id']=_0x14c6d6,this['parent']=_0x13d81a,this['_data']=_0x32c19d,this['set']('isActivated',!0x1),this['set']('isRated',!0x1),this['set']('status','pending'),this['on']('change:status',()=>{'pending'!==this['status']&&this['isActivated']&&(this['isActivated']=!0x1);});}get['contentDiffed'](){return this['_data']['context']();}get['operations'](){return this['_data']['operations'];}get['operationsIsolated'](){return this['_data']['operationsIsolated'];}}class _0x37ab37 extends _0x22b56d['ObservableMixin'](){['id']=_0x22b56d['uid']();['callId'];['_results']=new Map();['_changes']=[];['_sourceCheck'];['_documentData'];['_aiConnector'];['_reviewParams'];['_reviewArgs'];['_activeRequest']=null;['_currentError'];['_wasAborted']=!0x1;constructor(_0x4ddd6b,_0x22cf7a,_0x2c25bb,_0x55ad18,_0x403712){super(),this['_sourceCheck']=_0x22cf7a,this['_documentData']=_0x4ddd6b,this['_aiConnector']=_0x2c25bb,this['_reviewParams']=_0x55ad18,this['_reviewArgs']=_0x403712,this['on']('change:status',(_0x4b094a,_0x37f708,_0x50c061)=>{'aborted'==_0x50c061&&(this['_wasAborted']=!0x0),this['fire']('reviewCheckRunUpdated',{'status':_0x50c061,'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'](_0x903611=>'pending'===_0x903611['status']);}get['currentError'](){return this['_currentError'];}['updateDocumentData'](_0xbcd99b){this['_documentData']=_0xbcd99b;}async['start'](){this['status']='loading',this['_currentError']=void 0x0;try{this['_activeRequest']=this['_createApiRequest']();const _0x1dbe04=await this['_activeRequest']['getStream']();this['status']='data';for await(const _0x2caafc of _0x1dbe04)'unmodified'!==_0x2caafc['data']['operation']&&('error'!==_0x2caafc['data']['operation']?'review-metadata'!==_0x2caafc['event']?this['_addReviewCheckResult'](_0x2caafc['data']['dataId'],_0x2caafc['data']['textDelta']):this['callId']=_0x2caafc['data']['callId']:this['status']='error-chunk');'error-chunk'!==this['status']&&(0x0===this['_results']['size']||0x0===this['_changes']['length']?this['status']='unmodified':this['status']='ready');}catch(_0x38626d){this['_currentError']=_0x38626d,_0x38626d instanceof Error&&_0x38626d['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'](_0x197ee4,_0x4546ca){const _0x3f594e=this['_results']['get'](_0x197ee4);if(!_0x3f594e)return;if(0x0===_0x4546ca['length'])return;const _0x5b7213=[];_0x4546ca['forEach']((_0x27ee5a,_0xaae516)=>{const _0xc9f0ab=new AIReviewCheckResultChange(_0x3f594e['id']+'-'+_0xaae516,_0x27ee5a,_0x3f594e);_0xc9f0ab['on']('change:status',()=>{this['fire']('reviewCheckResultChangeStatusUpdated',{'change':_0xc9f0ab,'status':_0xc9f0ab['status']});}),_0xc9f0ab['on']('change:isActivated',()=>{_0xc9f0ab['isActivated']?this['fire']('reviewCheckResultActivated',{'change':_0xc9f0ab}):this['fire']('reviewCheckResultDeactivated',{'change':_0xc9f0ab});}),this['_changes']['push'](_0xc9f0ab),_0x5b7213['push'](_0xc9f0ab);}),this['fire']('reviewCheckResultReady',{'changes':_0x5b7213,'result':_0x3f594e,'source':this});}['abort'](){this['_activeRequest']&&(this['_activeRequest']['abortController']['abort'](),this['_activeRequest']=null,this['status']='aborted');}['isChangeActive'](_0xc6b1be){const _0x2c65ed=this['_changes']['find'](_0x49c950=>_0x49c950['id']===_0xc6b1be);return!(!_0x2c65ed||'pending'!==_0x2c65ed['status']);}['isAnyChangeActivated'](){return this['_changes']['some'](_0x47a3b5=>!0x0===_0x47a3b5['isActivated']);}['getActiveChanges'](){return this['_changes']['filter'](_0x47f5c4=>'pending'===_0x47f5c4['status']);}['getChangeById'](_0x324cfd){return this['_changes']['find'](_0x4eb65f=>_0x4eb65f['id']===_0x324cfd);}['markAllChangesAsAccepted'](){for(const _0x2b096f of this['_changes'])'pending'===_0x2b096f['status']&&(_0x2b096f['status']='accepted');this['_checkIfFinished']();}['markChangeAsAccepted'](_0x2c7c90){const _0x4c4c7e=this['_changes']['find'](_0x4649ff=>_0x4649ff['id']===_0x2c7c90);_0x4c4c7e&&'pending'===_0x4c4c7e['status']&&(_0x4c4c7e['status']='accepted'),this['_checkIfFinished']();}['markChangeAsRejected'](_0x422835){const _0xd217ee=this['_changes']['find'](_0x307a32=>_0x307a32['id']===_0x422835);_0xd217ee&&'pending'===_0xd217ee['status']&&(_0xd217ee['status']='rejected'),this['_checkIfFinished']();}['markChangeAsOutdated'](_0x490103){const _0x28cf68=this['_changes']['find'](_0x573114=>_0x573114['id']===_0x490103);_0x28cf68&&'pending'===_0x28cf68['status']&&(_0x28cf68['status']='outdated'),this['_checkIfFinished']();}['markChangeAsPending'](_0x37d30d){const _0x3189e4=this['_changes']['find'](_0x18f93d=>_0x18f93d['id']===_0x37d30d);_0x3189e4&&'outdated'===_0x3189e4['status']&&(_0x3189e4['status']='pending'),this['_checkIfFinished']();}['activateChange'](_0x9b4cb){this['_changes']['filter'](_0x4e66fc=>_0x4e66fc['isActivated']&&_0x4e66fc['id']!==_0x9b4cb)['forEach'](_0x330c68=>{_0x330c68['isActivated']=!0x1;});const _0x241a4c=this['_changes']['find'](_0x39e9f9=>_0x39e9f9['id']===_0x9b4cb);_0x241a4c&&'pending'===_0x241a4c['status']&&(_0x241a4c['isActivated']=!0x0);}['deactivateChange'](){this['_changes']['filter'](_0x57fa57=>_0x57fa57['isActivated'])['forEach'](_0x553720=>{_0x553720['isActivated']=!0x1;});}['forceReadyState'](){this['status']='ready';}async['sendRating'](_0x4a4a71){if('initialized'===this['status']||'loading'===this['status']||'data'===this['status']||this['_wasAborted'])return;if(!this['callId']||0x0===this['_changes']['length'])return;let _0x2d42af;if(_0x4a4a71){const _0x36495e=this['_changes']['find'](_0x185d3f=>_0x185d3f['id']===_0x4a4a71);if(_0x36495e&&_0x36495e['isRated'])return;_0x36495e&&(_0x2d42af=_0x36495e['parent']['id'],_0x36495e['isRated']=!0x0);}const _0x4a541a={'positiveCount':this['_changes']['filter'](_0x25ff9d=>'accepted'===_0x25ff9d['status'])['length'],'totalCount':this['_changes']['length']};this['_sendRatingRequest'](_0x4a541a,this['callId'],_0x2d42af);}['_addReviewCheckResult'](_0x9a14b0,_0x26ed55){const _0x525098=this['_documentData']['elements']['get'](_0x9a14b0);if(!_0x525098)return;const _0x1de5a7=_0x525098['getContent']();if(_0x1de5a7===_0x26ed55)return;const _0x3a7169=new AIReviewCheckResult({'id':_0x9a14b0,'contentInitial':_0x1de5a7,'contentNew':_0x26ed55,'documentVersion':this['_documentData']['version']});this['_results']['set'](_0x3a7169['id'],_0x3a7169),this['fire']('reviewCheckResultAdded',{'result':_0x3a7169,'source':this});}['_checkIfFinished'](){'finished'===this['status']&&(this['_changes']['filter'](_0x1d5ad1=>'pending'===_0x1d5ad1['status'])['length']>0x0&&(this['status']='ready')),'ready'===this['status']&&(0x0===this['_changes']['filter'](_0x5a29f6=>'pending'===_0x5a29f6['status'])['length']&&(this['status']='finished'));}}class AIReviewSystemCheckRun extends _0x37ab37{get['subTitle'](){if(!this['_reviewParams']||0x0===this['_reviewParams']['length'])return'';const _0x41705c=[];if(this['_reviewParams']['length']>0x0&&this['_sourceCheck']['options'])for(let _0x126d72=0x0;_0x126d72<this['_reviewParams']['length'];_0x126d72++){if(!this['_reviewParams'][_0x126d72]||!this['_sourceCheck']['options'][_0x126d72])continue;const _0x490ba4=this['_sourceCheck']['options'][_0x126d72],_0x471095=_0x490ba4['data']?.['find'](_0x126f02=>_0x126f02['id']===this['_reviewParams'][_0x126d72]);_0x471095&&_0x41705c['push'](_0x471095['label']);}return _0x41705c['join'](',\x20');}get['reviewName'](){return this['_composeReviewName']();}['_createApiRequest'](){return this['_aiConnector']['callSystemReview']({'reviewName':this['_composeReviewName'](),'content':this['_documentData']['content'],'args':this['_reviewArgs']});}['_sendRatingRequest'](_0xcb76f6,_0x209cb5,_0x18013d){return this['_aiConnector']['upsertAIReviewRating'](this['reviewName'],_0x209cb5,_0xcb76f6,_0x18013d);}['_composeReviewName'](){return!this['_reviewParams']||0x0===this['_reviewParams']['length']||this['_sourceCheck']['useArgs']?this['_sourceCheck']['apiId']:[this['_sourceCheck']['apiId'],...this['_reviewParams']]['join']('-');}}class AIReviewCoreController extends _0x22b56d['ContextPlugin']{['_aiConnector'];['_aiReviewCoreUi'];['_aiReviewCoreEditing'];['_aiReviewCheckList'];['_currentReviewCheckRun'];['_changeActivationSource']=null;static get['requires'](){return[AIConnector];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['_initRequiredPlugins'](),this['_aiReviewCheckList']=await this['_getChecksList'](),this['listenTo'](this['_aiReviewCoreUi'],'getReviewCheckList',()=>{this['_aiReviewCoreUi']['setAvailableChecks'](this['_aiReviewCheckList']['checks']);}),this['listenTo'](this['_aiReviewCoreUi'],'runReviewCheck',async(_0x160d96,_0x4d67df)=>{const _0x410eff=this['_aiReviewCheckList']['getCheckById'](_0x4d67df['id']);if(_0x410eff){this['_onReviewCheckRun'](_0x4d67df),this['_aiReviewCoreEditing']['switchToReadOnly'](),this['_currentReviewCheckRun']=this['_createReviewCheckRun'](_0x4d67df,_0x410eff),this['_aiReviewCoreUi']['setCheckResultTitle'](this['_currentReviewCheckRun']['title'],this['_currentReviewCheckRun']['subTitle']),this['_currentReviewCheckRun']['on']('reviewCheckRunUpdated',(_0x42bbb1,_0x1e8920)=>{switch(_0x1e8920['status']){case'data':case'loading':this['_aiReviewCoreUi']['showCheckRunResults'](_0x1e8920);break;case'finished':this['_onCheckRunFinished']();break;case'ready':this['_aiReviewCoreUi']['showActionsWhenResultIsReady']();break;case'unmodified':this['_aiReviewCoreUi']['showNoChangesView']();break;case'error-general':this['_aiReviewCoreUi']['showGeneralResultsErrorView'](),this['_logError'](new _0x22b56d['CKEditorError']('ai-review-mode-check-run-general-error',this,void 0x0,this['_currentReviewCheckRun']?.['currentError']));break;case'error-chunk':this['_aiReviewCoreUi']['showChunkErrorView'](),this['_logError'](new _0x22b56d['CKEditorError']('ai-review-mode-check-run-chunk-error',this,void 0x0,this['_currentReviewCheckRun']?.['currentError']));break;case'aborted':this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['processedResultsCount']>0x0?setTimeout(()=>{this['_currentReviewCheckRun']?.['forceReadyState']();},0x0):this['_onReviewRunLeave'](!0x0);}'ready'!==_0x1e8920['status']&&'error-chunk'!==_0x1e8920['status']&&'error-general'!==_0x1e8920['status']||this['_currentReviewCheckRun']?.['sendRating']();}),this['_currentReviewCheckRun']['on']('reviewCheckResultAdded',(_0x452ed6,_0x26e8f4)=>{if(!this['_currentReviewCheckRun'])throw new _0x22b56d['CKEditorError']('ai-review-mode-no-current-check-run',this);const _0x2fa3b1=this['_diffContent'](_0x26e8f4['result']['contentInitial'],_0x26e8f4['result']['contentNew']);_0x26e8f4['source']['addResultChanges'](_0x26e8f4['result']['id'],_0x2fa3b1);}),this['_currentReviewCheckRun']['on']('reviewCheckResultReady',(_0x3d0d69,_0x4dcebc)=>{for(const _0xd96d05 of _0x4dcebc['changes'])this['_aiReviewCoreUi']['showCheckRunResult'](_0xd96d05);this['_markChangePositionInEditorContent'](_0x4dcebc['changes'],_0x4dcebc['source']['documentData']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultChangeStatusUpdated',(_0x3085ec,_0x4d754a)=>{this['_aiReviewCoreUi']['updateChangeState'](_0x4d754a['change']['id'],_0x4d754a['status']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultActivated',(_0x26d808,_0x1c0dc2)=>{this['_onReviewCheckResultActivated'](_0x1c0dc2);}),this['_currentReviewCheckRun']['on']('reviewCheckResultDeactivated',()=>{this['_onReviewCheckResultDeactivated']();});try{await this['_currentReviewCheckRun']['start']();}catch(_0x409c90){_0x409c90 instanceof Error&&_0x409c90['message']['includes']('ai-request-aborted')||(_0x409c90 instanceof _0x22b56d['CKEditorError']?this['_logError'](_0x409c90):this['_logError'](new _0x22b56d['CKEditorError']('ai-review-mode-check-run-failed',this,void 0x0,_0x409c90)));}}else this['_logError'](new _0x22b56d['CKEditorError']('ai-review-mode-source-check-not-found',this,{'checkId':_0x4d67df['id']}));}),this['listenTo'](this['_aiReviewCoreUi'],'leaveReview',()=>{this['_onReviewRunLeave']();}),this['listenTo'](this['_aiReviewCoreUi'],'leaveReviewCoreResultList',()=>{this['_onReviewRunLeave'](!0x0);}),this['listenTo'](this['_aiReviewCoreUi'],'abortReviewStream',()=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['abort']();}),this['listenTo'](this['_aiReviewCoreUi'],'finishReview',()=>{this['_onReviewRunLeave'](!0x0);}),this['listenTo'](this['_aiReviewCoreUi'],'acceptAllChanges',()=>{if(!this['_currentReviewCheckRun'])return;const _0x18f677=this['_currentReviewCheckRun']['getActiveChanges']();if(!_0x18f677['length'])return;this['_aiReviewCoreEditing']['applyChange'](_0x18f677['map'](_0x220b99=>_0x220b99['id']));const _0x20f26e=this['_currentReviewCheckRun'];_0x20f26e['markAllChangesAsAccepted'](),_0x20f26e['sendRating']();}),this['listenTo'](this['_aiReviewCoreUi'],'acceptChange',(_0x223e84,_0x3a2d9c)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x3a2d9c['id'])&&(this['_aiReviewCoreEditing']['applyChange']([_0x3a2d9c['id']]),this['_currentReviewCheckRun']['markChangeAsAccepted'](_0x3a2d9c['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x3a2d9c['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'dismissChange',(_0x4acf03,_0x20a211)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x20a211['id'])&&(this['_aiReviewCoreEditing']['rejectChange'](_0x20a211['id']),this['_currentReviewCheckRun']['markChangeAsRejected'](_0x20a211['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x20a211['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'retryReview',async()=>{this['_currentReviewCheckRun']&&(this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_currentReviewCheckRun']['updateDocumentData'](this['_aiReviewCoreEditing']['getDocumentData']()),await this['_currentReviewCheckRun']['restart']());}),this['listenTo'](this['_aiReviewCoreUi'],'activateChange',(_0x1cb4ef,_0x2da507)=>{this['_onActivateChange'](_0x2da507);}),this['listenTo'](this['_aiReviewCoreUi'],'deactivateChange',(_0x4769b8,_0x94334c)=>{this['_onDeactivateChange'](_0x94334c);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerClicked',(_0x9ff6e8,_0x3773f9)=>{this['_onChangeMarkerClicked'](_0x9ff6e8,_0x3773f9);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerHovered',(_0x457511,_0x3db969)=>{this['_onChangeMarkerHovered'](_0x457511,_0x3db969);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerBlurred',()=>{this['_onChangeMarkerBlurred']();}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRemoved',(_0x3e8cd7,_0x4930ed)=>{this['_onChangeMarkerRemoved'](_0x3e8cd7,_0x4930ed);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRestored',(_0x88519f,_0x4a555e)=>{this['_onChangeMarkerRestored'](_0x88519f,_0x4a555e);});}['_createReviewCheckRun'](_0x480bb0,_0x276354){return new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x276354,this['_aiConnector'],_0x480bb0['params'],_0x480bb0['args']);}['_onChangeMarkerRemoved'](_0x69f3cd,_0x12a5c6){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsOutdated'](_0x12a5c6['changeId']);}['_onChangeMarkerRestored'](_0x1d709d,_0x31ddff){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsPending'](_0x31ddff['changeId']);}['_onCheckRunFinished'](){this['_aiReviewCoreUi']['showReviewCompletedView']();}['_initRequiredPlugins'](){this['_aiConnector']=this['context']['plugins']['get']('AIConnector');}['_onReviewRunLeave'](_0x88303a=!0x1){this['_currentReviewCheckRun']&&(this['_currentReviewCheckRun']['hasModifications']||this['_currentReviewCheckRun']['sendRating'](),this['_currentReviewCheckRun']['stopListening'](),this['_currentReviewCheckRun']['abort'](),this['_currentReviewCheckRun']=void 0x0),_0x88303a&&this['_aiReviewCoreUi']['showReviewCheckList'](),this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_aiReviewCoreEditing']['switchToEdit'](),this['_changeActivationSource']=null;const _0x37c7f4=this['_aiReviewCoreEditing']['getEditor']();_0x37c7f4&&_0x37c7f4['editing']['view']['change'](_0x515c51=>{const _0x4e1d6d=_0x37c7f4['editing']['view']['document']['getRoot']();_0x515c51['removeClass']('ck-ai_review-diff',_0x4e1d6d),_0x515c51['removeClass']('ck-ai_review-highlights',_0x4e1d6d),_0x515c51['removeClass']('ck-ai-translate-mode-content',_0x4e1d6d);});}['_getTranslationWithDefault'](_0x59731d,_0x4f14ad){const _0x19614a=xt(this['context']['locale'],_0x59731d);return _0x19614a===_0x59731d?_0x4f14ad:_0x19614a;}['_logError'](_0x320d3a,_0xb1d00c=!0x1){_0x22b56d['logError'](_0x320d3a['message']),_0xb1d00c||(_0x320d3a['message']['startsWith']('ai-review-mode-models-unable-to-retrieve')?this['_aiReviewCoreUi']['showGeneralReviewCoreErrorView']():this['_aiReviewCoreUi']['showGeneralResultsErrorView']());}['_scrollToChange'](_0x4e2cb4){if('content'===this['_changeActivationSource']){const _0x3653ad=this['_aiReviewCoreUi']['getChangeElement'](_0x4e2cb4);_0x3653ad&&_0x22b56d['scrollAncestorsToShowTarget'](_0x3653ad['closest']('.ck-ai_review__check-run-result')||_0x3653ad);}else{if('panel'===this['_changeActivationSource']){const _0x19c0f8=this['_getChangeContentElement'](_0x4e2cb4);if(!_0x19c0f8)return;const _0x3126cc={'target':_0x19c0f8,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x22b56d['scrollViewportToShowTarget'](_0x3126cc);}}}}const _0x5b4d1a=[{'id':'custom','commandId':'custom','title':'Custom\x20command','description':'Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','isParameterized':!0x0},{'id':'correctness','commandId':'correctness','title':'Correctness','description':'Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','isParameterized':!0x1},{'id':'clarity','commandId':'clarity','title':'Clarity','description':'Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','isParameterized':!0x1},{'id':'readability','commandId':'readability','title':'Readability','description':'Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','isParameterized':!0x1},{'id':'length','commandId':'make','title':'Adjust\x20length','description':'Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','isParameterized':!0x0,'options':[{'formType':'dropdown','label':'Adjust\x20length','default':'longer','data':[{'label':'Longer','id':'longer'},{'label':'Shorter','id':'shorter'}]}]},{'id':'tone','commandId':'make-tone','title':'Adjust\x20tone\x20and\x20style','description':'Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','isParameterized':!0x0,'options':[{'formType':'dropdown','label':'Adjust\x20tone\x20and\x20style','default':'casual','data':[{'label':'Casual','id':'casual'},{'label':'Direct','id':'direct'},{'label':'Friendly','id':'friendly'},{'label':'Confident','id':'confident'},{'label':'Professional','id':'professional'}]}]}];class _0x5c470c{['id'];['commandId'];['title'];['description'];['isParameterized'];['useArgs'];['options'];['args'];get['apiId'](){return this['commandId'];}constructor(_0x1f0a45){this['id']=_0x1f0a45['id'],this['commandId']=_0x1f0a45['commandId'],this['title']=_0x1f0a45['title'],this['description']=_0x1f0a45['description'],this['isParameterized']=_0x1f0a45['isParameterized'],this['useArgs']=_0x1f0a45['useArgs'],this['options']=_0x1f0a45['options'],this['args']=_0x1f0a45['args'];}}class AIReviewCheckList extends _0x22b56d['ObservableMixin'](){['_checks']=[];['setupChecks'](_0x1fa370){this['_checks']=_0x1fa370['map'](_0x31fbb4=>new _0x5c470c(_0x31fbb4));}get['checks'](){return this['_checks'];}['getCheckById'](_0xb2421f){return this['checks']['find'](_0x2b5552=>_0x2b5552['id']===_0xb2421f);}['removeCheckById'](_0x2bd0ab){this['_checks']=this['_checks']['filter'](_0x113177=>_0x113177['id']!==_0x2bd0ab);}}class AIReviewCheckCustom extends _0x5c470c{['_models']=[];['_defaultModel']=null;constructor(_0x972893,_0x3e1b31,_0x2f86eb){super(_0x972893),this['_models']=_0x3e1b31,this['_defaultModel']=_0x2f86eb;}get['models'](){return this['_models'];}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewCheckExtra extends _0x5c470c{['isExtra']=!0x0;['prompt'];['model'];['_defaultModel']=null;constructor(_0x10b767,_0x400d15,_0x4dda48){super(_0x10b767),this['prompt']=_0x10b767['prompt'],this['model']=_0x10b767['model'],this['model']?this['_defaultModel']=_0x400d15['find'](_0x56da2b=>_0x56da2b['id']===this['model'])||null:this['_defaultModel']=_0x4dda48;}get['defaultModel'](){return this['_defaultModel'];}}class AIReviewModeCheckList extends AIReviewCheckList{['_allModels']=[];['_recommendedModels']=[];['_defaultModel']=null;constructor(_0xf09ea4,_0x156af9,_0xca233d){super(),this['_allModels']=_0xf09ea4,this['_recommendedModels']=_0x156af9,this['_defaultModel']=_0xca233d;}['setupChecks'](_0x12c981){this['_checks']=_0x12c981['map'](_0x16aa99=>!0x0===_0x16aa99['isExtra']?new AIReviewCheckExtra(_0x16aa99,this['_allModels'],this['_defaultModel']):'custom'===_0x16aa99['id']?new AIReviewCheckCustom(_0x16aa99,this['_recommendedModels'],this['_defaultModel']):new _0x5c470c(_0x16aa99));}}class AIReviewCustomCheckRun extends _0x37ab37{['_prompt'];['_model'];constructor(_0x59bb3d,_0x1aab91,_0x39b85d,_0x9873e5,_0x40ebff){super(_0x39b85d,_0x9873e5,_0x40ebff),this['_prompt']=_0x59bb3d,this['_model']=_0x1aab91;}get['subTitle'](){return this['_prompt'];}['_createApiRequest'](){return this['_aiConnector']['callCustomReview']({'content':this['_documentData']['content'],'prompt':this['_prompt'],'model':this['_model']});}['_sendRatingRequest'](_0x5f0939,_0xfd6404,_0xee63ea){return this['_aiConnector']['upsertCustomAIReviewRating'](_0xfd6404,_0x5f0939,_0xee63ea);}}class AIReviewExtraCheckRun extends AIReviewCustomCheckRun{get['subTitle'](){return'';}set['prompt'](_0x535e8a){this['_prompt']=_0x535e8a;}set['model'](_0x47d8bd){this['_model']=_0x47d8bd;}}class AIReviewModeController extends AIReviewCoreController{static get['pluginName'](){return'AIReviewModeController';}['_isDiffOn']=!0x1;['_hasDefaultAvailableCommands']=!0x1;constructor(_0x23a2d2){super(_0x23a2d2),this['_hasDefaultAvailableCommands']=!this['context']['config']['get']('ai.review.availableCommands'),this['context']['config']['define']('ai.review.availableCommands',_0x5b4d1a['map'](_0x41c310=>_0x41c310['id'])),this['context']['config']['define']('ai.review.extraCommands',[]);}async['init'](){await super['init'](),this['listenTo'](this['_aiReviewCoreUi'],'toggleDiff',(_0x3485bb,_0x435df9)=>{this['_isDiffOn']=_0x435df9['on'],this['_onDiffChange'](this['_isDiffOn']);});}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AIReviewModeUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x2b72ab,_0x44041c){return _0x2b72ab['isCustom']?new AIReviewCustomCheckRun(_0x2b72ab['args']['prompt'],_0x2b72ab['args']['model'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x44041c,this['_aiConnector']):_0x44041c['isExtra']?new AIReviewExtraCheckRun(_0x44041c['prompt'],_0x44041c['defaultModel']['id'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x44041c,this['_aiConnector']):new AIReviewSystemCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x44041c,this['_aiConnector'],_0x2b72ab['params'],_0x2b72ab['args']);}['_onReviewCheckResultActivated'](_0x3952af){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x3952af['change']['id']),this['_scrollToChange'](_0x3952af['change']['id']);const _0x2b01ec=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x3952af['change']['id']);if(!_0x2b01ec)return;const _0x61dbf7=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x3952af['change'],()=>_0x2b01ec['getElement'](),void 0x0,'click',_0x61dbf7?.['editing']?.['view']?.['getDomRoot'](),_0x61dbf7?.['ui']?.['viewportOffset']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x3952af['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreUi']['resetActiveStateInResults'](),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']();}['_onActivateChange'](_0x3fee59){this['_currentReviewCheckRun']&&'click'===_0x3fee59['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x3fee59['id']));}['_onDeactivateChange'](_0x5ef4d3){this['_currentReviewCheckRun']&&'balloon'===_0x5ef4d3['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x3db3f8,_0x29c7e0){if(!this['_currentReviewCheckRun'])return;this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x29c7e0['changeId']);const _0x2e8e1a=this['_currentReviewCheckRun']['getChangeById'](_0x29c7e0['changeId']);if(!_0x2e8e1a)return;const _0x174592=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x2e8e1a,_0x29c7e0['markerElement'],_0x29c7e0['domEvent'],'click',_0x174592?.['editing']?.['view']?.['getDomRoot'](),_0x174592?.['ui']?.['viewportOffset']);}['_onChangeMarkerHovered'](_0x3b418b,_0x5cffbf){if(!this['_currentReviewCheckRun'])return;if(this['_currentReviewCheckRun']['isAnyChangeActivated']())return;const _0x49441b=this['_currentReviewCheckRun']['getChangeById'](_0x5cffbf['changeId']);if(!_0x49441b)return;const _0xf3cce4=this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x49441b,_0x5cffbf['markerElement'],_0x5cffbf['domEvent'],'hover',_0xf3cce4?.['editing']?.['view']?.['getDomRoot'](),_0xf3cce4?.['ui']?.['viewportOffset']);}['_onChangeMarkerBlurred'](){if(!this['_currentReviewCheckRun'])return;this['_currentReviewCheckRun']['isAnyChangeActivated']()||this['_aiReviewCoreUi']['hideChangeBalloon']();}['_getChangeContentElement'](_0x3c603e){const _0x4bac99=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x3c603e);return _0x4bac99?_0x4bac99['getElement']():null;}['_markChangePositionInEditorContent'](_0x4619f5,_0xeb313){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x4619f5,_0xeb313);}['_diffContent'](_0xaaf0a0,_0x32dd8e){return this['_aiReviewCoreEditing']['diffContent'](_0xaaf0a0,_0x32dd8e);}['_onReviewCheckRun'](){this['_onDiffChange'](this['_isDiffOn']);}['_onDiffChange'](_0x147739){const _0x5d0eba=this['_aiReviewCoreEditing']['getEditor']();_0x147739?this['_aiReviewCoreUi']['hideDiffInBalloon']():this['_aiReviewCoreUi']['showDiffInBalloon'](),_0x5d0eba&&_0x5d0eba['editing']['view']['change'](_0x1b43d1=>{const _0x32d19a=_0x5d0eba['editing']['view']['document']['getRoot']();for(const _0x5859b7 of _0x32d19a['getClassNames']())_0x5859b7['startsWith']('ck-ai_review-')&&_0x1b43d1['removeClass'](_0x5859b7,_0x32d19a);_0x1b43d1['addClass'](_0x147739?'ck-ai_review-diff':'ck-ai_review-highlights',_0x32d19a);});}async['_getChecksList'](){const _0x489cad=[..._0x5b4d1a,...this['_getExtraChecks']()],_0x560ac8=this['context']['config']['get']('ai.review.availableCommands')||[];this['_logErrorForNonExistentChecks'](_0x560ac8,_0x489cad);let _0x51e133=_0x489cad;this['_hasDefaultAvailableCommands']||(_0x51e133=_0x560ac8['map'](_0x107b8e=>_0x489cad['find'](_0x183417=>_0x183417['id']===_0x107b8e))['filter'](_0x5b6741=>!!_0x5b6741)),_0x51e133=_0x51e133['map'](_0xb2805a=>_0xb2805a['isExtra']?_0xb2805a:this['_translateReviewCheck'](_0xb2805a));const _0x17e6cd=_0x51e133['some'](_0x11f02b=>_0x11f02b['isExtra']||'custom'===_0x11f02b['id']);let _0x29936f=[],_0x3e1e67=[],_0x190b6f=null;if(_0x17e6cd){const _0x228947=await this['_getModels']();_0x29936f=_0x228947['all'],_0x3e1e67=_0x228947['recommended'],_0x190b6f=_0x228947['default'];}const _0x505451=new AIReviewModeCheckList(_0x29936f,_0x3e1e67,_0x190b6f);return _0x505451['setupChecks'](_0x51e133),_0x17e6cd&&this['_filterChecksWithMissingModel'](_0x505451),_0x505451;}['_getExtraChecks'](){return(this['context']['config']['get']('ai.review.extraCommands')||[])['map'](_0x688403=>({'id':_0x688403['id'],'commandId':_0x688403['id'],'title':_0x688403['label'],'description':_0x688403['description'],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x688403['prompt'],'model':_0x688403['model']}));}['_logErrorForNonExistentChecks'](_0x1f263b,_0x2335d8){const _0x2f5a4e=_0x1f263b['filter'](_0x21adf2=>!_0x2335d8['some'](_0x3c224d=>_0x3c224d['id']===_0x21adf2));_0x2f5a4e['length']&&this['_logError'](new _0x22b56d['CKEditorError']('ai-review-mode-non-existent-commands-used',this,{'commandIds':_0x2f5a4e['join'](',\x20')}),!0x0);}async['_getModels'](){try{const _0x4792f9=new _0x25dc16({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});return{'all':await _0x4792f9['getAll'](),'recommended':await _0x4792f9['getAvailableModels'](),'default':await _0x4792f9['getDefault']()};}catch(_0x41225e){return this['_logError'](new _0x22b56d['CKEditorError']('ai-review-mode-models-unable-to-retrieve',this,void 0x0,_0x41225e)),{'all':[],'recommended':[],'default':null};}}['_translateReviewCheck'](_0x74c291){const _0xbb700f='AI_REVIEW_CHECK_'+_0x74c291['id']['toUpperCase']()['replaceAll']('-','_'),_0x1ca8cd={..._0x74c291,'title':this['_getTranslationWithDefault'](_0xbb700f+'_TITLE',_0x74c291['title']),'description':this['_getTranslationWithDefault'](_0xbb700f+'_DESCRIPTION',_0x74c291['description'])};return _0x74c291['options']&&(_0x1ca8cd['options']=_0x74c291['options']['map'](_0x1206fd=>({..._0x1206fd,'label':this['_getTranslationWithDefault'](_0xbb700f+'_OPTIONS_LABEL',_0x1206fd['label']||''),'data':_0x1206fd['data']?_0x1206fd['data']['map'](_0x1b65ae=>({..._0x1b65ae,'label':this['_getTranslationWithDefault'](_0xbb700f+'_OPTIONS_DATA_'+_0x1b65ae['id']['toUpperCase'](),_0x1b65ae['label'])})):void 0x0}))),_0x1ca8cd;}['_filterChecksWithMissingModel'](_0x4a83a1){const _0x13454e=[];_0x4a83a1['checks']['forEach'](_0x112010=>{(_0x112010 instanceof AIReviewCheckExtra&&!_0x112010['defaultModel']||_0x112010 instanceof AIReviewCheckCustom&&!_0x112010['models']['length'])&&_0x13454e['push'](_0x112010['id']);}),_0x13454e['length']&&_0x13454e['forEach'](_0x1f4d4f=>{_0x4a83a1['removeCheckById'](_0x1f4d4f),this['_logError'](new _0x22b56d['CKEditorError']('ai-review-mode-command-unavailable-due-to-missing-model',this,{'commandId':_0x1f4d4f}),!0x0);});}}class _0x5bb504 extends _0x22b56d['ContextPlugin']{static get['requires'](){return[AIReviewModeController,_0x7a082,AIReviewCoreEditing];}static get['pluginName'](){return'AIReviewMode';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class AITranslateCheck extends _0x5c470c{get['apiId'](){return'translate';}}class AITranslateCheckList extends AIReviewCheckList{['setupChecks'](_0x639f27){this['_checks']=_0x639f27['map'](_0x9335f5=>new AITranslateCheck(_0x9335f5));}}class AITranslateCheckRun extends AIReviewSystemCheckRun{['_title'];constructor(_0x1467e2,_0x5ba38a,_0x15443,_0x585d04,_0x4d8247,_0x3f8011){super(_0x1467e2,_0x5ba38a,_0x15443,_0x4d8247,_0x3f8011),this['_title']=_0x585d04;}get['title'](){return this['_title'];}get['subTitle'](){return this['_sourceCheck']['title'];}}class AITranslateController extends AIReviewCoreController{static get['pluginName'](){return'AITranslateController';}constructor(_0x1b5ab9){super(_0x1b5ab9),this['context']['config']['define']('ai.translate.languages',[{'label':'English','id':'english'},{'label':'Spanish','id':'spanish'},{'label':'French','id':'french'},{'label':'German','id':'german'},{'label':'Chinese\x20(Simplified)','id':'chinese'},{'label':'Japanese','id':'japanese'},{'label':'Russian','id':'russian'},{'label':'Portuguese','id':'portuguese'},{'label':'Korean','id':'korean'},{'label':'Italian','id':'italian'}]);}['_onCheckRunFinished'](){this['_onReviewRunLeave'](!0x0);}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AITranslateUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x272dbc,_0x11703a){return new AITranslateCheckRun(this['_aiReviewCoreEditing']['getDocumentData'](),_0x11703a,this['_aiConnector'],xt(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),_0x272dbc['params'],_0x272dbc['args']);}['_onReviewCheckResultActivated'](_0x1d5166){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x1d5166['change']['id']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x1d5166['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreEditing']['setAllMarkersAsInactive'](),this['_aiReviewCoreUi']['resetActiveStateInResults']();}['_onActivateChange'](_0xa01355){this['_currentReviewCheckRun']&&('hover'===_0xa01355['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0xa01355['id'])),'click'===_0xa01355['uiInteraction']&&this['_scrollToChange'](_0xa01355['id']));}['_onDeactivateChange'](_0x4980c0){this['_currentReviewCheckRun']&&'panel'===_0x4980c0['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x35d81a,_0x4e6efe){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x4e6efe['changeId']),this['_scrollToChange'](_0x4e6efe['changeId']));}['_onChangeMarkerHovered'](_0x4ec054,_0xf3873e){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0xf3873e['changeId']),this['_aiReviewCoreEditing']['reactivateMarkers'](_0xf3873e['changeId']));}['_onChangeMarkerBlurred'](){this['_currentReviewCheckRun']&&'content'===this['_changeActivationSource']&&(this['_currentReviewCheckRun']['deactivateChange'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']());}['_getChangeContentElement'](_0x99f3ec){return this['_aiReviewCoreEditing']['getContentElementForChange'](_0x99f3ec);}['_markChangePositionInEditorContent'](_0x3ef84e,_0x5028cc){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x3ef84e,_0x5028cc);}['_diffContent'](_0x2de669,_0x17618f){return this['_aiReviewCoreEditing']['diffContent'](_0x2de669,_0x17618f,!0x0);}['_onReviewCheckRun'](){const _0x219167=this['_aiReviewCoreEditing']['getEditor']();_0x219167&&_0x219167['editing']['view']['change'](_0x26936f=>{const _0x219818=_0x219167['editing']['view']['document']['getRoot']();for(const _0x5656c7 of _0x219818['getClassNames']())(_0x5656c7['startsWith']('ck-ai-review-')||'ck-ai-translate-'===_0x5656c7)&&_0x26936f['removeClass'](_0x5656c7,_0x219818);_0x26936f['addClass']('ck-ai-translate-mode-content',_0x219818);});}async['_getChecksList'](){const _0x4b996d=[],_0x2586f2=this['context']['config']['get']('ai.translate.languages')||[];for(const _0x5b8c85 of _0x2586f2)_0x4b996d['push']({'title':_0x5b8c85['label'],'id':_0x5b8c85['id'],'commandId':_0x5b8c85['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0x5b8c85['id']}});const _0x22614d=new AITranslateCheckList();return _0x22614d['setupChecks'](this['_translateChecks'](_0x4b996d)),_0x22614d;}['_translateChecks'](_0x4a6234){return _0x4a6234['map'](_0x4c4af6=>{const _0xabd7fc='AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_'+_0x4c4af6['title']['toUpperCase']()['replaceAll']('-','_');return{..._0x4c4af6,'title':this['_getTranslationWithDefault'](_0xabd7fc,_0x4c4af6['title'])};});}}class AITranslateCheckResultsView extends AIReviewCoreUICheckResultsView{constructor(_0x2a34b6,_0x19ebb5){super(_0x2a34b6,_0x19ebb5),this['on']('set:isLoading',(_0x3dd625,_0x5cdd0b,_0x5a2a07)=>{_0x5a2a07&&(this['headerTitle']=xt(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE'));}),this['on']('set:isResultReady',(_0x3410eb,_0x546ff8,_0x1c6460)=>{_0x1c6460&&(this['headerTitle']=xt(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE'));});}['_createAcceptAllButtonView'](){const _0x1369ea=super['_createAcceptAllButtonView']();return _0x1369ea['set']('label',xt(this['locale'],'AI_TRANSLATE_ACCEPT_ALL')),_0x1369ea;}['_createExitReviewButtonView'](){const _0x3ea345=super['_createExitReviewButtonView']();return _0x3ea345['set']('label',xt(this['locale'],'AI_CHAT_HISTORY_CANCEL')),_0x3ea345;}}class AITranslateCheckListView extends AIReviewCoreReviewCheckListView{['_setupTemplate'](){const _0x3c99f2=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-translate__check-list-wrapper',_0x3c99f2['if']('isVisible','ck-hidden',_0xda270d=>!_0xda270d)]},'children':[{'tag':'div','attributes':{'class':['ck-ai-translate__check-list-header']},'children':[{'tag':'h2','children':[{'text':xt(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_TITLE')}]},{'tag':'p','children':[{'text':xt(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x3c99f2['if']('isVisible','ck-hidden',_0x456631=>!_0x456631)]},'children':this['_checkViews']}]});}}class AITranslateUI extends _0x49718a{static get['pluginName'](){return'AITranslateUI';}['createMainView'](){const _0x2362b5=this['context']['locale'],_0xa1451a=new _0x22b56d['FormHeaderView'](_0x2362b5,{'label':xt(_0x2362b5,'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'icon':_0x22b56d['IconAITranslate'],'class':'ck-ai-header\x20ck-ai-header_review-translate'}),_0x20c52e=new _0x202c3c(_0x2362b5,{'header':_0xa1451a,'list':new AITranslateCheckListView(_0x2362b5),'results':new AITranslateCheckResultsView(_0x2362b5,{'generalErrorText':xt(_0x2362b5,'AI_TRANSLATE_GENERAL_ERROR_MESSAGE')}),'completed':new AIReviewCoreReviewCompletedView(_0x2362b5,{'headerText':xt(_0x2362b5,'AI_TRANSLATE_FINISH_HEADER_TITLE'),'emptyResultsText':xt(_0x2362b5,'AI_TRANSLATE_EMPTY_RESULTS_TEXT'),'buttonText':xt(_0x2362b5,'AI_TRANSLATE_FINISH_BUTTON_LABEL')})});return _0x20c52e['extendTemplate']({'attributes':{'class':'ck-ai-translate-mode'}}),_0x20c52e;}['registerTab'](){const _0x52badb=this['context']['plugins']['get']('AITabs');_0x52badb['view']['on']('activateTab',(_0x63df3d,_0x1a3391)=>{'translate'===_0x1a3391?this['fire']('getReviewCheckList'):this['fire']('leaveReview');}),_0x52badb['view']['addTab']({'id':'translate','buttonLabel':xt(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'buttonIcon':_0x22b56d['IconAITranslate'],'order':0x0,'content':this['_mainView']});}}class AITranslate extends _0x22b56d['ContextPlugin']{static get['requires'](){return[AITranslateController,AITranslateUI,AIReviewCoreEditing];}static get['pluginName'](){return'AITranslate';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x56821c extends _0x22b56d['Command']{['_transformCallback'];constructor(_0x9285bb,_0x109ace){super(_0x9285bb),this['_transformCallback']=_0x109ace;}['execute'](){const _0x306296=this['editor']['model'],_0x3ef079=Array['from'](this['_getAffectedRanges']()),_0xb94cbd=Array['from'](_0x306296['document']['selection']['getRanges']());_0x306296['change'](_0x53db12=>{for(const _0x58faf0 of _0x3ef079)this['_modifyContent'](_0x58faf0,_0x53db12);_0x53db12['setSelection'](_0xb94cbd);});}['refresh'](){for(const _0x4f4d0c of this['_getAffectedRanges']())for(const _0x140eab of _0x4f4d0c)if(_0x140eab['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x43dc07=this['editor']['model'],_0x2b46ba=_0x43dc07['document']['selection'];if(_0x2b46ba['isCollapsed']){const _0x533588=this['_findAncestorTextBlock'](_0x2b46ba['getFirstPosition']()['parent']);return _0x533588?[_0x43dc07['createRangeIn'](_0x533588)]:[];}return _0x2b46ba['getRanges']();}['_modifyContent'](_0x1670ce,_0x4451e9){for(const _0x2780b9 of this['_getElementsAllowingText'](_0x1670ce)){const _0x1b8b7a=this['_getElementTextContent'](_0x2780b9),_0xe82f2d=this['_transformCallback'](_0x1b8b7a);for(const _0xfa5a8d of this['_getTextNodesRangeLimited'](_0x2780b9,_0x1670ce))this['_replaceTextNodeData'](_0xfa5a8d,_0xe82f2d,_0x4451e9);}}['_findAncestorTextBlock'](_0x124ea5){const _0x39ad8f=this['editor']['model']['schema'];if(_0x124ea5['is']('element')&&_0x39ad8f['checkChild'](_0x124ea5,'$text'))return _0x124ea5;const _0x3d514e=_0x124ea5['parent'];return!_0x3d514e||_0x39ad8f['isLimit'](_0x124ea5)?null:this['_findAncestorTextBlock'](_0x3d514e);}*['_getElementsAllowingText'](_0x1b9640){const _0x5a98cb=new Set();for(const {item:_0x5ab39c}of _0x1b9640['getWalker']()){const _0x5cefab=this['_findAncestorTextBlock'](_0x5ab39c);_0x5cefab&&!_0x5a98cb['has'](_0x5cefab)&&(_0x5a98cb['add'](_0x5cefab),yield _0x5cefab);}}['_getElementTextContent'](_0x31c08f){return Array['from'](_0x31c08f['getChildren']())['reduce']((_0x400f27,_0x53af56)=>_0x400f27+(_0x53af56['is']('$text')?_0x53af56['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x4e2b39,_0x6e4f46){const _0x520d3c=_0x6e4f46['getIntersection'](this['editor']['model']['createRangeIn'](_0x4e2b39));if(_0x520d3c){for(const _0x2633d1 of _0x520d3c['getItems']())_0x2633d1['is']('$textProxy')&&_0x2633d1['parent']==_0x4e2b39&&(yield _0x2633d1);}}['_replaceTextNodeData'](_0x170d40,_0x195da1,_0x304c48){const _0x1da783=_0x195da1['substring'](_0x170d40['startOffset'],_0x170d40['endOffset']);if(_0x1da783===_0x170d40['data'])return;const _0x1a647d=_0x170d40['getAttributes']();this['editor']['model']['insertContent'](_0x304c48['createText'](_0x1da783,_0x1a647d),_0x304c48['createSelection'](_0x304c48['createRangeOn'](_0x170d40)));}}function _0x1ede7b(_0x5d6247,_0x1e53f1,..._0x116ace){const t=_0x5d6247['t'];switch(_0x1e53f1){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',..._0x116ace);default:return _0x1e53f1;}}class CaseChangeEditing extends _0x22b56d['Plugin']{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x316d6f=this['editor'],_0x101c6e=_0x316d6f['locale']['contentLanguage'],_0x4296b9=function(_0x431c06=[]){return'function'==typeof _0x431c06?_0x431c06:(_0x4bc43a,{wordIndex:_0x40299f})=>_0x40299f>0x0&&_0x431c06['includes'](_0x4bc43a);}(_0x316d6f['config']['get']('caseChange.titleCase.excludeWords')),_0x3b7cd3={'changeCaseUpper':new _0x56821c(_0x316d6f,_0x52f397=>_0x52f397['toLocaleUpperCase'](_0x101c6e)),'changeCaseLower':new _0x56821c(_0x316d6f,_0xfebcd5=>_0xfebcd5['toLocaleLowerCase'](_0x101c6e)),'changeCaseTitle':new _0x56821c(_0x316d6f,_0x2b5dfd=>function(_0x3d84c7,_0x15348b,_0x13866f){return function(_0x65ff3b,_0x1c642e){let _0x153604='',_0x166d91=0x0,_0x4a9dcd=0x0;for(const _0x1ddbf4 of _0x65ff3b['matchAll'](/ +/g)){const _0x4b1198=_0x1ddbf4['index'],_0x39d00e=_0x65ff3b['substring'](_0x166d91,_0x4b1198);_0x39d00e['length']&&(_0x153604+=_0x1c642e(_0x39d00e,_0x166d91,_0x4a9dcd++)),_0x153604+=_0x1ddbf4[0x0],_0x166d91=_0x4b1198+_0x1ddbf4[0x0]['length'];}const _0x588b3f=_0x65ff3b['substring'](_0x166d91);return _0x588b3f['length']&&(_0x153604+=_0x1c642e(_0x588b3f,_0x166d91,_0x4a9dcd)),_0x153604;}(_0x3d84c7,(_0x448e5a,_0x161fb1,_0x1420ae)=>{const _0x12119c=_0x448e5a['toLocaleLowerCase'](_0x13866f);return _0x15348b(_0x12119c,{'charOffset':_0x161fb1,'wordIndex':_0x1420ae,'blockText':_0x3d84c7})?_0x12119c:_0x12119c['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x130992=>_0x130992['toLocaleUpperCase'](_0x13866f));});}(_0x2b5dfd,_0x4296b9,_0x101c6e))};for(const [_0xbf0ffa,_0x4f816e]of Object['entries'](_0x3b7cd3))_0x316d6f['commands']['add'](_0xbf0ffa,_0x4f816e),_0x4f816e['on']('execute',()=>{this['_announceCaseChangeOperation'](_0xbf0ffa);});this['listenTo'](_0x316d6f['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x316d6f['keystrokes']['set']('shift+f3',(_0x45b855,_0x310f22)=>{const _0x4e7f27=_0x508987(this['editor']['locale']),_0xe3ae63=_0x4e7f27[this['_currentCommandIndex']%_0x4e7f27['length']]['commandName'];_0x316d6f['execute'](_0xe3ae63),this['_currentCommandIndex']++,_0x310f22();});}['afterInit'](){!async function(_0x45d92b){const _0x5e3eed=_0x46ee23([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]),_0xccc7e5=0x334129cd,_0x4de326=0x3346a3a5^_0xccc7e5,_0x3c15f6=window[_0x46ee23([0x44,0x61,0x74,0x65])][_0x46ee23([0x6e,0x6f,0x77])](),_0x1f4792=_0x45d92b[_0x46ee23([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x295e60=new window[(_0x46ee23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x570b90=>{_0x1f4792[_0x46ee23([0x6f,0x6e,0x63,0x65])](_0x46ee23([0x72,0x65,0x61,0x64,0x79]),_0x570b90);}),_0x35207a={[_0x46ee23([0x6b,0x74,0x79])]:_0x46ee23([0x45,0x43]),[_0x46ee23([0x75,0x73,0x65])]:_0x46ee23([0x73,0x69,0x67]),[_0x46ee23([0x63,0x72,0x76])]:_0x46ee23([0x50,0x2d,0x32,0x35,0x36]),[_0x46ee23([0x78])]:_0x46ee23([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]),[_0x46ee23([0x79])]:_0x46ee23([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]),[_0x46ee23([0x61,0x6c,0x67])]:_0x46ee23([0x45,0x53,0x32,0x35,0x36])},_0x41efe8=_0x1f4792[_0x46ee23([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46ee23([0x67,0x65,0x74])](_0x46ee23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5c68d9(){let _0x45055b,_0x1aaa2a=null,_0x31ffcd=null;try{if(_0x41efe8==_0x46ee23([0x47,0x50,0x4c]))return _0x46ee23([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x45055b=_0x23adff(),!_0x45055b)return _0x46ee23([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x45055b[_0x46ee23([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x31ffcd=_0x2bce3a(_0x45055b[_0x46ee23([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x45055b[_0x46ee23([0x6a,0x74,0x69])])),await _0x5b8ad1()?_0x44caf2()?_0x262f79()?_0x46ee23([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x39f290()?(_0x45055b[_0x46ee23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46ee23([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1aaa2a=_0x54e9eb(_0x46ee23([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1b763f()):_0x46ee23([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46ee23([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46ee23([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46ee23([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x262f79(){const _0x3d1b0d=[_0x46ee23([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46ee23([0x74,0x72,0x69,0x61,0x6c])][_0x46ee23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45055b[_0x46ee23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3c15f6/0x3e8:0xe10*_0x4de326;return _0x45055b[_0x46ee23([0x65,0x78,0x70])]<_0x3d1b0d;}function _0x44caf2(){const _0x4aef99=_0x45055b[_0x46ee23([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4aef99&&(!!_0x4aef99[_0x46ee23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46ee23([0x2a]))||(!!_0x4aef99[_0x46ee23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46ee23([0x43,0x43]))||!!_0x4aef99[_0x46ee23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46ee23([0x50,0x50]))));}function _0x39f290(){const _0x4e34ef=_0x45055b[_0x46ee23([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4e34ef||0x0==_0x4e34ef[_0x46ee23([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x59fd42}=new URL(window[_0x46ee23([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4e34ef[_0x46ee23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x59fd42))return!0x0;const _0x4dcee6=_0x59fd42[_0x46ee23([0x73,0x70,0x6c,0x69,0x74])](_0x46ee23([0x2e]));return _0x4e34ef[_0x46ee23([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b0aaf=>_0x5b0aaf[_0x46ee23([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46ee23([0x2a])))[_0x46ee23([0x6d,0x61,0x70])](_0x22da3c=>_0x22da3c[_0x46ee23([0x73,0x70,0x6c,0x69,0x74])](_0x46ee23([0x2e])))[_0x46ee23([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a336f=>_0x5a336f[_0x46ee23([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4dcee6[_0x46ee23([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46ee23([0x6d,0x61,0x70])](_0x15a938=>Array(_0x4dcee6[_0x46ee23([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x15a938[_0x46ee23([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46ee23([0x66,0x69,0x6c,0x6c])](_0x15a938[0x0]===_0x46ee23([0x2a])?_0x46ee23([0x2a]):'')[_0x46ee23([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x15a938))[_0x46ee23([0x73,0x6f,0x6d,0x65])](_0x83373f=>_0x4dcee6[_0x46ee23([0x65,0x76,0x65,0x72,0x79])]((_0x46dcf8,_0x589a38)=>_0x83373f[_0x589a38]===_0x46dcf8||_0x83373f[_0x589a38]===_0x46ee23([0x2a])));}function _0x1b763f(){return _0x1aaa2a&&_0x31ffcd?new window[(_0x46ee23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x23c6df,_0x18edb7)=>{_0x1aaa2a[_0x46ee23([0x74,0x68,0x65,0x6e])](_0x23c6df,_0x18edb7),_0x31ffcd[_0x46ee23([0x74,0x68,0x65,0x6e])](_0x3f6429=>{_0x3f6429!=_0x46ee23([0x56,0x61,0x6c,0x69,0x64])&&_0x23c6df(_0x3f6429);},_0x18edb7);}):_0x1aaa2a||_0x31ffcd||_0x46ee23([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2bce3a(_0x193331,_0xca43d){return new window[(_0x46ee23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x519451=>{if(_0x408eea())return _0x519451(_0x46ee23([0x56,0x61,0x6c,0x69,0x64]));_0x3b5868(),_0x1f4792[_0x46ee23([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46ee23([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x445010=!0x1;const _0x3c9a74=_0x22b56d['uid']();function _0xfda2fb(_0x165500){return!!_0x165500&&(typeof _0x165500===_0x46ee23([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x165500===_0x46ee23([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x165500[_0x46ee23([0x74,0x68,0x65,0x6e])]===_0x46ee23([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x165500[_0x46ee23([0x63,0x61,0x74,0x63,0x68])]===_0x46ee23([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x12f020(_0x27387c){_0x24bf5e(_0x27387c)[_0x46ee23([0x74,0x68,0x65,0x6e])](_0x453c71=>{if(!_0x453c71||_0x453c71[_0x46ee23([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46ee23([0x6f,0x6b]))return _0x46ee23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5067f8(_0x514a4d(_0x3c9a74+_0xca43d))!=_0x453c71[_0x46ee23([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46ee23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46ee23([0x56,0x61,0x6c,0x69,0x64]);})[_0x46ee23([0x74,0x68,0x65,0x6e])](_0x1211a0=>(_0x52eee1(),_0x1211a0),()=>{const _0x4bf5ca=_0x4df711();return null==_0x4bf5ca?(_0x52eee1(),_0x46ee23([0x56,0x61,0x6c,0x69,0x64])):_0x46ee23(_0x3c15f6-_0x4bf5ca>(0x174dadcd^_0xccc7e5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46ee23([0x74,0x68,0x65,0x6e])](_0x519451)[_0x46ee23([0x63,0x61,0x74,0x63,0x68])](()=>{_0x519451(_0x46ee23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x25d44b=0x3377c74d^_0xccc7e5;function _0x52eee1(){const _0x5ac966=_0x46ee23([0x6c,0x6c,0x63,0x74,0x2d])+_0x5067f8(_0x514a4d(_0x193331)),_0x1628db=_0x44e56b(_0x5067f8(window[_0x46ee23([0x4d,0x61,0x74,0x68])][_0x46ee23([0x63,0x65,0x69,0x6c])](_0x3c15f6/_0x25d44b)));window[_0x46ee23([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46ee23([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ac966,_0x1628db);}function _0x4df711(){const _0x218d93=_0x46ee23([0x6c,0x6c,0x63,0x74,0x2d])+_0x5067f8(_0x514a4d(_0x193331)),_0x4e6b7b=window[_0x46ee23([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46ee23([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x218d93);return _0x4e6b7b?window[_0x46ee23([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44e56b(_0x4e6b7b),0x10)*_0x25d44b:null;}function _0x24bf5e(_0x2da6bc){return new window[(_0x46ee23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x560b35,_0x284afe)=>{_0x2da6bc[_0x46ee23([0x74,0x68,0x65,0x6e])](_0x560b35,_0x284afe),window[_0x46ee23([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x284afe,0x3340fd0d^_0xccc7e5);});}}_0x1f4792[_0x46ee23([0x6f,0x6e])](_0x46ee23([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x350c6c,_0x3b3e97)=>{if(_0x3b3e97[0x0]!=_0x193331)return _0x519451(_0x46ee23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3b3e97[0x1]={..._0x3b3e97[0x1],[_0x46ee23([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3c9a74};},{[_0x46ee23([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46ee23([0x68,0x69,0x67,0x68])}),_0x1f4792[_0x46ee23([0x6f,0x6e])](_0x46ee23([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x28bd14=>{_0xfda2fb(_0x28bd14[_0x46ee23([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x445010=!0x0,_0x12f020(_0x28bd14[_0x46ee23([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46ee23([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46ee23([0x6c,0x6f,0x77])}),_0x295e60[_0x46ee23([0x74,0x68,0x65,0x6e])](()=>{_0x445010||_0x519451(_0x46ee23([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x408eea(){return _0x1f4792[_0x46ee23([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46ee23([0x76,0x69,0x65,0x77])][_0x46ee23([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46ee23([0x61,0x75,0x74,0x6f]);}function _0x3b5868(){_0x1f4792[_0x46ee23([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46ee23([0x76,0x69,0x65,0x77])][_0x46ee23([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46ee23([0x61,0x75,0x74,0x6f]);}}function _0x54e9eb(_0x166536){const _0x28c6cc=[new window[(_0x46ee23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d9bf2=>setTimeout(_0x1d9bf2,0x33481701^_0xccc7e5)),_0x295e60[_0x46ee23([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46ee23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17202e=>{let _0x1dc758=0x0;_0x1f4792[_0x46ee23([0x6d,0x6f,0x64,0x65,0x6c])][_0x46ee23([0x6f,0x6e])](_0x46ee23([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e4e7e,_0x55cf04)=>{_0x55cf04[0x0][_0x46ee23([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1dc758++,_0x1dc758==(0x33412c25^_0xccc7e5)&&(_0x17202e(),_0x5e4e7e[_0x46ee23([0x6f,0x66,0x66])]());});}))];return window[_0x46ee23([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46ee23([0x72,0x61,0x63,0x65])](_0x28c6cc)[_0x46ee23([0x74,0x68,0x65,0x6e])](()=>_0x166536);}async function _0x2dcb33(){await _0x295e60,_0x1f4792[_0x46ee23([0x6d,0x6f,0x64,0x65,0x6c])][_0x46ee23([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x224744,_0x1f4792[_0x46ee23([0x6d,0x6f,0x64,0x65,0x6c])][_0x46ee23([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x224744,_0x1f4792[_0x46ee23([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46ee23([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e7e2b(_0x3a373d){const _0x59fc08=_0x35336e();_0x1f4792[_0x59fc08]=_0x46ee23([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3a373d,_0x3a373d!=_0x46ee23([0x56,0x61,0x6c,0x69,0x64])&&_0x2dcb33();}function _0x35336e(){const _0x2d8f2d=window[_0x46ee23([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46ee23([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46ee23([0x6e,0x6f,0x77])]())[_0x46ee23([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46ee23([0x2e]),'');let _0x3aa0f1=_0x46ee23([0x45]);for(let _0x38524a=0x0;_0x38524a<_0x2d8f2d[_0x46ee23([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38524a+=0x2){let _0x445f31=window[_0x46ee23([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d8f2d[_0x46ee23([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38524a,_0x38524a+0x2));_0x445f31>=_0x5e3eed[_0x46ee23([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x445f31-=_0x5e3eed[_0x46ee23([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3aa0f1+=_0x5e3eed[_0x445f31];}return _0x3aa0f1;}function _0x23adff(){const _0x19be8f=_0x41efe8[_0x46ee23([0x73,0x70,0x6c,0x69,0x74])](_0x46ee23([0x2e]));if(0x3!=_0x19be8f[_0x46ee23([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd5885e(_0x19be8f[0x1]);function _0xd5885e(_0xf927fb){const _0x3e4db7=_0x13aef4(_0xf927fb);return _0x3e4db7&&_0x12ea23()?_0x3e4db7:null;function _0x12ea23(){const _0x574d28=_0x3e4db7[_0x46ee23([0x6a,0x74,0x69])],_0x559027=window[_0x46ee23([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x574d28[_0x46ee23([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x574d28[_0x46ee23([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x50a3d9={..._0x3e4db7,[_0x46ee23([0x6a,0x74,0x69])]:_0x574d28[_0x46ee23([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x574d28[_0x46ee23([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x50a3d9[_0x46ee23([0x76,0x63])],_0x514a4d(_0x50a3d9)==_0x559027;}}}async function _0x5b8ad1(){let _0x3a6731=!0x0;try{const _0x2171e1=_0x41efe8[_0x46ee23([0x73,0x70,0x6c,0x69,0x74])](_0x46ee23([0x2e])),[_0x3c231c,_0x3b3f24,_0x3dd2fc]=_0x2171e1;return _0x5d18c1(_0x3c231c),await _0x20139e(_0x3c231c,_0x3b3f24,_0x3dd2fc),_0x3a6731;}catch{return!0x1;}function _0x5d18c1(_0x29fbb8){const _0x12bfe0=_0x13aef4(_0x29fbb8);_0x12bfe0&&_0x12bfe0[_0x46ee23([0x61,0x6c,0x67])]==_0x46ee23([0x45,0x53,0x32,0x35,0x36])||(_0x3a6731=!0x1);}async function _0x20139e(_0x41dd14,_0x2794c5,_0x5b25ec){const _0x2ec382=window[_0x46ee23([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46ee23([0x66,0x72,0x6f,0x6d])](_0x777122(_0x5b25ec),_0x4fedeb=>_0x4fedeb[_0x46ee23([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x381925=new window[(_0x46ee23([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46ee23([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x41dd14+_0x46ee23([0x2e])+_0x2794c5),_0x17d0c0=window[_0x46ee23([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46ee23([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x17d0c0)return;const _0x3cdcdc=await _0x17d0c0[_0x46ee23([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46ee23([0x6a,0x77,0x6b]),_0x35207a,{[_0x46ee23([0x6e,0x61,0x6d,0x65])]:_0x46ee23([0x45,0x43,0x44,0x53,0x41]),[_0x46ee23([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46ee23([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46ee23([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x17d0c0[_0x46ee23([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46ee23([0x6e,0x61,0x6d,0x65])]:_0x46ee23([0x45,0x43,0x44,0x53,0x41]),[_0x46ee23([0x68,0x61,0x73,0x68])]:{[_0x46ee23([0x6e,0x61,0x6d,0x65])]:_0x46ee23([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3cdcdc,_0x2ec382,_0x381925)||(_0x3a6731=!0x1);}}function _0x13aef4(_0x4fc0d9){return _0x4fc0d9[_0x46ee23([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46ee23([0x65,0x79]))?JSON[_0x46ee23([0x70,0x61,0x72,0x73,0x65])](_0x777122(_0x4fc0d9)):null;}function _0x777122(_0x741b77){return window[_0x46ee23([0x61,0x74,0x6f,0x62])](_0x741b77[_0x46ee23([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46ee23([0x2b]))[_0x46ee23([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46ee23([0x2f])));}function _0x514a4d(_0x11ebd0){let _0x200f37=0x1505;function _0x2bfbea(_0x11733e){for(let _0x3d8e9c=0x0;_0x3d8e9c<_0x11733e[_0x46ee23([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d8e9c++){const _0x32ac6e=_0x11733e[_0x46ee23([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3d8e9c);_0x200f37=(_0x200f37<<0x5)+_0x200f37+_0x32ac6e,_0x200f37&=_0x200f37;}}function _0xd8137e(_0x43643c){Array[_0x46ee23([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x43643c)?_0x43643c[_0x46ee23([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xd8137e):_0x43643c&&typeof _0x43643c==_0x46ee23([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46ee23([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x43643c)[_0x46ee23([0x73,0x6f,0x72,0x74])]()[_0x46ee23([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4005e4,_0x41532d])=>{_0x2bfbea(_0x4005e4),_0xd8137e(_0x41532d);}):_0x2bfbea(window[_0x46ee23([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x43643c));}return _0xd8137e(_0x11ebd0),_0x200f37>>>0x0;}function _0x5067f8(_0xdd40c5){return _0xdd40c5[_0x46ee23([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46ee23([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46ee23([0x30]));}function _0x44e56b(_0x8a459c){return _0x8a459c[_0x46ee23([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46ee23([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46ee23([0x6a,0x6f,0x69,0x6e])]('');}function _0x224744(){}function _0x46ee23(_0x4bdb8e){return _0x4bdb8e['map'](_0x5c70b4=>String['fromCharCode'](_0x5c70b4))['join']('');}_0x5e7e2b(await _0x5c68d9());}(this);}['_announceCaseChangeOperation'](_0x41faad){const {ui:_0x30a2b1,locale:_0x500ea1}=this['editor'],_0x4e8955=_0x508987(_0x500ea1)['find'](_0x538034=>_0x538034['commandName']===_0x41faad)['label']['toLowerCase']();_0x30a2b1['ariaLiveAnnouncer']['announce'](_0x1ede7b(_0x500ea1,'Changed\x20case\x20to\x20%0',_0x4e8955));}}function _0x508987(_0xa849ed){return[{'label':_0x1ede7b(_0xa849ed,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':_0x1ede7b(_0xa849ed,'lowercase'),'commandName':'changeCaseLower'},{'label':_0x1ede7b(_0xa849ed,'Title\x20Case'),'commandName':'changeCaseTitle'}];}class _0x472f6b extends _0x22b56d['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2262b5=this['editor'];this['_registerComponents'](),_0x2262b5['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':_0x1ede7b(_0x2262b5['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5af3ab=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x22ae8e;for(const _0x3d2369 in _0x5af3ab){const _0x4fd67a=_0x3d2369,_0x2fba99=_0x5af3ab[_0x4fd67a];if('caseChangeLicenseKeyValid'==_0x2fba99||'caseChangeLicenseKeyInvalid'==_0x2fba99||'caseChangeLicenseKeyExpired'==_0x2fba99||'caseChangeLicenseKeyDomainLimit'==_0x2fba99||'caseChangeLicenseKeyNotAllowed'==_0x2fba99||'caseChangeLicenseKeyEvaluationLimit'==_0x2fba99||'caseChangeLicenseKeyUsageLimit'==_0x2fba99){delete _0x5af3ab[_0x4fd67a],_0x22ae8e=_0x2fba99,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0x22ae8e&&_0x5af3ab['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0x22ae8e&&_0x5af3ab['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0x22ae8e&&_0x5af3ab['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0x22ae8e&&_0x5af3ab['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0x22ae8e&&_0x5af3ab['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyUsageLimit'==_0x22ae8e&&_0x5af3ab['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x5a9ee2=this['editor'],{itemDefinitions:_0x3fe354,commands:_0x5f3e7f}=this['_getListItemDefinitionsAndCommands']();_0x5a9ee2['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x3fe354,_0x5f3e7f)),_0x5a9ee2['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x3fe354,_0x5f3e7f));}['_createMenuBarMenuView'](_0x28c67f,_0x47eb65){const _0x1af0e3=this['editor'],_0x5c254c=_0x1af0e3['locale'],_0x5a3f9d=new _0x22b56d['MenuBarMenuView'](_0x5c254c),_0x1d01b7=new _0x22b56d['MenuBarMenuListView'](_0x5c254c);_0x1d01b7['set']({'ariaLabel':_0x1ede7b(_0x5c254c,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x5a3f9d['buttonView']),_0x5a3f9d['bind']('isEnabled')['toMany'](_0x47eb65,'isEnabled',(..._0x32c171)=>_0x32c171['some'](_0x10af9d=>_0x10af9d));for(const _0x59a65a of _0x28c67f){const _0x551f72=new _0x22b56d['MenuBarMenuListItemView'](_0x5c254c,_0x5a3f9d),_0x2a580c=new _0x22b56d['MenuBarMenuListItemButtonView'](_0x5c254c);_0x2a580c['delegate']('execute')['to'](_0x5a3f9d),_0x2a580c['bind'](...Object['keys'](_0x59a65a['model']))['to'](_0x59a65a['model']),_0x2a580c['on']('execute',()=>{_0x1af0e3['execute'](_0x59a65a['model']['commandName']),_0x1af0e3['editing']['view']['focus']();}),_0x551f72['children']['add'](_0x2a580c),_0x1d01b7['items']['add'](_0x551f72);}return _0x5a3f9d['panelView']['children']['add'](_0x1d01b7),_0x5a3f9d;}['_createDropdownView'](_0x567374,_0x415cc6){const _0x1f034a=this['editor'],_0x3a996b=_0x22b56d['createDropdown'](_0x1f034a['locale']);return this['_setButtonProperties'](_0x3a996b['buttonView']),_0x3a996b['buttonView']['set']({'tooltip':!0x0}),_0x3a996b['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),_0x22b56d['addListToDropdown'](_0x3a996b,_0x567374,{'ariaLabel':_0x1ede7b(_0x1f034a['locale'],'Case\x20change'),'role':'menu'}),_0x3a996b['bind']('isEnabled')['toMany'](_0x415cc6,'isEnabled',(..._0x3d3798)=>_0x3d3798['some'](_0x332e11=>_0x332e11)),this['listenTo'](_0x3a996b,'execute',_0x2f8384=>{_0x1f034a['execute'](_0x2f8384['source']['commandName']),_0x1f034a['editing']['view']['focus']();}),_0x3a996b;}['_setButtonProperties'](_0x2bc22b){const _0x531e43=this['editor'];_0x2bc22b['set']({'label':_0x1ede7b(_0x531e43['locale'],'Case\x20change'),'icon':_0x22b56d['IconCaseChange'],'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x21fdbb=new _0x22b56d['Collection'](),_0x199ec8=[];for(const _0x11c04f of _0x508987(this['editor']['locale'])){const _0x15cf43=this['editor']['commands']['get'](_0x11c04f['commandName']),_0x1766ac=new _0x22b56d['UIModel']({'commandName':_0x11c04f['commandName'],'label':_0x11c04f['label'],'role':'menuitemradio','withText':!0x0});_0x1766ac['bind']('isEnabled')['to'](_0x15cf43,'isEnabled'),_0x21fdbb['add']({'type':'button','model':_0x1766ac}),_0x199ec8['push'](_0x15cf43);}return{'itemDefinitions':_0x21fdbb,'commands':_0x199ec8};}}class _0x79fb52 extends _0x22b56d['Plugin']{static get['requires'](){return[CaseChangeEditing,_0x472f6b];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CommentThreadController extends/* #__PURE__ -- @preserve */
_0x22b56d['ObservableMixin'](){['model'];['view'];constructor(_0x3d2e1f,_0x437983){super(),this['model']=_0x3d2e1f,this['model']['_isAttached']=!0x0,this['view']=_0x437983,this['listenTo'](_0x437983,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0x437983,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0x437983,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x437983,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0x437983,'addComment',(_0x4e4cc3,_0x4245fa)=>this['addComment'](_0x4245fa)),this['listenTo'](_0x437983,'updateComment',(_0x10fb8a,_0xb0b2e4,_0x2a64a3)=>this['updateComment'](_0xb0b2e4,_0x2a64a3)),this['listenTo'](_0x437983,'removeComment',(_0x1e696b,_0x407acb)=>this['removeComment'](_0x407acb));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0x1ced0c){this['model']['addComment']({'content':_0x1ced0c,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0x6c6ce7,_0x3a1b2e){this['model']['getComment'](_0x6c6ce7)['update']({'content':_0x3a1b2e});}['removeComment'](_0x2213fe){this['model']['getComment'](_0x2213fe)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}}function _0x4ef045(_0x26a5d7,_0x6634ea,_0x5757be){const t=_0x26a5d7['t'];switch(_0x6634ea){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'},_0x5757be);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'},_0x5757be);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'},_0x5757be);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'},_0x5757be);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0x5757be);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'},_0x5757be);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'},_0x5757be);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'},_0x5757be);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 _0x22b56d['EditorUIView']{['main'];['editable'];constructor(_0x217439,_0xcf6be3){super(_0x217439);const _0x1a58b4=_0x22b56d['uid']();this['main']=this['createCollection'](),this['editable']=new _0x22b56d['InlineEditableUIView'](_0x217439,_0xcf6be3,void 0x0,{'label':()=>_0x4ef045(_0x217439,'Comment\x20editor')}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'dir':_0x217439['uiLanguageDirection'],'lang':_0x217439['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x1a58b4},'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 _0x22b56d['EditorUI']{['view'];constructor(_0x6d1cea){super(_0x6d1cea),this['view']=new CommentEditorUIView(_0x6d1cea['locale'],_0x6d1cea['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0x255726=this['editor']['editing']['view'],_0x1f3158=this['view']['editable'],_0x384d01=_0x255726['document']['getRoot']();_0x1f3158['name']=_0x384d01['rootName'],this['view']['render']();const _0x519b93=_0x1f3158['element'];this['setEditableElement'](_0x1f3158['name'],_0x519b93),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x255726['attachDomRoot'](_0x519b93),this['fire']('ready');}['destroy'](){super['destroy'](),this['view']['destroy']();}}const _0x2a518c=[_0x22b56d['Clipboard'],_0x22b56d['Enter'],_0x22b56d['ShiftEnter'],_0x22b56d['SelectAll'],_0x22b56d['Typing'],_0x22b56d['Undo'],_0x22b56d['Paragraph']];class CommentEditor extends/* #__PURE__ -- @preserve */
_0x22b56d['ObservableMixin'](_0x22b56d['Editor']){static ['defaultPlugins']=/* #__PURE__ -- @preserve */
((()=>_0x2a518c)());constructor(_0x24b7cf={}){function _0x403066(_0x4db967){return _0x4db967['map'](_0x145aa0=>String['fromCharCode'](_0x145aa0))['join']('');}(_0x24b7cf=Object['assign']({},_0x24b7cf))['plugins']||(_0x24b7cf['plugins']=CommentEditor['defaultPlugins']),super(_0x24b7cf),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[_0x403066([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x403066([0x76,0x69,0x65,0x77])][_0x403066([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x403066([0x61,0x75,0x74,0x6f]),this[_0x403066([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x403066([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x403066([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x403066([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x403066([0x6f,0x6b])});}['create'](){const _0x2b4da1=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x2b4da1))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x1c728a=>{const _0xf5171a=this['model']['document']['getRoot'](),_0xddf706=_0xf5171a&&_0xf5171a['getChild'](_0xf5171a['childCount']-0x1);_0x1c728a['setSelection'](_0xddf706,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0x3fbaad=this['editing']['view'],_0x14f463=_0x3fbaad['document']['getRoot'](),_0x1c1b7b=_0x14f463['getChild'](0x0);_0x14f463['childCount']>0x1||!_0x1c1b7b||'p'!=_0x1c1b7b['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&(_0x22b56d['disableViewPlaceholder'](_0x3fbaad,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x1c1b7b['placeholder']=this['placeholder']),_0x22b56d['enableViewPlaceholder']({'view':_0x3fbaad,'element':_0x1c1b7b,'keepOnFocus':!0x0}),this['placeholderElement']=_0x1c1b7b);}}class CommentInputView extends _0x22b56d['View']{['keystrokes'];['focusTracker'];['focusables'];['focusCycler'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0x40c0c3,_0x3ed9fe={}){super(_0x40c0c3),this['editor']=null,this['_editorConfig']=_0x3ed9fe,this['set']('value',_0x3ed9fe['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',_0x4ef045(_0x40c0c3,'Reply...')),this['set']('submitLabel',_0x4ef045(_0x40c0c3,'Reply')),this['submitButtonView']=this['_createSubmitButton'](),this['cancelButtonView']=this['_createCancelButton'](),this['focusables']=this['createCollection']([this['submitButtonView'],this['cancelButtonView']]),this['keystrokes']=new _0x22b56d['KeystrokeHandler'](),this['focusTracker']=new _0x22b56d['FocusTracker'](),this['focusCycler']=new _0x22b56d['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',(_0x23dddc,_0x37c2ec)=>{this['cancelButtonView']['fire']('execute'),_0x37c2ec();}),this['keystrokes']['set']('Ctrl+Enter',(_0x5e069c,_0x251f83)=>{this['submitButtonView']['isEnabled']&&(this['submitButtonView']['fire']('execute'),_0x251f83());}),this['on']('submit',(_0x2219f5,_0x1de701)=>{_0x1de701['length']>0xfde8?(alert(_0x4ef045(_0x40c0c3,'TOO_LONG_COMMENT_ALERT',[_0x1de701['length'],0xfde8])),_0x2219f5['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 _0x48f8fe=this['editor'];this['element']['insertBefore'](_0x48f8fe['ui']['element'],this['element']['firstChild']),_0x48f8fe['model']['document']['on']('change',()=>this['value']=_0x48f8fe['getData']()),_0x48f8fe['bind']('placeholder')['to'](this),this['focusables']['add'](_0x48f8fe['ui']['view'],0x0),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](_0x1623fe){-0x1===_0x1623fe?(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:_0x2dddbe}=this,_0x55812b=new _0x22b56d['ButtonView'](_0x2dddbe);return _0x55812b['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x55812b['withText']=!0x0,_0x55812b['bind']('label')['to'](this,'submitLabel'),_0x55812b['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x55812b['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x5b319b,_0x5a8f7b)=>!_0x5a8f7b&&!!_0x5b319b['trim']()),_0x55812b;}['_createCancelButton'](){const {locale:_0x202b05}=this,_0x5caa83=new _0x22b56d['ButtonView'](_0x202b05);return _0x5caa83['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x5caa83['label']=_0x4ef045(_0x202b05,'Cancel'),_0x5caa83['withText']=!0x0,_0x5caa83['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x5caa83;}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']),this['focusables']['forEach'](_0x19eb03=>{this['focusTracker']['add'](_0x19eb03['element']);}),this['focusables']['on']('change',(_0x49cd36,_0x5639b9)=>{for(const _0x559bc7 of Array['from'](_0x5639b9['added'])['reverse']())this['focusTracker']['add'](_0x559bc7['element']);});}}class CommentThreadInputView extends _0x22b56d['View']{constructor(_0xf84c41,_0x2be010,_0x3c855){super(_0xf84c41),this['commentInputView']=new CommentInputView(_0xf84c41,_0x3c855),this['focusCycler']=this['commentInputView']['focusCycler'],this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x376db0,_0x1e7246)=>_0x376db0||!!_0x1e7246),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 _0x1ab201(_0xf84c41,_0x2be010),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'](_0x487c3a){this['commentInputView']['focus'](_0x487c3a);}['_focusOnNonInteractiveMouseDown'](){this['listenTo'](this['element'],'mousedown',(_0x5ec652,_0x5b9606)=>{const {submitButtonView:_0x2e1840,cancelButtonView:_0xe77d68,editor:_0x861499}=this['commentInputView'];[_0x2e1840['element'],_0xe77d68['element'],_0x861499?_0x861499['editing']['view']['getDomRoot']():null]['filter'](_0x47a869=>_0x47a869)['some'](_0x5ba703=>_0x5ba703['contains'](_0x5b9606['target']))||(this['focus'](),_0x5b9606['preventDefault']());});}}class CollapsedCommentsView extends _0x22b56d['View']{constructor(_0x35fea9){super(_0x35fea9);const _0x1605b4=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x1605b4['to']('count',_0x2c4af6=>_0x4ef045(_0x35fea9,'NUMBER_OF_COMMENTS',_0x2c4af6))}]});}}class CommentsListView extends _0x22b56d['View']{['commentViews'];['resolvedCommentView'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0x43e36e,_0xe504bb,_0x3ef1e1){super(_0x43e36e);const _0x837d97=this['bindTemplate'];this['set']('hasDirtyComment',!0x1),this['set']('length',_0xe504bb['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0xe504bb,this['_config']=_0x3ef1e1,this['commentViews']=this['createCollection'](),this['visibleViews']=this['createCollection'](),this['resolvedCommentView']=null,this['focusTracker']=new _0x22b56d['FocusTracker'](),this['keystrokes']=new _0x22b56d['KeystrokeHandler'](),this['focusCycler']=new _0x22b56d['FocusCycler']({'focusables':this['commentViews'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x3c6b9f=>this['commentViews']['map'](_0x4a79a8=>_0x4a79a8['element'])['includes'](_0x3c6b9f['target'])},'actions':{'focusPrevious':'arrowup','focusNext':'arrowdown'}}),this['_collapsedCommentsView']=new CollapsedCommentsView(_0x43e36e),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x7234d9=>_0x7234d9-this['_config']['maxCommentsWhenCollapsed']);for(const _0xb87d9 of _0xe504bb['comments'])this['_handleNewCommentModel'](_0xb87d9);this['_handleInfoComment'](),this['listenTo'](_0xe504bb['comments'],'add',(_0x3f2298,_0x15b2cf)=>{const _0x45c811=this['_calculatePosition'](_0x15b2cf);this['length']++,this['_handleNewCommentModel'](_0x15b2cf,_0x45c811),this['refreshVisibleViews']();}),this['listenTo'](_0xe504bb['comments'],'remove',(_0xa4dda7,_0x430d6d)=>{this['length']--,this['_handleRemoveCommentModel'](_0x430d6d),this['refreshVisibleViews']();}),this['listenTo'](_0xe504bb,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0xe504bb,'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',_0x837d97['if']('length','ck-hidden',_0x219fc2=>!_0x219fc2)],'aria-label':_0x4ef045(_0x43e36e,'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'](_0x3eba3f){-0x1===_0x3eba3f?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0x399d9a of this['commentViews'])_0x399d9a['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0x3a60d3,_0x236660){const _0x28b06b=new this['_config']['CommentView'](this['locale'],_0x3a60d3,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x28b06b['viewUid']=_0x3a60d3['id'],_0x28b06b['delegate']('removeComment')['to'](this),_0x28b06b['delegate']('updateComment')['to'](this),_0x28b06b['delegate']('resolveCommentThread')['to'](this),_0x28b06b['delegate']('editorReady')['to'](this),_0x28b06b['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x28b06b,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x28b06b,_0x236660);}['_calculatePosition'](_0x48651d){const _0xd9a508=this['_model']['_findOptimalIndex'](_0x48651d);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0x48651d['authoredAt']?_0xd9a508-0x1:_0xd9a508:_0xd9a508-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0x269ae5={'id':'resolved','author':this['_model']['resolvedBy'],'authoredAt':this['_model']['resolvedAt'],'content':_0x4ef045(this['locale'],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this['_config']['CommentView'](this['locale'],_0x269ae5,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x269ae5));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x3fc1fd){const _0x5745d6=this['commentViews']['remove'](_0x3fc1fd['id']);this['stopListening'](_0x5745d6),_0x5745d6['isEditMode']&&this['_updateHasDirtyComment'](),_0x5745d6['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x4d9230=>_0x4d9230['isEditMode']);}['_rearrangeCollapse'](){const _0x5f4606=function(_0x5560a7){const _0x1752b4=new _0x22b56d['Collection']();for(const _0x71e5a8 of _0x5560a7)_0x1752b4['add'](_0x71e5a8);return _0x1752b4;}(this['commentViews']),_0x21dea1=this['_collapsedCommentsView']['count'];for(let _0x23b0c5=0x1;_0x23b0c5<=_0x21dea1;_0x23b0c5++)_0x5f4606['remove'](0x1);for(const _0x420043 of _0x5f4606)_0x420043['collapse']();_0x21dea1>0x0&&_0x5f4606['add'](this['_collapsedCommentsView'],0x1),_0x36ae1e(_0x22b56d['diff'](Array['from'](this['visibleViews']),Array['from'](_0x5f4606)),this['visibleViews'],_0x5f4606);}['_rearrangeExpand'](){_0x36ae1e(_0x22b56d['diff'](Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0x2369c3 of this['visibleViews'])_0x2369c3['expand']();}['_setupKeyboardNavigation'](){this['commentViews']['forEach'](_0xfe2258=>{this['focusTracker']['add'](_0xfe2258['element']),this['keystrokes']['listenTo'](_0xfe2258['element']);}),this['commentViews']['on']('change',(_0x35f5d1,_0x47805f)=>{for(const _0x1d8fd8 of _0x47805f['removed'])this['focusTracker']['remove'](_0x1d8fd8['element']),this['keystrokes']['stopListening'](_0x1d8fd8['element']);for(const _0x2b1bbb of Array['from'](_0x47805f['added'])['reverse']())this['focusTracker']['add'](_0x2b1bbb['element']),this['keystrokes']['listenTo'](_0x2b1bbb['element']);});}}function _0x36ae1e(_0x266ac5,_0x74615,_0x11a9b5){let _0x24c336=0x0;for(const _0x56c1b6 of _0x266ac5)switch(_0x56c1b6){case'insert':_0x74615['add'](_0x11a9b5['get'](_0x24c336),_0x24c336),_0x24c336++;break;case'delete':_0x74615['remove'](_0x24c336);break;case'equal':_0x24c336++;}}class CommentThreadHeaderContextView extends _0x22b56d['View']{constructor(_0x99973a){super(_0x99973a);const _0x43f7ac=this['bindTemplate'];this['set']('contextValue',''),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-context__value'],'aria-label':_0x43f7ac['to']('contextValue',_0x3361d9=>_0x4ef045(_0x99973a,'THREAD_CONTEXT_LABEL',_0x3361d9)),'tabindex':-0x1},'children':[{'text':_0x43f7ac['to']('contextValue')}]});}['focus'](){this['element']['focus']();}}class CommentThreadHeaderView extends _0x22b56d['View']{['_model'];['reopenButtonView'];['contextView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0xf4ffd5,_0x217079){super(_0xf4ffd5);const _0x3f311d=this['bindTemplate'];this['_model']=_0x217079,this['reopenButtonView']=this['_createReopenButton'](),this['contextView']=this['_createContextView'](),this['focusables']=this['createCollection']([this['contextView'],this['reopenButtonView']]),this['focusTracker']=new _0x22b56d['FocusTracker'](),this['keystrokes']=new _0x22b56d['KeystrokeHandler'](),this['focusCycler']=new _0x22b56d['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['bind']('hasContext')['to'](this['_model'],'context',_0x3269fd=>!!_0x3269fd),this['bind']('contextValue')['to'](this['_model'],'context',_0x30ebab=>_0x30ebab&&_0x30ebab['value']?this['_trimContextValue'](_0x30ebab['value']):_0x4ef045(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',_0x3f311d['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 _0x119124=new _0x22b56d['ButtonView'](this['locale']);return _0x119124['label']=_0x4ef045(this['locale'],'Reopen'),_0x119124['tooltip']=_0x4ef045(this['locale'],'Reopen'),_0x119124['icon']=_0x22b56d['IconUndo'],_0x119124['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x39fcfd=>!_0x39fcfd),_0x119124['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x15e4c7,_0x27f565)=>_0x15e4c7&&_0x27f565),_0x119124['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x119124;}['_trimContextValue'](_0x5b5c52){if(_0x5b5c52['length']<0x96)return _0x5b5c52;const _0x746891=_0x5b5c52['lastIndexOf']('\x20',0x93);return _0x5b5c52['substring'](0x0,_0x746891>-0x1?_0x746891:0x93)+'...';}['_attachContextActions'](){const _0x3af304=this['element']['querySelector']('.ck-context'),_0x2a9c75=_0x3af304['querySelector']('.ck-context__value');this['listenTo'](_0x3af304,'mouseenter',()=>{_0x2a9c75['offsetWidth']<_0x2a9c75['scrollWidth']&&_0x3af304['classList']['add']('overlay');}),this['listenTo'](_0x3af304,'mouseleave',()=>{_0x3af304['classList']['remove']('overlay');});}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']);for(const _0x3cbd23 of this['focusables'])this['focusTracker']['add'](_0x3cbd23['element']),this['keystrokes']['listenTo'](_0x3cbd23['element']);}['_createContextView'](){const _0x5788b4=new CommentThreadHeaderContextView(this['locale']);return _0x5788b4['bind']('contextValue')['to'](this),_0x5788b4;}}class BaseCommentThreadView extends _0x22b56d['View']{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x53c586,_0x366eda,_0x23c2ea,_0x4b8852){super(_0x53c586),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x366eda,this['_localUser']=_0x23c2ea,this['_config']=_0x4b8852,this['commentThreadHeaderView']=new CommentThreadHeaderView(_0x53c586,_0x366eda),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['ariaDescriptionView']=new AriaDescriptionView(_0x53c586,_0x4ef045(_0x53c586,'COMMENT_THREAD_DESCRIPTION')),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new CommentsListView(_0x53c586,_0x366eda,Object['assign']({'CommentView':this['_config']['CommentView']},_0x4b8852)),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',(_0x59a3fe,_0x34b88d)=>_0x59a3fe||!!_0x34b88d),this['bind']('isUnlinked')['to'](_0x366eda,'unlinkedAt',_0x454497=>!!_0x454497),this['bind']('ariaLabel')['to'](this,'length',_0x24e3f8=>{const _0x4363e2=this['_model']['comments']['first']?this['_model']['comments']['first']['author']['name']:this['_localUser']['name'];return _0x4ef045(this['locale'],'COMMENT_THREAD_LABEL',[_0x24e3f8,_0x4363e2]);}),this['focusables']=this['createCollection']([this['commentsListView'],this['commentThreadInputView']]),this['focusTracker']=new _0x22b56d['FocusTracker'](),this['keystrokes']=new _0x22b56d['KeystrokeHandler'](),this['focusCycler']=new _0x22b56d['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x41e7ca=>_0x41e7ca['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}});}['focus'](){this['element']['focus']();}['render'](){super['render'](),_0xecfe39(this,this['focusables']);}async['destroy'](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),await this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentThreadInputView'](){const _0x2c3164=new CommentThreadInputView(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x12b97e=_0x2c3164['commentInputView'];return _0x2c3164['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x12b97e,'value',(_0x29cfa2,_0x1d16fd,_0x459290,_0x3f58c0,_0x3c086f)=>!!_0x3c086f||!!_0x3f58c0&&_0x459290&&!_0x1d16fd||_0x29cfa2&&_0x459290&&!_0x1d16fd),_0x12b97e['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0x23a902,_0x4b1868,_0x8dbb8b)=>{let _0x2af2e3;return _0x2af2e3=_0x8dbb8b&&_0x4b1868?'Reply\x20to\x20reopen\x20discussion...':_0x23a902?'Reply...':'Write\x20a\x20comment...',_0x4ef045(this['locale'],_0x2af2e3);}),_0x12b97e['bind']('submitLabel')['to'](this,'length',_0x184a52=>_0x4ef045(this['locale'],_0x184a52?'Reply':'Comment')),_0x12b97e['on']('submit',(_0x11bb57,_0x11c8d8)=>{this['fire']('addComment',_0x11c8d8),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x12b97e['on']('cancel',()=>{this['focus']();}),_0x12b97e['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x12b97e['on']('cancel',_0x53be6a=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x53be6a['stop']());}),this['on']('change:isActive',(_0x25f71c,_0x32d6cc,_0x3d3561)=>{_0x3d3561||this['length']||_0x12b97e['value']||this['fire']('removeCommentThread');}),_0x2c3164;}}class CommentThreadView extends/* #__PURE__ -- @preserve */
_0x2ef563(BaseCommentThreadView){['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(_0x327d6d,_0x19a21f,_0x188925,_0x16819f){super(_0x327d6d,_0x19a21f,_0x188925,_0x16819f),this['commentThreadChildren']=this['createCollection']([this['commentsListView'],this['commentThreadInputView'],this['ariaDescriptionView']]),this['set']('actionIndicator',null),this['containerElement']=null,this['_boundFirstCommentView']=null,this['locale']=_0x327d6d,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x1babcd,_0x200a6b,_0x3fd604)=>{_0x3fd604||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x433c90,_0x5a4aba,_0x1cde3f)=>{_0x1cde3f&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0x4b820b=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck','ck-thread','ck-reset_all-excluded','ck-rounded-corners',_0x4b820b['if']('isActive','ck-thread--active'),_0x4b820b['if']('isUnlinked','ck-thread--unlinked'),_0x4b820b['to']('actionIndicator',_0x1c08db=>_0x1c08db?'ck-thread--'+_0x1c08db:'')],'data-thread-id':this['_model']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0x4b820b['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 _0x5d28f7 of this['commentsListView']['commentViews'])_0x5d28f7['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x4357f5}=this,_0x1b1b55=this['commentsListView']['commentViews']['get'](0x0);_0x1b1b55===this['_boundFirstCommentView']||_0x1b1b55['isSystemComment']||(this['_boundFirstCommentView']=_0x1b1b55,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x1b1b55,'actionIndicator',_0x5281fd=>'remove'===_0x5281fd?'remove':null),_0x1b1b55['placeholder']=_0x4ef045(_0x4357f5,'Write\x20a\x20comment...'),_0x1b1b55['removeButton']['on']('execute',_0x4c27da=>{_0x4c27da['stop'](),this['showConfirm'](_0x4ef045(_0x4357f5,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),this['on']('removeConfirm',()=>{_0x1b1b55['focus']();}),_0x1b1b55['actionBar']['add'](this['resolveButton'],0x0),_0x1b1b55['focusables']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0x3b4af1=new LateFocusButtonView(this['locale']);return _0x3b4af1['label']=_0x4ef045(this['locale'],'Resolve'),_0x3b4af1['tooltip']=_0x4ef045(this['locale'],'Resolve'),_0x3b4af1['icon']=_0x22b56d['IconCheck'],_0x3b4af1['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x3b4af1['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x1b7c0a=>!_0x1b7c0a),_0x3b4af1['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x4decf0,_0x26fe09)=>_0x4decf0&&!_0x26fe09),_0x3b4af1['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0x3b4af1;}['_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 _0x22b56d['View']{constructor(_0x1482b5){super(_0x1482b5),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x560217,_0x4a837f,_0x32b805)=>{this['element']['innerHTML']=_0x32b805;}),this['element']['innerHTML']=this['content'];}}class BaseCommentView extends _0x22b56d['View']{['visibleView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x385bea,_0x12d890,_0x49926f){super(_0x385bea),this['_model']=_0x12d890,this['_config']=_0x49926f,this['isSystemComment']=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this['bind']('ariaLabel')['to'](_0x12d890,'content',_0x12d890,'authoredAt',(_0x2a7adc,_0x32dde7)=>_0x4ef045(_0x385bea,'COMMENT_ARIA_LABEL',[_0x12d890['author']['name'],_0x49926f['formatDateTime'](_0x32dde7),new DOMParser()['parseFromString'](_0x2a7adc,'text/html')['body']['textContent'],_0x12d890['isExternal']?this['getExternalCommentNote']():''])),this['ariaDescriptionView']=new AriaDescriptionView(_0x385bea,_0x4ef045(_0x385bea,'COMMENT_THREAD_DESCRIPTION')),this['visibleView']=this['createCollection'](),this['visibleView']['add'](this['_createCommentContentView']()),this['focusables']=new _0x22b56d['ViewCollection'](),this['focusTracker']=new _0x22b56d['FocusTracker'](),this['keystrokes']=new _0x22b56d['KeystrokeHandler'](),this['focusCycler']=new _0x22b56d['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x2c6fe0=>_0x2c6fe0['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']?_0x4ef045(this['locale'],'EXTERNAL_IMPORT_WORD_COMMENT'):_0x4ef045(this['locale'],'EXTERNAL_COMMENT');}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?_0x4ef045(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):_0x4ef045(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['_createCommentContentView'](){const _0x4aff4b=new CommentContentView(this['locale']);return _0x4aff4b['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x41df6f,_0x258e90)=>_0x258e90?_0x3be235(_0x41df6f,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x41df6f),_0x4aff4b;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x11b585=new CommentInputView(this['locale'],this['_config']['editorConfig']);return _0x11b585['value']=this['_model']['content'],_0x11b585['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x11b585['submitLabel']=_0x4ef045(this['locale'],'Save'),_0x11b585['on']('submit',(_0x57b588,_0xe1864f)=>{this['fire']('updateComment',this['_model']['id'],_0xe1864f),this['switchToDisplayMode'](),this['focus']();}),_0x11b585['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x11b585['once']('editorReady',()=>{_0x11b585['focus']();}),_0x11b585['createEditor'](),_0x11b585['delegate']('editorReady')['to'](this),_0x11b585['delegate']('editorDestroyed')['to'](this),_0x11b585;}['_setupKeyboardNavigation'](){const _0x7b155c=this['element'];this['keystrokes']['listenTo'](_0x7b155c);for(const _0x31481e of this['focusables'])this['focusTracker']['add'](_0x31481e['element']),this['keystrokes']['listenTo'](_0x31481e['element']);this['focusables']['on']('change',(_0x36a001,_0xc7ac1)=>{for(const _0x41d3af of _0xc7ac1['removed'])this['focusTracker']['remove'](_0x41d3af['element']),this['keystrokes']['stopListening'](_0x41d3af['element']);for(const _0x884082 of _0xc7ac1['added'])this['focusTracker']['add'](_0x884082['element']),this['keystrokes']['listenTo'](_0x884082['element']);}),this['keystrokes']['set']('enter',(_0x3ce032,_0x30b9cb)=>{_0x7b155c===_0x3ce032['target']&&(this['focusCycler']['focusFirst'](),_0x30b9cb());}),this['keystrokes']['set']('esc',(_0x34e90a,_0x11ee3f)=>{_0x7b155c!==_0x34e90a['target']&&(this['focus'](),_0x11ee3f());});}}class CommentView extends/* #__PURE__ -- @preserve */
_0x2ef563(BaseCommentView){['actionBar'];['userView'];constructor(_0x287f71,_0x253a25,_0x225194){super(_0x287f71,_0x253a25,_0x225194),this['set']('actionIndicator',null),this['set']('placeholder',_0x4ef045(_0x287f71,'Reply...')),this['bind']('authoredAt')['to'](_0x253a25),this['bind']('resolvedAt')['to'](_0x253a25),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 _0x1ab201(_0x287f71,_0x253a25['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['listenTo'](_0x253a25,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x575602=this['bindTemplate'],_0x2bef86=[{'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':_0x575602['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x575602['to']('authoredAt',_0x27a06d=>this['_config']['formatDateTime'](_0x27a06d))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x575602['if']('isEditMode','ck-comment__actions--hidden'),_0x575602['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']&&_0x2bef86['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper'],'tabindex':-0x1,'aria-label':_0x575602['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id'],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x575602['if']('isEditMode','ck-comment--edit'),_0x575602['if']('isSystemComment','ck-comment--info'),_0x575602['to']('actionIndicator',_0x1fbcdd=>_0x1fbcdd?'ck-comment--'+_0x1fbcdd:'')],'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':_0x2bef86}]}]};}['_createEditButton'](){const _0x3ef4c5=new _0x22b56d['ButtonView'](this['locale']);return _0x3ef4c5['label']=_0x4ef045(this['locale'],'Edit'),_0x3ef4c5['icon']=_0x22b56d['IconPencil'],_0x3ef4c5['withText']=!0x0,_0x3ef4c5['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x3ef4c5['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x190f63=>!_0x190f63),_0x3ef4c5['bind']('isVisible')['to'](this['_model'],'isEditable'),_0x3ef4c5['on']('execute',()=>this['switchToEditMode']()),_0x3ef4c5;}['_createRemoveButton'](){const _0x14ad0e=new _0x22b56d['ButtonView'](this['locale']);return _0x14ad0e['label']=_0x4ef045(this['locale'],'Remove'),_0x14ad0e['icon']=_0x22b56d['IconRemoveComment'],_0x14ad0e['withText']=!0x0,_0x14ad0e['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x14ad0e['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x26b6f2=>!_0x26b6f2),_0x14ad0e['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x14ad0e['on']('execute',()=>{this['showConfirm'](_0x4ef045(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x14ad0e;}['_createDropdown'](){const _0x2ab24a=_0x22b56d['createDropdown'](this['locale'],LateFocusDropdownButtonView),_0x3200d8=_0x2ab24a['panelView']['children'],_0x4cbcd6=new _0x22b56d['ListView'](this['locale']),_0xfebd89=_0x2ab24a['bindTemplate'];_0x22b56d['focusChildOnDropdownOpen'](_0x2ab24a,()=>this['items']['find'](_0x594929=>_0x594929['isVisible'])),_0x2ab24a['extendTemplate']({'attributes':{'class':[_0xfebd89['if']('isVisible','ck-hidden',_0x24354f=>!_0x24354f)]}});const _0x3e0d22=(_0x4b4825,_0x1122fb=-0x1)=>{const _0x57aee5=new _0x22b56d['ListItemView'](this['locale']);_0x57aee5['children']['add'](_0x4b4825);const _0xd6e5b9=_0x1122fb>-0x1?_0x1122fb:_0x4cbcd6['items']['length'];_0x4cbcd6['items']['add'](_0x57aee5,_0xd6e5b9);const _0x5cbeb0=Array['from'](this['items']);_0x2ab24a['unbind']('isEnabled','isVisible'),_0x2ab24a['bind']('isEnabled')['toMany'](_0x5cbeb0,'isEnabled',(..._0x12bd81)=>_0x12bd81['some'](_0x24b379=>_0x24b379)),_0x2ab24a['bind']('isVisible')['toMany'](_0x5cbeb0,'isVisible',(..._0x12f7e7)=>_0x12f7e7['some'](_0x54bea7=>_0x54bea7));};_0x2ab24a['panelPosition']='sw',_0x2ab24a['buttonView']['set']({'label':_0x4ef045(this['locale'],'Show\x20more\x20items'),'icon':_0x22b56d['IconThreeVerticalDots']});for(const _0x76c63a of this['items'])_0x3e0d22(_0x76c63a);return _0x3200d8['add'](_0x4cbcd6),_0x2ab24a['listenTo'](this['items'],'add',(_0x4e273a,_0xc9b4bf,_0xaf070c)=>{_0x3e0d22(_0xc9b4bf,_0xaf070c);}),_0x2ab24a['listenTo'](this['items'],'remove',(_0xc19a2b,_0x3ba186,_0x503544)=>{_0x4cbcd6['items']['remove'](_0x503544);}),_0x2ab24a;}['_attachActions'](_0x104f5d,_0x37e90c){const _0x75dd30=_0x104f5d&&_0x104f5d['element'];_0x75dd30&&(this['listenTo'](_0x75dd30,'mouseenter',()=>this['actionIndicator']=_0x37e90c),this['listenTo'](_0x75dd30,'focus',()=>this['actionIndicator']=_0x37e90c),this['listenTo'](_0x75dd30,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x75dd30,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x2e0b75=super['_createCommentInputView']();return _0x2e0b75['bind']('placeholder')['to'](this),_0x2e0b75;}['render'](){super['render'](),this['_attachActions'](this['editButton'],'edit'),this['_attachActions'](this['removeButton'],'remove');}}function _0x480bab(_0x130549){const _0x2c1eec=ot(_0x130549,0x1e),_0x192006=new MutationObserver(_0x55e52a=>{for(const _0x1eb6ac of _0x55e52a)('attributes'==_0x1eb6ac['type']&&'class'==_0x1eb6ac['attributeName']||'childList'==_0x1eb6ac['type']||'characterData'==_0x1eb6ac['type'])&&_0x2c1eec();});return{'attach'(_0x460d10){_0x192006['observe'](_0x460d10,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x192006['disconnect'](),_0x2c1eec['cancel']();}};}class AnnotationView extends _0x22b56d['View']{['focusTracker'];['id'];['keystrokes'];['content'];['mainView'];['_mutationObserver'];constructor(_0x2c02d2,_0x2235cb){super(_0x2c02d2),this['id']=_0x22b56d['uid'](),this['focusTracker']=new _0x22b56d['FocusTracker'](),this['keystrokes']=new _0x22b56d['KeystrokeHandler'](),this['keystrokes']['set']('Esc',(_0x4f9d98,_0xe46cc2)=>this['fire']('Esc',_0xe46cc2)),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']=_0x480bab(()=>this['_updateHeight']()),this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this),this['content']['add'](_0x2235cb),this['mainView']=_0x2235cb;const _0x3a68eb=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x3a68eb['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 _0x51e4e2=this['element']['clientHeight'];_0x51e4e2&&(this['height']=_0x51e4e2);}}let _0x3f7e9a=class Annotation extends/* #__PURE__ -- @preserve */
_0x22b56d['ObservableMixin'](){['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0xbf2519,target:_0x221d28,type:_0x5a0213,isVisible:_0x748fc=!0x0}){super(),this['view']=_0xbf2519,this['view']['element']||this['view']['render'](),this['_type']=_0x5a0213,this['_target']=_0x221d28,Annotation['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new _0x22b56d['Collection']([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x5923f6,_0x5c9e2b)=>{this['view']['focusTracker']['add'](_0x5c9e2b);}),this['focusableElements']['on']('remove',(_0x4e8309,_0x3d9486)=>{this['view']['focusTracker']['remove'](_0x3d9486);}),this['set']('isVisible',_0x748fc);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0x2c0e1c=this['_getNormalizedTarget']();return Annotation['_assertCorrectTarget'](_0x2c0e1c),_0x2c0e1c;}get['targetRect'](){const _0x49796b=this['target'];if(null===_0x49796b)return null;if(_0x49796b instanceof _0x22b56d['Rect'])return _0x49796b;const _0x5ba2c4=_0x49796b['filter'](_0x8992e4=>function(_0x3f3ddc){const _0x4f67a6=_0x3f3ddc['offsetParent'];if(_0x4f67a6)return!0x0;const _0x4cb9d7=_0x3f3ddc['getClientRects']()['item'](0x0);return!!_0x4cb9d7;}(_0x8992e4));return 0x0===_0x5ba2c4['length']?null:new _0x22b56d['Rect'](_0x5ba2c4[0x0]['getClientRects']()['item'](0x0));}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0x2868d0){this['view']['isActive']=_0x2868d0,this['view']['mainView']['isActive']=_0x2868d0;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0xd78f5){if(!(null===_0xd78f5||_0xd78f5 instanceof _0x22b56d['Rect']||Array['isArray'](_0xd78f5)&&_0xd78f5['every'](_0x284d63=>_0x145367(_0x284d63))))throw new _0x22b56d['CKEditorError']('annotation-invalid-target',null,{'target':_0xd78f5});}['_getNormalizedTarget'](){const _0x1c64ea='function'==typeof this['_target']?this['_target']():this['_target'];return _0x145367(_0x1c64ea)?[_0x1c64ea]:_0x1c64ea;}};function _0x145367(_0x4508ae){return null!==_0x4508ae&&'object'==typeof _0x4508ae&&'nodeType'in _0x4508ae&&0x1===_0x4508ae['nodeType'];}class AnnotationCollection extends _0x22b56d['Collection']{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0x30ca41=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new _0x22b56d['FocusTracker'](),this['_focusTracker']['on']('change:isFocused',(_0x15f4e4,_0x29fe3a,_0x1ec461)=>{_0x1ec461||this['fire']('blur');});for(const _0x381c3e of _0x30ca41)this['add'](_0x381c3e);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x41551a){if(this['has'](_0x41551a))throw new _0x22b56d['CKEditorError']('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x41551a['innerView'],_0x41551a),this['_viewToAnnotation']['set'](_0x41551a['view'],_0x41551a);for(const _0xc90ba4 of _0x41551a['focusableElements'])this['_focusTracker']['add'](_0xc90ba4);this['listenTo'](_0x41551a['focusableElements'],'add',(_0x100331,_0x5638f9)=>{this['_focusTracker']['add'](_0x5638f9);}),this['listenTo'](_0x41551a['focusableElements'],'remove',(_0x234b06,_0x906b2e)=>{this['_focusTracker']['remove'](_0x906b2e);}),this['listenTo'](_0x41551a['view']['focusTracker'],'change:isFocused',(_0x22275f,_0x371382,_0x4ab495)=>{_0x4ab495&&this['fire']('focus',_0x41551a);}),_0x41551a['updateTargetRect']();const _0x6db65b=this['_getOrderInContent'](_0x41551a['view']['targetRect']);return super['add'](_0x41551a,_0x6db65b);}['remove'](_0x516a8e){if(!this['has'](_0x516a8e))throw new _0x22b56d['CKEditorError']('annotationcollection-not-existing-item',null);this['stopListening'](_0x516a8e['view']['focusTracker']),this['stopListening'](_0x516a8e['focusableElements']);for(const _0x44d67d of _0x516a8e['focusableElements'])this['_focusTracker']['remove'](_0x44d67d);return this['_viewToAnnotation']['delete'](_0x516a8e['view']),this['_innerViewToAnnotation']['delete'](_0x516a8e['innerView']),super['remove'](_0x516a8e);}['getByInnerView'](_0x269aa6){return this['_innerViewToAnnotation']['get'](_0x269aa6);}['getByView'](_0xbe8beb){return this['_viewToAnnotation']['get'](_0xbe8beb);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x3db3ee of this)_0x3db3ee['updateTargetRect']();this['_sort']();}['_sort'](){const _0x4923bb=Array['from'](this)['sort']((_0x5f2476,_0x37c845)=>_0x343dcb(_0x5f2476['view']['targetRect'],_0x37c845['view']['targetRect']));for(let _0x400140=_0x4923bb['length']-0x1;_0x400140>0x0;_0x400140--){const _0x3088aa=_0x4923bb[_0x400140];_0x400140!==this['getIndex'](_0x3088aa)&&(this['remove'](_0x3088aa),this['add'](_0x3088aa));}}['_getOrderInContent'](_0x14ca20){let _0x496f81=0x0;if(!_0x14ca20)return this['length'];for(const _0x2253da of this){const _0x59a06b=_0x2253da['view']['targetRect'];if(_0x59a06b){if(_0x343dcb(_0x14ca20,_0x59a06b)<0x0)return _0x496f81;_0x496f81++;}}return _0x496f81;}}function _0xcb841e({source:_0x40c24e,target:_0x4ea077,filter:_0x3786ce}){for(const _0x110fc9 of _0x40c24e)_0x3786ce(_0x110fc9)&&_0x4ea077['add'](_0x110fc9);_0x4ea077['listenTo'](_0x40c24e,'add',(_0x1910e4,_0x5f44c1)=>{_0x3786ce(_0x5f44c1)&&_0x4ea077['add'](_0x5f44c1);}),_0x4ea077['listenTo'](_0x40c24e,'remove',(_0x56bdc4,_0x5b173a)=>{_0x4ea077['has'](_0x5b173a)&&_0x4ea077['remove'](_0x5b173a);});}function _0x343dcb(_0x16b63a,_0x376ee9){if(null===_0x16b63a&&null===_0x376ee9)return 0x0;if(null===_0x16b63a)return-0x1;if(null===_0x376ee9)return 0x1;const _0x1f2cab=_0x16b63a['top']-_0x376ee9['top'];return 0x0==_0x1f2cab?_0x16b63a['left']-_0x376ee9['left']:_0x1f2cab;}class Annotations extends _0x22b56d['ContextPlugin']{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2b9eb8){if(super(_0x2b9eb8),this['collection']=new AnnotationCollection(),this['_visibleAnnotations']=new AnnotationCollection(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations'](),_0x2b9eb8 instanceof _0x22b56d['Editor']){const _0x29dce7=_0x2b9eb8['locale'];_0x2b9eb8['accessibility']['addKeystrokeInfoGroup']({'id':'annotations','label':_0x4ef045(_0x29dce7,'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'),'keystrokes':[{'label':_0x4ef045(_0x29dce7,'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'),'keystroke':'Ctrl+Shift+E'},{'label':_0x4ef045(_0x29dce7,'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'),'keystroke':'Esc'},{'label':_0x4ef045(_0x29dce7,'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'),'keystroke':'Enter'},{'label':_0x4ef045(_0x29dce7,'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'),'keystroke':[['Tab'],['Shift+Tab']]},{'label':_0x4ef045(_0x29dce7,'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'),'keystroke':['Ctrl+Enter']},{'label':_0x4ef045(_0x29dce7,'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'),'keystroke':[['Arrowup'],['Arrowdown']]}]});}this['_setupEnterAnnotationKeystroke'](),this['_setupEscapeAnnotationHandling']();}['add'](_0x426df8){this['collection']['add'](_0x426df8);}['remove'](_0x17809c){this['collection']['remove'](_0x17809c),_0x17809c['destroy']();}['refreshVisibility'](){for(const _0x3d3e07 of this['collection'])_0x3d3e07['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x2e4a86){return this['collection']['getByInnerView'](_0x2e4a86);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0x191947 of this['collection'])_0x191947['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0x48289a){this['fire']('_activateAnnotation',_0x48289a);}['createAnnotation'](_0x5caf10){return new _0x3f7e9a(_0x5caf10);}['createAnnotationView'](_0x393b7e,_0x11fa09){return new AnnotationView(_0x393b7e,_0x11fa09);}['_addActiveAnnotation'](_0x184f9e){const _0x25d35e=new Set(this['activeAnnotations']);_0x25d35e['add'](_0x184f9e),this['activeAnnotations']=_0x25d35e;}['_removeActiveAnnotation'](_0x2510c9){const _0x1b1acc=new Set(this['activeAnnotations']);_0x1b1acc['delete'](_0x2510c9),this['activeAnnotations']=_0x1b1acc;}['_bindAnnotationsToVisibleAnnotations'](){const _0x4c2afb=this['collection'],_0x30a05e=this['_visibleAnnotations'];function _0x557ebb(_0x2426fe){const _0x5dc611=_0x2426fe['source'];_0x5dc611['isVisible']&&!_0x30a05e['has'](_0x5dc611)?_0x30a05e['add'](_0x5dc611):!_0x5dc611['isVisible']&&_0x30a05e['has'](_0x5dc611)&&_0x30a05e['remove'](_0x5dc611),_0x5dc611['view']['focusTracker']['remove'](_0x5dc611['view']['element']),_0x5dc611['view']['focusTracker']['add'](_0x5dc611['view']['element']);}this['listenTo'](_0x4c2afb,'add',(_0x5041ea,_0x252433)=>{_0x252433['isVisible']&&_0x30a05e['add'](_0x252433),this['listenTo'](_0x252433,'change:isVisible',_0x557ebb);}),this['listenTo'](_0x4c2afb,'remove',(_0x3aa34f,_0x46b2b3)=>{_0x30a05e['has'](_0x46b2b3)&&_0x30a05e['remove'](_0x46b2b3),this['stopListening'](_0x46b2b3,'change:isVisible',_0x557ebb);});}['_setupEnterAnnotationKeystroke'](){const _0x226d37=_0x11142f=>{_0x11142f['on']('ready',()=>{_0x11142f['keystrokes']['set'](_0x463f07,(_0x46e9ff,_0x12fcfc)=>{const _0xbbc574=_0x22b56d['first'](this['activeAnnotations']['values']());_0xbbc574&&(_0xbbc574['view']['focus'](),_0x12fcfc());});});};this['context']instanceof _0x22b56d['Editor']?_0x226d37(this['context']):this['context']['editors']&&this['context']['editors']['on']('add',(_0x4d4748,_0x2e9659)=>{_0x226d37(_0x2e9659);});}['_setupEscapeAnnotationHandling'](){const _0x35a630=_0x3650e5=>{const _0x2eacc8=_0x3650e5['source'],_0x624df5=[];let _0x5899cf;if(Array['isArray'](_0x2eacc8['target'])){_0x5899cf=_0x2eacc8['target'][0x0],this['context']instanceof _0x22b56d['Editor']?_0x624df5['push'](this['context']):this['context']['editors']&&_0x624df5['push'](...this['context']['editors']);for(const _0x4d1667 of _0x624df5)for(const _0x11f9ed of _0x4d1667['editing']['view']['domRoots']['values']())if(_0x11f9ed['contains'](_0x5899cf))return void _0x4d1667['editing']['view']['focus']();_0x5899cf['focus']();}};this['listenTo'](this['collection'],'add',(_0x505864,_0x291236)=>{this['listenTo'](_0x291236,'escape',_0x35a630,{'priority':'low'});}),this['listenTo'](this['collection'],'remove',(_0x568a52,_0xdc894d)=>{this['stopListening'](_0xdc894d,'escape',_0x35a630);});}}const tl=Symbol('noChannel'),_0x37b966={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};class CommentsRepository extends _0x22b56d['ContextPlugin']{['_threads'];['_threadToController'];['_viewToController'];static get['requires'](){return[Annotations,_0x22b56d['PendingActions'],_0x433f5f];}static get['pluginName'](){return'CommentsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4608b4){super(_0x4608b4),this['_threads']=new Map(),this['_threadToController']=new Map(),this['_viewToController']=new Map(),this['set']('_readOnlyChannels',new Set()),this['set']('_permissions',new Map());const _0x3abcbb=this['context']['config'];_0x3abcbb['define']('comments.maxCommentsWhenCollapsed',0x2),_0x3abcbb['define']('comments.maxThreadTotalWeight',0x1f4),_0x3abcbb['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x3abcbb['define']('comments.CommentThreadView',CommentThreadView),_0x3abcbb['define']('comments.CommentView',CommentView),_0x3abcbb['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x471683=this['context']['plugins']['get'](Annotations);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x58ec95,_0x274a5e)=>this['_addCommentThread'](_0x274a5e)),this['on']('submitCommentThread',(_0x22a3e8,_0x13373d)=>this['_submitCommentThread'](_0x13373d)),this['on']('resolveCommentThread',(_0x2cb2d1,_0x5876dd)=>this['_resolveCommentThread'](_0x5876dd)),this['on']('resolveCommentThread',(_0x31046d,_0x520d9c)=>this['_updateActiveAnnotation'](_0x520d9c),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x138ef6,_0x5c84a5)=>this['_reopenCommentThread'](_0x5c84a5)),this['on']('reopenCommentThread',(_0x4fbb9d,_0x258611)=>this['_updateActiveAnnotation'](_0x258611),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x41a73f,_0x2bd86a)=>this['_removeCommentThread'](_0x2bd86a)),this['on']('updateCommentThread',(_0x4e5950,_0x1f06fb)=>this['_updateCommentThread'](_0x1f06fb)),this['on']('updateCommentThread',(_0x1466eb,_0x4205e8)=>this['_updateActiveAnnotation'](_0x4205e8),{'priority':'lowest'}),this['on']('addComment',(_0x9a7d61,_0x33b92b)=>this['_addComment'](_0x33b92b)),this['on']('updateComment',(_0x73e3dc,_0x49b3a6)=>this['_updateComment'](_0x49b3a6)),this['on']('removeComment',(_0x412573,_0x2f2c8e)=>this['_removeComment'](_0x2f2c8e)),this['on']('addComment',(_0x3c6849,{threadId:_0x3b4d24,isFromAdapter:_0x2eb1c6})=>{if(_0x2eb1c6)return;const _0x30b207=this['getCommentThread'](_0x3b4d24),_0x2dc13a=_0x30b207&&this['_threadToController']['get'](_0x30b207);_0x2dc13a&&_0x2dc13a['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['listenTo'](_0x471683,'change:activeAnnotations',(_0x164a47,_0x506865,_0x942b85)=>{const _0x323ccc=Array['from'](_0x942b85)['map'](_0x5b6c7c=>this['_viewToController']['get'](_0x5b6c7c['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x323ccc?_0x323ccc['model']:null;});}set['adapter'](_0x225e5e){if(this['_adapter'])throw new _0x22b56d['CKEditorError']('commentsrepository-adapter-already-set');this['_adapter']=_0x225e5e;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x4cd452=tl,threadId:_0x10310f=_0x22b56d['uid'](),comments:_0x3c5f03=[],unlinkedAt:_0x42a21c=null,resolvedAt:_0xd6a181=null,resolvedBy:_0x115b7a=null,target:_0x31b692=null,context:_0x30c669=null,attributes:_0x332d29={},isResolvable:_0x34bf04=!0x0,isSubmitted:_0x132a26=!0x1,isFromAdapter:_0x5c2bd3=!0x1}={}){return this['fire'](_0x10e81b('addCommentThread',_0x4cd452),{'channelId':_0x4cd452,'threadId':_0x10310f,'comments':_0x3c5f03,'unlinkedAt':_0x42a21c,'resolvedAt':_0xd6a181,'resolvedBy':_0x115b7a,'target':_0x31b692,'context':_0x30c669,'attributes':_0x332d29,'isFromAdapter':_0x5c2bd3,'isResolvable':_0x34bf04,'isSubmitted':_0x132a26}),this['getCommentThread'](_0x10310f);}['openNewCommentThread']({channelId:_0x27d076=tl,threadId:_0x140ffe=_0x22b56d['uid'](),target:_0x24131f,context:_0x1104d6=null,isResolvable:_0x3d9103=!0x0}){if(this['_readOnlyChannels']['has'](_0x27d076)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0x24131f)throw new _0x22b56d['CKEditorError']('commentsrepository-missing-target');const _0x2a237e=this['addCommentThread']({'channelId':_0x27d076,'threadId':_0x140ffe,'target':_0x24131f,'context':_0x1104d6,'isResolvable':_0x3d9103});if(!_0x2a237e)return null;const _0x3ff3f6=this['_threadToController']['get'](_0x2a237e),_0x550597=_0x3ff3f6['view']['commentThreadInputView']['commentInputView'],_0x4e0f1f=this['context']['plugins']['get'](Annotations),_0x4d4fe0=_0x4e0f1f['getByInnerView'](_0x3ff3f6['view']);return _0x4e0f1f['activate'](_0x4d4fe0),_0x550597['once']('editorReady',()=>_0x550597['focus']()),_0x2a237e;}['hasCommentThread'](_0x3f85bf){if('string'!=typeof _0x3f85bf)throw new _0x22b56d['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x3f85bf);}['updateCommentThread']({channelId:_0x4434ba=tl,threadId:_0x4e9b99,context:_0x5e23ef,unlinkedAt:_0x1f3ea7,attributes:_0x6ccc8d,isFromAdapter:_0x2365aa=!0x1}){return this['fire'](_0x10e81b('updateCommentThread',_0x4434ba),{'channelId':_0x4434ba,'threadId':_0x4e9b99,'context':_0x5e23ef,'unlinkedAt':_0x1f3ea7,'attributes':_0x6ccc8d,'isFromAdapter':_0x2365aa}),this['getCommentThread'](_0x4e9b99);}['getCommentThread'](_0x56c5af){if('string'!=typeof _0x56c5af)throw new _0x22b56d['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x56c5af);}['fetchCommentThread']({channelId:_0x2cabaf,threadId:_0x40d2d0}={}){const _0x2741c0=this['getCommentThread'](_0x40d2d0);if(_0x2741c0)return Promise['resolve'](_0x2741c0);if(!this['adapter'])return Promise['resolve'](void 0x0);if('function'!=typeof this['adapter']['getCommentThread'])throw new _0x22b56d['CKEditorError']('commentsrepository-missing-thread-and-adapter-method',this['context']);return this['adapter']['getCommentThread']({'channelId':_0x2cabaf,'threadId':_0x40d2d0})['then'](_0x3b35ad=>this['hasCommentThread'](_0x40d2d0)?this['getCommentThread'](_0x40d2d0):_0x3b35ad?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x2cabaf},_0x3b35ad)):void 0x0)['catch'](_0x3a1f80=>{throw console['error'](_0x3a1f80),new _0x22b56d['CKEditorError']('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0x2ceb68,skipNotAttached:_0x29531c=!0x1,skipEmpty:_0x1a93f5=!0x1,toJSON:_0x37e51f=!0x1}={}){const _0x215207=[];for(const _0x400edb of this['_threads']['values']())_0x2ceb68&&_0x400edb['channelId']!==_0x2ceb68||_0x29531c&&!_0x400edb['isAttached']||_0x1a93f5&&0x0===_0x400edb['length']||_0x215207['push'](_0x400edb);return _0x37e51f?_0x215207['map'](_0x2b593e=>_0x2b593e['toJSON']()):_0x215207;}['getAnnotationForCommentThread'](_0x4cff06){const _0x597e21=this['_threadToController']['get'](_0x4cff06);if(!_0x597e21)return null;return this['context']['plugins']['get'](Annotations)['getByInnerView'](_0x597e21['view'])||null;}['getCommentThreadForAnnotation'](_0x267a2f){const _0x247ce1=this['_viewToController']['get'](_0x267a2f['innerView']);return _0x247ce1?_0x247ce1['model']:null;}['setActiveCommentThread'](_0x5182b9){const _0x7905ec=this['context']['plugins']['get'](Annotations);if(!_0x5182b9)return void(this['activeCommentThread']&&_0x7905ec['deactivateAll']());const _0x2fc989=this['getCommentThread'](_0x5182b9);if(!_0x2fc989)throw new _0x22b56d['CKEditorError']('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x5182b9});if(!this['_threadToController']['has'](_0x2fc989))throw new _0x22b56d['CKEditorError']('commentsrepository-active-not-attached',null,{'threadId':_0x5182b9});const _0x1a98e8=_0x7905ec['getByInnerView'](this['_threadToController']['get'](_0x2fc989)['view']);_0x7905ec['activate'](_0x1a98e8);}['switchReadOnly'](_0x4cde1d,_0x2bb2f5){_0x4cde1d?this['_readOnlyChannels']['add'](_0x2bb2f5):this['_readOnlyChannels']['delete'](_0x2bb2f5),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x31f138){return this['_readOnlyChannels']['has'](_0x31f138)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0x503972,_0x4fe420){return new CommentThreadController(_0x503972,_0x4fe420);}['setPermissions'](_0x2eda50,_0x3dc4b4=tl){this['_permissions']['set'](_0x3dc4b4,_0x2eda50),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0x5cc65f=tl){return this['_permissions']['has'](_0x5cc65f)?this['_permissions']['get'](_0x5cc65f):_0x37b966;}['_addCommentThread']({channelId:_0x2e0012,threadId:_0x42c045,comments:_0x5ddfe1,unlinkedAt:_0x56213b,resolvedAt:_0x4ee360,resolvedBy:_0x1217f5,target:_0x4c927e,context:_0x1f95e6,attributes:_0x3516f6,isFromAdapter:_0x11928a,isResolvable:_0x5d37e3,isSubmitted:_0x290afc}){if('string'!=typeof _0x42c045)throw new _0x22b56d['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x42c045});if(this['hasCommentThread'](_0x42c045))throw new _0x22b56d['CKEditorError']('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x42c045});const _0x161332=new CommentThread(this,{'channelId':_0x2e0012,'id':_0x42c045,'context':_0x1f95e6,'attributes':_0x3516f6,'unlinkedAt':_0x56213b,'resolvedAt':_0x4ee360,'resolvedBy':_0x1217f5?this['context']['plugins']['get'](_0x433f5f)['getUser'](_0x1217f5):null,'isResolvable':_0x5d37e3,'isSubmitted':_0x290afc||_0x11928a});this['_threads']['set'](_0x42c045,_0x161332);for(const _0x2eed48 of _0x5ddfe1)_0x161332['_add'](this['_createNewComment']({'threadId':_0x42c045,..._0x2eed48}));return _0x4c927e&&_0x161332['attachTo'](_0x4c927e),_0x11928a||!_0x161332['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x2e0012,'threadId':_0x42c045});}['_submitCommentThread']({channelId:_0x4d1253,threadId:_0x57afdd}){if(!this['hasCommentThread'](_0x57afdd))throw new _0x22b56d['CKEditorError']('commentsrepository-missing-comment-thread',this);const _0x557421=this['getCommentThread'](_0x57afdd);if(_0x557421['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x3bda99,comments:_0x36b7af,resolvedAt:_0x79d159,resolvedBy:_0x3ed498,context:_0x142a35,attributes:_0x3c532b}=_0x557421,_0x5aab1c=this['context']['plugins']['get']('PendingActions'),_0x210533=_0x5aab1c['add'](_0x4ef045(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0x4d1253,'threadId':_0x3bda99,'comments':_0x36b7af['map'](_0x28db1c=>_0x28db1c['toJSON']()),'resolvedAt':_0x79d159,'resolvedBy':_0x3ed498?_0x3ed498['id']:_0x3ed498,'context':_0x142a35,'attributes':_0x3c532b})['then'](({comments:_0x3ff882})=>{_0x5aab1c['remove'](_0x210533);for(const _0x5e3aab of _0x3ff882)this['_updateComment']({'channelId':_0x4d1253,'threadId':_0x57afdd,'commentId':_0x5e3aab['commentId'],'createdAt':_0x5e3aab['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x526f93=>{throw console['error'](_0x526f93),new _0x22b56d['CKEditorError']('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x1b52a4,target:_0x22f56d}){const _0x46418b=this['getCommentThread'](_0x1b52a4);if(!_0x46418b)throw new _0x22b56d['CKEditorError']('commentsrepository-attach-missing-comment-thread',this);const _0x54644e=this['context']['plugins']['get']('PendingActions'),_0xad7287=this['context']['plugins']['get'](Annotations),_0x265ffa=this['_createCommentThreadView'](_0x46418b),_0x1057a4=new CommentThreadController(_0x46418b,_0x265ffa);let _0x23a27b=null;_0x265ffa['on']('change:isDirty',(_0x1ab0ee,_0x4b56a9,_0x10dc2a)=>{_0x10dc2a?_0x23a27b=_0x54644e['add'](_0x4ef045(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x23a27b&&(_0x54644e['remove'](_0x23a27b),_0x23a27b=null);}),this['_threadToController']['set'](_0x46418b,_0x1057a4),this['_viewToController']['set'](_0x265ffa,_0x1057a4);const _0x5c8041=new AnnotationView(this['context']['locale'],_0x265ffa);_0x5c8041['bind']('length')['to'](_0x265ffa),_0x5c8041['bind']('isDirty')['to'](_0x265ffa,'isDirty',_0x265ffa,'length',(_0x56efa7,_0x122f6c)=>_0x56efa7||!_0x122f6c),_0x5c8041['bind']('isActive')['to'](_0x265ffa),_0x5c8041['type']='comment';const _0x5ac3a0=new _0x3f7e9a({'view':_0x5c8041,'target':_0x22f56d,'type':'comment','isVisible':!_0x46418b['archivedAt']&&!!('function'==typeof _0x22f56d?_0x22f56d():_0x22f56d)});return _0x265ffa['on']('escape',()=>{_0x5ac3a0['fire']('escape');}),this['_bindAnnotationToEditors'](_0x265ffa,_0x5ac3a0),_0xad7287['add'](_0x5ac3a0),_0x5ac3a0;}['_bindAnnotationToEditors'](_0x3ca40f,_0x458fff){this['listenTo'](_0x3ca40f,'editorReady',(_0x32b580,_0x372a1a)=>{const _0x5780b1=_0x372a1a['ui']['view']['body']['bodyCollectionContainer'];_0x458fff['focusableElements']['add'](_0x5780b1),this['context']instanceof _0x22b56d['Editor']&&this['context']['ui']['focusTracker']['add'](_0x5780b1);},{'priority':'highest'}),this['listenTo'](_0x3ca40f,'editorDestroyed',(_0x287275,_0x2f03d5)=>{const _0x50a1a3=_0x2f03d5['ui']['view']['body']['bodyCollectionContainer'];_0x458fff['focusableElements']['has'](_0x50a1a3)&&_0x458fff['focusableElements']['remove'](_0x50a1a3),this['context']instanceof _0x22b56d['Editor']&&this['context']['ui']['focusTracker']['remove'](_0x50a1a3);});}['_unbindEditors'](_0x1400d3){this['stopListening'](_0x1400d3,'editorReady'),this['stopListening'](_0x1400d3,'editorDestroyed');}['_createCommentThreadView'](_0x35562f){const _0x1f8f7c=this['context']['plugins']['get'](_0x433f5f),{config:_0x1a2463,locale:_0x425ff2}=this['context'],_0x5f3810=_0x4341fd(_0x1a2463['get']('locale'),_0x425ff2);return new(0x0,(_0x1a2463['get']('comments'))['CommentThreadView'])(_0x425ff2,_0x35562f,_0x1f8f7c['me'],{'editorConfig':{..._0x1a2463['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x1a2463['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x1a2463['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x1a2463['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x1a2463['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x5f3810,'CommentView':_0x1a2463['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0x1f36b2,channelId:_0x3ae266,resolvedAt:_0x1310b1,resolvedBy:_0x37733c,isFromAdapter:_0x3eb7a7}){if(!this['hasCommentThread'](_0x1f36b2))throw new _0x22b56d['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x1f36b2});const _0x386a51=this['getCommentThread'](_0x1f36b2);if(_0x386a51['isResolved'])throw new _0x22b56d['CKEditorError']('commentsrepository-resolved-comment-thread',null,{'threadId':_0x1f36b2});const _0x143ec8=this['context']['plugins']['get'](_0x433f5f);if(_0x386a51['resolvedBy']=_0x143ec8['getUser'](_0x37733c),_0x386a51['resolvedAt']=_0x1310b1,_0x3eb7a7||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0x3c965b=this['context']['plugins']['get']('PendingActions'),_0x594a68=_0x3c965b['add'](_0x4ef045(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x3ae266,'threadId':_0x1f36b2})['then'](({resolvedAt:_0x29be8,resolvedBy:_0xdfcbde})=>{_0x3c965b['remove'](_0x594a68),_0x386a51['resolvedBy']['id']!==_0xdfcbde&&(_0x386a51['resolvedBy']=_0x143ec8['getUser'](_0xdfcbde)),_0x386a51['resolvedAt']=_0x29be8;})['catch'](_0x3a2b6d=>{throw console['error'](_0x3a2b6d),new _0x22b56d['CKEditorError']('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0x3a619c,channelId:_0x657f57,isFromAdapter:_0x28c196}){if(!this['hasCommentThread'](_0x3a619c))throw new _0x22b56d['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x3a619c});const _0x36b9a0=this['getCommentThread'](_0x3a619c);if(!_0x36b9a0['isResolved'])throw new _0x22b56d['CKEditorError']('commentsrepository-reopen-comment-thread',null,{'threadId':_0x3a619c});if(_0x36b9a0['resolvedBy']=null,_0x36b9a0['resolvedAt']=null,_0x28c196||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x45520c=this['context']['plugins']['get']('PendingActions'),_0x501b00=_0x45520c['add'](_0x4ef045(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0x657f57,'threadId':_0x3a619c})['then'](()=>_0x45520c['remove'](_0x501b00))['catch'](_0xbdad19=>{throw console['error'](_0xbdad19),new _0x22b56d['CKEditorError']('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0x3cea1f,isFromAdapter:_0x527b4c}){const _0x29d091=this['getCommentThread'](_0x3cea1f);if(!_0x29d091)throw new _0x22b56d['CKEditorError']('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0x3cea1f),this['_threads']['delete'](_0x3cea1f),!_0x29d091['isSubmitted']||_0x527b4c||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x2274c4=this['context']['plugins']['get']('PendingActions'),{channelId:_0x1d6b72}=_0x29d091,_0x265bb8=_0x2274c4['add'](_0x4ef045(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x1d6b72,'threadId':_0x3cea1f})['then'](()=>_0x2274c4['remove'](_0x265bb8))['catch'](_0x72f747=>{throw console['error'](_0x72f747),new _0x22b56d['CKEditorError']('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0x2c09b5,unlinkedAt:_0x558a84,context:_0x4ac166,attributes:_0x16d738,isFromAdapter:_0x5edf1f}){if('string'!=typeof _0x2c09b5)throw new _0x22b56d['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x2c09b5});if(!this['hasCommentThread'](_0x2c09b5))throw new _0x22b56d['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x2c09b5});const _0x162908=this['getCommentThread'](_0x2c09b5);let _0x4b995b=!0x1;if(void 0x0!==_0x4ac166&&_0x162908['context']!==_0x4ac166&&(_0x162908['context']=_0x4ac166,_0x4b995b=!0x0),void 0x0!==_0x558a84&&_0x162908['unlinkedAt']!==_0x558a84&&(_0x162908['unlinkedAt']=_0x558a84,_0x4b995b=!0x0),_0x16d738&&!dt(_0x16d738,_0x162908['attributes'])&&(_0x162908['attributes']=_0x16d738,_0x4b995b=!0x0),!_0x4b995b)return Promise['resolve']();if(!_0x162908['isSubmitted']||_0x5edf1f||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x5c25bd=this['context']['plugins']['get']('PendingActions'),{channelId:_0x2dad8d}=_0x162908,_0x204cd6=_0x5c25bd['add'](_0x4ef045(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x2dad8d,'threadId':_0x2c09b5,'context':_0x4ac166,'unlinkedAt':_0x558a84,'attributes':_0x16d738})['then'](()=>_0x5c25bd['remove'](_0x204cd6))['catch'](_0x4ceb81=>{throw console['error'](_0x4ceb81),new _0x22b56d['CKEditorError']('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x26c4a8){const _0x5e7284=this['context']['plugins']['get'](Annotations),_0x34b05c=this['getCommentThread'](_0x26c4a8);if(_0x34b05c['_isAttached']=!0x1,this['_threadToController']['has'](_0x34b05c)){const _0x1681f7=this['_threadToController']['get'](_0x34b05c),_0x35ffd2=_0x1681f7['view'],_0x194046=_0x5e7284['getByInnerView'](_0x35ffd2);this['_threadToController']['delete'](_0x34b05c),this['_viewToController']['delete'](_0x35ffd2),_0x194046&&_0x5e7284['remove'](_0x194046),_0x1681f7['destroy'](),_0x35ffd2['destroy']()['then'](()=>{this['_unbindEditors'](_0x35ffd2);});}}['_updateActiveAnnotation']({threadId:_0x4a6f9c,resolvedAt:_0x467c35,unlinkedAt:_0x484d00}){const _0x261abf=!!_0x467c35,_0x2bac99=this['context']['plugins']['get'](Annotations),_0x51a60c=this['getCommentThread'](_0x4a6f9c);if(this['_threadToController']['has'](_0x51a60c)){const _0x128b60=this['_threadToController']['get'](_0x51a60c)['view'],_0x3af6ef=_0x2bac99['getByInnerView'](_0x128b60);_0x3af6ef&&(_0x261abf&&_0x2bac99['_removeActiveAnnotation'](_0x3af6ef),_0x484d00?_0x3af6ef['isVisible']=!0x1:_0x3af6ef['refreshVisibility']());}}['_getExternalAuthor'](_0x3a24bd){const _0x3e3ab5=this['context']['plugins']['get'](_0x433f5f),_0x52ee8f=_0x43a34a('external:'+_0x3a24bd),_0xf62ec3=_0x3e3ab5['getUser'](_0x52ee8f);return _0xf62ec3||_0x3e3ab5['addUser']({'id':_0x52ee8f,'name':_0x3a24bd});}['_createNewComment']({threadId:_0x40e859,commentId:_0x250b86=_0x22b56d['uid'](),content:_0x20a74d,authorId:_0x37fbfe,createdAt:_0x381b67,attributes:_0x43c1d4}){if('string'!=typeof _0x250b86)throw new _0x22b56d['CKEditorError']('commentsrepository-invalid-commentid');if('string'!=typeof _0x37fbfe)throw new _0x22b56d['CKEditorError']('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x20a74d||!_0x20a74d['trim']())throw new _0x22b56d['CKEditorError']('commentsrepository-invalid-comment-content');const _0x2bf844=this['context']['plugins']['get'](_0x433f5f)['getUser'](_0x37fbfe);if(!_0x2bf844)throw new _0x22b56d['CKEditorError']('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x37fbfe});let _0x3e7d34=null,_0x47d254=_0x381b67;return _0x43c1d4?.['@external']&&(_0x3e7d34=this['_getExternalAuthor'](_0x43c1d4['@external']['authorName']),_0x47d254=new Date(_0x43c1d4['@external']['createdAt'])),new Comment(this,{'threadId':_0x40e859,'id':_0x250b86,'author':_0x3e7d34||_0x2bf844,'creator':_0x2bf844,'content':_0x20a74d,'createdAt':_0x381b67,'authoredAt':_0x47d254,'attributes':_0x43c1d4});}['_addComment'](_0x5ef682){let {threadId:_0x38e9b3,content:_0x41c733,attributes:_0x55808d,isFromAdapter:_0x142cb5}=_0x5ef682;const _0x31b2be=this['getCommentThread'](_0x5ef682['threadId']);if(!_0x31b2be)throw new _0x22b56d['CKEditorError']('commentsrepository-add-comment-to-missing-comment-thread',this);const _0x219f34=this['_createNewComment'](_0x5ef682),{id:_0x4cfa90}=_0x219f34;if(_0x31b2be['_add'](_0x219f34),_0x142cb5||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x31b2be['isSubmitted'])return Promise['resolve']();const _0x315e7a=this['context']['plugins']['get']('PendingActions'),{channelId:_0x3765e5}=_0x31b2be,_0x1d7457=_0x315e7a['add'](_0x4ef045(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x55808d||(_0x55808d={}),this['adapter']['addComment']({'channelId':_0x3765e5,'threadId':_0x38e9b3,'commentId':_0x4cfa90,'content':_0x41c733,'attributes':_0x55808d})['then'](_0x46d2d7=>{_0x315e7a['remove'](_0x1d7457),_0x46d2d7&&this['_updateComment']({'channelId':_0x3765e5,'threadId':_0x38e9b3,'commentId':_0x4cfa90,'createdAt':_0x46d2d7['createdAt'],'isFromAdapter':!0x0});})['catch'](_0xc82a22=>{throw console['error'](_0xc82a22),new _0x22b56d['CKEditorError']('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0x4636d7,commentId:_0x543565,content:_0x142504,createdAt:_0x4c81e3,attributes:_0x421ef7,isFromAdapter:_0x59a3b5}){if(void 0x0!==_0x142504&&('string'!=typeof _0x142504||!_0x142504['trim']()['length']))throw new _0x22b56d['CKEditorError']('commentsrepository-update-comment-invalid-content');const _0x5ae997=this['getCommentThread'](_0x4636d7),_0x5f3d0=_0x5ae997['getComment'](_0x543565);if(!_0x5f3d0)throw new _0x22b56d['CKEditorError']('commentsrepository-update-missing-comment',this);let _0x1d8a1d=!0x1;if(_0x142504&&_0x142504!==_0x5f3d0['content']&&(_0x5f3d0['isEditable']||_0x59a3b5)&&(_0x5f3d0['content']=_0x142504,_0x1d8a1d=!0x0),_0x4c81e3&&_0x4c81e3!==_0x5f3d0['createdAt']&&(_0x5f3d0['createdAt']=_0x4c81e3,_0x5f3d0['attributes']&&_0x5f3d0['attributes']['@external']||(_0x5f3d0['authoredAt']=_0x4c81e3),_0x1d8a1d=!0x0),_0x421ef7&&!dt(_0x421ef7,_0x5f3d0['attributes'])&&(_0x5f3d0['attributes']=_0x421ef7,_0x1d8a1d=!0x0),!_0x1d8a1d)return Promise['resolve']();if(_0x5ae997['fire']('commentUpdated'),_0x59a3b5||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x557a6d=this['context']['plugins']['get']('PendingActions'),{channelId:_0x580d46}=this['getCommentThread'](_0x5f3d0['threadId']),_0x25c5be=_0x557a6d['add'](_0x4ef045(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0x580d46,'threadId':_0x4636d7,'commentId':_0x543565,'content':_0x142504,'attributes':_0x421ef7})['then'](()=>_0x557a6d['remove'](_0x25c5be))['catch'](_0x4953fb=>{throw console['error'](_0x4953fb),new _0x22b56d['CKEditorError']('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0x32e7e1,commentId:_0x13d349,isFromAdapter:_0x4b5325}){const _0x1b6ca3=this['getCommentThread'](_0x32e7e1),_0xe0c4a7=_0x1b6ca3['getComment'](_0x13d349);if(!_0xe0c4a7)throw new _0x22b56d['CKEditorError']('commentsrepository-remove-missing-comment',this);if(_0x1b6ca3['_remove'](_0xe0c4a7),_0x4b5325||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x3388c5=this['context']['plugins']['get']('PendingActions'),{channelId:_0x5e6ea4}=_0x1b6ca3,_0x191aa1=_0x3388c5['add'](_0x4ef045(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x5e6ea4,'threadId':_0x32e7e1,'commentId':_0x13d349})['then'](()=>_0x3388c5['remove'](_0x191aa1))['catch'](_0x31b0b1=>{throw console['error'](_0x31b0b1),new _0x22b56d['CKEditorError']('commentsrepository-remove-comment-internal-error',this);});}}class CommentThread extends/* #__PURE__ -- @preserve */
_0x22b56d['ObservableMixin'](){['channelId'];['id'];['_isAttached'];['_isSubmitted'];['comments'];['_repository'];constructor(_0x3b1be8,_0x323164){super();const _0x460b83=_0x323164['isResolvable'];this['channelId']=_0x323164['channelId'],this['id']=_0x323164['id'],this['comments']=new _0x22b56d['Collection'](),this['_repository']=_0x3b1be8,this['_isAttached']=!0x1,this['_isSubmitted']=_0x323164['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x3b1be8,'_permissions',_0x3b1be8,'_readOnlyChannels',()=>_0x3b1be8['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x3b1be8,'_permissions',()=>_0x3b1be8['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x3b1be8,'_permissions',()=>{const _0x15eea2=_0x3b1be8['getPermissions'](this['channelId']);return _0x15eea2['write']||_0x15eea2['admin'];}),this['bind']('isResolvable')['to'](_0x3b1be8,'_permissions',()=>_0x460b83&&_0x3b1be8['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0x323164['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0x42d879,_0x108d98)=>_0x42d879?_0x108d98?_0x42d879<_0x108d98?_0x42d879:_0x108d98:_0x42d879:_0x108d98),this['set']('unlinkedAt',_0x323164['unlinkedAt']||null),this['set']('resolvedAt',_0x323164['resolvedAt']||null),this['set']('resolvedBy',_0x323164['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x399bf2=>!!_0x399bf2),this['set']('attributes',_0x323164['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0x2036e6,_0x1521ba)=>_0x2036e6+_0x1521ba['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0x393b60,id:_0x323110}=this;this['_repository']['fire'](_0x10e81b('submitCommentThread',_0x393b60),{'channelId':_0x393b60,'threadId':_0x323110});}['setUnlinkedAt'](_0x2a46ef){this['_update']({'unlinkedAt':_0x2a46ef});}['resolve']({resolvedAt:_0x504827=new Date(),resolvedBy:_0x57ec3c='',isFromAdapter:_0x46f8df=!0x1}={}){const _0x328335=this['_repository']['context']['plugins']['get'](_0x433f5f)['me'],{channelId:_0x409fea,id:_0x16874a}=this;this['_repository']['fire'](_0x10e81b('resolveCommentThread',_0x409fea),{'channelId':_0x409fea,'threadId':_0x16874a,'resolvedAt':_0x504827,'resolvedBy':_0x57ec3c||_0x328335['id'],'isFromAdapter':_0x46f8df});}['reopen']({isFromAdapter:_0x1d4e20=!0x1}={}){const {channelId:_0x2e2ea4,id:_0x43e563}=this;this['_repository']['fire'](_0x10e81b('reopenCommentThread',_0x2e2ea4),{'channelId':_0x2e2ea4,'threadId':_0x43e563,'isFromAdapter':_0x1d4e20});}['setContext'](_0x59b8fd){this['context']||this['_update']({'context':_0x59b8fd});}['setAttribute'](_0x85c6a9,_0x4e0dea){const _0x23a097=_0xed69dc(this['attributes']);st(_0x23a097,_0x85c6a9,_0x4e0dea),this['_update']({'attributes':_0x23a097});}['removeAttribute'](_0x518af0){const _0x3ddf8a=_0xed69dc(this['attributes']);tt(_0x3ddf8a,_0x518af0),this['_update']({'attributes':_0x3ddf8a});}['remove']({isFromAdapter:_0x55ee6a=!0x1}={}){const {channelId:_0x2805ce,id:_0x3ca02c}=this;this['_repository']['fire'](_0x10e81b('removeCommentThread',_0x2805ce),{'channelId':_0x2805ce,'threadId':_0x3ca02c,'isFromAdapter':_0x55ee6a});}['attachTo'](_0x3aa72e){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x3aa72e});}['addComment'](_0x387d74){const {channelId:_0x2de322,id:_0x3af901}=this;this['_repository']['fire'](_0x10e81b('addComment',_0x2de322,_0x3af901),Object['assign']({'channelId':_0x2de322,'threadId':_0x3af901},_0x387d74));}['getComment'](_0x26663){if('string'!=typeof _0x26663)throw new _0x22b56d['CKEditorError']('commentsrepository-get-comment-invalid-id',null,{'commentId':_0x26663});return this['comments']['get'](_0x26663);}['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'](_0x1189d5=>_0x1189d5['toJSON']()),'attributes':this['attributes']};}['_add'](_0x5a465b){return this['listenTo'](_0x5a465b,'change:authoredAt',()=>{const _0x2d547a=this['_findOptimalIndex'](_0x5a465b),_0x114242=this['comments'];_0x2d547a-0x1!=_0x114242['getIndex'](_0x5a465b)&&_0x2d547a+0x1!=_0x114242['getIndex'](_0x5a465b)&&(this['_remove'](_0x5a465b),this['_add'](_0x5a465b));}),this['comments']['add'](_0x5a465b,this['_findOptimalIndex'](_0x5a465b));}['_update'](_0x1dd95c){const {channelId:_0x202587,id:_0x126ec9}=this;this['_repository']['fire'](_0x10e81b('updateCommentThread',_0x202587),{..._0x1dd95c,'channelId':_0x202587,'threadId':_0x126ec9});}['_remove'](_0x129f7f){return this['stopListening'](_0x129f7f),_0x129f7f['destroy'](),this['comments']['remove'](_0x129f7f);}['_findOptimalIndex'](_0x399265){const _0x56a28d=this['comments']['find'](_0x2f79de=>new Date(_0x2f79de['authoredAt'])['getTime']()>new Date(_0x399265['authoredAt'])['getTime']());return _0x56a28d?this['comments']['getIndex'](_0x56a28d):this['length'];}}class Comment extends/* #__PURE__ -- @preserve */
_0x22b56d['ObservableMixin'](){['id'];['threadId'];['author'];['creator'];['isExternal'];['createdAt'];['_repository'];constructor(_0x36f8b6,_0x381e26){super();const _0x10d2c3=_0x36f8b6['context']['plugins']['get'](_0x433f5f)['me'],_0x200a55=_0x36f8b6['getCommentThread'](_0x381e26['threadId']),_0x329cea=0x0===_0x200a55['comments']['length'],_0x1209b7=_0x10d2c3===_0x381e26['author'];this['id']=_0x381e26['id'],this['threadId']=_0x381e26['threadId'],this['author']=_0x381e26['author'],this['creator']=_0x381e26['creator'],this['isExternal']=Boolean(_0x381e26['attributes']&&_0x381e26['attributes']['@external']),this['set']('content',_0x381e26['content']),this['createdAt']=_0x381e26['createdAt']||new Date(),this['set']('authoredAt',_0x381e26['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x200a55,'resolvedAt'),this['set']('attributes',_0x381e26['attributes']||{}),this['bind']('isEditable')['to'](_0x36f8b6,'_permissions',()=>{const _0x519c62=_0x36f8b6['getPermissions'](_0x200a55['channelId'])['write'],_0x1bf596=_0x36f8b6['getPermissions'](_0x200a55['channelId'])['modifyAll'];return _0x1209b7&&_0x519c62||!_0x1209b7&&_0x1bf596;}),this['bind']('isRemovable')['to'](_0x200a55,'isRemovable',_0x36f8b6,'_permissions',_0x455fb6=>{const _0x1ea0f5=_0x36f8b6['getPermissions'](_0x200a55['channelId'])['write'],_0x90ae91=_0x36f8b6['getPermissions'](_0x200a55['channelId'])['modifyAll'];return _0x1209b7&&_0x1ea0f5||_0x455fb6&&_0x329cea||!_0x1209b7&&_0x90ae91&&!_0x329cea;}),this['bind']('isReadOnly')['to'](_0x200a55,'isReadOnly'),this['_repository']=_0x36f8b6;}get['weight'](){return Math['max'](function(_0x15b981){const _0x351445=document['createElement']('div');return _0x351445['innerHTML']=_0x15b981,_0x351445['textContent']['length'];}(this['content']),0xc8);}['update'](_0x5a11c4){const {threadId:_0xe4ec06,id:_0x13142b}=this;if(!this['_repository']['hasCommentThread'](_0xe4ec06))throw new _0x22b56d['CKEditorError']('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x57c99e}=this['_repository']['getCommentThread'](_0xe4ec06);this['_repository']['fire'](_0x10e81b('updateComment',_0x57c99e,_0xe4ec06),{'channelId':_0x57c99e,'threadId':_0xe4ec06,'commentId':_0x13142b,..._0x5a11c4});}['setAttribute'](_0x4c12e1,_0x5325c4){const _0x44b410=_0xed69dc(this['attributes']);st(_0x44b410,_0x4c12e1,_0x5325c4),this['update']({'attributes':_0x44b410});}['removeAttribute'](_0x3c3eb2){const _0xcde729=_0xed69dc(this['attributes']);tt(_0xcde729,_0x3c3eb2),this['update']({'attributes':_0xcde729});}['remove'](_0x4aba90={}){if(!_0x4aba90['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x32e510,id:_0x2f2a1e}=this;if(!this['_repository']['hasCommentThread'](_0x32e510))throw new _0x22b56d['CKEditorError']('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x38f086}=this['_repository']['getCommentThread'](_0x32e510);this['_repository']['fire'](_0x10e81b('removeComment',_0x38f086,_0x32e510),{'channelId':_0x38f086,'threadId':_0x32e510,'commentId':_0x2f2a1e,..._0x4aba90});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}}function _0x10e81b(_0x4021d2,..._0xfac9be){for(const _0x4d9847 of _0xfac9be)void 0x0!==_0x4d9847&&(_0x4021d2+=':'+String(_0x4d9847));return _0x4021d2;}class AddCommentThreadCommand extends _0x22b56d['Command']{constructor(_0x374613){super(_0x374613),this['set']('hasContent',!0x1);}['refresh'](){const _0x233204=this['editor']['model']['document']['selection'];this['isEnabled']=!0x0,this['hasContent']=!0x1;for(const _0x178ea4 of _0x233204['getRanges']())if(this['_hasContent'](_0x178ea4))return void(this['hasContent']=!0x0);}['execute']({threadId:_0x35cf03=_0x22b56d['uid'](),ranges:_0x45cac3,comment:_0x49f093}={}){const _0x4701be=this['editor']['model'],_0xa07548=_0x45cac3??Array['from'](_0x4701be['document']['selection']['getRanges']()),_0x127786=[];for(const _0x2a7cd6 of _0xa07548)this['_hasContent'](_0x2a7cd6)&&_0x127786['push'](this['_trimToContent'](_0x2a7cd6));if(!_0x127786['length'])throw new _0x22b56d['CKEditorError']('addcommentthreadcommand-incorrect-ranges',null);_0x49f093&&this['_createCommentThread'](_0x35cf03,_0x49f093),this['_createMarkersFromRanges'](_0x35cf03,_0x127786,!!_0x49f093);}['_createMarkersFromRanges'](_0x4efa01,_0x53719b,_0x411464){this['editor']['model']['change'](_0x162583=>{for(const _0x34fdf6 of _0x53719b){const _0x1d15be=_0x22b56d['uid']()['substr'](0x1,0x5),_0x39195d='comment:'+_0x4efa01+':'+_0x1d15be;_0x162583['addMarker'](_0x39195d,{'range':_0x34fdf6,'usingOperation':_0x411464,'affectsData':_0x411464});}});}['_createCommentThread'](_0x3031e0,_0x49d201){const _0x1dd94d=this['editor']['plugins']['get']('CommentsRepository'),_0x2de07f=this['editor']['config']['get']('collaboration.channelId'),_0xaf3f8f=this['editor']['plugins']['get']('Users')['me'];if(!_0xaf3f8f)throw new _0x22b56d['CKEditorError']('addcommentthreadcommand-user-not-found',null);_0x1dd94d['addCommentThread']({'threadId':_0x3031e0,'channelId':_0x2de07f,'comments':[{'authorId':_0xaf3f8f['id'],'content':_0x49d201,'createdAt':new Date(),'attributes':{}}]});}['_hasContent'](_0x2f6ea2){for(const _0x49648a of _0x2f6ea2['getItems']())if(this['_itemIsContent'](_0x49648a))return!0x0;return!0x1;}['_itemIsContent'](_0x1075de){return _0x1075de['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x1075de)&&!_0x1075de['is']('element','tableCell');}['_trimToContent'](_0x199d26){const _0x38d5d2=_0x34b316=>!this['_itemIsContent'](_0x34b316['item']),_0x20419a=_0x199d26['start']['getLastMatchingPosition'](_0x38d5d2),_0x35d9b7=_0x199d26['end']['getLastMatchingPosition'](_0x38d5d2,{'direction':'backward'});return this['editor']['model']['createRange'](_0x20419a,_0x35d9b7);}}class EditorAnnotations extends _0x22b56d['Plugin']{['_dataCollectors'];['_editorAnnotations'];static get['requires'](){return[Annotations];}static get['pluginName'](){return'EditorAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2c9508){super(_0x2c9508),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0x41f1dd=this['editor'],_0x3f14b7=_0x41f1dd['model']['document']['selection'],_0x5e03e4=rt(()=>this['refreshSelectedViews'](),0xa);_0x3f14b7['on']('change:range',(_0x137e95,_0x24bf3b)=>{_0x24bf3b['directChange']&&(_0x5e03e4['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x41f1dd['editing']['view']['document'],'change:isFocused',(_0x304732,_0x32157a,_0x3c126b)=>{_0x3c126b&&_0x5e03e4();}),this['listenTo'](_0x41f1dd['ui']['focusTracker'],'change:isFocused',(_0x798d50,_0x4b788c,_0x370ef9)=>{_0x370ef9||this['fire']('blur',{'isAnnotationTracked':_0x1b7594=>this['_editorAnnotationsData']['has'](_0x1b7594['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x3d23c3){if(this['_editorAnnotations']['has'](_0x3d23c3['view']))return;this['_editorAnnotations']['add'](_0x3d23c3['view']),this['editor']['ui']['focusTracker']['add'](_0x3d23c3['view']['element']);const _0x501be8=this['editor']['plugins']['get'](Annotations);this['listenTo'](_0x501be8['collection'],'remove',(_0x57c47b,_0x5d02ce)=>{this['editor']['ui']['focusTracker']['remove'](_0x5d02ce['view']['element']),this['_editorAnnotations']['delete'](_0x5d02ce['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0x39daa4){if('function'!=typeof _0x39daa4)throw new _0x22b56d['CKEditorError']('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x39daa4);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0x3ec073,annotations:_0x51f3e6}){const _0x4b3edb=[],_0x24efff=this['editor']['model']['document']['selection'],_0xf3eb9a=Array['from'](_0x24efff['getRanges']());for(const [_0x3ba185,_0xdb739a]of this['_editorAnnotationsData']){const _0x1fc092=_0x4f7015(_0xdb739a),_0x26838c=_0x51f3e6['getByInnerView'](_0x3ba185);_0x1fc092&&_0x26838c&&_0x4b3edb['push']({'annotation':_0x26838c,'range':_0x1fc092});}function _0x4f7015(_0x47fc72){for(const _0x2857b5 of _0x47fc72)for(const _0x148def of _0xf3eb9a)if(_0x2857b5['containsRange'](_0x148def,!_0x24efff['isCollapsed']))return _0x2857b5;return null;}return _0x4b3edb['sort']((_0x398fd6,_0x10bc9f)=>{const _0x526ee9=_0x398fd6['range'],_0x4d56b2=_0x10bc9f['range'];if(!_0x526ee9['isEqual'](_0x4d56b2)){if(_0x526ee9['containsRange'](_0x4d56b2,!0x0))return 0x1;if(_0x4d56b2['containsRange'](_0x526ee9,!0x0))return-0x1;}return _0x398fd6['annotation']==_0x3ec073?-0x1:_0x10bc9f['annotation']==_0x3ec073?0x1:0x0;})['map'](_0xdd7c14=>_0xdd7c14['annotation']);}get['_editorAnnotationsData'](){const _0x51f346=new Map();for(const _0x10366e of Array['from'](this['_dataCollectors']))for(const [_0x2a75aa,_0x274729]of _0x10366e())_0x51f346['set'](_0x2a75aa,_0x274729);return _0x51f346;}}class CommentsRestrictedEditingMode extends _0x22b56d['Plugin']{['afterInit'](){const _0x36bb18=this['editor'];if(!_0x36bb18['plugins']['has']('RestrictedEditingModeEditing'))return;_0x36bb18['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}}class CommentsImportWord extends _0x22b56d['Plugin']{constructor(_0xce7613){super(_0xce7613),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0x3dbfe0=this['editor'],_0x7b721f=_0x3dbfe0['commands']['get']('importWord'),_0x44623b=_0x3dbfe0['plugins']['get'](_0x433f5f);_0x7b721f&&(_0x7b721f['on']('execute',(_0x58e21a,[,_0x22bcbb])=>{_0x22bcbb['collaboration_features']={'comments':!0x0,'user_id':_0x44623b['me']['id']};},{'priority':_0x22b56d['priorities']['high']+0xa}),this['listenTo'](_0x7b721f,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0x371637,_0x45c913){const {comment_threads:_0x457dbc}=_0x45c913;_0x457dbc&&_0x457dbc['forEach'](({thread_id:_0x23ba50,comments:_0x2f3cb4,is_resolved:_0x5e1800})=>{const _0x13b812=new Date(),_0x24b86c=_0x2f3cb4['map'](({author:_0x5ce810,content:_0x43b681,created_at:_0x1d250a})=>({'content':_0x43b681,'authorId':this['editor']['plugins']['get'](_0x433f5f)['me']['id'],'createdAt':_0x13b812,'attributes':{'@external':{'authorName':_0x5ce810,'createdAt':_0x1d250a?new Date(_0x1d250a):new Date(),'source':'importWord'}}})),_0x4a00a0=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](CommentsRepository)['addCommentThread']({'channelId':_0x4a00a0,'threadId':_0x23ba50,'comments':_0x24b86c,'resolvedAt':_0x5e1800?_0x13b812:null});});}}class CommentsClipboard extends _0x22b56d['Plugin']{constructor(_0x429901){super(_0x429901),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[_0x22b56d['ClipboardMarkersUtils'],_0x22b56d['ClipboardPipeline']];}['afterInit'](){const _0x3515cd=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0x3515cd,'contentInsertion',(_0x35bdc6,_0x5051a0)=>this['_removeMarkersWithoutThreads'](_0x5051a0['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x46a3c3){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x46a3c3;const _0x6c4be9=this['editor']['plugins']['get']('CommentsRepository');for(const _0x1aa65a of _0x46a3c3['keys']()){const [_0x31d6a8,_0x3564c5]=_0x1aa65a['split'](':');'comment'!=_0x31d6a8||_0x6c4be9['hasCommentThread'](_0x3564c5)||_0x46a3c3['delete'](_0x1aa65a);}return _0x46a3c3;}['_registerMarkerInClipboardPipeline'](){const _0x1bb2aa=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x7b4302=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x7b4302&&_0x1bb2aa['_registerMarkerToCopy']('comment',_0x7b4302);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0x2325af){switch(_0x2325af){case'always':return{'allowedActions':'all','copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case'default':return{'allowedActions':['cut','dragstart'],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};default:return null;}}}function _0x198ee2(_0x42c79f){const _0xf77a84=_0x42c79f['split'](':');return{'group':_0xf77a84[0x0],'id':_0xf77a84[0x1],'part':_0xf77a84[0x2]};}class ShowCommentHighlights extends _0x22b56d['Plugin']{['init'](){this['overrideMarkerConverters'](),this['overrideHorizontalRuleConverter'](),this['overrideImageInlineConverter'](),this['overrideMediaEmbedConverter']();}['overrideMarkerConverters'](){this['editor']['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'comment','view':(_0x20693d,_0x30a07f)=>{if(!_0x30a07f['options']['showCommentHighlights'])return null;if(_0x30a07f['options']['ignoreResolvedComments']){const {id:_0x53d26a}=_0x198ee2(_0x20693d['markerName']),_0x5d91ba=this['editor']['plugins']['get'](CommentsRepository);if(_0x5d91ba['getCommentThread'](_0x53d26a)?.['isResolved']&&_0x20693d['item'])return _0x30a07f['consumable']['consume'](_0x20693d['item'],'addMarker:'+_0x20693d['markerName']),_0x30a07f['consumable']['consume'](_0x20693d['item'],'removeMarker:'+_0x20693d['markerName']),null;}return{'classes':['ck-comment-marker']};}}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x2e5836=>{_0x2e5836['on']('addMarker:comment',(_0x2ad37a,_0x34ba27,_0x900ddf)=>{if(!_0x900ddf['options']['showCommentHighlights'])return;const _0x4c85f1=_0x34ba27['item'];if(!_0x4c85f1)return;const _0x1ffa50=_0x900ddf['mapper']['toViewElement'](_0x4c85f1);this['editor']['model']['schema']['isObject'](_0x4c85f1)&&_0x1ffa50&&!_0x1ffa50['getCustomProperty']('widget')&&_0x1ffa50['is']('containerElement')&&_0x22b56d['toWidget'](_0x1ffa50,_0x900ddf['writer']);},{'priority':'high'});});}['overrideHorizontalRuleConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x4cefe6,{writer:_0x5c91e5,options:_0x158398})=>{if(!_0x158398['showCommentHighlights'])return null;const _0x349258=_0x5c91e5['createContainerElement']('div'),_0x1d4d5d=_0x5c91e5['createEmptyElement']('hr');return _0x5c91e5['addClass']('ck-horizontal-line',_0x349258),_0x5c91e5['insert'](_0x5c91e5['createPositionAt'](_0x349258,0x0),_0x1d4d5d),_0x349258;},'converterPriority':'high'});}['overrideImageInlineConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'imageInline','view':(_0x249578,{writer:_0x282a67,options:_0xa0bae5})=>{if(!_0xa0bae5['showCommentHighlights'])return null;const _0x457094=_0x282a67['createContainerElement']('span'),_0x1e35df=_0x282a67['createEmptyElement']('img');return _0x282a67['addClass']('image-inline',_0x457094),_0x282a67['insert'](_0x282a67['createPositionAt'](_0x457094,0x0),_0x1e35df),_0x457094;},'converterPriority':'high'});}['overrideMediaEmbedConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x1f551c,{writer:_0xaa00e9,options:_0x2b6acc})=>{if(_0x2b6acc['showCommentHighlights'])return _0xaa00e9['createEmptyElement']('div');},'converterPriority':'high'}),this['editor']['data']['downcastDispatcher']['on']('attribute:url:media',(_0x5bd5d5,_0x15536d,_0x5da2f3)=>{_0x5da2f3['options']['showCommentHighlights']&&_0x5bd5d5['stop']();},{'priority':'high'});}}class CommentsEditing extends _0x22b56d['Plugin']{static get['requires'](){return[CommentsRepository,EditorAnnotations,_0x433f5f,CommentsRestrictedEditingMode,CommentsImportWord,CommentsClipboard,ShowCommentHighlights];}static get['pluginName'](){return'CommentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2a935c){super(_0x2a935c),this['set']('isThreadsLoadingPaused',!0x0),_0x2a935c['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x4b289f,_0xdee910,_0xdb2a7d,_0x454fa0)=>{const _0x47bb3a=_0x2a935c['plugins']['get'](CommentsRepository),_0x4aa717=_0xdb2a7d?_0x198ee2(_0xdb2a7d)['id']:null;_0x2a935c['model']['change'](()=>{if(_0x4aa717){const _0x42c373=this['getAllMarkersForId'](_0x4aa717);for(const _0x18cfd9 of _0x42c373)_0x2a935c['editing']['reconvertMarker'](_0x18cfd9);}if(_0x454fa0){const {id:_0x3f2dac}=_0x198ee2(_0x454fa0),_0x7e22d1=_0x47bb3a['getCommentThread'](_0x3f2dac);if(_0x7e22d1&&_0x7e22d1['unlinkedAt'])return;if(_0x7e22d1&&!_0x7e22d1['isAttached'])return;const _0x15d6c6=this['getAllMarkersForId'](_0x3f2dac);for(const _0x4d4c77 of _0x15d6c6)_0x2a935c['editing']['reconvertMarker'](_0x4d4c77);}}),_0x4aa717&&this['scrollToThreadMarker'](_0x4aa717);}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x31ba0a=this['editor'],_0x582fa7=_0x31ba0a['plugins']['get'](CommentsRepository),_0x37ef5d=_0x31ba0a['config']['get']('collaboration.channelId'),_0x115bf6=_0x582fa7['getCommentThreads']()['filter'](_0x494e71=>_0x494e71['channelId']!==_0x37ef5d);_0x31ba0a['commands']['add']('addCommentThread',new AddCommentThreadCommand(_0x31ba0a)),this['listenTo'](_0x31ba0a,'change:isReadOnly',(_0x53d493,_0x232a04,_0x12783d)=>{_0x582fa7['switchReadOnly'](_0x12783d,_0x31ba0a['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x582fa7,_0x377692('addCommentThread',_0x37ef5d),(_0x136cdb,{threadId:_0x13915c})=>{const _0x353842=this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x13915c);_0x353842?.['unlinkedAt']&&this['_attachArchivedThread'](_0x13915c);}),this['listenTo'](_0x582fa7,_0x377692('removeCommentThread',_0x37ef5d),(_0x5c4976,{threadId:_0x44d4d0})=>{_0x31ba0a['model']['enqueueChange']({'isUndoable':!0x1},_0x481ff3=>{const _0x5e6fe1=this['getAllMarkersForId'](_0x44d4d0);for(const _0xee3f0e of _0x5e6fe1)_0x481ff3['removeMarker'](_0xee3f0e);});}),this['listenTo'](_0x582fa7,_0x377692('resolveCommentThread',_0x37ef5d),(_0x5adc90,{threadId:_0x4c48e8})=>{(this['_reconvertMarkers'](_0x4c48e8),this['editor']['editing']['view']['hasDomSelection'])&&(this['editor']['plugins']['get'](CommentsRepository)['getCommentThread'](_0x4c48e8)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x582fa7,_0x377692('reopenCommentThread',_0x37ef5d),(_0x194da9,{threadId:_0x350d6b})=>{this['_reconvertMarkers'](_0x350d6b);},{'priority':'low'}),this['listenTo'](_0x582fa7,_0x377692('addComment',_0x37ef5d),(_0x43ec0e,{threadId:_0x124342,isFromAdapter:_0x579dc5})=>{const _0x89fb1a=this['getAllMarkersForId'](_0x124342);if(_0x579dc5||0x0==_0x89fb1a['length']||!_0x582fa7['hasCommentThread'](_0x124342))return;0x1===_0x582fa7['getCommentThread'](_0x124342)['length']&&_0x31ba0a['model']['enqueueChange']({'isUndoable':!0x1},_0x23283c=>{for(const _0x1dbdbb of _0x89fb1a)_0x23283c['updateMarker'](_0x1dbdbb,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove'](),this['_handleInitialThreads'](_0x115bf6);}['afterInit'](){!async function(_0x462447){const _0x19e710=_0x460562([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]),_0x591b6a=0x73460ab3,_0x1da6d6=0x734180db^_0x591b6a,_0x11bac7=window[_0x460562([0x44,0x61,0x74,0x65])][_0x460562([0x6e,0x6f,0x77])](),_0x4dd303=_0x462447[_0x460562([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d6f28=new window[(_0x460562([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2636f3=>{_0x4dd303[_0x460562([0x6f,0x6e,0x63,0x65])](_0x460562([0x72,0x65,0x61,0x64,0x79]),_0x2636f3);}),_0x3f1390={[_0x460562([0x6b,0x74,0x79])]:_0x460562([0x45,0x43]),[_0x460562([0x75,0x73,0x65])]:_0x460562([0x73,0x69,0x67]),[_0x460562([0x63,0x72,0x76])]:_0x460562([0x50,0x2d,0x32,0x35,0x36]),[_0x460562([0x78])]:_0x460562([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]),[_0x460562([0x79])]:_0x460562([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]),[_0x460562([0x61,0x6c,0x67])]:_0x460562([0x45,0x53,0x32,0x35,0x36])},_0x5088a0=_0x4dd303[_0x460562([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x460562([0x67,0x65,0x74])](_0x460562([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x23bfc9(){let _0xef0807,_0x55fd1e=null,_0x305d2b=null;try{if(_0x5088a0==_0x460562([0x47,0x50,0x4c]))return _0x460562([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xef0807=_0x4adff9(),!_0xef0807)return _0x460562([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xef0807[_0x460562([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x305d2b=_0x2a0b47(_0xef0807[_0x460562([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xef0807[_0x460562([0x6a,0x74,0x69])])),await _0x143474()?_0x1b3e78()?_0x147f7f()?_0x460562([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x856ed6()?(_0xef0807[_0x460562([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x460562([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x55fd1e=_0x244cb2(_0x460562([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3543c0()):_0x460562([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x460562([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x460562([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x460562([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x147f7f(){const _0x3b2678=[_0x460562([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x460562([0x74,0x72,0x69,0x61,0x6c])][_0x460562([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xef0807[_0x460562([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x11bac7/0x3e8:0xe10*_0x1da6d6;return _0xef0807[_0x460562([0x65,0x78,0x70])]<_0x3b2678;}function _0x1b3e78(){const _0x6c71b8=_0xef0807[_0x460562([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x6c71b8)return!0x1;if(_0x6c71b8[_0x460562([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x460562([0x2a])))return!0x0;if(_0x6c71b8[_0x460562([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x460562([0x43,0x4d,0x54])))return!0x0;if(_0x6c71b8[_0x460562([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x460562([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x36dc41())return!0x0;if(_0x6c71b8[_0x460562([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x460562([0x52,0x43,0x4d,0x54]))){if(_0x39ed2b())return!0x0;if(_0x4172da()||_0x3a5862())return!0x0;}return!0x1;}function _0x856ed6(){const _0x5e5ec7=_0xef0807[_0x460562([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5e5ec7||0x0==_0x5e5ec7[_0x460562([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x33a04b}=new URL(window[_0x460562([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5e5ec7[_0x460562([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33a04b))return!0x0;const _0x3851d8=_0x33a04b[_0x460562([0x73,0x70,0x6c,0x69,0x74])](_0x460562([0x2e]));return _0x5e5ec7[_0x460562([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b6d5f=>_0x3b6d5f[_0x460562([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x460562([0x2a])))[_0x460562([0x6d,0x61,0x70])](_0x1658b5=>_0x1658b5[_0x460562([0x73,0x70,0x6c,0x69,0x74])](_0x460562([0x2e])))[_0x460562([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e8e43=>_0x4e8e43[_0x460562([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3851d8[_0x460562([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x460562([0x6d,0x61,0x70])](_0x558a14=>Array(_0x3851d8[_0x460562([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x558a14[_0x460562([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x460562([0x66,0x69,0x6c,0x6c])](_0x558a14[0x0]===_0x460562([0x2a])?_0x460562([0x2a]):'')[_0x460562([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x558a14))[_0x460562([0x73,0x6f,0x6d,0x65])](_0xb0b443=>_0x3851d8[_0x460562([0x65,0x76,0x65,0x72,0x79])]((_0x565363,_0x56c52b)=>_0xb0b443[_0x56c52b]===_0x565363||_0xb0b443[_0x56c52b]===_0x460562([0x2a])));}function _0x3543c0(){return _0x55fd1e&&_0x305d2b?new window[(_0x460562([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x497174,_0x1818ad)=>{_0x55fd1e[_0x460562([0x74,0x68,0x65,0x6e])](_0x497174,_0x1818ad),_0x305d2b[_0x460562([0x74,0x68,0x65,0x6e])](_0x585cf4=>{_0x585cf4!=_0x460562([0x56,0x61,0x6c,0x69,0x64])&&_0x497174(_0x585cf4);},_0x1818ad);}):_0x55fd1e||_0x305d2b||_0x460562([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2a0b47(_0x5d3bd7,_0x2537fb){return new window[(_0x460562([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1937fa=>{if(_0x4e862b())return _0x1937fa(_0x460562([0x56,0x61,0x6c,0x69,0x64]));_0x58e3b8(),_0x4dd303[_0x460562([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x460562([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x14dbfb=!0x1;const _0x12a818=_0x22b56d['uid']();function _0x58d393(_0x159ed1){return!!_0x159ed1&&(typeof _0x159ed1===_0x460562([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x159ed1===_0x460562([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x159ed1[_0x460562([0x74,0x68,0x65,0x6e])]===_0x460562([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x159ed1[_0x460562([0x63,0x61,0x74,0x63,0x68])]===_0x460562([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xb7bbd9(_0x32f031){_0x1c6958(_0x32f031)[_0x460562([0x74,0x68,0x65,0x6e])](_0x53dd11=>{if(!_0x53dd11||_0x53dd11[_0x460562([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x460562([0x6f,0x6b]))return _0x460562([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x450926(_0x12dcc8(_0x12a818+_0x2537fb))!=_0x53dd11[_0x460562([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x460562([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x460562([0x56,0x61,0x6c,0x69,0x64]);})[_0x460562([0x74,0x68,0x65,0x6e])](_0x4cf390=>(_0x1ebb4e(),_0x4cf390),()=>{const _0x6819a4=_0x18a347();return null==_0x6819a4?(_0x1ebb4e(),_0x460562([0x56,0x61,0x6c,0x69,0x64])):_0x460562(_0x11bac7-_0x6819a4>(0x574a8eb3^_0x591b6a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x460562([0x74,0x68,0x65,0x6e])](_0x1937fa)[_0x460562([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1937fa(_0x460562([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3bfef1=0x7370e433^_0x591b6a;function _0x1ebb4e(){const _0x28a26b=_0x460562([0x6c,0x6c,0x63,0x74,0x2d])+_0x450926(_0x12dcc8(_0x5d3bd7)),_0x1d60a7=_0xdb11ab(_0x450926(window[_0x460562([0x4d,0x61,0x74,0x68])][_0x460562([0x63,0x65,0x69,0x6c])](_0x11bac7/_0x3bfef1)));window[_0x460562([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x460562([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x28a26b,_0x1d60a7);}function _0x18a347(){const _0x441a29=_0x460562([0x6c,0x6c,0x63,0x74,0x2d])+_0x450926(_0x12dcc8(_0x5d3bd7)),_0xf5ec22=window[_0x460562([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x460562([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x441a29);return _0xf5ec22?window[_0x460562([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdb11ab(_0xf5ec22),0x10)*_0x3bfef1:null;}function _0x1c6958(_0x298003){return new window[(_0x460562([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3fd5c7,_0x50c9ce)=>{_0x298003[_0x460562([0x74,0x68,0x65,0x6e])](_0x3fd5c7,_0x50c9ce),window[_0x460562([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x50c9ce,0x7347de73^_0x591b6a);});}}_0x4dd303[_0x460562([0x6f,0x6e])](_0x460562([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2d1bc0,_0x3f3c2b)=>{if(_0x3f3c2b[0x0]!=_0x5d3bd7)return _0x1937fa(_0x460562([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3f3c2b[0x1]={..._0x3f3c2b[0x1],[_0x460562([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x12a818};},{[_0x460562([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x460562([0x68,0x69,0x67,0x68])}),_0x4dd303[_0x460562([0x6f,0x6e])](_0x460562([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2bee62=>{_0x58d393(_0x2bee62[_0x460562([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x14dbfb=!0x0,_0xb7bbd9(_0x2bee62[_0x460562([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x460562([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x460562([0x6c,0x6f,0x77])}),_0x1d6f28[_0x460562([0x74,0x68,0x65,0x6e])](()=>{_0x14dbfb||_0x1937fa(_0x460562([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4e862b(){return _0x4dd303[_0x460562([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x460562([0x76,0x69,0x65,0x77])][_0x460562([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x460562([0x61,0x75,0x74,0x6f]);}function _0x58e3b8(){_0x4dd303[_0x460562([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x460562([0x76,0x69,0x65,0x77])][_0x460562([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x460562([0x61,0x75,0x74,0x6f]);}}function _0x244cb2(_0x3fbb4a){const _0x45a167=[new window[(_0x460562([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x319f32=>setTimeout(_0x319f32,0x734f347f^_0x591b6a)),_0x1d6f28[_0x460562([0x74,0x68,0x65,0x6e])](()=>new window[(_0x460562([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x512f0d=>{let _0x3c2ff2=0x0;_0x4dd303[_0x460562([0x6d,0x6f,0x64,0x65,0x6c])][_0x460562([0x6f,0x6e])](_0x460562([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x20f6a9,_0x4c4a4f)=>{_0x4c4a4f[0x0][_0x460562([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3c2ff2++,_0x3c2ff2==(0x73460f5b^_0x591b6a)&&(_0x512f0d(),_0x20f6a9[_0x460562([0x6f,0x66,0x66])]());});}))];return window[_0x460562([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x460562([0x72,0x61,0x63,0x65])](_0x45a167)[_0x460562([0x74,0x68,0x65,0x6e])](()=>_0x3fbb4a);}async function _0x4cefb5(){await _0x1d6f28,_0x4dd303[_0x460562([0x6d,0x6f,0x64,0x65,0x6c])][_0x460562([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2f8079,_0x4dd303[_0x460562([0x6d,0x6f,0x64,0x65,0x6c])][_0x460562([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2f8079,_0x4dd303[_0x460562([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x460562([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x36dc41(){return window[_0x460562([0x67,0x6c,0x6f,0x62])]&&window[_0x460562([0x67,0x6c,0x6f,0x62])][_0x460562([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x39ed2b(){return _0x29b391(_0x460562([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2becdb(_0x460562([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x460562([0x73,0x74,0x61,0x74,0x65])]==_0x460562([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x4172da(){return _0x29b391(_0x460562([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]));}function _0x3a5862(){return _0x29b391(_0x460562([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x8b62cc(_0x8ed763){const _0x54dc51=_0x117c04();_0x4dd303[_0x54dc51]=_0x460562([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x8ed763,_0x8ed763!=_0x460562([0x56,0x61,0x6c,0x69,0x64])&&_0x4cefb5();}function _0x117c04(){const _0x3e8e7f=window[_0x460562([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x460562([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x460562([0x6e,0x6f,0x77])]())[_0x460562([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x460562([0x2e]),'');let _0x5c98df=_0x460562([0x4b]);for(let _0x4a4bdb=0x0;_0x4a4bdb<_0x3e8e7f[_0x460562([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4a4bdb+=0x2){let _0x2ddfbf=window[_0x460562([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e8e7f[_0x460562([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a4bdb,_0x4a4bdb+0x2));_0x2ddfbf>=_0x19e710[_0x460562([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2ddfbf-=_0x19e710[_0x460562([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5c98df+=_0x19e710[_0x2ddfbf];}return _0x5c98df;}function _0x4adff9(){const _0x118b10=_0x5088a0[_0x460562([0x73,0x70,0x6c,0x69,0x74])](_0x460562([0x2e]));if(0x3!=_0x118b10[_0x460562([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xa41926(_0x118b10[0x1]);function _0xa41926(_0x6c22b2){const _0xca47c9=_0x457b85(_0x6c22b2);return _0xca47c9&&_0x87bc92()?_0xca47c9:null;function _0x87bc92(){const _0x13a26b=_0xca47c9[_0x460562([0x6a,0x74,0x69])],_0xf41360=window[_0x460562([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13a26b[_0x460562([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13a26b[_0x460562([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x14a022={..._0xca47c9,[_0x460562([0x6a,0x74,0x69])]:_0x13a26b[_0x460562([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x13a26b[_0x460562([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x14a022[_0x460562([0x76,0x63])],_0x12dcc8(_0x14a022)==_0xf41360;}}}async function _0x143474(){let _0x5bfbff=!0x0;try{const _0x5433a4=_0x5088a0[_0x460562([0x73,0x70,0x6c,0x69,0x74])](_0x460562([0x2e])),[_0x5efc34,_0x427a04,_0x2bd0e3]=_0x5433a4;return _0x1a3c2d(_0x5efc34),await _0x23de7d(_0x5efc34,_0x427a04,_0x2bd0e3),_0x5bfbff;}catch{return!0x1;}function _0x1a3c2d(_0x26892c){const _0x5b3524=_0x457b85(_0x26892c);_0x5b3524&&_0x5b3524[_0x460562([0x61,0x6c,0x67])]==_0x460562([0x45,0x53,0x32,0x35,0x36])||(_0x5bfbff=!0x1);}async function _0x23de7d(_0x2c671d,_0x1ae0ed,_0xeaa257){const _0x127ae8=window[_0x460562([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x460562([0x66,0x72,0x6f,0x6d])](_0x51f0d1(_0xeaa257),_0x5ed1b0=>_0x5ed1b0[_0x460562([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x36c907=new window[(_0x460562([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x460562([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2c671d+_0x460562([0x2e])+_0x1ae0ed),_0x45a482=window[_0x460562([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x460562([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x45a482)return;const _0x10983a=await _0x45a482[_0x460562([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x460562([0x6a,0x77,0x6b]),_0x3f1390,{[_0x460562([0x6e,0x61,0x6d,0x65])]:_0x460562([0x45,0x43,0x44,0x53,0x41]),[_0x460562([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x460562([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x460562([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x45a482[_0x460562([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x460562([0x6e,0x61,0x6d,0x65])]:_0x460562([0x45,0x43,0x44,0x53,0x41]),[_0x460562([0x68,0x61,0x73,0x68])]:{[_0x460562([0x6e,0x61,0x6d,0x65])]:_0x460562([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x10983a,_0x127ae8,_0x36c907)||(_0x5bfbff=!0x1);}}function _0x457b85(_0xfe7a3b){return _0xfe7a3b[_0x460562([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x460562([0x65,0x79]))?JSON[_0x460562([0x70,0x61,0x72,0x73,0x65])](_0x51f0d1(_0xfe7a3b)):null;}function _0x51f0d1(_0x83b664){return window[_0x460562([0x61,0x74,0x6f,0x62])](_0x83b664[_0x460562([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x460562([0x2b]))[_0x460562([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x460562([0x2f])));}function _0x12dcc8(_0x5c47b1){let _0x4c7212=0x1505;function _0x2731a6(_0x4e5591){for(let _0x515024=0x0;_0x515024<_0x4e5591[_0x460562([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x515024++){const _0x5477da=_0x4e5591[_0x460562([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x515024);_0x4c7212=(_0x4c7212<<0x5)+_0x4c7212+_0x5477da,_0x4c7212&=_0x4c7212;}}function _0x251f21(_0x5a6380){Array[_0x460562([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5a6380)?_0x5a6380[_0x460562([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x251f21):_0x5a6380&&typeof _0x5a6380==_0x460562([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x460562([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5a6380)[_0x460562([0x73,0x6f,0x72,0x74])]()[_0x460562([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1822c1,_0x4f754e])=>{_0x2731a6(_0x1822c1),_0x251f21(_0x4f754e);}):_0x2731a6(window[_0x460562([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5a6380));}return _0x251f21(_0x5c47b1),_0x4c7212>>>0x0;}function _0x450926(_0x40e07d){return _0x40e07d[_0x460562([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x460562([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x460562([0x30]));}function _0xdb11ab(_0x5a3c70){return _0x5a3c70[_0x460562([0x73,0x70,0x6c,0x69,0x74])]('')[_0x460562([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x460562([0x6a,0x6f,0x69,0x6e])]('');}function _0x29b391(_0x54656b){return _0x4dd303[_0x460562([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x460562([0x68,0x61,0x73])](_0x54656b);}function _0x2becdb(_0x4ecc45){return _0x4dd303[_0x460562([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x460562([0x67,0x65,0x74])](_0x4ecc45);}function _0x2f8079(){}function _0x460562(_0x266815){return _0x266815['map'](_0x188552=>String['fromCharCode'](_0x188552))['join']('');}_0x8b62cc(await _0x23bfc9());}(this);}['destroy'](){const _0x1916ea=this['editor']['plugins']['get'](CommentsRepository),_0x2746f=this['editor']['config']['get']('collaboration.channelId');for(const _0xc07767 of _0x1916ea['getCommentThreads']({'channelId':_0x2746f}))_0x1916ea['_detachCommentThread'](_0xc07767['id']),_0x1916ea['_threads']['delete'](_0xc07767['id']);super['destroy']();}['hasMarkerForId'](_0x2fa53e){return this['getAllMarkersForId'](_0x2fa53e)['length']>0x0;}['getAllMarkersForId'](_0x5c32fd){const _0x51c768=[];for(const _0x39389e of this['editor']['model']['markers'])_0x39389e['name']['startsWith']('comment:'+_0x5c32fd)&&_0x51c768['push'](_0x39389e);return _0x51c768;}['scrollToThreadMarker'](_0x33ee26){setTimeout(()=>{const _0x248116=this['_getTargetForId'](_0x33ee26);if(!_0x248116)return;this['activeMarker']&&_0x198ee2(this['activeMarker'])['id']===_0x33ee26&&_0x22b56d['scrollViewportToShowTarget']({'target':_0x248116[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x49d216){this['editor']['model']['change'](()=>{for(const _0x1a5a5f of this['getAllMarkersForId'](_0x49d216))this['editor']['editing']['reconvertMarker'](_0x1a5a5f);});}['_attachArchivedThread'](_0xc483af){const _0x109899=this['editor']['plugins']['get'](CommentsRepository),_0x896b1=this['editor']['plugins']['get'](EditorAnnotations),_0x17341a=_0x109899['getCommentThread'](_0xc483af);if(!_0x17341a['isAttached']){const _0x3c00c3=_0x17341a['attachTo'](()=>this['_getTargetForId'](_0x17341a['id']));_0x896b1['registerAnnotation'](_0x3c00c3),_0x17341a['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x191c9b=this['editor'],_0x23797d=_0x191c9b['plugins']['get'](_0x433f5f);_0x191c9b['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x453ae7,_0xdb5a0)=>{const {id:_0x12948c}=_0x198ee2(_0x453ae7['markerName']),_0x4c39bc=_0x191c9b['plugins']['get'](CommentsRepository)['getCommentThread'](_0x12948c),_0x4f288b=this['activeMarker']&&_0x198ee2(this['activeMarker'])['id']===_0x12948c;let _0x224595;if(_0x4c39bc&&_0x4c39bc['isResolved']&&!_0x4f288b&&_0x453ae7['item'])return _0xdb5a0['consumable']['consume'](_0x453ae7['item'],'addMarker:'+_0x453ae7['markerName']),_0xdb5a0['consumable']['consume'](_0x453ae7['item'],'removeMarker:'+_0x453ae7['markerName']),null;const _0x95684e=['ck-comment-marker'];return _0x4f288b&&_0x95684e['push']('ck-comment-marker--active'),_0x224595=_0x4c39bc?.['length']?_0x4c39bc['comments']['first']['author']['id']:_0x23797d['me']['id'],{'classes':_0x95684e,'attributes':{'data-comment':_0x12948c,'data-author-id':_0x224595}};}}),_0x191c9b['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0x2a42c7,{options:_0x482517})=>{if(_0x482517['showCommentHighlights'])return null;const _0x4c0d8d=_0x191c9b['plugins']['get'](CommentsRepository),_0x45bcbf=_0x191c9b['model']['markers']['get'](_0x2a42c7),{id:_0x1d0332,part:_0x555ffa}=_0x198ee2(_0x2a42c7);return _0x45bcbf&&!_0x45bcbf['affectsData']||_0x482517['ignoreResolvedComments']&&_0x4c0d8d['getCommentThread'](_0x1d0332)?.['isResolved']?null:{'group':'comment','name':_0x555ffa?_0x1d0332+':'+_0x555ffa:_0x1d0332};}}),_0x191c9b['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x4f296c,{writer:_0x5ca527})=>_0x5ca527['createElement']('$marker',{'data-name':'comment:'+_0x4f296c['getAttribute']('id')})}),_0x191c9b['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0xdb27b0=this['editor'],_0x11446c=_0xdb27b0['plugins']['get'](CommentsRepository),_0x5669d6=new Set(),_0x370287=new Set();_0xdb27b0['model']['document']['registerPostFixer'](_0x399a6d=>{let _0x3ded49=!0x1;for(const {name:_0x5afd44,data:_0x540857}of _0xdb27b0['model']['document']['differ']['getChangedMarkers']()){const {group:_0x39ce00,id:_0x588806}=_0x198ee2(_0x5afd44);let _0x42237e=_0x540857['newRange'];if('comment'!==_0x39ce00||!_0x42237e)continue;const _0x55f96c='$graveyard'===_0x42237e['root']['rootName'];_0x55f96c||(_0x42237e=_0x30790b(_0x42237e,_0xdb27b0['model']),!_0x42237e||_0x42237e['isCollapsed']||!_0x540857['newRange']||_0x42237e['isEqual'](_0x540857['newRange']))?_0xdb27b0['model']['hasContent'](_0x42237e)&&!_0x55f96c?this['isThreadsLoadingPaused']?_0x5669d6['add'](_0x5afd44):this['_handleThreadMarker'](_0x5afd44,_0x588806):(_0x370287['add'](_0x5afd44),_0x5669d6['delete'](_0x5afd44),_0x399a6d['removeMarker'](_0x5afd44),_0x3ded49=!0x0):(_0x399a6d['updateMarker'](_0x5afd44,{'range':_0x42237e}),_0x3ded49=!0x0);}return _0x3ded49;}),this['on']('change:isThreadsLoadingPaused',(_0x1fea52,_0x1e075e,_0x865e2)=>{if(!_0x865e2&&_0x5669d6['size'])for(const _0x4c1fe4 of _0x5669d6){const {id:_0x25ff08}=_0x198ee2(_0x4c1fe4);_0x5669d6['delete'](_0x4c1fe4),_0xdb27b0['model']['markers']['get'](_0x4c1fe4)&&this['_handleThreadMarker'](_0x4c1fe4,_0x25ff08);}}),this['listenTo'](_0xdb27b0['model']['document'],'change',()=>{for(const {name:_0x1380b0,data:{newRange:_0x432aca}}of _0xdb27b0['model']['document']['differ']['getChangedMarkers']()){const {group:_0xa977ee,id:_0x6bd99f}=_0x198ee2(_0x1380b0);if('comment'!==_0xa977ee)continue;const _0xb5c76f=_0x11446c['getCommentThread'](_0x6bd99f),_0x300f01=this['hasMarkerForId'](_0x6bd99f);_0xb5c76f&&(!_0xb5c76f['_hasTargetInContent']&&_0x432aca&&_0xdb27b0['editing']['view']['once']('render',()=>{const _0x2523e0=_0xdb27b0['plugins']['get'](Annotations),_0x29e3cf=_0x11446c['_threadToController']['get'](_0xb5c76f)['view'];_0x2523e0['getByInnerView'](_0x29e3cf)['refreshVisibility']();},{'priority':'low'}),_0xb5c76f['_hasTargetInContent']=_0x300f01||!!_0x432aca),_0x432aca||(_0x370287['add'](_0x1380b0),_0x5669d6['delete'](_0x1380b0));}for(const _0x3af340 of _0x370287){const {id:_0x3cfea0}=_0x198ee2(_0x3af340),_0x6bb0f5=_0x11446c['getCommentThread'](_0x3cfea0);if(_0x5669d6['delete'](_0x3af340),!_0x6bb0f5)continue;const _0x1cbf79=this['hasMarkerForId'](_0x3cfea0);_0x1cbf79||_0x6bb0f5['isSubmitted']?_0x1cbf79||_0x6bb0f5['unlinkedAt']||_0x6bb0f5['setUnlinkedAt'](new Date()):_0x6bb0f5['remove']();}_0x370287['clear']();});}['_handleInitialThreads'](_0x12da78){_0x12da78['forEach'](_0x3ef928=>{_0x3ef928['unlinkedAt']&&this['_attachArchivedThread'](_0x3ef928['id']);});}['_getTargetForId'](_0x215e10){const _0x33907c=this['editor'],_0x27908b=this['getAllMarkersForId'](_0x215e10);return _0x21d323(_0x33907c['editing'],_0x27908b);}['_getTextContext'](_0x3e718d){const _0x1c5a24=this['getAllMarkersForId'](_0x3e718d);let _0x558155='',_0x100fb7=!0x1;for(const _0x4dd591 of _0x1c5a24){const _0xe2e42=_0x4dd591['getRange']();for(const _0x505bce of Array['from'](_0xe2e42['getItems']()))_0x505bce['is']('$textProxy')?(_0x558155&&_0x100fb7&&(_0x558155+='\x20',_0x100fb7=!0x1),_0x558155+=_0x505bce['data']):_0x100fb7=!0x0;_0x100fb7=!0x0;}return _0x558155['substring'](0x0,0x96);}['_attachMarkerToThread'](_0x5d5afe,_0x12ebea){const _0x133844=this['editor'],_0x49a85e=_0x133844['plugins']['get'](CommentsRepository);let _0x5c70e0=_0x49a85e['getCommentThread'](_0x12ebea);const _0x4ebe32=_0x133844['config']['get']('collaboration.channelId'),_0x5ee0fd=_0x133844['plugins']['get'](EditorAnnotations);if(_0x5c70e0&&(_0x5c70e0['unlinkedAt']&&_0x5c70e0['setUnlinkedAt'](null),_0x5c70e0['isAttached']))return _0x5c70e0;return!this['getAllMarkersForId'](_0x12ebea)[0x0]['managedUsingOperations']?_0x133844['editing']['view']['once']('render',()=>{if(_0x49a85e['getCommentThread'](_0x12ebea))return;const _0x44c064=_0x133844['plugins']['get'](Annotations);_0x5c70e0=_0x49a85e['openNewCommentThread']({'channelId':_0x4ebe32,'threadId':_0x12ebea,'target':()=>this['_getTargetForId'](_0x12ebea),'context':{'type':'text','value':this['_getTextContext'](_0x12ebea)}});const _0x237b45=_0x49a85e['_threadToController']['get'](_0x5c70e0)['view'],_0x363de4=_0x44c064['getByInnerView'](_0x237b45);_0x363de4&&_0x5ee0fd['registerAnnotation'](_0x363de4);},{'priority':'low'}):_0x49a85e['fetchCommentThread']({'channelId':_0x4ebe32,'threadId':_0x12ebea})['then'](_0x35f1f5=>{if('destroyed'!==_0x133844['state']){if(_0x5c70e0=_0x35f1f5,_0x5c70e0&&!_0x5c70e0['isAttached']){const _0x50063e=_0x5c70e0['attachTo'](()=>this['_getTargetForId'](_0x12ebea));_0x5ee0fd['registerAnnotation'](_0x50063e),_0x5c70e0['isResolved']&&this['_reconvertMarkers'](_0x12ebea);}else{if(!_0x5c70e0){const _0x2aa4f6=this['getAllMarkersForId'](_0x12ebea);_0x133844['model']['change'](_0x917a5b=>{for(const _0x4938c0 of _0x2aa4f6)_0x917a5b['removeMarker'](_0x4938c0);});}}}}),_0x5c70e0;}['_handleThreadMarker'](_0x354c12,_0x43bf9c){const _0x16c480=this['_attachMarkerToThread'](_0x354c12,_0x43bf9c);_0x16c480&&!_0x16c480['context']&&_0x16c480['setContext']({'type':'text','value':this['_getTextContext'](_0x43bf9c)});}['_initAriaMarkerChangeAnnouncements'](){const _0x492a9c=this['editor'];_0x5588b7(_0x492a9c['model'],({left:_0x19e013,entered:_0x5d3cb5})=>{for(const _0x40c39e of _0x19e013)if(_0x3e1dda(_0x40c39e)){_0x492a9c['ui']['ariaLiveAnnouncer']['announce'](_0x4ef045(_0x492a9c['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x599f9b of _0x5d3cb5)if(_0x3e1dda(_0x599f9b)){_0x492a9c['ui']['ariaLiveAnnouncer']['announce'](_0x4ef045(_0x492a9c['locale'],'ENTER_COMMENT_ANNOUNCEMENT',_0x22b56d['getEnvKeystrokeText'](_0x463f07)));break;}});}}function _0x377692(_0x251c76,_0x66c341){return _0x66c341?_0x251c76+':'+_0x66c341:_0x251c76;}function _0x30790b(_0x52027e,_0x15b3d4){const _0x5a171c=_0x15b3d4['schema'],_0x17934f=_0x15b3d4['createRange'](_0x52027e['start']);for(const _0x515a73 of _0x52027e['getWalker']()){const {type:_0x1b429f,item:_0x5e974d,nextPosition:_0x188bba}=_0x515a73;if('text'===_0x1b429f||_0x5a171c['isObject'](_0x5e974d)){const _0x8c5f86=_0x15b3d4['createPositionBefore'](_0x5e974d);_0x17934f['isCollapsed']&&(_0x17934f['start']=_0x8c5f86),_0x17934f['end']=_0x188bba;}}return _0x17934f;}function _0x3e1dda(_0x284e59){return'comment'===_0x198ee2(_0x284e59['name'])['group'];}class CommentsUI extends _0x22b56d['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 _0x283aa2=this['editor'],_0x3ad6ab=_0x283aa2['plugins']['get'](CommentsRepository),_0x1510b4=_0x283aa2['plugins']['get'](CommentsEditing),_0xf07ef9=_0x283aa2['plugins']['get'](Annotations),_0x412166=_0x283aa2['plugins']['get'](EditorAnnotations);_0x283aa2['ui']['componentFactory']['add']('comment',()=>{const _0x42882f=this['_createUIButton'](_0x22b56d['ButtonView']);return _0x42882f['tooltip']=!0x0,_0x42882f;}),_0x283aa2['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](_0x22b56d['MenuBarMenuListItemButtonView'])),_0x412166['addSourceCollector'](()=>{const _0x31f088=[];for(const [_0xe6deda,_0x1b5d0a]of _0x3ad6ab['_threadToController']){const _0x1becad=_0x1510b4['getAllMarkersForId'](_0xe6deda['id']),_0x426af9=_0x1becad['map'](_0x32c791=>_0x32c791['getRange']());_0x1becad['length']>0x0&&_0x31f088['push']([_0x1b5d0a['view'],_0x426af9]);}return _0x31f088;}),this['listenTo'](_0xf07ef9,'change:activeAnnotations',(_0x3f4292,_0x4bced0,_0x37ee51)=>{const _0x2c0444=Array['from'](_0x37ee51)['map'](_0x3ecadd=>_0x3ecadd['innerView'])['find'](_0x2d6cae=>_0x3ad6ab['_viewToController']['has'](_0x2d6cae));if(!_0x2c0444)return void(_0x1510b4['activeMarker']=null);const _0x4be134=_0x3ad6ab['_viewToController']['get'](_0x2c0444)['model']['id'],_0x2c574f='comment:'+_0x4be134;_0x4be134&&_0x1510b4['hasMarkerForId'](_0x4be134)?_0x1510b4['activeMarker']=_0x2c574f:_0x1510b4['activeMarker']&&(_0x1510b4['activeMarker']=null);}),this['listenTo'](_0x3ad6ab,'removeCommentThread',(_0x2e9103,{threadId:_0x30699b,isFromAdapter:_0x29ac85})=>{!_0x29ac85&&_0x283aa2['ui']['focusTracker']['isFocused']&&_0x1510b4['hasMarkerForId'](_0x30699b)&&_0x283aa2['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x3ad6ab,'addComment',(_0x221aad,{threadId:_0x5658f4,isFromAdapter:_0x2abc3f})=>{if(_0x2abc3f||!_0x1510b4['hasMarkerForId'](_0x5658f4)||!_0x3ad6ab['hasCommentThread'](_0x5658f4))return;0x1===_0x3ad6ab['getCommentThread'](_0x5658f4)['length']&&(_0x283aa2['editing']['view']['focus'](),_0x221aad['stop']());},{'priority':'low'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x48fe4f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x234e08;for(const _0x40f67e in _0x48fe4f){const _0x25276a=_0x40f67e,_0x44f65b=_0x48fe4f[_0x25276a];if('commentsLicenseKeyValid'==_0x44f65b||'commentsLicenseKeyInvalid'==_0x44f65b||'commentsLicenseKeyExpired'==_0x44f65b||'commentsLicenseKeyDomainLimit'==_0x44f65b||'commentsLicenseKeyNotAllowed'==_0x44f65b||'commentsLicenseKeyEvaluationLimit'==_0x44f65b||'commentsLicenseKeyUsageLimit'==_0x44f65b){delete _0x48fe4f[_0x25276a],_0x234e08=_0x44f65b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'commentsLicenseKeyInvalid'==_0x234e08&&_0x48fe4f['_showLicenseError']('invalid'),'commentsLicenseKeyExpired'==_0x234e08&&_0x48fe4f['_showLicenseError']('expired'),'commentsLicenseKeyDomainLimit'==_0x234e08&&_0x48fe4f['_showLicenseError']('domainLimit'),'commentsLicenseKeyNotAllowed'==_0x234e08&&_0x48fe4f['_showLicenseError']('featureNotAllowed','Comments'),'commentsLicenseKeyEvaluationLimit'==_0x234e08&&_0x48fe4f['_showLicenseError']('evaluationLimit'),'commentsLicenseKeyUsageLimit'==_0x234e08&&_0x48fe4f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_createUIButton'](_0x324e78){const _0x3e4c0e=this['editor'],_0x2a5350=new _0x324e78(_0x3e4c0e['locale']),_0x541e10=_0x3e4c0e['commands']['get']('addCommentThread');return _0x2a5350['set']({'label':_0x4ef045(_0x3e4c0e['locale'],'Comment'),'icon':_0x22b56d['IconAddComment']}),_0x2a5350['bind']('isEnabled')['to'](_0x541e10,'isEnabled',_0x541e10,'hasContent',(_0x368df8,_0x25ac70)=>_0x368df8&&_0x25ac70),this['listenTo'](_0x2a5350,'execute',()=>{_0x541e10['execute']();}),_0x2a5350;}}class CommentsOnly extends _0x22b56d['Plugin']{static get['pluginName'](){return'CommentsOnly';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsEditing];}constructor(_0x6df50f){super(_0x6df50f),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x46decb,_0x253b99,_0x13a035)=>{_0x13a035?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x6afc8c,_0x113b6f]of this['editor']['commands'])_0x113b6f['affectsData']&&'addCommentThread'!==_0x6afc8c&&_0x113b6f['forceDisabled']('commentsOnlyMode');(this['editor']['plugins']['has']('DragDrop')&&this['editor']['plugins']['get']('DragDrop')['forceDisabled']('commentsOnlyMode'),this['editor']['plugins']['has']('RevisionTracker'))&&this['editor']['plugins']['get']('RevisionTracker')['forceDisabled']('commentsOnlyMode');this['editor']['plugins']['has']('SourceEditing')&&this['editor']['plugins']['get']('SourceEditing')['forceDisabled']('commentsOnlyMode');this['editor']['commands']['get']('editSource')?.['forceDisabled']('commentsOnlyMode');const _0xfa80cd=this['editor']['editing']['view']['document'];this['listenTo'](_0xfa80cd,'cut',_0x571df6=>_0x571df6['stop'](),{'priority':'highest'}),this['listenTo'](_0xfa80cd,'clipboardInput',_0x504cc4=>_0x504cc4['stop'](),{'priority':'highest'}),this['listenTo'](_0xfa80cd,'delete',_0x3254bd=>_0x3254bd['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x5b5bd9,_0x1393d6]of this['editor']['commands'])_0x1393d6['affectsData']&&'addCommentThread'!==_0x5b5bd9&&_0x1393d6['clearForceDisabled']('commentsOnlyMode');this['editor']['plugins']['has']('RevisionTracker')&&this['editor']['plugins']['get']('RevisionTracker')['clearForceDisabled']('commentsOnlyMode'),this['editor']['plugins']['has']('SourceEditing')&&this['editor']['plugins']['get']('SourceEditing')['clearForceDisabled']('commentsOnlyMode'),this['editor']['commands']['get']('editSource')?.['clearForceDisabled']('commentsOnlyMode'),this['stopListening'](this['editor']['editing']['view']['document']);}}class AnnotationsUIs extends _0x22b56d['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(_0x17626e){super(_0x17626e),this['activeUIs']=new Set(),this['_uis']=new Map(),this['uisData']=new Map();}['init'](){const _0x53f710=this['context']['plugins']['get'](Annotations);this['listenTo'](_0x53f710,'_activateAnnotation',(_0x1210cc,_0x586c27)=>{for(const _0x1819e7 of this['activeUIs']){const _0x3a0ed1=this['_uis']['get'](_0x1819e7);(0x0,this['uisData']['get'](_0x1819e7)['filter'])(_0x586c27)&&_0x3a0ed1['setActiveAnnotation'](_0x586c27);}}),this['listenTo'](_0x53f710,'_deactivateAllAnnotations',()=>{for(const _0x590fbb of this['activeUIs']){this['_uis']['get'](_0x590fbb)['setActiveAnnotation'](null);}}),this['listenTo'](_0x53f710['_visibleAnnotations'],'add',(_0x5e498f,_0x46d65e)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x46d65e);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x23b966){return this['activeUIs']['has'](_0x23b966);}['activate'](_0x6418f1,_0x293075=this['defaultFilter']){const _0x596e61=this['context']['plugins']['get'](Annotations);if(!this['_uis']['has'](_0x6418f1))throw new _0x22b56d['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x6418f1});this['isActive'](_0x6418f1)&&this['deactivate'](_0x6418f1),this['activeUIs']['add'](_0x6418f1);const _0x316d03=new AnnotationCollection();_0xcb841e({'source':_0x596e61['_visibleAnnotations'],'target':_0x316d03,'filter':_0x293075}),this['uisData']['set'](_0x6418f1,{'collection':_0x316d03,'filter':_0x293075});const _0x1d2f96=this['_uis']['get'](_0x6418f1);_0x1d2f96['attach'](_0x316d03),this['listenTo'](_0x1d2f96,'change:activeAnnotation',(_0x3cbebc,_0x344f43,_0x105531,_0x23592e)=>{_0x23592e&&_0x596e61['_removeActiveAnnotation'](_0x23592e),_0x105531&&_0x596e61['_addActiveAnnotation'](_0x105531);});}['deactivate'](_0x2f76d9){if(this['activeUIs']['delete'](_0x2f76d9),!this['_uis']['has'](_0x2f76d9))throw new _0x22b56d['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x2f76d9});const _0xb7231c=this['_uis']['get'](_0x2f76d9);_0xb7231c['detach'](),this['stopListening'](_0xb7231c),this['uisData']['get'](_0x2f76d9)['collection']['destroy'](),this['uisData']['delete'](_0x2f76d9);}['switchTo'](_0x4a4abe){if(!this['_uis']['has'](_0x4a4abe))throw new _0x22b56d['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x4a4abe});const _0x555b6a=this['context']['plugins']['get'](Annotations),_0x5e2943=Array['from'](_0x555b6a['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0x4a4abe);const _0x577cf4=this['_uis']['get'](_0x4a4abe);_0x577cf4['setActiveAnnotation'](_0x5e2943),_0x577cf4['_setSelectedAnnotations']&&_0x5e2943&&_0x577cf4['_setSelectedAnnotations']([_0x5e2943]);}['deactivateAll'](){for(const _0x2f587f of this['activeUIs'])this['deactivate'](_0x2f587f);}['register'](_0xb9f342,_0x17ae1a){if(this['_uis']['has'](_0xb9f342))throw new _0x22b56d['CKEditorError']('annotationsuis-register-already-registered');if('function'!=typeof _0x17ae1a['attach']||'function'!=typeof _0x17ae1a['detach']||'function'!=typeof _0x17ae1a['setActiveAnnotation'])throw new _0x22b56d['CKEditorError']('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0xb9f342,_0x17ae1a);}['refilterAnnotations'](){const _0x30cf5c=this['context']['plugins']['get'](Annotations)['collection'],_0x5e3a7b=new Map(),_0x1cdc80=Array['from'](this['activeUIs']);for(const _0x47c0a1 of this['activeUIs']){const _0xba4ad6=this['uisData']['get'](_0x47c0a1)['collection'];for(const _0x24d664 of _0xba4ad6)_0x5e3a7b['set'](_0x24d664,_0x47c0a1);}for(const _0x2da00c of _0x30cf5c){const _0x16893a=_0x5e3a7b['get'](_0x2da00c);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x2da00c);const _0x35ae5a=_0x1cdc80['find'](_0x3da15f=>this['uisData']['get'](_0x3da15f)['filter'](_0x2da00c));_0x16893a!==_0x35ae5a&&(_0x16893a&&this['uisData']['get'](_0x16893a)['collection']['remove'](_0x2da00c),_0x35ae5a&&this['uisData']['get'](_0x35ae5a)['collection']['add'](_0x2da00c));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['defaultFilter'](){return!0x0;}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x4dac6a){const _0xa93796=[];for(const _0xdda3da of this['activeUIs']){(0x0,this['uisData']['get'](_0xdda3da)['filter'])(_0x4dac6a)&&_0xa93796['push'](_0xdda3da);}if(_0xa93796['length']>0x1)throw new _0x22b56d['CKEditorError']('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0xa93796,'annotationType':_0x4dac6a['type']});}}const _0x2bdae6=/* #__PURE__ -- @preserve */
_0x22b56d['toUnit']('px');class AnnotationsSidebarView extends _0x22b56d['View']{['list'];['focusables'];['focusTracker'];['focusCycler'];constructor(_0x3f6436){super(_0x3f6436);const _0x4e6c1c=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 _0x22b56d['FocusTracker'](),this['focusCycler']=new _0x22b56d['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker']}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-sidebar','ck-reset',_0x4e6c1c['to']('class')],'style':{'minHeight':_0x4e6c1c['to']('minHeight',_0x2e463b=>'number'==typeof _0x2e463b?_0x2bdae6(_0x2e463b+0xa):null)},'dir':_0x3f6436['uiLanguageDirection'],'role':'application','aria-label':_0x4ef045(_0x3f6436,'Annotations\x20sidebar'),'tabindex':0x0},'children':[{'tag':'div','attributes':{'role':'list','aria-label':_0x4ef045(_0x3f6436,'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',_0x3b9c62=>{this['_updateItemPositionInFocusables'](_0x3b9c62['source']);}),this['list']['forEach'](_0x4b0abd=>{this['focusTracker']['add'](_0x4b0abd['element']),this['_updateItemPositionInFocusables'](_0x4b0abd);}),this['list']['on']('change',(_0x372e61,_0x232156)=>{for(const _0x32f05f of _0x232156['removed'])this['focusTracker']['remove'](_0x32f05f['element']),this['focusables']['remove'](_0x32f05f);for(const _0x51fbf0 of _0x232156['added'])this['focusTracker']['add'](_0x51fbf0['element']),this['_updateItemPositionInFocusables'](_0x51fbf0);}),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['listenTo'](this['element'],'focus',()=>{this['focus']();});}['_updateItemPositionInFocusables'](_0x297a96){const _0x3547b6=this['focusables']['getIndex'](_0x297a96);let _0x333f3c,_0x508dd9;for(const _0x5a925e of this['focusables'])if(_0x297a96['top']<_0x5a925e['top']){_0x333f3c=_0x5a925e;break;}if(_0x508dd9=_0x333f3c?this['focusables']['getIndex'](_0x333f3c):this['focusables']['length'],-0x1!==_0x3547b6){if(_0x3547b6===_0x508dd9-0x1)return;this['focusables']['remove'](_0x297a96),_0x508dd9=_0x333f3c?this['focusables']['getIndex'](_0x333f3c):this['focusables']['length'];}this['focusables']['add'](_0x297a96,_0x508dd9);}}const _0x5c3d2b=/* #__PURE__ -- @preserve */
_0x22b56d['toUnit']('px');class AnnotationsSidebarItemView extends _0x22b56d['View']{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x1352c1){super(_0x1352c1),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x2f680c,_0x1d2ca5)=>_0x2f680c+_0x1d2ca5),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=_0x480bab(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this);const _0x428f02=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x428f02['to']('isAnimationDisabled',_0x201c69=>_0x201c69?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x428f02['to']('top',_0x22256a=>_0x5c3d2b(_0x22256a))},'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['updateHeight'](){const _0x2f4d94=this['element']['clientHeight'];_0x2f4d94&&(this['height']=_0x2f4d94);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}}class _0x1c0f73 extends _0x22b56d['ContextPlugin']{['view'];['_activeAnnotation'];['_annotations'];['_spaceBetweenItems'];['_sidebarItemViewToAnnotation'];['_annotationToSidebarItemView'];['_recalculateBuffer'];static get['pluginName'](){return'Sidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x31e02d){super(_0x31e02d),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 _0x57c841=this['context']['config']['get']('sidebar.container');_0x57c841&&this['setContainer'](_0x57c841);}['setContainer'](_0x52c130){if(!_0x2afd61(_0x52c130))throw new _0x22b56d['CKEditorError']('sidebar-setcontainer-invalid-element');this['container']=_0x52c130;}['_attachToContainer']({viewClass:_0x4f1b5e='',spaceBetweenItems:_0x143b06=0x19}={}){if(!_0x2afd61(this['container']))throw new _0x22b56d['CKEditorError']('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x4f1b5e,this['_spaceBetweenItems']=_0x143b06;}['rearrange']({removedAnnotation:_0x31901e,previousAnnotation:_0x4fec95,nextAnnotation:_0x541b8f}){const _0xa5a9e5=this['getSidebarItemView'](_0x31901e);this['view']['list']['remove'](_0xa5a9e5),this['_destroySidebarItemView'](_0x31901e),_0x4fec95&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x4fec95)),_0x541b8f&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x541b8f)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0xce4779,activatedAnnotation:_0x57522f,disableAnimationOnActivatedAnnotation:_0x3d5c93}){if(this['_activeAnnotation']=_0x57522f,_0xce4779){_0xce4779['isActive']=!0x1;const _0x3e1837=this['getSidebarItemView'](_0xce4779);_0x3e1837&&_0x3d5c93&&(_0x3e1837['isAnimationDisabled']=!0x1);}if(_0x57522f){const _0x57f158=this['getSidebarItemView'](_0x57522f);_0x57f158&&(_0x57522f['isActive']=!0x0,_0x3d5c93&&(_0x57f158['isAnimationDisabled']=!0x0,_0x57f158['top']+=0x1),this['_alignToTargetRect'](_0x57f158));}}['_detachFromContainer'](_0x19b78d){if(this['view']['element']['remove'](),_0x19b78d){for(const _0x2d4cda of _0x19b78d)this['_destroySidebarItemView'](_0x2d4cda);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x3ca8ff,_0x4902e7){_0x4902e7||(_0x4902e7=_0x3ca8ff['view']);const _0x5ac111=new AnnotationsSidebarItemView(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0x5ac111,_0x3ca8ff),this['_annotationToSidebarItemView']['set'](_0x3ca8ff,_0x5ac111),_0x5ac111['content']['add'](_0x4902e7),this['listenTo'](_0x3ca8ff['view'],'change:targetRect',(_0x3d2062,_0x529896,_0x320189)=>{const _0x51e407=this['_getTargetTop'](_0x3ca8ff,_0x320189);_0x5ac111['_targetTop']!=_0x51e407&&(_0x5ac111['_targetTop']=_0x51e407,this['_setItemTop'](_0x5ac111,_0x51e407));}),this['listenTo'](_0x5ac111,'change:top',()=>{this['_recalculate'](_0x5ac111,'top');}),this['listenTo'](_0x5ac111,'change:bottom',()=>{this['_recalculate'](_0x5ac111,'bottom');}),this['_alignToTargetRect'](_0x5ac111);const _0x4f45c5=this['_getItemBefore'](_0x5ac111);if(_0x4f45c5)this['_alignAfterItem'](_0x4f45c5,_0x5ac111)||this['_alignToTargetRect'](_0x5ac111);else this['_alignToTargetRect'](_0x5ac111);return this['_updateLastItem'](),this['view']['list']['add'](_0x5ac111),_0x5ac111;}['_alignForTopChange'](_0x397c5e){if(!_0x397c5e['content']['length'])return;const _0x361003=this['_getItemBefore'](_0x397c5e);if(!_0x361003)return;const _0x2658b2=this['_sidebarItemViewToAnnotation']['get'](_0x361003),_0x2054cd=this['_activeAnnotation'];_0x2054cd&&_0x2054cd===_0x2658b2?this['_alignAfterItem'](_0x361003,_0x397c5e):this['_alignBeforeItem'](_0x397c5e,_0x361003);}['_alignForBottomChange'](_0x733e16){if(!_0x733e16['content']['length'])return;const _0x39ac38=this['_getItemAfter'](_0x733e16);if(!_0x39ac38)return;const _0x53f7f6=this['_sidebarItemViewToAnnotation']['get'](_0x39ac38),_0x2aae95=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x2863d7=this['_activeAnnotation'];_0x2863d7&&_0x2863d7===_0x53f7f6&&_0x2aae95?(this['_alignBeforeItem'](_0x39ac38,_0x733e16),this['_alignAfterItem'](_0x733e16,_0x39ac38)):_0x2863d7&&_0x2863d7===_0x53f7f6?this['_alignBeforeItem'](_0x39ac38,_0x733e16):this['_alignAfterItem'](_0x733e16,_0x39ac38);}['_recalculate'](_0x52f50a,_0x4c49c3){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x23ca25,changedProp:_0x1ac361}of this['_recalculateBuffer'])'top'===_0x1ac361?this['_alignForTopChange'](_0x23ca25):this['_alignForBottomChange'](_0x23ca25);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x52f50a,'changedProp':_0x4c49c3});}['getSidebarItemView'](_0x5c5fa6){return this['_annotationToSidebarItemView']['get'](_0x5c5fa6);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x540425){const _0xecbcaf=this['getSidebarItemView'](_0x540425);this['stopListening'](_0xecbcaf),this['stopListening'](_0x540425['view']),_0xecbcaf['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x540425),this['_sidebarItemViewToAnnotation']['delete'](_0xecbcaf);}['_createSidebarView'](){const _0x30c12b=new AnnotationsSidebarView(this['context']['locale']);return _0x30c12b['render'](),this['on']('change:_lastItem',(_0x2d0147,_0x4bfcd2,_0x2f8b85,_0x321eb6)=>{_0x321eb6&&_0x30c12b['unbind']('minHeight'),_0x2f8b85?_0x30c12b['bind']('minHeight')['to'](_0x2f8b85,'bottom'):_0x30c12b['minHeight']=null;}),_0x30c12b;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x1a18e4){const _0x5edb03=this['_sidebarItemViewToAnnotation']['get'](_0x1a18e4),_0xcdd7cb=_0x5edb03&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x5edb03)-0x1);return _0xcdd7cb&&this['getSidebarItemView'](_0xcdd7cb)||null;}['_getItemAfter'](_0x3060d0){const _0x405742=this['_sidebarItemViewToAnnotation']['get'](_0x3060d0),_0x4f00ad=_0x405742&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x405742)+0x1);return _0x4f00ad&&this['getSidebarItemView'](_0x4f00ad)||null;}['_alignBeforeItem'](_0x14b7b1,_0x4dc1c4){_0x14b7b1['updateHeight']();const _0x522c70=_0x46a583(_0x4dc1c4['bottom']+this['_spaceBetweenItems'],_0x14b7b1['top']);return!!_0x522c70&&(this['_setItemTop'](_0x4dc1c4,_0x4dc1c4['top']-_0x522c70),!0x0);}['_alignAfterItem'](_0x519440,_0xcb9d2f){_0x519440['updateHeight']();const _0x40f936=_0x46a583(_0x519440['bottom']+this['_spaceBetweenItems'],_0xcb9d2f['top']);return!!_0x40f936&&(this['_setItemTop'](_0xcb9d2f,_0xcb9d2f['top']+_0x40f936,!0x1),!0x0);}['_alignToTargetRect'](_0x18bbba){const _0x3a3d69=this['_sidebarItemViewToAnnotation']['get'](_0x18bbba);if(!_0x3a3d69||!_0x3a3d69['target']||!_0x3a3d69['targetRect'])return;const _0x53f536=this['_getTargetTop'](_0x3a3d69,_0x3a3d69['targetRect']);this['_setItemTop'](_0x18bbba,_0x53f536);}['_getTargetTop'](_0x51aaca,_0x10bdbc){if(null===_0x10bdbc)return 0x0;if(_0x51aaca['target']instanceof _0x22b56d['Rect'])return _0x10bdbc['top'];{const _0x50d115=new _0x22b56d['Rect'](this['view']['element'])['top'];return _0x10bdbc['top']-_0x50d115;}}['_setItemTop'](_0x7edd94,_0x113c71,_0x22bafc=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0x22bafc&&(_0x113c71=Math['max'](_0x113c71,this['_getMaxAvailableTop'](_0x7edd94))),_0x7edd94['top']=_0x113c71;}['_getMaxAvailableTop'](_0x407e5a){let _0x506ac7=this['_getItemBefore'](_0x407e5a),_0x5ac0c7=0x0;for(;_0x506ac7;)_0x506ac7['updateHeight'](),_0x5ac0c7+=this['_spaceBetweenItems']+_0x506ac7['height'],_0x506ac7=this['_getItemBefore'](_0x506ac7);return _0x5ac0c7;}}function _0x46a583(_0x4fa836,_0x1c0f96){return Math['max'](_0x4fa836-_0x1c0f96,0x0);}function _0x2afd61(_0x5443d9){return null!==_0x5443d9&&'object'==typeof _0x5443d9&&0x1===_0x5443d9['nodeType'];}class _0x2093a0 extends _0x22b56d['ContextPlugin']{['isAttached'];['annotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0x1c0f73,AnnotationsUIs];}static get['pluginName'](){return'WideSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1032f7){super(_0x1032f7),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new _0x22b56d['Collection'](),this['_refreshPositioningDebounced']=rt(()=>{_0x1032f7['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x4c1fc9=this['context']['plugins']['get'](AnnotationsUIs),_0x5bd5ad=this['context']['plugins']['get'](_0x1c0f73);_0x4c1fc9['register']('wideSidebar',this),_0x5bd5ad['container']&&_0x4c1fc9['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x2b6a72){if(_0x2b6a72===this['activeAnnotation'])return;const _0x5c84a1=this['context']['plugins']['get'](_0x1c0f73);_0x5c84a1['_activeAnnotation']=_0x2b6a72;const _0x3cbf4b=this['activeAnnotation'];_0x5c84a1['refresh']({'blurredAnnotation':_0x3cbf4b,'activatedAnnotation':_0x2b6a72}),this['activeAnnotation']=_0x2b6a72;}['attach'](_0x40dd7e){this['annotations']=_0x40dd7e;const _0x61b499=this['context']['plugins']['get'](_0x1c0f73);if(_0x61b499['_annotations']=_0x40dd7e,this['isAttached'])throw new _0x22b56d['CKEditorError']('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x61b499,'set:container',()=>{this['detach'](),this['listenTo'](_0x61b499,'change:container',_0x58875e=>{_0x58875e['off'](),this['attach'](_0x40dd7e);});}),_0x61b499['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0x1b1156=_0x34bcb4=>{_0x34bcb4['updateTargetRect'](),_0x61b499['addAnnotation'](_0x34bcb4);};for(const _0x5f4b85 of _0x40dd7e)_0x1b1156(_0x5f4b85);this['listenTo'](_0x40dd7e,'add',(_0x2f5b23,_0x4c625f)=>{_0x1b1156(_0x4c625f);}),this['listenTo'](_0x40dd7e,'remove',(_0x6e8f6e,_0x23a3f2,_0x3e41e9)=>{_0x61b499['rearrange']({'removedAnnotation':_0x23a3f2,'previousAnnotation':_0x40dd7e['get'](_0x3e41e9-0x1),'nextAnnotation':_0x40dd7e['get'](_0x3e41e9+0x1)}),_0x23a3f2===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x40dd7e,'focus',(_0x5d02da,_0xec69b6)=>{this['setActiveAnnotation'](_0xec69b6);}),this['listenTo'](_0x40dd7e,'blur',()=>{this['setActiveAnnotation'](null);});const _0x4b8dd4=this['context']instanceof _0x22b56d['Context']?this['context']['editors']:new _0x22b56d['Collection']([this['context']]);for(const _0x46a3e0 of _0x4b8dd4)this['_integrateWithEditorAnnotations'](_0x46a3e0);this['listenTo'](_0x4b8dd4,'add',(_0x42c3e7,_0x317037)=>{this['listenTo'](_0x317037,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x317037);});}),this['listenTo'](_0x4b8dd4,'remove',(_0x3a6441,_0x3fcbf8)=>{_0x3fcbf8['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x3fcbf8['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();}['detach'](){if(!this['isAttached'])throw new _0x22b56d['CKEditorError']('widesidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x3d9e95=this['context']['plugins']['get'](_0x1c0f73);_0x3d9e95['_detachFromContainer'](this['annotations']),this['stopListening'](_0x3d9e95),this['stopListening'](this['annotations']),this['context']instanceof _0x22b56d['Context']&&this['stopListening'](this['context']['editors']);for(const _0x10343b of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x10343b);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x224a5f){if(!_0x224a5f['plugins']['has']('EditorAnnotations'))return;const _0x1b7af0=_0x224a5f['plugins']['get']('EditorAnnotations'),_0x1c0c0b=()=>{const _0x28ccce=_0x1b7af0['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x28ccce[0x0]||null);};this['listenTo'](_0x1b7af0,'refresh',_0x1c0c0b),this['listenTo'](_0x1b7af0,'blur',(_0x4ce165,{isAnnotationTracked:_0x48beb8})=>{this['activeAnnotation']&&_0x48beb8(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x1b7af0,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0x1e43e5=>{_0x1b7af0['hasDomSelection']()&&(_0x1c0c0b(),_0x1e43e5['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x1b7af0);}['_destroyEditorAnnotationsIntegration'](_0x320d9b){this['stopListening'](_0x320d9b),this['_editorAnnotations']['remove'](_0x320d9b);}}class AnnotationCounterButtonView extends _0x22b56d['ButtonView']{['counterView'];constructor(_0x3aca3d){super(_0x3aca3d);const _0x587f9a=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0x1b7826,_0x41e73d)=>_0x1b7826?'...':_0x41e73d['toString']()),this['set']('annotationType',''),this['icon']=_0x22b56d['IconAddComment'],this['extendTemplate']({'attributes':{'class':['ck-annotation-counter']}}),this['counterView']=new _0x22b56d['View'](),this['counterView']['setTemplate']({'tag':'span','attributes':{'class':['ck-annotation-counter__badge',_0x587f9a['to']('annotationType',_0x182109=>'ck-annotation-counter__badge--'+_0x182109),_0x587f9a['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x587f9a['to']('_badge')}]}),this['children']['add'](this['counterView']);}}class _0xb4b3cf extends _0x22b56d['ContextPlugin']{['isAttached'];['annotations'];['_manuallyClosedAnnotationViews'];['_domEmitter'];['_annotationToNarrowView'];['_selectedAnnotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0x1c0f73,AnnotationsUIs];}static get['pluginName'](){return'NarrowSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x371ba0){super(_0x371ba0),this['isAttached']=!0x1,this['_manuallyClosedAnnotationViews']=new Set(),this['_domEmitter']=new(_0x22b56d['DomEmitterMixin']())(),this['_annotationToNarrowView']=new Map(),this['set']('activeAnnotation',null),this['annotations']=null,this['_selectedAnnotations']=[],this['_editorAnnotations']=new _0x22b56d['Collection'](),this['_refreshPositioningDebounced']=rt(()=>{this['_refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){this['context']['plugins']['get'](AnnotationsUIs)['register']('narrowSidebar',this),this['bodyCollection']=new _0x22b56d['BodyCollection'](this['context']['locale']),this['balloonPanelView']=new _0x22b56d['BalloonPanelView'](this['context']['locale']),this['bodyCollection']['attachToDom'](),this['bodyCollection']['add'](this['balloonPanelView']);}['attach'](_0x4df967){this['annotations']=_0x4df967;const _0x5272a3=this['context']['plugins']['get'](_0x1c0f73),_0x5506c3=this['balloonPanelView'];if(_0x5272a3['_annotations']=_0x4df967,this['isAttached'])throw new _0x22b56d['CKEditorError']('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x5272a3,'set:container',()=>{this['detach'](),this['listenTo'](_0x5272a3,'change:container',_0xbfe241=>{_0xbfe241['off'](),this['attach'](_0x4df967);});}),_0x5272a3['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x2bff19=_0x41df8e=>{const _0x44e552=new AnnotationCounterButtonView(this['context']['locale']);_0x5272a3['addAnnotation'](_0x41df8e,_0x44e552),this['_annotationToNarrowView']['set'](_0x41df8e,_0x44e552),_0x44e552['bind']('isDirty','annotationType','number')['to'](_0x41df8e['view'],'isDirty','type','length'),_0x44e552['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x5506c3['content']['first']!==_0x41df8e['view']?(this['_showBalloon'](_0x41df8e),_0x41df8e['view']['element']['focus'](),this['setActiveAnnotation'](_0x41df8e)):this['setActiveAnnotation'](null);});};for(const _0x22ad69 of _0x4df967)_0x2bff19(_0x22ad69);this['listenTo'](_0x4df967,'add',(_0x1c1725,_0x45afae)=>{_0x2bff19(_0x45afae);}),this['listenTo'](_0x4df967,'remove',(_0x1a9be9,_0x391a2a,_0x378898)=>{this['_annotationToNarrowView']['get'](_0x391a2a)['destroy'](),this['_annotationToNarrowView']['delete'](_0x391a2a),_0x5272a3['rearrange']({'removedAnnotation':_0x391a2a,'previousAnnotation':_0x4df967['get'](_0x378898-0x1),'nextAnnotation':_0x4df967['get'](_0x378898+0x1)}),_0x391a2a===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x4df967,'focus',(_0x3cd343,_0x429b94)=>{this['setActiveAnnotation'](_0x429b94);}),this['listenTo'](_0x4df967,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x514eae,_0x4a4e55)=>{_0x4a4e55['keyCode']===_0x22b56d['keyCodes']['esc']&&_0x5506c3['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x5506c3['content']['first']),this['_hideBalloon'](),_0x4a4e55['stopPropagation'](),_0x4a4e55['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x4d4e29,_0x1a20b4)=>{const _0xfca417=_0x1a20b4['target'];_0x5506c3['isVisible']&&_0x5506c3['element']['contains'](_0xfca417)||_0x5272a3['view']['element']['contains'](_0xfca417)||_0x4d4e29['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0x3d02c6=>_0x3d02c6['contains'](_0xfca417))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x2a586a=this['context']instanceof _0x22b56d['Context']?this['context']['editors']:new _0x22b56d['Collection']([this['context']]);for(const _0x693334 of _0x2a586a)this['_integrateWithEditorAnnotations'](_0x693334);this['listenTo'](_0x2a586a,'add',(_0x2cf40a,_0x5b7a8d)=>{this['listenTo'](_0x5b7a8d,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x5b7a8d);});}),this['listenTo'](_0x2a586a,'remove',(_0x5f0c5b,_0xe54219)=>{_0xe54219['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0xe54219['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x57f6dd){if(_0x57f6dd===this['activeAnnotation'])return;const _0x443233=this['context']['plugins']['get'](_0x1c0f73);if(_0x443233['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x57f6dd,'disableAnimationOnActivatedAnnotation':!0x0}),_0x57f6dd)_0x443233['getSidebarItemView'](_0x57f6dd)?this['_showBalloon'](_0x57f6dd):this['_hideBalloon']();else this['_hideBalloon']();this['activeAnnotation']=_0x57f6dd;}['detach'](){if(!this['isAttached'])throw new _0x22b56d['CKEditorError']('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x1313ad=this['context']['plugins']['get'](_0x1c0f73);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0xbb2ef0=>_0xbb2ef0['destroy']()),this['_annotationToNarrowView']['clear'](),_0x1313ad['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof _0x22b56d['Context']&&this['stopListening'](this['context']['editors']);for(const _0x452dac of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x452dac);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'](_0x3666e7){if(!_0x3666e7['plugins']['has']('EditorAnnotations'))return;const _0x1332e7=_0x3666e7['plugins']['get']('EditorAnnotations'),_0x9cae42=this['context']['plugins']['get'](_0x1c0f73),_0x49f44d=this['annotations'],_0xd82e0b=this['balloonPanelView'],_0x78d81e=()=>{const _0x1ac4cd=_0x1332e7['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x1ac4cd),this['setActiveAnnotation'](_0x1ac4cd[0x0]||null);};this['listenTo'](_0x1332e7,'refresh',_0x78d81e),this['listenTo'](_0x1332e7,'blur',(_0x2dea03,{isAnnotationTracked:_0x5ca8de})=>{this['activeAnnotation']&&_0x5ca8de(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x1332e7,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x49f44d,'blur',_0xba5fba=>{_0x1332e7['hasDomSelection']()&&_0xba5fba['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0xd19032,_0x1fcaf9)=>{const _0x2f40aa=_0x1fcaf9['target'];_0xd82e0b['isVisible']&&_0xd82e0b['element']['contains'](_0x2f40aa)||_0x9cae42['view']['element']['contains'](_0x2f40aa)||this['activeAnnotation']&&_0x1332e7['hasDomSelection']()&&(_0x78d81e(),_0xd19032['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x1332e7);}['_destroyEditorAnnotationsIntegration'](_0x3501aa){_0x3501aa&&(this['stopListening'](_0x3501aa),this['_editorAnnotations']['remove'](_0x3501aa));}['_setSelectedAnnotations'](_0x2a85b2){for(const _0x44b9d9 of this['_selectedAnnotations'])_0x2a85b2['includes'](_0x44b9d9)||this['_manuallyClosedAnnotationViews']['delete'](_0x44b9d9['view']);this['_selectedAnnotations']=_0x2a85b2;}['_refreshPositioning'](){const _0x28bec2=this['balloonPanelView'];this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning'](),_0x28bec2['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x46d25f){if(this['_manuallyClosedAnnotationViews']['has'](_0x46d25f['view']))return;const _0x5c2e9f=this['balloonPanelView']['content']['first'];_0x5c2e9f!==_0x46d25f['view']?(_0x5c2e9f&&this['_detachListeners'](_0x5c2e9f),this['_attachListeners'](_0x46d25f['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x46d25f['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0x12af36=this['balloonPanelView']['content']['first'],_0x1ce3bd=_0x12af36&&this['annotations']['getByView'](_0x12af36);if(!_0x1ce3bd||!this['_annotationToNarrowView']['has'](_0x1ce3bd))return;const _0x141b65=this['_annotationToNarrowView']['get'](_0x1ce3bd)['element'],_0x1aa682=(function(){const _0x930b57=_0x22b56d['BalloonPanelView']['defaultPositions'];return[_0x930b57['southArrowNorthEast'],_0x930b57['northArrowSouthEast'],_0x930b57['southArrowNorth'],_0x930b57['northArrowSouth'],_0x930b57['southArrowNorthWest'],_0x930b57['northArrowSouthWest']];}());this['balloonPanelView']['pin']({'target':_0x141b65,'positions':_0x1aa682});}['_hideBalloon'](){const _0x58f079=this['balloonPanelView'],_0x5d8169=_0x58f079['content']['first'];_0x5d8169&&(this['_detachListeners'](_0x5d8169),_0x58f079['unpin'](),_0x58f079['content']['clear']());}['_attachListeners'](_0x9e5786){this['listenTo'](_0x9e5786,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x9e5786,'Esc',(_0x32da1c,_0x122706)=>{this['_manuallyClosedAnnotationViews']['add'](_0x9e5786),this['_hideBalloon'](),_0x122706();});}['_detachListeners'](_0x2b63f9){this['stopListening'](_0x2b63f9);}}class InlineAnnotations extends _0x22b56d['Plugin']{['isAttached'];['annotations'];['_manuallyClosed'];['_balloon'];['_addedAnnotations'];['_selectedAnnotations'];['_forceRefresh'];['_refreshVisibilityDebounced'];static get['requires'](){return[EditorAnnotations,_0x22b56d['ContextualBalloon'],AnnotationsUIs];}static get['pluginName'](){return'InlineAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x48107d){super(_0x48107d),_0x48107d['editing']['view']['addObserver'](_0x22b56d['MouseObserver']),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x48107d['plugins']['get'](_0x22b56d['ContextualBalloon']),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1,this['_refreshVisibilityDebounced']=rt(()=>{this['editor']['plugins']['get']('Annotations')['refreshVisibility']();},0xfa,{'leading':!0x1});}['init'](){const _0x14332d=this['editor']['plugins']['get'](AnnotationsUIs);_0x14332d['context']===this['editor']&&(_0x14332d['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x47741f,_0x3db032)=>{const _0x58c972=this['_balloon'];if(this['isAttached']&&_0x58c972['visibleView']){const _0x367f2a=this['annotations']['getByView'](_0x58c972['visibleView']);_0x367f2a&&this['_closeAnnotation'](_0x367f2a),_0x3db032();}}));}['afterInit'](){const _0x388591=this['editor']['plugins']['get'](AnnotationsUIs);_0x388591['context']===this['editor']&&(_0x388591['hasActive']()||_0x388591['switchTo']('inline'));}['setActiveAnnotation'](_0x3d04d4){_0x3d04d4!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0x3d04d4&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0x3d04d4)&&this['_addAnnotationToBalloon'](_0x3d04d4,!0x0),_0x3d04d4['isActive']=!0x0),_0x3d04d4||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0x3d04d4);}['attach'](_0x389b78){this['annotations']=_0x389b78;const _0x1b1139=this['editor']['plugins']['get'](AnnotationsUIs),_0x545e02=this['_balloon'];if(this['isAttached'])throw new _0x22b56d['CKEditorError']('inlineannotations-attach-already-attached',this);if(_0x1b1139['context']!==this['editor'])throw new _0x22b56d['CKEditorError']('inlineannotations-not-allowed-with-context',this);const _0x1b9d1f=this['editor']['plugins']['get'](EditorAnnotations);this['listenTo'](_0x1b9d1f,'refresh',()=>{const _0x49aaad=_0x1b9d1f['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});var _0x26a221,_0x10b1b6;!this['_forceRefresh']&&(_0x26a221=_0x49aaad,_0x10b1b6=this['_selectedAnnotations'],_0x26a221['length']===_0x10b1b6['length']&&_0x26a221['every'](_0x7f1f52=>_0x10b1b6['includes'](_0x7f1f52)))||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x49aaad),this['setActiveAnnotation'](_0x49aaad[0x0]||null));}),this['listenTo'](_0x1b9d1f,'blur',(_0x789e9e,{isAnnotationTracked:_0x27916f})=>{this['activeAnnotation']&&_0x27916f(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x1b9d1f,'uiUpdate',()=>{this['_refreshVisibilityDebounced']();}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x256a0d,_0x1f9c10,_0x2bee63)=>{_0x2bee63||this['setActiveAnnotation'](null);}),this['listenTo'](_0x389b78,'remove',(_0x1de0bc,_0x2bff86)=>{this['_removeAnnotationFromBalloon'](_0x2bff86),_0x2bff86===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x545e02,'change:visibleView',(_0x1f73c8,_0x5504d,_0x42746f,_0x4d07f4)=>{_0x4d07f4&&this['stopListening'](_0x4d07f4);const _0x782f94=_0x389b78['getByView'](_0x42746f);_0x42746f&&_0x782f94&&(this['listenTo'](_0x42746f,'change:height',()=>{_0x545e02['updatePosition']();}),this['listenTo'](_0x42746f,'Esc',()=>{this['_closeAnnotation'](_0x782f94),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0x782f94&&this['setActiveAnnotation'](_0x782f94));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0x545e02['visibleView']&&(_0x389b78['getByView'](_0x545e02['visibleView'])&&_0x545e02['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 _0x22b56d['CKEditorError']('inlineannotations-detach-not-attached',this);this['setActiveAnnotation'](null);for(const _0x1d1c50 of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0x1d1c50);this['_refreshVisibilityDebounced']['cancel'](),this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach'](),this['_refreshVisibilityDebounced']['cancel']();}['_setSelectedAnnotations'](_0x1ba0b0){for(const _0x386b72 of this['_selectedAnnotations'])_0x1ba0b0['includes'](_0x386b72)||this['_manuallyClosed']['delete'](_0x386b72);for(const _0xdc940e of this['annotations'])_0x1ba0b0['includes'](_0xdc940e)||this['_removeAnnotationFromBalloon'](_0xdc940e);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0x5410f3 of _0x1ba0b0)this['_addAnnotationToBalloon'](_0x5410f3);}this['_selectedAnnotations']=_0x1ba0b0;}['_addAnnotationToBalloon'](_0x188bed,_0x22b5b6=!0x1){this['_manuallyClosed']['has'](_0x188bed)||(this['_addedAnnotations']['has'](_0x188bed)||this['_balloon']['hasView'](_0x188bed['view'])||(this['_addedAnnotations']['add'](_0x188bed),this['_balloon']['add']({'stackId':_0x188bed['view']['id'],'view':_0x188bed['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x188bed)}})),_0x22b5b6&&this['_balloon']['showStack'](_0x188bed['view']['id']));}['_getBalloonTargetForAnnotation'](_0x2bcede){const _0x357f64=_0x2bcede['target'],_0x74b9f6=this['editor']['editing']['view'],_0x1b8e75=_0x74b9f6['document']['selection']['getFirstRange'](),_0x27fcd5=_0x74b9f6['domConverter']['viewRangeToDom'](_0x1b8e75);if(_0x27fcd5['collapse'](!0x0),_0x357f64){if(_0x357f64 instanceof _0x22b56d['Rect'])return _0x357f64;let _0x5017c1=[];for(const _0x531623 of _0x357f64)_0x5017c1['push'](..._0x313ccb(_0x531623['getClientRects']()));_0x5017c1=function(_0x1c202e){const _0x4a0617=[];let _0x5dbcb6=_0x1c202e[0x0];for(let _0x579bbe=0x1;_0x579bbe<_0x1c202e['length'];_0x579bbe++)_0x267b19(_0x5dbcb6,_0x1c202e[_0x579bbe])?_0x5dbcb6['width']+=_0x1c202e[_0x579bbe]['width']:(_0x4a0617['push'](_0x5dbcb6),_0x5dbcb6=_0x1c202e[_0x579bbe]);return _0x4a0617['push'](_0x5dbcb6),_0x4a0617;}(_0x5017c1);const _0x26b3a8=_0x27fcd5['getBoundingClientRect']();return _0x5017c1['find'](_0x2a8365=>_0x2a8365['top']<=_0x26b3a8['top']&&_0x2a8365['bottom']>=_0x26b3a8['bottom']&&_0x2a8365['left']<=_0x26b3a8['left']&&_0x2a8365['right']>=_0x26b3a8['right'])||_0x5017c1[0x0];}return _0x2bcede['targetRect']||_0x27fcd5;}['_removeAnnotationFromBalloon'](_0x3a6fc9){this['_addedAnnotations']['has'](_0x3a6fc9)&&this['_balloon']['hasView'](_0x3a6fc9['view'])&&(this['_addedAnnotations']['delete'](_0x3a6fc9),this['_balloon']['remove'](_0x3a6fc9['view']));}['_closeAnnotation'](_0x5dc7f4){this['_manuallyClosed']['add'](_0x5dc7f4),this['_removeAnnotationFromBalloon'](_0x5dc7f4);}}function _0x313ccb(_0xda52da){return Array['from'](_0xda52da)['map'](DOMRect['fromRect']);}function _0x267b19(_0x200ebc,_0xc129dd){return _0x200ebc['top']===_0xc129dd['top']&&_0x200ebc['bottom']===_0xc129dd['bottom']&&_0x200ebc['right']===_0xc129dd['left'];}class CommentsArchiveView extends _0x22b56d['View']{['focusTracker'];['focusCycler'];['_annotationViews'];constructor(_0x1c9873,_0x28dacb){super(_0x1c9873),this['set']('isEmpty',!_0x28dacb['length']),this['focusTracker']=new _0x22b56d['FocusTracker'](),this['_annotationViews']=_0x28dacb,this['_annotationViews']['delegate']('arrowup','arrowdown')['to'](this),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['focusCycler']=new _0x22b56d['FocusCycler']({'focusables':_0x28dacb,'focusTracker':this['focusTracker']}),this['listenTo'](_0x28dacb,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x28dacb,'remove',(_0x38acf2,_0x421a22)=>{_0x421a22['isActive']&&this['focus'](),_0x28dacb['length']||(this['isEmpty']=!0x0);});const _0x32c2b5=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1,'role':'list','aria-label':_0x4ef045(_0x1c9873,'COMMENTS_ARCHIVE_LIST_LABEL')},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content'],'role':'presentation'},'children':[{'tag':'div','attributes':{'role':'presentation'},'children':_0x28dacb},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x32c2b5['if']('isEmpty','ck-hidden',_0x4344f0=>!_0x4344f0)]},'children':[{'text':_0x4ef045(_0x1c9873,'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 _0x5ba430 of this['_annotationViews'])this['focusTracker']['add'](_0x5ba430['element']);this['_annotationViews']['on']('change',(_0x269203,{added:_0x1ab4a2,removed:_0x4212c7})=>{for(const _0x2a486c of _0x1ab4a2)this['focusTracker']['add'](_0x2a486c['element']);for(const _0xf8fb70 of _0x4212c7)this['focusTracker']['remove'](_0xf8fb70['element']);});}}class CommentsArchive extends _0x22b56d['ContextPlugin']{static get['pluginName'](){return'CommentsArchive';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsRepository,Annotations];}constructor(_0x4a8aa4){super(_0x4a8aa4),this['archivedThreads']=new _0x22b56d['Collection']();}['init'](){const _0x36b0af=this['context'],_0x3333=_0x36b0af['plugins']['get'](CommentsRepository),_0x4e5b9b=_0x36b0af['plugins']['get'](Annotations);this['listenTo'](_0x3333,'addCommentThread',(_0x430752,{threadId:_0x233cbf})=>{const _0x11b0a7=_0x3333['getCommentThread'](_0x233cbf);_0x11b0a7['archivedAt']&&this['archivedThreads']['add'](_0x11b0a7,this['_calculatePosition'](_0x11b0a7['archivedAt'])),this['listenTo'](_0x11b0a7,'change:archivedAt',(_0x3609f7,_0xa2cfcb,_0xded16f)=>{_0xded16f?this['archivedThreads']['has'](_0x11b0a7)||this['archivedThreads']['add'](_0x11b0a7,this['_calculatePosition'](_0x11b0a7['archivedAt'])):this['archivedThreads']['has'](_0x11b0a7)&&this['archivedThreads']['remove'](_0x11b0a7);});}),this['listenTo'](_0x3333,'removeCommentThread',(_0x482150,{threadId:_0x3b4440})=>{const _0x2eee3c=_0x3333['getCommentThread'](_0x3b4440);this['stopListening'](_0x2eee3c),this['archivedThreads']['has'](_0x2eee3c)&&this['archivedThreads']['remove'](_0x2eee3c);},{'priority':'highest'}),this['listenTo'](_0x4e5b9b['collection'],'focus',(_0x4e5d08,_0x366b40)=>{_0x366b40['isVisible']||(_0x366b40['isActive']=!0x0,_0x4e5b9b['activate'](_0x366b40));});}['_calculatePosition'](_0xf839b0){const _0x502f55=[...this['archivedThreads']]['findIndex'](_0x47877e=>_0x47877e['archivedAt']<_0xf839b0);return _0x502f55>-0x1?_0x502f55:this['archivedThreads']['length'];}}class CommentsArchiveUI extends _0x22b56d['Plugin']{['commentsArchiveView'];['annotationViews'];['_pendingThreads'];static get['pluginName'](){return'CommentsArchiveUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[CommentsArchive,_0x22b56d['Dialog']];}constructor(_0xbbce3d){super(_0xbbce3d),this['annotationViews']=new _0x22b56d['ViewCollection'](),this['_pendingThreads']=[];}['init'](){const _0x5c1b9a=this['editor'],_0x125f97=this['_hideDialogOnAnnotationEscape']['bind'](this);_0x5c1b9a['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](_0x22b56d['ButtonView'],!0x0)),_0x5c1b9a['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>{const _0x2655c5=this['_createCommentsArchiveButton'](_0x22b56d['MenuBarMenuListItemButtonView']);return _0x2655c5['set']({'role':'menuitemcheckbox'}),_0x2655c5;});const _0xb90e9b=_0x5c1b9a['plugins']['get'](CommentsArchive),_0x354b53=_0x5c1b9a['plugins']['get']('Annotations'),_0x433135=_0x5c1b9a['plugins']['get']('CommentsRepository');_0xb90e9b['archivedThreads']['forEach'](_0x3e7012=>{this['_handleNewThread'](_0x3e7012);}),this['listenTo'](_0xb90e9b['archivedThreads'],'add',(_0x654cf4,_0x1f02d6)=>{this['_handleNewThread'](_0x1f02d6);}),this['listenTo'](_0x354b53['collection'],'add',(_0x22102c,_0x21bbad)=>{const _0x3bcf8f=this['_pendingThreads']['find'](_0x2e6d81=>{const _0x32233=_0x433135['_threadToController']['get'](_0x2e6d81);return _0x32233&&_0x21bbad['innerView']===_0x32233['view'];});if(_0x3bcf8f){const _0x5cac23=this['_calculatePosition'](_0x3bcf8f['archivedAt']);this['_addAnnotationToArchive'](_0x21bbad,_0x5cac23),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x3bcf8f),0x1);}}),this['listenTo'](_0xb90e9b['archivedThreads'],'remove',(_0x46bb12,_0x20ac70)=>{const _0x52e2ca=_0x5c1b9a['config']['get']('collaboration.channelId');if(!_0x52e2ca||_0x20ac70['channelId']===_0x52e2ca){if(this['_pendingThreads']['includes'](_0x20ac70))this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x20ac70),0x1);else{const _0x2b1d8e=_0x433135['_threadToController']['get'](_0x20ac70),_0x2cf51a=_0x354b53['getByInnerView'](_0x2b1d8e['view']);this['annotationViews']['remove'](_0x2cf51a['view']),this['stopListening'](_0x2cf51a),this['stopListening'](_0x2cf51a['focusableElements']);}}}),this['listenTo'](_0x354b53['collection'],'add',(_0x558f1f,_0x5dcf41)=>{this['listenTo'](_0x5dcf41,'escape',_0x125f97);}),this['listenTo'](_0x354b53['collection'],'remove',(_0x59c668,_0x157a46)=>{this['stopListening'](_0x157a46,'escape',_0x125f97);});}['_addAnnotationToArchive'](_0x12bc3a,_0x4052b1){this['listenTo'](_0x12bc3a,'set:isVisible',_0x4ce52f=>{_0x4ce52f['return']=!0x1,_0x4ce52f['stop']();}),this['annotationViews']['add'](_0x12bc3a['view'],_0x4052b1);}['_handleNewThread'](_0x330482){const _0x2e0aba=this['editor']['plugins']['get']('CommentsRepository'),_0x3f0a68=this['editor']['plugins']['get']('Annotations'),_0x4c043f=this['editor']['config']['get']('collaboration.channelId');if(!_0x4c043f||_0x330482['channelId']===_0x4c043f){const _0x23329=_0x2e0aba['_threadToController']['get'](_0x330482);if(!_0x23329)return void this['_pendingThreads']['push'](_0x330482);const _0x33afc2=this['_calculatePosition'](_0x330482['archivedAt']),_0x159eb4=_0x3f0a68['getByInnerView'](_0x23329['view']);_0x159eb4['isVisible']&&_0x3f0a68['_visibleAnnotations']['remove'](_0x159eb4),this['_addAnnotationToArchive'](_0x159eb4,_0x33afc2);}}['_calculatePosition'](_0x4878e7){const _0x40e463=this['editor']['config']['get']('collaboration.channelId'),_0x43645a=[...this['editor']['plugins']['get'](CommentsArchive)['archivedThreads']]['filter'](_0x179796=>_0x179796['channelId']===_0x40e463)['findIndex'](_0x2b182f=>_0x2b182f['archivedAt']<_0x4878e7);return _0x43645a<0x0||_0x43645a>this['annotationViews']['length']?this['annotationViews']['length']:_0x43645a-0x1;}['_toggleDialog'](){const _0x2e0a0b=this['editor'],_0x3d336b=_0x2e0a0b['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new CommentsArchiveView(_0x2e0a0b['locale'],this['annotationViews'])),'commentsArchive'===_0x3d336b['id']?_0x3d336b['hide']():_0x3d336b['show']({'id':'commentsArchive','title':_0x4ef045(_0x2e0a0b['locale'],'COMMENTS_ARCHIVE'),'icon':_0x22b56d['IconCommentsArchive'],'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':_0x22b56d['DialogViewPosition']['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0xf4cec6,_0x4272a4=!0x1){const _0x40bc8f=this['editor']['locale'],_0x41aa18=this['editor']['plugins']['get']('Dialog'),_0x1e6a7b=new _0xf4cec6(_0x40bc8f);return _0x1e6a7b['bind']('isEnabled')['to'](this,'isEnabled'),_0x1e6a7b['bind']('isOn')['to'](_0x41aa18,'id',_0xb8fe1=>'commentsArchive'===_0xb8fe1),_0x1e6a7b['set']({'label':_0x4ef045(_0x40bc8f,'COMMENTS_ARCHIVE'),'icon':_0x22b56d['IconCommentsArchive'],'isToggleable':!0x0}),_0x4272a4&&(_0x1e6a7b['tooltip']=!0x0),this['listenTo'](_0x1e6a7b,'execute',()=>this['_toggleDialog']()),_0x1e6a7b;}['_hideDialogOnAnnotationEscape']=_0x5735b0=>{const _0x320d47=_0x5735b0['source'];if(!this['annotationViews']['has'](_0x320d47['view']))return;const _0x3fda88=this['editor']['plugins']['get']('Dialog');_0x3fda88['isOpen']&&'commentsArchive'===_0x3fda88['id']&&(_0x3fda88['hide'](),_0x5735b0['stop']());};}class Comments extends _0x22b56d['Plugin']{static get['requires'](){return[CommentsRepository,CommentsEditing,CommentsUI,CommentsArchive,CommentsArchiveUI,CommentsOnly,_0x2093a0,_0xb4b3cf,InlineAnnotations];}static get['pluginName'](){return'Comments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function _0x4def6b(_0x535981){let _0xda5d28='';for(const _0xc719a9 of _0x535981['getChildren']())_0xc719a9 instanceof _0x22b56d['ModelText']&&(_0xda5d28+=_0xc719a9['data']);return _0xda5d28;}class DocumentOutlineUtils extends _0x22b56d['Plugin']{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x1dc24e=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x180b0f=[];_0x1dc24e['model']['document']['on']('change',rt(()=>{const _0x3d46e6=_0x180b0f;_0x180b0f=this['_getOutlineDefinitions']();const _0x40bc2c=_0x22b56d['diff'](_0x3d46e6,_0x180b0f,(_0x5314a9,_0x1cb569)=>_0x5314a9['level']===_0x1cb569['level']&&_0x5314a9['text']===_0x1cb569['text']&&_0x5314a9['modelElement']===_0x1cb569['modelElement']),_0x265cd2=_0x22b56d['diffToChanges'](_0x40bc2c,_0x180b0f),_0x1330c3=this['_getActiveHeading'](),_0x1608cf=_0x180b0f['findIndex'](_0x47e7af=>_0x47e7af['modelElement']===_0x1330c3);_0x265cd2['length']&&this['fire']('change',{'outlineDefinitions':_0x180b0f,'activeItemIndex':_0x1608cf,'outlineChanges':_0x265cd2}),this['fire']('activeItemIndex',{'index':_0x1608cf});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x1fabb0=this['editor'],_0x5d8ee2=[],_0x446285=this['_headingNames'];for(const _0x3e5420 of _0x1fabb0['model']['document']['getRootNames']())_0x3763ee(_0x1fabb0['model']['document']['getRoot'](_0x3e5420));function _0x3763ee(_0x100cef){for(const _0x48b5e6 of _0x100cef['getChildren']())_0x48b5e6['is']('element')&&(_0x446285['includes'](_0x48b5e6['name'])&&_0x5d8ee2['push']({'level':_0x446285['indexOf'](_0x48b5e6['name'])+0x1,'text':_0x4def6b(_0x48b5e6),'modelElement':_0x48b5e6}),_0x3763ee(_0x48b5e6));}return _0x5d8ee2;}['_getActiveHeading'](){const _0x520af=this['editor']['model']['document']['selection']['getFirstPosition'](),_0x539dda=new _0x22b56d['ModelTreeWalker']({'direction':'backward','startPosition':_0x520af});for(const _0x107c72 of _0x539dda)if(_0x107c72['item']['is']('element')&&this['_headingNames']['includes'](_0x107c72['item']['name']))return _0x107c72['item'];}['_getHeadingNames'](){const _0x2f18f9=this['editor']['config']['get']('documentOutline.headings');return _0x2f18f9||function(_0x28937c){const _0x5dce38=_0x28937c['config']['get']('heading.options');return _0x5dce38?_0x5dce38['reduce']((_0x3a6c56,_0x9bef14)=>('paragraph'!==_0x9bef14['model']&&_0x3a6c56['push'](_0x9bef14['model']),_0x3a6c56),[]):_0x28937c['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x332171=this['editor'],_0x3a8574=['h1','h2','h3','h4','h5','h6'],_0xe3a77a=[];for(const _0x3e9da5 of _0x3a8574){const _0xb3ec8a=_0x332171['editing']['view']['domConverter']['domToView'](document['createElement'](_0x3e9da5)),_0x16e182=_0x332171['data']['toModel'](_0xb3ec8a)['getChild'](0x0);_0x16e182?.['is']('element')&&_0xe3a77a['push'](_0x16e182['name']);}this['_headingNames']=_0xe3a77a;}}function _0x170b48(_0x19cf5f,_0x3a3913){const t=_0x19cf5f['t'];switch(_0x3a3913){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 _0x3a3913;}}class DocumentOutlineItemView extends _0x22b56d['View']{constructor(_0x551ba4,_0x4e7f77=!0x1){super(_0x551ba4);const _0x3e4b14=this['bindTemplate'],_0x4aec3b=_0x4e7f77?'['+_0x170b48(_0x551ba4,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x531d0f=>!_0x531d0f),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x3e4b14['to']('level',_0x23fa2b=>'ck-document-outline__item_level-'+_0x23fa2b),_0x3e4b14['if']('isActive','ck-document-outline__item_active'),_0x3e4b14['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x3e4b14['to']('text')},'children':[{'text':_0x3e4b14['to']('text',_0x518da4=>_0x518da4||_0x4aec3b)}],'on':{'click':_0x3e4b14['to']('click')}});}}class DocumentOutlineView extends _0x22b56d['View']{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0xece6da,_0x1715d5=!0x1,_0x2be3e8){super(_0xece6da),this['showEmptyHeadingText']=_0x1715d5,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x2be3e8,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x4907ac,_0x859efd,_0x1d3e1e,_0x30cacb)=>{this['_setActiveItem'](_0x30cacb,_0x1d3e1e);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0xece6da['contentLanguageDirection'],'data-document-outline-empty-placeholder':_0x170b48(_0xece6da,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x5d0abb){_0x5d0abb['forEach'](_0x3ffca9=>{'insert'==_0x3ffca9['type']?this['_insertItem'](_0x3ffca9['index'],..._0x3ffca9['values']):'delete'==_0x3ffca9['type']&&this['_deleteItem'](_0x3ffca9['index'],_0x3ffca9['howMany']);});}['_setActiveItem'](_0x157463,_0x2a4456){if(-0x1!==_0x157463){const _0x165dcb=this['items']['get'](_0x157463);_0x165dcb&&(_0x165dcb['isActive']=!0x1);}-0x1!==_0x2a4456&&(this['items']['get'](_0x2a4456)['isActive']=!0x0,this['_scrollToItem'](_0x2a4456));}['_insertItem'](_0x5a1289,..._0x162301){const _0x575fa6=_0x162301['map']((_0x59f05f,_0x514095)=>{const _0x1c914e=new DocumentOutlineItemView(this['locale'],this['showEmptyHeadingText']);return _0x1c914e['text']=_0x59f05f['text'],_0x1c914e['level']=_0x59f05f['level'],_0x5a1289+_0x514095===this['activeItemIndex']&&(_0x1c914e['isActive']=!0x0),_0x1c914e;});this['items']['addMany'](_0x575fa6,_0x5a1289);}['_deleteItem'](_0x4e7c4a,_0x575b03){do{this['items']['remove'](_0x4e7c4a);}while(--_0x575b03);}['_handleItemClick'](_0x133073){const _0x191751=this['items']['getIndex'](_0x133073['source']);this['fire']('itemSelected',_0x191751);}['_scrollToItem'](_0x81d605){_0x22b56d['scrollAncestorsToShowTarget'](this['items']['get'](_0x81d605)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}}class DocumentOutlineUI extends _0x22b56d['Plugin']{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x42b697){super(_0x42b697),this['view']=new DocumentOutlineView(_0x42b697['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=ot(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x19527e=this['editor'],_0x562fe2=_0x19527e['plugins']['get']('DocumentOutlineUtils');let _0x55f773=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x19527e['config']['get']('documentOutline.container'))throw new _0x22b56d['CKEditorError']('document-outline-container-not-provided',{'editor':_0x19527e});_0x19527e['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x562fe2['on']('change',this['_handleOutlineChange']['bind'](this)),_0x562fe2['on']('activeItemIndex',(_0x321907,{index:_0x168aac})=>this['_setActiveViewItem'](_0x168aac)),this['view']['on']('itemSelected',(_0x4da2d0,_0x1fc87c)=>{_0x55f773=!0x0,this['_handleItemSelected'](_0x1fc87c);}),this['view']['listenTo'](_0x22b56d['global']['document'],'scroll',()=>{_0x55f773?_0x55f773=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x22b56d['global']['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x30ad91){const _0x29a4eb=_0x5080bb([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]),_0x1a53ea=0x1cb264a3,_0x46bd0b=0x1cb5eecb^_0x1a53ea,_0x3cf43f=window[_0x5080bb([0x44,0x61,0x74,0x65])][_0x5080bb([0x6e,0x6f,0x77])](),_0x3ca842=_0x30ad91[_0x5080bb([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x50250b=new window[(_0x5080bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x457043=>{_0x3ca842[_0x5080bb([0x6f,0x6e,0x63,0x65])](_0x5080bb([0x72,0x65,0x61,0x64,0x79]),_0x457043);}),_0x32d1f7={[_0x5080bb([0x6b,0x74,0x79])]:_0x5080bb([0x45,0x43]),[_0x5080bb([0x75,0x73,0x65])]:_0x5080bb([0x73,0x69,0x67]),[_0x5080bb([0x63,0x72,0x76])]:_0x5080bb([0x50,0x2d,0x32,0x35,0x36]),[_0x5080bb([0x78])]:_0x5080bb([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]),[_0x5080bb([0x79])]:_0x5080bb([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]),[_0x5080bb([0x61,0x6c,0x67])]:_0x5080bb([0x45,0x53,0x32,0x35,0x36])},_0x2e5ab8=_0x3ca842[_0x5080bb([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5080bb([0x67,0x65,0x74])](_0x5080bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x19aa1c(){let _0x5f13fc,_0x592d11=null,_0x1e6d17=null;try{if(_0x2e5ab8==_0x5080bb([0x47,0x50,0x4c]))return _0x5080bb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5f13fc=_0x344680(),!_0x5f13fc)return _0x5080bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5f13fc[_0x5080bb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e6d17=_0x377efc(_0x5f13fc[_0x5080bb([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5f13fc[_0x5080bb([0x6a,0x74,0x69])])),await _0xc0286a()?_0x4cec74()?_0xe6408c()?_0x5080bb([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x21ef78()?(_0x5f13fc[_0x5080bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5080bb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x592d11=_0x5ae4c1(_0x5080bb([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4e63d4()):_0x5080bb([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5080bb([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5080bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5080bb([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xe6408c(){const _0x8673a5=[_0x5080bb([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5080bb([0x74,0x72,0x69,0x61,0x6c])][_0x5080bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f13fc[_0x5080bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3cf43f/0x3e8:0xe10*_0x46bd0b;return _0x5f13fc[_0x5080bb([0x65,0x78,0x70])]<_0x8673a5;}function _0x4cec74(){const _0x4458ed=_0x5f13fc[_0x5080bb([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4458ed&&(!!_0x4458ed[_0x5080bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5080bb([0x2a]))||(!!_0x4458ed[_0x5080bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5080bb([0x44,0x4f]))||(!!_0x4458ed[_0x5080bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5080bb([0x50,0x50]))||!(!_0x4458ed[_0x5080bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5080bb([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x48c3e7()))));}function _0x21ef78(){const _0x21e375=_0x5f13fc[_0x5080bb([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x21e375||0x0==_0x21e375[_0x5080bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5abf87}=new URL(window[_0x5080bb([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x21e375[_0x5080bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5abf87))return!0x0;const _0x10e12f=_0x5abf87[_0x5080bb([0x73,0x70,0x6c,0x69,0x74])](_0x5080bb([0x2e]));return _0x21e375[_0x5080bb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e9377=>_0x2e9377[_0x5080bb([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5080bb([0x2a])))[_0x5080bb([0x6d,0x61,0x70])](_0x47948b=>_0x47948b[_0x5080bb([0x73,0x70,0x6c,0x69,0x74])](_0x5080bb([0x2e])))[_0x5080bb([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13d0ab=>_0x13d0ab[_0x5080bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x10e12f[_0x5080bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5080bb([0x6d,0x61,0x70])](_0x3ec45d=>Array(_0x10e12f[_0x5080bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3ec45d[_0x5080bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5080bb([0x66,0x69,0x6c,0x6c])](_0x3ec45d[0x0]===_0x5080bb([0x2a])?_0x5080bb([0x2a]):'')[_0x5080bb([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3ec45d))[_0x5080bb([0x73,0x6f,0x6d,0x65])](_0x126ebe=>_0x10e12f[_0x5080bb([0x65,0x76,0x65,0x72,0x79])]((_0x8ef931,_0x37d50d)=>_0x126ebe[_0x37d50d]===_0x8ef931||_0x126ebe[_0x37d50d]===_0x5080bb([0x2a])));}function _0x4e63d4(){return _0x592d11&&_0x1e6d17?new window[(_0x5080bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x133334,_0x415b18)=>{_0x592d11[_0x5080bb([0x74,0x68,0x65,0x6e])](_0x133334,_0x415b18),_0x1e6d17[_0x5080bb([0x74,0x68,0x65,0x6e])](_0x4abad3=>{_0x4abad3!=_0x5080bb([0x56,0x61,0x6c,0x69,0x64])&&_0x133334(_0x4abad3);},_0x415b18);}):_0x592d11||_0x1e6d17||_0x5080bb([0x56,0x61,0x6c,0x69,0x64]);}}function _0x377efc(_0x11c025,_0x55f23f){return new window[(_0x5080bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59e746=>{if(_0x4198c6())return _0x59e746(_0x5080bb([0x56,0x61,0x6c,0x69,0x64]));_0x5bc43f(),_0x3ca842[_0x5080bb([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5080bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2bcf2c=!0x1;const _0x4182c8=_0x22b56d['uid']();function _0x9be98c(_0xff9ea5){return!!_0xff9ea5&&(typeof _0xff9ea5===_0x5080bb([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xff9ea5===_0x5080bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xff9ea5[_0x5080bb([0x74,0x68,0x65,0x6e])]===_0x5080bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xff9ea5[_0x5080bb([0x63,0x61,0x74,0x63,0x68])]===_0x5080bb([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x490137(_0x446b3d){_0x1f4a66(_0x446b3d)[_0x5080bb([0x74,0x68,0x65,0x6e])](_0x3fa8ff=>{if(!_0x3fa8ff||_0x3fa8ff[_0x5080bb([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5080bb([0x6f,0x6b]))return _0x5080bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x316a97(_0x2971b3(_0x4182c8+_0x55f23f))!=_0x3fa8ff[_0x5080bb([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5080bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5080bb([0x56,0x61,0x6c,0x69,0x64]);})[_0x5080bb([0x74,0x68,0x65,0x6e])](_0x4da147=>(_0x38f4bc(),_0x4da147),()=>{const _0x57c188=_0x5bef24();return null==_0x57c188?(_0x38f4bc(),_0x5080bb([0x56,0x61,0x6c,0x69,0x64])):_0x5080bb(_0x3cf43f-_0x57c188>(0x38bee0a3^_0x1a53ea)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5080bb([0x74,0x68,0x65,0x6e])](_0x59e746)[_0x5080bb([0x63,0x61,0x74,0x63,0x68])](()=>{_0x59e746(_0x5080bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x466d07=0x1c848a23^_0x1a53ea;function _0x38f4bc(){const _0x33857c=_0x5080bb([0x6c,0x6c,0x63,0x74,0x2d])+_0x316a97(_0x2971b3(_0x11c025)),_0x5a16ba=_0x5a70a8(_0x316a97(window[_0x5080bb([0x4d,0x61,0x74,0x68])][_0x5080bb([0x63,0x65,0x69,0x6c])](_0x3cf43f/_0x466d07)));window[_0x5080bb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5080bb([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x33857c,_0x5a16ba);}function _0x5bef24(){const _0x3bd8bd=_0x5080bb([0x6c,0x6c,0x63,0x74,0x2d])+_0x316a97(_0x2971b3(_0x11c025)),_0x48a45e=window[_0x5080bb([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5080bb([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3bd8bd);return _0x48a45e?window[_0x5080bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a70a8(_0x48a45e),0x10)*_0x466d07:null;}function _0x1f4a66(_0x16f470){return new window[(_0x5080bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x325ad1,_0x419745)=>{_0x16f470[_0x5080bb([0x74,0x68,0x65,0x6e])](_0x325ad1,_0x419745),window[_0x5080bb([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x419745,0x1cb3b063^_0x1a53ea);});}}_0x3ca842[_0x5080bb([0x6f,0x6e])](_0x5080bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x241b88,_0x34de1c)=>{if(_0x34de1c[0x0]!=_0x11c025)return _0x59e746(_0x5080bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x34de1c[0x1]={..._0x34de1c[0x1],[_0x5080bb([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4182c8};},{[_0x5080bb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5080bb([0x68,0x69,0x67,0x68])}),_0x3ca842[_0x5080bb([0x6f,0x6e])](_0x5080bb([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x408a5e=>{_0x9be98c(_0x408a5e[_0x5080bb([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2bcf2c=!0x0,_0x490137(_0x408a5e[_0x5080bb([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5080bb([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5080bb([0x6c,0x6f,0x77])}),_0x50250b[_0x5080bb([0x74,0x68,0x65,0x6e])](()=>{_0x2bcf2c||_0x59e746(_0x5080bb([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4198c6(){return _0x3ca842[_0x5080bb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5080bb([0x76,0x69,0x65,0x77])][_0x5080bb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5080bb([0x61,0x75,0x74,0x6f]);}function _0x5bc43f(){_0x3ca842[_0x5080bb([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5080bb([0x76,0x69,0x65,0x77])][_0x5080bb([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5080bb([0x61,0x75,0x74,0x6f]);}}function _0x5ae4c1(_0x4c1be0){const _0x1936c0=[new window[(_0x5080bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3278a6=>setTimeout(_0x3278a6,0x1cbb5a6f^_0x1a53ea)),_0x50250b[_0x5080bb([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5080bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a509a=>{let _0x45f09f=0x0;_0x3ca842[_0x5080bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x5080bb([0x6f,0x6e])](_0x5080bb([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x200804,_0x440b46)=>{_0x440b46[0x0][_0x5080bb([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x45f09f++,_0x45f09f==(0x1cb2614b^_0x1a53ea)&&(_0x3a509a(),_0x200804[_0x5080bb([0x6f,0x66,0x66])]());});}))];return window[_0x5080bb([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5080bb([0x72,0x61,0x63,0x65])](_0x1936c0)[_0x5080bb([0x74,0x68,0x65,0x6e])](()=>_0x4c1be0);}async function _0x11a38(){await _0x50250b,_0x3ca842[_0x5080bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x5080bb([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa36512,_0x3ca842[_0x5080bb([0x6d,0x6f,0x64,0x65,0x6c])][_0x5080bb([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa36512,_0x3ca842[_0x5080bb([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5080bb([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x48c3e7(){return window[_0x5080bb([0x67,0x6c,0x6f,0x62])]&&window[_0x5080bb([0x67,0x6c,0x6f,0x62])][_0x5080bb([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x325cf9(_0x34fc66){const _0x416cf8=_0x4b3426();_0x3ca842[_0x416cf8]=_0x5080bb([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])+_0x34fc66,_0x34fc66!=_0x5080bb([0x56,0x61,0x6c,0x69,0x64])&&_0x11a38();}function _0x4b3426(){const _0x35b270=window[_0x5080bb([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5080bb([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5080bb([0x6e,0x6f,0x77])]())[_0x5080bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5080bb([0x2e]),'');let _0x414f32=_0x5080bb([0x61]);for(let _0x1d816b=0x0;_0x1d816b<_0x35b270[_0x5080bb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d816b+=0x2){let _0x1290f0=window[_0x5080bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35b270[_0x5080bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d816b,_0x1d816b+0x2));_0x1290f0>=_0x29a4eb[_0x5080bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1290f0-=_0x29a4eb[_0x5080bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x414f32+=_0x29a4eb[_0x1290f0];}return _0x414f32;}function _0x344680(){const _0x402bd2=_0x2e5ab8[_0x5080bb([0x73,0x70,0x6c,0x69,0x74])](_0x5080bb([0x2e]));if(0x3!=_0x402bd2[_0x5080bb([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x34f0e1(_0x402bd2[0x1]);function _0x34f0e1(_0x31064e){const _0x2431e4=_0x1a49a7(_0x31064e);return _0x2431e4&&_0x367c15()?_0x2431e4:null;function _0x367c15(){const _0x11c082=_0x2431e4[_0x5080bb([0x6a,0x74,0x69])],_0x5cbdb9=window[_0x5080bb([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11c082[_0x5080bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x11c082[_0x5080bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1f3e62={..._0x2431e4,[_0x5080bb([0x6a,0x74,0x69])]:_0x11c082[_0x5080bb([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x11c082[_0x5080bb([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1f3e62[_0x5080bb([0x76,0x63])],_0x2971b3(_0x1f3e62)==_0x5cbdb9;}}}async function _0xc0286a(){let _0x4daefc=!0x0;try{const _0x2e9f29=_0x2e5ab8[_0x5080bb([0x73,0x70,0x6c,0x69,0x74])](_0x5080bb([0x2e])),[_0x31fe32,_0x58c153,_0x168194]=_0x2e9f29;return _0x239838(_0x31fe32),await _0x4f202c(_0x31fe32,_0x58c153,_0x168194),_0x4daefc;}catch{return!0x1;}function _0x239838(_0x214d6f){const _0x268497=_0x1a49a7(_0x214d6f);_0x268497&&_0x268497[_0x5080bb([0x61,0x6c,0x67])]==_0x5080bb([0x45,0x53,0x32,0x35,0x36])||(_0x4daefc=!0x1);}async function _0x4f202c(_0x23d4f4,_0x358218,_0x2d11c6){const _0x29c35e=window[_0x5080bb([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5080bb([0x66,0x72,0x6f,0x6d])](_0x2e7f08(_0x2d11c6),_0x39c3f1=>_0x39c3f1[_0x5080bb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x59dbcf=new window[(_0x5080bb([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5080bb([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x23d4f4+_0x5080bb([0x2e])+_0x358218),_0x445e5a=window[_0x5080bb([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5080bb([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x445e5a)return;const _0x3ebfea=await _0x445e5a[_0x5080bb([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5080bb([0x6a,0x77,0x6b]),_0x32d1f7,{[_0x5080bb([0x6e,0x61,0x6d,0x65])]:_0x5080bb([0x45,0x43,0x44,0x53,0x41]),[_0x5080bb([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5080bb([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5080bb([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x445e5a[_0x5080bb([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5080bb([0x6e,0x61,0x6d,0x65])]:_0x5080bb([0x45,0x43,0x44,0x53,0x41]),[_0x5080bb([0x68,0x61,0x73,0x68])]:{[_0x5080bb([0x6e,0x61,0x6d,0x65])]:_0x5080bb([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3ebfea,_0x29c35e,_0x59dbcf)||(_0x4daefc=!0x1);}}function _0x1a49a7(_0x26aaf0){return _0x26aaf0[_0x5080bb([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5080bb([0x65,0x79]))?JSON[_0x5080bb([0x70,0x61,0x72,0x73,0x65])](_0x2e7f08(_0x26aaf0)):null;}function _0x2e7f08(_0x224669){return window[_0x5080bb([0x61,0x74,0x6f,0x62])](_0x224669[_0x5080bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5080bb([0x2b]))[_0x5080bb([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5080bb([0x2f])));}function _0x2971b3(_0x3cc0be){let _0x199591=0x1505;function _0x5afa2a(_0x2f046b){for(let _0x1ef8ad=0x0;_0x1ef8ad<_0x2f046b[_0x5080bb([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ef8ad++){const _0x3f174e=_0x2f046b[_0x5080bb([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1ef8ad);_0x199591=(_0x199591<<0x5)+_0x199591+_0x3f174e,_0x199591&=_0x199591;}}function _0x471abb(_0x4fdb75){Array[_0x5080bb([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4fdb75)?_0x4fdb75[_0x5080bb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x471abb):_0x4fdb75&&typeof _0x4fdb75==_0x5080bb([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5080bb([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4fdb75)[_0x5080bb([0x73,0x6f,0x72,0x74])]()[_0x5080bb([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x153584,_0x5d34a4])=>{_0x5afa2a(_0x153584),_0x471abb(_0x5d34a4);}):_0x5afa2a(window[_0x5080bb([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4fdb75));}return _0x471abb(_0x3cc0be),_0x199591>>>0x0;}function _0x316a97(_0x168976){return _0x168976[_0x5080bb([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5080bb([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5080bb([0x30]));}function _0x5a70a8(_0x453957){return _0x453957[_0x5080bb([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5080bb([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5080bb([0x6a,0x6f,0x69,0x6e])]('');}function _0xa36512(){}function _0x5080bb(_0x302875){return _0x302875['map'](_0x12283f=>String['fromCharCode'](_0x12283f))['join']('');}_0x325cf9(await _0x19aa1c());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x5716b0,{outlineDefinitions:_0x6822d2,outlineChanges:_0x33df50}){this['_currentOutlineDefinitions']=_0x6822d2,this['view']['sync'](_0x33df50);}['_setActiveViewItem'](_0x1de8db){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x1de8db]&&(this['view']['activeItemIndex']=_0x1de8db);}['_handleItemSelected'](_0x324a72){const _0x561898=this['_currentOutlineDefinitions'][_0x324a72]['modelElement'];this['editor']['model']['change'](_0x25d973=>{_0x25d973['setSelection'](_0x561898,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x324a72);}['_updateActiveDefinitionOnViewportChange'](){const _0x36d1a0=this['editor'];let _0x4dad95;for(const _0x235542 of _0x36d1a0['model']['document']['getRootNames']()){const _0x5a2a66=_0x36d1a0['editing']['view']['getDomRoot'](_0x235542),_0x3616d1=_0x5a2a66&&new _0x22b56d['Rect'](_0x5a2a66)['getVisible']();if(_0x3616d1){const _0x3e747a=new _0x22b56d['Rect'](_0x22b56d['global']['window'])['getIntersection'](_0x3616d1);_0x3e747a&&(_0x4dad95=_0x3e747a['top']+0.25*_0x3e747a['height']);}}if(void 0x0===_0x4dad95)return;const _0x540113=_0x1db43f(_0x36d1a0['editing'],this['_currentOutlineDefinitions'],_0x4dad95);_0x540113?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x540113)):this['_setActiveViewItem'](-0x1);}}function _0x1db43f(_0x49db00,_0x12706e,_0x456931,_0x4b1646=0x0,_0x301453=_0x12706e['length']-0x1){const _0x3f4b28=Math['floor'](_0x4b1646+(_0x301453-_0x4b1646)/0x2);if(_0x301453>=_0x4b1646){const _0xb0f398=_0x12706e[_0x3f4b28],_0x4de6e0=_0x49db00['mapper']['toViewElement'](_0xb0f398['modelElement']);if(!_0x4de6e0)return null;const _0xd9b728=_0x49db00['view']['domConverter']['mapViewToDom'](_0x4de6e0);return new _0x22b56d['Rect'](_0xd9b728)['bottom']>_0x456931?_0x1db43f(_0x49db00,_0x12706e,_0x456931,_0x4b1646,_0x3f4b28-0x1):_0x1db43f(_0x49db00,_0x12706e,_0x456931,_0x3f4b28+0x1,_0x301453);}return _0x3f4b28<0x0?null:_0x12706e[_0x3f4b28];}class DocumentOutline extends _0x22b56d['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 _0x3e6057=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x58397e;for(const _0x55d66a in _0x3e6057){const _0x23788d=_0x55d66a,_0x5bf5a1=_0x3e6057[_0x23788d];if('documentOutlineLicenseKeyValid'==_0x5bf5a1||'documentOutlineLicenseKeyInvalid'==_0x5bf5a1||'documentOutlineLicenseKeyExpired'==_0x5bf5a1||'documentOutlineLicenseKeyDomainLimit'==_0x5bf5a1||'documentOutlineLicenseKeyNotAllowed'==_0x5bf5a1||'documentOutlineLicenseKeyEvaluationLimit'==_0x5bf5a1||'documentOutlineLicenseKeyUsageLimit'==_0x5bf5a1){delete _0x3e6057[_0x23788d],_0x58397e=_0x5bf5a1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x58397e&&_0x3e6057['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x58397e&&_0x3e6057['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x58397e&&_0x3e6057['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x58397e&&_0x3e6057['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x58397e&&_0x3e6057['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x58397e&&_0x3e6057['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContentsCommand extends _0x22b56d['Command']{['execute'](){this['editor']['model']['change'](_0x224c11=>{this['editor']['model']['insertObject'](_0x224c11['createElement']('tableOfContents'));});}['refresh'](){const _0x523766=this['editor']['model'],_0x5e94c4=_0x523766['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x5e94c4&&_0x523766['schema']['findAllowedParent'](_0x5e94c4,'tableOfContents'));}}class _0x259958 extends _0x22b56d['Plugin']{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x51252c=this['editor'];if(_0x51252c['config']['get']('headingId.modelAttributeName'))return;const _0xe4a06f=function(_0x5726f9){const _0x534181=new Map();if(_0x5726f9)return _0x5726f9['forEach'](_0x3c286c=>{'paragraph'!==_0x3c286c['model']&&_0x534181['set'](_0x3c286c['view'],_0x3c286c['model']);}),_0x534181['get']('h1')||_0x534181['set']('h1','heading1'),_0x534181;return _0x534181;}(this['editor']['config']['get']('heading.options'));_0xe4a06f['forEach']((_0x1d1b16,_0x5de643)=>{this['_customUpcastHeadingsConversion'](_0x5de643),this['_customDataDowncastHeadingsConversion'](_0x1d1b16),_0x51252c['model']['schema']['isRegistered'](_0x1d1b16)&&_0x51252c['model']['schema']['extend'](_0x1d1b16,{'allowAttributes':'headingId'});}),this['_registerHeadingIdAttributePostfixer']();}['_customUpcastHeadingsConversion'](_0x56691e){this['editor']['conversion']['for']('upcast')['add'](_0x24dd42=>_0x24dd42['on']('element:'+_0x56691e,(_0x5827fb,_0x1e47fd,_0x421937)=>{const {consumable:_0x333db1,writer:_0x33dbf7}=_0x421937,_0x46e87e=_0x1e47fd['viewItem']['getAttribute']('id'),_0x23e685=_0x1e47fd['modelRange']['getContainedElement']();if(_0x23e685)return _0x46e87e&&_0x46e87e['length']||_0x23e685['hasAttribute']('headingId')?void(_0x333db1['consume'](_0x1e47fd['viewItem'],{'attributes':['id']})&&_0x33dbf7['setAttribute']('headingId',_0x46e87e,_0x23e685)):(_0x333db1['consume'](_0x1e47fd['viewItem'],{'attributes':['id']}),void _0x33dbf7['setAttribute']('headingId',_0x22b56d['uid'](),_0x23e685));},{'priority':_0x22b56d['priorities']['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x175e4f){this['editor']['conversion']['for']('downcast')['add'](_0x1ee182=>_0x1ee182['on']('attribute:headingId:'+_0x175e4f,(_0x50af9c,_0x174229,_0x4c092d)=>{if(!_0x4c092d['consumable']['consume'](_0x174229['item'],_0x50af9c['name']))return;const _0x449189=_0x174229['item']['getAttribute']('headingId'),_0x26f683=_0x4c092d['mapper']['toViewElement'](_0x174229['item']);_0x4c092d['writer']['setAttribute']('id',_0x449189,_0x26f683);}));}['_registerHeadingIdAttributePostfixer'](){const _0xdc4e11=this['editor'],_0x5ef11c=new Set(),_0x2f8798=new Set();function _0x4511fe(_0x318667,_0x3f55c5){const _0x13c373=_0x22b56d['uid']();return _0x2f8798['add'](_0x13c373),_0x318667['setAttribute']('headingId',_0x13c373,_0x3f55c5),_0x13c373;}function _0x21e400(_0x402823,_0x4ba6b6){_0x402823['removeAttribute']('headingId',_0x4ba6b6);}_0xdc4e11['model']['document']['registerPostFixer'](_0x539c4c=>{const _0x5c65af=_0xdc4e11['model']['document']['differ']['getChanges']();let _0x30c31b=!0x1;for(const _0x52d724 of _0x5c65af)if('insert'==_0x52d724['type']&&_0x52d724['name']){if(_0x5ecd6b(_0x52d724['name'])){const _0x128f63=_0x52d724['attributes']['get']('headingId');'string'==typeof _0x128f63?_0x5ef11c['has'](_0x128f63)?(_0x4511fe(_0x539c4c,_0x52d724['position']['nodeAfter']),_0x30c31b=!0x0):_0x2f8798['add'](_0x128f63):(_0x4511fe(_0x539c4c,_0x52d724['position']['nodeAfter']),_0x30c31b=!0x0);}else'string'==typeof _0x52d724['attributes']['get']('headingId')&&(_0x21e400(_0x539c4c,_0x52d724['position']['nodeAfter']),_0x30c31b=!0x0);}else{if('remove'==_0x52d724['type']){const _0x56dff0=_0x52d724['attributes']['get']('headingId');'string'==typeof _0x56dff0&&_0x5ef11c['delete'](_0x56dff0);}}return _0x30c31b;}),_0xdc4e11['model']['document']['on']('change',()=>{_0x2f8798['forEach'](_0x58c5b6=>_0x5ef11c['add'](_0x58c5b6)),_0x2f8798['clear']();});}}function _0x5ecd6b(_0x231d7e){return!!_0x231d7e['match'](/heading\d/);}class TableOfContentsEditing extends _0x22b56d['Plugin']{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x22b56d['Widget'],DocumentOutlineUtils,_0x259958];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x5be3d1){super(_0x5be3d1),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0x67303a=this['editor'],_0x453132=_0x67303a['editing']['view']['document'];_0x67303a['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0x67303a['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x453132,'click',(_0x236e11,_0x636081)=>{if(!_0x636081['target'])return;const _0x2ea5eb=_0x636081['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x2ea5eb)&&(_0x636081['domEvent']['preventDefault'](),_0x236e11['stop'](),this['_handleScrollToHeading'](_0x2ea5eb));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0x67303a['commands']['add']('insertTableOfContents',new TableOfContentsCommand(_0x67303a)),(_0x67303a['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x4468a1,_0x323149)=>{this['_currentOutlineDefinitions']=_0x323149['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0x67303a['model']['document'],'change',()=>{this['_trackNewToCElements']();}));}['afterInit'](){!async function(_0x32ff48){const _0xe3f425=_0x58c579([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]),_0xf1b650=0x6b9b05fd,_0xc19356=0x6b9c8f95^_0xf1b650,_0x4913e3=window[_0x58c579([0x44,0x61,0x74,0x65])][_0x58c579([0x6e,0x6f,0x77])](),_0x22b340=_0x32ff48[_0x58c579([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e476e=new window[(_0x58c579([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x12e504=>{_0x22b340[_0x58c579([0x6f,0x6e,0x63,0x65])](_0x58c579([0x72,0x65,0x61,0x64,0x79]),_0x12e504);}),_0x122647={[_0x58c579([0x6b,0x74,0x79])]:_0x58c579([0x45,0x43]),[_0x58c579([0x75,0x73,0x65])]:_0x58c579([0x73,0x69,0x67]),[_0x58c579([0x63,0x72,0x76])]:_0x58c579([0x50,0x2d,0x32,0x35,0x36]),[_0x58c579([0x78])]:_0x58c579([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]),[_0x58c579([0x79])]:_0x58c579([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]),[_0x58c579([0x61,0x6c,0x67])]:_0x58c579([0x45,0x53,0x32,0x35,0x36])},_0x27e0e4=_0x22b340[_0x58c579([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x58c579([0x67,0x65,0x74])](_0x58c579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5703e0(){let _0x48202d,_0x27960f=null,_0x36fcc2=null;try{if(_0x27e0e4==_0x58c579([0x47,0x50,0x4c]))return _0x58c579([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x48202d=_0x58a416(),!_0x48202d)return _0x58c579([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x48202d[_0x58c579([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x36fcc2=_0x5109fe(_0x48202d[_0x58c579([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x48202d[_0x58c579([0x6a,0x74,0x69])])),await _0x31b288()?_0x252026()?_0x5722ef()?_0x58c579([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x388d31()?(_0x48202d[_0x58c579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x58c579([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x27960f=_0x847697(_0x58c579([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x49c6bf()):_0x58c579([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x58c579([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x58c579([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x58c579([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5722ef(){const _0x2b6811=[_0x58c579([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x58c579([0x74,0x72,0x69,0x61,0x6c])][_0x58c579([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x48202d[_0x58c579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4913e3/0x3e8:0xe10*_0xc19356;return _0x48202d[_0x58c579([0x65,0x78,0x70])]<_0x2b6811;}function _0x252026(){const _0x42674c=_0x48202d[_0x58c579([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x42674c&&(!!_0x42674c[_0x58c579([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58c579([0x2a]))||(!!_0x42674c[_0x58c579([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58c579([0x54,0x4f,0x43]))||(!!_0x42674c[_0x58c579([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58c579([0x50,0x50]))||!(!_0x42674c[_0x58c579([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58c579([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x584b8f()))));}function _0x388d31(){const _0x26dacd=_0x48202d[_0x58c579([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x26dacd||0x0==_0x26dacd[_0x58c579([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x314bf7}=new URL(window[_0x58c579([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x26dacd[_0x58c579([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x314bf7))return!0x0;const _0xbc5069=_0x314bf7[_0x58c579([0x73,0x70,0x6c,0x69,0x74])](_0x58c579([0x2e]));return _0x26dacd[_0x58c579([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ac56d=>_0x3ac56d[_0x58c579([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58c579([0x2a])))[_0x58c579([0x6d,0x61,0x70])](_0x5c4808=>_0x5c4808[_0x58c579([0x73,0x70,0x6c,0x69,0x74])](_0x58c579([0x2e])))[_0x58c579([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44e56c=>_0x44e56c[_0x58c579([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xbc5069[_0x58c579([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x58c579([0x6d,0x61,0x70])](_0x4a46c2=>Array(_0xbc5069[_0x58c579([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4a46c2[_0x58c579([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x58c579([0x66,0x69,0x6c,0x6c])](_0x4a46c2[0x0]===_0x58c579([0x2a])?_0x58c579([0x2a]):'')[_0x58c579([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4a46c2))[_0x58c579([0x73,0x6f,0x6d,0x65])](_0x3813d5=>_0xbc5069[_0x58c579([0x65,0x76,0x65,0x72,0x79])]((_0x15e786,_0x19ccfd)=>_0x3813d5[_0x19ccfd]===_0x15e786||_0x3813d5[_0x19ccfd]===_0x58c579([0x2a])));}function _0x49c6bf(){return _0x27960f&&_0x36fcc2?new window[(_0x58c579([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x413518,_0x1bf425)=>{_0x27960f[_0x58c579([0x74,0x68,0x65,0x6e])](_0x413518,_0x1bf425),_0x36fcc2[_0x58c579([0x74,0x68,0x65,0x6e])](_0x3cdee1=>{_0x3cdee1!=_0x58c579([0x56,0x61,0x6c,0x69,0x64])&&_0x413518(_0x3cdee1);},_0x1bf425);}):_0x27960f||_0x36fcc2||_0x58c579([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5109fe(_0x2039dd,_0x1aeb5b){return new window[(_0x58c579([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10c61b=>{if(_0xb48b02())return _0x10c61b(_0x58c579([0x56,0x61,0x6c,0x69,0x64]));_0xbd4311(),_0x22b340[_0x58c579([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x58c579([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3dcfe0=!0x1;const _0x113cf4=_0x22b56d['uid']();function _0x38ecec(_0x18301f){return!!_0x18301f&&(typeof _0x18301f===_0x58c579([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x18301f===_0x58c579([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x18301f[_0x58c579([0x74,0x68,0x65,0x6e])]===_0x58c579([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x18301f[_0x58c579([0x63,0x61,0x74,0x63,0x68])]===_0x58c579([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a2286(_0x3cbac6){_0x486556(_0x3cbac6)[_0x58c579([0x74,0x68,0x65,0x6e])](_0x28a3d5=>{if(!_0x28a3d5||_0x28a3d5[_0x58c579([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x58c579([0x6f,0x6b]))return _0x58c579([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xafba8a(_0x17487e(_0x113cf4+_0x1aeb5b))!=_0x28a3d5[_0x58c579([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x58c579([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x58c579([0x56,0x61,0x6c,0x69,0x64]);})[_0x58c579([0x74,0x68,0x65,0x6e])](_0x2809ca=>(_0x22d8a1(),_0x2809ca),()=>{const _0x559551=_0x310484();return null==_0x559551?(_0x22d8a1(),_0x58c579([0x56,0x61,0x6c,0x69,0x64])):_0x58c579(_0x4913e3-_0x559551>(0x4f9781fd^_0xf1b650)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x58c579([0x74,0x68,0x65,0x6e])](_0x10c61b)[_0x58c579([0x63,0x61,0x74,0x63,0x68])](()=>{_0x10c61b(_0x58c579([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x121c7d=0x6badeb7d^_0xf1b650;function _0x22d8a1(){const _0x974878=_0x58c579([0x6c,0x6c,0x63,0x74,0x2d])+_0xafba8a(_0x17487e(_0x2039dd)),_0x36f8b0=_0x47fc0e(_0xafba8a(window[_0x58c579([0x4d,0x61,0x74,0x68])][_0x58c579([0x63,0x65,0x69,0x6c])](_0x4913e3/_0x121c7d)));window[_0x58c579([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x58c579([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x974878,_0x36f8b0);}function _0x310484(){const _0x383294=_0x58c579([0x6c,0x6c,0x63,0x74,0x2d])+_0xafba8a(_0x17487e(_0x2039dd)),_0x2c29d5=window[_0x58c579([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x58c579([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x383294);return _0x2c29d5?window[_0x58c579([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47fc0e(_0x2c29d5),0x10)*_0x121c7d:null;}function _0x486556(_0xd19b8e){return new window[(_0x58c579([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d7394,_0x383a53)=>{_0xd19b8e[_0x58c579([0x74,0x68,0x65,0x6e])](_0x3d7394,_0x383a53),window[_0x58c579([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x383a53,0x6b9ad13d^_0xf1b650);});}}_0x22b340[_0x58c579([0x6f,0x6e])](_0x58c579([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4452c0,_0x294f48)=>{if(_0x294f48[0x0]!=_0x2039dd)return _0x10c61b(_0x58c579([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x294f48[0x1]={..._0x294f48[0x1],[_0x58c579([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x113cf4};},{[_0x58c579([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x58c579([0x68,0x69,0x67,0x68])}),_0x22b340[_0x58c579([0x6f,0x6e])](_0x58c579([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x43b27f=>{_0x38ecec(_0x43b27f[_0x58c579([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3dcfe0=!0x0,_0x4a2286(_0x43b27f[_0x58c579([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x58c579([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x58c579([0x6c,0x6f,0x77])}),_0x5e476e[_0x58c579([0x74,0x68,0x65,0x6e])](()=>{_0x3dcfe0||_0x10c61b(_0x58c579([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb48b02(){return _0x22b340[_0x58c579([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x58c579([0x76,0x69,0x65,0x77])][_0x58c579([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x58c579([0x61,0x75,0x74,0x6f]);}function _0xbd4311(){_0x22b340[_0x58c579([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x58c579([0x76,0x69,0x65,0x77])][_0x58c579([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x58c579([0x61,0x75,0x74,0x6f]);}}function _0x847697(_0x4910e0){const _0x4aabb5=[new window[(_0x58c579([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a4a2a=>setTimeout(_0x2a4a2a,0x6b923b31^_0xf1b650)),_0x5e476e[_0x58c579([0x74,0x68,0x65,0x6e])](()=>new window[(_0x58c579([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf280b5=>{let _0xbf44d6=0x0;_0x22b340[_0x58c579([0x6d,0x6f,0x64,0x65,0x6c])][_0x58c579([0x6f,0x6e])](_0x58c579([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4542d0,_0x1f5f90)=>{_0x1f5f90[0x0][_0x58c579([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xbf44d6++,_0xbf44d6==(0x6b9b0015^_0xf1b650)&&(_0xf280b5(),_0x4542d0[_0x58c579([0x6f,0x66,0x66])]());});}))];return window[_0x58c579([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x58c579([0x72,0x61,0x63,0x65])](_0x4aabb5)[_0x58c579([0x74,0x68,0x65,0x6e])](()=>_0x4910e0);}async function _0x5af0b5(){await _0x5e476e,_0x22b340[_0x58c579([0x6d,0x6f,0x64,0x65,0x6c])][_0x58c579([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x12fa9d,_0x22b340[_0x58c579([0x6d,0x6f,0x64,0x65,0x6c])][_0x58c579([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x12fa9d,_0x22b340[_0x58c579([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x58c579([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x584b8f(){return window[_0x58c579([0x67,0x6c,0x6f,0x62])]&&window[_0x58c579([0x67,0x6c,0x6f,0x62])][_0x58c579([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x4e19e7(_0xed1ff1){const _0x4baeef=_0x37b4ef();_0x22b340[_0x4baeef]=_0x58c579([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])+_0xed1ff1,_0xed1ff1!=_0x58c579([0x56,0x61,0x6c,0x69,0x64])&&_0x5af0b5();}function _0x37b4ef(){const _0x286e36=window[_0x58c579([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x58c579([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x58c579([0x6e,0x6f,0x77])]())[_0x58c579([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x58c579([0x2e]),'');let _0xa723bf=_0x58c579([0x6d]);for(let _0x2dcc6f=0x0;_0x2dcc6f<_0x286e36[_0x58c579([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2dcc6f+=0x2){let _0x5c2c7f=window[_0x58c579([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x286e36[_0x58c579([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2dcc6f,_0x2dcc6f+0x2));_0x5c2c7f>=_0xe3f425[_0x58c579([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c2c7f-=_0xe3f425[_0x58c579([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa723bf+=_0xe3f425[_0x5c2c7f];}return _0xa723bf;}function _0x58a416(){const _0x288c6f=_0x27e0e4[_0x58c579([0x73,0x70,0x6c,0x69,0x74])](_0x58c579([0x2e]));if(0x3!=_0x288c6f[_0x58c579([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3dc9a5(_0x288c6f[0x1]);function _0x3dc9a5(_0x576316){const _0x4b8fc6=_0x30e777(_0x576316);return _0x4b8fc6&&_0x448d30()?_0x4b8fc6:null;function _0x448d30(){const _0x4c949e=_0x4b8fc6[_0x58c579([0x6a,0x74,0x69])],_0x133a62=window[_0x58c579([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c949e[_0x58c579([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c949e[_0x58c579([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x11ed70={..._0x4b8fc6,[_0x58c579([0x6a,0x74,0x69])]:_0x4c949e[_0x58c579([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4c949e[_0x58c579([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x11ed70[_0x58c579([0x76,0x63])],_0x17487e(_0x11ed70)==_0x133a62;}}}async function _0x31b288(){let _0x52cf36=!0x0;try{const _0x406ee2=_0x27e0e4[_0x58c579([0x73,0x70,0x6c,0x69,0x74])](_0x58c579([0x2e])),[_0x2570a5,_0x538977,_0x3e247b]=_0x406ee2;return _0x584514(_0x2570a5),await _0x2eb155(_0x2570a5,_0x538977,_0x3e247b),_0x52cf36;}catch{return!0x1;}function _0x584514(_0x497812){const _0x4aad58=_0x30e777(_0x497812);_0x4aad58&&_0x4aad58[_0x58c579([0x61,0x6c,0x67])]==_0x58c579([0x45,0x53,0x32,0x35,0x36])||(_0x52cf36=!0x1);}async function _0x2eb155(_0x2ccb8f,_0x29ca99,_0xd80e32){const _0x42003e=window[_0x58c579([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x58c579([0x66,0x72,0x6f,0x6d])](_0x4ea471(_0xd80e32),_0x2cfd41=>_0x2cfd41[_0x58c579([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x158b5b=new window[(_0x58c579([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x58c579([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2ccb8f+_0x58c579([0x2e])+_0x29ca99),_0x89c3e9=window[_0x58c579([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x58c579([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x89c3e9)return;const _0x5a5a3a=await _0x89c3e9[_0x58c579([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x58c579([0x6a,0x77,0x6b]),_0x122647,{[_0x58c579([0x6e,0x61,0x6d,0x65])]:_0x58c579([0x45,0x43,0x44,0x53,0x41]),[_0x58c579([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x58c579([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x58c579([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x89c3e9[_0x58c579([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x58c579([0x6e,0x61,0x6d,0x65])]:_0x58c579([0x45,0x43,0x44,0x53,0x41]),[_0x58c579([0x68,0x61,0x73,0x68])]:{[_0x58c579([0x6e,0x61,0x6d,0x65])]:_0x58c579([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a5a3a,_0x42003e,_0x158b5b)||(_0x52cf36=!0x1);}}function _0x30e777(_0x18ecfe){return _0x18ecfe[_0x58c579([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x58c579([0x65,0x79]))?JSON[_0x58c579([0x70,0x61,0x72,0x73,0x65])](_0x4ea471(_0x18ecfe)):null;}function _0x4ea471(_0x477a62){return window[_0x58c579([0x61,0x74,0x6f,0x62])](_0x477a62[_0x58c579([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x58c579([0x2b]))[_0x58c579([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x58c579([0x2f])));}function _0x17487e(_0x12f2c4){let _0xa9603a=0x1505;function _0x5bd0e1(_0x1eceb6){for(let _0x36ac26=0x0;_0x36ac26<_0x1eceb6[_0x58c579([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36ac26++){const _0x70cae4=_0x1eceb6[_0x58c579([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36ac26);_0xa9603a=(_0xa9603a<<0x5)+_0xa9603a+_0x70cae4,_0xa9603a&=_0xa9603a;}}function _0x35b380(_0x106631){Array[_0x58c579([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x106631)?_0x106631[_0x58c579([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x35b380):_0x106631&&typeof _0x106631==_0x58c579([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x58c579([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x106631)[_0x58c579([0x73,0x6f,0x72,0x74])]()[_0x58c579([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x251b5a,_0x3c4a67])=>{_0x5bd0e1(_0x251b5a),_0x35b380(_0x3c4a67);}):_0x5bd0e1(window[_0x58c579([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x106631));}return _0x35b380(_0x12f2c4),_0xa9603a>>>0x0;}function _0xafba8a(_0x49b35c){return _0x49b35c[_0x58c579([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x58c579([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x58c579([0x30]));}function _0x47fc0e(_0x5d59bf){return _0x5d59bf[_0x58c579([0x73,0x70,0x6c,0x69,0x74])]('')[_0x58c579([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x58c579([0x6a,0x6f,0x69,0x6e])]('');}function _0x12fa9d(){}function _0x58c579(_0x393d6b){return _0x393d6b['map'](_0x132772=>String['fromCharCode'](_0x132772))['join']('');}_0x4e19e7(await _0x5703e0());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0xdd8255=>{'$graveyard'!==_0xdd8255['rootName']&&this['editor']['editing']['reconvertItem'](_0xdd8255);});}['_trackNewToCElements'](){for(const _0xc61e2b of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0xc61e2b['type']||'tableOfContents'!==_0xc61e2b['name'])return;this['_tableOfContentsElements']['add'](_0xc61e2b['position']['nodeAfter']);}}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x5d238b=this['editor']['conversion'];_0x5d238b['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x5d238b['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x41cb8c,{writer:_0x5dd235})=>this['_createTableOfContents'](_0x5dd235,!0x0)}),_0x5d238b['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x2d2851,{writer:_0x167511})=>{this['_tableOfContentsElements']['add'](_0x2d2851);const _0x45311f=this['_createTableOfContents'](_0x167511);return _0x22b56d['toWidget'](_0x45311f,_0x167511,{'label':_0x170b48(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'](_0x398790,_0xbea928=!0x1){const {locale:_0x11b702}=this['editor'],_0x387ab7=_0x398790['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0xbea928&&{'data-table-of-contents-label':_0x170b48(_0x11b702,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0xbea928&&_0x398790['insert'](_0x398790['createPositionAt'](_0x387ab7,'end'),_0x398790['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x398790['createText'](_0x170b48(_0x11b702,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x3f909c=_0xbea928?'':'['+_0x170b48(_0x11b702,'Empty\x20heading')+']';let _0x22cdd5=_0x387ab7;return this['_currentOutlineDefinitions']['forEach']((_0x36ce6d,_0x4c878f,_0x259b59)=>{const _0x31b9db=this['editor']['model']['hasContent'](_0x36ce6d['modelElement'],{'ignoreWhitespaces':!0x0}),_0x23159f=_0x31b9db?_0x36ce6d['text']:_0x3f909c,_0x39dcbe=_0x36ce6d['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x31d09a=_0x398790['createContainerElement']('a',{'href':'#'+_0x39dcbe,...!_0xbea928&&{'tabindex':'-1'}},[_0x398790['createText'](_0x23159f)]),_0x32d9a5=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x398790['setCustomProperty']('tableOfContentsHeadingIndex',_0x4c878f,_0x31d09a);const _0x577863=_0x398790['createContainerElement']('li',null,[_0x31b9db||!_0xbea928&&_0x32d9a5?_0x31d09a:_0x398790['createText']('')]),_0xeab49=_0x4c878f?_0x259b59[_0x4c878f-0x1]['level']:0x0,_0x2cfed1=Math['abs'](_0x36ce6d['level']-_0xeab49);if(_0x36ce6d['level']>_0xeab49){const _0x18da19=_0x6f73ab(_0x577863,_0x2cfed1,_0x398790);_0x398790['insert'](_0x398790['createPositionAt'](_0x22cdd5,'end'),_0x18da19);}else{const _0x4652c1=function(_0x48283e,_0xe59ca0){return _0x48283e['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x5b4b77=>_0x5b4b77['is']('element','ol'))[_0xe59ca0];}(_0x22cdd5,_0x2cfed1);_0x398790['insert'](_0x398790['createPositionAt'](_0x4652c1,'end'),_0x577863);}_0x22cdd5=_0x577863;}),_0x387ab7;}['_handleScrollToHeading'](_0x575f24){const _0x3a04fa=this['_currentOutlineDefinitions'][_0x575f24]['modelElement'];this['editor']['model']['change'](_0x1b4c73=>{_0x1b4c73['setSelection'](_0x3a04fa,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x29e23e,_0x45e042)=>{const _0x399faa=_0x45e042['mapper'],_0x578833=_0x399faa['findMappedViewAncestor'](_0x45e042['viewPosition']),_0x11c572=_0x399faa['toModelElement'](_0x578833);_0x11c572['is']('element','tableOfContents')&&(_0x45e042['modelPosition']=this['editor']['model']['createPositionAt'](_0x11c572,0x0),_0x29e23e['stop']());};}}function _0x6f73ab(_0x5abda0,_0xe172e,_0x51b951){return 0x1===_0xe172e?_0x51b951['createContainerElement']('ol',null,[_0x5abda0]):_0x51b951['createContainerElement']('ol',null,[_0x51b951['createContainerElement']('li',null,[_0x6f73ab(_0x5abda0,_0xe172e-0x1,_0x51b951)])]);}class TableOfContentsUI extends _0x22b56d['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x16c63a=this['editor'];_0x16c63a['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x5b137e=this['_createButton'](_0x22b56d['ButtonView']);return _0x5b137e['tooltip']=!0x0,_0x5b137e;}),_0x16c63a['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x22b56d['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x522b37=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5baecd;for(const _0x670967 in _0x522b37){const _0x11d726=_0x670967,_0x183837=_0x522b37[_0x11d726];if('tableOfContentsLicenseKeyValid'==_0x183837||'tableOfContentsLicenseKeyInvalid'==_0x183837||'tableOfContentsLicenseKeyExpired'==_0x183837||'tableOfContentsLicenseKeyDomainLimit'==_0x183837||'tableOfContentsLicenseKeyNotAllowed'==_0x183837||'tableOfContentsLicenseKeyEvaluationLimit'==_0x183837||'tableOfContentsLicenseKeyUsageLimit'==_0x183837){delete _0x522b37[_0x11d726],_0x5baecd=_0x183837,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x5baecd&&_0x522b37['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x5baecd&&_0x522b37['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x5baecd&&_0x522b37['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x5baecd&&_0x522b37['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x5baecd&&_0x522b37['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x5baecd&&_0x522b37['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x42690d){const _0xb9b8a4=this['editor'],_0x2f191a=_0xb9b8a4['locale'],_0x507d67=_0xb9b8a4['commands']['get']('insertTableOfContents'),_0x50d4d5=new _0x42690d(_0x2f191a);return _0x50d4d5['set']({'label':_0x170b48(_0x2f191a,'Table\x20of\x20contents'),'icon':_0x22b56d['IconTableOfContents']}),_0x50d4d5['bind']('isEnabled')['to'](_0x507d67,'isEnabled'),this['listenTo'](_0x50d4d5,'execute',()=>{_0xb9b8a4['execute']('insertTableOfContents'),_0xb9b8a4['editing']['view']['focus']();}),_0x50d4d5;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TableOfContents extends _0x22b56d['Plugin']{static get['requires'](){return[TableOfContentsEditing,TableOfContentsUI];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x421338='https://ckeditor.com/docs/ckeditor5/latest';class EmailConfigurationLogger extends _0x22b56d['Plugin']{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xc5429c){super(_0xc5429c),_0xc5429c['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){!async function(_0x11eed8){const _0x99469e=_0x496a61([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]),_0x576631=0x7780c648,_0x4ff3bf=0x77874c20^_0x576631,_0x3797a0=window[_0x496a61([0x44,0x61,0x74,0x65])][_0x496a61([0x6e,0x6f,0x77])](),_0x4ff3c4=_0x11eed8[_0x496a61([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x140272=new window[(_0x496a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5918b9=>{_0x4ff3c4[_0x496a61([0x6f,0x6e,0x63,0x65])](_0x496a61([0x72,0x65,0x61,0x64,0x79]),_0x5918b9);}),_0x554b19={[_0x496a61([0x6b,0x74,0x79])]:_0x496a61([0x45,0x43]),[_0x496a61([0x75,0x73,0x65])]:_0x496a61([0x73,0x69,0x67]),[_0x496a61([0x63,0x72,0x76])]:_0x496a61([0x50,0x2d,0x32,0x35,0x36]),[_0x496a61([0x78])]:_0x496a61([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]),[_0x496a61([0x79])]:_0x496a61([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]),[_0x496a61([0x61,0x6c,0x67])]:_0x496a61([0x45,0x53,0x32,0x35,0x36])},_0x135877=_0x4ff3c4[_0x496a61([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x496a61([0x67,0x65,0x74])](_0x496a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x15b706(){let _0x3a6352,_0xd1874b=null,_0x47195d=null;try{if(_0x135877==_0x496a61([0x47,0x50,0x4c]))return _0x496a61([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3a6352=_0x3c13ca(),!_0x3a6352)return _0x496a61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3a6352[_0x496a61([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x47195d=_0x3d079d(_0x3a6352[_0x496a61([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3a6352[_0x496a61([0x6a,0x74,0x69])])),await _0x11b878()?_0x2d5126()?_0x1fa363()?_0x496a61([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x53f9b7()?(_0x3a6352[_0x496a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x496a61([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd1874b=_0x3cb30e(_0x496a61([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x297e82()):_0x496a61([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x496a61([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x496a61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x496a61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1fa363(){const _0x5db74a=[_0x496a61([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x496a61([0x74,0x72,0x69,0x61,0x6c])][_0x496a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a6352[_0x496a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3797a0/0x3e8:0xe10*_0x4ff3bf;return _0x3a6352[_0x496a61([0x65,0x78,0x70])]<_0x5db74a;}function _0x2d5126(){const _0x3d3d3b=_0x3a6352[_0x496a61([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3d3d3b&&(!!_0x3d3d3b[_0x496a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x496a61([0x2a]))||!!_0x3d3d3b[_0x496a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x496a61([0x45,0x43,0x48])));}function _0x53f9b7(){const _0x339b98=_0x3a6352[_0x496a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x339b98||0x0==_0x339b98[_0x496a61([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4f58a2}=new URL(window[_0x496a61([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x339b98[_0x496a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f58a2))return!0x0;const _0x57677b=_0x4f58a2[_0x496a61([0x73,0x70,0x6c,0x69,0x74])](_0x496a61([0x2e]));return _0x339b98[_0x496a61([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5ec4f4=>_0x5ec4f4[_0x496a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x496a61([0x2a])))[_0x496a61([0x6d,0x61,0x70])](_0x3b3141=>_0x3b3141[_0x496a61([0x73,0x70,0x6c,0x69,0x74])](_0x496a61([0x2e])))[_0x496a61([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa0bfca=>_0xa0bfca[_0x496a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x57677b[_0x496a61([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x496a61([0x6d,0x61,0x70])](_0x32db99=>Array(_0x57677b[_0x496a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x32db99[_0x496a61([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x496a61([0x66,0x69,0x6c,0x6c])](_0x32db99[0x0]===_0x496a61([0x2a])?_0x496a61([0x2a]):'')[_0x496a61([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x32db99))[_0x496a61([0x73,0x6f,0x6d,0x65])](_0x480b9c=>_0x57677b[_0x496a61([0x65,0x76,0x65,0x72,0x79])]((_0x9b370,_0x3659c1)=>_0x480b9c[_0x3659c1]===_0x9b370||_0x480b9c[_0x3659c1]===_0x496a61([0x2a])));}function _0x297e82(){return _0xd1874b&&_0x47195d?new window[(_0x496a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3480ff,_0x4e0738)=>{_0xd1874b[_0x496a61([0x74,0x68,0x65,0x6e])](_0x3480ff,_0x4e0738),_0x47195d[_0x496a61([0x74,0x68,0x65,0x6e])](_0x20e775=>{_0x20e775!=_0x496a61([0x56,0x61,0x6c,0x69,0x64])&&_0x3480ff(_0x20e775);},_0x4e0738);}):_0xd1874b||_0x47195d||_0x496a61([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3d079d(_0x4eacbb,_0x789d5){return new window[(_0x496a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58a9d3=>{if(_0x46a3e6())return _0x58a9d3(_0x496a61([0x56,0x61,0x6c,0x69,0x64]));_0x3b0553(),_0x4ff3c4[_0x496a61([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x496a61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x335517=!0x1;const _0x4475e1=_0x22b56d['uid']();function _0x1640e7(_0x3cf5c6){return!!_0x3cf5c6&&(typeof _0x3cf5c6===_0x496a61([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3cf5c6===_0x496a61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3cf5c6[_0x496a61([0x74,0x68,0x65,0x6e])]===_0x496a61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3cf5c6[_0x496a61([0x63,0x61,0x74,0x63,0x68])]===_0x496a61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4c10d4(_0x31c988){_0x236e9e(_0x31c988)[_0x496a61([0x74,0x68,0x65,0x6e])](_0x2f7a07=>{if(!_0x2f7a07||_0x2f7a07[_0x496a61([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x496a61([0x6f,0x6b]))return _0x496a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38a5de(_0x58d826(_0x4475e1+_0x789d5))!=_0x2f7a07[_0x496a61([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x496a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x496a61([0x56,0x61,0x6c,0x69,0x64]);})[_0x496a61([0x74,0x68,0x65,0x6e])](_0x2b248f=>(_0x4c0569(),_0x2b248f),()=>{const _0x1043b6=_0x2d7080();return null==_0x1043b6?(_0x4c0569(),_0x496a61([0x56,0x61,0x6c,0x69,0x64])):_0x496a61(_0x3797a0-_0x1043b6>(0x538c4248^_0x576631)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x496a61([0x74,0x68,0x65,0x6e])](_0x58a9d3)[_0x496a61([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58a9d3(_0x496a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x39a899=0x77b628c8^_0x576631;function _0x4c0569(){const _0x1fc120=_0x496a61([0x6c,0x6c,0x63,0x74,0x2d])+_0x38a5de(_0x58d826(_0x4eacbb)),_0x1ee5a8=_0x4f9804(_0x38a5de(window[_0x496a61([0x4d,0x61,0x74,0x68])][_0x496a61([0x63,0x65,0x69,0x6c])](_0x3797a0/_0x39a899)));window[_0x496a61([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x496a61([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1fc120,_0x1ee5a8);}function _0x2d7080(){const _0x8ec1fe=_0x496a61([0x6c,0x6c,0x63,0x74,0x2d])+_0x38a5de(_0x58d826(_0x4eacbb)),_0xda8add=window[_0x496a61([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x496a61([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x8ec1fe);return _0xda8add?window[_0x496a61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f9804(_0xda8add),0x10)*_0x39a899:null;}function _0x236e9e(_0x453c0b){return new window[(_0x496a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf18b00,_0x554cbf)=>{_0x453c0b[_0x496a61([0x74,0x68,0x65,0x6e])](_0xf18b00,_0x554cbf),window[_0x496a61([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x554cbf,0x77811288^_0x576631);});}}_0x4ff3c4[_0x496a61([0x6f,0x6e])](_0x496a61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x49bb1e,_0x3ed786)=>{if(_0x3ed786[0x0]!=_0x4eacbb)return _0x58a9d3(_0x496a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3ed786[0x1]={..._0x3ed786[0x1],[_0x496a61([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4475e1};},{[_0x496a61([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x496a61([0x68,0x69,0x67,0x68])}),_0x4ff3c4[_0x496a61([0x6f,0x6e])](_0x496a61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3461b9=>{_0x1640e7(_0x3461b9[_0x496a61([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x335517=!0x0,_0x4c10d4(_0x3461b9[_0x496a61([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x496a61([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x496a61([0x6c,0x6f,0x77])}),_0x140272[_0x496a61([0x74,0x68,0x65,0x6e])](()=>{_0x335517||_0x58a9d3(_0x496a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x46a3e6(){return _0x4ff3c4[_0x496a61([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x496a61([0x76,0x69,0x65,0x77])][_0x496a61([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x496a61([0x61,0x75,0x74,0x6f]);}function _0x3b0553(){_0x4ff3c4[_0x496a61([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x496a61([0x76,0x69,0x65,0x77])][_0x496a61([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x496a61([0x61,0x75,0x74,0x6f]);}}function _0x3cb30e(_0x4769f1){const _0x113997=[new window[(_0x496a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15e2c0=>setTimeout(_0x15e2c0,0x7789f884^_0x576631)),_0x140272[_0x496a61([0x74,0x68,0x65,0x6e])](()=>new window[(_0x496a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x523bc6=>{let _0x1d0da8=0x0;_0x4ff3c4[_0x496a61([0x6d,0x6f,0x64,0x65,0x6c])][_0x496a61([0x6f,0x6e])](_0x496a61([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x32767c,_0x212886)=>{_0x212886[0x0][_0x496a61([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1d0da8++,_0x1d0da8==(0x7780c3a0^_0x576631)&&(_0x523bc6(),_0x32767c[_0x496a61([0x6f,0x66,0x66])]());});}))];return window[_0x496a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x496a61([0x72,0x61,0x63,0x65])](_0x113997)[_0x496a61([0x74,0x68,0x65,0x6e])](()=>_0x4769f1);}async function _0x50fe74(){await _0x140272,_0x4ff3c4[_0x496a61([0x6d,0x6f,0x64,0x65,0x6c])][_0x496a61([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x14f565,_0x4ff3c4[_0x496a61([0x6d,0x6f,0x64,0x65,0x6c])][_0x496a61([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x14f565,_0x4ff3c4[_0x496a61([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x496a61([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x17e71d(_0x2cf26d){const _0xf878b9=_0x1bd1f5();_0x4ff3c4[_0xf878b9]=_0x496a61([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])+_0x2cf26d,_0x2cf26d!=_0x496a61([0x56,0x61,0x6c,0x69,0x64])&&_0x50fe74();}function _0x1bd1f5(){const _0x248e2b=window[_0x496a61([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x496a61([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x496a61([0x6e,0x6f,0x77])]())[_0x496a61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x496a61([0x2e]),'');let _0x361016=_0x496a61([0x75]);for(let _0x44d648=0x0;_0x44d648<_0x248e2b[_0x496a61([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44d648+=0x2){let _0x4caad2=window[_0x496a61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x248e2b[_0x496a61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44d648,_0x44d648+0x2));_0x4caad2>=_0x99469e[_0x496a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4caad2-=_0x99469e[_0x496a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x361016+=_0x99469e[_0x4caad2];}return _0x361016;}function _0x3c13ca(){const _0xe9fb2e=_0x135877[_0x496a61([0x73,0x70,0x6c,0x69,0x74])](_0x496a61([0x2e]));if(0x3!=_0xe9fb2e[_0x496a61([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5c8a66(_0xe9fb2e[0x1]);function _0x5c8a66(_0x12f359){const _0x350b89=_0x35d173(_0x12f359);return _0x350b89&&_0xe08f0f()?_0x350b89:null;function _0xe08f0f(){const _0x29420b=_0x350b89[_0x496a61([0x6a,0x74,0x69])],_0x1ffb28=window[_0x496a61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x29420b[_0x496a61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x29420b[_0x496a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2c3c80={..._0x350b89,[_0x496a61([0x6a,0x74,0x69])]:_0x29420b[_0x496a61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x29420b[_0x496a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2c3c80[_0x496a61([0x76,0x63])],_0x58d826(_0x2c3c80)==_0x1ffb28;}}}async function _0x11b878(){let _0x107964=!0x0;try{const _0x368a7f=_0x135877[_0x496a61([0x73,0x70,0x6c,0x69,0x74])](_0x496a61([0x2e])),[_0x2ea804,_0x375c27,_0x558165]=_0x368a7f;return _0x3f4753(_0x2ea804),await _0xa94e07(_0x2ea804,_0x375c27,_0x558165),_0x107964;}catch{return!0x1;}function _0x3f4753(_0x4a3315){const _0x16fa6c=_0x35d173(_0x4a3315);_0x16fa6c&&_0x16fa6c[_0x496a61([0x61,0x6c,0x67])]==_0x496a61([0x45,0x53,0x32,0x35,0x36])||(_0x107964=!0x1);}async function _0xa94e07(_0x2b6dcc,_0x2de696,_0x4dff63){const _0x4e0550=window[_0x496a61([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x496a61([0x66,0x72,0x6f,0x6d])](_0xc476a2(_0x4dff63),_0x2c105=>_0x2c105[_0x496a61([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x595104=new window[(_0x496a61([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x496a61([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2b6dcc+_0x496a61([0x2e])+_0x2de696),_0x573668=window[_0x496a61([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x496a61([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x573668)return;const _0x2b6fc1=await _0x573668[_0x496a61([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x496a61([0x6a,0x77,0x6b]),_0x554b19,{[_0x496a61([0x6e,0x61,0x6d,0x65])]:_0x496a61([0x45,0x43,0x44,0x53,0x41]),[_0x496a61([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x496a61([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x496a61([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x573668[_0x496a61([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x496a61([0x6e,0x61,0x6d,0x65])]:_0x496a61([0x45,0x43,0x44,0x53,0x41]),[_0x496a61([0x68,0x61,0x73,0x68])]:{[_0x496a61([0x6e,0x61,0x6d,0x65])]:_0x496a61([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2b6fc1,_0x4e0550,_0x595104)||(_0x107964=!0x1);}}function _0x35d173(_0x4f2006){return _0x4f2006[_0x496a61([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x496a61([0x65,0x79]))?JSON[_0x496a61([0x70,0x61,0x72,0x73,0x65])](_0xc476a2(_0x4f2006)):null;}function _0xc476a2(_0x4a6629){return window[_0x496a61([0x61,0x74,0x6f,0x62])](_0x4a6629[_0x496a61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x496a61([0x2b]))[_0x496a61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x496a61([0x2f])));}function _0x58d826(_0x2ac9c9){let _0x3b73a3=0x1505;function _0x319d86(_0xb2aacc){for(let _0x4b029b=0x0;_0x4b029b<_0xb2aacc[_0x496a61([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b029b++){const _0x12b4a7=_0xb2aacc[_0x496a61([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4b029b);_0x3b73a3=(_0x3b73a3<<0x5)+_0x3b73a3+_0x12b4a7,_0x3b73a3&=_0x3b73a3;}}function _0x46bae9(_0x5b657e){Array[_0x496a61([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5b657e)?_0x5b657e[_0x496a61([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x46bae9):_0x5b657e&&typeof _0x5b657e==_0x496a61([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x496a61([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5b657e)[_0x496a61([0x73,0x6f,0x72,0x74])]()[_0x496a61([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xf616e7,_0x1d32a5])=>{_0x319d86(_0xf616e7),_0x46bae9(_0x1d32a5);}):_0x319d86(window[_0x496a61([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5b657e));}return _0x46bae9(_0x2ac9c9),_0x3b73a3>>>0x0;}function _0x38a5de(_0x1f9f72){return _0x1f9f72[_0x496a61([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x496a61([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x496a61([0x30]));}function _0x4f9804(_0x50e76a){return _0x50e76a[_0x496a61([0x73,0x70,0x6c,0x69,0x74])]('')[_0x496a61([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x496a61([0x6a,0x6f,0x69,0x6e])]('');}function _0x14f565(){}function _0x496a61(_0x489034){return _0x489034['map'](_0x274065=>String['fromCharCode'](_0x274065))['join']('');}_0x17e71d(await _0x15b706());}(this);}['_logSuppressibleWarning'](_0x104654,_0x4dc580){if(this['_isSuppressedLog'](_0x104654,_0x4dc580))return;const _0x18f6bf=_0x421338+'/support/error-codes.html#error-'+_0x104654;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x104654,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x4dc580?[_0x4dc580]:[],'\x0aRead\x20more:\x20'+_0x18f6bf);}['_logSuppressibleInfo'](_0x110e18,_0xcdbbc,_0x487516){if(this['_isSuppressedLog'](_0x110e18))return;let _0x496408=_0xcdbbc;_0x487516&&(_0x496408+='\x0aRead\x20more:\x20'+(_0x421338+'/'+_0x487516)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x110e18,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x496408);}['_checkUnsupportedPlugin'](_0xaf165a,_0x32597b){this['editor']['plugins']['has'](_0xaf165a)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0xaf165a,..._0x32597b});}['_validateConfigColorValue'](_0x2af1c9){const _0x374604=this['editor']['config']['get'](_0x2af1c9);if(!_0x374604)return;const _0x56eeec=Array['isArray'](_0x374604),_0x4c3545=_0x56eeec?_0x374604:[_0x374604];for(const [_0x195c4d,_0x5be481]of _0x4c3545['entries']()){const _0x279d2c='string'==typeof _0x5be481?_0x5be481:_0x5be481['color'];_0x571569(_0x279d2c)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x56eeec?_0x2af1c9+'['+_0x195c4d+']':_0x2af1c9,'color':_0x279d2c});}}['_validateConfigColorFormat'](_0x3b4b7c){const _0x1fb637=this['editor']['config']['get'](_0x3b4b7c);_0x1fb637&&_0x1030a8(_0x1fb637)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x3b4b7c,'format':_0x1fb637});}['_isSuppressedLog'](_0x201ea5,_0x41c0f1){const _0x45fa74=this['editor']['config']['get']('email.logs');return!!_0x45fa74['suppressAll']||(!('function'!=typeof _0x45fa74['suppress']||!_0x45fa74['suppress'](_0x201ea5,_0x41c0f1))||!(!Array['isArray'](_0x45fa74['suppress'])||!_0x45fa74['suppress']['includes'](_0x201ea5)));}}const _0x1f8d20=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function _0x571569(_0x48a193){return!!_0x48a193&&_0x1f8d20['some'](_0x2d4195=>_0x48a193['includes'](_0x2d4195+'('));}function _0x1030a8(_0x5220e3){return!!_0x5220e3&&_0x1f8d20['includes'](_0x5220e3);}class HighlightEmailIntegration extends _0x22b56d['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'HighlightEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('Highlight');}}var _0x11b581=function(_0x11f7a9){var _0x8b4626,_0xf27f6b,_0x4a34b3=_0x11f7a9,_0x1a79ea={'a':0x0,'b':0x0,'c':0x0},_0x2ccc09=[];return _0x8b4626=function(_0x3299f5,_0x3b84ee){var _0x415092,_0x573abc,_0x7dd76d,_0x357924,_0x47162e,_0x3a0a52;if(_0x3299f5['test'](_0x4a34b3)){for(_0x573abc=0x0,_0x7dd76d=(_0x415092=_0x4a34b3['match'](_0x3299f5))['length'];_0x573abc<_0x7dd76d;_0x573abc+=0x1)_0x1a79ea[_0x3b84ee]+=0x1,_0x357924=_0x415092[_0x573abc],_0x47162e=_0x4a34b3['indexOf'](_0x357924),_0x3a0a52=_0x357924['length'],_0x2ccc09['push']({'selector':_0x11f7a9['substr'](_0x47162e,_0x3a0a52),'type':_0x3b84ee,'index':_0x47162e,'length':_0x3a0a52}),_0x4a34b3=_0x4a34b3['replace'](_0x357924,Array(_0x3a0a52+0x1)['join']('\x20'));}},_0xf27f6b=function(_0x22d939){var _0x23f9fa,_0x7985b3,_0x445ebb,_0x57ca3e;if(_0x22d939['test'](_0x4a34b3)){for(_0x7985b3=0x0,_0x445ebb=(_0x23f9fa=_0x4a34b3['match'](_0x22d939))['length'];_0x7985b3<_0x445ebb;_0x7985b3+=0x1)_0x57ca3e=_0x23f9fa[_0x7985b3],_0x4a34b3=_0x4a34b3['replace'](_0x57ca3e,Array(_0x57ca3e['length']+0x1)['join']('A'));}},_0xf27f6b(/\\[0-9A-Fa-f]{6}\s?/g),_0xf27f6b(/\\[0-9A-Fa-f]{1,5}\s/g),_0xf27f6b(/\\./g),(function(){var _0x528417,_0x36ae69,_0x42f4a8,_0xddd03c,_0x40eb9d=/{[^]*/gm;if(_0x40eb9d['test'](_0x4a34b3)){for(_0x36ae69=0x0,_0x42f4a8=(_0x528417=_0x4a34b3['match'](_0x40eb9d))['length'];_0x36ae69<_0x42f4a8;_0x36ae69+=0x1)_0xddd03c=_0x528417[_0x36ae69],_0x4a34b3=_0x4a34b3['replace'](_0xddd03c,Array(_0xddd03c['length']+0x1)['join']('\x20'));}}()),_0x8b4626(/(\[[^\]]+\])/g,'b'),_0x8b4626(/(#[^\#\s\+>~\.\[:\)]+)/g,'a'),_0x8b4626(/(\.[^\s\+>~\.\[:\)]+)/g,'b'),_0x8b4626(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,'c'),_0x8b4626(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,'b'),_0x8b4626(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,'b'),_0x4a34b3=(_0x4a34b3=(_0x4a34b3=(_0x4a34b3=(_0x4a34b3=(_0x4a34b3=_0x4a34b3['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'),_0x8b4626(/([^\s\+>~\.\[:]+)/g,'c'),_0x2ccc09['sort'](function(_0x11cf9c,_0x3b53d6){return _0x11cf9c['index']-_0x3b53d6['index'];}),{'selector':_0x11f7a9,'specificity':'0,'+_0x1a79ea['a']['toString']()+','+_0x1a79ea['b']['toString']()+','+_0x1a79ea['c']['toString'](),'specificityArray':[0x0,_0x1a79ea['a'],_0x1a79ea['b'],_0x1a79ea['c']],'parts':_0x2ccc09};};function _0x10c8db(_0x10fa0e){const _0xfc3e3d=[];let _0x31f5f9='',_0x4072a4=0x0;for(;_0x4072a4<_0x10fa0e['length'];){const _0x578fb=_0x10fa0e[_0x4072a4];if('('===_0x578fb){const _0x4918de=_0x2d19fd(_0x10fa0e,_0x4072a4+0x1);if(-0x1===_0x4918de)return[];_0x31f5f9+=_0x10fa0e['slice'](_0x4072a4,_0x4918de+0x1),_0x4072a4=_0x4918de+0x1;}else','!==_0x578fb||_0x31f5f9['endsWith']('\x5c')?(_0x31f5f9+=_0x578fb,_0x4072a4++):(_0xfc3e3d['push'](_0x31f5f9['trim']()),_0x31f5f9='',_0x4072a4++);}return _0x31f5f9['trim']()&&_0xfc3e3d['push'](_0x31f5f9['trim']()),_0xfc3e3d['filter'](Boolean);}function _0x2d19fd(_0xecaeca,_0x2e10a5){let _0x54cb4a=0x1;for(let _0x48cad7=_0x2e10a5;_0x48cad7<_0xecaeca['length'];_0x48cad7++){const _0x3f3077=_0xecaeca[_0x48cad7];if('('===_0x3f3077)_0x54cb4a++;else{if(')'===_0x3f3077&&(_0x54cb4a--,0x0===_0x54cb4a))return _0x48cad7;}}return-0x1;}function _0x414727(_0x398415){return _0x398415['replace'](/!\s*important/i,'')['trim']();}function _0x12c672(_0x5e6185,_0x530267){const _0x18c9a9=new Map(),_0x4241cc=_0x5a798b=>_0x18c9a9['has'](_0x5a798b)?_0x18c9a9['get'](_0x5a798b):_0x5e6185(_0x5a798b);for(const [_0x512500,_0x576941]of _0x530267['getStylesEntries']())if(_0x576941&&_0x512500['startsWith']('--')){const _0x2898f6=_0x42221c(_0x4241cc,_0x576941);_0x18c9a9['set'](_0x512500,_0x2898f6),_0x530267['remove'](_0x512500);}for(const [_0x2cb614,_0x590576]of _0x530267['getStylesEntries']())if(_0x590576){const _0x234dfd=_0x42221c(_0x4241cc,_0x590576);_0x530267['set'](_0x2cb614,_0x234dfd);}return _0x18c9a9;}function _0x42221c(_0x2ad7f3,_0x3dc7c7){return function(_0x24ddca,_0xdd1a7b){let _0x3e5543='',_0x3922c9=0x0;for(;_0x3922c9<_0x24ddca['length'];){const _0x2a36b9=_0x24ddca['indexOf']('var(',_0x3922c9);if(-0x1===_0x2a36b9){_0x3e5543+=_0x24ddca['slice'](_0x3922c9);break;}_0x3e5543+=_0x24ddca['slice'](_0x3922c9,_0x2a36b9);const _0x517d3a=_0x2a36b9+0x4,_0x1a7a16=_0x2d19fd(_0x24ddca,_0x517d3a);_0x3e5543+=_0xdd1a7b(_0x24ddca['substring'](_0x517d3a,_0x1a7a16)),_0x3922c9=_0x1a7a16+0x1;}return _0x3e5543;}(_0x3dc7c7,_0x19d185=>{const [_0x119190,_0x5d30b0]=_0x10c8db(_0x19d185),_0x362fae=_0x2ad7f3(_0x119190);return void 0x0!==_0x362fae?_0x362fae:_0x5d30b0?_0x42221c(_0x2ad7f3,_0x5d30b0):'var('+_0x119190+')';});}async function _0x2a984a(_0x56d236){const _0x4fd614=[await _0x22b56d['collectStylesheets'](_0x56d236['stylesheets']),_0x56d236['inlineCss']]['filter'](_0x59783d=>_0x59783d&&_0x59783d['length'])['join']('\x0a'),_0x54db37=await async function(_0x5844ad,_0x29331e){const _0xf83db4=new CSSStyleSheet();return await _0xf83db4['replace'](_0x29331e),_0x172ac7(Array['from'](_0xf83db4['cssRules'])['filter'](_0x42fddb=>_0x42fddb instanceof CSSStyleRule))['flatMap'](({selectorText:_0x14bb0e,contentCssText:_0x3efe6c})=>{const _0xf13457=_0x10c8db(_0x14bb0e),_0x384163=new _0x22b56d['StylesMap'](_0x5844ad)['setTo'](_0x3efe6c);return _0xf13457['map'](_0x2bc39c=>{const _0x1831ec=function(_0x42e820){const _0x76569e=':where(';let _0x37f56a=_0x42e820,_0x3728e4=0x0;for(let _0x1ac99c=0x0;_0x1ac99c<0x64;_0x1ac99c++){const _0xb6b7e5=_0x37f56a['indexOf'](_0x76569e,_0x3728e4);if(-0x1===_0xb6b7e5)break;let _0x3a3d9e=0x0;for(let _0x1cc33c=0x0;_0x1cc33c<_0xb6b7e5;_0x1cc33c++)'('===_0x37f56a[_0x1cc33c]?_0x3a3d9e++:')'===_0x37f56a[_0x1cc33c]&&_0x3a3d9e--;if(_0x3a3d9e>0x0){_0x3728e4=_0xb6b7e5+_0x76569e['length'];continue;}let _0x309465=-0x1;for(let _0x1f27a6=_0xb6b7e5+_0x76569e['length'],_0x170091=0x1;_0x1f27a6<_0x37f56a['length'];_0x1f27a6++)if('('===_0x37f56a[_0x1f27a6]?_0x170091++:')'===_0x37f56a[_0x1f27a6]&&_0x170091--,!_0x170091){_0x309465=_0x1f27a6;break;}-0x1!==_0x309465?(_0x37f56a=_0x37f56a['slice'](0x0,_0xb6b7e5)+_0x37f56a['slice'](_0x309465+0x1),_0x3728e4=_0xb6b7e5):_0x3728e4=_0xb6b7e5+_0x76569e['length'];}return _0x37f56a['replace'](/\s+/g,'\x20')['trim']();}(_0x2bc39c),_0x1501ae=_0x1831ec?function(_0x3710a6){var _0x1640d5,_0x180ae8,_0x53a67b,_0xed8cb4,_0x653bc6=[];for(_0x53a67b=0x0,_0xed8cb4=(_0x1640d5=_0x3710a6['split'](','))['length'];_0x53a67b<_0xed8cb4;_0x53a67b+=0x1)(_0x180ae8=_0x1640d5[_0x53a67b])['length']>0x0&&_0x653bc6['push'](_0x11b581(_0x180ae8));return _0x653bc6;}(_0x1831ec)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0];return{'stylesMap':_0x384163,'flatSelector':_0x2bc39c,'specificity':_0x1501ae};});})['sort']((_0x43b724,_0x4fa31a)=>function(_0x5c4d43,_0x56e187){var _0x36c623,_0x433daf,_0x1e4447;if('string'==typeof _0x5c4d43){if(-0x1!==_0x5c4d43['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x36c623=_0x11b581(_0x5c4d43)['specificityArray'];}else{if(!Array['isArray'](_0x5c4d43))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x5c4d43['filter'](function(_0x42be99){return'number'==typeof _0x42be99;})['length'])throw'Invalid\x20specificity\x20array';_0x36c623=_0x5c4d43;}if('string'==typeof _0x56e187){if(-0x1!==_0x56e187['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x433daf=_0x11b581(_0x56e187)['specificityArray'];}else{if(!Array['isArray'](_0x56e187))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x56e187['filter'](function(_0x576a57){return'number'==typeof _0x576a57;})['length'])throw'Invalid\x20specificity\x20array';_0x433daf=_0x56e187;}for(_0x1e4447=0x0;_0x1e4447<0x4;_0x1e4447+=0x1){if(_0x36c623[_0x1e4447]<_0x433daf[_0x1e4447])return-0x1;if(_0x36c623[_0x1e4447]>_0x433daf[_0x1e4447])return 0x1;}return 0x0;}(_0x43b724['specificity'],_0x4fa31a['specificity']));}(_0x56d236['stylesProcessor'],_0x4fd614),_0x2503b4=function(_0x312c91){const _0x5a9e78=new Map();for(const {stylesMap:_0x23618e,flatSelector:_0x32720e}of _0x312c91){if(':root'!==_0x32720e)continue;const _0x28fa2d=_0x12c672(_0x5a9e78['get']['bind'](_0x5a9e78),_0x23618e);for(const [_0x9a3a49,_0x34c399]of _0x28fa2d)_0x5a9e78['set'](_0x9a3a49,_0x34c399);}return _0x5a9e78;}(_0x54db37);return{'parsedCssRules':_0x54db37,'rootCssVariables':_0x2503b4};}function _0x172ac7(_0x52f70b,_0x59d2b5=''){return _0x52f70b['flatMap'](_0x27a8fc=>{const {selectorText:_0x2a899a,cssText:_0x3bd371,cssRules:_0x1a3f58}=_0x27a8fc;if(!_0x2a899a)return[];const _0x150ba9=_0x2a899a['replace'](/&/g,_0x59d2b5);let _0x42aa14=_0x3bd371['replace'](_0x2a899a,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x1a3f58||!_0x1a3f58['length'])return[{'selectorText':_0x150ba9,'contentCssText':_0x42aa14}];for(const _0x1a2b5b of _0x1a3f58)_0x42aa14=_0x42aa14['replace'](_0x1a2b5b['cssText'],'')['trim']();return[{'selectorText':_0x150ba9,'contentCssText':_0x42aa14},..._0x172ac7(Array['from'](_0x1a3f58),_0x150ba9)];});}function _0x29ce14(_0x6b45e2,_0x1e4f0e){const _0x3dd2d3=new _0x22b56d['StylesMap'](_0x6b45e2);for(const _0x215dfb of _0x1e4f0e){let _0x1adde0=null;if(_0x1adde0='string'==typeof _0x215dfb?new _0x22b56d['StylesMap'](_0x6b45e2)['setTo'](_0x215dfb):_0x215dfb,_0x1adde0){for(const [_0x31ffff,_0x327b19]of _0x1adde0['getStylesEntries']())_0x3dd2d3['set'](_0x31ffff,_0x327b19);}}return _0x3dd2d3;}class ExportInlineStylesCommand extends _0x22b56d['Command']{['_stylesProcessor'];constructor(_0x564aa0){super(_0x564aa0),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],_0x22b56d['addMarginStylesRules'](this['_stylesProcessor']),_0x22b56d['addPaddingStylesRules'](this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0x75b2f9){const _0x48c331=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x428606}=this['editor']['locale'],{rootName:_0x11c237='main',dataControllerDowncastOptions:_0x201ded={},transformations:_0x19967e=_0x48c331['transformations']||[]}=_0x75b2f9||{};this['isBusy']=!0x0,this['refresh']();const _0x2b781d=this['_getRootDataHTMLFragment'](_0x11c237,_0x201ded),_0x1fa1ff=_0x22b56d['createElement'](_0x2b781d['ownerDocument'],'div',{'dir':_0x428606,'class':'ck-content'},[_0x2b781d]);return this['_collectAndApplyStyles'](_0x19967e,_0x1fa1ff)['then'](()=>{const _0x5ed248=function(_0x52dc67){const _0x470c62=_0x52dc67['ownerDocument']['createDocumentFragment']();for(;_0x52dc67['firstChild'];)_0x470c62['appendChild'](_0x52dc67['firstChild']);return _0x470c62;}(_0x1fa1ff),_0x371c4d=_0x1fa1ff['getAttribute']('style');if(_0x371c4d)for(const _0x141d3d of _0x5ed248['children']){const _0x5492ef=_0x141d3d['getAttribute']('style'),_0x37b6c0=_0x29ce14(this['_stylesProcessor'],[_0x371c4d,_0x5492ef]);_0x141d3d['setAttribute']('style',_0x1e67fa(_0x37b6c0));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x5ed248);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x5dd0d0,_0x1ad328){const {data:_0x20ab9c,model:_0x5d4bc4}=this['editor'],_0x851474=_0x5d4bc4['document']['getRoot'](_0x5dd0d0),_0x26a0b6=_0x20ab9c['toView'](_0x851474,_0x1ad328);return _0x20ab9c['htmlProcessor']['domConverter']['viewToDom'](_0x26a0b6);}async['_collectAndApplyStyles'](_0x13f7ec,_0x3103fe){const {stylesheets:_0x51689e,inlineCss:_0x3ecb4d,stripCssClasses:_0x39edcd}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x13acd3,rootCssVariables:_0x554406}=await _0x2a984a({'stylesheets':_0x51689e||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x3ecb4d});this['_processElementTree']({'transformations':_0x13f7ec,'parsedCssRules':_0x13acd3,'element':_0x3103fe,'stripCssClasses':_0x39edcd,'parentCSSVariablesLookup':_0x554406['get']['bind'](_0x554406)});}['_processElementTree']({element:_0x1dcbb4,parsedCssRules:_0x3dcebc,parentCSSVariablesLookup:_0x184e95,stripCssClasses:_0x28a846,transformations:_0x163218}){const {stylesMap:_0x1e5e29,localCSSVariables:_0x44a3dd}=function(_0x5db69f){const _0x5ccbd1=_0x5db69f['element']['getAttribute']('style')||'',_0x26ad20=_0x5db69f['parsedCssRules']['filter'](_0x5383b2=>_0x5db69f['element']['matches'](_0x5383b2['flatSelector']))['map'](_0x80819c=>_0x80819c['stylesMap']),_0x4af9ed=_0x29ce14(_0x5db69f['stylesProcessor'],[..._0x26ad20,_0x5ccbd1]);return{'localCSSVariables':_0x12c672(_0x5db69f['fallbackCSSVariablesLookup'],_0x4af9ed),'stylesMap':_0x4af9ed};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x184e95,'parsedCssRules':_0x3dcebc,'element':_0x1dcbb4});for(const _0x24cb87 of _0x163218){const _0x8edb21=_0x24cb87(_0x1dcbb4,_0x1e5e29);_0x8edb21&&_0x8edb21 instanceof HTMLElement&&(_0x1dcbb4=_0x8edb21);}_0x1e5e29['size']?_0x1dcbb4['setAttribute']('style',_0x1e67fa(_0x1e5e29)):_0x1dcbb4['removeAttribute']('style');const _0x3c2110=_0x68b36c=>_0x44a3dd['has'](_0x68b36c)?_0x44a3dd['get'](_0x68b36c):_0x184e95(_0x68b36c);for(const _0x4f120d of _0x1dcbb4['children'])_0x4f120d instanceof HTMLElement&&this['_processElementTree']({'element':_0x4f120d,'parentCSSVariablesLookup':_0x3c2110,'parsedCssRules':_0x3dcebc,'stripCssClasses':_0x28a846,'transformations':_0x163218});_0x28a846&&_0x1dcbb4['removeAttribute']('class');}}function _0x1e67fa(_0x404f0b){return _0x404f0b['getStylesEntries']()['map'](_0x22a43b=>_0x22a43b['join'](':'))['join'](';')+';';}class ExportInlineStylesEditing extends _0x22b56d['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'](){!async function(_0x4110ba){const _0x418a56=_0x87ef72([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]),_0x24fc04=0x6f40c3fb,_0x32f9f9=0x6f474993^_0x24fc04,_0x4e7ba0=window[_0x87ef72([0x44,0x61,0x74,0x65])][_0x87ef72([0x6e,0x6f,0x77])](),_0x68445b=_0x4110ba[_0x87ef72([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1def4e=new window[(_0x87ef72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44de43=>{_0x68445b[_0x87ef72([0x6f,0x6e,0x63,0x65])](_0x87ef72([0x72,0x65,0x61,0x64,0x79]),_0x44de43);}),_0x2fb348={[_0x87ef72([0x6b,0x74,0x79])]:_0x87ef72([0x45,0x43]),[_0x87ef72([0x75,0x73,0x65])]:_0x87ef72([0x73,0x69,0x67]),[_0x87ef72([0x63,0x72,0x76])]:_0x87ef72([0x50,0x2d,0x32,0x35,0x36]),[_0x87ef72([0x78])]:_0x87ef72([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]),[_0x87ef72([0x79])]:_0x87ef72([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]),[_0x87ef72([0x61,0x6c,0x67])]:_0x87ef72([0x45,0x53,0x32,0x35,0x36])},_0x23fab9=_0x68445b[_0x87ef72([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x87ef72([0x67,0x65,0x74])](_0x87ef72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1b0d2c(){let _0x2e99c3,_0x4e9662=null,_0x1c2da0=null;try{if(_0x23fab9==_0x87ef72([0x47,0x50,0x4c]))return _0x87ef72([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2e99c3=_0x5b89e8(),!_0x2e99c3)return _0x87ef72([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2e99c3[_0x87ef72([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c2da0=_0x40d801(_0x2e99c3[_0x87ef72([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2e99c3[_0x87ef72([0x6a,0x74,0x69])])),await _0x4142d6()?_0x394d1b()?_0x30bd8e()?_0x87ef72([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1bab3b()?(_0x2e99c3[_0x87ef72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x87ef72([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4e9662=_0xb44de3(_0x87ef72([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x51e164()):_0x87ef72([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x87ef72([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x87ef72([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x87ef72([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x30bd8e(){const _0x1a9906=[_0x87ef72([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x87ef72([0x74,0x72,0x69,0x61,0x6c])][_0x87ef72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e99c3[_0x87ef72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4e7ba0/0x3e8:0xe10*_0x32f9f9;return _0x2e99c3[_0x87ef72([0x65,0x78,0x70])]<_0x1a9906;}function _0x394d1b(){const _0x25d6cb=_0x2e99c3[_0x87ef72([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x25d6cb&&(!!_0x25d6cb[_0x87ef72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x87ef72([0x2a]))||!!_0x25d6cb[_0x87ef72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x87ef72([0x45,0x49,0x53])));}function _0x1bab3b(){const _0x2a5997=_0x2e99c3[_0x87ef72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2a5997||0x0==_0x2a5997[_0x87ef72([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x193144}=new URL(window[_0x87ef72([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2a5997[_0x87ef72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x193144))return!0x0;const _0x48c9e1=_0x193144[_0x87ef72([0x73,0x70,0x6c,0x69,0x74])](_0x87ef72([0x2e]));return _0x2a5997[_0x87ef72([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x210883=>_0x210883[_0x87ef72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x87ef72([0x2a])))[_0x87ef72([0x6d,0x61,0x70])](_0x29d251=>_0x29d251[_0x87ef72([0x73,0x70,0x6c,0x69,0x74])](_0x87ef72([0x2e])))[_0x87ef72([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22bca9=>_0x22bca9[_0x87ef72([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x48c9e1[_0x87ef72([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x87ef72([0x6d,0x61,0x70])](_0x5b0bf7=>Array(_0x48c9e1[_0x87ef72([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5b0bf7[_0x87ef72([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x87ef72([0x66,0x69,0x6c,0x6c])](_0x5b0bf7[0x0]===_0x87ef72([0x2a])?_0x87ef72([0x2a]):'')[_0x87ef72([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5b0bf7))[_0x87ef72([0x73,0x6f,0x6d,0x65])](_0x10320c=>_0x48c9e1[_0x87ef72([0x65,0x76,0x65,0x72,0x79])]((_0x328395,_0x22cbd2)=>_0x10320c[_0x22cbd2]===_0x328395||_0x10320c[_0x22cbd2]===_0x87ef72([0x2a])));}function _0x51e164(){return _0x4e9662&&_0x1c2da0?new window[(_0x87ef72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x236eb4,_0x3fe590)=>{_0x4e9662[_0x87ef72([0x74,0x68,0x65,0x6e])](_0x236eb4,_0x3fe590),_0x1c2da0[_0x87ef72([0x74,0x68,0x65,0x6e])](_0x59dbc0=>{_0x59dbc0!=_0x87ef72([0x56,0x61,0x6c,0x69,0x64])&&_0x236eb4(_0x59dbc0);},_0x3fe590);}):_0x4e9662||_0x1c2da0||_0x87ef72([0x56,0x61,0x6c,0x69,0x64]);}}function _0x40d801(_0x183977,_0x1025d2){return new window[(_0x87ef72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18ff10=>{if(_0x261be7())return _0x18ff10(_0x87ef72([0x56,0x61,0x6c,0x69,0x64]));_0x1d70cc(),_0x68445b[_0x87ef72([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x87ef72([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x55158a=!0x1;const _0x4d8d8f=_0x22b56d['uid']();function _0x23509d(_0x4ee0d1){return!!_0x4ee0d1&&(typeof _0x4ee0d1===_0x87ef72([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4ee0d1===_0x87ef72([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4ee0d1[_0x87ef72([0x74,0x68,0x65,0x6e])]===_0x87ef72([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4ee0d1[_0x87ef72([0x63,0x61,0x74,0x63,0x68])]===_0x87ef72([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x7d3d3c(_0xec9b95){_0x3acf65(_0xec9b95)[_0x87ef72([0x74,0x68,0x65,0x6e])](_0x4970b9=>{if(!_0x4970b9||_0x4970b9[_0x87ef72([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x87ef72([0x6f,0x6b]))return _0x87ef72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x96ef8a(_0x18e6c5(_0x4d8d8f+_0x1025d2))!=_0x4970b9[_0x87ef72([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x87ef72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x87ef72([0x56,0x61,0x6c,0x69,0x64]);})[_0x87ef72([0x74,0x68,0x65,0x6e])](_0x6109b7=>(_0x207fe2(),_0x6109b7),()=>{const _0x5db706=_0x579f54();return null==_0x5db706?(_0x207fe2(),_0x87ef72([0x56,0x61,0x6c,0x69,0x64])):_0x87ef72(_0x4e7ba0-_0x5db706>(0x4b4c47fb^_0x24fc04)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x87ef72([0x74,0x68,0x65,0x6e])](_0x18ff10)[_0x87ef72([0x63,0x61,0x74,0x63,0x68])](()=>{_0x18ff10(_0x87ef72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4418ea=0x6f762d7b^_0x24fc04;function _0x207fe2(){const _0x25e194=_0x87ef72([0x6c,0x6c,0x63,0x74,0x2d])+_0x96ef8a(_0x18e6c5(_0x183977)),_0x25ed18=_0x4f0cd1(_0x96ef8a(window[_0x87ef72([0x4d,0x61,0x74,0x68])][_0x87ef72([0x63,0x65,0x69,0x6c])](_0x4e7ba0/_0x4418ea)));window[_0x87ef72([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x87ef72([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x25e194,_0x25ed18);}function _0x579f54(){const _0x46e850=_0x87ef72([0x6c,0x6c,0x63,0x74,0x2d])+_0x96ef8a(_0x18e6c5(_0x183977)),_0x4af5f9=window[_0x87ef72([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x87ef72([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46e850);return _0x4af5f9?window[_0x87ef72([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f0cd1(_0x4af5f9),0x10)*_0x4418ea:null;}function _0x3acf65(_0x21bce4){return new window[(_0x87ef72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1cf385,_0x2745bf)=>{_0x21bce4[_0x87ef72([0x74,0x68,0x65,0x6e])](_0x1cf385,_0x2745bf),window[_0x87ef72([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2745bf,0x6f41173b^_0x24fc04);});}}_0x68445b[_0x87ef72([0x6f,0x6e])](_0x87ef72([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x12dfcf,_0x4e9ef9)=>{if(_0x4e9ef9[0x0]!=_0x183977)return _0x18ff10(_0x87ef72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4e9ef9[0x1]={..._0x4e9ef9[0x1],[_0x87ef72([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4d8d8f};},{[_0x87ef72([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x87ef72([0x68,0x69,0x67,0x68])}),_0x68445b[_0x87ef72([0x6f,0x6e])](_0x87ef72([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x53b4e0=>{_0x23509d(_0x53b4e0[_0x87ef72([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x55158a=!0x0,_0x7d3d3c(_0x53b4e0[_0x87ef72([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x87ef72([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x87ef72([0x6c,0x6f,0x77])}),_0x1def4e[_0x87ef72([0x74,0x68,0x65,0x6e])](()=>{_0x55158a||_0x18ff10(_0x87ef72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x261be7(){return _0x68445b[_0x87ef72([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x87ef72([0x76,0x69,0x65,0x77])][_0x87ef72([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x87ef72([0x61,0x75,0x74,0x6f]);}function _0x1d70cc(){_0x68445b[_0x87ef72([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x87ef72([0x76,0x69,0x65,0x77])][_0x87ef72([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x87ef72([0x61,0x75,0x74,0x6f]);}}function _0xb44de3(_0x1a3fba){const _0x235fb0=[new window[(_0x87ef72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43b1f2=>setTimeout(_0x43b1f2,0x6f49fd37^_0x24fc04)),_0x1def4e[_0x87ef72([0x74,0x68,0x65,0x6e])](()=>new window[(_0x87ef72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33258d=>{let _0x4190a9=0x0;_0x68445b[_0x87ef72([0x6d,0x6f,0x64,0x65,0x6c])][_0x87ef72([0x6f,0x6e])](_0x87ef72([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x483378,_0x106fd6)=>{_0x106fd6[0x0][_0x87ef72([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4190a9++,_0x4190a9==(0x6f40c613^_0x24fc04)&&(_0x33258d(),_0x483378[_0x87ef72([0x6f,0x66,0x66])]());});}))];return window[_0x87ef72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x87ef72([0x72,0x61,0x63,0x65])](_0x235fb0)[_0x87ef72([0x74,0x68,0x65,0x6e])](()=>_0x1a3fba);}async function _0x3129fd(){await _0x1def4e;const _0x23d087=_0x68445b['commands'][_0x87ef72([0x67,0x65,0x74])](_0x87ef72([0x65,0x78,0x70,0x6f,0x72,0x74,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x53,0x74,0x79,0x6c,0x65,0x73]));_0x23d087&&_0x23d087[_0x87ef72([0x6f,0x6e])](_0x87ef72([0x65,0x78,0x65,0x63,0x75,0x74,0x65]),_0x318c7b=>{_0x318c7b['stop']();},{'priority':_0x87ef72([0x68,0x69,0x67,0x68,0x65,0x73,0x74])}),_0x68445b[_0x87ef72([0x6d,0x6f,0x64,0x65,0x6c])][_0x87ef72([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x276c58,_0x68445b[_0x87ef72([0x6d,0x6f,0x64,0x65,0x6c])][_0x87ef72([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x276c58,_0x68445b[_0x87ef72([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x87ef72([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x53ae30(_0x5eebd7){const _0x57f0cd=_0x8a8cfa();_0x68445b[_0x57f0cd]=_0x87ef72([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])+_0x5eebd7,_0x5eebd7!=_0x87ef72([0x56,0x61,0x6c,0x69,0x64])&&_0x3129fd();}function _0x8a8cfa(){const _0x5bb8ee=window[_0x87ef72([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x87ef72([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x87ef72([0x6e,0x6f,0x77])]())[_0x87ef72([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x87ef72([0x2e]),'');let _0x44a501=_0x87ef72([0x44]);for(let _0x35bd83=0x0;_0x35bd83<_0x5bb8ee[_0x87ef72([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35bd83+=0x2){let _0x5ca1c9=window[_0x87ef72([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bb8ee[_0x87ef72([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35bd83,_0x35bd83+0x2));_0x5ca1c9>=_0x418a56[_0x87ef72([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5ca1c9-=_0x418a56[_0x87ef72([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x44a501+=_0x418a56[_0x5ca1c9];}return _0x44a501;}function _0x5b89e8(){const _0x2e0920=_0x23fab9[_0x87ef72([0x73,0x70,0x6c,0x69,0x74])](_0x87ef72([0x2e]));if(0x3!=_0x2e0920[_0x87ef72([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x17774f(_0x2e0920[0x1]);function _0x17774f(_0x4ef28d){const _0x202ff1=_0x88c513(_0x4ef28d);return _0x202ff1&&_0x169dcf()?_0x202ff1:null;function _0x169dcf(){const _0x3427f3=_0x202ff1[_0x87ef72([0x6a,0x74,0x69])],_0x476e12=window[_0x87ef72([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3427f3[_0x87ef72([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3427f3[_0x87ef72([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x7b1336={..._0x202ff1,[_0x87ef72([0x6a,0x74,0x69])]:_0x3427f3[_0x87ef72([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3427f3[_0x87ef72([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x7b1336[_0x87ef72([0x76,0x63])],_0x18e6c5(_0x7b1336)==_0x476e12;}}}async function _0x4142d6(){let _0x423721=!0x0;try{const _0x52be4b=_0x23fab9[_0x87ef72([0x73,0x70,0x6c,0x69,0x74])](_0x87ef72([0x2e])),[_0x3e8405,_0x150881,_0x2401ce]=_0x52be4b;return _0x44eda4(_0x3e8405),await _0x4357c9(_0x3e8405,_0x150881,_0x2401ce),_0x423721;}catch{return!0x1;}function _0x44eda4(_0x41b9bb){const _0x4bddc4=_0x88c513(_0x41b9bb);_0x4bddc4&&_0x4bddc4[_0x87ef72([0x61,0x6c,0x67])]==_0x87ef72([0x45,0x53,0x32,0x35,0x36])||(_0x423721=!0x1);}async function _0x4357c9(_0x5769a9,_0x3e397c,_0x20350d){const _0x367845=window[_0x87ef72([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x87ef72([0x66,0x72,0x6f,0x6d])](_0x1287c1(_0x20350d),_0x3a021c=>_0x3a021c[_0x87ef72([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x38ec87=new window[(_0x87ef72([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x87ef72([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5769a9+_0x87ef72([0x2e])+_0x3e397c),_0x368e49=window[_0x87ef72([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x87ef72([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x368e49)return;const _0x100f38=await _0x368e49[_0x87ef72([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x87ef72([0x6a,0x77,0x6b]),_0x2fb348,{[_0x87ef72([0x6e,0x61,0x6d,0x65])]:_0x87ef72([0x45,0x43,0x44,0x53,0x41]),[_0x87ef72([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x87ef72([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x87ef72([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x368e49[_0x87ef72([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x87ef72([0x6e,0x61,0x6d,0x65])]:_0x87ef72([0x45,0x43,0x44,0x53,0x41]),[_0x87ef72([0x68,0x61,0x73,0x68])]:{[_0x87ef72([0x6e,0x61,0x6d,0x65])]:_0x87ef72([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x100f38,_0x367845,_0x38ec87)||(_0x423721=!0x1);}}function _0x88c513(_0x10ac6b){return _0x10ac6b[_0x87ef72([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x87ef72([0x65,0x79]))?JSON[_0x87ef72([0x70,0x61,0x72,0x73,0x65])](_0x1287c1(_0x10ac6b)):null;}function _0x1287c1(_0x5aac67){return window[_0x87ef72([0x61,0x74,0x6f,0x62])](_0x5aac67[_0x87ef72([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x87ef72([0x2b]))[_0x87ef72([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x87ef72([0x2f])));}function _0x18e6c5(_0xe407ec){let _0x349cf2=0x1505;function _0x43ad76(_0x52cd84){for(let _0x10f0a6=0x0;_0x10f0a6<_0x52cd84[_0x87ef72([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10f0a6++){const _0x311ad9=_0x52cd84[_0x87ef72([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x10f0a6);_0x349cf2=(_0x349cf2<<0x5)+_0x349cf2+_0x311ad9,_0x349cf2&=_0x349cf2;}}function _0x3ff597(_0x2c1ccd){Array[_0x87ef72([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2c1ccd)?_0x2c1ccd[_0x87ef72([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3ff597):_0x2c1ccd&&typeof _0x2c1ccd==_0x87ef72([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x87ef72([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2c1ccd)[_0x87ef72([0x73,0x6f,0x72,0x74])]()[_0x87ef72([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5dc26b,_0x3dc937])=>{_0x43ad76(_0x5dc26b),_0x3ff597(_0x3dc937);}):_0x43ad76(window[_0x87ef72([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2c1ccd));}return _0x3ff597(_0xe407ec),_0x349cf2>>>0x0;}function _0x96ef8a(_0x519e5f){return _0x519e5f[_0x87ef72([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x87ef72([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x87ef72([0x30]));}function _0x4f0cd1(_0x30bc12){return _0x30bc12[_0x87ef72([0x73,0x70,0x6c,0x69,0x74])]('')[_0x87ef72([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x87ef72([0x6a,0x6f,0x69,0x6e])]('');}function _0x276c58(){}function _0x87ef72(_0x2f6774){return _0x2f6774['map'](_0x4753c5=>String['fromCharCode'](_0x4753c5))['join']('');}_0x53ae30(await _0x1b0d2c());}(this);}}class ExportInlineStyles extends _0x22b56d['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 _0x523bea=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2a6c92;for(const _0x45d5dc in _0x523bea){const _0x569dfc=_0x45d5dc,_0x591f23=_0x523bea[_0x569dfc];if('exportInlineStylesLicenseKeyValid'==_0x591f23||'exportInlineStylesLicenseKeyInvalid'==_0x591f23||'exportInlineStylesLicenseKeyExpired'==_0x591f23||'exportInlineStylesLicenseKeyDomainLimit'==_0x591f23||'exportInlineStylesLicenseKeyNotAllowed'==_0x591f23||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x591f23||'exportInlineStylesLicenseKeyUsageLimit'==_0x591f23){delete _0x523bea[_0x569dfc],_0x2a6c92=_0x591f23,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x2a6c92&&_0x523bea['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x2a6c92&&_0x523bea['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x2a6c92&&_0x523bea['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x2a6c92&&_0x523bea['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x2a6c92&&_0x523bea['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x2a6c92&&_0x523bea['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function _0x50264b(_0x2e7c7a,_0x55cb1a){if(!['TABLE','IMG']['includes'](_0x2e7c7a['tagName']))return;const _0x3f3b63=_0x55cb1a['getAsString']('float');if(_0x3f3b63){const _0x82619d=_0x414727(_0x3f3b63);'left'!==_0x82619d&&'right'!==_0x82619d||_0x2e7c7a['setAttribute']('align',_0x82619d);}}function _0x385bf2(_0x30c7b6,_0x70b0d9){if('TABLE'!==_0x30c7b6['tagName']||_0x70b0d9['has']('float'))return;const _0x530098=_0x57877e(_0x70b0d9),_0x51edee=_0x70b0d9['getAsString']('width');(_0x530098||_0x51edee)&&(_0xda13d7(_0x30c7b6,_0x30c7b6,{'align':_0x530098,'width':_0x51edee}),_0x70b0d9['remove']('width'),_0x70b0d9['remove']('margin-left'),_0x70b0d9['remove']('margin-right'),_0x70b0d9['remove']('min-width'),_0x70b0d9['remove']('max-width'));}function _0x473e23(_0x3dbd6a,_0x2374a8){if('IMG'!==_0x3dbd6a['tagName'])return;const _0x5d2332=_0x2374a8['getAsString']('width');_0x5d2332&&(_0x3dbd6a['setAttribute']('width',_0x5d2332),_0x3dbd6a['setAttribute']('height','auto'));}function _0x47c27b(_0x30ebe5,_0x2a7e99){if('FIGURE'!==_0x30ebe5['tagName'])return;const _0x4b8392=_0x57877e(_0x2a7e99),_0x52607c=_0x2a7e99['getAsString']('width');if(!_0x4b8392&&!_0x52607c)return;const _0x2a7a12=_0x5edf62(_0x30ebe5,'div');return _0xda13d7(_0x30ebe5,_0x2a7a12,{'align':_0x4b8392,'width':_0x52607c}),_0x2a7e99['set']('width','100%'),_0x2a7e99['remove']('margin-left'),_0x2a7e99['remove']('margin-right'),_0x2a7e99['remove']('min-width'),_0x2a7e99['remove']('max-width'),_0x2a7a12;}function _0x483c3c(_0x16bc4b){if('FIGCAPTION'!==_0x16bc4b['tagName'])return;const _0x3075e8=_0x5edf62(_0x16bc4b,'div');return _0x16bc4b['replaceWith'](_0x3075e8),_0x3075e8;}function _0xda13d7(_0x20ef16,_0x1fef6b,_0xe39099){const _0x2866b1=_0x20ef16['ownerDocument'],{table:_0x28de5f,cell:_0x531661}=_0x471b15(_0x2866b1,'100%');_0xe39099['align']&&_0x531661['setAttribute']('align',_0x414727(_0xe39099['align']));let _0x34c51d=_0x531661;if(_0xe39099['width']){const {table:_0xb98c8a,cell:_0x52ac16}=_0x471b15(_0x2866b1,_0x414727(_0xe39099['width']));_0x531661['appendChild'](_0xb98c8a),_0x34c51d=_0x52ac16;}_0x20ef16['replaceWith'](_0x28de5f),_0x20ef16['removeAttribute']('align'),_0x20ef16['removeAttribute']('width'),_0x34c51d['appendChild'](_0x1fef6b);}function _0x471b15(_0x1fb855,_0x3117c7){const _0x3b0687=_0x1fb855['createElement']('table');_0x3b0687['setAttribute']('width',_0x3117c7),_0x3b0687['setAttribute']('cellpadding','0'),_0x3b0687['setAttribute']('cellspacing','0'),_0x3b0687['setAttribute']('border','0'),_0x3b0687['setAttribute']('role','presentation');const _0x3899ba=_0x1fb855['createElement']('tbody'),_0xbebef8=_0x1fb855['createElement']('tr'),_0x2fa714=_0x1fb855['createElement']('td');return _0x3b0687['appendChild'](_0x3899ba),_0x3899ba['appendChild'](_0xbebef8),_0xbebef8['appendChild'](_0x2fa714),{'table':_0x3b0687,'cell':_0x2fa714};}function _0x57877e(_0x3c58b4){const _0x4dc175=_0x3c58b4['getAsString']('margin-left'),_0xbd6261=_0x3c58b4['getAsString']('margin-right'),_0x30ef2a=_0x4dc175&&_0x414727(_0x4dc175),_0x4a41fd=_0xbd6261&&_0x414727(_0xbd6261);return'auto'===_0x30ef2a&&'auto'===_0x4a41fd?'center':'auto'===_0x30ef2a?'right':'auto'===_0x4a41fd?'left':void 0x0;}function _0x5edf62(_0x2ceade,_0x50cf1a){const _0x78f8ba=_0x2ceade['ownerDocument']['createElement'](_0x50cf1a);for(const _0x1528d2 of Array['from'](_0x2ceade['attributes']))_0x78f8ba['setAttribute'](_0x1528d2['name'],_0x1528d2['value']);for(;_0x2ceade['firstChild'];)_0x78f8ba['appendChild'](_0x2ceade['firstChild']);return _0x78f8ba;}class ImageEmailIntegration extends _0x22b56d['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x361bda,plugins:_0x517b5c}=this['editor'],_0x12ecf0=_0x361bda['get']('exportInlineStyles');if(_0x12ecf0?.['transformations']?.['includes'](_0x47c27b))return;_0x517b5c['get'](EmailConfigurationLogger)['_checkUnsupportedPlugin']('ImageBlock',{'description':'Block\x20images\x20are\x20unsupported\x20in\x20email\x20environments.\x20Consider\x20enabling\x20the\x20`transformEmailFigureToTable`\x20transformation\x20in\x20the\x20`exportInlineStyles`\x20in\x20order\x20to\x20make\x20block\x20images\x20work\x20in\x20email\x20clients.'});}}class MathTypeEmailIntegration extends _0x22b56d['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 _0x22b56d['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x520bb8=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('ExportInlineStyles')||_0x520bb8['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}}class ListEmailIntegration extends _0x22b56d['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x5aa010=this['editor']['plugins']['get'](EmailConfigurationLogger),_0x12a562=this['editor']['config']['get']('list');_0x12a562&&_0x12a562['properties']&&_0x12a562['properties']['reversed']&&_0x5aa010['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x12a562&&_0x12a562['enableListItemMarkerFormatting']&&_0x5aa010['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}}class TableEmailIntegration extends _0x22b56d['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:_0x174c8b}=this['editor'],_0x1d9d15=_0x174c8b['get'](EmailConfigurationLogger);_0x174c8b['has']('Table')&&(_0x174c8b['has']('PlainTableOutput')||_0x1d9d15['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x174c8b['has']('TableLayout')||_0x1d9d15['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x35868d,plugins:_0x2cf258}=this['editor'];_0x35868d['get']('table')&&_0x2cf258['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x318cb9){const _0x309e6a=this['editor']['plugins']['get'](EmailConfigurationLogger);_0x309e6a['_validateConfigColorValue']('table.'+_0x318cb9+'.borderColors'),_0x309e6a['_validateConfigColorValue']('table.'+_0x318cb9+'.backgroundColors'),_0x309e6a['_validateConfigColorValue']('table.'+_0x318cb9+'.defaultProperties.borderColor'),_0x309e6a['_validateConfigColorValue']('table.'+_0x318cb9+'.defaultProperties'),_0x309e6a['_validateConfigColorFormat']('table.'+_0x318cb9+'.colorPicker.format');}}class EmptyBlockEmailIntegration extends _0x22b56d['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x1763c5=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('EmptyBlock')||_0x1763c5['_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 _0x22b56d['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x15553f}=this['editor'];_0x15553f['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x15553f['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x4fb405){const _0x5978c=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['config']['get'](_0x4fb405)&&(_0x5978c['_validateConfigColorValue'](_0x4fb405+'.colors'),_0x5978c['_validateConfigColorValue'](_0x4fb405+'.documentColors'),_0x5978c['_validateConfigColorFormat'](_0x4fb405+'.colorPicker.format'));}}class SourceEditingEmailIntegration extends _0x22b56d['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x2fccb5}=this['editor'],_0x34803f=_0x2fccb5['get'](EmailConfigurationLogger);_0x2fccb5['has']('SourceEditing')||_0x2fccb5['has']('SourceEditingEnhanced')||_0x34803f['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}}class MarkdownEmailIntegration extends _0x22b56d['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 _0x22b56d['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:_0x30ee4a}=this['editor'];if(!_0x30ee4a['has']('DataFilter'))return;const _0x41c4e1=_0x30ee4a['get']('DataFilter'),_0x5bb50b=_0x30ee4a['get'](EmailConfigurationLogger);for(const _0x3065a3 of GeneralHtmlIntegrationSupport['UNSUPPORTED_ELEMENTS'])_0x41c4e1['once']('register:'+_0x3065a3,(_0x268741,_0x5d7b03)=>{_0x5bb50b['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x5d7b03['view']});});}}class MergeFieldsEmailIntegration extends _0x22b56d['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x2b8e25=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('MergeFields')||_0x2b8e25['_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 _0x22b56d['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x598977=this['editor']['plugins']['get'](EmailConfigurationLogger);this['editor']['plugins']['has']('Template')||_0x598977['_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 _0x22b56d['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 _0x22b56d['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 _0x22b56d['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 _0x22b56d['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 _0x22b56d['Plugin']{static get['requires'](){return[EmailConfigurationLogger];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x3e741d,plugins:_0x11d391}=this['editor'],_0x494f6b=_0x11d391['get'](EmailConfigurationLogger),_0x10a69c=_0x3e741d['get']('exportInlineStyles');_0x10a69c?.['transformations']?.['includes'](_0x47c27b)||_0x494f6b['_checkUnsupportedPlugin']('LinkImage',{'description':'Block\x20images\x20are\x20unsupported\x20in\x20email\x20environments.\x20The\x20LinkImage\x20plugin\x20is\x20designed\x20to\x20work\x20exclusively\x20with\x20block\x20images,\x20which\x20makes\x20it\x20not\x20applicable\x20for\x20email\x20integration.\x20Inline\x20images\x20are\x20still\x20supported\x20and\x20function\x20correctly\x20with\x20the\x20standard\x20Link\x20feature.\x20Consider\x20enabling\x20the\x20`transformEmailFigureToTable`\x20transformation\x20in\x20the\x20`exportInlineStyles`\x20in\x20order\x20to\x20make\x20block\x20images\x20work\x20in\x20email\x20clients.'});}}class EmailConfigurationHelper extends _0x22b56d['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 _0x3c966a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3e3740;for(const _0x42e8e5 in _0x3c966a){const _0x3cf5e6=_0x42e8e5,_0xf301be=_0x3c966a[_0x3cf5e6];if('emailConfigurationHelperLicenseKeyValid'==_0xf301be||'emailConfigurationHelperLicenseKeyInvalid'==_0xf301be||'emailConfigurationHelperLicenseKeyExpired'==_0xf301be||'emailConfigurationHelperLicenseKeyDomainLimit'==_0xf301be||'emailConfigurationHelperLicenseKeyNotAllowed'==_0xf301be||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0xf301be||'emailConfigurationHelperLicenseKeyUsageLimit'==_0xf301be){delete _0x3c966a[_0x3cf5e6],_0x3e3740=_0xf301be,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x3e3740&&_0x3c966a['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x3e3740&&_0x3c966a['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x3e3740&&_0x3c966a['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x3e3740&&_0x3c966a['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x3e3740&&_0x3c966a['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x3e3740&&_0x3c966a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function _0x3954b6(_0x1eb50b,_0x399151){const t=_0x1eb50b['t'];switch(_0x399151){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 _0x399151;}}class ExportPdfCommand extends _0x22b56d['Command']{constructor(_0xd58b87){super(_0xd58b87),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x305f79={}){const _0x39ad9f=this['editor'],_0x1e2427=_0x305f79['converterUrl']||'https://pdf-converter.cke-cs.com/v1/convert/',_0x5c26f3=_0x305f79['dataCallback']||(_0x11052b=>_0x11052b['data']['get']()),_0x5dcb4b=_0x39ad9f['plugins']['get']('ExportPdf'),_0x45a0ee=_0x305f79['token']||_0x5dcb4b['_token'];return this['isBusy']=!0x0,this['refresh'](),_0x22b56d['collectStylesheets'](_0x305f79['stylesheets']||['EDITOR_STYLES'])['then'](async _0x285629=>{if(_0x39ad9f['ui']['ariaLiveAnnouncer']['announce'](_0x3954b6(_0x39ad9f['locale'],'PDF\x20export\x20started')),_0x39ad9f['plugins']['has']('MergeFields')){_0x305f79['converterOptions']||(_0x305f79['converterOptions']={});const _0xd8179a=_0x39ad9f['plugins']['get']('MergeFieldsEditing'),_0x174605=_0xd8179a['previewMode'],{prefix:_0x4c7cba,suffix:_0xbe9396}=_0x39ad9f['config']['get']('mergeFields'),_0x2dd452='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x4b7524={'prefix':_0x4c7cba,'suffix':_0xbe9396,'data':{}};if('$labels'===_0x174605){for(const _0x43eae9 of _0xd8179a['getMergeFieldsIds']())'image'===_0xd8179a['getMergeFieldType'](_0x43eae9)?_0x4b7524['data'][_0x43eae9]=_0x2dd452:_0x4b7524['data'][_0x43eae9]=_0xd8179a['wrapInAffixes'](_0xd8179a['getLabel'](_0x43eae9)||_0x43eae9);}else{const _0x4d369f='$defaultValues'===_0x174605?_0xd8179a['getDefaultValues']():_0xd8179a['getDataSetValues'](_0x174605,!0x0);for(const _0x4f251f of Object['entries'](_0x4d369f)){const [_0x462427,_0x249048]=_0x4f251f;'image'===_0xd8179a['getMergeFieldType'](_0x462427)?_0x4b7524['data'][_0x462427]=null!==_0x249048?_0x249048:_0x2dd452:_0x4b7524['data'][_0x462427]=null!==_0x249048?_0x249048:_0xd8179a['getLabel'](_0x462427)||_0x462427;}}_0x305f79['converterOptions']['merge_fields']=_0x4b7524;}const _0x5d07ea=0x2===_0x305f79['version']?function(_0x1b1906){const _0x46a715=_0x1b1906?.['document']?.['margins'];return _0x22e956({'pageWidth':_0x44a018(_0x1b1906?.['document']?.['size']||'A4'),'marginLeft':_0x46a715?.['left'],'marginRight':_0x46a715?.['right']});}(_0x305f79['converterOptions']):(_0x177991=_0x305f79['converterOptions'],_0x22e956({'pageWidth':_0x44a018(_0x177991?.['format']||'A4'),'marginLeft':_0x177991?.['margin_left'],'marginRight':_0x177991?.['margin_right']}));var _0x177991;const _0x419b7b={'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'+_0x39ad9f['locale']['contentLanguageDirection']+'\x22\x20style=\x22'+_0x5d07ea+'\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09'+await _0x5c26f3(_0x39ad9f)+'\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':_0x285629,[0x2===_0x305f79['version']?'config':'options']:_0x305f79['converterOptions']},_0x226cf7={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/pdf',..._0x45a0ee?{'Authorization':_0x45a0ee['value']}:null,'x-cs-app-id':_0x305f79['appID']||'cke5'},'body':JSON['stringify'](_0x419b7b)};return window['fetch'](_0x1e2427,_0x226cf7)['then'](_0x39371f=>{if(0xc8!==_0x39371f['status'])throw _0x39371f;return _0x39371f['blob']();})['then'](_0x49b930=>{_0x39ad9f['ui']['ariaLiveAnnouncer']['announce'](_0x3954b6(_0x39ad9f['locale'],'PDF\x20export\x20successful'));const _0x561264='function'==typeof _0x305f79['fileName']?_0x305f79['fileName']():_0x305f79['fileName'];this['_downloadFile'](_0x49b930,_0x561264||'document.pdf');});})['catch'](_0x5e52b3=>{const _0x1a6f18=_0x39ad9f['plugins']['get']('Notification');throw _0x39ad9f['ui']['ariaLiveAnnouncer']['announce'](_0x3954b6(_0x39ad9f['locale'],'PDF\x20export\x20failed'),{'politeness':'assertive'}),_0x1a6f18['showWarning'](_0x3954b6(_0x39ad9f['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.')),_0x5e52b3;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x47bdec,_0x7b6737){const _0x59c664=document['createElement']('a');_0x59c664['href']=window['URL']['createObjectURL'](_0x47bdec),_0x59c664['download']=_0x7b6737,_0x59c664['click'](),_0x59c664['remove']();}}function _0x22e956({pageWidth:_0x54ffed,marginLeft:_0x35ec4b,marginRight:_0x1379a0}){return'width:calc('+[_0x54ffed,_0x35ec4b,_0x1379a0]['filter'](Boolean)['join']('\x20-\x20')+');';}function _0x44a018(_0x4fd004){if('object'==typeof _0x4fd004&&'width'in _0x4fd004)return _0x4fd004['width'];return{'letter':['21.6cm','27.9cm'],'legal':['21.6cm','35.6cm'],'tabloid':['27.9cm','43.2cm'],'ledger':['43.2cm','27.9cm'],'a0':['84.1cm','118.9cm'],'a1':['59.4cm','84.1cm'],'a2':['42.0cm','59.4cm'],'a3':['29.7cm','42.0cm'],'a4':['21.0cm','29.7cm'],'a5':['14.8cm','21.0cm'],'a6':['10.5cm','14.8cm']}[_0x4fd004['toLowerCase']()][0x0];}class ExportPdfUI extends _0x22b56d['Plugin']{static get['pluginName'](){return'ExportPdfUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x431629=this['editor'];_0x431629['ui']['componentFactory']['add']('exportPdf',()=>{const _0x25ba1d=this['_createButton'](_0x22b56d['ButtonView']),_0x2b4b1a=_0x431629['commands']['get']('exportPdf');return _0x25ba1d['set']({'tooltip':!0x0}),_0x25ba1d['bind']('isOn')['to'](_0x2b4b1a,'isBusy'),_0x25ba1d;}),_0x431629['ui']['componentFactory']['add']('menuBar:exportPdf',()=>this['_createButton'](_0x22b56d['MenuBarMenuListItemButtonView']));}['_createButton'](_0xf670ff){const _0x3c8a2b=this['editor'],_0x3e6c39=_0x3c8a2b['config']['get']('exportPdf')||{},_0x19168b=_0x3c8a2b['commands']['get']('exportPdf'),_0x1155a4=new _0xf670ff(_0x3c8a2b['locale']),_0x4e9cb1=new _0x22b56d['SpinnerView']();return _0x1155a4['children']['add'](_0x4e9cb1),_0x4e9cb1['bind']('isVisible')['to'](_0x19168b,'isBusy'),_0x1155a4['iconView']['bind']('isVisible')['to'](_0x19168b,'isBusy',_0x10feee=>!_0x10feee),_0x1155a4['set']({'icon':_0x22b56d['IconExportPdf']}),_0x1155a4['bind']('isEnabled')['to'](_0x19168b,'isEnabled'),_0x1155a4['bind']('label')['to'](_0x19168b,'isBusy',_0x280a9c=>_0x3954b6(_0x3c8a2b['locale'],_0x280a9c?'Exporting\x20PDF\x20document':'Export\x20to\x20PDF')),this['listenTo'](_0x1155a4,'execute',()=>{_0x3c8a2b['execute']('exportPdf',_0x3e6c39),_0x3c8a2b['editing']['view']['focus']();}),_0x1155a4;}}class ExportPdf extends _0x22b56d['Plugin']{['_token'];static get['pluginName'](){return'ExportPdf';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['CloudServices',_0x22b56d['Notification'],ExportPdfUI];}['init'](){const _0x5159b1=this['editor'],_0x5e41e8=_0x5159b1['config']['get']('exportPdf')||{};_0x5159b1['commands']['add']('exportPdf',new ExportPdfCommand(_0x5159b1));const _0xbfb868=_0x5159b1['plugins']['get']('CloudServices');!0x1===_0x5e41e8['tokenUrl']?this['_token']=null:_0x5e41e8['tokenUrl']?_0xbfb868['registerTokenUrl'](_0x5e41e8['tokenUrl'])['then'](_0xbd87ee=>{this['_token']=_0xbd87ee;}):this['_token']=_0xbfb868['token'];}}function _0x12cb6e(_0x40f56c,_0x556104={}){const _0x2245e9=_0x40f56c['plugins']['has']('Users'),_0x123931=_0x40f56c['plugins']['has']('CommentsRepository'),_0x485a34=_0x40f56c['plugins']['has']('TrackChanges'),_0x1a6158=_0x556104;if(_0x2245e9&&_0x123931){const _0xa75a7c=function(_0x11f6a9){const _0x3d828e={};if(!_0x11f6a9['length'])return _0x3d828e;for(const _0x39ff4b of _0x11f6a9)_0x39ff4b['comments']['map'](_0x561f80=>{void 0x0===_0x3d828e[_0x39ff4b['id']]&&(_0x3d828e[_0x39ff4b['id']]=[]),_0x3d828e[_0x39ff4b['id']]['push']({'author':_0x561f80['author']['name'],'content':_0x561f80['content'],'created':_0x561f80['createdAt'],'is_resolved':_0x39ff4b['isResolved']});});return _0x3d828e;}(_0x40f56c['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object['keys'](_0xa75a7c)['length']&&(_0x1a6158['comments']=_0xa75a7c);}if(_0x2245e9&&_0x485a34){const _0x4d3454=_0x40f56c['plugins']['get']('TrackChanges'),_0x255536=_0x40f56c['plugins']['get']('Users'),_0x228c48=function(_0x216cc8,_0x43d3e2){const _0x276161={};if(!_0x216cc8['length']||!_0x43d3e2['length'])return _0x276161;for(const {id:_0x2fdfb2,createdAt:_0x28489f,authorId:_0x262de3,attributes:_0x3d80e0}of _0x216cc8){const _0x4c2c26=_0x3d80e0&&_0x3d80e0['@external'],_0x20e779=_0x4c2c26?_0x4c2c26['authorName']:_0x43d3e2['get'](_0x262de3)['name'];_0x276161[_0x2fdfb2]={'author':_0x20e779,'created':_0x28489f};}return _0x276161;}(_0x4d3454['getSuggestions']({'toJSON':!0x0}),_0x255536['users']);Object['keys'](_0x228c48)['length']&&(_0x1a6158['suggestions']=_0x228c48);}return(_0x1a6158['suggestions']||_0x1a6158['comments'])&&(_0x1a6158['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']),_0x1a6158;}function _0x250b6a(_0x386eda,_0x2a8932={}){const _0x315e51=_0x386eda['plugins']['has']('Users'),_0x4f3ab6=_0x386eda['plugins']['has']('CommentsRepository'),_0x581623=_0x386eda['plugins']['has']('TrackChanges'),_0x2c1235=_0x386eda['plugins']['has']('MergeFields'),_0x13a435=_0x386eda['locale']['contentLanguage'],_0x5555e7=_0x2a8932,_0x2b6569={};if(_0x5555e7['document']=_0x5555e7['document']||{},_0x5555e7['document']['language']=_0x5555e7['document']['language']||_0x13a435,_0x315e51&&_0x4f3ab6){const _0x54e6d1=function(_0x580dff){const _0x544385=[];if(!_0x580dff['length'])return _0x544385;for(const _0x38f448 of _0x580dff){const _0x27ca73=_0x38f448['comments']['map'](_0x39061a=>({'author':_0x39061a['author']['name'],'content':_0x39061a['content'],'created_at':_0x39061a['createdAt']}));_0x544385['push']({'thread_id':_0x38f448['id'],'is_resolved':_0x38f448['isResolved'],'comments':_0x27ca73});}return _0x544385;}(_0x386eda['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x54e6d1['length']&&(_0x2b6569['comment_threads']=_0x54e6d1);}if(_0x315e51&&_0x581623){const _0x4577da=_0x386eda['plugins']['get']('TrackChanges'),_0x2dd5d7=_0x386eda['plugins']['get']('Users'),_0x1c9805=function(_0x51bc9c,_0x5a5dfa){if(!_0x51bc9c['length']||!_0x5a5dfa['length'])return[];return _0x51bc9c['map'](({id:_0x507194,createdAt:_0x474d65,authorId:_0x322c31,attributes:_0x2d3e75})=>{const _0x39061c=_0x2d3e75&&_0x2d3e75['@external'];return{'id':_0x507194,'author':_0x39061c?_0x39061c['authorName']:_0x5a5dfa['get'](_0x322c31)['name'],'created_at':_0x474d65};});}(_0x4577da['getSuggestions']({'toJSON':!0x0}),_0x2dd5d7['users']);_0x1c9805['length']&&(_0x2b6569['suggestions']=_0x1c9805);}if(_0x2c1235){const _0x527085=_0x386eda['plugins']['get']('MergeFieldsEditing'),_0x23c700=_0x527085['previewMode'],{prefix:_0x2acd9f,suffix:_0x2f2a73}=_0x386eda['config']['get']('mergeFields');if(_0x5555e7['merge_fields']={'prefix':_0x2acd9f,'suffix':_0x2f2a73},'$labels'!==_0x23c700){_0x5555e7['merge_fields']['data']={};const _0x1b040c='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x201886='$defaultValues'===_0x23c700?_0x527085['getDefaultValues']():_0x527085['getDataSetValues'](_0x23c700,!0x0);for(const _0x41b893 of Object['entries'](_0x201886)){const [_0x259a72,_0x556494]=_0x41b893;'image'===_0x527085['getMergeFieldType'](_0x259a72)?_0x5555e7['merge_fields']['data'][_0x259a72]=null!==_0x556494?_0x556494:_0x1b040c:_0x5555e7['merge_fields']['data'][_0x259a72]=null!==_0x556494?_0x556494:_0x527085['getLabel'](_0x259a72)||_0x259a72;}}}return(_0x2b6569['comment_threads']||_0x2b6569['suggestions'])&&(_0x5555e7['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'],_0x5555e7['collaboration_features']=_0x2b6569),_0x5555e7;}function _0x38918e(_0x4ce58d,_0x48f843){const t=_0x4ce58d['t'];switch(_0x48f843){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 _0x48f843;}}const _0x30adf2=['orientation','margin_top','margin_right','margin_bottom','margin_left','format','header','footer','comments','suggestions'];class ExportWordCommand extends _0x22b56d['Command']{constructor(_0x69de1e){super(_0x69de1e),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x570a41={}){const _0x30f2e5=this['editor'],_0x271cca=_0x570a41['version']||0x2,_0x781328=0x1===_0x271cca,_0x4e7e12=_0x570a41['converterUrl']||(_0x781328?'https://docx-converter.cke-cs.com/v1/convert':'https://docx-converter.cke-cs.com/v2/convert/html-docx'),_0x4c6850=_0x570a41['converterOptions']||{},_0x97c4f=_0x30f2e5['plugins']['get']('ExportWord'),_0x1f0900=_0x570a41['token']||_0x97c4f['_token'],_0x38d963=!0x0===_0x4c6850['auto_pagination'],_0x529bcf=_0x570a41['dataCallback']||(_0xc8808e=>_0xc8808e['data']['get']({'pagination':_0x38d963}));return 0x2===_0x271cca&&function(_0x5ac9a6){for(const _0xecfe52 of _0x30adf2)if(void 0x0!==_0x5ac9a6[_0xecfe52])return!0x0;return!0x1;}(_0x4c6850)&&_0x22b56d['logWarning']('export-word-v1-api-is-deprecated'),this['isBusy']=!0x0,this['refresh'](),_0x22b56d['collectStylesheets'](_0x570a41['stylesheets']||['EDITOR_STYLES'])['then'](async _0x445292=>{_0x30f2e5['ui']['ariaLiveAnnouncer']['announce'](_0x38918e(_0x30f2e5['locale'],'Word\x20document\x20export\x20started'));const _0x340b73=await _0x529bcf(_0x30f2e5),_0x4d8eae={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0x30f2e5['locale']['contentLanguageDirection']+'\x22>'+_0x340b73+'</div>','css':_0x445292,[_0x781328?'options':'config']:{..._0x4c6850,..._0x781328?_0x12cb6e(_0x30f2e5,_0x4c6850):_0x250b6a(_0x30f2e5,_0x4c6850)}},_0x19b29e={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x1f0900?{'Authorization':_0x1f0900['value']}:null},'body':JSON['stringify'](_0x4d8eae)};return window['fetch'](_0x4e7e12,_0x19b29e)['then'](_0x29acfb=>{if(0xc8!==_0x29acfb['status'])throw _0x29acfb;return _0x29acfb['blob']();})['then'](_0x1a3b01=>{_0x30f2e5['ui']['ariaLiveAnnouncer']['announce'](_0x38918e(_0x30f2e5['locale'],'Word\x20document\x20export\x20successful'));const _0x1d3e58='function'==typeof _0x570a41['fileName']?_0x570a41['fileName']():_0x570a41['fileName'];this['_downloadFile'](_0x1a3b01,_0x1d3e58||'document.docx');});})['catch'](_0x36dd2e=>{const _0x519be3=_0x30f2e5['plugins']['get']('Notification');throw _0x30f2e5['ui']['ariaLiveAnnouncer']['announce'](_0x38918e(_0x30f2e5['locale'],'Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x519be3['showWarning'](_0x38918e(_0x30f2e5['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x36dd2e;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x3a1406,_0x2730ae){const _0x4812e4=document['createElement']('a');_0x4812e4['href']=window['URL']['createObjectURL'](_0x3a1406),_0x4812e4['download']=_0x2730ae,_0x4812e4['click'](),_0x4812e4['remove']();}}class ExportWordUI extends _0x22b56d['Plugin']{static get['pluginName'](){return'ExportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x39986b=this['editor'];_0x39986b['ui']['componentFactory']['add']('exportWord',()=>{const _0x5d8b3f=_0x39986b['commands']['get']('exportWord'),_0x4a6d4c=this['_createButton'](_0x22b56d['ButtonView']);return _0x4a6d4c['set']({'tooltip':!0x0}),_0x4a6d4c['bind']('isOn')['to'](_0x5d8b3f,'isBusy'),_0x4a6d4c;}),_0x39986b['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](_0x22b56d['MenuBarMenuListItemButtonView']));}['_createButton'](_0x341caa){const _0x236f78=this['editor'],_0x4d9684=_0x236f78['config']['get']('exportWord')||{},_0x379c39=_0x236f78['commands']['get']('exportWord'),_0x4ed9f0=new _0x341caa(_0x236f78['locale']),_0x1778b0=new _0x22b56d['SpinnerView']();return _0x4ed9f0['children']['add'](_0x1778b0),_0x1778b0['bind']('isVisible')['to'](_0x379c39,'isBusy'),_0x4ed9f0['iconView']['bind']('isVisible')['to'](_0x379c39,'isBusy',_0x833833=>!_0x833833),_0x4ed9f0['set']({'icon':_0x22b56d['IconExportWord']}),_0x4ed9f0['bind']('isEnabled')['to'](_0x379c39,'isEnabled'),_0x4ed9f0['bind']('label')['to'](_0x379c39,'isBusy',_0x531231=>_0x38918e(_0x236f78['locale'],_0x531231?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x4ed9f0,'execute',()=>{_0x236f78['execute']('exportWord',_0x4d9684),_0x236f78['editing']['view']['focus']();}),_0x4ed9f0;}}class ExportWord extends _0x22b56d['Plugin']{['_token'];static get['pluginName'](){return'ExportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['CloudServices',_0x22b56d['Notification'],ExportWordUI];}['init'](){const _0x98487a=this['editor'],_0x2b43d1=_0x98487a['config']['get']('exportWord')||{};_0x98487a['commands']['add']('exportWord',new ExportWordCommand(_0x98487a));const _0x8be292=_0x98487a['plugins']['get']('CloudServices');!0x1===_0x2b43d1['tokenUrl']?this['_token']=null:_0x2b43d1['tokenUrl']?_0x8be292['registerTokenUrl'](_0x2b43d1['tokenUrl'])['then'](_0x236c8c=>{this['_token']=_0x236c8c;}):this['_token']=_0x8be292['token'];}}class ModelElementTracker{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x148c78,_0x5dd6f1){this['_model']=_0x148c78,this['_elementName']=_0x5dd6f1['elementName'],this['_getElementKey']=_0x5dd6f1['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x24473f){const _0xc5dd29=new Set(),_0x53a648=new Map();for(const _0x46460d of _0x24473f){if('insert'===_0x46460d['type']&&'$text'!==_0x46460d['name']&&_0x46460d['position']['nodeAfter']){const _0xc263f3=this['_model']['createRangeOn'](_0x46460d['position']['nodeAfter']);for(const _0xe30d8 of _0xc263f3['getItems']()){if(!_0xe30d8['is']('element',this['_elementName']))continue;const _0x1ab4cb=this['_getElementKey'](_0xe30d8);_0x53a648['has'](_0x1ab4cb)||_0x53a648['set'](_0x1ab4cb,[]),_0x53a648['get'](_0x1ab4cb)['push'](_0xe30d8);}}if('remove'===_0x46460d['type']&&_0x46460d['name']===this['_elementName']){const _0x45eb72=this['_getElementKey']({'getAttribute':_0x1646a7=>_0x46460d['attributes']['get'](_0x1646a7)});_0xc5dd29['add'](_0x45eb72);}}for(const [_0x4fb266,_0x4121ee]of this['_trackedElements'])'$graveyard'===_0x4121ee['root']['rootName']&&_0xc5dd29['add'](_0x4fb266);for(const _0x250368 of _0xc5dd29)this['_trackedElements']['delete'](_0x250368);for(const [_0x9bf7d6,_0x487641]of _0x53a648)this['_trackedElements']['set'](_0x9bf7d6,_0x487641[_0x487641['length']-0x1]);const _0x3f0d50=new Set();for(const [_0x327084,_0x47749f]of _0x53a648)_0xc5dd29['has'](_0x327084)&&(_0x3f0d50['add'](_0x47749f[0x0]),_0x47749f['length']>0x1?_0x53a648['set'](_0x327084,_0x47749f['slice'](0x1)):_0x53a648['delete'](_0x327084),_0xc5dd29['delete'](_0x327084));return{'removed':Array['from'](_0xc5dd29),'inserted':Array['from'](_0x53a648['values']())['flat'](),'moved':Array['from'](_0x3f0d50)};}}class FootnotesTracker extends _0x22b56d['Plugin']{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x272888){super(_0x272888),this['_footnoteDefsContainerTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x183f7d=>_0x183f7d['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x18fe19=>_0x18fe19['getAttribute']('footnoteId')});}['init'](){const {editor:_0x24fa1b}=this,{model:_0x206d6b,data:_0x4a2009}=_0x24fa1b;_0x206d6b['document']['registerPostFixer'](_0xbbfd8b=>{const _0x4fd914=_0x206d6b['document']['differ']['getChanges']();let _0x2cdfc5=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0xbbfd8b,_0x4fd914)&&(_0x2cdfc5=!0x0),this['_handleFootnoteDefinitionsChanges'](_0xbbfd8b,_0x4fd914)&&(_0x2cdfc5=!0x0),this['_handleFootnoteReferencesChanges'](_0xbbfd8b,_0x4fd914)&&(_0x2cdfc5=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0xbbfd8b)&&(_0x2cdfc5=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0xbbfd8b)&&(_0x2cdfc5=!0x0),this['_sortFootnoteDefinitions'](_0xbbfd8b)&&(_0x2cdfc5=!0x0),_0x2cdfc5;}),this['listenTo'](_0x206d6b['document'],'change:data',()=>{_0x206d6b['enqueueChange']({'isUndoable':!0x1},_0x117750=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x117750);});},{'priority':'low'}),this['listenTo'](_0x4a2009,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x258167){return this['_footnotes']['find'](_0xe1de56=>_0xe1de56['id']===_0x258167)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x129608){this['_footnoteFormatter']=_0x129608;}['_updateFootnotesCounters'](_0x3730c5,_0x5d9f97=0x0){let _0x42c58d=!0x1;for(let _0x282db3=_0x5d9f97;_0x282db3<this['_footnotes']['length'];_0x282db3++)this['_updateFootnoteRefCounter'](_0x3730c5,_0x282db3)&&(_0x42c58d=!0x0);return _0x42c58d;}['_insertEmptyFootnotesDefinitionsContainer'](_0xddf505,_0x2507a2){const _0x4acddc=_0xddf505['createElement']('footnotesDefinitions',{});return _0xddf505['append'](_0x4acddc,_0x2507a2),this['_footnotesDefinitions']=_0x4acddc,_0x4acddc;}['_ensureFootnotesDefinitionsContainerExists'](_0x45d397){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x5f00fb=this['_footnotes'][0x0]['reference']['root'],_0x37b9ad=this['_insertEmptyFootnotesDefinitionsContainer'](_0x45d397,_0x5f00fb);for(const _0x15849e of this['_footnotes'])_0x15849e['definition']['parent']||_0x45d397['insert'](_0x15849e['definition'],_0x37b9ad,'end');this['_updateFootnotesCounters'](_0x45d397);}['_handleFootnotesDefinitionsObjectChanges'](_0x567b98,_0x30ff03){let _0x2f4e61=!0x1;const {inserted:_0x27ff5f,removed:_0x34710f,moved:_0x30e8e8}=this['_footnoteDefsContainerTracker']['getChanges'](_0x30ff03);if(_0x30e8e8['length']&&(this['_footnotesDefinitions']=_0x30e8e8[0x0]),_0x27ff5f['length']){if(_0x27ff5f['length']>0x1||this['_footnotesDefinitions']&&_0x27ff5f['some'](_0x4198ef=>_0x4198ef!==this['_footnotesDefinitions'])){const _0x5f11f2=_0x567b98['createElement']('footnotesDefinitions',{}),_0x3803db=[];this['_footnotesDefinitions']&&_0x3803db['push'](this['_footnotesDefinitions']),_0x3803db['push'](..._0x27ff5f),_0x567b98['insert'](_0x5f11f2,_0x3803db[0x0],'before');for(const _0x39cdc1 of _0x3803db)_0x567b98['move'](_0x567b98['createRangeIn'](_0x39cdc1),_0x567b98['createPositionAt'](_0x5f11f2,'end')),_0x567b98['remove'](_0x39cdc1);this['_footnotesDefinitions']=_0x5f11f2,this['_updateFootnotesCounters'](_0x567b98),_0x2f4e61=!0x0;}else this['_footnotesDefinitions']=_0x27ff5f[0x0];}if(_0x34710f['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4cd858 of this['_footnotes'])_0x567b98['remove'](_0x4cd858['reference']),_0x2f4e61=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x2f4e61;}['_handleFootnoteDefinitionsChanges'](_0x74c2d,_0x34e3a7){let _0xfb8b2d=!0x1;const _0x5ef3ec=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x468ac3,moved:_0x427c14}=this['_footnoteDefsTracker']['getChanges'](_0x34e3a7);for(const _0xca989 of[..._0x427c14,..._0x468ac3]){const _0x15af77=_0xca989['getAttribute']('footnoteId'),_0x4eb1b5=this['getFootnote'](_0x15af77);_0x4eb1b5&&(_0x4eb1b5['definition']=_0xca989),_0x52db8a(_0x74c2d,_0x5ef3ec,_0xca989)&&(_0xfb8b2d=!0x0);}return _0xfb8b2d;}['_handleFootnoteReferencesChanges'](_0x713a2c,_0x103701){let _0x59e847=!0x1;const {removed:_0xd60ac6,inserted:_0x5d9e50,moved:_0x17698a}=this['_footnoteRefsTracker']['getChanges'](_0x103701);for(const _0x19c023 of _0xd60ac6)this['_handleRemoveFootnoteReferenceById'](_0x713a2c,_0x19c023)&&(_0x59e847=!0x0);for(const _0x423844 of _0x5d9e50)this['_handleInsertedFootnoteReference'](_0x713a2c,_0x423844)&&(_0x59e847=!0x0);for(const _0x41338c of _0x17698a)this['_handleMovedFootnoteReference'](_0x713a2c,_0x41338c)&&(_0x59e847=!0x0);return _0x59e847;}['_handleFootnotesDefinitionsObjectSync'](_0xd01ed5){if(!this['_footnotesDefinitions'])return!0x1;let _0x534e6d=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x9f3d8e=[];for(const _0x3e7a37 of this['_footnotesDefinitions']['getChildren']()){const _0x127543=_0x3e7a37['getAttribute']('footnoteId');this['getFootnote'](_0x127543)||(_0x9f3d8e['unshift'](_0x3e7a37),_0x534e6d=!0x0);}for(const _0x1b4547 of _0x9f3d8e)_0xd01ed5['remove'](_0x1b4547);}const _0x418b40=new Set(),_0x2bd142=[];for(const _0xad4312 of this['_footnotesDefinitions']['getChildren']()){const _0x47ce16=_0xad4312['getAttribute']('footnoteId');_0x418b40['has'](_0x47ce16)?(_0x2bd142['unshift'](_0xad4312),_0x534e6d=!0x0):_0x418b40['add'](_0x47ce16);}for(const _0x57b80b of _0x2bd142)_0xd01ed5['remove'](_0x57b80b);return this['_footnotesDefinitions']['childCount']||(_0xd01ed5['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x534e6d=!0x0),_0x534e6d;}['_handleInsertedFootnoteReference'](_0x56a6e1,_0x690682){if(this['_footnotes']['find'](_0x30e9e7=>_0x30e9e7['reference']===_0x690682))return!0x1;let _0x5bb9ea=!0x1;const _0x1adff4=_0x690682['getAttribute']('footnoteId'),_0x41aee2=this['_footnotes']['findIndex'](_0x40ab75=>_0x40ab75['id']===_0x1adff4);-0x1!==_0x41aee2&&(_0x56a6e1['remove'](this['_footnotes'][_0x41aee2]['reference']),this['_footnotes']['splice'](_0x41aee2,0x1),_0x5bb9ea=!0x0);let _0xd04024=this['_footnotesDefinitions']?function(_0x515d90,_0x270c38){for(const _0x4b55d9 of _0x515d90['getChildren']())if(_0x4b55d9['getAttribute']('footnoteId')===_0x270c38)return _0x4b55d9;return null;}(this['_footnotesDefinitions'],_0x1adff4):null;_0xd04024||(_0xd04024=_0x56a6e1['createElement']('footnoteDefinition',{'footnoteId':_0x1adff4}),this['_footnotesDefinitions']&&(_0x56a6e1['insert'](_0xd04024,this['_footnotesDefinitions'],'end'),_0x5bb9ea=!0x0));const _0x4dc79c={'id':_0x1adff4,'reference':_0x690682,'definition':_0xd04024},_0x2f05c2=_0x382912(this['editor']['model'],this['_footnotes'],_0x690682);this['_footnotes']['splice'](_0x2f05c2,0x0,_0x4dc79c);let _0x3b55d3=_0x2f05c2;return-0x1!==_0x41aee2&&(_0x3b55d3=Math['min'](_0x2f05c2,_0x41aee2)),this['_updateFootnotesCounters'](_0x56a6e1,_0x3b55d3)&&(_0x5bb9ea=!0x0),_0x5bb9ea;}['_handleRemoveFootnoteReferenceById'](_0x522f78,_0x5e428f){const _0x49f3b1=this['_footnotes']['findIndex'](_0x49c930=>_0x49c930['id']===_0x5e428f);if(-0x1===_0x49f3b1)return!0x1;let _0x47a1b9=!0x1;const _0x1d81e5=this['_footnotes'][_0x49f3b1];return'$graveyard'!==_0x1d81e5['definition']['root']['rootName']&&(_0x522f78['remove'](_0x1d81e5['definition']),_0x47a1b9=!0x0),this['_footnotes']['splice'](_0x49f3b1,0x1),this['_updateFootnotesCounters'](_0x522f78,_0x49f3b1)&&(_0x47a1b9=!0x0),_0x47a1b9;}['_handleMovedFootnoteReference'](_0x80edbe,_0xa418f5){const _0xc2719e=_0xa418f5['getAttribute']('footnoteId'),_0x111087=this['_footnotes']['findIndex'](_0x1b45e5=>_0x1b45e5['id']===_0xc2719e),_0x3b8b56=this['_footnotes'][_0x111087];let _0x56bdd1=!0x1;_0x3b8b56['reference']=_0xa418f5,this['_footnotes']['splice'](_0x111087,0x1);const _0xb0eeee=_0x382912(this['editor']['model'],this['_footnotes'],_0xa418f5);return this['_footnotes']['splice'](_0xb0eeee,0x0,_0x3b8b56),this['_updateFootnotesCounters'](_0x80edbe,Math['min'](_0x111087,_0xb0eeee))&&(_0x56bdd1=!0x0),_0x56bdd1;}['_updateFootnoteRefCounter'](_0x167c67,_0x429912){if(!this['_footnotesDefinitions'])return!0x1;const _0x561afe=this['_footnotes'][_0x429912];let _0x71df84;return _0x71df84=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x561afe,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x429912+0x1}):String(_0x429912+0x1),_0x561afe['reference']['getAttribute']('footnoteCounter')!=_0x71df84&&(_0x167c67['setAttribute']('footnoteCounter',_0x71df84,_0x561afe['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x5c3e36){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x4f08d7,_0x38e3c9){if(_0x4f08d7['length']!==_0x38e3c9['length'])return!0x1;for(let _0x43065c=0x0;_0x43065c<_0x4f08d7['length'];_0x43065c++)if(_0x4f08d7[_0x43065c]!==_0x38e3c9[_0x43065c])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x596167=>_0x596167['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x52cbcb=>_0x52cbcb['getAttribute']('footnoteId'))))return!0x1;let _0x4d66cc=!0x1;for(let _0x1bcf2e=0x0;_0x1bcf2e<this['_footnotes']['length'];_0x1bcf2e++){const _0x487b6f=this['_footnotes'][_0x1bcf2e],_0x36b06a=_0x5c3e36['createPositionBefore'](_0x487b6f['definition']),_0x1c7171=_0x5c3e36['createPositionAt'](this['_footnotesDefinitions'],_0x1bcf2e);_0x36b06a['isEqual'](_0x1c7171)||(_0x5c3e36['move'](_0x5c3e36['createRangeOn'](_0x487b6f['definition']),_0x1c7171),_0x4d66cc=!0x0);}return _0x4d66cc;}['_ensureFootnotesReferencesHaveProperOrder'](_0x21e3fb){if(!this['_footnotes']['length'])return!0x1;const {model:_0x5d6725}=this['editor'];let _0x21ae3d=!0x1;for(let _0x4cf47e=0x0;_0x4cf47e<this['_footnotes']['length']-0x1;_0x4cf47e++){const _0x3ba257=this['_footnotes'][_0x4cf47e],_0x5659c5=this['_footnotes'][_0x4cf47e+0x1],_0x2e02fe=_0x5d6725['createPositionBefore'](_0x3ba257['reference']),_0x1fe628=_0x5d6725['createPositionBefore'](_0x5659c5['reference']);'after'===_0x2e02fe['compareWith'](_0x1fe628)&&(this['_handleMovedFootnoteReference'](_0x21e3fb,_0x3ba257['reference']),_0x4cf47e=-0x1,_0x21ae3d=!0x0);}return _0x21ae3d;}}function _0x52db8a(_0x42acdb,_0x5e10c3,_0x4a7222){if(_0x4a7222['childCount'])return!0x1;const _0x3222e8=_0x5e10c3?'paragraph':'footnoteInlineContent';return _0x42acdb['insert'](_0x42acdb['createElement'](_0x3222e8),_0x4a7222),!0x0;}function _0x382912(_0x32e2c7,_0x4283e9,_0x585f5c){if(0x0===_0x4283e9['length'])return 0x0;const _0x3966a0=_0x32e2c7['createPositionBefore'](_0x585f5c);for(let _0x51447f=0x0;_0x51447f<_0x4283e9['length'];_0x51447f++){const _0x33e927=_0x4283e9[_0x51447f],_0x293539=_0x32e2c7['createPositionBefore'](_0x33e927['reference']);if('before'===_0x3966a0['compareWith'](_0x293539))return _0x51447f;}const _0x14c041=_0x585f5c['root'];let _0xb11657=-0x1;for(let _0x3fb6a5=_0x4283e9['length']-0x1;_0x3fb6a5>=0x0;_0x3fb6a5--)if(_0x4283e9[_0x3fb6a5]['reference']['root']===_0x14c041){_0xb11657=_0x3fb6a5;break;}if(-0x1!==_0xb11657)return _0xb11657+0x1;const _0x3ad8a1=_0x32e2c7['document']['getRootNames'](),_0x39827b=_0x3ad8a1['indexOf'](_0x14c041['rootName']),_0x23f687=_0x3ad8a1[_0x39827b+0x1];if(_0x23f687){for(let _0x1db510=0x0;_0x1db510<_0x4283e9['length'];_0x1db510++)if(_0x4283e9[_0x1db510]['reference']['root']['rootName']===_0x23f687)return _0x1db510;}return _0x4283e9['length'];}class InsertFootnoteCommand extends _0x22b56d['Command']{['refresh'](){const _0x17bfc7=this['editor']['model']['document']['selection'],_0x510e70=this['_getPositionToInsertFootnote'](_0x17bfc7);this['isEnabled']=!!_0x510e70;}['execute'](_0xf4d6ab){const {editor:_0x5ca334}=this,{model:_0xcadfd}=_0x5ca334,{selection:_0x1e9b67}=_0xcadfd['document'],_0x1bfa5a=this['_getPositionToInsertFootnote'](_0x1e9b67);if(!_0x1bfa5a)return;const _0x4de5cd=_0x5ca334['plugins']['get']('FootnotesEditing'),_0x302e5c=_0xf4d6ab?.['footnoteId']??_0x22b56d['uid']();!function(_0x4d2145){return'string'==typeof _0x4d2145&&_0x4d2145['length']>0x0&&!/\s/['test'](_0x4d2145)&&!/^\d/['test'](_0x4d2145);}(_0x302e5c)?_0x22b56d['logWarning']('insert-footnote-command-executed-with-invalid-id'):(_0xcadfd['change'](_0x386446=>{const _0x5b2a05=_0x386446['createElement']('footnoteRef',{'footnoteId':_0x302e5c});_0xcadfd['insertObject'](_0x5b2a05,_0x1bfa5a,null);}),_0x4de5cd['_moveSelectionToFootnoteDefinition'](_0x302e5c));}['_getPositionToInsertFootnote'](_0x2edb9d){const {model:_0x541fec}=this['editor'],{schema:_0xd10a33}=_0x541fec,_0x3d4bff=_0x2edb9d['getFirstRange']();for(const _0x4a7e1e of _0x3d4bff['getItems']())if(_0xd10a33['isBlock'](_0x4a7e1e)||_0xd10a33['isObject'](_0x4a7e1e))return null;const _0xc90302=_0x3d4bff['end'];return _0xd10a33['checkChild'](_0xc90302,'footnoteRef')?_0xc90302:null;}}class FootnotesEditing extends _0x22b56d['Plugin']{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3e70dc}=this;_0x3e70dc['config']['define']('footnotes.multiBlock',!0x0),_0x3e70dc['commands']['add']('insertFootnote',new InsertFootnoteCommand(_0x3e70dc)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2b684){const _0x518d52=_0x2d6ed6([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]),_0x16aed4=0x47a28506,_0x5f6294=0x47a50f6e^_0x16aed4,_0x5052da=window[_0x2d6ed6([0x44,0x61,0x74,0x65])][_0x2d6ed6([0x6e,0x6f,0x77])](),_0x3135cc=_0x2b684[_0x2d6ed6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3c4831=new window[(_0x2d6ed6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d9f1d=>{_0x3135cc[_0x2d6ed6([0x6f,0x6e,0x63,0x65])](_0x2d6ed6([0x72,0x65,0x61,0x64,0x79]),_0x1d9f1d);}),_0x140bdf={[_0x2d6ed6([0x6b,0x74,0x79])]:_0x2d6ed6([0x45,0x43]),[_0x2d6ed6([0x75,0x73,0x65])]:_0x2d6ed6([0x73,0x69,0x67]),[_0x2d6ed6([0x63,0x72,0x76])]:_0x2d6ed6([0x50,0x2d,0x32,0x35,0x36]),[_0x2d6ed6([0x78])]:_0x2d6ed6([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]),[_0x2d6ed6([0x79])]:_0x2d6ed6([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]),[_0x2d6ed6([0x61,0x6c,0x67])]:_0x2d6ed6([0x45,0x53,0x32,0x35,0x36])},_0x1a9fb5=_0x3135cc[_0x2d6ed6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2d6ed6([0x67,0x65,0x74])](_0x2d6ed6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x142a30(){let _0x440d1c,_0x3c9269=null,_0x12beec=null;try{if(_0x1a9fb5==_0x2d6ed6([0x47,0x50,0x4c]))return _0x2d6ed6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x440d1c=_0x532b28(),!_0x440d1c)return _0x2d6ed6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x440d1c[_0x2d6ed6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x12beec=_0x2909ec(_0x440d1c[_0x2d6ed6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x440d1c[_0x2d6ed6([0x6a,0x74,0x69])])),await _0x127749()?_0x268f72()?_0x94b5e7()?_0x2d6ed6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x538dea()?(_0x440d1c[_0x2d6ed6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2d6ed6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3c9269=_0x236057(_0x2d6ed6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x788d8f()):_0x2d6ed6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2d6ed6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2d6ed6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2d6ed6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x94b5e7(){const _0x4961f5=[_0x2d6ed6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2d6ed6([0x74,0x72,0x69,0x61,0x6c])][_0x2d6ed6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x440d1c[_0x2d6ed6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5052da/0x3e8:0xe10*_0x5f6294;return _0x440d1c[_0x2d6ed6([0x65,0x78,0x70])]<_0x4961f5;}function _0x268f72(){const _0x12b7b9=_0x440d1c[_0x2d6ed6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x12b7b9&&(!!_0x12b7b9[_0x2d6ed6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d6ed6([0x2a]))||!!_0x12b7b9[_0x2d6ed6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d6ed6([0x46,0x4f,0x4f])));}function _0x538dea(){const _0x14aa75=_0x440d1c[_0x2d6ed6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x14aa75||0x0==_0x14aa75[_0x2d6ed6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xdfbcb8}=new URL(window[_0x2d6ed6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x14aa75[_0x2d6ed6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdfbcb8))return!0x0;const _0x92d152=_0xdfbcb8[_0x2d6ed6([0x73,0x70,0x6c,0x69,0x74])](_0x2d6ed6([0x2e]));return _0x14aa75[_0x2d6ed6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29c486=>_0x29c486[_0x2d6ed6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d6ed6([0x2a])))[_0x2d6ed6([0x6d,0x61,0x70])](_0x3a86d3=>_0x3a86d3[_0x2d6ed6([0x73,0x70,0x6c,0x69,0x74])](_0x2d6ed6([0x2e])))[_0x2d6ed6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x155164=>_0x155164[_0x2d6ed6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x92d152[_0x2d6ed6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d6ed6([0x6d,0x61,0x70])](_0x21ff63=>Array(_0x92d152[_0x2d6ed6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x21ff63[_0x2d6ed6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2d6ed6([0x66,0x69,0x6c,0x6c])](_0x21ff63[0x0]===_0x2d6ed6([0x2a])?_0x2d6ed6([0x2a]):'')[_0x2d6ed6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x21ff63))[_0x2d6ed6([0x73,0x6f,0x6d,0x65])](_0x1e4d20=>_0x92d152[_0x2d6ed6([0x65,0x76,0x65,0x72,0x79])]((_0x10e0fb,_0x42e092)=>_0x1e4d20[_0x42e092]===_0x10e0fb||_0x1e4d20[_0x42e092]===_0x2d6ed6([0x2a])));}function _0x788d8f(){return _0x3c9269&&_0x12beec?new window[(_0x2d6ed6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3aea43,_0x27fd36)=>{_0x3c9269[_0x2d6ed6([0x74,0x68,0x65,0x6e])](_0x3aea43,_0x27fd36),_0x12beec[_0x2d6ed6([0x74,0x68,0x65,0x6e])](_0x2450b8=>{_0x2450b8!=_0x2d6ed6([0x56,0x61,0x6c,0x69,0x64])&&_0x3aea43(_0x2450b8);},_0x27fd36);}):_0x3c9269||_0x12beec||_0x2d6ed6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2909ec(_0x26ff5b,_0xc86008){return new window[(_0x2d6ed6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4418a1=>{if(_0x421d9c())return _0x4418a1(_0x2d6ed6([0x56,0x61,0x6c,0x69,0x64]));_0x4a9da8(),_0x3135cc[_0x2d6ed6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2d6ed6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xa1c6ac=!0x1;const _0x58c6aa=_0x22b56d['uid']();function _0xb9e4c2(_0x1b96ad){return!!_0x1b96ad&&(typeof _0x1b96ad===_0x2d6ed6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1b96ad===_0x2d6ed6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1b96ad[_0x2d6ed6([0x74,0x68,0x65,0x6e])]===_0x2d6ed6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1b96ad[_0x2d6ed6([0x63,0x61,0x74,0x63,0x68])]===_0x2d6ed6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x128a2d(_0x3961e1){_0x221b30(_0x3961e1)[_0x2d6ed6([0x74,0x68,0x65,0x6e])](_0x43dd05=>{if(!_0x43dd05||_0x43dd05[_0x2d6ed6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2d6ed6([0x6f,0x6b]))return _0x2d6ed6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x560c3b(_0x4e0af5(_0x58c6aa+_0xc86008))!=_0x43dd05[_0x2d6ed6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2d6ed6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2d6ed6([0x56,0x61,0x6c,0x69,0x64]);})[_0x2d6ed6([0x74,0x68,0x65,0x6e])](_0x1eac78=>(_0x9f1857(),_0x1eac78),()=>{const _0x409eff=_0x202b1d();return null==_0x409eff?(_0x9f1857(),_0x2d6ed6([0x56,0x61,0x6c,0x69,0x64])):_0x2d6ed6(_0x5052da-_0x409eff>(0x63ae0106^_0x16aed4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2d6ed6([0x74,0x68,0x65,0x6e])](_0x4418a1)[_0x2d6ed6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4418a1(_0x2d6ed6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x569770=0x47946b86^_0x16aed4;function _0x9f1857(){const _0x566497=_0x2d6ed6([0x6c,0x6c,0x63,0x74,0x2d])+_0x560c3b(_0x4e0af5(_0x26ff5b)),_0x2ae848=_0x21ab6f(_0x560c3b(window[_0x2d6ed6([0x4d,0x61,0x74,0x68])][_0x2d6ed6([0x63,0x65,0x69,0x6c])](_0x5052da/_0x569770)));window[_0x2d6ed6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d6ed6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x566497,_0x2ae848);}function _0x202b1d(){const _0x1e5e8b=_0x2d6ed6([0x6c,0x6c,0x63,0x74,0x2d])+_0x560c3b(_0x4e0af5(_0x26ff5b)),_0xf35512=window[_0x2d6ed6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2d6ed6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e5e8b);return _0xf35512?window[_0x2d6ed6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21ab6f(_0xf35512),0x10)*_0x569770:null;}function _0x221b30(_0x40b7a4){return new window[(_0x2d6ed6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d390c,_0x14c64e)=>{_0x40b7a4[_0x2d6ed6([0x74,0x68,0x65,0x6e])](_0x1d390c,_0x14c64e),window[_0x2d6ed6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x14c64e,0x47a351c6^_0x16aed4);});}}_0x3135cc[_0x2d6ed6([0x6f,0x6e])](_0x2d6ed6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2ca2e2,_0x28c940)=>{if(_0x28c940[0x0]!=_0x26ff5b)return _0x4418a1(_0x2d6ed6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x28c940[0x1]={..._0x28c940[0x1],[_0x2d6ed6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x58c6aa};},{[_0x2d6ed6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d6ed6([0x68,0x69,0x67,0x68])}),_0x3135cc[_0x2d6ed6([0x6f,0x6e])](_0x2d6ed6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x77fa0=>{_0xb9e4c2(_0x77fa0[_0x2d6ed6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xa1c6ac=!0x0,_0x128a2d(_0x77fa0[_0x2d6ed6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2d6ed6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2d6ed6([0x6c,0x6f,0x77])}),_0x3c4831[_0x2d6ed6([0x74,0x68,0x65,0x6e])](()=>{_0xa1c6ac||_0x4418a1(_0x2d6ed6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x421d9c(){return _0x3135cc[_0x2d6ed6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d6ed6([0x76,0x69,0x65,0x77])][_0x2d6ed6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2d6ed6([0x61,0x75,0x74,0x6f]);}function _0x4a9da8(){_0x3135cc[_0x2d6ed6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2d6ed6([0x76,0x69,0x65,0x77])][_0x2d6ed6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2d6ed6([0x61,0x75,0x74,0x6f]);}}function _0x236057(_0xb73db3){const _0x2e8ef8=[new window[(_0x2d6ed6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x106cbd=>setTimeout(_0x106cbd,0x47abbbca^_0x16aed4)),_0x3c4831[_0x2d6ed6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2d6ed6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f0066=>{let _0x44f27b=0x0;_0x3135cc[_0x2d6ed6([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d6ed6([0x6f,0x6e])](_0x2d6ed6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x231741,_0x361494)=>{_0x361494[0x0][_0x2d6ed6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x44f27b++,_0x44f27b==(0x47a280ee^_0x16aed4)&&(_0x5f0066(),_0x231741[_0x2d6ed6([0x6f,0x66,0x66])]());});}))];return window[_0x2d6ed6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2d6ed6([0x72,0x61,0x63,0x65])](_0x2e8ef8)[_0x2d6ed6([0x74,0x68,0x65,0x6e])](()=>_0xb73db3);}async function _0x3e58a4(){await _0x3c4831,_0x3135cc[_0x2d6ed6([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d6ed6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x41af51,_0x3135cc[_0x2d6ed6([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d6ed6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x41af51,_0x3135cc[_0x2d6ed6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d6ed6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x29c9fb(_0xb974a){const _0x397fb0=_0x435dd6();_0x3135cc[_0x397fb0]=_0x2d6ed6([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xb974a,_0xb974a!=_0x2d6ed6([0x56,0x61,0x6c,0x69,0x64])&&_0x3e58a4();}function _0x435dd6(){const _0x41147f=window[_0x2d6ed6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2d6ed6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2d6ed6([0x6e,0x6f,0x77])]())[_0x2d6ed6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2d6ed6([0x2e]),'');let _0x1394ed=_0x2d6ed6([0x75]);for(let _0x3cccec=0x0;_0x3cccec<_0x41147f[_0x2d6ed6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3cccec+=0x2){let _0x39e391=window[_0x2d6ed6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41147f[_0x2d6ed6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3cccec,_0x3cccec+0x2));_0x39e391>=_0x518d52[_0x2d6ed6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x39e391-=_0x518d52[_0x2d6ed6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1394ed+=_0x518d52[_0x39e391];}return _0x1394ed;}function _0x532b28(){const _0x17e77b=_0x1a9fb5[_0x2d6ed6([0x73,0x70,0x6c,0x69,0x74])](_0x2d6ed6([0x2e]));if(0x3!=_0x17e77b[_0x2d6ed6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4a88fe(_0x17e77b[0x1]);function _0x4a88fe(_0x18dc5b){const _0x1e7500=_0x1a03ce(_0x18dc5b);return _0x1e7500&&_0x573420()?_0x1e7500:null;function _0x573420(){const _0x139f43=_0x1e7500[_0x2d6ed6([0x6a,0x74,0x69])],_0x8d84ce=window[_0x2d6ed6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x139f43[_0x2d6ed6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x139f43[_0x2d6ed6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x204fe3={..._0x1e7500,[_0x2d6ed6([0x6a,0x74,0x69])]:_0x139f43[_0x2d6ed6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x139f43[_0x2d6ed6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x204fe3[_0x2d6ed6([0x76,0x63])],_0x4e0af5(_0x204fe3)==_0x8d84ce;}}}async function _0x127749(){let _0x53a4b6=!0x0;try{const _0x112118=_0x1a9fb5[_0x2d6ed6([0x73,0x70,0x6c,0x69,0x74])](_0x2d6ed6([0x2e])),[_0x551802,_0xf9b3fb,_0x5672ec]=_0x112118;return _0x3bbf56(_0x551802),await _0x292a85(_0x551802,_0xf9b3fb,_0x5672ec),_0x53a4b6;}catch{return!0x1;}function _0x3bbf56(_0x56f98f){const _0x3f355e=_0x1a03ce(_0x56f98f);_0x3f355e&&_0x3f355e[_0x2d6ed6([0x61,0x6c,0x67])]==_0x2d6ed6([0x45,0x53,0x32,0x35,0x36])||(_0x53a4b6=!0x1);}async function _0x292a85(_0x16abce,_0x16276f,_0x42d3a2){const _0x5bff03=window[_0x2d6ed6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2d6ed6([0x66,0x72,0x6f,0x6d])](_0x526a9e(_0x42d3a2),_0x1fc09f=>_0x1fc09f[_0x2d6ed6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f4b6c=new window[(_0x2d6ed6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2d6ed6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x16abce+_0x2d6ed6([0x2e])+_0x16276f),_0x13a130=window[_0x2d6ed6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2d6ed6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x13a130)return;const _0x24af36=await _0x13a130[_0x2d6ed6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2d6ed6([0x6a,0x77,0x6b]),_0x140bdf,{[_0x2d6ed6([0x6e,0x61,0x6d,0x65])]:_0x2d6ed6([0x45,0x43,0x44,0x53,0x41]),[_0x2d6ed6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2d6ed6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2d6ed6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x13a130[_0x2d6ed6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2d6ed6([0x6e,0x61,0x6d,0x65])]:_0x2d6ed6([0x45,0x43,0x44,0x53,0x41]),[_0x2d6ed6([0x68,0x61,0x73,0x68])]:{[_0x2d6ed6([0x6e,0x61,0x6d,0x65])]:_0x2d6ed6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x24af36,_0x5bff03,_0x2f4b6c)||(_0x53a4b6=!0x1);}}function _0x1a03ce(_0x2423ce){return _0x2423ce[_0x2d6ed6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2d6ed6([0x65,0x79]))?JSON[_0x2d6ed6([0x70,0x61,0x72,0x73,0x65])](_0x526a9e(_0x2423ce)):null;}function _0x526a9e(_0x2fa16c){return window[_0x2d6ed6([0x61,0x74,0x6f,0x62])](_0x2fa16c[_0x2d6ed6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2d6ed6([0x2b]))[_0x2d6ed6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2d6ed6([0x2f])));}function _0x4e0af5(_0x3d64c0){let _0x5f3ce7=0x1505;function _0x159b35(_0x387832){for(let _0x3aad42=0x0;_0x3aad42<_0x387832[_0x2d6ed6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3aad42++){const _0x2543df=_0x387832[_0x2d6ed6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3aad42);_0x5f3ce7=(_0x5f3ce7<<0x5)+_0x5f3ce7+_0x2543df,_0x5f3ce7&=_0x5f3ce7;}}function _0x1a2e95(_0x4dc6a6){Array[_0x2d6ed6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4dc6a6)?_0x4dc6a6[_0x2d6ed6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a2e95):_0x4dc6a6&&typeof _0x4dc6a6==_0x2d6ed6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2d6ed6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4dc6a6)[_0x2d6ed6([0x73,0x6f,0x72,0x74])]()[_0x2d6ed6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x446aec,_0x4b6aaf])=>{_0x159b35(_0x446aec),_0x1a2e95(_0x4b6aaf);}):_0x159b35(window[_0x2d6ed6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4dc6a6));}return _0x1a2e95(_0x3d64c0),_0x5f3ce7>>>0x0;}function _0x560c3b(_0x2f8184){return _0x2f8184[_0x2d6ed6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2d6ed6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2d6ed6([0x30]));}function _0x21ab6f(_0x11c2ae){return _0x11c2ae[_0x2d6ed6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2d6ed6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2d6ed6([0x6a,0x6f,0x69,0x6e])]('');}function _0x41af51(){}function _0x2d6ed6(_0x49e830){return _0x49e830['map'](_0x23a6f9=>String['fromCharCode'](_0x23a6f9))['join']('');}_0x29c9fb(await _0x142a30());}(this);}['_moveSelectionToFootnoteDefinition'](_0x477846){const {plugins:_0x1e0167,editing:_0x4b3687,model:_0x25c266}=this['editor'],_0x573583=_0x1e0167['get'](FootnotesTracker)['getFootnote'](_0x477846);return!!_0x573583&&(_0x25c266['change'](_0x439b29=>{_0x439b29['setSelection'](_0x439b29['createPositionAt'](_0x573583['definition'],'end'));}),_0x4b3687['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x1d0e83){const {plugins:_0x137c8b,editing:_0x52a517,model:_0x12cba1}=this['editor'],_0x18e97e=_0x137c8b['get'](FootnotesTracker)['getFootnote'](_0x1d0e83);return!!_0x18e97e&&(_0x12cba1['change'](_0x5621ce=>{_0x5621ce['setSelection'](_0x18e97e['reference'],'on');}),_0x52a517['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x589337}=this['editor']['model'],_0x1624e1=this['editor']['config']['get']('footnotes.multiBlock');_0x589337['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x589337['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x589337['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x1624e1?_0x589337['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x589337['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x589337['addChildCheck'](_0xbb8a75=>{for(const _0x50aebe of _0xbb8a75)if('footnoteDefinition'===_0x50aebe['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x43b4b2}=this,{conversion:_0x596ce5,editing:_0x1bf516}=_0x43b4b2,{t:t}=_0x43b4b2['locale'];_0x596ce5['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5e5e64,{writer:_0x1d3058,consumable:_0x5b2da9})=>{const _0x5189f9=_0x5e5e64['getChild'](0x0);if(!_0x5189f9||!_0x5189f9['is']('element','a'))return null;const _0x2e0480=_0x5189f9['getAttribute']('href')||'';if(!_0x2e0480['startsWith']('#'))return null;const _0x4e4be3=_0x2e0480['replace'](/^#/,'');if(!_0x4e4be3)return null;_0x5b2da9['consume'](_0x5189f9,{'name':!0x0,'attributes':['href']});for(const {item:_0x57976b}of _0x1bf516['view']['createRangeIn'](_0x5189f9))_0x57976b['is']('$textProxy')?_0x5b2da9['consume'](_0x57976b['textNode'],{'name':!0x0}):_0x57976b['is']('element')&&_0x5b2da9['consume'](_0x57976b,{'name':!0x0});return _0x1d3058['createElement']('footnoteRef',{'footnoteId':_0x4e4be3});}}),_0x596ce5['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x7c0a31,{writer:_0x48d5a0})=>_0x193e22(_0x7c0a31,_0x48d5a0)}),_0x596ce5['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x40dde4,{writer:_0x20e6b9})=>{const _0x11ccdf=_0x40dde4['getAttribute']('footnoteCounter');return _0x22b56d['toWidget'](_0x193e22(_0x40dde4,_0x20e6b9),_0x20e6b9,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x11ccdf)});}});}['_defineDefinitionsConverters'](){const {editor:_0x430d8e}=this,{t:t}=_0x430d8e['locale'],{conversion:_0x515331}=_0x430d8e;_0x515331['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x515331['for']('upcast')['add'](_0x3738b0=>{_0x3738b0['on']('element:ol',(_0x500f5f,_0x844789,_0x247d25)=>{const _0x2b00e3=_0x844789['viewItem'];if(!_0x2b00e3['hasClass']('footnotes-list')||!_0x844789['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x247d25['consumable']['consume'](_0x2b00e3,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x52b278,modelCursor:_0x42754a}=_0x247d25['convertChildren'](_0x844789['viewItem'],_0x844789['modelCursor']);_0x844789['modelRange']=_0x52b278,_0x844789['modelCursor']=_0x42754a;}),_0x3738b0['on']('element:hr',(_0x576176,_0x37fac7,_0x14603e)=>{const _0x47eb07=_0x37fac7['viewItem'];_0x47eb07['hasClass']('footnotes-divider')&&_0x37fac7['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x14603e['consumable']['consume'](_0x47eb07,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x515331['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x33d550,{writer:_0x2a5937})=>th(_0x2a5937)}),_0x515331['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x594b76,{writer:_0x5e6d15})=>{const _0x5f55a0=th(_0x5e6d15,{'data-footnotes-list-label':t('Footnotes')}),_0x4bb031=_0x22b56d['toWidget'](_0x5f55a0,_0x5e6d15,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5e6d15['setCustomProperty']('footnotesDefinitions',!0x0,_0x4bb031),_0x4bb031;}});}['_defineDefinitionConverters'](){const {editor:_0x295875}=this,{conversion:_0x5bc43e,locale:_0x51c9f6}=_0x295875,_0x31b602=_0x295875['config']['get']('footnotes.multiBlock');_0x5bc43e['for']('upcast')['add'](_0x5c895a=>{_0x5c895a['on']('element:li',(_0x178cd8,_0x6ecd10,_0x1bc959)=>{const _0x5b8e49=_0x6ecd10['viewItem'];if(!_0x5b8e49['hasClass']('footnote-definition')||!_0x5b8e49['getAttribute']('id'))return;const _0x3b8f22=_0x5b8e49['parent'];if(!_0x3b8f22['is']('element','ol')||!_0x3b8f22['hasClass']('footnotes-list'))return;if(!_0x1bc959['consumable']['test'](_0x5b8e49,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3964ce=_0x1bc959['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5b8e49['getAttribute']('id')});if(!_0x1bc959['safeInsert'](_0x3964ce,_0x6ecd10['modelCursor']))return;_0x1bc959['consumable']['consume'](_0x5b8e49,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x20e702=Array['from'](_0x5b8e49['getChildren']())['find'](_0x167a3c=>_0x167a3c['is']('element')&&_0x167a3c['hasClass']('footnote-content'));for(const _0x55956c of _0x5b8e49['getChildren']())_0x55956c['is']('element')&&(_0x1bc959['consumable']['consume'](_0x55956c,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1bc959['consumable']['consume'](_0x55956c,{'name':!0x0,'classes':'footnote-content'}));if(_0x20e702){if(_0x31b602)_0x1bc959['convertChildren'](_0x20e702,_0x3964ce);else{const _0x221433=_0x1bc959['writer']['createElement']('footnoteInlineContent');_0x1bc959['writer']['insert'](_0x221433,_0x3964ce),_0x1bc959['convertChildren'](_0x20e702,_0x221433);}}_0x1bc959['updateConversionResult'](_0x3964ce,_0x6ecd10);});}),_0x5bc43e['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5bf396,{writer:_0x44f754})=>_0x2a5c3d(_0x5bf396,_0x44f754,_0x51c9f6,{'dataPipeline':!0x0})}),_0x5bc43e['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x505c41,{writer:_0x30dfa8})=>_0x2a5c3d(_0x505c41,_0x30dfa8,_0x51c9f6)});}['_defineBogusParagraphConverters'](){const {editor:_0x45ada8}=this,{conversion:_0x258bfd}=_0x45ada8;_0x45ada8['config']['get']('footnotes.multiBlock')?(_0x258bfd['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':_0x57d1ac(),'converterPriority':'high'}),_0x258bfd['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':_0x57d1ac({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x45ada8['model']['document'],'change:data',()=>{!function(_0x3daa2a,_0xcf665a){const _0x91f8fa=_0x3daa2a['document']['differ'],_0x1cb6e8=new Set();for(const _0x17f70c of _0x91f8fa['getChanges']()){const _0x2fe2b5='attribute'==_0x17f70c['type']?_0x17f70c['range']['start']['parent']:_0x17f70c['position']['parent'];_0x2fe2b5['is']('element','footnoteDefinition')&&_0x1cb6e8['add'](_0x2fe2b5);}for(const _0x584752 of _0x1cb6e8['values']()){const _0x5a142d=Array['from'](_0x584752['getChildren']())['filter'](_0x368bfd=>_0x5edb3d(_0x368bfd,_0xcf665a['mapper']));for(const _0x10d3cb of _0x5a142d)_0xcf665a['reconvertItem'](_0x10d3cb);}}(_0x45ada8['model'],_0x45ada8['editing']);})):(_0x258bfd['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':_0x57d1ac()}),_0x258bfd['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3264dd,{writer:_0x5ccdd6})=>{const _0x2eabbd=_0x5ccdd6['createContainerElement']('span');return _0x5ccdd6['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2eabbd),_0x2eabbd;}}));}['_defineKeyboardHandlers'](){const {editor:_0x23d60d}=this,{editing:_0x1fed78,t:t}=_0x23d60d,_0x33b96f=_0x23d60d['model']['document']['selection'];_0x23d60d['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x23d60d['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x1fed78['view']['document'],'enter',(_0x2baf13,_0x483fb3)=>{const _0xb8ba3a=function(_0x26852f){const _0x118119=_0x26852f['getSelectedElement']();if(_0x118119?.['is']('element','footnoteRef'))return _0x118119;return null;}(_0x33b96f);if(_0xb8ba3a){const _0xdab0f4=_0xb8ba3a['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0xdab0f4),_0x483fb3['preventDefault'](),_0x2baf13['stop']();}},{'context':_0x22b56d['isWidget']});}['_defineClickHandlers'](){const {editor:_0x2977bb}=this,{editing:_0xb64a63}=_0x2977bb;_0x2977bb['editing']['view']['addObserver'](_0x22b56d['PointerObserver']),_0x2977bb['editing']['view']['addObserver'](_0x22b56d['ClickObserver']);let _0xb25383=!0x1;this['listenTo'](_0xb64a63['view']['document'],'pointerdown',(_0x46777f,_0x1d5d80)=>{const {target:_0x2134f4}=_0x1d5d80,_0x5bc054=_0xb64a63['view']['document']['selection'];_0xb25383=!!(_0x2134f4?.['is']('element','a')&&_0x2134f4['parent']?.['is']('element','sup')&&_0x2134f4['parent']['hasClass']('footnote'))&&_0x5bc054['getSelectedElement']()===_0x2134f4['parent'];},{'priority':'high'}),this['listenTo'](_0xb64a63['view']['document'],'click',(_0x41675c,_0x3216aa)=>{const {target:_0x44104d}=_0x3216aa;if(!_0x44104d?.['is']('element','a'))return;if(_0x44104d['parent']?.['is']('element','sup')&&_0x44104d['parent']['hasClass']('footnote')&&!_0xb25383)return void _0x3216aa['preventDefault']();let _0x4f9ec5=_0x44104d['getAttribute']('href');if(!_0x4f9ec5?.['startsWith']('#'))return;_0x4f9ec5=_0x4f9ec5['slice'](0x1);let _0x24d357=!0x1;(_0x4f9ec5['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4f9ec5['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4f9ec5))&&(_0x24d357=!0x0),_0x24d357&&(_0x3216aa['preventDefault'](),_0x41675c['stop']());},{'priority':'high','context':'$capture'});}}function _0x57d1ac({dataPipeline:_0x470a20}={}){return(_0x4d9fd8,{writer:_0x3e0d8c})=>{if(!_0x299c32(_0x4d9fd8))return null;if(!_0x470a20)return _0x3e0d8c['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xc224c6=_0x3e0d8c['createContainerElement']('p');return _0x3e0d8c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xc224c6),_0xc224c6;};}function _0x299c32(_0x3c19f9){const {parent:_0x336161}=_0x3c19f9;if(!_0x336161?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x336161['childCount'])return!0x1;for(const _0x1adf70 of _0x3c19f9['getAttributeKeys']())if(!_0x1adf70['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1adf70)return!0x1;return!0x0;}function _0x5edb3d(_0x244ed5,_0xbcf108){if(!_0x244ed5['is']('element','paragraph'))return!0x1;const _0x308cf2=_0xbcf108['toViewElement'](_0x244ed5);return!!_0x308cf2&&_0x299c32(_0x244ed5)!==_0x308cf2['is']('element','span');}function _0x5668db(_0x8fb759){return _0x22b56d['isWidget'](_0x8fb759)&&_0x8fb759['is']('containerElement')&&!!_0x8fb759['getCustomProperty']('footnotesDefinitions');}function th(_0x132510,_0x59d4b6={}){const _0x340751=_0x132510['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x57974b=_0x132510['createContainerElement']('ol',{'class':'footnotes-list'},_0x132510['createSlot']());return _0x132510['createContainerElement']('div',{'class':'footnotes',..._0x59d4b6},[_0x340751,_0x57974b]);}function _0x193e22(_0x4f03b8,_0x4884f3){const _0x93b9b3=_0x4f03b8['getAttribute']('footnoteId'),_0x4c842d=_0x4f03b8['getAttribute']('footnoteCounter'),_0x500968=_0x4884f3['createUIElement']('a',{'href':'#'+_0x93b9b3},function(_0x4cabc9){const _0x26bbc6=this['toDomElement'](_0x4cabc9);return _0x26bbc6['textContent']=_0x4c842d,_0x26bbc6;}),_0x477b5b=_0x4884f3['createContainerElement']('sup',{'id':'ref-'+_0x93b9b3,'class':'footnote'},[_0x500968]);return _0x477b5b['getFillerOffset']=()=>null,_0x477b5b;}function _0x2a5c3d(_0xfd1040,_0x5cbc66,_0x5dc914,{dataPipeline:_0x18e01b}={}){const {t:t}=_0x5dc914,_0x57ad88=_0xfd1040['getAttribute']('footnoteId'),_0x502975=_0x5cbc66['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x57ad88},function(_0xf19aad){const _0x573cce=this['toDomElement'](_0xf19aad);return _0x573cce['innerText']='^',_0x573cce;}),_0x764d32=_0x18e01b?_0x5cbc66['createContainerElement']('div',{'class':'footnote-content'}):_0x22b56d['toWidgetEditable'](_0x5cbc66['createEditableElement']('div',{'class':'footnote-content'}),_0x5cbc66,{'label':t('Footnote\x20content.')});return _0x5cbc66['insert'](_0x5cbc66['createPositionAt'](_0x764d32,0x0),_0x5cbc66['createSlot']()),_0x5cbc66['createContainerElement']('li',{'class':'footnote-definition','id':_0x57ad88},[_0x502975,_0x764d32]);}class FootnotesClipboard extends _0x22b56d['Plugin']{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[FootnotesEditing,_0x22b56d['ClipboardPipeline']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x47db07}=this,{plugins:_0xa92a4a,model:_0x38c4e0}=_0x47db07,_0x16a633=_0xa92a4a['get'](_0x22b56d['ClipboardPipeline']),_0x3f4747=_0xa92a4a['get'](FootnotesTracker);this['listenTo'](_0x16a633,'outputTransformation',(_0x36e039,_0x30c06f)=>{const _0xb6aefb=_0x2ba254(_0x38c4e0['createRangeIn'](_0x30c06f['content']));if(!_0xb6aefb['length'])return;const _0x2cc5ae=_0x3f4747['getFootnotes'](),_0x421758=_0xb6aefb['reduce']((_0x284ebe,_0x4b0b0a)=>{const _0x4aed86=_0x2cc5ae['find'](_0x2d1649=>_0x2d1649['id']===_0x4b0b0a);if(_0x4aed86){const _0x14d536=_0x47db07['data']['toView'](_0x4aed86['definition'],{'isClipboardPipeline':!0x0}),_0x14eaa4=_0x47db07['data']['htmlProcessor']['toData'](_0x14d536);_0x284ebe[_0x4aed86['id']]=_0x14eaa4;}return _0x284ebe;},Object['create'](null));_0x30c06f['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x421758));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x46e0ff}=this,{model:_0x3653e1,plugins:_0x25e349}=_0x46e0ff,{view:_0x32bc74}=_0x46e0ff['editing'],_0x99e892=_0x25e349['get'](_0x22b56d['ClipboardPipeline']),_0x1f7c32=_0x25e349['get'](FootnotesTracker),_0x22cf05=_0x46e0ff['config']['get']('footnotes.multiBlock');let _0x18ecb6=null;this['listenTo'](_0x32bc74['document'],'clipboardInput',(_0x53a081,_0xc2c147)=>{const _0x586ff8=_0xc2c147['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x18ecb6=_0x586ff8?JSON['parse'](_0x586ff8):null;}),this['listenTo'](_0x99e892,'contentInsertion',(_0x4334c8,_0xab32d9)=>{const _0x387098=_0xab32d9['sourceEditorId']===this['editor']['id'];_0x387098&&'drop'===_0xab32d9['method']||_0x3653e1['change'](_0x3694dc=>{let _0x1fe736=_0x1f7c32['getFootnotesDefinitionsObjectElement']();const _0x2c25c8=!!_0x1fe736&&Array['from'](_0x3653e1['document']['selection']['getSelectedBlocks']())['includes'](_0x1fe736);if(!_0x18ecb6&&function(_0x319947){for(const {item:_0x118a16}of _0x319947)if(_0x118a16['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x3653e1['createRangeIn'](_0xab32d9['content']))&&(_0x18ecb6=function(_0x8e0fe9,_0x20a390){const _0x4ab44e=_0x3d7757(_0x8e0fe9,_0x20a390);if(!_0x4ab44e)return null;const _0x1e0f84=Object['create'](null);for(const _0x285afe of _0x4ab44e['getChildren']())_0x285afe['is']('element','footnoteDefinition')&&_0x285afe['hasAttribute']('footnoteId')&&(_0x1e0f84[_0x285afe['getAttribute']('footnoteId')]=_0x8e0fe9['cloneElement'](_0x285afe,!0x0));return Object['keys'](_0x1e0f84)['length']?_0x1e0f84:null;}(_0x3694dc,_0xab32d9['content'])),(_0x1fe736&&!_0x2c25c8||!_0x1fe736&&!_0x18ecb6)&&function(_0x378355,_0x400ddf){const _0x1c1daf=[];for(const {item:_0x50f388}of _0x378355['createRangeIn'](_0x400ddf))_0x50f388['is']('element','footnotesDefinitions')&&_0x1c1daf['push'](_0x50f388);for(const _0x46fbfe of _0x1c1daf)_0x378355['remove'](_0x46fbfe);}(_0x3694dc,_0xab32d9['content']),!_0x18ecb6)return;const {selection:_0x194678}=_0x3653e1['document'],_0x2e1d7f=_0x194678['getFirstRange']()['root'];_0x1fe736&&!_0x2c25c8||(_0x1fe736=_0x3d7757(_0x3694dc,_0xab32d9['content']),_0x1fe736||=_0x1f7c32['_insertEmptyFootnotesDefinitionsContainer'](_0x3694dc,_0x2e1d7f));const _0xe2c5a2=Array['from'](_0x194678['getRanges']())['flatMap'](_0x2ba254),_0x1f01d4=function(_0x58b475,_0x348101,_0x2df538){const _0x3fe32f=Object['create'](null);for(const {item:_0x44c84a}of _0x58b475['createRangeIn'](_0x348101))if(_0x44c84a['is']('element','footnoteRef')){const _0x535bdd=_0x44c84a['getAttribute']('footnoteId');if(!_0x2df538(_0x535bdd))continue;_0x3fe32f[_0x535bdd]||(_0x3fe32f[_0x535bdd]=_0x22b56d['uid']()),_0x58b475['setAttribute']('footnoteId',_0x3fe32f[_0x535bdd],_0x44c84a);}return _0x3fe32f;}(_0x3694dc,_0xab32d9['content'],_0x20fd0b=>{if(!_0x387098)return!0x0;return!!_0x1f7c32['getFootnote'](_0x20fd0b)&&!_0xe2c5a2['includes'](_0x20fd0b);});for(const [_0x5cec0b,_0x2b8302]of Object['entries'](_0x18ecb6)){const _0x443b5c=_0x1f01d4[_0x5cec0b]||_0x5cec0b;let _0x29764d;if('string'!=typeof _0x2b8302)_0x29764d=_0x2b8302,_0x443b5c!==_0x5cec0b&&_0x3694dc['setAttribute']('footnoteId',_0x443b5c,_0x29764d);else{_0x29764d=_0x3694dc['createElement']('footnoteDefinition',{'footnoteId':_0x443b5c});const _0x50bd1d=_0x46e0ff['data']['htmlProcessor']['toView'](_0x2b8302);let _0x30f923;if(_0x22cf05)_0x30f923=_0x46e0ff['data']['toModel'](_0x50bd1d,_0x29764d);else{_0x30f923=_0x3694dc['createElement']('footnoteInlineContent');const _0x904049=_0x46e0ff['data']['toModel'](_0x50bd1d,_0x30f923);_0x3694dc['insert'](_0x904049,_0x30f923);}_0x3694dc['append'](_0x30f923,_0x29764d);}_0x3694dc['insert'](_0x29764d,_0x1fe736,'end');}_0x18ecb6=null;});});}}function _0x3d7757(_0x2e7fa0,_0x1e096b){for(const {item:_0x14738f}of _0x2e7fa0['createRangeIn'](_0x1e096b))if(_0x14738f['is']('element','footnotesDefinitions'))return _0x14738f;return null;}function _0x2ba254(_0x5da861){const _0x6c0dd0=new Set();for(const {item:_0x2174ac}of _0x5da861)_0x2174ac['is']('element','footnoteRef')&&_0x6c0dd0['add'](_0x2174ac['getAttribute']('footnoteId'));return Array['from'](_0x6c0dd0);}class FootnotesUI extends _0x22b56d['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3bb618}=this,{componentFactory:_0x16a777}=_0x3bb618['ui'];_0x16a777['add']('insertFootnote',_0x264010(_0x3bb618,_0x22b56d['ButtonView'])),_0x16a777['add']('menuBar:insertFootnote',_0x264010(_0x3bb618,_0x22b56d['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3565c8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3a1d07;for(const _0x2a12dd in _0x3565c8){const _0x2c7919=_0x2a12dd,_0x4a305b=_0x3565c8[_0x2c7919];if('footnotesLicenseKeyValid'==_0x4a305b||'footnotesLicenseKeyInvalid'==_0x4a305b||'footnotesLicenseKeyExpired'==_0x4a305b||'footnotesLicenseKeyDomainLimit'==_0x4a305b||'footnotesLicenseKeyNotAllowed'==_0x4a305b||'footnotesLicenseKeyEvaluationLimit'==_0x4a305b||'footnotesLicenseKeyUsageLimit'==_0x4a305b){delete _0x3565c8[_0x2c7919],_0x3a1d07=_0x4a305b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3a1d07&&_0x3565c8['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3a1d07&&_0x3565c8['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3a1d07&&_0x3565c8['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3a1d07&&_0x3565c8['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3a1d07&&_0x3565c8['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x3a1d07&&_0x3565c8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function _0x264010(_0x697130,_0x234f7e){const _0x30953b=_0x697130['commands']['get']('insertFootnote');return _0x1a97c6=>{const {t:t}=_0x1a97c6,_0x5f050b=new _0x234f7e(_0x1a97c6),_0x4c330a=_0x5f050b instanceof _0x22b56d['MenuBarMenuListItemButtonView'];return _0x5f050b['bind']('isEnabled')['to'](_0x30953b,'isEnabled'),_0x5f050b['set']({'label':t(_0x4c330a?'Footnote':'Insert\x20footnote'),'icon':_0x22b56d['IconFootnote'],'tooltip':!0x0}),_0x5f050b['on']('execute',()=>{_0x30953b['execute'](),_0x697130['editing']['view']['focus']();}),_0x5f050b;};}class Footnotes extends _0x22b56d['Plugin']{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[FootnotesEditing,FootnotesClipboard,FootnotesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x5c86c5=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class FootnotesStyleCommand extends _0x22b56d['Command']{['refresh'](){const {editor:_0x4fcefb}=this,_0x1a9187=_0x4fcefb['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1a9187,this['value']=_0x1a9187?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x11d6a0}){const {editor:_0x5771e7}=this,_0x58d92d=_0x5771e7['plugins']['get'](FootnotesTracker),_0x308ca2=_0x58d92d['getFootnotesDefinitionsObjectElement']();_0x308ca2&&_0x5c86c5['includes'](_0x11d6a0)&&_0x5771e7['model']['change'](_0x3e517b=>{_0x3e517b['setAttribute']('footnotesListStyle',_0x11d6a0,_0x308ca2),_0x58d92d['_updateFootnotesCounters'](_0x3e517b);});}}class FootnotesStartCommand extends _0x22b56d['Command']{['refresh'](){const {editor:_0x2046d2}=this,_0x14500c=_0x2046d2['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x14500c,this['value']=_0x14500c?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x469735}){const {editor:_0x52cae9}=this,_0x49652d=_0x52cae9['plugins']['get'](FootnotesTracker),_0x37a089=_0x49652d['getFootnotesDefinitionsObjectElement']();_0x37a089&&Number['isInteger'](_0x469735)&&_0x52cae9['model']['change'](_0x4fd740=>{_0x4fd740['setAttribute']('footnotesListStart',_0x469735,_0x37a089),_0x49652d['_updateFootnotesCounters'](_0x4fd740);});}}class FootnotesPropertiesEditing extends _0x22b56d['Plugin']{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[FootnotesEditing,FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5a5865}=this;_0x5a5865['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x5a5865['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x5a5865['commands']['add']('footnotesStyle',new FootnotesStyleCommand(_0x5a5865)),_0x5a5865['commands']['add']('footnotesStart',new FootnotesStartCommand(_0x5a5865)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x5ce7ac}=this,{schema:_0x559317}=_0x5ce7ac['model'];_0x559317['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0xb1c5}=this,{conversion:_0x312420,model:_0x1f762d}=_0xb1c5,{schema:_0x37e727}=_0x1f762d;_0x312420['for']('upcast')['add'](_0x475ee4=>{_0x475ee4['on']('element:ol',(_0x45897d,_0x4a0405,_0x1013ca)=>{const _0x5577c1=_0x4a0405['viewItem'],_0x21b785=_0x4a0405['modelCursor']?.['parent'];_0x5577c1['hasClass']('footnotes-list')&&_0x21b785?.['is']('element','footnotesDefinitions')&&(function(_0x572b9a,_0x138656,_0xaa835e,_0x19c53e){if(!_0x19c53e['checkAttribute'](_0x138656,'footnotesListStart'))return;let _0x3ae305=0x1;const _0x2707e7=_0xaa835e['consumable']['consume'](_0x572b9a,{'attributes':'start'});if(_0x2707e7){const _0x543792=Number['parseInt'](_0x572b9a['getAttribute']('start'),0xa);Number['isNaN'](_0x543792)||(_0x3ae305=_0x543792);}!_0x2707e7&&_0x138656['hasAttribute']('footnotesListStart')||_0xaa835e['writer']['setAttribute']('footnotesListStart',_0x3ae305,_0x138656);}(_0x5577c1,_0x21b785,_0x1013ca,_0x37e727),function(_0x3d064f,_0x4cf5af,_0x3e2930,_0x58db4f){if(!_0x58db4f['checkAttribute'](_0x4cf5af,'footnotesListStyle'))return;let _0x62da6e='decimal',_0x119bac=!0x1;if(_0x3e2930['consumable']['consume'](_0x3d064f,{'attributes':'type'})){const _0x5d3907={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x3d064f['getAttribute']('type')];_0x5d3907&&(_0x62da6e=_0x5d3907),_0x119bac=!0x0;}_0x3e2930['consumable']['consume'](_0x3d064f,{'styles':'list-style-type'})&&(_0x62da6e=function(_0x89cdd4){switch(_0x89cdd4){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x89cdd4;}}(_0x3d064f['getStyle']('list-style-type')),_0x119bac=!0x0),!_0x119bac&&_0x4cf5af['hasAttribute']('footnotesListStyle')||_0x3e2930['writer']['setAttribute']('footnotesListStyle',_0x62da6e,_0x4cf5af);}(_0x5577c1,_0x21b785,_0x1013ca,_0x37e727));});}),_0x312420['for']('downcast')['add'](_0x1e25cf=>{_0x1e25cf['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x5b3211,_0x2150dc,_0x2e36e2)=>{if(!_0x2e36e2['consumable']['consume'](_0x2150dc['item'],_0x5b3211['name']))return;const _0x140dfa=_0x41efa2(_0x2150dc['item'],_0x2e36e2['mapper']),{attributeNewValue:_0x351170}=_0x2150dc;null==_0x351170||0x1===_0x351170?_0x2e36e2['writer']['removeAttribute']('start',_0x140dfa):_0x2e36e2['writer']['setAttribute']('start',String(_0x351170),_0x140dfa);}),_0x1e25cf['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x13e337,_0x28a7a1,_0x1ad3c9)=>{if(!_0x1ad3c9['consumable']['consume'](_0x28a7a1['item'],_0x13e337['name']))return;const _0x4fcf59=_0x41efa2(_0x28a7a1['item'],_0x1ad3c9['mapper']),{attributeNewValue:_0x3f1eef}=_0x28a7a1;_0x3f1eef&&'decimal'!==_0x3f1eef?_0x1ad3c9['writer']['setStyle']('list-style-type',_0x3f1eef,_0x4fcf59):_0x1ad3c9['writer']['removeStyle']('list-style-type',_0x4fcf59);});});}['_definePostfixer'](){const {editor:_0x9c7746}=this,{model:_0xad2188}=_0x9c7746,_0x5cc2ff=_0x9c7746['plugins']['get'](FootnotesTracker),_0x264230=this['_getDefaultListStyle'](),_0x56bc06=this['_getDefaultStartIndex']();_0xad2188['document']['registerPostFixer'](_0x1f29a9=>{const _0x2043b3=_0xad2188['document']['differ']['getChanges']();let _0x22d9e4=!0x1;for(const _0x3cc565 of _0x2043b3){if('insert'!==_0x3cc565['type']||'$text'===_0x3cc565['name'])continue;const _0x6ce0b9=_0xad2188['createRangeOn'](_0x3cc565['position']['nodeAfter']);for(const _0x40a271 of _0x6ce0b9['getItems']())_0x40a271['is']('element','footnotesDefinitions')&&(!_0x40a271['hasAttribute']('footnotesListStart')&&_0xad2188['schema']['checkAttribute'](_0x40a271,'footnotesListStart')&&(_0x1f29a9['setAttribute']('footnotesListStart',_0x56bc06,_0x40a271),_0x22d9e4=!0x0),!_0x40a271['hasAttribute']('footnotesListStyle')&&_0xad2188['schema']['checkAttribute'](_0x40a271,'footnotesListStyle')&&(_0x1f29a9['setAttribute']('footnotesListStyle',_0x264230,_0x40a271),_0x22d9e4=!0x0));}return _0x22d9e4&&_0x5cc2ff['_updateFootnotesCounters'](_0x1f29a9),_0x22d9e4;});}['_defineFormatter'](){const {editor:_0x73f1fe}=this;_0x73f1fe['plugins']['get'](FootnotesTracker)['setFootnoteFormatter'](_0x21ea82=>this['_formatFootnoteListValue'](_0x21ea82));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x19b25f,value:_0x5579b5,digits:_0x4b1671}){const _0x5e32aa=_0x19b25f['getAttribute']('footnotesListStyle'),_0x512047=_0x19b25f['getAttribute']('footnotesListStart'),_0x555225=Math['floor'](_0x5579b5)+(_0x512047??0x1)-0x1;switch(_0x5e32aa){case'decimal-leading-zero':return function(_0x1463a6,_0x58bb8a){return String(_0x1463a6)['padStart'](_0x58bb8a,'0');}(_0x555225,Math['max'](0x2,_0x4b1671));case'lower-alpha':case'lower-latin':return _0x2d6a17(_0x555225,!0x1);case'upper-alpha':case'upper-latin':return _0x2d6a17(_0x555225,!0x0);case'lower-roman':return _0x2840d4(_0x555225,!0x1);case'upper-roman':return _0x2840d4(_0x555225,!0x0);default:return String(_0x555225);}}}function _0x41efa2(_0x1fec9d,_0x380ca0){const _0x592bf4=_0x380ca0['toViewElement'](_0x1fec9d);return Array['from'](_0x592bf4['getChildren']())['find'](_0x1361c7=>_0x1361c7['is']('element','ol')&&_0x1361c7['hasClass']('footnotes-list'));}function _0x2d6a17(_0x19f21e,_0x4b1ed9){let _0x2e8fd7='',_0x250422=_0x19f21e;for(;_0x250422>0x0;){const _0x50b8ba=(_0x250422-0x1)%0x1a;_0x2e8fd7=String['fromCharCode'](0x61+_0x50b8ba)+_0x2e8fd7,_0x250422=Math['floor']((_0x250422-0x1)/0x1a);}return _0x4b1ed9?_0x2e8fd7['toUpperCase']():_0x2e8fd7;}const _0x81c7f4=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function _0x2840d4(_0x4a8b4d,_0x4df1bb){let _0x2c1628='',_0x4d5d13=_0x4a8b4d;for(const {value:_0x4f2d65,numeral:_0x4f73ad}of _0x81c7f4)for(;_0x4d5d13>=_0x4f2d65;)_0x2c1628+=_0x4f73ad,_0x4d5d13-=_0x4f2d65;return _0x4df1bb?_0x2c1628:_0x2c1628['toLowerCase']();}class FootnotesDefinitionsPropertiesView extends _0x22b56d['View']{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x22b56d['FocusTracker']();['keystrokes']=new _0x22b56d['KeystrokeHandler']();['focusables']=new _0x22b56d['ViewCollection']();['focusCycler'];constructor(_0x15937b,{styleButtonViews:_0x1d9212,styleGridAriaLabel:_0x200939}){super(_0x15937b),(this['focusCycler']=new _0x22b56d['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1d9212,_0x200939),[this['startIndexFieldView'],this['additionalProperties']]=this['_appendAdditionalPropertiesCollapsibleView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-footnotes-definitions-properties']},'children':this['children']}));}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']);for(const _0x54ea9e of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x54ea9e['element']);_0x22b56d['addKeyboardHandlingForGrid']({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x22b56d['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 _0x386280=_0x570510=>_0x570510['stopPropagation']();this['keystrokes']['set']('arrowright',_0x386280),this['keystrokes']['set']('arrowleft',_0x386280),this['keystrokes']['set']('arrowup',_0x386280),this['keystrokes']['set']('arrowdown',_0x386280);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x4cb50e,_0x149fd4){const _0x58d03f=new _0x22b56d['View'](this['locale']);return _0x58d03f['children']=_0x58d03f['createCollection'](),_0x58d03f['children']['addMany'](_0x4cb50e),_0x58d03f['setTemplate']({'tag':'div','attributes':{'aria-label':_0x149fd4,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x58d03f['children']}),_0x58d03f['children']['delegate']('execute')['to'](this),_0x58d03f['focus']=function(){for(const _0x27c095 of this['children'])if(_0x27c095 instanceof _0x22b56d['ButtonView']&&_0x27c095['isOn'])return void _0x27c095['focus']();this['children']['first']['focus']();},_0x58d03f['focusTracker']=new _0x22b56d['FocusTracker'](),_0x58d03f['keystrokes']=new _0x22b56d['KeystrokeHandler'](),_0x58d03f['render'](),_0x58d03f['keystrokes']['listenTo'](_0x58d03f['element']),this['children']['add'](_0x58d03f),_0x58d03f;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0xc8d0fe=this['_createStartIndexPropertyView'](),_0x391fc3=[_0xc8d0fe],_0x18bb0b=new _0x22b56d['CollapsibleView'](this['locale'],_0x391fc3);return _0x18bb0b['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x18bb0b['buttonView']['bind']('isEnabled')['toMany'](_0x391fc3,'isEnabled',(..._0x5a5c44)=>_0x5a5c44['some'](_0x8ac526=>_0x8ac526)),_0x18bb0b['buttonView']['on']('change:isEnabled',(_0x37a222,_0x4b6f8b,_0x42dd77)=>{_0x42dd77||(_0x18bb0b['isCollapsed']=!0x0);}),this['children']['add'](_0x18bb0b),[_0xc8d0fe,_0x18bb0b];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x490737=new _0x22b56d['LabeledFieldView'](this['locale'],_0x22b56d['createLabeledInputNumber']);return _0x490737['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x490737['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x490737['fieldView']['on']('input',()=>{const _0x3a6cc8=_0x490737['fieldView']['element'],_0xb5caf2=_0x3a6cc8['valueAsNumber'];Number['isNaN'](_0xb5caf2)?_0x490737['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3a6cc8['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0xb5caf2}):_0x490737['errorText']=t(_0xb5caf2<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x490737;}}class FootnotesPropertiesUI extends _0x22b56d['Plugin']{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x22b56d['ContextualBalloon'],_0x22b56d['WidgetToolbarRepository']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x533c43}=this,{componentFactory:_0x1563ef}=_0x533c43['ui'];_0x533c43['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1563ef['add']('footnotesStyle',function(_0x3ff492){return _0xc49d30=>{const {t:t}=_0xc49d30,_0x335baf=_0x3ff492['commands']['get']('footnotesStyle'),_0x38306e=_0x22b56d['createDropdown'](_0xc49d30),{buttonView:_0x16166b}=_0x38306e;return _0x38306e['class']='ck-footnotes-styles-dropdown',_0x38306e['bind']('isEnabled')['to'](_0x335baf,'isEnabled'),_0x16166b['set']({'label':t('Footnotes\x20style'),'icon':_0x22b56d['IconFootnote'],'tooltip':!0x0}),_0x38306e['once']('change:isOpen',()=>{const _0x1e1771=function({editor:_0x3ab55d,dropdownView:_0x4f3574}){const {t:t}=_0x3ab55d['locale'],_0x264bdf=t('Footnotes\x20definitions\x20styles'),_0x15260b=function(_0x169f5b){const t=_0x169f5b['locale']['t'],_0x32964f=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x22b56d['IconListStyleDecimal']},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x22b56d['IconListStyleDecimalLeadingZero']},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x22b56d['IconListStyleLowerRoman']},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x22b56d['IconListStyleUpperRoman']},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x22b56d['IconListStyleLowerLatin']},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x22b56d['IconListStyleUpperLatin']}];return _0x32964f['map'](function(_0x8416ee){const _0x399cd2=_0x8416ee['locale'];return({label:_0x5edf53,icon:_0x4d3e19,tooltip:_0x8f3f96,style:_0x413a06})=>{const _0xc15a7a=_0x8416ee['commands']['get']('footnotesStyle'),_0x288fc3=new _0x22b56d['ButtonView'](_0x399cd2);return _0x288fc3['set']({'label':_0x5edf53,'icon':_0x4d3e19,'tooltip':_0x8f3f96}),_0x288fc3['bind']('isOn')['to'](_0xc15a7a,'value',_0xa339a9=>_0xa339a9===_0x413a06),_0x288fc3['bind']('isEnabled')['to'](_0xc15a7a,'isEnabled'),_0x288fc3['on']('execute',()=>{_0x8416ee['execute']('footnotesStyle',{'value':_0x413a06}),_0x8416ee['editing']['view']['focus']();}),_0x288fc3;};}(_0x169f5b));}(_0x3ab55d),_0x4b0ad1=new FootnotesDefinitionsPropertiesView(_0x3ab55d['locale'],{'styleGridAriaLabel':_0x264bdf,'styleButtonViews':_0x15260b}),_0x1b169a=_0x3ab55d['commands']['get']('footnotesStart');return _0x4b0ad1['startIndexFieldView']['bind']('isEnabled')['to'](_0x1b169a),_0x4b0ad1['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x1b169a),_0x4b0ad1['on']('footnotesListStart',(_0x2df167,_0x185add)=>{_0x3ab55d['execute']('footnotesStart',{'value':_0x185add['startIndex']});}),_0x4b0ad1['delegate']('execute')['to'](_0x4f3574),_0x4b0ad1;}({'editor':_0x3ff492,'dropdownView':_0x38306e});_0x38306e['panelView']['children']['add'](_0x1e1771);}),_0x38306e;};}(_0x533c43));}['afterInit'](){const {editor:_0x25e977}=this,{t:t}=_0x25e977['locale'],_0x3a848a=_0x25e977['plugins']['get'](_0x22b56d['WidgetToolbarRepository']),{defaultPositions:_0x55986d}=_0x22b56d['BalloonPanelView'];_0x3a848a['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x25e977['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x3cafc4=>{let _0x130a9a=_0x3cafc4['getFirstPosition']()?.['parent'];return _0x130a9a?.['is']('$text')&&(_0x130a9a=_0x130a9a['parent']),_0x130a9a?.['is']('element')?_0x130a9a['findAncestor'](_0x5668db):null;},'positions':[_0x55986d['southArrowNorth'],_0x55986d['southArrowNorthMiddleWest'],_0x55986d['southArrowNorthMiddleEast'],_0x55986d['southArrowNorthWest'],_0x55986d['southArrowNorthEast'],_0x55986d['northArrowSouth'],_0x55986d['northArrowSouthMiddleWest'],_0x55986d['northArrowSouthMiddleEast'],_0x55986d['northArrowSouthWest'],_0x55986d['northArrowSouthEast'],_0x55986d['viewportStickyNorth']]});}}class FootnotesProperties extends _0x22b56d['Plugin']{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[FootnotesPropertiesEditing,FootnotesPropertiesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const _0x2d2e42='copyFormat',_0x2f4b76='pasteFormat',_0x4a3694='ck-format-painter-active';class CopyFormatCommand extends _0x22b56d['Command']{constructor(_0x22d0a0){super(_0x22d0a0),this['value']=void 0x0,this['on']('change:isEnabled',(_0xf87459,_0x4feaa9,_0xae81a7)=>{_0xae81a7||this['reset']();}),this['on']('change:value',()=>_0x22d0a0['commands']['get'](_0x2f4b76)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x52a286=this['editor']['model'],_0x50dc51=_0x52a286['document']['selection'];return Object['fromEntries'](Array['from'](_0x50dc51['getAttributes']())['filter'](([_0x1e79ad])=>_0x52a286['schema']['getAttributeProperties'](_0x1e79ad)['isFormatting']));}}class PasteFormatCommand extends _0x22b56d['Command']{constructor(_0x2f118d){super(_0x2f118d),this['_removeFormatCommand']=new RemoveFormatCommandAlias(_0x2f118d);}['execute'](_0x3f04ba={}){const _0x5be9c6=this['editor']['model'],_0x233c0a=_0x5be9c6['document']['selection'],_0x4d0ebd=Array['from'](_0x233c0a['getRanges']()),_0x3d74ac=_0x233c0a['isCollapsed']?[this['_createRangeOnEntireWord'](_0x5be9c6,_0x233c0a)]:_0x4d0ebd;_0x5be9c6['change'](_0x1cda47=>{_0x1cda47['setSelection'](_0x3d74ac),this['_removeFormatCommand']['execute']();for(const _0x48bcba in _0x3f04ba)for(const _0x3f849b of _0x5be9c6['schema']['getValidRanges'](_0x3d74ac,_0x48bcba))_0x1cda47['setAttribute'](_0x48bcba,_0x3f04ba[_0x48bcba],_0x3f849b);_0x1cda47['setSelection'](_0x4d0ebd);});}['_createRangeOnEntireWord'](_0x11560d,_0x2c79ff){const _0x3be018=_0x11560d['createSelection'](_0x2c79ff);_0x11560d['modifySelection'](_0x3be018,{'unit':'word','direction':'backward'});const _0x9a65e2=_0x3be018['getFirstPosition']();_0x11560d['modifySelection'](_0x3be018,{'unit':'word','direction':'forward'});const _0xb80be0=_0x3be018['getLastPosition']();return _0x11560d['createRange'](_0x9a65e2,_0xb80be0);}}class RemoveFormatCommandAlias extends _0x22b56d['Command']{['execute'](){const _0x143f04=this['editor']['model'],_0x2958eb=_0x143f04['schema'];_0x143f04['change'](_0x2592f6=>{for(const _0x359c6f of this['_getFormattingItems'](_0x143f04['document']['selection'],_0x2958eb))if(_0x359c6f['is']('selection')){for(const _0x44b0c6 of this['_getFormattingAttributes'](_0x359c6f,_0x2958eb))_0x2592f6['removeSelectionAttribute'](_0x44b0c6);}else{const _0x21662f=_0x2592f6['createRangeOn'](_0x359c6f);for(const _0x1f2fde of this['_getFormattingAttributes'](_0x359c6f,_0x2958eb))_0x2592f6['removeAttribute'](_0x1f2fde,_0x21662f);}});}*['_getFormattingItems'](_0x16e494,_0x4d4c9d){const _0x807c86=_0x540ac4=>!!_0x22b56d['first'](this['_getFormattingAttributes'](_0x540ac4,_0x4d4c9d));for(const _0x4ef167 of _0x16e494['getRanges']())for(const _0x3bef7a of _0x4ef167['getItems']())!_0x4d4c9d['isBlock'](_0x3bef7a)&&_0x807c86(_0x3bef7a)&&(yield _0x3bef7a);for(const _0x1e39ba of _0x16e494['getSelectedBlocks']())_0x807c86(_0x1e39ba)&&(yield _0x1e39ba);_0x807c86(_0x16e494)&&(yield _0x16e494);}*['_getFormattingAttributes'](_0x6493a2,_0x169a79){for(const [_0xb78f07]of _0x6493a2['getAttributes']()){const _0x101418=_0x169a79['getAttributeProperties'](_0xb78f07);_0x101418&&_0x101418['isFormatting']&&(yield _0xb78f07);}}}class FormatPainterEditing extends _0x22b56d['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x26d078=this['editor'];_0x26d078['commands']['add'](_0x2d2e42,new CopyFormatCommand(_0x26d078)),_0x26d078['commands']['add'](_0x2f4b76,new PasteFormatCommand(_0x26d078)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x276191=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4acbb4;for(const _0x36cf92 in _0x276191){const _0x1c307e=_0x36cf92,_0xa36a65=_0x276191[_0x1c307e];if('formatPainterLicenseKeyValid'==_0xa36a65||'formatPainterLicenseKeyInvalid'==_0xa36a65||'formatPainterLicenseKeyExpired'==_0xa36a65||'formatPainterLicenseKeyDomainLimit'==_0xa36a65||'formatPainterLicenseKeyNotAllowed'==_0xa36a65||'formatPainterLicenseKeyEvaluationLimit'==_0xa36a65||'formatPainterLicenseKeyUsageLimit'==_0xa36a65){delete _0x276191[_0x1c307e],_0x4acbb4=_0xa36a65,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x4acbb4&&_0x276191['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x4acbb4&&_0x276191['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x4acbb4&&_0x276191['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x4acbb4&&_0x276191['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x4acbb4&&_0x276191['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x4acbb4&&_0x276191['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function _0x2fb9f3(_0x424a0b,_0x386f9d){const t=_0x424a0b['t'];switch(_0x386f9d){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 _0x386f9d;}}class FormatPainterUI extends/* #__PURE__ -- @preserve */
_0x22b56d['DomEmitterMixin'](_0x22b56d['Plugin']){static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x276d8c=this['editor'];_0x276d8c['editing']['view']['addObserver'](_0x22b56d['ClickObserver']),_0x276d8c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':_0x2fb9f3(_0x276d8c['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':_0x2fb9f3(_0x276d8c['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x276d8c['ui']['componentFactory']['add']('formatPainter',_0x33162d=>{const _0x54608f=_0x22b56d['createDropdown'](_0x33162d,_0x22b56d['SplitButtonView']),_0x56b159=_0x276d8c['commands']['get'](_0x2d2e42);_0x54608f['buttonView']['set']({'label':_0x2fb9f3(_0x276d8c['locale'],'Paint\x20formatting'),'icon':_0x22b56d['IconPaintRoller'],'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x54608f['class']='ck-format-painter-dropdown',_0x56b159&&(_0x54608f['bind']('isEnabled')['to'](_0x56b159,'isEnabled'),this['listenTo'](_0x56b159,'change:isEnabled',(_0x927e36,_0x553fd4,_0x493147)=>{_0x493147||this['_finishPainting']();}),_0x54608f['buttonView']['bind']('isOn')['to'](_0x56b159,'value',_0x3a8051=>!!_0x3a8051),this['listenTo'](_0x276d8c,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x56b159,'change:value',(_0x483fae,_0x506ca3,_0x4d9779)=>{this['_toggleSpecialCursor'](!!_0x4d9779);}));const _0x278bbd=new _0x22b56d['UIModel']({'withText':!0x0,'label':_0x2fb9f3(_0x276d8c['locale'],'Continuous\x20painting'),'tooltip':_0x2fb9f3(_0x276d8c['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});_0x22b56d['addListToDropdown'](_0x54608f,new _0x22b56d['Collection']([{'type':'switchbutton','model':_0x278bbd}]),{'role':'menu'});const _0x2936c3=()=>{this['_copyFormatting'](),this['listenTo'](_0x22b56d['global']['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x278bbd['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x54608f,'execute',()=>{_0x278bbd['isOn']=!_0x278bbd['isOn'];}),this['listenTo'](_0x54608f['buttonView'],'execute',()=>{_0x276d8c['editing']['view']['focus'](),_0x54608f['buttonView']['isOn']?this['_finishPainting']():_0x2936c3();}),_0x276d8c['keystrokes']['set']('Ctrl+Alt+C',(_0x200413,_0x2997c9)=>{_0x2936c3(),_0x278bbd['isOn']=!0x0,_0x2997c9();},{'priority':'high'}),_0x276d8c['keystrokes']['set']('Ctrl+Alt+V',(_0x4cac54,_0x32e964)=>{_0x54608f['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x278bbd['isOn']||this['_finishPainting'](),_0x32e964());},{'priority':'high'}),_0x276d8c['keystrokes']['set']('Esc',(_0x20a2a5,_0x525de2)=>{_0x54608f['buttonView']['isOn']&&(_0x278bbd['isOn']=!0x1,this['_finishPainting'](),_0x525de2());}),_0x54608f;});}['afterInit'](){!async function(_0x3dd816){const _0x1db107=_0x1e1992([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]),_0x1850fc=0x4597e011,_0x53badf=0x45906a79^_0x1850fc,_0x121e7a=window[_0x1e1992([0x44,0x61,0x74,0x65])][_0x1e1992([0x6e,0x6f,0x77])](),_0x2e8590=_0x3dd816[_0x1e1992([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xc3c31e=new window[(_0x1e1992([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x309220=>{_0x2e8590[_0x1e1992([0x6f,0x6e,0x63,0x65])](_0x1e1992([0x72,0x65,0x61,0x64,0x79]),_0x309220);}),_0x3ddf6f={[_0x1e1992([0x6b,0x74,0x79])]:_0x1e1992([0x45,0x43]),[_0x1e1992([0x75,0x73,0x65])]:_0x1e1992([0x73,0x69,0x67]),[_0x1e1992([0x63,0x72,0x76])]:_0x1e1992([0x50,0x2d,0x32,0x35,0x36]),[_0x1e1992([0x78])]:_0x1e1992([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]),[_0x1e1992([0x79])]:_0x1e1992([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]),[_0x1e1992([0x61,0x6c,0x67])]:_0x1e1992([0x45,0x53,0x32,0x35,0x36])},_0x2b61ea=_0x2e8590[_0x1e1992([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e1992([0x67,0x65,0x74])](_0x1e1992([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x220754(){let _0x5bb53f,_0x481433=null,_0x1836b8=null;try{if(_0x2b61ea==_0x1e1992([0x47,0x50,0x4c]))return _0x1e1992([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5bb53f=_0x303ab8(),!_0x5bb53f)return _0x1e1992([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5bb53f[_0x1e1992([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1836b8=_0x17ecbd(_0x5bb53f[_0x1e1992([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5bb53f[_0x1e1992([0x6a,0x74,0x69])])),await _0x3ecce9()?_0x5a426b()?_0x622615()?_0x1e1992([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3f38ef()?(_0x5bb53f[_0x1e1992([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e1992([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x481433=_0x116ed4(_0x1e1992([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x302ddc()):_0x1e1992([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e1992([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e1992([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1e1992([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x622615(){const _0x32b11c=[_0x1e1992([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e1992([0x74,0x72,0x69,0x61,0x6c])][_0x1e1992([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5bb53f[_0x1e1992([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x121e7a/0x3e8:0xe10*_0x53badf;return _0x5bb53f[_0x1e1992([0x65,0x78,0x70])]<_0x32b11c;}function _0x5a426b(){const _0x45e630=_0x5bb53f[_0x1e1992([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x45e630&&(!!_0x45e630[_0x1e1992([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e1992([0x2a]))||(!!_0x45e630[_0x1e1992([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e1992([0x46,0x50]))||(!!_0x45e630[_0x1e1992([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e1992([0x50,0x50]))||!(!_0x45e630[_0x1e1992([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e1992([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0xd754e8()))));}function _0x3f38ef(){const _0xf29aeb=_0x5bb53f[_0x1e1992([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf29aeb||0x0==_0xf29aeb[_0x1e1992([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x57c1f0}=new URL(window[_0x1e1992([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xf29aeb[_0x1e1992([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57c1f0))return!0x0;const _0x4c3319=_0x57c1f0[_0x1e1992([0x73,0x70,0x6c,0x69,0x74])](_0x1e1992([0x2e]));return _0xf29aeb[_0x1e1992([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x210a05=>_0x210a05[_0x1e1992([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e1992([0x2a])))[_0x1e1992([0x6d,0x61,0x70])](_0x5abbb7=>_0x5abbb7[_0x1e1992([0x73,0x70,0x6c,0x69,0x74])](_0x1e1992([0x2e])))[_0x1e1992([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50dea2=>_0x50dea2[_0x1e1992([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4c3319[_0x1e1992([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e1992([0x6d,0x61,0x70])](_0x2eae1d=>Array(_0x4c3319[_0x1e1992([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2eae1d[_0x1e1992([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e1992([0x66,0x69,0x6c,0x6c])](_0x2eae1d[0x0]===_0x1e1992([0x2a])?_0x1e1992([0x2a]):'')[_0x1e1992([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2eae1d))[_0x1e1992([0x73,0x6f,0x6d,0x65])](_0x22abc4=>_0x4c3319[_0x1e1992([0x65,0x76,0x65,0x72,0x79])]((_0x2a0735,_0x416e05)=>_0x22abc4[_0x416e05]===_0x2a0735||_0x22abc4[_0x416e05]===_0x1e1992([0x2a])));}function _0x302ddc(){return _0x481433&&_0x1836b8?new window[(_0x1e1992([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xfac6a3,_0x360e24)=>{_0x481433[_0x1e1992([0x74,0x68,0x65,0x6e])](_0xfac6a3,_0x360e24),_0x1836b8[_0x1e1992([0x74,0x68,0x65,0x6e])](_0x20921c=>{_0x20921c!=_0x1e1992([0x56,0x61,0x6c,0x69,0x64])&&_0xfac6a3(_0x20921c);},_0x360e24);}):_0x481433||_0x1836b8||_0x1e1992([0x56,0x61,0x6c,0x69,0x64]);}}function _0x17ecbd(_0x41a7b0,_0x1ee8ea){return new window[(_0x1e1992([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47f930=>{if(_0x2d9f0e())return _0x47f930(_0x1e1992([0x56,0x61,0x6c,0x69,0x64]));_0x16c404(),_0x2e8590[_0x1e1992([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e1992([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x152b07=!0x1;const _0x53a7a3=_0x22b56d['uid']();function _0x14230b(_0xd7272c){return!!_0xd7272c&&(typeof _0xd7272c===_0x1e1992([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xd7272c===_0x1e1992([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xd7272c[_0x1e1992([0x74,0x68,0x65,0x6e])]===_0x1e1992([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xd7272c[_0x1e1992([0x63,0x61,0x74,0x63,0x68])]===_0x1e1992([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x39e5f5(_0xbcaed8){_0x208501(_0xbcaed8)[_0x1e1992([0x74,0x68,0x65,0x6e])](_0x45580d=>{if(!_0x45580d||_0x45580d[_0x1e1992([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e1992([0x6f,0x6b]))return _0x1e1992([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1918a5(_0x221510(_0x53a7a3+_0x1ee8ea))!=_0x45580d[_0x1e1992([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e1992([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e1992([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e1992([0x74,0x68,0x65,0x6e])](_0x29d564=>(_0x334212(),_0x29d564),()=>{const _0x31f555=_0x158d80();return null==_0x31f555?(_0x334212(),_0x1e1992([0x56,0x61,0x6c,0x69,0x64])):_0x1e1992(_0x121e7a-_0x31f555>(0x619b6411^_0x1850fc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e1992([0x74,0x68,0x65,0x6e])](_0x47f930)[_0x1e1992([0x63,0x61,0x74,0x63,0x68])](()=>{_0x47f930(_0x1e1992([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x348a2f=0x45a10e91^_0x1850fc;function _0x334212(){const _0x5d9456=_0x1e1992([0x6c,0x6c,0x63,0x74,0x2d])+_0x1918a5(_0x221510(_0x41a7b0)),_0x4b3435=_0x385908(_0x1918a5(window[_0x1e1992([0x4d,0x61,0x74,0x68])][_0x1e1992([0x63,0x65,0x69,0x6c])](_0x121e7a/_0x348a2f)));window[_0x1e1992([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e1992([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d9456,_0x4b3435);}function _0x158d80(){const _0x2acb4c=_0x1e1992([0x6c,0x6c,0x63,0x74,0x2d])+_0x1918a5(_0x221510(_0x41a7b0)),_0x17fdb9=window[_0x1e1992([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e1992([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2acb4c);return _0x17fdb9?window[_0x1e1992([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x385908(_0x17fdb9),0x10)*_0x348a2f:null;}function _0x208501(_0x52552e){return new window[(_0x1e1992([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x25ad60,_0x43fbbe)=>{_0x52552e[_0x1e1992([0x74,0x68,0x65,0x6e])](_0x25ad60,_0x43fbbe),window[_0x1e1992([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x43fbbe,0x459634d1^_0x1850fc);});}}_0x2e8590[_0x1e1992([0x6f,0x6e])](_0x1e1992([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x57223c,_0x1faf9b)=>{if(_0x1faf9b[0x0]!=_0x41a7b0)return _0x47f930(_0x1e1992([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1faf9b[0x1]={..._0x1faf9b[0x1],[_0x1e1992([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x53a7a3};},{[_0x1e1992([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e1992([0x68,0x69,0x67,0x68])}),_0x2e8590[_0x1e1992([0x6f,0x6e])](_0x1e1992([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x33d2f1=>{_0x14230b(_0x33d2f1[_0x1e1992([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x152b07=!0x0,_0x39e5f5(_0x33d2f1[_0x1e1992([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e1992([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e1992([0x6c,0x6f,0x77])}),_0xc3c31e[_0x1e1992([0x74,0x68,0x65,0x6e])](()=>{_0x152b07||_0x47f930(_0x1e1992([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d9f0e(){return _0x2e8590[_0x1e1992([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e1992([0x76,0x69,0x65,0x77])][_0x1e1992([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e1992([0x61,0x75,0x74,0x6f]);}function _0x16c404(){_0x2e8590[_0x1e1992([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e1992([0x76,0x69,0x65,0x77])][_0x1e1992([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e1992([0x61,0x75,0x74,0x6f]);}}function _0x116ed4(_0x108e1d){const _0x35b860=[new window[(_0x1e1992([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x101b6a=>setTimeout(_0x101b6a,0x459ededd^_0x1850fc)),_0xc3c31e[_0x1e1992([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e1992([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4db76d=>{let _0x59db00=0x0;_0x2e8590[_0x1e1992([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e1992([0x6f,0x6e])](_0x1e1992([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xc77e4b,_0xa4063e)=>{_0xa4063e[0x0][_0x1e1992([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x59db00++,_0x59db00==(0x4597e5f9^_0x1850fc)&&(_0x4db76d(),_0xc77e4b[_0x1e1992([0x6f,0x66,0x66])]());});}))];return window[_0x1e1992([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e1992([0x72,0x61,0x63,0x65])](_0x35b860)[_0x1e1992([0x74,0x68,0x65,0x6e])](()=>_0x108e1d);}async function _0x3ac4bb(){await _0xc3c31e,_0x2e8590[_0x1e1992([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e1992([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x480706,_0x2e8590[_0x1e1992([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e1992([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x480706,_0x2e8590[_0x1e1992([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e1992([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd754e8(){return window[_0x1e1992([0x67,0x6c,0x6f,0x62])]&&window[_0x1e1992([0x67,0x6c,0x6f,0x62])][_0x1e1992([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x15ad1c(_0x530e5a){const _0x1715b2=_0x25d529();_0x2e8590[_0x1715b2]=_0x1e1992([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x530e5a,_0x530e5a!=_0x1e1992([0x56,0x61,0x6c,0x69,0x64])&&_0x3ac4bb();}function _0x25d529(){const _0x3ee5b3=window[_0x1e1992([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e1992([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e1992([0x6e,0x6f,0x77])]())[_0x1e1992([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e1992([0x2e]),'');let _0x20e920=_0x1e1992([0x51]);for(let _0x27cb57=0x0;_0x27cb57<_0x3ee5b3[_0x1e1992([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27cb57+=0x2){let _0x25f568=window[_0x1e1992([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ee5b3[_0x1e1992([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x27cb57,_0x27cb57+0x2));_0x25f568>=_0x1db107[_0x1e1992([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x25f568-=_0x1db107[_0x1e1992([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x20e920+=_0x1db107[_0x25f568];}return _0x20e920;}function _0x303ab8(){const _0x2c8b1b=_0x2b61ea[_0x1e1992([0x73,0x70,0x6c,0x69,0x74])](_0x1e1992([0x2e]));if(0x3!=_0x2c8b1b[_0x1e1992([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5b9ae5(_0x2c8b1b[0x1]);function _0x5b9ae5(_0x31768d){const _0x121373=_0x54b51f(_0x31768d);return _0x121373&&_0x1587ad()?_0x121373:null;function _0x1587ad(){const _0x475bca=_0x121373[_0x1e1992([0x6a,0x74,0x69])],_0x4cdd1d=window[_0x1e1992([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x475bca[_0x1e1992([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x475bca[_0x1e1992([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2366c8={..._0x121373,[_0x1e1992([0x6a,0x74,0x69])]:_0x475bca[_0x1e1992([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x475bca[_0x1e1992([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2366c8[_0x1e1992([0x76,0x63])],_0x221510(_0x2366c8)==_0x4cdd1d;}}}async function _0x3ecce9(){let _0x27e189=!0x0;try{const _0x2dff01=_0x2b61ea[_0x1e1992([0x73,0x70,0x6c,0x69,0x74])](_0x1e1992([0x2e])),[_0x58e8a8,_0x119238,_0x5a9ec8]=_0x2dff01;return _0x194f78(_0x58e8a8),await _0x3074c9(_0x58e8a8,_0x119238,_0x5a9ec8),_0x27e189;}catch{return!0x1;}function _0x194f78(_0x608d34){const _0x5b113f=_0x54b51f(_0x608d34);_0x5b113f&&_0x5b113f[_0x1e1992([0x61,0x6c,0x67])]==_0x1e1992([0x45,0x53,0x32,0x35,0x36])||(_0x27e189=!0x1);}async function _0x3074c9(_0x1b4390,_0x2f0d4c,_0x4ebfa2){const _0x305fa4=window[_0x1e1992([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e1992([0x66,0x72,0x6f,0x6d])](_0x5bea32(_0x4ebfa2),_0x5a2755=>_0x5a2755[_0x1e1992([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3bf37=new window[(_0x1e1992([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e1992([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1b4390+_0x1e1992([0x2e])+_0x2f0d4c),_0x56c62c=window[_0x1e1992([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e1992([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x56c62c)return;const _0x1953be=await _0x56c62c[_0x1e1992([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e1992([0x6a,0x77,0x6b]),_0x3ddf6f,{[_0x1e1992([0x6e,0x61,0x6d,0x65])]:_0x1e1992([0x45,0x43,0x44,0x53,0x41]),[_0x1e1992([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e1992([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e1992([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x56c62c[_0x1e1992([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e1992([0x6e,0x61,0x6d,0x65])]:_0x1e1992([0x45,0x43,0x44,0x53,0x41]),[_0x1e1992([0x68,0x61,0x73,0x68])]:{[_0x1e1992([0x6e,0x61,0x6d,0x65])]:_0x1e1992([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1953be,_0x305fa4,_0x3bf37)||(_0x27e189=!0x1);}}function _0x54b51f(_0x4214fb){return _0x4214fb[_0x1e1992([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e1992([0x65,0x79]))?JSON[_0x1e1992([0x70,0x61,0x72,0x73,0x65])](_0x5bea32(_0x4214fb)):null;}function _0x5bea32(_0x1ccab9){return window[_0x1e1992([0x61,0x74,0x6f,0x62])](_0x1ccab9[_0x1e1992([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e1992([0x2b]))[_0x1e1992([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e1992([0x2f])));}function _0x221510(_0x156dc7){let _0x22ffd4=0x1505;function _0xadec8f(_0x54c870){for(let _0x381ebc=0x0;_0x381ebc<_0x54c870[_0x1e1992([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x381ebc++){const _0x3eebf8=_0x54c870[_0x1e1992([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x381ebc);_0x22ffd4=(_0x22ffd4<<0x5)+_0x22ffd4+_0x3eebf8,_0x22ffd4&=_0x22ffd4;}}function _0x32ce00(_0x27e632){Array[_0x1e1992([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x27e632)?_0x27e632[_0x1e1992([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x32ce00):_0x27e632&&typeof _0x27e632==_0x1e1992([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e1992([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x27e632)[_0x1e1992([0x73,0x6f,0x72,0x74])]()[_0x1e1992([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x13282d,_0x33099f])=>{_0xadec8f(_0x13282d),_0x32ce00(_0x33099f);}):_0xadec8f(window[_0x1e1992([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x27e632));}return _0x32ce00(_0x156dc7),_0x22ffd4>>>0x0;}function _0x1918a5(_0x585dc5){return _0x585dc5[_0x1e1992([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e1992([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e1992([0x30]));}function _0x385908(_0x1b6209){return _0x1b6209[_0x1e1992([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e1992([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e1992([0x6a,0x6f,0x69,0x6e])]('');}function _0x480706(){}function _0x1e1992(_0x20efb6){return _0x20efb6['map'](_0x352b81=>String['fromCharCode'](_0x352b81))['join']('');}_0x15ad1c(await _0x220754());}(this);}['_toggleSpecialCursor'](_0x40ce46){this['editor']['editing']['view']['change'](_0x5888be=>{for(const _0x80e0ae of this['editor']['editing']['view']['document']['roots'])_0x40ce46?_0x5888be['addClass'](_0x4a3694,_0x80e0ae):_0x5888be['removeClass'](_0x4a3694,_0x80e0ae);});}['_copyFormatting'](){const {editor:_0x52c028}=this;_0x52c028['execute'](_0x2d2e42),_0x52c028['ui']['ariaLiveAnnouncer']['announce'](_0x2fb9f3(_0x52c028['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0xe9a0b8}=this,_0xde25e5=_0xe9a0b8['commands']['get'](_0x2d2e42)['value'];_0xe9a0b8['execute'](_0x2f4b76,_0xde25e5),_0xe9a0b8['ui']['ariaLiveAnnouncer']['announce'](_0x2fb9f3(_0xe9a0b8['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](_0x2d2e42)['reset'](),this['stopListening'](_0x22b56d['global']['window']['document'],'mouseup');}}class FormatPainter extends _0x22b56d['Plugin']{static get['requires'](){return[FormatPainterEditing,FormatPainterUI];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function _0x42fcda(_0x3891eb,_0x6debc9){const t=_0x3891eb['t'];switch(_0x6debc9){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 _0x6debc9;}}class ImportWordUI extends _0x22b56d['Plugin']{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xb6fcb2=this['editor'];_0xb6fcb2['ui']['componentFactory']['add']('importWord',()=>{const _0x280b4c=this['_createButton'](_0x22b56d['FileDialogButtonView']),_0x1e2618=_0xb6fcb2['commands']['get']('importWord');return _0x280b4c['bind']('isOn')['to'](_0x1e2618,'isBusy'),_0x280b4c['tooltip']=!0x0,_0x280b4c;}),_0xb6fcb2['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x22b56d['MenuBarMenuListItemFileDialogButtonView']));}['_createButton'](_0x132a36){const _0x5382a0=this['editor'],_0x299d90=_0x5382a0['commands']['get']('importWord'),_0x5f2168=new _0x132a36(_0x5382a0['locale']),_0x96043=new _0x22b56d['SpinnerView']();return _0x5f2168['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x5f2168['set']({'icon':_0x22b56d['IconImportWord']}),_0x5f2168['bind']('isEnabled')['to'](_0x299d90),_0x5f2168['bind']('label')['to'](_0x299d90,'isBusy',_0x38367a=>_0x42fcda(_0x5382a0['locale'],_0x38367a?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x96043['bind']('isVisible')['to'](_0x299d90,'isBusy'),_0x5f2168['iconView']['bind']('isVisible')['to'](_0x299d90,'isBusy',_0x4cfce1=>!_0x4cfce1),_0x5f2168['children']['add'](_0x96043),_0x5f2168['on']('done',(_0x364456,_0x45eada)=>{_0x5382a0['execute']('importWord',_0x45eada[0x0],{}),_0x5382a0['editing']['view']['focus']();}),_0x5f2168;}}class ImportWordCommand extends _0x22b56d['Command']{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x3b7794){super(_0x3b7794),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x4b568e,_0xbc63a4)=>{const _0xc1f692=new DataTransfer();_0xc1f692['setData']('text/html',_0xbc63a4['html']);const _0x4c1a4e=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x147032=>{this['_importMarker']['stopListening'](),_0x147032['setSelection'](_0x4c1a4e),_0x3b7794['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0xc1f692});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0xc70478,_0x58f4ef={}){if(this['isBusy'])return Promise['resolve']();const _0x4dbbdf=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x1e73ba,suffix:_0x5d8a68}=this['editor']['config']['get']('mergeFields');_0x58f4ef['merge_fields']={'prefix':_0x1e73ba,'suffix':_0x5d8a68};}const _0x185987={'url':_0x4dbbdf['converterUrl'],'file':_0xc70478,'serviceConfig':{..._0x58f4ef,'formatting':_0x4dbbdf['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x185987)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0xf81b8=this['editor']['model'],_0x2c17a2=_0xf81b8['schema'],_0x380ef0=_0xf81b8['document']['selection'],_0x940c7f=_0x22b56d['first'](_0x380ef0['getSelectedBlocks']());return!!_0x940c7f&&_0x2c17a2['checkChild'](_0x940c7f['parent'],'paragraph');}['_prepareForImport'](){const _0x17e9e9=this['editor'],_0x4f7b8a=_0x17e9e9['model'],_0x3d33c2=_0x4f7b8a['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x17e9e9['model']['createBatch']({'isUndoable':!0x0}),_0x4f7b8a['enqueueChange'](this['_undoStepBatch'],_0x1a1d04=>{_0x3d33c2['isCollapsed']||_0x4f7b8a['deleteContent'](_0x3d33c2,{'leaveUnmerged':!0x0});const _0x2885ad=_0x3d33c2['getFirstPosition'](),_0x2e6378=_0x22b56d['first'](_0x3d33c2['getSelectedBlocks']());let _0x495eb5;_0x495eb5=_0x2e6378['is']('element','paragraph')&&_0x2e6378['isEmpty']?_0x2885ad:_0x2885ad['isAtStart']?_0x4f7b8a['createPositionBefore'](_0x2e6378):_0x2885ad['isAtEnd']?_0x4f7b8a['createPositionAfter'](_0x2e6378):_0x1a1d04['split'](_0x2885ad)['position'],this['_importMarker']=_0x1a1d04['addMarker']('importWord:'+_0x22b56d['uid'](),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x22b56d['ModelRange'](_0x495eb5)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x4258f3=this['editor']['model'];_0x4258f3['markers']['has'](this['_importMarker'])&&_0x4258f3['enqueueChange'](this['_undoStepBatch'],_0x255921=>{_0x255921['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}['_sendImportRequest']({url:_0x5c7280,file:_0x216ea3,serviceConfig:_0x38d4df}){const _0x44b748=this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x442c9f=new FormData();_0x442c9f['set']('config',JSON['stringify'](_0x38d4df)),_0x442c9f['set']('file',_0x216ea3);const _0x57fb42={'method':'POST','headers':{},'body':_0x442c9f,'signal':this['_abortController']['signal']};return _0x44b748&&(_0x57fb42['headers']['Authorization']=_0x44b748['value']),fetch(_0x5c7280,_0x57fb42);}['_handleImportResponse'](_0x13e940){return _0x13e940['ok']?_0x13e940['json']()['then'](_0x55ea31=>{if(!this['editor']['model']['markers']['has'](this['_importMarker']))return;'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',{..._0x55ea31,'undoStepBatch':this['_undoStepBatch']});}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void _0x22b56d['logWarning']('import-word-plugin-import-cancelled');const _0x372c5d=this['editor'],_0x571da6=_0x42fcda(_0x372c5d['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x372c5d['plugins']['get']('Notification')['showWarning'](_0x571da6),_0x22b56d['logError']('import-word-plugin-conversion-failed');}}class ImportWordEditing extends _0x22b56d['Plugin']{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x22b56d['Notification'],_0x22b56d['ClipboardPipeline'],'CloudServices'];}constructor(_0x3d73d1){super(_0x3d73d1),this['_token']=null;}async['init'](){const _0x26134c=this['editor'];_0x26134c['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x26134c['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x26134c['commands']['add']('importWord',new ImportWordCommand(_0x26134c));const {tokenUrl:_0x43af5f}=_0x26134c['config']['get']('importWord');if(_0x43af5f){const {tokenUrl:_0x2ef5e5}=_0x26134c['config']['get']('cloudServices')||{};this['_token']=_0x43af5f===_0x2ef5e5?_0x26134c['plugins']['get']('CloudServices')['token']:await _0x26134c['plugins']['get']('CloudServices')['registerTokenUrl'](_0x43af5f);}}['getToken'](){return this['_token'];}}class ImportWord extends _0x22b56d['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 _0x22b56d['Command']{['refresh'](){const _0x45646d=this['editor']['model']['document'],_0x149ee1=_0x22b56d['first'](_0x45646d['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x149ee1)&&this['_canHaveLineHeight'](_0x149ee1),this['value']=this['isEnabled']&&_0x149ee1['getAttribute']('lineHeight');}['execute'](_0x26725f={}){const _0x3d69c4=this['editor']['model'],_0x48a8dd=_0x3d69c4['document']['selection'],_0x4b8ad1=_0x26725f['value'];_0x3d69c4['change'](_0x11a956=>{const _0x2a12da=Array['from'](_0x48a8dd['getSelectedBlocks']())['filter'](_0x5cd9ba=>this['_canHaveLineHeight'](_0x5cd9ba));for(const _0x1a3708 of _0x2a12da)_0x4b8ad1?_0x11a956['setAttribute']('lineHeight',_0x4b8ad1,_0x1a3708):_0x11a956['removeAttribute']('lineHeight',_0x1a3708);});}['_canHaveLineHeight'](_0x165e50){return this['editor']['model']['schema']['checkAttribute'](_0x165e50,'lineHeight');}}const _0xdf195={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 _0x34820f(_0xe8e2cb){return'string'==typeof _0xe8e2cb&&'default'===_0xe8e2cb['toLowerCase']();}function _0x42ef5c(_0x2d164e){return _0x2d164e['options']['map'](_0x35eb49=>{return _0x34820f(_0x35eb49)?{'title':String(_0x2d164e['defaultValue']),'model':'default'}:('number'==typeof _0x35eb49&&(_0x35eb49=String(_0x35eb49)),'string'!=typeof _0x35eb49?_0x35eb49:parseFloat(_0x35eb49)?{'title':_0x35eb49,'model':_0x35eb49,'view':{'name':'span','styles':{'line-height':_0x35eb49}}}:'string'==typeof(_0x441cdc=_0x35eb49)?_0xdf195[_0x441cdc]:_0xdf195[_0x441cdc['model']]);var _0x441cdc;})['filter'](_0x154c02=>void 0x0!==_0x154c02);}class LineHeightTodoListIntegration extends _0x22b56d['Plugin']{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x1894eb,conversion:_0x389caa}=this['editor'];if(!_0x1894eb['has']('ListEditing')||!_0x1894eb['has']('TodoListEditing'))return;_0x1894eb['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0xfae3a9,_0x17ab1f,_0x2f963b,_0x5d5874,_0x40b96c){'todo'==_0x40b96c['getAttribute']('listType')&&_0x17ab1f&&(_0xfae3a9['addClass']('ck-list-marker-line-height',_0x2f963b),_0xfae3a9['setStyle']('--ck-content-list-marker-line-height',_0x17ab1f,_0x2f963b));}}),_0x389caa['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x389caa['for']('upcast')['add'](_0x427e78=>{_0x427e78['on']('element:li',function(_0x16e5fa){const _0x41079c=new _0x22b56d['Matcher'](_0x16e5fa);return(_0x2eba4a,_0x1e8dc6,_0x41c5e8)=>{const _0x4ed045=_0x41079c['match'](_0x1e8dc6['viewItem']);if(!_0x4ed045)return;const _0x376587=_0x4ed045['match'];_0x376587['name']=!0x1,_0x41c5e8['consumable']['consume'](_0x1e8dc6['viewItem'],_0x376587);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));});}}class LineHeightEditing extends _0x22b56d['Plugin']{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[LineHeightTodoListIntegration];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xf54cee){super(_0xf54cee),_0xf54cee['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x2b8160=this['editor'];this['_validateConfig'](),_0x2b8160['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x2b8160['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x2b8160['commands']['add']('lineHeight',new LineHeightCommand(_0x2b8160)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x9e7c46){const _0x4b0e35=_0x3d2e43([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]),_0x315e35=0x45ddd215,_0x365448=0x45da587d^_0x315e35,_0x88ec5d=window[_0x3d2e43([0x44,0x61,0x74,0x65])][_0x3d2e43([0x6e,0x6f,0x77])](),_0x1686e1=_0x9e7c46[_0x3d2e43([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4b4963=new window[(_0x3d2e43([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1067cc=>{_0x1686e1[_0x3d2e43([0x6f,0x6e,0x63,0x65])](_0x3d2e43([0x72,0x65,0x61,0x64,0x79]),_0x1067cc);}),_0x46d5f1={[_0x3d2e43([0x6b,0x74,0x79])]:_0x3d2e43([0x45,0x43]),[_0x3d2e43([0x75,0x73,0x65])]:_0x3d2e43([0x73,0x69,0x67]),[_0x3d2e43([0x63,0x72,0x76])]:_0x3d2e43([0x50,0x2d,0x32,0x35,0x36]),[_0x3d2e43([0x78])]:_0x3d2e43([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]),[_0x3d2e43([0x79])]:_0x3d2e43([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]),[_0x3d2e43([0x61,0x6c,0x67])]:_0x3d2e43([0x45,0x53,0x32,0x35,0x36])},_0x4ad950=_0x1686e1[_0x3d2e43([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3d2e43([0x67,0x65,0x74])](_0x3d2e43([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x507dfe(){let _0x476a91,_0x1ca1b9=null,_0x2203c7=null;try{if(_0x4ad950==_0x3d2e43([0x47,0x50,0x4c]))return _0x3d2e43([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x476a91=_0x48173d(),!_0x476a91)return _0x3d2e43([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x476a91[_0x3d2e43([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2203c7=_0x63c32d(_0x476a91[_0x3d2e43([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x476a91[_0x3d2e43([0x6a,0x74,0x69])])),await _0x1825eb()?_0x4ba79d()?_0x594d95()?_0x3d2e43([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x7bb4a4()?(_0x476a91[_0x3d2e43([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3d2e43([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1ca1b9=_0x56ca68(_0x3d2e43([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3e5625()):_0x3d2e43([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3d2e43([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3d2e43([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3d2e43([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x594d95(){const _0x497886=[_0x3d2e43([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3d2e43([0x74,0x72,0x69,0x61,0x6c])][_0x3d2e43([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x476a91[_0x3d2e43([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x88ec5d/0x3e8:0xe10*_0x365448;return _0x476a91[_0x3d2e43([0x65,0x78,0x70])]<_0x497886;}function _0x4ba79d(){const _0x3ab959=_0x476a91[_0x3d2e43([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3ab959&&(!!_0x3ab959[_0x3d2e43([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d2e43([0x2a]))||!!_0x3ab959[_0x3d2e43([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d2e43([0x4c,0x48])));}function _0x7bb4a4(){const _0x146752=_0x476a91[_0x3d2e43([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x146752||0x0==_0x146752[_0x3d2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x39e411}=new URL(window[_0x3d2e43([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x146752[_0x3d2e43([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39e411))return!0x0;const _0x470de3=_0x39e411[_0x3d2e43([0x73,0x70,0x6c,0x69,0x74])](_0x3d2e43([0x2e]));return _0x146752[_0x3d2e43([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x31050f=>_0x31050f[_0x3d2e43([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d2e43([0x2a])))[_0x3d2e43([0x6d,0x61,0x70])](_0x3f2706=>_0x3f2706[_0x3d2e43([0x73,0x70,0x6c,0x69,0x74])](_0x3d2e43([0x2e])))[_0x3d2e43([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42da1e=>_0x42da1e[_0x3d2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x470de3[_0x3d2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d2e43([0x6d,0x61,0x70])](_0xa6972f=>Array(_0x470de3[_0x3d2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xa6972f[_0x3d2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3d2e43([0x66,0x69,0x6c,0x6c])](_0xa6972f[0x0]===_0x3d2e43([0x2a])?_0x3d2e43([0x2a]):'')[_0x3d2e43([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xa6972f))[_0x3d2e43([0x73,0x6f,0x6d,0x65])](_0xc32ff8=>_0x470de3[_0x3d2e43([0x65,0x76,0x65,0x72,0x79])]((_0x49d31b,_0x1186a9)=>_0xc32ff8[_0x1186a9]===_0x49d31b||_0xc32ff8[_0x1186a9]===_0x3d2e43([0x2a])));}function _0x3e5625(){return _0x1ca1b9&&_0x2203c7?new window[(_0x3d2e43([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x413cf8,_0x4328bd)=>{_0x1ca1b9[_0x3d2e43([0x74,0x68,0x65,0x6e])](_0x413cf8,_0x4328bd),_0x2203c7[_0x3d2e43([0x74,0x68,0x65,0x6e])](_0x2e1989=>{_0x2e1989!=_0x3d2e43([0x56,0x61,0x6c,0x69,0x64])&&_0x413cf8(_0x2e1989);},_0x4328bd);}):_0x1ca1b9||_0x2203c7||_0x3d2e43([0x56,0x61,0x6c,0x69,0x64]);}}function _0x63c32d(_0x2c7c65,_0x50ad37){return new window[(_0x3d2e43([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf3bacd=>{if(_0x33ae34())return _0xf3bacd(_0x3d2e43([0x56,0x61,0x6c,0x69,0x64]));_0x1fe19e(),_0x1686e1[_0x3d2e43([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3d2e43([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x25d8ae=!0x1;const _0x27c7be=_0x22b56d['uid']();function _0x3b5f9e(_0x53dc26){return!!_0x53dc26&&(typeof _0x53dc26===_0x3d2e43([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x53dc26===_0x3d2e43([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x53dc26[_0x3d2e43([0x74,0x68,0x65,0x6e])]===_0x3d2e43([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x53dc26[_0x3d2e43([0x63,0x61,0x74,0x63,0x68])]===_0x3d2e43([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x274749(_0x1ef69f){_0x5a90bf(_0x1ef69f)[_0x3d2e43([0x74,0x68,0x65,0x6e])](_0x5133dc=>{if(!_0x5133dc||_0x5133dc[_0x3d2e43([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3d2e43([0x6f,0x6b]))return _0x3d2e43([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3abae6(_0x10ec15(_0x27c7be+_0x50ad37))!=_0x5133dc[_0x3d2e43([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3d2e43([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3d2e43([0x56,0x61,0x6c,0x69,0x64]);})[_0x3d2e43([0x74,0x68,0x65,0x6e])](_0x2c8fbb=>(_0x3c580d(),_0x2c8fbb),()=>{const _0x322a4f=_0x23f930();return null==_0x322a4f?(_0x3c580d(),_0x3d2e43([0x56,0x61,0x6c,0x69,0x64])):_0x3d2e43(_0x88ec5d-_0x322a4f>(0x61d15615^_0x315e35)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3d2e43([0x74,0x68,0x65,0x6e])](_0xf3bacd)[_0x3d2e43([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf3bacd(_0x3d2e43([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x188407=0x45eb3c95^_0x315e35;function _0x3c580d(){const _0x3d8ba9=_0x3d2e43([0x6c,0x6c,0x63,0x74,0x2d])+_0x3abae6(_0x10ec15(_0x2c7c65)),_0x36d8a7=_0x1be1e(_0x3abae6(window[_0x3d2e43([0x4d,0x61,0x74,0x68])][_0x3d2e43([0x63,0x65,0x69,0x6c])](_0x88ec5d/_0x188407)));window[_0x3d2e43([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d2e43([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d8ba9,_0x36d8a7);}function _0x23f930(){const _0x886164=_0x3d2e43([0x6c,0x6c,0x63,0x74,0x2d])+_0x3abae6(_0x10ec15(_0x2c7c65)),_0x20162c=window[_0x3d2e43([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3d2e43([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x886164);return _0x20162c?window[_0x3d2e43([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1be1e(_0x20162c),0x10)*_0x188407:null;}function _0x5a90bf(_0x26a3db){return new window[(_0x3d2e43([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4bb4f7,_0x31f26b)=>{_0x26a3db[_0x3d2e43([0x74,0x68,0x65,0x6e])](_0x4bb4f7,_0x31f26b),window[_0x3d2e43([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x31f26b,0x45dc06d5^_0x315e35);});}}_0x1686e1[_0x3d2e43([0x6f,0x6e])](_0x3d2e43([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x299a0a,_0xf62b92)=>{if(_0xf62b92[0x0]!=_0x2c7c65)return _0xf3bacd(_0x3d2e43([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xf62b92[0x1]={..._0xf62b92[0x1],[_0x3d2e43([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x27c7be};},{[_0x3d2e43([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d2e43([0x68,0x69,0x67,0x68])}),_0x1686e1[_0x3d2e43([0x6f,0x6e])](_0x3d2e43([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x30c2ad=>{_0x3b5f9e(_0x30c2ad[_0x3d2e43([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x25d8ae=!0x0,_0x274749(_0x30c2ad[_0x3d2e43([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3d2e43([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3d2e43([0x6c,0x6f,0x77])}),_0x4b4963[_0x3d2e43([0x74,0x68,0x65,0x6e])](()=>{_0x25d8ae||_0xf3bacd(_0x3d2e43([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x33ae34(){return _0x1686e1[_0x3d2e43([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d2e43([0x76,0x69,0x65,0x77])][_0x3d2e43([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3d2e43([0x61,0x75,0x74,0x6f]);}function _0x1fe19e(){_0x1686e1[_0x3d2e43([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3d2e43([0x76,0x69,0x65,0x77])][_0x3d2e43([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3d2e43([0x61,0x75,0x74,0x6f]);}}function _0x56ca68(_0x59f6dc){const _0x458011=[new window[(_0x3d2e43([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52aba9=>setTimeout(_0x52aba9,0x45d4ecd9^_0x315e35)),_0x4b4963[_0x3d2e43([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3d2e43([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe55ba6=>{let _0x289f64=0x0;_0x1686e1[_0x3d2e43([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d2e43([0x6f,0x6e])](_0x3d2e43([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3656dc,_0x45d97b)=>{_0x45d97b[0x0][_0x3d2e43([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x289f64++,_0x289f64==(0x45ddd7fd^_0x315e35)&&(_0xe55ba6(),_0x3656dc[_0x3d2e43([0x6f,0x66,0x66])]());});}))];return window[_0x3d2e43([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3d2e43([0x72,0x61,0x63,0x65])](_0x458011)[_0x3d2e43([0x74,0x68,0x65,0x6e])](()=>_0x59f6dc);}async function _0x33babd(){await _0x4b4963,_0x1686e1[_0x3d2e43([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d2e43([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x12f251,_0x1686e1[_0x3d2e43([0x6d,0x6f,0x64,0x65,0x6c])][_0x3d2e43([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x12f251,_0x1686e1[_0x3d2e43([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3d2e43([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2f2ee6(_0x433cc0){const _0x1edba8=_0x500751();_0x1686e1[_0x1edba8]=_0x3d2e43([0x6c,0x69,0x6e,0x65,0x48,0x65,0x69,0x67,0x68,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x433cc0,_0x433cc0!=_0x3d2e43([0x56,0x61,0x6c,0x69,0x64])&&_0x33babd();}function _0x500751(){const _0x4a5b58=window[_0x3d2e43([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3d2e43([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3d2e43([0x6e,0x6f,0x77])]())[_0x3d2e43([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3d2e43([0x2e]),'');let _0x2b16bb=_0x3d2e43([0x50]);for(let _0x244e1c=0x0;_0x244e1c<_0x4a5b58[_0x3d2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x244e1c+=0x2){let _0x3d585b=window[_0x3d2e43([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a5b58[_0x3d2e43([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x244e1c,_0x244e1c+0x2));_0x3d585b>=_0x4b0e35[_0x3d2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3d585b-=_0x4b0e35[_0x3d2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2b16bb+=_0x4b0e35[_0x3d585b];}return _0x2b16bb;}function _0x48173d(){const _0x3722c6=_0x4ad950[_0x3d2e43([0x73,0x70,0x6c,0x69,0x74])](_0x3d2e43([0x2e]));if(0x3!=_0x3722c6[_0x3d2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5339f9(_0x3722c6[0x1]);function _0x5339f9(_0x5c8bb9){const _0x8efe4e=_0x2ba9f9(_0x5c8bb9);return _0x8efe4e&&_0x595f49()?_0x8efe4e:null;function _0x595f49(){const _0x44ec23=_0x8efe4e[_0x3d2e43([0x6a,0x74,0x69])],_0x5287af=window[_0x3d2e43([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44ec23[_0x3d2e43([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44ec23[_0x3d2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2ec35e={..._0x8efe4e,[_0x3d2e43([0x6a,0x74,0x69])]:_0x44ec23[_0x3d2e43([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x44ec23[_0x3d2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2ec35e[_0x3d2e43([0x76,0x63])],_0x10ec15(_0x2ec35e)==_0x5287af;}}}async function _0x1825eb(){let _0x2b036d=!0x0;try{const _0x45a69d=_0x4ad950[_0x3d2e43([0x73,0x70,0x6c,0x69,0x74])](_0x3d2e43([0x2e])),[_0x42e3c6,_0x51b58d,_0xa5787f]=_0x45a69d;return _0x16b85a(_0x42e3c6),await _0xac7c84(_0x42e3c6,_0x51b58d,_0xa5787f),_0x2b036d;}catch{return!0x1;}function _0x16b85a(_0x215f81){const _0x4c773d=_0x2ba9f9(_0x215f81);_0x4c773d&&_0x4c773d[_0x3d2e43([0x61,0x6c,0x67])]==_0x3d2e43([0x45,0x53,0x32,0x35,0x36])||(_0x2b036d=!0x1);}async function _0xac7c84(_0x287316,_0x107c61,_0x3af4ff){const _0x2794b4=window[_0x3d2e43([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3d2e43([0x66,0x72,0x6f,0x6d])](_0xcd0ac1(_0x3af4ff),_0x5814cb=>_0x5814cb[_0x3d2e43([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x11422c=new window[(_0x3d2e43([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3d2e43([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x287316+_0x3d2e43([0x2e])+_0x107c61),_0x4f6051=window[_0x3d2e43([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3d2e43([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4f6051)return;const _0x4ba04f=await _0x4f6051[_0x3d2e43([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3d2e43([0x6a,0x77,0x6b]),_0x46d5f1,{[_0x3d2e43([0x6e,0x61,0x6d,0x65])]:_0x3d2e43([0x45,0x43,0x44,0x53,0x41]),[_0x3d2e43([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3d2e43([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3d2e43([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4f6051[_0x3d2e43([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3d2e43([0x6e,0x61,0x6d,0x65])]:_0x3d2e43([0x45,0x43,0x44,0x53,0x41]),[_0x3d2e43([0x68,0x61,0x73,0x68])]:{[_0x3d2e43([0x6e,0x61,0x6d,0x65])]:_0x3d2e43([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4ba04f,_0x2794b4,_0x11422c)||(_0x2b036d=!0x1);}}function _0x2ba9f9(_0x20f605){return _0x20f605[_0x3d2e43([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3d2e43([0x65,0x79]))?JSON[_0x3d2e43([0x70,0x61,0x72,0x73,0x65])](_0xcd0ac1(_0x20f605)):null;}function _0xcd0ac1(_0x244e19){return window[_0x3d2e43([0x61,0x74,0x6f,0x62])](_0x244e19[_0x3d2e43([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3d2e43([0x2b]))[_0x3d2e43([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3d2e43([0x2f])));}function _0x10ec15(_0x214a81){let _0x41294f=0x1505;function _0xa6317c(_0x17c842){for(let _0x180324=0x0;_0x180324<_0x17c842[_0x3d2e43([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x180324++){const _0x2a1257=_0x17c842[_0x3d2e43([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x180324);_0x41294f=(_0x41294f<<0x5)+_0x41294f+_0x2a1257,_0x41294f&=_0x41294f;}}function _0x167a86(_0x382ef2){Array[_0x3d2e43([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x382ef2)?_0x382ef2[_0x3d2e43([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x167a86):_0x382ef2&&typeof _0x382ef2==_0x3d2e43([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3d2e43([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x382ef2)[_0x3d2e43([0x73,0x6f,0x72,0x74])]()[_0x3d2e43([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3629fc,_0x11f790])=>{_0xa6317c(_0x3629fc),_0x167a86(_0x11f790);}):_0xa6317c(window[_0x3d2e43([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x382ef2));}return _0x167a86(_0x214a81),_0x41294f>>>0x0;}function _0x3abae6(_0x57be68){return _0x57be68[_0x3d2e43([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3d2e43([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3d2e43([0x30]));}function _0x1be1e(_0x1533ad){return _0x1533ad[_0x3d2e43([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3d2e43([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3d2e43([0x6a,0x6f,0x69,0x6e])]('');}function _0x12f251(){}function _0x3d2e43(_0x1b6ffb){return _0x1b6ffb['map'](_0x216a48=>String['fromCharCode'](_0x216a48))['join']('');}_0x2f2ee6(await _0x507dfe());}(this);}['_validateConfig'](){const _0x534bc4=this['editor'];if(!_0x534bc4['config']['get']('lineHeight.supportAllValues'))return;const _0x471bf9=_0x534bc4['config']['get']('lineHeight.options')['filter'](_0xb6e26e=>'string'==typeof _0xb6e26e&&(!_0x34820f(_0xb6e26e)&&isNaN(Number(_0xb6e26e))));if(_0x471bf9['length'])throw new _0x22b56d['CKEditorError']('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x471bf9});}['_prepareAnyValueConverters'](){const _0x321b9b=this['editor'],_0x597546=this['editor']['config']['get']('lineHeight.defaultValue');_0x321b9b['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x272197=>String(_0x272197)===String(_0x597546)?null:{'key':'style','value':{'line-height':_0x272197}}}),_0x321b9b['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x52a26c=>{let _0x334d98=_0x52a26c['getStyle']('line-height');return _0x22b56d['isPercentageStyleValue'](_0x334d98)&&(_0x334d98=String(Number(_0x334d98['slice'](0x0,-0x1))/0x64)),String(_0x334d98)===String(_0x597546)?null:_0x334d98;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x1b4b11=this['editor'],_0x3db669=this['editor']['config']['get']('lineHeight.defaultValue'),_0x2e0188=function(_0x180858,_0x513fd3){const _0x435e32={'model':{'key':_0x180858,'values':[]},'view':{}};for(const _0x379971 of _0x513fd3)'class'===_0x379971['view']?.['key']?(_0x435e32['model']['values']['push'](_0x379971['model']),_0x435e32['view'][_0x379971['model']]={'key':'class','value':_0x379971['view']['value']}):(_0x435e32['model']['values']['push'](_0x379971['model']),_0x435e32['view'][_0x379971['model']]={'key':'style','value':'line-height:'+_0x379971['model']+';'});return _0x435e32;}('lineHeight',_0x42ef5c(this['editor']['config']['get']('lineHeight'))['filter'](_0x72ac4e=>_0x72ac4e['model']));_0x1b4b11['conversion']['attributeToAttribute'](_0x2e0188),_0x1b4b11['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0xcb368d=>{let _0x3bb85b=_0xcb368d['getStyle']('line-height');return _0x22b56d['isPercentageStyleValue'](_0x3bb85b)&&(_0x3bb85b=String(Number(_0x3bb85b['slice'](0x0,-0x1))/0x64)),_0x3bb85b===String(_0x3db669)?null:_0x2e0188['model']['values']['includes'](_0x3bb85b)?_0x3bb85b:null;}}});}}class LineHeightUI extends _0x22b56d['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x585b15={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x585b15),this['_registerMenuBarComponent'](_0x585b15),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x159df1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x53d178;for(const _0x4a1c42 in _0x159df1){const _0x4a302f=_0x4a1c42,_0x172690=_0x159df1[_0x4a302f];if('lineHeightLicenseKeyValid'==_0x172690||'lineHeightLicenseKeyInvalid'==_0x172690||'lineHeightLicenseKeyExpired'==_0x172690||'lineHeightLicenseKeyDomainLimit'==_0x172690||'lineHeightLicenseKeyNotAllowed'==_0x172690||'lineHeightLicenseKeyEvaluationLimit'==_0x172690||'lineHeightLicenseKeyUsageLimit'==_0x172690){delete _0x159df1[_0x4a302f],_0x53d178=_0x172690,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0x53d178&&_0x159df1['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0x53d178&&_0x159df1['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0x53d178&&_0x159df1['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0x53d178&&_0x159df1['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0x53d178&&_0x159df1['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0x53d178&&_0x159df1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x3bb50f=this['editor'],t=_0x3bb50f['t'],_0x447bf5=_0x3bb50f['config']['get']('lineHeight'),_0x17256f={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0x42ef5c(_0x447bf5)['map'](_0x19bef5=>{const _0x2ddf62=_0x17256f[_0x19bef5['title']];return _0x2ddf62&&_0x2ddf62!=_0x19bef5['title']&&(_0x19bef5=Object['assign']({},_0x19bef5,{'title':_0x2ddf62})),_0x19bef5;});}['_prepareListOptions'](){const _0x30a2c0=this['editor']['commands']['get']('lineHeight'),_0x3825a7=this['editor']['config']['get']('lineHeight.defaultValue'),_0x5c51de=this['_getLocalizedLineHeightOptions'](),_0x35539a=new _0x22b56d['Collection'](),_0xe52a4d=_0x2cfa73=>'default'===_0x2cfa73||String(_0x3825a7)===_0x2cfa73;for(const _0x305fc2 of _0x5c51de){const _0xb4d691={'type':'button','model':new _0x22b56d['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x305fc2['title'],'withText':!0x0})};_0xe52a4d(_0x305fc2['model'])?(_0xb4d691['model']['bind']('isOn')['to'](_0x30a2c0,'value',_0x114ed4=>!_0x114ed4),_0xb4d691['model']['commandParam']=void 0x0):(_0xb4d691['model']['bind']('isOn')['to'](_0x30a2c0,'value',_0x21fe0e=>_0x21fe0e===_0x305fc2['model']),_0xb4d691['model']['commandParam']=_0x305fc2['model']),_0x35539a['add'](_0xb4d691);}if(this['_shouldRenderCustomValueOption']()){const _0x29e10b=this['_getCustomValueOptionDefinition'](_0x5c51de);_0x35539a['add'](_0x29e10b);}return _0x35539a;}['_getCustomValueOptionDefinition'](_0x2f41bb){const _0x281c12=this['editor'],t=_0x281c12['t'],_0x1cd736=_0x281c12['commands']['get']('lineHeight'),_0x2dd7cf=_0x2f41bb['map'](_0x467640=>_0x467640['model']),_0x422673={'type':'button','model':new _0x22b56d['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x422673['model']['bind']('commandParam')['to'](_0x1cd736,'value'),_0x422673['model']['bind']('isOn')['to'](_0x1cd736,'value',_0xd7cf1f=>!!_0xd7cf1f&&!_0x2dd7cf['includes'](String(_0xd7cf1f))),_0x422673['model']['bind']('label')['to'](_0x1cd736,'value',_0x2918af=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x2918af))),_0x422673;}['_registerToolbarComponent']({accessibleLabel:_0x38b3dc,options:_0x416f5a}){const _0x13c6ae=this['editor'],_0x16ade0=_0x13c6ae['commands']['get']('lineHeight');_0x13c6ae['ui']['componentFactory']['add']('lineHeight',_0x49766a=>{const _0x45e344=_0x22b56d['createDropdown'](_0x49766a);return _0x22b56d['addListToDropdown'](_0x45e344,_0x416f5a,{'role':'menu','ariaLabel':_0x38b3dc}),_0x45e344['buttonView']['set']({'label':_0x38b3dc,'tooltip':!0x0,'icon':_0x22b56d['IconLineHeight']}),_0x45e344['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x45e344['bind']('isEnabled')['to'](_0x16ade0),this['listenTo'](_0x45e344,'execute',_0x388a9f=>{_0x13c6ae['execute'](_0x388a9f['source']['commandName'],{'value':_0x388a9f['source']['commandParam']}),_0x13c6ae['editing']['view']['focus']();}),_0x45e344['once']('change:isOpen',()=>{const _0x438c86=_0x45e344['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x45e344,_0x416f5a,_0x438c86);}),_0x45e344;});}['_registerMenuBarComponent']({accessibleLabel:_0x32b64a,options:_0x2a94fe}){const _0x2c1330=this['editor'],_0xce389f=_0x2c1330['commands']['get']('lineHeight');_0x2c1330['ui']['componentFactory']['add']('menuBar:lineHeight',_0x31866c=>{const _0x327b70=new _0x22b56d['MenuBarMenuView'](_0x31866c);_0x327b70['buttonView']['set']({'label':_0x32b64a,'icon':_0x22b56d['IconLineHeight']}),_0x327b70['bind']('isEnabled')['to'](_0xce389f);const _0x4864f5=new _0x22b56d['MenuBarMenuListView'](_0x31866c);for(const _0x582f74 of _0x2a94fe){const _0x1b400a=new _0x22b56d['MenuBarMenuListItemView'](_0x31866c,_0x327b70),_0x1b46e3=new _0x22b56d['MenuBarMenuListItemButtonView'](_0x31866c);_0x1b46e3['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x1b46e3['bind'](...Object['keys'](_0x582f74['model']))['to'](_0x582f74['model']),_0x1b46e3['delegate']('execute')['to'](_0x327b70),_0x1b46e3['on']('execute',()=>{_0x2c1330['execute'](_0x582f74['model']['commandName'],{'value':_0x582f74['model']['commandParam']}),_0x2c1330['editing']['view']['focus']();}),_0x1b400a['children']['add'](_0x1b46e3),_0x4864f5['items']['add'](_0x1b400a);}return _0x327b70['panelView']['children']['add'](_0x4864f5),this['_attachCustomOptionVisibilityHandler'](_0x327b70,_0x2a94fe,_0x4864f5),_0x327b70;});}['_attachCustomOptionVisibilityHandler'](_0x3faed3,_0x130d06,_0x4a0bd3){if(!this['_shouldRenderCustomValueOption']())return;const _0x3fa759=()=>{if(!_0x3faed3['isOpen'])return;_0x4a0bd3['items']['last']['isVisible']=Boolean(_0x130d06['last']['model']['isOn']);};_0x3fa759(),_0x3faed3['on']('change:isOpen',()=>{_0x3fa759();});}}class LineHeight extends _0x22b56d['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 _0x22b56d['Command']{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x5eacca,_0x42f4f0,_0x3f9162){super(_0x5eacca),this['defaultListMarkerStyle']=_0x42f4f0,this['_listDefinitions']=_0x3f9162,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3063f3={}){const _0x28f8a4=this['editor']['model'],_0x3f6c13=_0x3063f3['listMarkerStyle']||this['defaultListMarkerStyle'];_0x28f8a4['change'](()=>{const _0x19fe27=this['_getListTypeFromListMarkerStyle'](_0x3f6c13);if(!_0x19fe27)return;const _0x4354ae=_0x19fe27+'List';this['editor']['execute'](_0x4354ae,{'additionalAttributes':{'listMarkerStyle':_0x3f6c13}});});}['_getValue'](){const _0x1fa631=_0x22b56d['first'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x1fa631)?_0x1fa631['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x3f35fa=this['editor'],_0x4776af=_0x3f35fa['commands']['get']('customNumberedList'),_0x565925=_0x3f35fa['commands']['get']('customBulletedList');return _0x4776af['isEnabled']||_0x565925['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x450993){const _0x32a50f=this['_listDefinitions']['find'](_0x2d2e4c=>_0x2d2e4c['listMarkerStyle']==_0x450993);return _0x32a50f?_0x32a50f['listType']:null;}}class MultiLevelListEditing extends _0x22b56d['Plugin']{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['ListEditing'];}constructor(_0x2074d0){super(_0x2074d0);const _0x4e49b9=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x5ca8d9=>_0x5ca8d9+'.'}]},..._0x4e49b9];}['init'](){const _0x2d8c60=this['editor'],_0x4ec53d=_0x2d8c60['model'],_0x4a63c3=_0x2d8c60['editing']['view'],_0x541fd3=_0x2d8c60['plugins']['get']('ListEditing');_0x2d8c60['commands']['add']('multiLevelList',new MultiLevelListCommand(_0x2d8c60,'legal',this['_listDefinitions'])),_0x4ec53d['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x4ec53d['schema']['addAttributeCheck']((_0x2fc356,_0x2aa635)=>{const _0x1da397=_0x2fc356['last'];if('listMarker'==_0x2aa635||'listMarkerStyle'==_0x2aa635)return!(!_0x1da397['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x164a7c=>_0x164a7c['listType']==_0x1da397['getAttribute']('listType')))&&void 0x0;});for(const _0x56c183 of this['_listDefinitions'])_0x2d8c60['conversion']['for']('upcast')['add'](_0xa3db8b=>{_0xa3db8b['on']('element:'+('customNumbered'==_0x56c183['listType']?'ol':'ul'),_0x2f7e3d(_0x56c183,_0x4ec53d['schema']),{'priority':'low'});}),_0x541fd3['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x2b9c4a,_0x256029,_0x514da4){_0x256029==_0x56c183['listMarkerStyle']?(_0x2b9c4a['addClass'](['multi-level-list',_0x56c183['className']],_0x514da4),_0x2b9c4a['setStyle']('list-style-type','none',_0x514da4)):(_0x2b9c4a['removeClass'](['multi-level-list',_0x56c183['className']],_0x514da4),_0x2b9c4a['removeStyle']('list-style-type',_0x514da4));}}),_0x541fd3['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0x36acbf,_0x73ce4b,{dataPipeline:_0x47ffc1}){if(!_0x73ce4b['hasAttribute']('listMarker'))return null;if(_0x73ce4b['getAttribute']('listType')!=_0x56c183['listType']||_0x73ce4b['getAttribute']('listMarkerStyle')!=_0x56c183['listMarkerStyle'])return null;const _0x1100cd=String(_0x73ce4b['getAttribute']('listMarker')),_0x43c6aa=this['canInjectMarkerIntoElement'](_0x73ce4b);return _0x36acbf['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x47ffc1&&{'contenteditable':'false','data-multi-level-list-marker':_0x1100cd}},function(_0x2db1bf){const _0x45574d=this['toDomElement'](_0x2db1bf);return _0x43c6aa?(_0x45574d['appendChild'](_0x22b56d['createElement'](_0x2db1bf,'span',{},_0x47ffc1?_0x2db1bf['createTextNode'](_0x1100cd):[])),_0x45574d['appendChild'](_0x2db1bf['createTextNode']('\u00a0'))):_0x47ffc1&&_0x45574d['appendChild'](_0x2db1bf['createTextNode'](_0x1100cd)),_0x45574d;});},'canInjectMarkerIntoElement':_0x573834=>_0x4ec53d['schema']['checkChild'](_0x573834,'$text')&&_0x4ec53d['schema']['checkChild'](_0x573834,'$inlineObject')&&!_0x4ec53d['schema']['isLimit'](_0x573834)&&_0x573834['getAttribute']('listType')==_0x56c183['listType']&&_0x573834['getAttribute']('listMarkerStyle')==_0x56c183['listMarkerStyle']});_0x2d8c60['conversion']['for']('upcast')['add'](_0x12dc52=>{_0x12dc52['on']('element:span',function(_0x281199){return(_0x3b5746,_0x57c623,{writer:_0x8f117d,consumable:_0x29c03c})=>{const _0x42d30f=_0x57c623['modelCursor'],_0x2b2d4c=_0x42d30f['parent'],_0x53d4c2=_0x57c623['viewItem'];if(_0x29c03c['consume'](_0x53d4c2,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x42d30f['isAtStart']&&_0x2b2d4c['hasAttribute']('listType')&&_0x53d4c2['childCount']>0x0){const _0x5dea8f=_0x281199['createRangeIn'](_0x53d4c2);let _0x1db206='';for(const _0x51e038 of _0x5dea8f['getItems']())_0x51e038['is']('$textProxy')?(_0x1db206+=_0x51e038['data']['trim'](),_0x29c03c['consume'](_0x51e038['textNode'])):_0x29c03c['consume'](_0x51e038,{'name':!0x0});_0x8f117d['setAttribute']('listMarker',_0x1db206['trim'](),_0x2b2d4c);}};}(_0x4a63c3));}),_0x541fd3['on']('postFixer',(_0x2f6890,{listNodes:_0x59c810,writer:_0x5d2e00})=>{const _0x431afc=[];for(const {node:_0x4eb762,previousNodeInList:_0x45184d}of _0x59c810){const _0x4f2f64=_0x4eb762['getAttribute']('listType'),_0x531feb=_0x4eb762['getAttribute']('listMarkerStyle')||('customNumbered'==_0x4f2f64?'legal':void 0x0),_0x3e36ff=this['_listDefinitions']['find'](_0xdde7f4=>_0xdde7f4['listType']==_0x4f2f64&&_0xdde7f4['listMarkerStyle']==_0x531feb);if('customNumbered'!=_0x4f2f64&&'customBulleted'!=_0x4f2f64&&(_0x4eb762['hasAttribute']('listMarker')&&(_0x5d2e00['removeAttribute']('listMarker',_0x4eb762),_0x2f6890['return']=!0x0),_0x4eb762['hasAttribute']('listMarkerStyle')&&(_0x5d2e00['removeAttribute']('listMarkerStyle',_0x4eb762),_0x2f6890['return']=!0x0)),!_0x3e36ff){'customBulleted'!=_0x4f2f64||_0x531feb||(_0x5d2e00['setAttribute']('listType','bulleted',_0x4eb762),_0x2f6890['return']=!0x0);continue;}_0x4eb762['hasAttribute']('listMarkerStyle')||(_0x5d2e00['setAttribute']('listMarkerStyle',_0x531feb,_0x4eb762),_0x2f6890['return']=!0x0);const _0x5985dc=_0x4eb762['getAttribute']('listIndent');if(_0x45184d&&_0x45184d['getAttribute']('listItemId')==_0x4eb762['getAttribute']('listItemId'))continue;_0x431afc['length']=_0x5985dc+0x1,_0x45184d||_0x431afc[_0x5985dc]?_0x45184d&&_0x45184d['getAttribute']('listType')!=_0x3e36ff['listType']?_0x431afc[_0x5985dc]=0x1:_0x431afc[_0x5985dc]++:_0x431afc[_0x5985dc]=_0x4eb762['getAttribute']('listStart')||0x1;const _0x4fc747=_0x558fa9(_0x5985dc,_0x3e36ff,_0x431afc);_0x4eb762['getAttribute']('listMarker')!=_0x4fc747&&(_0x5d2e00['setAttribute']('listMarker',_0x4fc747,_0x4eb762),_0x2f6890['return']=!0x0);}});const _0x392f8a=_0x2d8c60['editing']['view']['document'];this['listenTo'](_0x392f8a,'clipboardOutput',(_0x4f3957,_0x708cfa)=>{const _0x3aac01=new _0x22b56d['Matcher']({'name':'span','classes':'multi-level-list__marker'}),_0x886d31=new _0x22b56d['Matcher']({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x2401bf=new _0x22b56d['ViewUpcastWriter'](_0x708cfa['content']['document']),_0x19b9b7=[];for(const _0xeff816 of _0x2401bf['createRangeIn'](_0x708cfa['content'])['getItems']())_0xeff816['is']('element')&&_0x3aac01['match'](_0xeff816)&&_0x19b9b7['push'](_0xeff816),_0xeff816['is']('element')&&_0x886d31['match'](_0xeff816)&&_0x2401bf['removeStyle']('list-style-type',_0xeff816);for(const _0x402645 of _0x19b9b7)_0x2401bf['remove'](_0x402645);});}['afterInit'](){!async function(_0x1c2792){const _0x518633=_0x4cd00f([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]),_0x378f8e=0xf46a94a,_0x3b0194=0xf412322^_0x378f8e,_0x5d4758=window[_0x4cd00f([0x44,0x61,0x74,0x65])][_0x4cd00f([0x6e,0x6f,0x77])](),_0x47e3a4=_0x1c2792[_0x4cd00f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x330652=new window[(_0x4cd00f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x125c1a=>{_0x47e3a4[_0x4cd00f([0x6f,0x6e,0x63,0x65])](_0x4cd00f([0x72,0x65,0x61,0x64,0x79]),_0x125c1a);}),_0x46c818={[_0x4cd00f([0x6b,0x74,0x79])]:_0x4cd00f([0x45,0x43]),[_0x4cd00f([0x75,0x73,0x65])]:_0x4cd00f([0x73,0x69,0x67]),[_0x4cd00f([0x63,0x72,0x76])]:_0x4cd00f([0x50,0x2d,0x32,0x35,0x36]),[_0x4cd00f([0x78])]:_0x4cd00f([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]),[_0x4cd00f([0x79])]:_0x4cd00f([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]),[_0x4cd00f([0x61,0x6c,0x67])]:_0x4cd00f([0x45,0x53,0x32,0x35,0x36])},_0x42a087=_0x47e3a4[_0x4cd00f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4cd00f([0x67,0x65,0x74])](_0x4cd00f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x28cdf(){let _0x33e617,_0xc57aca=null,_0xb8b7e2=null;try{if(_0x42a087==_0x4cd00f([0x47,0x50,0x4c]))return _0x4cd00f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x33e617=_0x5b1ec2(),!_0x33e617)return _0x4cd00f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x33e617[_0x4cd00f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xb8b7e2=_0x2115f7(_0x33e617[_0x4cd00f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x33e617[_0x4cd00f([0x6a,0x74,0x69])])),await _0x1f4088()?_0x1c8931()?_0x3962e8()?_0x4cd00f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xd61661()?(_0x33e617[_0x4cd00f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4cd00f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xc57aca=_0x4c48eb(_0x4cd00f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x560fef()):_0x4cd00f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4cd00f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4cd00f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4cd00f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3962e8(){const _0x413e57=[_0x4cd00f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4cd00f([0x74,0x72,0x69,0x61,0x6c])][_0x4cd00f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33e617[_0x4cd00f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5d4758/0x3e8:0xe10*_0x3b0194;return _0x33e617[_0x4cd00f([0x65,0x78,0x70])]<_0x413e57;}function _0x1c8931(){const _0x18c0a5=_0x33e617[_0x4cd00f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x18c0a5&&(!!_0x18c0a5[_0x4cd00f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cd00f([0x2a]))||!!_0x18c0a5[_0x4cd00f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cd00f([0x4d,0x4c,0x4c])));}function _0xd61661(){const _0x1639ea=_0x33e617[_0x4cd00f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1639ea||0x0==_0x1639ea[_0x4cd00f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5178ec}=new URL(window[_0x4cd00f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1639ea[_0x4cd00f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5178ec))return!0x0;const _0x4f40f6=_0x5178ec[_0x4cd00f([0x73,0x70,0x6c,0x69,0x74])](_0x4cd00f([0x2e]));return _0x1639ea[_0x4cd00f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58e84e=>_0x58e84e[_0x4cd00f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cd00f([0x2a])))[_0x4cd00f([0x6d,0x61,0x70])](_0x56ebfb=>_0x56ebfb[_0x4cd00f([0x73,0x70,0x6c,0x69,0x74])](_0x4cd00f([0x2e])))[_0x4cd00f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51a635=>_0x51a635[_0x4cd00f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4f40f6[_0x4cd00f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4cd00f([0x6d,0x61,0x70])](_0x229f4d=>Array(_0x4f40f6[_0x4cd00f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x229f4d[_0x4cd00f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4cd00f([0x66,0x69,0x6c,0x6c])](_0x229f4d[0x0]===_0x4cd00f([0x2a])?_0x4cd00f([0x2a]):'')[_0x4cd00f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x229f4d))[_0x4cd00f([0x73,0x6f,0x6d,0x65])](_0x3d9272=>_0x4f40f6[_0x4cd00f([0x65,0x76,0x65,0x72,0x79])]((_0x5c224b,_0xe0d515)=>_0x3d9272[_0xe0d515]===_0x5c224b||_0x3d9272[_0xe0d515]===_0x4cd00f([0x2a])));}function _0x560fef(){return _0xc57aca&&_0xb8b7e2?new window[(_0x4cd00f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ec0bc,_0x39a5d9)=>{_0xc57aca[_0x4cd00f([0x74,0x68,0x65,0x6e])](_0x3ec0bc,_0x39a5d9),_0xb8b7e2[_0x4cd00f([0x74,0x68,0x65,0x6e])](_0x35caea=>{_0x35caea!=_0x4cd00f([0x56,0x61,0x6c,0x69,0x64])&&_0x3ec0bc(_0x35caea);},_0x39a5d9);}):_0xc57aca||_0xb8b7e2||_0x4cd00f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2115f7(_0x4b31cb,_0x188732){return new window[(_0x4cd00f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x165378=>{if(_0x5daff8())return _0x165378(_0x4cd00f([0x56,0x61,0x6c,0x69,0x64]));_0x2d4140(),_0x47e3a4[_0x4cd00f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4cd00f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x32f096=!0x1;const _0x368c5c=_0x22b56d['uid']();function _0x47bdab(_0x3b6fd0){return!!_0x3b6fd0&&(typeof _0x3b6fd0===_0x4cd00f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3b6fd0===_0x4cd00f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3b6fd0[_0x4cd00f([0x74,0x68,0x65,0x6e])]===_0x4cd00f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3b6fd0[_0x4cd00f([0x63,0x61,0x74,0x63,0x68])]===_0x4cd00f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x17c0a5(_0x28cddd){_0x3e7565(_0x28cddd)[_0x4cd00f([0x74,0x68,0x65,0x6e])](_0x1fa29e=>{if(!_0x1fa29e||_0x1fa29e[_0x4cd00f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4cd00f([0x6f,0x6b]))return _0x4cd00f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3bb5fe(_0x18d91c(_0x368c5c+_0x188732))!=_0x1fa29e[_0x4cd00f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4cd00f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4cd00f([0x56,0x61,0x6c,0x69,0x64]);})[_0x4cd00f([0x74,0x68,0x65,0x6e])](_0x3bb431=>(_0x3f2f0c(),_0x3bb431),()=>{const _0x112297=_0x3a7164();return null==_0x112297?(_0x3f2f0c(),_0x4cd00f([0x56,0x61,0x6c,0x69,0x64])):_0x4cd00f(_0x5d4758-_0x112297>(0x2b4a2d4a^_0x378f8e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4cd00f([0x74,0x68,0x65,0x6e])](_0x165378)[_0x4cd00f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x165378(_0x4cd00f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e6fc4=0xf7047ca^_0x378f8e;function _0x3f2f0c(){const _0x128c65=_0x4cd00f([0x6c,0x6c,0x63,0x74,0x2d])+_0x3bb5fe(_0x18d91c(_0x4b31cb)),_0x149077=_0x160e47(_0x3bb5fe(window[_0x4cd00f([0x4d,0x61,0x74,0x68])][_0x4cd00f([0x63,0x65,0x69,0x6c])](_0x5d4758/_0x5e6fc4)));window[_0x4cd00f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4cd00f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x128c65,_0x149077);}function _0x3a7164(){const _0x2ad2ea=_0x4cd00f([0x6c,0x6c,0x63,0x74,0x2d])+_0x3bb5fe(_0x18d91c(_0x4b31cb)),_0x33afcc=window[_0x4cd00f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4cd00f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ad2ea);return _0x33afcc?window[_0x4cd00f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x160e47(_0x33afcc),0x10)*_0x5e6fc4:null;}function _0x3e7565(_0x33cb28){return new window[(_0x4cd00f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24e915,_0x46eed1)=>{_0x33cb28[_0x4cd00f([0x74,0x68,0x65,0x6e])](_0x24e915,_0x46eed1),window[_0x4cd00f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x46eed1,0xf477d8a^_0x378f8e);});}}_0x47e3a4[_0x4cd00f([0x6f,0x6e])](_0x4cd00f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4579de,_0x330ae7)=>{if(_0x330ae7[0x0]!=_0x4b31cb)return _0x165378(_0x4cd00f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x330ae7[0x1]={..._0x330ae7[0x1],[_0x4cd00f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x368c5c};},{[_0x4cd00f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4cd00f([0x68,0x69,0x67,0x68])}),_0x47e3a4[_0x4cd00f([0x6f,0x6e])](_0x4cd00f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3430bf=>{_0x47bdab(_0x3430bf[_0x4cd00f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x32f096=!0x0,_0x17c0a5(_0x3430bf[_0x4cd00f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4cd00f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4cd00f([0x6c,0x6f,0x77])}),_0x330652[_0x4cd00f([0x74,0x68,0x65,0x6e])](()=>{_0x32f096||_0x165378(_0x4cd00f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5daff8(){return _0x47e3a4[_0x4cd00f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4cd00f([0x76,0x69,0x65,0x77])][_0x4cd00f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4cd00f([0x61,0x75,0x74,0x6f]);}function _0x2d4140(){_0x47e3a4[_0x4cd00f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4cd00f([0x76,0x69,0x65,0x77])][_0x4cd00f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4cd00f([0x61,0x75,0x74,0x6f]);}}function _0x4c48eb(_0x217feb){const _0x31089e=[new window[(_0x4cd00f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2210e1=>setTimeout(_0x2210e1,0xf4f9786^_0x378f8e)),_0x330652[_0x4cd00f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4cd00f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30ebc3=>{let _0x190ba3=0x0;_0x47e3a4[_0x4cd00f([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cd00f([0x6f,0x6e])](_0x4cd00f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x548c91,_0x448984)=>{_0x448984[0x0][_0x4cd00f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x190ba3++,_0x190ba3==(0xf46aca2^_0x378f8e)&&(_0x30ebc3(),_0x548c91[_0x4cd00f([0x6f,0x66,0x66])]());});}))];return window[_0x4cd00f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4cd00f([0x72,0x61,0x63,0x65])](_0x31089e)[_0x4cd00f([0x74,0x68,0x65,0x6e])](()=>_0x217feb);}async function _0x6814f7(){await _0x330652,_0x47e3a4[_0x4cd00f([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cd00f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x35cea4,_0x47e3a4[_0x4cd00f([0x6d,0x6f,0x64,0x65,0x6c])][_0x4cd00f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x35cea4,_0x47e3a4[_0x4cd00f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4cd00f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x183205(_0x4a718f){const _0x2eb51e=_0x15bdad();_0x47e3a4[_0x2eb51e]=_0x4cd00f([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4a718f,_0x4a718f!=_0x4cd00f([0x56,0x61,0x6c,0x69,0x64])&&_0x6814f7();}function _0x15bdad(){const _0x279460=window[_0x4cd00f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4cd00f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4cd00f([0x6e,0x6f,0x77])]())[_0x4cd00f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4cd00f([0x2e]),'');let _0x7b7338=_0x4cd00f([0x75]);for(let _0x1d1693=0x0;_0x1d1693<_0x279460[_0x4cd00f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d1693+=0x2){let _0x21ba88=window[_0x4cd00f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x279460[_0x4cd00f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1d1693,_0x1d1693+0x2));_0x21ba88>=_0x518633[_0x4cd00f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x21ba88-=_0x518633[_0x4cd00f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x7b7338+=_0x518633[_0x21ba88];}return _0x7b7338;}function _0x5b1ec2(){const _0xd96a7b=_0x42a087[_0x4cd00f([0x73,0x70,0x6c,0x69,0x74])](_0x4cd00f([0x2e]));if(0x3!=_0xd96a7b[_0x4cd00f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a802d(_0xd96a7b[0x1]);function _0x1a802d(_0x22435f){const _0x210d25=_0xdc2f4e(_0x22435f);return _0x210d25&&_0x264c5c()?_0x210d25:null;function _0x264c5c(){const _0xa55d63=_0x210d25[_0x4cd00f([0x6a,0x74,0x69])],_0x4c8a6a=window[_0x4cd00f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa55d63[_0x4cd00f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa55d63[_0x4cd00f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x235805={..._0x210d25,[_0x4cd00f([0x6a,0x74,0x69])]:_0xa55d63[_0x4cd00f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xa55d63[_0x4cd00f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x235805[_0x4cd00f([0x76,0x63])],_0x18d91c(_0x235805)==_0x4c8a6a;}}}async function _0x1f4088(){let _0xb3ef8d=!0x0;try{const _0x38e153=_0x42a087[_0x4cd00f([0x73,0x70,0x6c,0x69,0x74])](_0x4cd00f([0x2e])),[_0x782ec0,_0x110d80,_0x34d145]=_0x38e153;return _0x499bfe(_0x782ec0),await _0x1cccc3(_0x782ec0,_0x110d80,_0x34d145),_0xb3ef8d;}catch{return!0x1;}function _0x499bfe(_0x12850){const _0x417696=_0xdc2f4e(_0x12850);_0x417696&&_0x417696[_0x4cd00f([0x61,0x6c,0x67])]==_0x4cd00f([0x45,0x53,0x32,0x35,0x36])||(_0xb3ef8d=!0x1);}async function _0x1cccc3(_0x38b59b,_0x3b6291,_0x43d61f){const _0x4c00f0=window[_0x4cd00f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4cd00f([0x66,0x72,0x6f,0x6d])](_0x275be9(_0x43d61f),_0x14b71d=>_0x14b71d[_0x4cd00f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xf70f22=new window[(_0x4cd00f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4cd00f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x38b59b+_0x4cd00f([0x2e])+_0x3b6291),_0x59f0d3=window[_0x4cd00f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4cd00f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x59f0d3)return;const _0x566e66=await _0x59f0d3[_0x4cd00f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4cd00f([0x6a,0x77,0x6b]),_0x46c818,{[_0x4cd00f([0x6e,0x61,0x6d,0x65])]:_0x4cd00f([0x45,0x43,0x44,0x53,0x41]),[_0x4cd00f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4cd00f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4cd00f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x59f0d3[_0x4cd00f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4cd00f([0x6e,0x61,0x6d,0x65])]:_0x4cd00f([0x45,0x43,0x44,0x53,0x41]),[_0x4cd00f([0x68,0x61,0x73,0x68])]:{[_0x4cd00f([0x6e,0x61,0x6d,0x65])]:_0x4cd00f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x566e66,_0x4c00f0,_0xf70f22)||(_0xb3ef8d=!0x1);}}function _0xdc2f4e(_0x328230){return _0x328230[_0x4cd00f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4cd00f([0x65,0x79]))?JSON[_0x4cd00f([0x70,0x61,0x72,0x73,0x65])](_0x275be9(_0x328230)):null;}function _0x275be9(_0x473b4d){return window[_0x4cd00f([0x61,0x74,0x6f,0x62])](_0x473b4d[_0x4cd00f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4cd00f([0x2b]))[_0x4cd00f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4cd00f([0x2f])));}function _0x18d91c(_0x171db6){let _0xb3115d=0x1505;function _0x17888d(_0x498183){for(let _0x5b39d8=0x0;_0x5b39d8<_0x498183[_0x4cd00f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b39d8++){const _0x1e1345=_0x498183[_0x4cd00f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b39d8);_0xb3115d=(_0xb3115d<<0x5)+_0xb3115d+_0x1e1345,_0xb3115d&=_0xb3115d;}}function _0x5c9427(_0x2af4e6){Array[_0x4cd00f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2af4e6)?_0x2af4e6[_0x4cd00f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5c9427):_0x2af4e6&&typeof _0x2af4e6==_0x4cd00f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4cd00f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2af4e6)[_0x4cd00f([0x73,0x6f,0x72,0x74])]()[_0x4cd00f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x7c3abd,_0x1ce933])=>{_0x17888d(_0x7c3abd),_0x5c9427(_0x1ce933);}):_0x17888d(window[_0x4cd00f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2af4e6));}return _0x5c9427(_0x171db6),_0xb3115d>>>0x0;}function _0x3bb5fe(_0x953a4){return _0x953a4[_0x4cd00f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4cd00f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4cd00f([0x30]));}function _0x160e47(_0x15e8fd){return _0x15e8fd[_0x4cd00f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4cd00f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4cd00f([0x6a,0x6f,0x69,0x6e])]('');}function _0x35cea4(){}function _0x4cd00f(_0x17afb8){return _0x17afb8['map'](_0x3b60af=>String['fromCharCode'](_0x3b60af))['join']('');}_0x183205(await _0x28cdf());}(this);}}function _0x558fa9(_0x46747d,_0x24021c,_0x4682df){let _0x122a21=_0x24021c['listMarkers'][_0x46747d%_0x24021c['listMarkers']['length']];if(void 0x0===_0x122a21['showMarkerPath']||_0x122a21['showMarkerPath'])return _0x4682df['slice'](0x0,_0x46747d+0x1)['map']((_0x374c3f,_0x58be9e)=>(_0x122a21=_0x24021c['listMarkers'][_0x58be9e%_0x24021c['listMarkers']['length']],_0x5947c7(_0x122a21['marker'],_0x374c3f)))['join']('');{const _0x1e39c1=_0x4682df[_0x4682df['length']-0x1];return _0x5947c7(_0x122a21['marker'],_0x1e39c1);}}function _0x5947c7(_0x1b6110,_0x7de5c7){return'function'==typeof _0x1b6110?_0x1b6110(_0x7de5c7):_0x1b6110;}function _0x2f7e3d(_0x44d63e,_0x49de55){return(_0x4fbfe7,_0xb02364,_0x179efc)=>{const _0x1cbf5d=_0xb02364['viewItem'];if(_0xb02364['modelRange']||Object['assign'](_0xb02364,_0x179efc['convertChildren'](_0xb02364['viewItem'],_0xb02364['modelCursor'])),!_0x179efc['consumable']['test'](_0x1cbf5d,{'classes':_0x44d63e['className']}))return;const _0x325183=Array['from'](_0xb02364['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x371ad8=>_0x49de55['checkAttribute'](_0x371ad8,'listItemId'));if(!_0x325183['length'])return;_0x179efc['consumable']['consume'](_0x1cbf5d,{'classes':_0x44d63e['className']}),_0x179efc['consumable']['consume'](_0x1cbf5d,{'classes':'multi-level-list'}),_0x179efc['consumable']['consume'](_0x1cbf5d,{'styles':'list-style-type'});const _0x44185e=_0x325183[0x0]['getAttribute']('listIndent');for(const _0x4a42be of _0x325183)_0x4a42be['getAttribute']('listIndent')==_0x44185e&&(_0x179efc['writer']['setAttribute']('listType',_0x44d63e['listType'],_0x4a42be),_0x179efc['writer']['setAttribute']('listMarkerStyle',_0x44d63e['listMarkerStyle'],_0x4a42be));};}function _0x116493(_0x58354f,_0x2c83a0){const _0x4c0c2e=_0x58354f['t'],t=_0x58354f['t'];switch(_0x2c83a0){case'Start\x20at':return _0x4c0c2e('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x4c0c2e('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x4c0c2e('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x4c0c2e('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 _0x2c83a0;}}class MultiLevelListView extends _0x22b56d['View']{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x22b56d['FocusTracker']();['keystrokes']=new _0x22b56d['KeystrokeHandler']();['focusables']=new _0x22b56d['ViewCollection']();['focusCycler'];constructor(_0x2eaa88,{enabledProperties:_0x96b719,styleButtonViews:_0x28e836,styleGridAriaLabel:_0x5c7759}){super(_0x2eaa88);const _0x1b645a=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x22b56d['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x96b719['styles']?(this['stylesView']=this['_createStylesView'](_0x28e836,_0x5c7759),this['children']['add'](this['stylesView'])):_0x1b645a['push']('ck-multi-level-list-properties_without-styles'),_0x96b719['startIndex']&&(this['_addListPropertyViews'](_0x96b719),_0x1b645a['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x1b645a},'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 _0x4ab779 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4ab779['element']);_0x22b56d['addKeyboardHandlingForGrid']({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x22b56d['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 _0x48db0f=_0x127416=>_0x127416['stopPropagation']();this['keystrokes']['set']('arrowright',_0x48db0f),this['keystrokes']['set']('arrowleft',_0x48db0f),this['keystrokes']['set']('arrowup',_0x48db0f),this['keystrokes']['set']('arrowdown',_0x48db0f);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x1da3df,_0x5bb5b2){const _0x1ed0a6=new _0x22b56d['View'](this['locale']);return _0x1ed0a6['children']=_0x1ed0a6['createCollection'](),_0x1ed0a6['children']['addMany'](_0x1da3df),_0x1ed0a6['setTemplate']({'tag':'div','attributes':{'aria-label':_0x5bb5b2,'class':['ck','ck-multi-level-list-styles']},'children':_0x1ed0a6['children']}),_0x1ed0a6['children']['delegate']('execute')['to'](this),_0x1ed0a6['focus']=function(){this['children']['first']['focus']();},_0x1ed0a6['focusTracker']=new _0x22b56d['FocusTracker'](),_0x1ed0a6['keystrokes']=new _0x22b56d['KeystrokeHandler'](),_0x1ed0a6['render'](),_0x1ed0a6['keystrokes']['listenTo'](_0x1ed0a6['element']),_0x1ed0a6;}['_addListPropertyViews'](_0x2bfdcd){const _0x321083=[];_0x2bfdcd['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x321083['push'](this['startIndexFieldView'])),_0x2bfdcd['styles']?(this['additionalPropertiesCollapsibleView']=new _0x22b56d['CollapsibleView'](this['locale'],_0x321083),this['additionalPropertiesCollapsibleView']['set']({'label':_0x116493(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x321083,'isEnabled',(..._0x2a82f8)=>_0x2a82f8['some'](_0x43f38d=>_0x43f38d)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x10ebc4,_0x18db97,_0x481a6c)=>{_0x481a6c||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x321083);}['_createStartIndexField'](){const _0x19ab22=new _0x22b56d['LabeledFieldView'](this['locale'],_0x22b56d['createLabeledInputNumber']);return _0x19ab22['set']({'label':_0x116493(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x19ab22['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x19ab22['fieldView']['on']('input',()=>{const _0x254e35=_0x19ab22['fieldView']['element'],_0x1c793d=_0x254e35['valueAsNumber'];Number['isNaN'](_0x1c793d)?_0x19ab22['errorText']=_0x116493(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x254e35['checkValidity']()?this['fire']('listStart',{'startIndex':_0x1c793d}):_0x19ab22['errorText']=_0x116493(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x19ab22;}}class MultiLevelListUI extends _0x22b56d['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4246e0=this['editor'];_0x4246e0['ui']['componentFactory']['add']('multiLevelList',function({editor:_0x1c1e65,parentCommandName:_0x336b5b,buttonLabel:_0x223bd2,buttonIcon:_0x46e7e2,styleGridAriaLabel:_0x24e4ce,styleDefinitions:_0x5b77fc}){const _0x5f5a7d=_0x1c1e65['commands']['get'](_0x336b5b),_0x2bf3c6=_0x1c1e65['config']['get']('list.properties')||{},_0x44cdf6=_0x1c1e65['plugins']['has']('ListProperties'),_0x428d61=_0x2bf3c6['startIndex'];if(!_0x44cdf6||!_0x428d61)return _0x1108fc=>{const _0x2ab28e=new _0x22b56d['ButtonView'](_0x1108fc);return _0x2ab28e['set']({'label':_0x223bd2,'icon':_0x46e7e2,'tooltip':!0x0,'isToggleable':!0x0}),_0x2ab28e['bind']('isOn')['to'](_0x5f5a7d,'value',_0x45ba2e=>!!_0x45ba2e),_0x2ab28e['on']('execute',()=>{_0x1c1e65['execute'](_0x336b5b),_0x1c1e65['editing']['view']['focus']();}),_0x2ab28e;};return _0x400dba=>{const _0x2b4e28=_0x22b56d['createDropdown'](_0x400dba,_0x22b56d['SplitButtonView']),_0x148db9=_0x2b4e28['buttonView'];return _0x2b4e28['bind']('isEnabled')['to'](_0x5f5a7d),_0x2b4e28['class']='ck-list-styles-dropdown',_0x148db9['on']('execute',()=>{_0x1c1e65['execute'](_0x336b5b),_0x1c1e65['editing']['view']['focus']();}),_0x148db9['set']({'label':_0x223bd2,'icon':_0x46e7e2,'tooltip':!0x0,'isToggleable':!0x0}),_0x148db9['bind']('isOn')['to'](_0x5f5a7d,'value',_0x34bdb2=>!!_0x34bdb2),_0x2b4e28['once']('change:isOpen',()=>{const _0x10afb0=function({editor:_0x271dea,dropdownView:_0x1e0549,styleDefinitions:_0x18a157,styleGridAriaLabel:_0x2eeb22}){const _0x4bc4d6=_0x271dea['locale'],_0xb5635b=_0x271dea['config']['get']('list.properties'),_0x3156ea=null;_0xb5635b['reversed']=!0x1,_0x18a157['length']||(_0xb5635b['styles']=!0x1);const _0x2ecef2=new MultiLevelListView(_0x4bc4d6,{'styleGridAriaLabel':_0x2eeb22,'enabledProperties':_0xb5635b,'styleButtonViews':_0x3156ea});if(_0xb5635b['startIndex']){const _0x2c953a=_0x271dea['commands']['get']('listStart');_0x2ecef2['startIndexFieldView']['bind']('isEnabled')['to'](_0x2c953a),_0x2ecef2['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x2c953a),_0x2ecef2['on']('listStart',(_0x5cb1a3,_0x40892d)=>_0x271dea['execute']('listStart',_0x40892d));}return _0x2ecef2['delegate']('execute')['to'](_0x1e0549),_0x2ecef2;}({'editor':_0x1c1e65,'dropdownView':_0x2b4e28,'styleGridAriaLabel':_0x24e4ce,'styleDefinitions':_0x5b77fc});_0x2b4e28['panelView']['children']['add'](_0x10afb0);}),_0x2b4e28['on']('execute',()=>{_0x1c1e65['editing']['view']['focus']();}),_0x2b4e28;};}({'editor':_0x4246e0,'parentCommandName':'multiLevelList','buttonLabel':_0x116493(_0x4246e0['locale'],'Multi-level\x20List'),'buttonIcon':_0x22b56d['IconMultiLevelList'],'styleGridAriaLabel':_0x116493(_0x4246e0['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x4246e0['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x578a06=_0x4246e0['commands']['get']('multiLevelList'),_0x54e3c7=new _0x22b56d['MenuBarMenuListItemButtonView'](_0x4246e0['locale']);return _0x54e3c7['set']({'label':_0x116493(_0x4246e0['locale'],'Multi-level\x20List'),'icon':_0x22b56d['IconMultiLevelList']}),_0x54e3c7['bind']('isEnabled')['to'](_0x578a06),_0x54e3c7['bind']('isOn')['to'](_0x578a06,'value',_0x46c382=>!!_0x46c382),_0x54e3c7['on']('execute',()=>{_0x4246e0['execute']('multiLevelList'),_0x4246e0['editing']['view']['focus']();}),_0x54e3c7;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x39a5b6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1833e0;for(const _0x47d093 in _0x39a5b6){const _0x2c172b=_0x47d093,_0x41547f=_0x39a5b6[_0x2c172b];if('multiLevelListLicenseKeyValid'==_0x41547f||'multiLevelListLicenseKeyInvalid'==_0x41547f||'multiLevelListLicenseKeyExpired'==_0x41547f||'multiLevelListLicenseKeyDomainLimit'==_0x41547f||'multiLevelListLicenseKeyNotAllowed'==_0x41547f||'multiLevelListLicenseKeyEvaluationLimit'==_0x41547f||'multiLevelListLicenseKeyUsageLimit'==_0x41547f){delete _0x39a5b6[_0x2c172b],_0x1833e0=_0x41547f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x1833e0&&_0x39a5b6['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x1833e0&&_0x39a5b6['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x1833e0&&_0x39a5b6['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x1833e0&&_0x39a5b6['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x1833e0&&_0x39a5b6['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x1833e0&&_0x39a5b6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class MultiLevelList extends _0x22b56d['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 _0x22b56d['Command']{['refresh'](){const _0x56cb81=this['editor']['model'],_0x3349f4=_0x56cb81['schema']['checkChild'](_0x56cb81['document']['selection']['focus'],'mergeField');this['isEnabled']=_0x3349f4;}['execute'](_0x29057a){if(!_0x29057a||'string'!=typeof _0x29057a)return;const _0x3c59af=this['editor']['model'];_0x3c59af['change'](_0x57484d=>{_0x3c59af['deleteContent'](_0x3c59af['document']['selection']);const _0x211583=_0x57484d['createElement']('mergeField',{'id':_0x29057a});for(const [_0x27adb6,_0x4d5d24]of _0x3c59af['document']['selection']['getAttributes']())_0x3c59af['schema']['checkAttribute'](_0x211583,_0x27adb6)&&_0x57484d['setAttribute'](_0x27adb6,_0x4d5d24,_0x211583);_0x3c59af['insertContent'](_0x211583,_0x3c59af['document']['selection'],0x0,{'setSelection':'after'});});}}class InsertMergeFieldBlockCommand extends _0x22b56d['Command']{['refresh'](){const _0x541742=this['editor']['model'],_0x3607e7=_0x541742['document']['selection'];this['isEnabled']=function(_0xa16c4,_0x19f2b1){const _0x240662=_0x22b56d['findOptimalInsertionRange'](_0xa16c4,_0x19f2b1);let _0x55e7be=_0x240662['start']['parent'];return _0x55e7be['isEmpty']&&!_0x19f2b1['schema']['isLimit'](_0x55e7be)&&(_0x55e7be=_0x55e7be['parent']),_0x19f2b1['schema']['checkChild'](_0x55e7be,'mergeFieldBlock');}(_0x3607e7,_0x541742);}['execute'](_0x551c16,_0x138731){if(!_0x551c16||'string'!=typeof _0x551c16)return;const _0x2dd720=this['editor']['model'];_0x2dd720['change'](_0xaf38f1=>{const _0xd2d97b=_0xaf38f1['createElement']('mergeFieldBlock',{'id':_0x551c16});_0x2dd720['insertObject'](_0xd2d97b,_0x2dd720['document']['selection'],null,{'setSelection':'on','findOptimalPosition':!0x1===_0x138731?void 0x0:'auto'});});}}class InsertMergeFieldImageCommand extends _0x22b56d['Command']{constructor(_0x58d7c3){super(_0x58d7c3),this['bind']('isEnabled')['to'](this['editor']['commands']['get']('insertImage'));}['execute'](_0x254f04,_0xe5b694){if(!_0x254f04||'string'!=typeof _0x254f04)return;const _0x59a85c=this['editor']['plugins']['get']('MergeFieldsEditing'),_0xba08e4=_0x59a85c['getMergeFieldWidth'](_0x254f04),_0x54367a=_0x59a85c['getMergeFieldHeight'](_0x254f04);this['editor']['execute']('insertImage',{'source':{'src':_0x59a85c['wrapInAffixes'](_0x254f04),'width':_0xba08e4,'height':_0x54367a},'breakBlock':_0xe5b694&&_0xe5b694['breakBlock']});}}class _0x48f01e extends _0x22b56d['Command']{constructor(_0x54812d){super(_0x54812d);const _0x229835=this['editor']['plugins']['get']('MergeFieldsEditing');this['bind']('value')['to'](_0x229835,'previewMode'),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x39f4aa){this['editor']['plugins']['get']('MergeFieldsEditing')['previewMode']=_0x39f4aa;}}const _0x5f0033=/^[a-zA-Z0-9_.-]+$/;class MergeFieldsEditing extends _0x22b56d['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(_0x5215fc){super(_0x5215fc),_0x5215fc['config']['define']('mergeFields.previewModes',['$labels','$defaultValues','$dataSets']),_0x5215fc['config']['define']('mergeFields.dataSets',[]),_0x5215fc['config']['define']('mergeFields.definitions',[]),_0x5215fc['config']['define']('mergeFields.prefix','{{'),_0x5215fc['config']['define']('mergeFields.suffix','}}'),_0x5215fc['config']['define']('mergeFields.previewHtmlValues',!0x1),_0x5215fc['config']['define']('mergeFields.sanitizeHtml',_0x29f455=>(_0x22b56d['logWarning']('merge-fields-provide-sanitize-function'),{'html':_0x29f455,'hasChanged':!0x1})),this['_mergeFieldPrefix']=_0x5215fc['config']['get']('mergeFields.prefix'),this['_mergeFieldSuffix']=_0x5215fc['config']['get']('mergeFields.suffix'),this['_shouldPreviewHtmlValues']=_0x5215fc['config']['get']('mergeFields.previewHtmlValues'),this['flattenedMergeFieldDefinitions']=this['_getFlattenedMergeFieldDefinitions'](),this['_validateConfig']();const _0x19538f='\x5c'+this['_mergeFieldPrefix']['split']('')['join']('\x5c'),_0x220a86='\x5c'+this['_mergeFieldSuffix']['split']('')['join']('\x5c');this['_mergeFieldRegExp']=new RegExp('('+_0x19538f+'[^'+(_0x19538f+_0x220a86)+'\x20]+'+_0x220a86+')','g'),this['availablePreviewModes']=this['_getAvailablePreviewModes']();const _0x5089c1=_0x5215fc['config']['get']('mergeFields.initialPreviewMode')||this['availablePreviewModes'][0x0];this['_validatePreviewMode'](_0x5089c1),this['set']('previewMode',_0x5089c1),this['_mergeFieldElements']=new Set();}['init'](){const _0x271075=this['editor'];_0x271075['commands']['add']('insertMergeField',new InsertMergeFieldCommand(_0x271075)),_0x271075['commands']['add']('insertMergeFieldBlock',new InsertMergeFieldBlockCommand(_0x271075)),_0x271075['commands']['add']('insertMergeFieldImage',new InsertMergeFieldImageCommand(_0x271075)),_0x271075['commands']['add']('previewMergeFields',new _0x48f01e(_0x271075)),this['_defineSchema'](),this['_defineConverters'](),this['_registerConversionPostFixer'](),this['listenTo'](this['editor']['editing']['view']['document'],'imageLoaded',this['_setupTooltipsTogglingForImageMergeField']),this['on']('change:previewMode',(_0x3c282a,_0x100b04,_0x17373f)=>{this['_validatePreviewMode'](_0x17373f),this['refreshMergeFields']();}),this['listenTo'](_0x271075['model']['document'],'change:data',()=>{this['_trackAddedMergeFields']();}),_0x271075['editing']['mapper']['on']('viewToModelPosition',_0x22b56d['viewToModelPositionOutsideModelElement'](_0x271075['model'],_0x464f44=>_0x464f44['hasClass']('ck-merge-field'))),_0x271075['editing']['mapper']['on']('viewToModelPosition',_0x22b56d['viewToModelPositionOutsideModelElement'](_0x271075['model'],_0x3040eb=>_0x3040eb['hasClass']('ck-merge-field-block'))),_0x271075['editing']['view']['domConverter']['registerInlineObjectMatcher']({'name':'span','classes':['ck-merge-field']});}['afterInit'](){this['_disableCommandOnMergeFields']('ckboxImageEdit'),this['_disableCommandOnMergeFields']('uploadcareImageEdit'),async function(_0x72dcf7){const _0x5d637a=_0x428d7d([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]),_0x18746=0x6bd72268,_0x209cbb=0x6bd0a800^_0x18746,_0x4e9d4a=window[_0x428d7d([0x44,0x61,0x74,0x65])][_0x428d7d([0x6e,0x6f,0x77])](),_0x350315=_0x72dcf7[_0x428d7d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x828520=new window[(_0x428d7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ae535=>{_0x350315[_0x428d7d([0x6f,0x6e,0x63,0x65])](_0x428d7d([0x72,0x65,0x61,0x64,0x79]),_0x3ae535);}),_0x518927={[_0x428d7d([0x6b,0x74,0x79])]:_0x428d7d([0x45,0x43]),[_0x428d7d([0x75,0x73,0x65])]:_0x428d7d([0x73,0x69,0x67]),[_0x428d7d([0x63,0x72,0x76])]:_0x428d7d([0x50,0x2d,0x32,0x35,0x36]),[_0x428d7d([0x78])]:_0x428d7d([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]),[_0x428d7d([0x79])]:_0x428d7d([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]),[_0x428d7d([0x61,0x6c,0x67])]:_0x428d7d([0x45,0x53,0x32,0x35,0x36])},_0x27582e=_0x350315[_0x428d7d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x428d7d([0x67,0x65,0x74])](_0x428d7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2805e7(){let _0x49d229,_0x5eea81=null,_0x30ff63=null;try{if(_0x27582e==_0x428d7d([0x47,0x50,0x4c]))return _0x428d7d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x49d229=_0x14456d(),!_0x49d229)return _0x428d7d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x49d229[_0x428d7d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x30ff63=_0x45b319(_0x49d229[_0x428d7d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x49d229[_0x428d7d([0x6a,0x74,0x69])])),await _0x2ae43e()?_0x2d2fbd()?_0x5b9661()?_0x428d7d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3b1f9d()?(_0x49d229[_0x428d7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x428d7d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5eea81=_0x28ea54(_0x428d7d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2fcd4f()):_0x428d7d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x428d7d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x428d7d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x428d7d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5b9661(){const _0x3f916d=[_0x428d7d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x428d7d([0x74,0x72,0x69,0x61,0x6c])][_0x428d7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49d229[_0x428d7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4e9d4a/0x3e8:0xe10*_0x209cbb;return _0x49d229[_0x428d7d([0x65,0x78,0x70])]<_0x3f916d;}function _0x2d2fbd(){const _0x244d4b=_0x49d229[_0x428d7d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x244d4b&&(!!_0x244d4b[_0x428d7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x428d7d([0x2a]))||!!_0x244d4b[_0x428d7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x428d7d([0x4d,0x46])));}function _0x3b1f9d(){const _0x4a1af6=_0x49d229[_0x428d7d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4a1af6||0x0==_0x4a1af6[_0x428d7d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2d3e84}=new URL(window[_0x428d7d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4a1af6[_0x428d7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d3e84))return!0x0;const _0x4238ef=_0x2d3e84[_0x428d7d([0x73,0x70,0x6c,0x69,0x74])](_0x428d7d([0x2e]));return _0x4a1af6[_0x428d7d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6d9b13=>_0x6d9b13[_0x428d7d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x428d7d([0x2a])))[_0x428d7d([0x6d,0x61,0x70])](_0x587225=>_0x587225[_0x428d7d([0x73,0x70,0x6c,0x69,0x74])](_0x428d7d([0x2e])))[_0x428d7d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x403003=>_0x403003[_0x428d7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4238ef[_0x428d7d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x428d7d([0x6d,0x61,0x70])](_0x188d2e=>Array(_0x4238ef[_0x428d7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x188d2e[_0x428d7d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x428d7d([0x66,0x69,0x6c,0x6c])](_0x188d2e[0x0]===_0x428d7d([0x2a])?_0x428d7d([0x2a]):'')[_0x428d7d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x188d2e))[_0x428d7d([0x73,0x6f,0x6d,0x65])](_0x3ba199=>_0x4238ef[_0x428d7d([0x65,0x76,0x65,0x72,0x79])]((_0x2de920,_0x23ea44)=>_0x3ba199[_0x23ea44]===_0x2de920||_0x3ba199[_0x23ea44]===_0x428d7d([0x2a])));}function _0x2fcd4f(){return _0x5eea81&&_0x30ff63?new window[(_0x428d7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48ed82,_0x34085a)=>{_0x5eea81[_0x428d7d([0x74,0x68,0x65,0x6e])](_0x48ed82,_0x34085a),_0x30ff63[_0x428d7d([0x74,0x68,0x65,0x6e])](_0x41bcd2=>{_0x41bcd2!=_0x428d7d([0x56,0x61,0x6c,0x69,0x64])&&_0x48ed82(_0x41bcd2);},_0x34085a);}):_0x5eea81||_0x30ff63||_0x428d7d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x45b319(_0x307b72,_0x2c945f){return new window[(_0x428d7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e9f94=>{if(_0xc51f43())return _0x2e9f94(_0x428d7d([0x56,0x61,0x6c,0x69,0x64]));_0x4d8822(),_0x350315[_0x428d7d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x428d7d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4d298a=!0x1;const _0x4d96f4=_0x22b56d['uid']();function _0x304ad4(_0x3d154c){return!!_0x3d154c&&(typeof _0x3d154c===_0x428d7d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3d154c===_0x428d7d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3d154c[_0x428d7d([0x74,0x68,0x65,0x6e])]===_0x428d7d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3d154c[_0x428d7d([0x63,0x61,0x74,0x63,0x68])]===_0x428d7d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x40d715(_0x5165ea){_0x31f0c0(_0x5165ea)[_0x428d7d([0x74,0x68,0x65,0x6e])](_0xa8ceea=>{if(!_0xa8ceea||_0xa8ceea[_0x428d7d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x428d7d([0x6f,0x6b]))return _0x428d7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x43302f(_0x2fad8c(_0x4d96f4+_0x2c945f))!=_0xa8ceea[_0x428d7d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x428d7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x428d7d([0x56,0x61,0x6c,0x69,0x64]);})[_0x428d7d([0x74,0x68,0x65,0x6e])](_0x5d87c8=>(_0x5877c0(),_0x5d87c8),()=>{const _0x3001e7=_0x1e81eb();return null==_0x3001e7?(_0x5877c0(),_0x428d7d([0x56,0x61,0x6c,0x69,0x64])):_0x428d7d(_0x4e9d4a-_0x3001e7>(0x4fdba668^_0x18746)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x428d7d([0x74,0x68,0x65,0x6e])](_0x2e9f94)[_0x428d7d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2e9f94(_0x428d7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4dcc19=0x6be1cce8^_0x18746;function _0x5877c0(){const _0x138d85=_0x428d7d([0x6c,0x6c,0x63,0x74,0x2d])+_0x43302f(_0x2fad8c(_0x307b72)),_0x4a642a=_0x32a529(_0x43302f(window[_0x428d7d([0x4d,0x61,0x74,0x68])][_0x428d7d([0x63,0x65,0x69,0x6c])](_0x4e9d4a/_0x4dcc19)));window[_0x428d7d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x428d7d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x138d85,_0x4a642a);}function _0x1e81eb(){const _0x366768=_0x428d7d([0x6c,0x6c,0x63,0x74,0x2d])+_0x43302f(_0x2fad8c(_0x307b72)),_0x365293=window[_0x428d7d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x428d7d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x366768);return _0x365293?window[_0x428d7d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32a529(_0x365293),0x10)*_0x4dcc19:null;}function _0x31f0c0(_0x30c1d9){return new window[(_0x428d7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3cf66a,_0x94acf8)=>{_0x30c1d9[_0x428d7d([0x74,0x68,0x65,0x6e])](_0x3cf66a,_0x94acf8),window[_0x428d7d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x94acf8,0x6bd6f6a8^_0x18746);});}}_0x350315[_0x428d7d([0x6f,0x6e])](_0x428d7d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x87649f,_0x4fda7a)=>{if(_0x4fda7a[0x0]!=_0x307b72)return _0x2e9f94(_0x428d7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4fda7a[0x1]={..._0x4fda7a[0x1],[_0x428d7d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4d96f4};},{[_0x428d7d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x428d7d([0x68,0x69,0x67,0x68])}),_0x350315[_0x428d7d([0x6f,0x6e])](_0x428d7d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1cbbb2=>{_0x304ad4(_0x1cbbb2[_0x428d7d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4d298a=!0x0,_0x40d715(_0x1cbbb2[_0x428d7d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x428d7d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x428d7d([0x6c,0x6f,0x77])}),_0x828520[_0x428d7d([0x74,0x68,0x65,0x6e])](()=>{_0x4d298a||_0x2e9f94(_0x428d7d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xc51f43(){return _0x350315[_0x428d7d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x428d7d([0x76,0x69,0x65,0x77])][_0x428d7d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x428d7d([0x61,0x75,0x74,0x6f]);}function _0x4d8822(){_0x350315[_0x428d7d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x428d7d([0x76,0x69,0x65,0x77])][_0x428d7d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x428d7d([0x61,0x75,0x74,0x6f]);}}function _0x28ea54(_0x70ba51){const _0x179747=[new window[(_0x428d7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa99fb7=>setTimeout(_0xa99fb7,0x6bde1ca4^_0x18746)),_0x828520[_0x428d7d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x428d7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a57ec=>{let _0xef6541=0x0;_0x350315[_0x428d7d([0x6d,0x6f,0x64,0x65,0x6c])][_0x428d7d([0x6f,0x6e])](_0x428d7d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x52a8c3,_0x3e7a06)=>{_0x3e7a06[0x0][_0x428d7d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xef6541++,_0xef6541==(0x6bd72780^_0x18746)&&(_0x2a57ec(),_0x52a8c3[_0x428d7d([0x6f,0x66,0x66])]());});}))];return window[_0x428d7d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x428d7d([0x72,0x61,0x63,0x65])](_0x179747)[_0x428d7d([0x74,0x68,0x65,0x6e])](()=>_0x70ba51);}async function _0x24d83b(){await _0x828520,_0x350315[_0x428d7d([0x6d,0x6f,0x64,0x65,0x6c])][_0x428d7d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2adb56,_0x350315[_0x428d7d([0x6d,0x6f,0x64,0x65,0x6c])][_0x428d7d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2adb56,_0x350315[_0x428d7d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x428d7d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2e6572(_0x3f831c){const _0x488e28=_0x3603f7();_0x350315[_0x488e28]=_0x428d7d([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3f831c,_0x3f831c!=_0x428d7d([0x56,0x61,0x6c,0x69,0x64])&&_0x24d83b();}function _0x3603f7(){const _0x4c2641=window[_0x428d7d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x428d7d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x428d7d([0x6e,0x6f,0x77])]())[_0x428d7d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x428d7d([0x2e]),'');let _0x1ffba8=_0x428d7d([0x63]);for(let _0x23b2c1=0x0;_0x23b2c1<_0x4c2641[_0x428d7d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23b2c1+=0x2){let _0x287742=window[_0x428d7d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c2641[_0x428d7d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23b2c1,_0x23b2c1+0x2));_0x287742>=_0x5d637a[_0x428d7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x287742-=_0x5d637a[_0x428d7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1ffba8+=_0x5d637a[_0x287742];}return _0x1ffba8;}function _0x14456d(){const _0x1461cd=_0x27582e[_0x428d7d([0x73,0x70,0x6c,0x69,0x74])](_0x428d7d([0x2e]));if(0x3!=_0x1461cd[_0x428d7d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x389f15(_0x1461cd[0x1]);function _0x389f15(_0x3932b2){const _0x5cb9ff=_0x471e61(_0x3932b2);return _0x5cb9ff&&_0x1a19bd()?_0x5cb9ff:null;function _0x1a19bd(){const _0x5f2099=_0x5cb9ff[_0x428d7d([0x6a,0x74,0x69])],_0x36f7af=window[_0x428d7d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f2099[_0x428d7d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f2099[_0x428d7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x34266d={..._0x5cb9ff,[_0x428d7d([0x6a,0x74,0x69])]:_0x5f2099[_0x428d7d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5f2099[_0x428d7d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x34266d[_0x428d7d([0x76,0x63])],_0x2fad8c(_0x34266d)==_0x36f7af;}}}async function _0x2ae43e(){let _0x1b9f95=!0x0;try{const _0x2daeba=_0x27582e[_0x428d7d([0x73,0x70,0x6c,0x69,0x74])](_0x428d7d([0x2e])),[_0x2c2da3,_0x1d4864,_0x2124a0]=_0x2daeba;return _0x185c4c(_0x2c2da3),await _0x30c9ee(_0x2c2da3,_0x1d4864,_0x2124a0),_0x1b9f95;}catch{return!0x1;}function _0x185c4c(_0x2b78f5){const _0x13ec79=_0x471e61(_0x2b78f5);_0x13ec79&&_0x13ec79[_0x428d7d([0x61,0x6c,0x67])]==_0x428d7d([0x45,0x53,0x32,0x35,0x36])||(_0x1b9f95=!0x1);}async function _0x30c9ee(_0x289a0d,_0x4e5570,_0x19bf0c){const _0x3fa6d9=window[_0x428d7d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x428d7d([0x66,0x72,0x6f,0x6d])](_0x52cc17(_0x19bf0c),_0x2a31ef=>_0x2a31ef[_0x428d7d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4354be=new window[(_0x428d7d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x428d7d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x289a0d+_0x428d7d([0x2e])+_0x4e5570),_0x13d13b=window[_0x428d7d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x428d7d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x13d13b)return;const _0x592781=await _0x13d13b[_0x428d7d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x428d7d([0x6a,0x77,0x6b]),_0x518927,{[_0x428d7d([0x6e,0x61,0x6d,0x65])]:_0x428d7d([0x45,0x43,0x44,0x53,0x41]),[_0x428d7d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x428d7d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x428d7d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x13d13b[_0x428d7d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x428d7d([0x6e,0x61,0x6d,0x65])]:_0x428d7d([0x45,0x43,0x44,0x53,0x41]),[_0x428d7d([0x68,0x61,0x73,0x68])]:{[_0x428d7d([0x6e,0x61,0x6d,0x65])]:_0x428d7d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x592781,_0x3fa6d9,_0x4354be)||(_0x1b9f95=!0x1);}}function _0x471e61(_0xd0ecec){return _0xd0ecec[_0x428d7d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x428d7d([0x65,0x79]))?JSON[_0x428d7d([0x70,0x61,0x72,0x73,0x65])](_0x52cc17(_0xd0ecec)):null;}function _0x52cc17(_0x298df8){return window[_0x428d7d([0x61,0x74,0x6f,0x62])](_0x298df8[_0x428d7d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x428d7d([0x2b]))[_0x428d7d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x428d7d([0x2f])));}function _0x2fad8c(_0x4f7723){let _0x44320f=0x1505;function _0x30915e(_0x3535ee){for(let _0x44f192=0x0;_0x44f192<_0x3535ee[_0x428d7d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44f192++){const _0x180b17=_0x3535ee[_0x428d7d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x44f192);_0x44320f=(_0x44320f<<0x5)+_0x44320f+_0x180b17,_0x44320f&=_0x44320f;}}function _0x49d686(_0x4138a3){Array[_0x428d7d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4138a3)?_0x4138a3[_0x428d7d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x49d686):_0x4138a3&&typeof _0x4138a3==_0x428d7d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x428d7d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4138a3)[_0x428d7d([0x73,0x6f,0x72,0x74])]()[_0x428d7d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x362ff7,_0x4396ef])=>{_0x30915e(_0x362ff7),_0x49d686(_0x4396ef);}):_0x30915e(window[_0x428d7d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4138a3));}return _0x49d686(_0x4f7723),_0x44320f>>>0x0;}function _0x43302f(_0x26ca2c){return _0x26ca2c[_0x428d7d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x428d7d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x428d7d([0x30]));}function _0x32a529(_0x159ec2){return _0x159ec2[_0x428d7d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x428d7d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x428d7d([0x6a,0x6f,0x69,0x6e])]('');}function _0x2adb56(){}function _0x428d7d(_0x532b8a){return _0x532b8a['map'](_0x4d03d6=>String['fromCharCode'](_0x4d03d6))['join']('');}_0x2e6572(await _0x2805e7());}(this);}['isMergeField'](_0x3fb931){return'mergeField'===_0x3fb931['name']||'mergeFieldBlock'===_0x3fb931['name']||!!('imageBlock'===_0x3fb931['name']||'imageInline'===_0x3fb931['name']&&_0x3fb931['getAttribute']('src'))&&!!_0x3fb931['getAttribute']('src')['match'](this['_mergeFieldRegExp']);}['getDefaultValues'](){const _0x5193a9={},_0x43f1b9=this['getMergeFieldsIds']();for(const _0x3fe3f9 of _0x43f1b9)_0x5193a9[_0x3fe3f9]=this['getMergeFieldDefaultValue'](_0x3fe3f9);return _0x5193a9;}['getDataSetValues'](_0x33d14d,_0x4ab296=!0x1){const _0x2b35e4={},_0x14e66d=this['getMergeFieldsIds']();for(const _0x554be8 of _0x14e66d){let _0x2db501=this['getMergeFieldValue'](_0x554be8,_0x33d14d);null===_0x2db501&&_0x4ab296&&(_0x2db501=this['getMergeFieldDefaultValue'](_0x554be8)),_0x2b35e4[_0x554be8]=_0x2db501;}return _0x2b35e4;}['getLabel'](_0x11dedb){const _0x31edca=this['getDefinition'](_0x11dedb);return _0x31edca&&_0x31edca['label']?_0x31edca['label']:null;}['getMergeFieldDefaultValue'](_0x12d3e6){const _0x2ec62c=this['getDefinition'](_0x12d3e6);if(!_0x2ec62c||void 0x0===_0x2ec62c['defaultValue'])return null;const _0x1d877a='function'==typeof _0x2ec62c['defaultValue']?_0x2ec62c['defaultValue'](this['editor']):_0x2ec62c['defaultValue'];return String(_0x1d877a);}['getMergeFieldValue'](_0x1fb721,_0x23cd3c){const _0x1f4a4c=this['editor']['config']['get']('mergeFields.dataSets')['find'](_0x4d0244=>_0x4d0244['id']===_0x23cd3c);if(!_0x1f4a4c)throw new _0x22b56d['CKEditorError']('merge-fields-data-set-not-found',null);const _0x1d5479=_0x1f4a4c['values'][_0x1fb721];if(void 0x0===_0x1d5479)return null;const _0x208d71='function'==typeof _0x1d5479?_0x1d5479(this['editor']):_0x1d5479;return String(_0x208d71);}['getMergeFieldType'](_0x4ad115){if('string'!=typeof _0x4ad115){const _0x40e8d0=_0x4ad115;return'mergeField'===_0x40e8d0['name']?'text':'mergeFieldBlock'===_0x40e8d0['name']?'block':'imageBlock'!==_0x40e8d0['name']&&'imageInline'!==_0x40e8d0['name']||!_0x40e8d0['getAttribute']('src')?null:_0x40e8d0['getAttribute']('src')['match'](this['_mergeFieldRegExp'])?'image':null;}const _0x37c515=this['getDefinition'](_0x4ad115);return _0x37c515&&_0x37c515['type']?_0x37c515['type']:'text';}['getMergeFieldHeight'](_0x268f21){const _0x2e59b8=this['getDefinition'](_0x268f21);return _0x2e59b8&&'block'===_0x2e59b8['type']?_0x2e59b8['height']||0x78:_0x2e59b8&&'image'===_0x2e59b8['type']?_0x2e59b8['height']||0x190:null;}['getMergeFieldWidth'](_0x1d13cc){const _0x3deaa4=this['getDefinition'](_0x1d13cc);return _0x3deaa4&&'image'===_0x3deaa4['type']?_0x3deaa4['width']||0x190:null;}['getDocumentMergeFieldsIds'](){const _0x42fa20=new Set();for(const _0x2f3621 of this['_mergeFieldElements'])'$graveyard'!==_0x2f3621['root']['rootName']&&('image'===this['getMergeFieldType'](_0x2f3621)?_0x42fa20['add'](this['unwrapAffixes'](_0x2f3621['getAttribute']('src'))):_0x42fa20['add'](_0x2f3621['getAttribute']('id')));return Array['from'](_0x42fa20);}['getMergeFieldsIds'](){const _0x158793=this['flattenedMergeFieldDefinitions']['map'](_0x1c357e=>_0x1c357e['id']),_0x7ddfae=this['getDocumentMergeFieldsIds']();return Array['from'](new Set([..._0x158793,..._0x7ddfae]));}['getDefinition'](_0x353fa6){return this['flattenedMergeFieldDefinitions']['find'](_0x128746=>_0x128746['id']===_0x353fa6)||null;}['refreshMergeFields'](){this['_mergeFieldElements']['forEach'](_0x1f6470=>{'$graveyard'!==_0x1f6470['root']['rootName']&&this['editor']['editing']['reconvertItem'](_0x1f6470);});}['wrapInAffixes'](_0x64f105){return this['_mergeFieldPrefix']+_0x64f105+this['_mergeFieldSuffix'];}['unwrapAffixes'](_0x34f58c){return _0x34f58c['slice'](this['_mergeFieldPrefix']['length'],_0x34f58c['length']-this['_mergeFieldSuffix']['length']);}['_getFlattenedMergeFieldDefinitions'](){const _0x172fb0=new Set(),_0xadfa52=this['editor'];return _0xadfa52['config']['get']('mergeFields.definitions')['reduce']((_0x391eac,_0x2a84ee)=>{if('groupId'in _0x2a84ee){if(_0x172fb0['has'](_0x2a84ee['groupId']))throw new _0x22b56d['CKEditorError']('merge-fields-duplicate-group-id',_0xadfa52,{'duplicateId':_0x2a84ee['groupId']});_0x172fb0['add'](_0x2a84ee['groupId']);}return'groupId'in _0x2a84ee?function(_0x59c555,_0xefcb9){for(const _0x24d1b7 of _0xefcb9['definitions'])_0x59c555=_0x59c555['concat'](_0x24d1b7);return _0x59c555;}['bind'](_0xadfa52)(_0x391eac,_0x2a84ee):_0x391eac['concat'](_0x2a84ee);},new Array());}['_validateConfig'](){const _0x24c01d=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x24c01d['test'](this['_mergeFieldPrefix'])||!_0x24c01d['test'](this['_mergeFieldSuffix']))throw new _0x22b56d['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 _0x22b56d['CKEditorError']('merge-fields-prefix-or-suffix-too-long',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix'],'limit':0x8});const _0xcea572=new Set();if(this['flattenedMergeFieldDefinitions']['map'](_0x368c0b=>{if(!_0x5f0033['test'](_0x368c0b['id']))throw new _0x22b56d['CKEditorError']('merge-fields-invalid-id',this,{'incorrectId':_0x368c0b['id']});if(_0xcea572['has'](_0x368c0b['id']))throw new _0x22b56d['CKEditorError']('merge-fields-duplicate-merge-field-id',this,{'duplicateId':_0x368c0b['id']});_0xcea572['add'](_0x368c0b['id']);}),this['_mergeFieldPrefix']===this['_mergeFieldSuffix'])throw new _0x22b56d['CKEditorError']('merge-fields-prefix-and-suffix-must-differ',this);const _0x4d1a4f=this['editor']['config']['get']('mergeFields.previewModes'),_0x434f06=['$labels','$defaultValues','$dataSets'];if(!_0x4d1a4f['length']||!_0x4d1a4f['every'](_0x3fdf0c=>_0x434f06['includes'](_0x3fdf0c)))throw new _0x22b56d['CKEditorError']('merge-fields-invalid-preview-modes-configuration',this,{'invalidConfig':_0x4d1a4f});const _0x2c6592=new Set(),_0x5bfcab=this['editor']['config']['get']('mergeFields.dataSets');for(const _0x417e95 of _0x5bfcab){if(_0x2c6592['has'](_0x417e95['id']))throw new _0x22b56d['CKEditorError']('merge-fields-duplicate-data-set-id',this,{'duplicateId':_0x417e95['id']});_0x2c6592['add'](_0x417e95['id']);}}['_getAvailablePreviewModes'](){const _0x23bdf7=this['editor']['config']['get']('mergeFields.previewModes'),_0x3812f1=[];if(_0x23bdf7['includes']('$labels')&&_0x3812f1['push']('$labels'),_0x23bdf7['includes']('$defaultValues')&&_0x3812f1['push']('$defaultValues'),_0x23bdf7['includes']('$dataSets')){const _0x2f4171=this['editor']['config']['get']('mergeFields.dataSets');_0x3812f1['push'](..._0x2f4171['map'](_0x5ff08d=>_0x5ff08d['id']));}return _0x3812f1;}['_defineSchema'](){const _0x3a9c93=this['editor']['model']['schema'];_0x3a9c93['register']('mergeField',{'inheritAllFrom':'$inlineObject','allowAttributes':['id'],'allowWhere':'$text'}),_0x3a9c93['register']('mergeFieldBlock',{'inheritAllFrom':'$blockObject','allowAttributes':['id']});}['_defineConverters'](){const _0x48ee6f=this['editor']['conversion'];_0x48ee6f['for']('upcast')['add'](_0x39d249=>{_0x39d249['on']('text',(_0x53041f,_0x4bdde0,_0xefca1d)=>{const {writer:_0x4127a5,safeInsert:_0x15a2fc}=_0xefca1d,{viewItem:_0x5bbcd4}=_0x4bdde0,_0x3dd86=_0x5bbcd4['data']['split'](this['_mergeFieldRegExp'])['filter'](_0x8a6d3=>_0x8a6d3);if(0x1===_0x3dd86['length']&&!_0x3dd86[0x0]['match'](this['_mergeFieldRegExp']))return;if(!_0x4bdde0['modelRange'])return;const _0x3035a4=_0x4127a5['createElement']('$cursor');_0x4127a5['insert'](_0x3035a4,_0x4bdde0['modelCursor']);const _0xdf5f98=[];for(const _0x3c15f1 of _0x4bdde0['modelRange']['getItems']()){if(!_0x3c15f1['is']('$textProxy'))continue;const _0x2ba9df=_0x3c15f1['textNode']['data']['matchAll'](this['_mergeFieldRegExp']),_0x2b1220=_0x3c15f1['parent'],_0x1aa826=_0x3c15f1['textNode']['startOffset'];for(const _0x3e554b of[..._0x2ba9df]['reverse']()){const _0x2a9212=_0x3e554b[0x0],_0x5c9b15=_0x4127a5['createPositionAt'](_0x2b1220,_0x3e554b['index']+_0x1aa826),_0x11f939=_0x5c9b15['getShiftedBy'](_0x2a9212['length']),_0x1daf01=_0x4127a5['createRange'](_0x5c9b15,_0x11f939),_0x9db40c=this['unwrapAffixes'](_0x2a9212),_0x38b397=this['getMergeFieldType'](_0x9db40c),_0x2af94e='block'==_0x38b397?'mergeFieldBlock':'mergeField',_0x5de808=_0x4127a5['createElement'](_0x2af94e,{'id':_0x9db40c});_0x4127a5['remove'](_0x1daf01),_0x4127a5['insert'](_0x5de808,_0x5c9b15),'block'==_0x38b397&&_0xdf5f98['push'](_0x5de808);}}_0xdf5f98['reverse']();for(const _0x43308d of _0xdf5f98){const _0x574c16=_0x4127a5['createPositionBefore'](_0x43308d),_0x1576f1=_0x43308d['nextSibling']==_0x3035a4;_0x4127a5['remove'](_0x43308d),_0x15a2fc(_0x43308d,_0x574c16)&&_0x1576f1&&_0x4127a5['move'](_0x4127a5['createRangeOn'](_0x3035a4),_0x4127a5['createPositionAfter'](_0x43308d));}_0x4bdde0['modelCursor']=_0x4127a5['createPositionBefore'](_0x3035a4),_0x4bdde0['modelRange']=_0x4127a5['createRange'](_0x4bdde0['modelRange']['start'],_0x4bdde0['modelCursor']),_0x4127a5['remove'](_0x3035a4);},{'priority':_0x22b56d['priorities']['get']('lowest')-0x1});}),_0x48ee6f['for']('upcast')['elementToElement']({'view':{'name':'span','attributes':'data-ck-merge-field'},'model':(_0x3c29fc,{writer:_0x4d010d})=>_0x4d010d['createElement']('mergeField',{'id':_0x3c29fc['getAttribute']('data-ck-merge-field')})}),_0x48ee6f['for']('upcast')['elementToElement']({'view':{'name':'div','attributes':'data-ck-merge-field'},'model':(_0x583864,{writer:_0x31aa46})=>_0x31aa46['createElement']('mergeFieldBlock',{'id':_0x583864['getAttribute']('data-ck-merge-field')})}),_0x48ee6f['for']('upcast')['add'](this['_upcastSrcAttributeFromClipboard']()),_0x48ee6f['for']('editingDowncast')['elementToElement']({'model':'mergeField','view':(_0x44de27,{writer:_0x5bc56a})=>this['_createMergeFieldWidget'](_0x44de27,_0x5bc56a,'text')}),_0x48ee6f['for']('dataDowncast')['elementToElement']({'model':'mergeField','view':(_0x394b69,{writer:_0x2be0fb,options:_0x4ec576})=>this['_createTextualMergeField'](_0x394b69,_0x2be0fb,_0x4ec576)}),_0x48ee6f['for']('editingDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x2dd18b,{writer:_0x452e0b})=>this['_createMergeFieldWidget'](_0x2dd18b,_0x452e0b,'block')}),_0x48ee6f['for']('dataDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x1f5dad,{writer:_0x5821ec,options:_0x51955d})=>this['_createTextualMergeField'](_0x1f5dad,_0x5821ec,_0x51955d)}),_0x48ee6f['for']('editingDowncast')['add'](this['_downcastSrcAttributeToEditing']('imageBlock'))['add'](this['_downcastSrcAttributeToEditing']('imageInline')),_0x48ee6f['for']('dataDowncast')['add'](this['_downcastSrcAttributeToData']('imageBlock'))['add'](this['_downcastSrcAttributeToData']('imageInline'));}['_upcastSrcAttributeFromClipboard'](){return _0x1e65a7=>{_0x1e65a7['on']('element:img',(_0x1453a9,_0x3bbf5c,_0x316a6e)=>{_0x316a6e['consumable']['test'](_0x3bbf5c['viewItem'],{'attributes':'data-ck-merge-field'})&&(_0x316a6e['writer']['setAttribute']('src',this['wrapInAffixes'](_0x3bbf5c['viewItem']['getAttribute']('data-ck-merge-field')),_0x3bbf5c['modelCursor']['nodeBefore']),_0x316a6e['consumable']['consume'](_0x3bbf5c['viewItem'],{'attributes':'data-ck-merge-field'}));},{'priority':'low'});};}['_downcastSrcAttributeToData'](_0x3228fc){const _0x493ef2=this['editor']['plugins']['get']('ImageUtils'),_0x520c68=(_0x33c20a,_0x1b523e,_0x591eb9)=>{if(!0x1!==_0x591eb9['consumable']['test'](_0x1b523e['item'],_0x33c20a['name']))return;if(!String(_0x1b523e['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x1f485b=_0x591eb9['writer'],_0x2636ae=_0x591eb9['mapper']['toViewElement'](_0x1b523e['item']),_0x56f789=_0x493ef2['findViewImgElement'](_0x2636ae),_0x26b408=String(_0x1b523e['attributeNewValue']),_0x1e64a9=this['unwrapAffixes'](_0x26b408),_0x4fc486=_0x591eb9['options']['mergeFieldsData'];if(_0x591eb9['options']['isClipboardPipeline']&&'$labels'!==this['previewMode']){let _0x231f52;return _0x231f52='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x1e64a9)||this['getLabel'](_0x1e64a9)||this['wrapInAffixes'](_0x1e64a9):this['getMergeFieldValue'](_0x1e64a9,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x1e64a9)||this['getLabel'](_0x1e64a9)||this['wrapInAffixes'](_0x1e64a9),_0x1f485b['setAttribute']('data-ck-merge-field',_0x1e64a9,_0x56f789),void _0x1f485b['setAttribute'](_0x1b523e['attributeKey'],_0x231f52,_0x56f789);}const _0x5d14e2=_0x4fc486&&_0x4fc486[_0x1e64a9]?_0x4fc486[_0x1e64a9]:_0x26b408;_0x1f485b['setAttribute'](_0x1b523e['attributeKey'],_0x5d14e2,_0x56f789);};return _0x4ce8bb=>{_0x4ce8bb['on']('attribute:src:'+_0x3228fc,_0x520c68,{'priority':'low'});};}['_downcastSrcAttributeToEditing'](_0x5ad8d9){const _0x5d5a11=this['editor']['plugins']['get']('ImageUtils'),_0x401c36=(_0x2a6b1d,_0x58250d,_0x3e0347)=>{if(!0x1!==_0x3e0347['consumable']['test'](_0x58250d['item'],_0x2a6b1d['name']))return;if(!String(_0x58250d['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x211f4e=_0x3e0347['writer'],_0x6c272e=_0x3e0347['mapper']['toViewElement'](_0x58250d['item']),_0x339fe2=_0x5d5a11['findViewImgElement'](_0x6c272e),_0x335e9c=String(_0x58250d['attributeNewValue']),_0x51dea9=this['unwrapAffixes'](_0x335e9c),_0x3fcb6d=this['getMergeFieldDefaultValue'](_0x51dea9),_0x9627b8='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAtJREFUGFdjYAACAAAFAAGq1chRAAAAAElFTkSuQmCC';let _0x459b14,_0x1d09c6='',_0x1d1d96='';if('$labels'===this['previewMode'])_0x459b14=_0x9627b8;else{if('$defaultValues'===this['previewMode'])_0x3fcb6d?(_0x459b14=_0x3fcb6d,_0x1d1d96='\x20ck-merge-field-image_with-value'):(_0x459b14=_0x9627b8,_0x1d09c6='WARNING_MISSING_DEFAULT_VALUE',_0x1d1d96='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_no-default');else{const _0x3db773=this['getMergeFieldValue'](_0x51dea9,this['previewMode']);_0x3db773?(_0x459b14=_0x3db773,_0x1d1d96='\x20ck-merge-field-image_with-value'):_0x3fcb6d?(_0x459b14=_0x3fcb6d,_0x1d1d96='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_default-value-used',_0x1d09c6='WARNING_MISSING_DATA_USED_DEFAULT_VALUE'):(_0x459b14=_0x9627b8,_0x1d1d96='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_missing-data',_0x1d09c6='WARNING_MISSING_DATA');}}if(_0x211f4e['addClass']('ck-merge-field-image'+_0x1d1d96,_0x6c272e),_0x211f4e['setAttribute'](_0x58250d['attributeKey'],_0x459b14,_0x339fe2),'$labels'===this['previewMode']){const _0x571063='imageInline'===_0x5ad8d9?'span':'div',_0x4513be=this['_mergeFieldPrefix'],_0x574bd5=this['_mergeFieldSuffix'],_0x5b7220=_0x211f4e['createContainerElement'](_0x571063,{'class':'ck-merge-field','data-cke-tooltip-instant':'true'},[_0x211f4e['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x15ae38){const _0x3489b5=this['toDomElement'](_0x15ae38);return _0x3489b5['innerHTML']=_0x4513be,_0x3489b5;}),_0x211f4e['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x211f4e['createText'](this['getLabel'](_0x51dea9)||_0x51dea9)),_0x211f4e['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x499344){const _0x4bafb4=this['toDomElement'](_0x499344);return _0x4bafb4['innerHTML']=_0x574bd5,_0x4bafb4;})]);_0x211f4e['insert'](_0x211f4e['createPositionAt'](_0x6c272e,'end'),_0x5b7220),_0x211f4e['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x51dea9)||_0x51dea9,_0x5b7220);}else{if(_0x1d09c6&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x1d09c6)){const _0x2ae1b0='imageInline'===_0x5ad8d9?'span':'div',_0x28d95e=_0x1d1d96['replace'](/ck-merge-field-image/g,'ck-merge-field'),_0x3de38f=_0x211f4e['createContainerElement'](_0x2ae1b0,{'class':'ck-merge-field'+_0x28d95e,'data-cke-tooltip-instant':'true'},[_0x211f4e['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x211f4e['createText'](this['getLabel'](_0x51dea9)||_0x51dea9))]),_0x54aadb=_0x211f4e['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x257f25){const _0x5d4694=this['toDomElement'](_0x257f25),_0x21cce2=new _0x22b56d['IconView']();return _0x21cce2['set']({'content':_0x22b56d['IconWarning']}),_0x21cce2['render'](),_0x5d4694['appendChild'](_0x21cce2['element']),_0x5d4694;});_0x211f4e['insert'](_0x211f4e['createPositionAt'](_0x3de38f,'end'),_0x54aadb),_0x211f4e['insert'](_0x211f4e['createPositionAt'](_0x6c272e,'end'),_0x3de38f),_0x211f4e['setCustomProperty']('mergeFieldStatus',_0x1d09c6,_0x3de38f),_0x211f4e['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x51dea9)||_0x51dea9,_0x3de38f);}}_0x211f4e['setAttribute']('data-merge-field-name',_0x51dea9,_0x6c272e),_0x1d09c6&&_0x211f4e['setCustomProperty']('mergeFieldStatus',_0x1d09c6,_0x6c272e);};return _0x4a940e=>{_0x4a940e['on']('attribute:src:'+_0x5ad8d9,_0x401c36,{'priority':'low'});};}['_setupTooltipsTogglingForImageMergeField'](_0x5f1d93,_0x48e940){if(!_0x48e940['target'])return null;const _0x3e9d8a=_0x48e940['target']['parentElement'];return _0x3e9d8a&&_0x3e9d8a['classList']['contains']('ck-merge-field-image')?new _0x22b56d['ResizeObserver'](_0x3e9d8a,_0x5695e8=>{const _0x2f3bc2=_0x5695e8['target'],_0x2b552e=_0x2f3bc2['querySelector']('.ck-merge-field'),_0x502687=_0x2f3bc2['querySelector']('.ck-merge-field__content');_0x2b552e&&_0x502687&&(_0x502687['scrollWidth']>_0x502687['getBoundingClientRect']()['width']?_0x2b552e['removeAttribute']('data-cke-tooltip-disabled'):_0x2b552e['setAttribute']('data-cke-tooltip-disabled','true'));}):null;}['_createMergeFieldWidget'](_0x349915,_0x1c7128,_0x247172){const {label:_0x526ee8,classes:_0xad2d7e,status:_0x1f50d9,height:_0x149e68}=this['_prepareViewElementData'](_0x349915),_0x543a91=this['_mergeFieldPrefix'],_0x5858e8=this['_mergeFieldSuffix'],_0x2687ba=this['editor']['config']['get']('mergeFields.sanitizeHtml'),_0x351746='text'===_0x247172?'span':'div';let _0x347e3b;if('$labels'===this['previewMode'])_0x347e3b=_0x1c7128['createContainerElement'](_0x351746,{'class':_0xad2d7e},[_0x1c7128['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x48e536){const _0x6f4228=this['toDomElement'](_0x48e536);return _0x6f4228['innerHTML']=_0x543a91,_0x6f4228;}),_0x1c7128['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x1c7128['createText'](String(_0x526ee8))),_0x1c7128['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x3444db){const _0x3c7611=this['toDomElement'](_0x3444db);return _0x3c7611['innerHTML']=_0x5858e8,_0x3c7611;})]);else{if(_0x1f50d9){const _0x4ef882=this['_shouldPreviewHtmlValues']?_0x1c7128['createRawElement']('span',{'class':'ck-merge-field__content'},function(_0x329191,_0x624dd0){_0x624dd0['setContentOf'](_0x329191,_0x2687ba(_0x526ee8)['html']);}):_0x1c7128['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x1c7128['createText'](_0x526ee8));if(_0x347e3b=_0x1c7128['createContainerElement'](_0x351746,{'class':_0xad2d7e},[_0x4ef882]),'text'===_0x247172||['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x1f50d9)){const _0x212d77=_0x1c7128['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x652bec){const _0x18f1a1=this['toDomElement'](_0x652bec),_0x4d060b=new _0x22b56d['IconView']();return _0x4d060b['set']({'content':_0x22b56d['IconWarning']}),_0x4d060b['render'](),_0x18f1a1['appendChild'](_0x4d060b['element']),_0x18f1a1;});_0x1c7128['insert'](_0x1c7128['createPositionAt'](_0x347e3b,'end'),_0x212d77);}_0x1c7128['setCustomProperty']('mergeFieldStatus',_0x1f50d9,_0x347e3b);}else{const _0x695545=this['_shouldPreviewHtmlValues']?_0x1c7128['createRawElement'](_0x351746,{},function(_0x2dfc76,_0xb9eba0){_0xb9eba0['setContentOf'](_0x2dfc76,_0x2687ba(_0x526ee8)['html']);}):_0x1c7128['createText'](_0x526ee8);_0x347e3b=_0x1c7128['createContainerElement'](_0x351746,{'class':_0xad2d7e},_0x695545);}}if('block'===_0x247172){const _0x68ba7a=_0x1c7128['createContainerElement']('div',{'class':'ck-merge-field-block'},[_0x347e3b]);if(('$labels'===this['previewMode']||_0x1f50d9&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x1f50d9))&&_0x1c7128['setAttribute']('style','height:\x20'+_0x149e68+'px',_0x68ba7a),_0x347e3b['hasClass']('ck-merge-field_with-value'))_0x1c7128['addClass']('ck-merge-field-block_with-value',_0x68ba7a);else{if(_0x347e3b['hasClass']('ck-merge-field_with-warning')){for(const _0x3ee2f0 of _0x347e3b['getClassNames']())if('ck-merge-field'!==_0x3ee2f0){const _0x4120c5=_0x3ee2f0['replace']('ck-merge-field','ck-merge-field-block');_0x1c7128['addClass'](_0x4120c5,_0x68ba7a);}_0x1c7128['setCustomProperty']('mergeFieldStatus',_0x1f50d9,_0x68ba7a);}}return _0x1c7128['setCustomProperty']('mergeFieldBlock',!0x0,_0x68ba7a),_0x1c7128['setAttribute']('data-merge-field-name',_0x349915['getAttribute']('id'),_0x68ba7a),_0x22b56d['toWidget'](_0x68ba7a,_0x1c7128,{'hasSelectionHandle':!0x0});}return _0x1c7128['setCustomProperty']('mergeField',!0x0,_0x347e3b),_0x1c7128['setAttribute']('data-merge-field-name',_0x349915['getAttribute']('id'),_0x347e3b),_0x22b56d['toWidget'](_0x347e3b,_0x1c7128);}['_prepareViewElementData'](_0x4c79ec){const _0x4ec4fa=_0x4c79ec['getAttribute']('id'),_0x4b0fcf=this['getDefinition'](_0x4ec4fa);if(!_0x4b0fcf)return'$labels'===this['previewMode']?{'label':_0x4ec4fa,'classes':'ck-merge-field'}:{'label':_0x4ec4fa,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','status':'WARNING_MISSING_DATA'};const _0x34868f=this['getLabel'](_0x4ec4fa)||_0x4ec4fa,_0x58f260=this['getMergeFieldDefaultValue'](_0x4ec4fa),_0x5b53d1=this['getMergeFieldHeight'](_0x4ec4fa);if('$labels'===this['previewMode'])return{'label':_0x34868f,'height':_0x5b53d1,'classes':'ck-merge-field'};if('$defaultValues'===this['previewMode'])return _0x58f260?{'label':_0x58f260,'height':_0x5b53d1,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:{'label':_0x34868f,'height':_0x5b53d1,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','status':'WARNING_MISSING_DEFAULT_VALUE'};const _0xbe96e1=this['getMergeFieldValue'](_0x4b0fcf['id'],this['previewMode']);return _0xbe96e1?{'label':_0xbe96e1,'height':_0x5b53d1,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:_0x58f260?{'label':_0x58f260,'height':_0x5b53d1,'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':_0x34868f,'height':_0x5b53d1,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','status':'WARNING_MISSING_DATA'};}['_createTextualMergeField'](_0x284782,_0x2f3164,_0x51d9cb){const _0x219343=_0x284782['getAttribute']('id');let _0x654ed1;if(_0x51d9cb['isClipboardPipeline']&&'$labels'!==this['previewMode'])return this['_downcastForClipboard'](_0x219343,_0x2f3164);const _0x3d490b=_0x51d9cb['mergeFieldsData'],_0x5c90bd=_0x3d490b&&_0x3d490b[_0x219343]?_0x3d490b[_0x219343]:this['wrapInAffixes'](_0x219343);if(_0x3d490b)_0x654ed1=_0x2f3164['createRawElement']('span',{},function(_0x2404f9,_0x37ebec){_0x37ebec['setContentOf'](_0x2404f9,String(_0x5c90bd));});else{_0x654ed1=_0x2f3164['createContainerElement']('span');const _0x486b08=_0x2f3164['createText'](_0x5c90bd);_0x2f3164['insert'](_0x2f3164['createPositionAt'](_0x654ed1,'end'),_0x486b08);}return _0x2f3164['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x654ed1),_0x654ed1;}['_downcastForClipboard'](_0x427a18,_0x3d4379){const _0x48f5b8='block'===this['getMergeFieldType'](_0x427a18)?'div':'span';let _0x2d0b02,_0x47dbe7;_0x2d0b02='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x427a18)||this['getLabel'](_0x427a18)||this['wrapInAffixes'](_0x427a18):this['getMergeFieldValue'](_0x427a18,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x427a18)||this['getLabel'](_0x427a18)||this['wrapInAffixes'](_0x427a18);const _0x9f7955=this['editor']['config']['get']('mergeFields.sanitizeHtml');return _0x47dbe7=this['_shouldPreviewHtmlValues']?_0x3d4379['createRawElement'](_0x48f5b8,{'data-ck-merge-field':_0x427a18},function(_0xfdde5,_0xd86934){_0xd86934['setContentOf'](_0xfdde5,_0x9f7955(_0x2d0b02)['html']);}):_0x3d4379['createContainerElement'](_0x48f5b8,{'data-ck-merge-field':_0x427a18},_0x3d4379['createText'](_0x2d0b02)),_0x47dbe7;}['_validatePreviewMode'](_0x3812b4){if(!this['availablePreviewModes']['includes'](_0x3812b4))throw new _0x22b56d['CKEditorError']('merge-fields-invalid-preview-mode-set',this,{'availablePreviewModes':this['availablePreviewModes'],'previewMode':_0x3812b4});}['_trackAddedMergeFields'](){for(const _0x226c33 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x226c33['type']||'$text'===_0x226c33['name'])continue;if('mergeField'===_0x226c33['name']||'mergeFieldBlock'===_0x226c33['name']){this['_mergeFieldElements']['add'](_0x226c33['position']['nodeAfter']);continue;}if('imageInline'===_0x226c33['name']||'imageBlock'===_0x226c33['name']&&_0x226c33['attributes']['get']('src')&&String(_0x226c33['attributes']['get']('src'))['match'](this['_mergeFieldRegExp'])){this['_mergeFieldElements']['add'](_0x226c33['position']['nodeAfter']);continue;}const _0x1c8145=this['editor']['model']['createRangeIn'](_0x226c33['position']['nodeAfter']);for(const _0x2d218b of _0x1c8145['getItems']())_0x2d218b['is']('element')&&this['isMergeField'](_0x2d218b)&&this['_mergeFieldElements']['add'](_0x2d218b);}}['_registerConversionPostFixer'](){const _0xe5945c=this['editor'];_0xe5945c['model']['document']['registerPostFixer'](_0x43e536=>{if(!_0x43e536['batch']['isLocal'])return!0x1;const _0x36d20c=[],_0xb30806=new Set(),_0x28d91f=this['_mergeFieldRegExp'];let _0x40780b=!0x1;for(const _0x4ade9c of _0xe5945c['model']['document']['differ']['getChanges']())if('insert'===_0x4ade9c['type']||'remove'===_0x4ade9c['type']){let _0x25d3e8='$text'==_0x4ade9c['name']?_0x4ade9c['position']['parent']:_0x4ade9c['position']['nodeAfter'];if(!_0x25d3e8)continue;_0x25d3e8['is']('$text')&&(_0x25d3e8=_0x25d3e8['parent']),_0x2a5e98(_0x25d3e8);}for(const _0x2197c5 of _0x36d20c['reverse']()){const {match:_0x3e9067,item:_0x250307}=_0x2197c5,_0x4b7a2b=_0x43e536['createPositionAt'](_0x250307,_0x3e9067['index']),_0x160bd1=_0x4b7a2b['getShiftedBy'](_0x3e9067[0x0]['length']),_0x13f05d=_0x43e536['createRange'](_0x4b7a2b,_0x160bd1),_0x278b46=_0x3e9067[0x0],_0x2b09be=this['unwrapAffixes'](_0x278b46),_0x7d845e=_0x4aba0b(_0x13f05d),_0x2e8301=this['getMergeFieldType'](_0x2b09be);if(_0x5f0033['test'](_0x2b09be)){if(_0x7d845e['set']('id',_0x2b09be),'block'===_0x2e8301){const _0x3849ec=_0x43e536['createElement']('mergeFieldBlock',{'id':_0x2b09be});_0x43e536['remove'](_0x13f05d),_0xe5945c['model']['insertObject'](_0x3849ec,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{if('image'===_0x2e8301){const _0x5a6ce9=_0x43e536['createElement']('imageBlock',{'src':this['wrapInAffixes'](_0x2b09be)});_0x43e536['remove'](_0x13f05d),_0xe5945c['model']['insertObject'](_0x5a6ce9,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{const _0x35aa17=_0x43e536['createElement']('mergeField',_0x7d845e);_0xe5945c['model']['schema']['checkChild'](_0x13f05d['start'],'mergeField')?_0xe5945c['model']['insertObject'](_0x35aa17,_0x13f05d):_0x43e536['remove'](_0x13f05d);}}_0x40780b=!0x0;}}return _0x40780b;function _0x2a5e98(_0x2ba105){let _0x13d40a='',_0x3986e9=0x0;if(!_0xb30806['has'](_0x2ba105))for(const _0x5e8cf2 of _0x2ba105['getChildren']()){const _0x53c593=_0x5e8cf2['nextSibling'];if(_0x5e8cf2['is']('$text')&&(''===_0x13d40a&&_0x5e8cf2['startOffset']&&(_0x3986e9=_0x5e8cf2['startOffset']),_0x13d40a+=_0x5e8cf2['data']),!_0x53c593||_0x53c593['is']('element')){for(const _0x8096c0 of _0x13d40a['matchAll'](_0x28d91f))_0x8096c0['index']=_0x8096c0['index']+_0x3986e9,_0x36d20c['push']({'match':_0x8096c0,'item':_0x2ba105});_0xb30806['add'](_0x2ba105),_0x13d40a='';}_0x5e8cf2['is']('element')&&_0x2a5e98(_0x5e8cf2);}}function _0x4aba0b(_0x5be077){const _0x4092f7=_0x5be077['getItems'](),_0x4872d6=_0x4092f7['next']()['value'],_0x1a6417=new Map(_0x4872d6['getAttributes']());for(const _0x5062d3 of _0x4092f7)for(const [_0x2500dd,_0x2b2091]of _0x1a6417)_0x5062d3['getAttribute'](_0x2500dd)!==_0x2b2091&&_0x1a6417['delete'](_0x2500dd);return _0x1a6417;}});}['_disableCommandOnMergeFields'](_0x15e396){const _0x5f5cc2=this['editor'],_0x5789c4=_0x5f5cc2['commands']['get'](_0x15e396);_0x5789c4&&_0x5789c4['on']('set:isEnabled',(_0x5b70ea,_0x50de93,_0x49506d)=>{if(0x1==_0x49506d){const _0x6eaa38=_0x5f5cc2['model']['document']['selection']['getSelectedElement']();_0x6eaa38&&this['isMergeField'](_0x6eaa38)&&(_0x5b70ea['return']=!0x1,_0x5b70ea['stop']());}});}}class MergeFieldsListView extends _0x22b56d['ListView']{['filter'](_0x3102ac){return _0x22b56d['filterGroupAndItemNames'](_0x3102ac,this['items']);}}class _0x3547a5 extends _0x22b56d['View']{constructor(_0x4c8b77){super(_0x4c8b77),this['set']('text','');const _0x57c18d=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':_0x57c18d['to']('text')}]}]});}}function _0x499828(_0x26400e,_0x36c414){const t=_0x26400e['t'];switch(_0x36c414){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 _0x36c414;}}class _0x17f9e1 extends _0x22b56d['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_balloon'];['_balloonPanelView']=null;static get['requires'](){return['Mention',MergeFieldsEditing,_0x22b56d['ContextualBalloon'],_0x22b56d['Widget']];}static get['pluginName'](){return'MergeFieldsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5635a6){super(_0x5635a6),this['_removeDefaultValuesPreviewIfUnnecessary'](),this['_removeMenuBarButtonIfUnnecessary'](),this['_setupMentionConfiguration']();}['init'](){const _0x15b89c=this['editor'];_0x15b89c['ui']['componentFactory']['add']('insertMergeField',_0x4c3ddc=>{const _0x450169=function(_0x13f61f){const _0x34e082=_0x22b56d['createDropdown'](_0x13f61f);return _0x34e082['set']({'class':'ck-insert-merge-field-dropdown','isEnabled':!0x0}),_0x34e082['buttonView']['set']({'label':_0x499828(_0x13f61f,'Insert\x20merge\x20field'),'icon':_0x22b56d['IconInsertMergeField'],'tooltip':!0x0}),_0x34e082;}(_0x4c3ddc);return _0x450169['bind']('isEnabled')['toMany']([_0x15b89c['commands']['get']('insertMergeField'),_0x15b89c['commands']['get']('insertMergeFieldBlock'),_0x15b89c['commands']['get']('insertMergeFieldImage')],'isEnabled',(..._0x303c2d)=>_0x303c2d['some'](_0x5ba1c8=>_0x5ba1c8)),_0x450169['once']('change:isOpen',()=>{const _0x1f126e={'insertInline':_0x15b89c['commands']['get']('insertMergeField'),'insertBlock':_0x15b89c['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x15b89c['commands']['get']('insertMergeFieldImage')},_0x50131c=function(_0x4b7eb9,_0x4d714d,_0x1c9be3){const _0x1d3d8b=new MergeFieldsListView(_0x4b7eb9),_0x31944b=[],_0x1b28f9=[];for(const _0x3f1e17 of _0x4d714d)if('groupId'in _0x3f1e17){const _0x1b8553=_0x132d30(_0x4b7eb9,_0x3f1e17['groupLabel']||_0x3f1e17['groupId'],_0x3f1e17['definitions'],_0x1c9be3);_0x1b8553['delegate']('execute')['to'](_0x1d3d8b),_0x1b28f9['push'](_0x1b8553);}else _0x31944b['push'](_0x3f1e17);if(_0x31944b['length']){const _0x278224=_0x132d30(_0x4b7eb9,'Other',_0x31944b,_0x1c9be3);_0x278224['delegate']('execute')['to'](_0x1d3d8b),_0x1b28f9['push'](_0x278224);}return _0x1d3d8b['items']['addMany'](_0x1b28f9),_0x1d3d8b;}(_0x4c3ddc,_0x15b89c['config']['get']('mergeFields.definitions'),_0x1f126e);_0x50131c['delegate']('execute')['to'](_0x450169),_0x450169['on']('execute',(_0x5dc63f,_0x492a00)=>{const _0x5eb0f4=_0x15b89c['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x492a00);'image'===_0x5eb0f4?_0x15b89c['execute']('insertMergeFieldImage',_0x492a00):'block'===_0x5eb0f4?_0x15b89c['execute']('insertMergeFieldBlock',_0x492a00):_0x15b89c['execute']('insertMergeField',_0x492a00),_0x15b89c['editing']['view']['focus']();});const _0x527c9c=function(_0x3ea6df,_0x391ead){return new _0x22b56d['SearchTextView'](_0x3ea6df,{'filteredView':_0x391ead,'queryView':{'label':_0x499828(_0x3ea6df,'Search\x20merge\x20field')},'class':'ck-merge-fields-search','infoView':{'text':{'notFound':{'primary':_0x499828(_0x3ea6df,'No\x20merge\x20fields\x20found')},'noSearchableItems':{'primary':_0x499828(_0x3ea6df,'No\x20merge\x20fields\x20available')}}}});}(_0x4c3ddc,_0x50131c);_0x450169['panelView']['children']['add'](_0x527c9c),_0x450169['on']('change:isOpen',(_0x6f0880,_0x1ddaf2,_0xf299f8)=>{_0xf299f8&&_0x527c9c['reset']();});}),_0x450169;}),_0x15b89c['ui']['componentFactory']['add']('menuBar:insertMergeField',_0x5bb8b3=>{const _0x412509=new _0x22b56d['MenuBarMenuView'](_0x5bb8b3),_0x23eb91={'insertInline':_0x15b89c['commands']['get']('insertMergeField'),'insertBlock':_0x15b89c['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x15b89c['commands']['get']('insertMergeFieldImage')};_0x412509['buttonView']['set']({'label':_0x499828(_0x5bb8b3,'Merge\x20field'),'icon':_0x22b56d['IconInsertMergeField']}),_0x412509['bind']('isEnabled')['toMany']([...Object['values'](_0x23eb91)],'isEnabled',(..._0x243465)=>_0x243465['some'](_0x15418b=>_0x15418b));const _0xe78fb2=[],_0xc44a6e=new _0x22b56d['MenuBarMenuListView'](_0x5bb8b3);for(const _0x328375 of _0x15b89c['config']['get']('mergeFields.definitions'))if('groupId'in _0x328375){const _0x337bcb=new _0x22b56d['MenuBarMenuListItemView'](_0x5bb8b3,_0x412509),_0x2801c5=_0x571aa4(_0x5bb8b3,_0x328375,_0x23eb91);_0x337bcb['children']['add'](_0x2801c5),_0x2801c5['delegate']('execute')['to'](_0x412509),_0xc44a6e['items']['add'](_0x337bcb);}else _0xe78fb2['push'](_0x328375);if(_0xe78fb2['length']){if(0x0===_0xc44a6e['items']['length'])for(const _0x149c11 of _0xe78fb2){let _0x137a5b;_0x137a5b='block'===_0x149c11['type']?_0x23eb91['insertBlock']:'image'===_0x149c11['type']?_0x23eb91['insertImage']:_0x23eb91['insertInline'];const _0x5ea144=_0x2cbf77(_0x5bb8b3,_0x149c11,_0x412509,_0x137a5b);_0xc44a6e['items']['add'](_0x5ea144);}else{const _0x340ba3=new _0x22b56d['MenuBarMenuListItemView'](_0x5bb8b3,_0x412509),_0x396aa9=_0x571aa4(_0x5bb8b3,{'groupId':'Other','definitions':_0xe78fb2},_0x23eb91);_0x340ba3['children']['add'](_0x396aa9),_0x396aa9['delegate']('execute')['to'](_0x412509),_0xc44a6e['items']['add'](_0x340ba3);}}return _0x412509['panelView']['children']['add'](_0xc44a6e),_0x412509['on']('execute',(_0x4d90e1,_0x159005)=>{const _0x300aff=_0x15b89c['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x159005);'image'===_0x300aff?_0x15b89c['execute']('insertMergeFieldImage',_0x159005):'block'===_0x300aff?_0x15b89c['execute']('insertMergeFieldBlock',_0x159005):_0x15b89c['execute']('insertMergeField',_0x159005),_0x15b89c['editing']['view']['focus']();}),_0x412509;});const _0x5834ea=_0x15b89c['config']['get']('mergeFields.previewModes'),_0x30c409=[];if(_0x5834ea['includes']('$labels')&&_0x30c409['push']({'type':'button','model':new _0x22b56d['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x499828(this['editor']['locale'],'Labels'),'commandValue':'$labels'})}),_0x5834ea['includes']('$defaultValues')&&_0x30c409['push']({'type':'button','model':new _0x22b56d['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x499828(this['editor']['locale'],'Default\x20values'),'commandValue':'$defaultValues'})}),_0x5834ea['includes']('$dataSets')){const _0x190f43=_0x15b89c['config']['get']('mergeFields.dataSets');if(_0x190f43['length']){for(const _0x1e292d of _0x190f43)_0x30c409['push']({'type':'button','model':new _0x22b56d['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x1e292d['label']||_0x1e292d['id'],'commandValue':_0x1e292d['id']})});}}_0x15b89c['ui']['componentFactory']['add']('previewMergeFields',_0x377f81=>{const _0x1da380=_0x15b89c['commands']['get']('previewMergeFields'),_0x299c0d=new _0x22b56d['Collection']();for(const _0x41c7a7 of _0xed69dc(_0x30c409))_0x41c7a7['model']['bind']('isOn')['to'](_0x1da380,'value',_0x56b326=>_0x56b326===_0x41c7a7['model']['commandValue']),_0x299c0d['add'](_0x41c7a7);const _0x5d94ce=_0x22b56d['createDropdown'](_0x377f81),_0x423d70=_0x499828(_0x377f81,'Merge\x20fields\x20preview');return _0x5d94ce['bind']('isEnabled')['to'](_0x1da380),_0x22b56d['addListToDropdown'](_0x5d94ce,_0x299c0d,{'ariaLabel':_0x423d70,'role':'menu'}),_0x5d94ce['set']({'class':'ck-merge-fields-preview-dropdown'}),_0x5d94ce['buttonView']['set']({'label':_0x423d70,'ariaLabel':_0x423d70,'ariaLabelledBy':void 0x0,'isOn':!0x1,'icon':_0x22b56d['IconPreviewMergeFields'],'tooltip':!0x0}),this['listenTo'](_0x5d94ce,'execute',_0x3ceb13=>{const {commandValue:_0x5841b2}=_0x3ceb13['source'];_0x15b89c['execute']('previewMergeFields',_0x5841b2),_0x15b89c['editing']['view']['focus']();}),_0x5d94ce;}),_0x15b89c['ui']['componentFactory']['add']('menuBar:previewMergeFields',_0x323f76=>{const _0x36151e=new _0x22b56d['MenuBarMenuView'](_0x323f76),_0xd020f0=_0x15b89c['commands']['get']('previewMergeFields');_0x36151e['buttonView']['set']({'label':_0x499828(_0x323f76,'Merge\x20fields\x20preview'),'icon':_0x22b56d['IconPreviewMergeFields']}),_0x36151e['bind']('isEnabled')['to'](_0xd020f0);const _0x3bc671=new _0x22b56d['MenuBarMenuListView'](_0x323f76);_0x3bc671['set']({'ariaLabel':_0x499828(_0x323f76,'Merge\x20fields\x20preview')});for(const _0x411439 of _0xed69dc(_0x30c409)){const _0x53ca17=new _0x22b56d['MenuBarMenuListItemView'](_0x323f76,_0x36151e),_0x515d5f=new _0x22b56d['MenuBarMenuListItemButtonView'](_0x323f76);_0x411439['model']['bind']('isOn')['to'](_0xd020f0,'value',_0x2f3dde=>_0x2f3dde===_0x411439['model']['commandValue']),_0x515d5f['isToggleable']=!0x0,_0x515d5f['bind'](...Object['keys'](_0x411439['model']))['to'](_0x411439['model']),_0x515d5f['delegate']('execute')['to'](_0x36151e),_0x515d5f['on']('execute',_0x28b288=>{const {commandValue:_0x4faefd}=_0x28b288['source'];_0x15b89c['execute']('previewMergeFields',_0x4faefd),_0x15b89c['editing']['view']['focus']();}),_0x53ca17['children']['add'](_0x515d5f),_0x3bc671['items']['add'](_0x53ca17);}return _0x36151e['panelView']['children']['add'](_0x3bc671),_0x36151e;}),this['_balloon']=_0x15b89c['plugins']['get'](_0x22b56d['ContextualBalloon']),this['listenTo'](_0x15b89c['ui'],'update',()=>{this['_updateBalloonVisibility']();},{'priority':'low'}),this['listenTo'](_0x15b89c['ui']['focusTracker'],'change:isFocused',(_0x2624f3,_0x19608a,_0x41de36)=>{this['_balloon']['visibleView']&&this['_balloon']['visibleView']===this['_balloonPanelView']&&(_0x41de36?this['_updateBalloonVisibility']():this['_hideBalloon']());},{'priority':'low'}),this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2a5254=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xe3bf26;for(const _0xb0c3b in _0x2a5254){const _0x456bed=_0xb0c3b,_0x40632b=_0x2a5254[_0x456bed];if('mergeFieldsLicenseKeyValid'==_0x40632b||'mergeFieldsLicenseKeyInvalid'==_0x40632b||'mergeFieldsLicenseKeyExpired'==_0x40632b||'mergeFieldsLicenseKeyDomainLimit'==_0x40632b||'mergeFieldsLicenseKeyNotAllowed'==_0x40632b||'mergeFieldsLicenseKeyEvaluationLimit'==_0x40632b||'mergeFieldsLicenseKeyUsageLimit'==_0x40632b){delete _0x2a5254[_0x456bed],_0xe3bf26=_0x40632b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'mergeFieldsLicenseKeyInvalid'==_0xe3bf26&&_0x2a5254['_showLicenseError']('invalid'),'mergeFieldsLicenseKeyExpired'==_0xe3bf26&&_0x2a5254['_showLicenseError']('expired'),'mergeFieldsLicenseKeyDomainLimit'==_0xe3bf26&&_0x2a5254['_showLicenseError']('domainLimit'),'mergeFieldsLicenseKeyNotAllowed'==_0xe3bf26&&_0x2a5254['_showLicenseError']('featureNotAllowed','MergeFields'),'mergeFieldsLicenseKeyEvaluationLimit'==_0xe3bf26&&_0x2a5254['_showLicenseError']('evaluationLimit'),'mergeFieldsLicenseKeyUsageLimit'==_0xe3bf26&&_0x2a5254['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_updateBalloonVisibility'](){const _0x184c44=this['editor']['editing']['view']['document']['selection']['getSelectedElement'](),_0x456c5d=!(!_0x184c44||!_0x184c44['getCustomProperty']('mergeFieldStatus'));if(this['_balloon']['hasView'](this['_balloonPanelView'])&&this['_balloon']['visibleView']===this['_balloonPanelView']){if(_0x456c5d){const _0x541703=_0x184c44['getCustomProperty']('mergeFieldStatus');this['_balloonPanelView']['text']=_0x499828(this['editor']['locale'],_0x541703),this['_balloon']['updatePosition'](this['_getBalloonPositionData']());}else this['_hideBalloon']();}else{if(_0x456c5d){const _0x470d7d=_0x184c44['getCustomProperty']('mergeFieldStatus');this['_showBalloon'](_0x499828(this['editor']['locale'],_0x470d7d));}}}['_showBalloon'](_0x5bbfef){this['_balloonPanelView']||(this['_balloonPanelView']=new _0x3547a5(this['editor']['locale']),this['_balloonPanelView']['text']=_0x5bbfef),this['_balloon']['hasView'](this['_balloonPanelView'])||(this['_balloon']['add']({'stackId':'mergeFieldsStatus','view':this['_balloonPanelView'],'position':this['_getBalloonPositionData']()}),this['_balloon']['showStack']('mergeFieldsStatus'));}['_getBalloonPositionData'](){const _0x517191=this['editor']['editing']['view'];return{'target':()=>{const _0x576143=_0x517191['document']['selection']['getFirstRange'](),_0x216520=_0x517191['domConverter']['mapViewToDom'](_0x576143['getContainedElement']());return _0x216520?Array['from'](_0x216520['getClientRects']())[0x0]:_0x517191['domConverter']['viewRangeToDom'](_0x576143);}};}['_hideBalloon'](){this['_balloon']['remove'](this['_balloonPanelView']);}['_removeDefaultValuesPreviewIfUnnecessary'](){if(Object['values'](this['editor']['plugins']['get']('MergeFieldsEditing')['getDefaultValues']())['some'](_0x5568a1=>_0x5568a1))return;const _0x3c6363=this['editor']['config']['get']('mergeFields.previewModes');_0x3c6363['indexOf']('$defaultValues')>-0x1&&_0x3c6363['length']>0x1&&(_0x3c6363['splice'](_0x3c6363['indexOf']('$defaultValues'),0x1),this['editor']['config']['set']('mergeFields.previewModes',_0x3c6363));}['_removeMenuBarButtonIfUnnecessary'](){const _0x16e3b8=this['editor']['config'];if(_0x16e3b8['get']('mergeFields.previewModes')){const _0x23794a=_0x16e3b8['get']('mergeFields.previewModes');if(0x1===_0x23794a['length']){if(_0x23794a['includes']('$dataSets'))0x1===_0x16e3b8['get']('mergeFields.dataSets')['length']&&_0x3e96a9();else _0x3e96a9();}}function _0x3e96a9(){const _0x5cce9f=_0x16e3b8['get']('menuBar.removeItems');_0x5cce9f?(_0x5cce9f['push']('menuBar:previewMergeFields'),_0x16e3b8['set']('menuBar.removeItems',_0x5cce9f)):_0x16e3b8['set']('menuBar.removeItems',['menuBar:previewMergeFields']);}}['_setupMentionConfiguration'](){const _0x1398fc=this['editor'],_0x81eec9=_0x1398fc['config']['get']('mention.feeds'),_0x10c753=_0x1398fc['config']['get']('mergeFields.prefix');_0x81eec9['push']({'marker':_0x10c753,'dropdownLimit':0xa,'feed':_0xd5c9cf=>_0x1398fc['plugins']['get']('MergeFieldsEditing')['flattenedMergeFieldDefinitions']['filter'](_0x369d13=>{const _0x1f30c7=_0x1398fc['commands']['get']('insertMergeField')['isEnabled'],_0x2eba83=_0x1398fc['commands']['get']('insertMergeFieldBlock')['isEnabled'],_0x1d9bea=_0x1398fc['commands']['get']('insertMergeFieldImage')['isEnabled'],_0x2cf937=_0x1398fc['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x369d13['id']);if('text'===_0x2cf937&&!_0x1f30c7)return!0x1;if('block'===_0x2cf937&&!_0x2eba83)return!0x1;if('image'===_0x2cf937&&!_0x1d9bea)return!0x1;return(_0x1398fc['plugins']['get']('MergeFieldsEditing')['getLabel'](_0x369d13['id'])||_0x369d13['id'])['toLowerCase']()['includes'](_0xd5c9cf['toLowerCase']());}),'itemRenderer':_0x339c11=>{const _0x10c482=document['createElement']('button');return _0x10c482['innerHTML']=''+(_0x339c11['label']||_0x339c11['id']),_0x10c482;}}),_0x1398fc['config']['set']('mention.feeds',_0x81eec9);}['_overrideMentionExecuteListener'](){const _0x515a81=this['editor'];_0x515a81['commands']['get']('mention')['on']('execute',(_0x32c53a,_0x3e17d3)=>{const _0x583f0f=_0x3e17d3[0x0];_0x583f0f['marker']===_0x515a81['config']['get']('mergeFields.prefix')&&_0x515a81['model']['change'](_0x53b304=>{_0x53b304['remove'](_0x583f0f['range']);const _0x4b4426=_0x583f0f['mention']['id'],_0x2ec81c=_0x515a81['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x4b4426);'text'===_0x2ec81c?_0x515a81['execute']('insertMergeField',_0x4b4426):'block'===_0x2ec81c?_0x515a81['execute']('insertMergeFieldBlock',_0x4b4426,!0x1):_0x515a81['execute']('insertMergeFieldImage',_0x4b4426,{'breakBlock':!0x0}),_0x32c53a['stop']();});},{'priority':'high'});}}function _0x132d30(_0x4ae81f,_0x439d07,_0x2d5be5,_0x48fa67){const _0x4b1a22=new _0x22b56d['ListItemGroupView'](_0x4ae81f,new _0x22b56d['LabelWithHighlightView']());_0x4b1a22['label']=_0x439d07;for(const _0x13da3a of _0x2d5be5){let _0x8ee6a2;_0x8ee6a2='block'===_0x13da3a['type']?_0x48fa67['insertBlock']:'image'===_0x13da3a['type']?_0x48fa67['insertImage']:_0x48fa67['insertInline'];const _0x3118bb=_0xfcf066(_0x4ae81f,_0x13da3a,_0x8ee6a2);_0x3118bb['delegate']('execute')['to'](_0x4b1a22),_0x4b1a22['items']['add'](_0x3118bb);}return _0x4b1a22;}function _0xfcf066(_0x34e4fd,_0x3d9b25,_0x5c359e){const _0x1a13da=new _0x22b56d['ListItemView'](_0x34e4fd),_0x45ad14=new _0x22b56d['ButtonLabelWithHighlightView'](),_0x46f641=new _0x22b56d['ButtonView'](_0x34e4fd,_0x45ad14);return _0x1a13da['children']['add'](_0x46f641),_0x46f641['set']({'label':_0x3d9b25['label']||_0x3d9b25['id'],'withText':!0x0}),_0x46f641['bind']('isEnabled')['to'](_0x5c359e),_0x46f641['on']('execute',()=>{_0x1a13da['fire']('execute',_0x3d9b25['id']);}),_0x1a13da;}function _0x571aa4(_0x1daf8b,_0x1aa15a,_0x283a3d){const _0x450047=new _0x22b56d['MenuBarMenuView'](_0x1daf8b),_0x8f92ad=new _0x22b56d['MenuBarMenuListView'](_0x1daf8b);for(const _0x2eda55 of _0x1aa15a['definitions']){let _0x494151;_0x494151='block'===_0x2eda55['type']?_0x283a3d['insertBlock']:'image'===_0x2eda55['type']?_0x283a3d['insertImage']:_0x283a3d['insertInline'];const _0x81a502=_0x2cbf77(_0x1daf8b,_0x2eda55,_0x450047,_0x494151);_0x8f92ad['items']['add'](_0x81a502);}return _0x450047['set']({'class':'ck-menu-bar__merge-fields-submenu'}),_0x450047['buttonView']['set']({'label':_0x1aa15a['groupLabel']||_0x1aa15a['groupId']}),_0x450047['panelView']['children']['add'](_0x8f92ad),_0x450047;}function _0x2cbf77(_0x452002,_0x494256,_0xb0e88a,_0x20dad9){const _0x5d3a18=new _0x22b56d['MenuBarMenuListItemView'](_0x452002,_0xb0e88a),_0x40dc16=new _0x22b56d['MenuBarMenuListItemButtonView'](_0x452002);return _0x40dc16['set']({'label':_0x494256['label']||_0x494256['id']}),_0x5d3a18['delegate']('execute')['to'](_0xb0e88a),_0x5d3a18['children']['add'](_0x40dc16),_0x40dc16['bind']('isEnabled')['to'](_0x20dad9),_0x40dc16['on']('execute',()=>{_0x5d3a18['fire']('execute',_0x494256['id']);}),_0x5d3a18;}class _0x34b17c extends _0x22b56d['Plugin']{static get['requires'](){return[MergeFieldsEditing,_0x17f9e1];}static get['pluginName'](){return'MergeFields';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class PaginationLookup extends _0x22b56d['Plugin']{['_recalculatePageBreaksDebounced']=rt(()=>this['_recalculatePageBreaks'](),0xc8);['_pagesContainer']=null;static get['pluginName'](){return'PaginationLookup';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){if(this['set']({'pageBreaks':[]}),!this['editor']['config']['get']('pagination'))return void _0x22b56d['logWarning']('pagination-config-not-found',this['editor']['config']);const _0x5f294d=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x5f294d),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x1dae5b,_0x2c99aa,_0xfe5019)=>{_0xfe5019&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0xf46899){const _0x58084a=_0x3c5712([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]),_0x1da0b3=0xc82cb1e,_0x322212=0xc854176^_0x1da0b3,_0x4d68d1=window[_0x3c5712([0x44,0x61,0x74,0x65])][_0x3c5712([0x6e,0x6f,0x77])](),_0x56af93=_0xf46899[_0x3c5712([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x45c93f=new window[(_0x3c5712([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b530d=>{_0x56af93[_0x3c5712([0x6f,0x6e,0x63,0x65])](_0x3c5712([0x72,0x65,0x61,0x64,0x79]),_0x3b530d);}),_0x20d2bc={[_0x3c5712([0x6b,0x74,0x79])]:_0x3c5712([0x45,0x43]),[_0x3c5712([0x75,0x73,0x65])]:_0x3c5712([0x73,0x69,0x67]),[_0x3c5712([0x63,0x72,0x76])]:_0x3c5712([0x50,0x2d,0x32,0x35,0x36]),[_0x3c5712([0x78])]:_0x3c5712([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]),[_0x3c5712([0x79])]:_0x3c5712([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]),[_0x3c5712([0x61,0x6c,0x67])]:_0x3c5712([0x45,0x53,0x32,0x35,0x36])},_0x1ba197=_0x56af93[_0x3c5712([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3c5712([0x67,0x65,0x74])](_0x3c5712([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5c9f9c(){let _0xa786b9,_0x15805b=null,_0x5e983a=null;try{if(_0x1ba197==_0x3c5712([0x47,0x50,0x4c]))return _0x3c5712([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xa786b9=_0x1e8a55(),!_0xa786b9)return _0x3c5712([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xa786b9[_0x3c5712([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5e983a=_0xeef5c8(_0xa786b9[_0x3c5712([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xa786b9[_0x3c5712([0x6a,0x74,0x69])])),await _0x4b13d7()?_0x3eaafd()?_0x560d0b()?_0x3c5712([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3b993b()?(_0xa786b9[_0x3c5712([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c5712([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x15805b=_0x36f5bb(_0x3c5712([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xf9a575()):_0x3c5712([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3c5712([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3c5712([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3c5712([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x560d0b(){const _0x3b3475=[_0x3c5712([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3c5712([0x74,0x72,0x69,0x61,0x6c])][_0x3c5712([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa786b9[_0x3c5712([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4d68d1/0x3e8:0xe10*_0x322212;return _0xa786b9[_0x3c5712([0x65,0x78,0x70])]<_0x3b3475;}function _0x3eaafd(){const _0x3445d6=_0xa786b9[_0x3c5712([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3445d6&&(!!_0x3445d6[_0x3c5712([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c5712([0x2a]))||!!_0x3445d6[_0x3c5712([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c5712([0x50,0x41,0x47])));}function _0x3b993b(){const _0x5f3093=_0xa786b9[_0x3c5712([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5f3093||0x0==_0x5f3093[_0x3c5712([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x380d5a}=new URL(window[_0x3c5712([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5f3093[_0x3c5712([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x380d5a))return!0x0;const _0x4b547e=_0x380d5a[_0x3c5712([0x73,0x70,0x6c,0x69,0x74])](_0x3c5712([0x2e]));return _0x5f3093[_0x3c5712([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x541738=>_0x541738[_0x3c5712([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c5712([0x2a])))[_0x3c5712([0x6d,0x61,0x70])](_0x51a7d6=>_0x51a7d6[_0x3c5712([0x73,0x70,0x6c,0x69,0x74])](_0x3c5712([0x2e])))[_0x3c5712([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36d9ee=>_0x36d9ee[_0x3c5712([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4b547e[_0x3c5712([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3c5712([0x6d,0x61,0x70])](_0x46fb4c=>Array(_0x4b547e[_0x3c5712([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x46fb4c[_0x3c5712([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3c5712([0x66,0x69,0x6c,0x6c])](_0x46fb4c[0x0]===_0x3c5712([0x2a])?_0x3c5712([0x2a]):'')[_0x3c5712([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x46fb4c))[_0x3c5712([0x73,0x6f,0x6d,0x65])](_0x34517=>_0x4b547e[_0x3c5712([0x65,0x76,0x65,0x72,0x79])]((_0x3a1d8f,_0x1d10ba)=>_0x34517[_0x1d10ba]===_0x3a1d8f||_0x34517[_0x1d10ba]===_0x3c5712([0x2a])));}function _0xf9a575(){return _0x15805b&&_0x5e983a?new window[(_0x3c5712([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1cf94a,_0x347677)=>{_0x15805b[_0x3c5712([0x74,0x68,0x65,0x6e])](_0x1cf94a,_0x347677),_0x5e983a[_0x3c5712([0x74,0x68,0x65,0x6e])](_0x5a6504=>{_0x5a6504!=_0x3c5712([0x56,0x61,0x6c,0x69,0x64])&&_0x1cf94a(_0x5a6504);},_0x347677);}):_0x15805b||_0x5e983a||_0x3c5712([0x56,0x61,0x6c,0x69,0x64]);}}function _0xeef5c8(_0x4a5c5d,_0xecdb2d){return new window[(_0x3c5712([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5de737=>{if(_0x4d505f())return _0x5de737(_0x3c5712([0x56,0x61,0x6c,0x69,0x64]));_0x56088c(),_0x56af93[_0x3c5712([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3c5712([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xd684c4=!0x1;const _0x5b8718=_0x22b56d['uid']();function _0x2de199(_0x5bff8b){return!!_0x5bff8b&&(typeof _0x5bff8b===_0x3c5712([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5bff8b===_0x3c5712([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5bff8b[_0x3c5712([0x74,0x68,0x65,0x6e])]===_0x3c5712([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5bff8b[_0x3c5712([0x63,0x61,0x74,0x63,0x68])]===_0x3c5712([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x57cd5a(_0x470672){_0x4174ca(_0x470672)[_0x3c5712([0x74,0x68,0x65,0x6e])](_0x5ead4d=>{if(!_0x5ead4d||_0x5ead4d[_0x3c5712([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3c5712([0x6f,0x6b]))return _0x3c5712([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x24980d(_0x3979d3(_0x5b8718+_0xecdb2d))!=_0x5ead4d[_0x3c5712([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3c5712([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3c5712([0x56,0x61,0x6c,0x69,0x64]);})[_0x3c5712([0x74,0x68,0x65,0x6e])](_0x14b3e7=>(_0x193589(),_0x14b3e7),()=>{const _0x3e9ec7=_0x3348dc();return null==_0x3e9ec7?(_0x193589(),_0x3c5712([0x56,0x61,0x6c,0x69,0x64])):_0x3c5712(_0x4d68d1-_0x3e9ec7>(0x288e4f1e^_0x1da0b3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3c5712([0x74,0x68,0x65,0x6e])](_0x5de737)[_0x3c5712([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5de737(_0x3c5712([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d3797=0xcb4259e^_0x1da0b3;function _0x193589(){const _0x2dcca2=_0x3c5712([0x6c,0x6c,0x63,0x74,0x2d])+_0x24980d(_0x3979d3(_0x4a5c5d)),_0x1aad86=_0x2d1a48(_0x24980d(window[_0x3c5712([0x4d,0x61,0x74,0x68])][_0x3c5712([0x63,0x65,0x69,0x6c])](_0x4d68d1/_0x5d3797)));window[_0x3c5712([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c5712([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2dcca2,_0x1aad86);}function _0x3348dc(){const _0x2004f4=_0x3c5712([0x6c,0x6c,0x63,0x74,0x2d])+_0x24980d(_0x3979d3(_0x4a5c5d)),_0x53d2aa=window[_0x3c5712([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c5712([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2004f4);return _0x53d2aa?window[_0x3c5712([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d1a48(_0x53d2aa),0x10)*_0x5d3797:null;}function _0x4174ca(_0x51b8e9){return new window[(_0x3c5712([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x205b81,_0x286839)=>{_0x51b8e9[_0x3c5712([0x74,0x68,0x65,0x6e])](_0x205b81,_0x286839),window[_0x3c5712([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x286839,0xc831fde^_0x1da0b3);});}}_0x56af93[_0x3c5712([0x6f,0x6e])](_0x3c5712([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x17aabc,_0x27bfbc)=>{if(_0x27bfbc[0x0]!=_0x4a5c5d)return _0x5de737(_0x3c5712([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x27bfbc[0x1]={..._0x27bfbc[0x1],[_0x3c5712([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5b8718};},{[_0x3c5712([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c5712([0x68,0x69,0x67,0x68])}),_0x56af93[_0x3c5712([0x6f,0x6e])](_0x3c5712([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4fd68d=>{_0x2de199(_0x4fd68d[_0x3c5712([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xd684c4=!0x0,_0x57cd5a(_0x4fd68d[_0x3c5712([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3c5712([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c5712([0x6c,0x6f,0x77])}),_0x45c93f[_0x3c5712([0x74,0x68,0x65,0x6e])](()=>{_0xd684c4||_0x5de737(_0x3c5712([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4d505f(){return _0x56af93[_0x3c5712([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c5712([0x76,0x69,0x65,0x77])][_0x3c5712([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3c5712([0x61,0x75,0x74,0x6f]);}function _0x56088c(){_0x56af93[_0x3c5712([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c5712([0x76,0x69,0x65,0x77])][_0x3c5712([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3c5712([0x61,0x75,0x74,0x6f]);}}function _0x36f5bb(_0x1576b6){const _0x5f3aa7=[new window[(_0x3c5712([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5e35b6=>setTimeout(_0x5e35b6,0xc8bf5d2^_0x1da0b3)),_0x45c93f[_0x3c5712([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3c5712([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6b88c4=>{let _0x27221a=0x0;_0x56af93[_0x3c5712([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c5712([0x6f,0x6e])](_0x3c5712([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x6cdca8,_0x2543a7)=>{_0x2543a7[0x0][_0x3c5712([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x27221a++,_0x27221a==(0xc82cef6^_0x1da0b3)&&(_0x6b88c4(),_0x6cdca8[_0x3c5712([0x6f,0x66,0x66])]());});}))];return window[_0x3c5712([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3c5712([0x72,0x61,0x63,0x65])](_0x5f3aa7)[_0x3c5712([0x74,0x68,0x65,0x6e])](()=>_0x1576b6);}async function _0x7e3686(){await _0x45c93f,_0x56af93[_0x3c5712([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c5712([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x34f06c,_0x56af93[_0x3c5712([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c5712([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x34f06c,_0x56af93[_0x3c5712([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3c5712([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x39db73(_0x113fb2){const _0x563719=_0x2e9b21();_0x56af93[_0x563719]=_0x3c5712([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x113fb2,_0x113fb2!=_0x3c5712([0x56,0x61,0x6c,0x69,0x64])&&_0x7e3686();}function _0x2e9b21(){const _0x5e52c7=window[_0x3c5712([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3c5712([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3c5712([0x6e,0x6f,0x77])]())[_0x3c5712([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3c5712([0x2e]),'');let _0x726155=_0x3c5712([0x49]);for(let _0x36149c=0x0;_0x36149c<_0x5e52c7[_0x3c5712([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36149c+=0x2){let _0x3c99be=window[_0x3c5712([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e52c7[_0x3c5712([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36149c,_0x36149c+0x2));_0x3c99be>=_0x58084a[_0x3c5712([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3c99be-=_0x58084a[_0x3c5712([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x726155+=_0x58084a[_0x3c99be];}return _0x726155;}function _0x1e8a55(){const _0x1b305=_0x1ba197[_0x3c5712([0x73,0x70,0x6c,0x69,0x74])](_0x3c5712([0x2e]));if(0x3!=_0x1b305[_0x3c5712([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3baf6d(_0x1b305[0x1]);function _0x3baf6d(_0x44bf7a){const _0x2dad82=_0x3fc0c1(_0x44bf7a);return _0x2dad82&&_0x12cba6()?_0x2dad82:null;function _0x12cba6(){const _0x464b6d=_0x2dad82[_0x3c5712([0x6a,0x74,0x69])],_0x1b5abf=window[_0x3c5712([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x464b6d[_0x3c5712([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x464b6d[_0x3c5712([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x547f79={..._0x2dad82,[_0x3c5712([0x6a,0x74,0x69])]:_0x464b6d[_0x3c5712([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x464b6d[_0x3c5712([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x547f79[_0x3c5712([0x76,0x63])],_0x3979d3(_0x547f79)==_0x1b5abf;}}}async function _0x4b13d7(){let _0x263754=!0x0;try{const _0x27722e=_0x1ba197[_0x3c5712([0x73,0x70,0x6c,0x69,0x74])](_0x3c5712([0x2e])),[_0x37e488,_0x37a77c,_0x32a5bc]=_0x27722e;return _0x16414f(_0x37e488),await _0x2acd49(_0x37e488,_0x37a77c,_0x32a5bc),_0x263754;}catch{return!0x1;}function _0x16414f(_0x14c1ab){const _0x349ba3=_0x3fc0c1(_0x14c1ab);_0x349ba3&&_0x349ba3[_0x3c5712([0x61,0x6c,0x67])]==_0x3c5712([0x45,0x53,0x32,0x35,0x36])||(_0x263754=!0x1);}async function _0x2acd49(_0x468266,_0x4334f9,_0x480b10){const _0x21d1dd=window[_0x3c5712([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3c5712([0x66,0x72,0x6f,0x6d])](_0x2a5f6c(_0x480b10),_0x4f44ff=>_0x4f44ff[_0x3c5712([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x20740f=new window[(_0x3c5712([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3c5712([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x468266+_0x3c5712([0x2e])+_0x4334f9),_0x2136d2=window[_0x3c5712([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3c5712([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2136d2)return;const _0x1da98a=await _0x2136d2[_0x3c5712([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3c5712([0x6a,0x77,0x6b]),_0x20d2bc,{[_0x3c5712([0x6e,0x61,0x6d,0x65])]:_0x3c5712([0x45,0x43,0x44,0x53,0x41]),[_0x3c5712([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3c5712([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3c5712([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2136d2[_0x3c5712([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3c5712([0x6e,0x61,0x6d,0x65])]:_0x3c5712([0x45,0x43,0x44,0x53,0x41]),[_0x3c5712([0x68,0x61,0x73,0x68])]:{[_0x3c5712([0x6e,0x61,0x6d,0x65])]:_0x3c5712([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1da98a,_0x21d1dd,_0x20740f)||(_0x263754=!0x1);}}function _0x3fc0c1(_0x5eed00){return _0x5eed00[_0x3c5712([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3c5712([0x65,0x79]))?JSON[_0x3c5712([0x70,0x61,0x72,0x73,0x65])](_0x2a5f6c(_0x5eed00)):null;}function _0x2a5f6c(_0x1cd681){return window[_0x3c5712([0x61,0x74,0x6f,0x62])](_0x1cd681[_0x3c5712([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3c5712([0x2b]))[_0x3c5712([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3c5712([0x2f])));}function _0x3979d3(_0x209e7e){let _0x5cfea2=0x1505;function _0x475862(_0x45f121){for(let _0x1e3399=0x0;_0x1e3399<_0x45f121[_0x3c5712([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e3399++){const _0x30a905=_0x45f121[_0x3c5712([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1e3399);_0x5cfea2=(_0x5cfea2<<0x5)+_0x5cfea2+_0x30a905,_0x5cfea2&=_0x5cfea2;}}function _0x3da69f(_0x1ebeea){Array[_0x3c5712([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1ebeea)?_0x1ebeea[_0x3c5712([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3da69f):_0x1ebeea&&typeof _0x1ebeea==_0x3c5712([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3c5712([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1ebeea)[_0x3c5712([0x73,0x6f,0x72,0x74])]()[_0x3c5712([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x138d6f,_0x74da1])=>{_0x475862(_0x138d6f),_0x3da69f(_0x74da1);}):_0x475862(window[_0x3c5712([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1ebeea));}return _0x3da69f(_0x209e7e),_0x5cfea2>>>0x0;}function _0x24980d(_0x509777){return _0x509777[_0x3c5712([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3c5712([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3c5712([0x30]));}function _0x2d1a48(_0x42a88c){return _0x42a88c[_0x3c5712([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3c5712([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3c5712([0x6a,0x6f,0x69,0x6e])]('');}function _0x34f06c(){}function _0x3c5712(_0x28e3b5){return _0x28e3b5['map'](_0x4628f6=>String['fromCharCode'](_0x4628f6))['join']('');}_0x39db73(await _0x5c9f9c());}(this);}['destroy'](){super['destroy'](),this['_pagesContainer']&&(this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x4179e7=this['editor'],_0x318fea=_0x4179e7['editing']['view'],_0x5496f4=this['_getAttachedDomRoot']();if(!_0x5496f4||0x0===_0x5496f4['childElementCount'])return void _0x4179e7['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x5858f6,pageHeight:_0x3110ae}=_0x4179e7['config']['get']('pagination'),{top:_0x1e8d82,left:_0x157eb2,bottom:_0x40361c,right:_0x389e35}=this['_configuredPaddings'];this['_pagesContainer']=new _0x22b56d['View'](_0x4179e7['locale']);const _0x1605fb=this['_pagesContainer'];_0x1605fb['set']('class',''),_0x1605fb['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x5858f6,'width':_0x5858f6,'height':'calc(\x20'+_0x3110ae+'\x20-\x20'+_0x1e8d82+'\x20-\x20'+_0x40361c+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x389e35+'\x200\x20'+_0x157eb2,'columnGap':'calc('+_0x157eb2+'\x20+\x20'+_0x389e35+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x1605fb['bindTemplate']['to']('class')}}),_0x1605fb['render'](),_0x5496f4['parentNode']['insertBefore'](_0x1605fb['element'],_0x5496f4['nextSibling']),this['listenTo'](_0x318fea,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x2722af of this['editor']['editing']['view']['domRoots']['values']())if(_0x2722af['ownerDocument']['body']['contains'](_0x2722af))return _0x2722af;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x15811d=this['editor']['editing']['view'],_0x9ca46d=this['_pagesContainer'],_0x20fa31=this['_getAttachedDomRoot']();if(!_0x20fa31)return Promise['resolve']();for(_0x9ca46d['class']=['ck-reset','ck-pagination-view',..._0x20fa31['classList']]['join']('\x20');_0x9ca46d['element']['firstChild'];)_0x9ca46d['element']['firstChild']['remove']();const _0x13c872=Array['from'](_0x15811d['domRoots']);_0x13c872['sort'](([,_0x41c69b],[,_0x9a7238])=>_0x41c69b['compareDocumentPosition'](_0x9a7238)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0x360508,_0x1288b7]of _0x13c872){const _0x1df899=_0x1288b7['cloneNode'](!0x0);'attributeStyleMap'in _0x1df899&&_0x1df899['attributeStyleMap']['clear'](),_0x1df899['dataset']['rootName']=_0x360508,_0x1df899['className']='ck-content\x20ck-pagination_enabled',_0x1df899['removeAttribute']('id'),_0x1df899['tabIndex']=-0x1,_0x9ca46d['element']['append'](_0x1df899);}const _0x370f18=Array['from'](_0x9ca46d['element']['querySelectorAll']('img'));return function(_0x6b8074){return Promise['all'](_0x6b8074['map'](_0x282734=>Promise['race']([_0x399330(_0x282734),_0x4814c3(0x3e8)])));}(_0x370f18)['then'](()=>{for(const _0x249e09 of _0x370f18['filter'](_0x23d93e=>!_0x23d93e['closest']('table')))if(_0x249e09['offsetParent']){const _0x3b8d1d=_0x22b56d['global']['window']['getComputedStyle'](_0x249e09),_0x3a2e34=_0x22b56d['global']['document']['createElement']('span');for(const _0x5e05d4 of _0x3b8d1d)_0x3a2e34['style']['setProperty'](_0x5e05d4,_0x3b8d1d[_0x5e05d4]);_0x3a2e34['style']['backgroundImage']='url(\x20'+_0x249e09['src']+'\x20)',_0x3a2e34['style']['breakInside']='avoid','PICTURE'==_0x249e09['parentElement']?.['tagName']?_0x249e09['parentElement']['replaceWith'](_0x3a2e34):_0x249e09['replaceWith'](_0x3a2e34);}return new Promise(_0x1f7b41=>_0x22b56d['global']['window']['requestAnimationFrame'](()=>_0x1f7b41()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x6ed8a9=this['_pagesContainer']['element'];if(!_0x6ed8a9['ownerDocument']['body']['contains'](_0x6ed8a9))return;const _0x34bb0b=new _0x22b56d['Rect'](_0x6ed8a9)['excludeScrollbarsAndBorders'](),_0x3c8024=Math['floor'](_0x34bb0b['width']+0x64),_0x3ab8a4=_0x3efedb(_0x6ed8a9,Math['floor'](_0x34bb0b['left']-_0x6ed8a9['scrollLeft']),_0x3c8024,_0x34bb0b['height'])['map'](_0x3f64f4=>this['_mapPageStarterInfoToPageBreakInfo'](_0x3f64f4))['filter'](_0x5294fb=>!0x1!==_0x5294fb);_0x3ab8a4['every'](_0x21482a=>!!_0x21482a)&&(this['pageBreaks']=_0x3ab8a4);}['_mapPageStarterInfoToPageBreakInfo'](_0x538cba){const _0x1dedb2=this['editor']['editing']['view'],_0x876b9d=this['editor']['editing']['mapper'],_0x481d07=_0x1dedb2['domConverter'],_0x17ef4a=_0x538cba['path']['shift'](),_0x3e8070=this['_pagesContainer']['element']['childNodes'][_0x17ef4a]['dataset']['rootName'],_0x10d7ae=_0x1dedb2['getDomRoot'](_0x3e8070);if(!_0x10d7ae)return null;const _0x32f544=function(_0x3e5b50,_0x3fe2cc){let _0x8b465d=_0x3e5b50;for(const _0x5cf72d of _0x3fe2cc['path']){if(!_0x8b465d)return null;_0x8b465d=_0x8b465d['childNodes'][_0x5cf72d];}return _0x8b465d;}(_0x10d7ae,_0x538cba);if(!_0x32f544)return null;const _0x2ccb65=_0x481d07['domPositionToView'](_0x32f544,_0x538cba['textOffset']||0x0);return _0x2ccb65?'manual'==_0x538cba['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x2ccb65,_0x32f544):'text'==_0x538cba['type']&&_0x876b9d['toModelPosition'](_0x2ccb65)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x2ccb65,_0x32f544,_0x538cba['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x2ccb65,_0x32f544,_0x538cba['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x443185,_0x22dfd6){const _0x3e936c=this['editor']['model'],_0xec9bbc=this['editor']['editing']['mapper']['toModelElement'](_0x443185['parent']),_0x3507e3=_0x3e936c['createRangeOn'](_0xec9bbc);return new _0x267d8b({'type':'manual','modelRange':_0x3507e3,'domNode':_0x22dfd6,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x370f2c,_0x340107,_0xb5fb9e){const _0x462717=this['editor']['model'],_0x4a7f6f=this['editor']['editing']['mapper'],_0x5f1c2c=this['editor']['editing']['view']['domConverter'];if(_0xb5fb9e>=_0x340107['length'])return null;const _0x3cc03f=_0x4a7f6f['toModelPosition'](_0x370f2c),_0x40b42e=_0x462717['createRange'](_0x3cc03f),_0x5593b9=_0x4a7f6f['findMappedViewAncestor'](_0x370f2c),_0x19abba=_0x5f1c2c['mapViewToDom'](_0x5593b9);return new _0x267d8b({'type':'text','modelRange':_0x40b42e,'domNode':_0x340107,'offset':_0x3de5ff(_0x340107,_0xb5fb9e,_0x19abba)});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x2e0384,_0x57d584,_0x47e935){const _0x3ed7c8=this['editor']['model'],_0x4a8d00=this['editor']['editing'],_0x435baf=_0x4a8d00['mapper'],_0x91f6c9=_0x4a8d00['view']['domConverter'],_0x3d8687=_0x435baf['findMappedViewAncestor'](_0x2e0384),_0x5f1d4f=_0x435baf['toModelElement'](_0x3d8687);if(!_0x5f1d4f||_0x5f1d4f['is']('element','$root'))return!0x1;const _0x553712=function(_0x2a3b65){const _0x2bc15d=_0x2a3b65['parent'],_0x823be5=_0x2bc15d['root']['document']['model'],_0x1c8ed9=_0x2bc15d['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x34b13f=null;for(const _0x298ed8 of _0x1c8ed9){if(_0x298ed8['is']('rootElement'))return _0x34b13f;if(!_0x823be5['createPositionBefore'](_0x298ed8)['isTouching'](_0x2a3b65))return _0x34b13f;_0x34b13f=_0x298ed8;}}(_0x3ed7c8['createPositionBefore'](_0x5f1d4f)),_0x19bd5e=_0x553712||_0x5f1d4f;let _0x23db7a=_0x435baf['toViewElement'](_0x19bd5e),_0x11a118=_0x3ed7c8['createRangeOn'](_0x19bd5e);const _0x47bafa=_0x3ed7c8['createPositionBefore'](_0x19bd5e)['nodeBefore'];if(_0x47bafa&&_0x47bafa['is']('element','imageBlock')){const _0x37686c=_0x435baf['toViewElement'](_0x47bafa),_0x2d3d8c=_0x91f6c9['mapViewToDom'](_0x37686c),_0x4b547f=_0x22b56d['global']['window']['getComputedStyle'](_0x2d3d8c)['float'];'left'!=_0x4b547f&&'right'!=_0x4b547f||(_0x11a118=_0x3ed7c8['createRangeOn'](_0x47bafa));}for(;_0x23db7a['parent']!==_0x23db7a['root']&&0x0===_0x23db7a['index'];)_0x23db7a=_0x23db7a['parent'];const _0x17d973=new _0x22b56d['Rect'](_0x148ff2(_0x57d584)?_0x57d584:_0x32d758(_0x57d584)),_0x3d62a8=_0x47e935?_0x17d973['height']-_0x47e935:0x0,_0xce6691=_0x91f6c9['mapViewToDom'](_0x23db7a),_0x2de8d6=new _0x22b56d['Rect'](_0xce6691);return new _0x267d8b({'type':'element','modelRange':_0x11a118,'domNode':_0xce6691,'offset':Math['round'](_0x3d62a8)||_0x3d8687!=_0x3babfc(_0x2e0384)?_0x3d62a8+_0x17d973['top']-_0x2de8d6['top']:0x0});}get['_configuredPaddings'](){const _0x56ce1e=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x56ce1e);}static['_findPageStarterInfos'](_0x5751fa,_0x296b13,_0x19b793,_0x360529,_0x5b9a68){return _0x3efedb(_0x5751fa,_0x296b13,_0x19b793,_0x360529,_0x5b9a68);}}class _0x267d8b{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x180e92,modelRange:_0x105ace,domNode:_0x4cbc9a,offset:_0x2ed521}){this['type']=_0x180e92,this['modelRange']=_0x105ace,this['_domNode']=_0x4cbc9a,this['_offset']=_0x2ed521;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x3df1b9=new _0x22b56d['Rect'](_0x148ff2(this['_domNode'])?this['_domNode']:_0x32d758(this['_domNode']));return'manual'==this['type']?_0x3df1b9['top']+_0x3df1b9['height']/0x2:_0x3df1b9['top']+this['_offset'];}}function _0x3de5ff(_0x34517a,_0x5cff97,_0xd020fe){const _0x789bed=_0x32d758(_0x34517a),_0x572dda=function(_0x4c80fa){const _0x262436=_0x22b56d['global']['document']['createRange']();return _0x262436['selectNodeContents'](_0x4c80fa),_0x262436;}(_0xd020fe);let _0x3f7be2;_0x3f7be2=0x0==_0x5cff97?_0x337532(_0x572dda['startContainer'],_0x572dda['startOffset'],_0x34517a['parentNode'],Array['from'](_0x34517a['parentNode']['childNodes'])['indexOf'](_0x34517a)):_0x337532(_0x572dda['startContainer'],_0x572dda['startOffset'],_0x34517a,_0x5cff97);const _0x54d95b=_0x337532(_0x34517a,_0x5cff97,_0x572dda['endContainer'],_0x572dda['endOffset']),_0x25b82c=new _0x22b56d['Rect'](_0x3f7be2)['bottom'];return(new _0x22b56d['Rect'](_0x54d95b)['top']+_0x25b82c)/0x2-new _0x22b56d['Rect'](_0x789bed)['top'];}function _0x3babfc(_0x1bed6d){let _0xf9cd34=_0x1bed6d['parent'];for(;_0xf9cd34['is']('$text')||_0xf9cd34['is']('attributeElement');)_0xf9cd34=_0xf9cd34['parent'];return _0xf9cd34;}function _0x399330(_0x1d7285){return _0x1d7285['hasAttribute']('width')&&_0x1d7285['hasAttribute']('height')?Promise['resolve']():new Promise(_0x34d8ce=>{function _0x19f5fb(){_0x1d7285['removeEventListener']('load',_0x19f5fb),_0x1d7285['removeEventListener']('error',_0x19f5fb),_0x34d8ce();}_0x1d7285['complete']?_0x34d8ce():(_0x1d7285['addEventListener']('load',_0x19f5fb),_0x1d7285['addEventListener']('error',_0x19f5fb));});}function _0x4814c3(_0x4c9701){return new Promise(_0x5b5cd5=>setTimeout(_0x5b5cd5,_0x4c9701));}function _0x32d758(_0xab1dbb){const _0x21838d=_0x22b56d['global']['document']['createRange']();return _0x21838d['selectNode'](_0xab1dbb),_0x21838d;}function _0x545ad4(_0x17d574,_0x4261a7,_0x27b285){const _0x174f5b=_0x22b56d['global']['document']['createRange']();return _0x174f5b['setStart'](_0x17d574,_0x4261a7),_0x174f5b['setEnd'](_0x17d574,_0x27b285),_0x174f5b;}function _0x337532(_0x265c67,_0x545bc9,_0x446f2e,_0x2e3d4e){const _0x1eb6c2=_0x22b56d['global']['document']['createRange']();return _0x1eb6c2['setStart'](_0x265c67,_0x545bc9),_0x1eb6c2['setEnd'](_0x446f2e,_0x2e3d4e),_0x1eb6c2;}function _0x3efedb(_0x3849d4,_0x24ed4d,_0x46f97e,_0x51538b,_0x55b187){const _0x68e88d=[];for(const [_0x276514,_0x7a0be0]of _0x3849d4['childNodes']['entries']()){let _0x2a791e=[];_0x148ff2(_0x7a0be0)&&_0x7a0be0['offsetParent']&&['static','relative']['includes'](_0x22b56d['global']['window']['getComputedStyle'](_0x7a0be0)['position'])?_0x2a791e=_0x21a951(_0x7a0be0,_0x276514,_0x24ed4d,_0x46f97e,_0x51538b,_0x55b187):_0xfd653d(_0x7a0be0)&&(_0x2a791e=_0x459b1a(_0x7a0be0,_0x276514,_0x24ed4d,_0x46f97e,_0x55b187)),_0x2a791e['length']&&(_0x68e88d['push'](..._0x2a791e),_0x24ed4d+=_0x2a791e['length']*_0x46f97e,_0x55b187=!0x1);}return _0x68e88d;}function _0x21a951(_0x59441c,_0x25df94,_0xe19cd9,_0x12ba45,_0x2d30c9,_0x31dff0){const _0x59d776=[];var _0x5a26f7;if((_0x5a26f7=_0x59441c['previousSibling'])&&_0x148ff2(_0x5a26f7)&&Boolean(_0x5a26f7['classList']['contains']('page-break')||_0x5a26f7['closest']('.page-break'))&&(_0x59d776['push']({'type':'manual','offset':0x0,'path':[_0x25df94-0x1]}),_0x31dff0=!0x0),'table-row'==_0x22b56d['global']['window']['getComputedStyle'](_0x59441c)['display']){let _0x344239=0x0,_0x539f65=!0x1;for(const _0x472ea8 of _0x59441c['getClientRects']())_0x344239+=_0x472ea8['height'],_0x472ea8['left']>=_0xe19cd9&&(_0x539f65=!0x0);if(_0x344239<_0x2d30c9&&_0x539f65)return _0x31dff0||_0x59d776['push']({'type':'element','offset':0x0,'path':[_0x25df94]}),_0x59d776;}const _0x4e69d4=_0x59441c['closest']('figure.image');if(_0x4e69d4&&function(_0x5084ae){let _0xfc1fd9=!0x1;const _0x548225=_0x5084ae['parentElement'],_0x11c297=_0x548225['dataset']['rootName'],_0xb2fabf=_0x5084ae['nextElementSibling'],_0x1cea08=_0x5084ae['previousElementSibling'],_0x15c389=_0xb2fabf&&_0x22b56d['global']['window']['getComputedStyle'](_0xb2fabf)['float'],_0x117bea=_0xb2fabf&&'ck-fake-selection-container'===_0xb2fabf['className'];!_0x11c297||_0xb2fabf||_0x1cea08||(_0xfc1fd9=!0x0),_0x11c297&&!_0x1cea08&&_0x117bea&&(_0xfc1fd9=!0x0),_0x11c297&&!_0x1cea08&&'none'!==_0x15c389&&(_0xfc1fd9=!0x0);if(_0xfc1fd9)return!0x1;return!0x0;}(_0x4e69d4)){const _0x2298c0=_0x22b56d['global']['window']['getComputedStyle'](_0x4e69d4)['float'];if('left'==_0x2298c0||'right'==_0x2298c0)return _0x59d776;}const _0x29cc74=_0x3efedb(_0x59441c,_0xe19cd9,_0x12ba45,_0x2d30c9,_0x31dff0);if(_0x29cc74['length']){for(const _0x135c48 of _0x29cc74)_0x59d776['push']({'type':_0x135c48['type'],'offset':_0x135c48['offset'],'textOffset':_0x135c48['textOffset'],'path':[_0x25df94,..._0x135c48['path']]}),_0xe19cd9+=_0x12ba45,_0x31dff0=!0x1;return _0x59d776;}return _0x59d776['push'](...function(_0xe48e0e,_0x3c1571,_0x33e1fa,_0x1abc75,_0x1cd4fd){const _0x1578dd=[];if('table-cell'==_0x22b56d['global']['window']['getComputedStyle'](_0xe48e0e)['display'])return[];const _0x3e9a6d=[];for(const _0x5a38b4 of _0xe48e0e['getClientRects']())if(_0x5a38b4['left']>=_0x33e1fa){for(const _0x43bb1c of _0x3e9a6d)_0x43bb1c['height']+=_0x5a38b4['height'];_0x3e9a6d['push']({'height':_0x5a38b4['height']}),_0x33e1fa+=_0x1abc75;}for(const _0x51a8a6 of _0x3e9a6d)_0x1cd4fd||_0x1578dd['push']({'type':'element','offset':_0x51a8a6['height'],'textOffset':0x0,'path':[_0x3c1571]}),_0x1cd4fd=!0x1;return _0x1578dd;}(_0x59441c,_0x25df94,_0xe19cd9,_0x12ba45,_0x31dff0)),_0x59d776;}function _0x459b1a(_0x281310,_0x35dac6,_0x358e5f,_0x2cc18d,_0x3c574b){const _0x25409f=_0x32d758(_0x281310),_0x227302=[];let _0x14282c=0x0;for(const _0x157639 of _0x25409f['getClientRects']())if(_0x157639['left']>=_0x358e5f){const _0x26f94f=_0x3d7ad6(_0x281310,_0x14282c,_0x358e5f,_0x2cc18d);_0x3c574b||_0x227302['push']({'type':'text','path':[_0x35dac6],'textOffset':_0x26f94f}),_0x14282c=_0x26f94f,_0x358e5f+=_0x2cc18d,_0x3c574b=!0x1;}return _0x227302;}function _0x3d7ad6(_0x40b45a,_0x497731,_0x9d87bd,_0x23d9e0){let _0x130900=_0x497731,_0x3cc91a=_0x40b45a['length'];for(;_0x3cc91a-_0x130900>0x1;){const _0x6126f8=Math['ceil']((_0x130900+_0x3cc91a)/0x2);_0x9771e1(_0x545ad4(_0x40b45a,_0x130900,_0x6126f8),_0x9d87bd,_0x23d9e0)?_0x3cc91a=_0x6126f8:_0x130900=_0x6126f8;}return _0x130900;}function _0x9771e1(_0xb2f6be,_0x5ee637,_0x2af252){for(const _0x3e9cb6 of _0xb2f6be['getClientRects']())if(_0x3e9cb6['left']>=_0x5ee637&&_0x3e9cb6['left']<_0x5ee637+_0x2af252)return!0x0;return!0x1;}function _0x148ff2(_0x5cb7d1){return _0x5cb7d1['nodeType']==Node['ELEMENT_NODE'];}function _0xfd653d(_0x892da4){return _0x892da4['nodeType']==Node['TEXT_NODE'];}const _0x4314b8=/* #__PURE__ -- @preserve */
_0x22b56d['toUnit']('px');let _0x23438a=class _0x2fca05 extends _0x22b56d['View']{constructor(){super();const _0x10b4bf=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x10b4bf['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x10b4bf['if']('isVisible','ck-hidden',_0x3edd4d=>!_0x3edd4d)],'style':{'left':_0x10b4bf['to']('left',_0x5151bb=>_0x4314b8(_0x5151bb)),'top':_0x10b4bf['to']('top',_0x3cfca0=>_0x4314b8(_0x3cfca0)),'width':_0x10b4bf['to']('width',_0x1bec5f=>_0x4314b8(_0x1bec5f))}}});}};class LinesRepository{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x57570c){this['_viewCollection']=_0x57570c['ui']['view']['body'];}['destroy'](){for(const _0x4f4cf7 of this['_hiddenLines'])_0x4f4cf7['destroy']();}['cleanLines'](){for(const _0x24106b of this['_visibleLines'])_0x24106b['isVisible']=!0x1,this['_hiddenLines']['add'](_0x24106b);this['_visibleLines']['clear']();}['showLine'](_0x5df9c0,_0x41ee91,_0x339585,_0x4a71bd){let _0x54f1b9;this['_hiddenLines']['size']?(_0x54f1b9=_0x22b56d['first'](this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x54f1b9)):_0x54f1b9=new _0x23438a(),_0x54f1b9['set']({'pageNumber':_0x4a71bd,'left':_0x5df9c0,'top':_0x41ee91,'width':_0x339585}),_0x54f1b9['isVisible']=!0x0,this['_viewCollection']['has'](_0x54f1b9)||this['_viewCollection']['add'](_0x54f1b9),this['_visibleLines']['add'](_0x54f1b9);}['setViewCollection'](_0x422b47){for(const _0x1b065b of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x1b065b)&&this['_viewCollection']['remove'](_0x1b065b);this['_viewCollection']=_0x422b47;}}const _0x472211='ck-pagination_enabled';class PaginationRenderer extends _0x22b56d['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'](_0x472211),this['on']('change:isEnabled',(_0x107f65,_0x58e09f,_0x459171)=>{_0x459171||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](_0x472211,_0x459171);});}['destroy'](){this['_toggleEditingRootsClass'](_0x472211,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x5e1dca){if(!this['isEnabled'])return;const _0xacbdda=_0x5e1dca>0x1?this['_getPageBreakLineOffset'](_0x5e1dca-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0xacbdda-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x22b56d['env']['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x20ddb9=this['editor'],_0x4e54a3=this['_getAttachedDomRoot']();_0x4e54a3?(this['_scrollableEditingRootDomAncestor']&&_0x20ddb9['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x2a749c){let _0x29023=_0x2a749c;do{_0x29023=_0x29023['parentElement'];const _0x1261a7=_0x22b56d['global']['window']['getComputedStyle'](_0x29023)['overflowY'];if('auto'==_0x1261a7||'scroll'==_0x1261a7)break;}while('BODY'!=_0x29023['tagName']);return _0x29023;}(_0x4e54a3),_0x20ddb9['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x22b56d['ResizeObserver'](this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x20ddb9['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x4f2f85=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x4f2f85['ui']['view']['listenTo'](_0x22b56d['global']['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x4f2f85['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x5aa516 of this['editor']['editing']['view']['domRoots']['values']())if(_0x5aa516['ownerDocument']['body']['contains'](_0x5aa516))return _0x5aa516;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x50a499=this['_getAttachedDomRoot'](),_0x274a9d=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x50a499||0x1==_0x274a9d['length'])return void(this['pageNumber']=0x1);const _0x245640=new _0x22b56d['Rect'](_0x50a499)['excludeScrollbarsAndBorders'](),_0x34d534=new _0x22b56d['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x3be64a=_0x34d534['top']+_0x34d534['height']/0x3;let _0x83e81a=!0x1;const _0x4bd957=[];for(let _0x4693a9=0x1;_0x4693a9<_0x274a9d['length'];_0x4693a9++){const _0x436e12=this['_getPageBreakLineOffset'](_0x4693a9,_0x34d534);if(!_0x436e12)continue;const _0x5a41e0=_0x34d534['top']+_0x436e12-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x4bd957['push']({'pageOffsetTop':_0x5a41e0,'domRootRect':_0x245640,'domScrollableRect':_0x34d534,'pageNumber':_0x4693a9}),_0x5a41e0>_0x3be64a&&!_0x83e81a&&(this['pageNumber']=_0x4693a9,_0x83e81a=!0x0);}this['_renderPageBreakLines'](_0x4bd957),_0x83e81a||(this['pageNumber']=_0x274a9d['length']);}['_renderPageBreakLines'](_0x68f811){const {scrollX:_0x1254c8,scrollY:_0x199b99}=_0x22b56d['global']['window'];if(_0x68f811['length']){for(const {domScrollableRect:_0x3bfde0,pageOffsetTop:_0x19653d,domRootRect:_0x595de1,pageNumber:_0x3d19c5}of _0x68f811)_0x3bfde0['top']<_0x19653d&&_0x19653d<_0x3bfde0['bottom']&&this['linesRepository']['showLine'](_0x595de1['left']+_0x1254c8,_0x19653d+_0x199b99,_0x595de1['width'],_0x3d19c5+0x1);}}['_getPageBreakLineOffset'](_0x15bac0,_0x18f208=null){const _0x1753d9=this['_paginationLookupPlugin']['pageBreaks'][_0x15bac0]['offset'];return _0x1753d9?(_0x18f208||(_0x18f208=new _0x22b56d['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x1753d9-_0x18f208['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x34b20a,_0x322ffa=!0x0){const _0x5ecadd=this['editor']['editing']['view'];_0x5ecadd['change'](_0x5b8c52=>{for(const _0x301be5 of _0x5ecadd['document']['roots'])_0x322ffa?_0x5b8c52['addClass'](_0x34b20a,_0x301be5):_0x5b8c52['removeClass'](_0x34b20a,_0x301be5);});}}function _0x3bea8b(_0x569fcd,_0x19127e,..._0x5c486e){const t=_0x569fcd['t'];switch(_0x19127e){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)',..._0x5c486e);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 _0x19127e;}}class PaginationEditing extends _0x22b56d['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 _0x385d3c=this['editor']['plugins']['get']('Pagination'),_0x20ed2e=this['editor']['plugins']['get'](PaginationLookup),_0x1a9d6a=this['editor']['plugins']['get'](PaginationRenderer);this['bind']('isEnabled')['to'](_0x385d3c),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x1a9d6a),this['listenTo'](_0x20ed2e,'change:pageBreaks',(_0x1062ff,_0x211580,_0x22deec,_0x64de59)=>{this['totalPages']=_0x22deec['length'],this['_updatePageBreakMarkers'](_0x22deec,_0x64de59);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x25cda1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3489e5;for(const _0x80680 in _0x25cda1){const _0x144282=_0x80680,_0x357aa7=_0x25cda1[_0x144282];if('paginationLicenseKeyValid'==_0x357aa7||'paginationLicenseKeyInvalid'==_0x357aa7||'paginationLicenseKeyExpired'==_0x357aa7||'paginationLicenseKeyDomainLimit'==_0x357aa7||'paginationLicenseKeyNotAllowed'==_0x357aa7||'paginationLicenseKeyEvaluationLimit'==_0x357aa7||'paginationLicenseKeyUsageLimit'==_0x357aa7){delete _0x25cda1[_0x144282],_0x3489e5=_0x357aa7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0x3489e5&&_0x25cda1['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0x3489e5&&_0x25cda1['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0x3489e5&&_0x25cda1['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0x3489e5&&_0x25cda1['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0x3489e5&&_0x25cda1['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0x3489e5&&_0x25cda1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x5d8c46){if(!this['isEnabled'])return;this['editor']['plugins']['get'](PaginationRenderer)['scrollToPage'](this['_validatePageNumber'](_0x5d8c46));}['moveSelectionToPage'](_0xb5d83c){if(!this['isEnabled'])return;const _0x15a827=this['editor'],_0x3268c2=this['editor']['plugins']['get'](PaginationLookup)['pageBreaks'][_0xb5d83c-0x1];_0x3268c2&&_0x15a827['model']['change'](_0x2b84c6=>{switch(_0x3268c2['type']){case'manual':{const _0x191f61=_0x15a827['model']['schema']['getNearestSelectionRange'](_0x3268c2['modelRange']['end'],'forward');_0x2b84c6['setSelection'](_0x191f61);break;}case'element':{const _0x30c56a=_0x15a827['model']['schema']['getNearestSelectionRange'](_0x3268c2['modelRange']['start'],'forward');_0x2b84c6['setSelection'](_0x30c56a);break;}case'text':{const _0xc56688=_0x3268c2['modelRange']['start'];if(_0xc56688['textNode']&&'\x20'===_0xc56688['textNode']['data'][_0xc56688['offset']]){const _0x43757f=_0x2b84c6['createPositionAt'](_0xc56688['parent'],_0xc56688['offset']+0x1);_0x2b84c6['setSelection'](_0x43757f);}else _0x2b84c6['setSelection'](_0x3268c2['modelRange']);}}_0x15a827['editing']['view']['focus']();});}['goToNextPage'](){const _0x16b8a7=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0x16b8a7),this['scrollToPage'](_0x16b8a7);}['goToPreviousPage'](){const _0xf6b9cd=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0xf6b9cd),this['scrollToPage'](_0xf6b9cd);}['_updatePageBreakMarkers'](_0x28ae22,_0x474b5b){const _0x207b34=this['editor']['model'];this['isEnabled']&&_0x207b34['change'](_0x167669=>{for(let _0x575f0d=0x1;_0x575f0d<_0x28ae22['length'];_0x575f0d++){const _0x577b79=_0x28ae22[_0x575f0d]['modelRange'],_0x1beb86='pagination:'+(_0x575f0d+0x1);_0x207b34['markers']['has'](_0x1beb86)?_0x167669['updateMarker'](_0x1beb86,{'range':_0x577b79}):_0x167669['addMarker'](_0x1beb86,{'range':_0x577b79,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x4d651e=_0x28ae22['length'];_0x4d651e<_0x474b5b['length'];_0x4d651e++){const _0x2c74f2='pagination:'+(_0x4d651e+0x1);_0x207b34['markers']['has'](_0x2c74f2)&&_0x167669['removeMarker'](_0x2c74f2);}});}['_setUpDataDowncastConversion'](){const _0x28980f='pagination';this['editor']['conversion']['for']('dataDowncast')['add'](_0x3f7464=>{_0x3f7464['on']('addMarker:'+_0x28980f,(_0x384b82,{markerRange:_0x4fee6f,markerName:_0x10cd6b},_0x22c30c)=>{if(!_0x22c30c['options']['pagination'])return;if(!_0x22c30c['consumable']['consume'](_0x4fee6f,_0x384b82['name']))return;const _0x8cafcc=_0x4fee6f['getContainedElement']();let _0x439759=_0x8cafcc?_0x22c30c['mapper']['toViewElement'](_0x8cafcc):null;if(!_0x439759){const _0x31da64=_0x4fee6f['start'];if(_0x22c30c['schema']['checkChild'](_0x31da64,'$text')){const _0x113f3c=_0x22c30c['mapper']['toViewPosition'](_0x31da64);_0x439759=_0x22c30c['writer']['createContainerElement']('span'),_0x439759['getFillerOffset']=()=>null,_0x22c30c['writer']['insert'](_0x113f3c,_0x439759);}else{const _0x50f613=_0x31da64['nodeAfter'];_0x439759=_0x22c30c['mapper']['toViewElement'](_0x50f613);}}for(;_0x439759['parent']!==_0x439759['root']&&0x0===_0x439759['index'];)_0x439759=_0x439759['parent'];const _0x180fe7=_0x10cd6b['substring'](0xb);_0x439759['hasClass']('page-break')||(_0x22c30c['writer']['setStyle']('page-break-before','always',_0x439759),_0x22c30c['writer']['setAttribute']('data-pagination-page',_0x180fe7,_0x439759),_0x22c30c['mapper']['bindElementToMarker'](_0x439759,_0x10cd6b)),_0x384b82['stop']();});});}['_setupKeystrokes'](){const _0x9caa65=this['editor'];_0x9caa65['keystrokes']['set']('Shift+Pageup',(_0x126778,_0x22343c)=>{this['goToPreviousPage'](),_0x22343c();}),_0x9caa65['keystrokes']['set']('Shift+Pagedown',(_0x694c3,_0x3efc88)=>{this['goToNextPage'](),_0x3efc88();}),_0x9caa65['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':_0x3bea8b(_0x9caa65['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':_0x3bea8b(_0x9caa65['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':_0x3bea8b(_0x9caa65['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x2f29da){return _0x2f29da<0x1&&(_0x2f29da=0x1),_0x2f29da>this['totalPages']&&(_0x2f29da=this['totalPages']),_0x2f29da;}}class PageNavigatorView extends _0x22b56d['View']{['pageNumberView'];constructor(_0x17372a){super(_0x17372a);const _0x3e7bef=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x22b56d['InputNumberView'](_0x17372a,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x5086cf=>_0x3bea8b(_0x17372a,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x5086cf)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x22a4c7=>!_0x22a4c7),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x3e7bef['if']('isEnabled','ck-disabled',_0x58d47a=>!_0x58d47a)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x3e7bef['to']('totalPages')}]}]});}['render'](){super['render']();const _0x5074f0=this['pageNumberView']['element'],_0x4e7cc9=_0x5b881b=>{this['pageNumberView']['element']['value']=String(_0x5b881b);};_0x4e7cc9(this['pageNumber']),this['on']('change:pageNumber',(_0xc4e0df,_0x3f0893,_0x49a54f)=>{_0x4e7cc9(_0x49a54f);}),this['listenTo'](_0x5074f0,'keydown',(_0x53bc02,_0x2318c1)=>{if('ArrowUp'===_0x2318c1['key']||'ArrowDown'===_0x2318c1['key'])return void _0x2318c1['stopPropagation']();if(_0x2318c1['keyCode']!==_0x22b56d['keyCodes']['enter'])return;_0x2318c1['preventDefault']();const _0xfb6e5c=_0x5074f0['valueAsNumber'];Number['isNaN'](_0xfb6e5c)?_0x5074f0['value']=String(this['pageNumber']):(_0x5074f0['checkValidity']()?this['pageNumber']=_0xfb6e5c:_0xfb6e5c>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x5074f0['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x5074f0['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x5074f0,'blur',()=>{_0x5074f0['value']=String(this['pageNumber']);}),this['listenTo'](_0x5074f0,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['element']['firstChild']['focus']();}}class PaginationUI extends _0x22b56d['Plugin']{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x2303c5=this['editor'],_0x1f6838=_0x2303c5['plugins']['get']('PaginationEditing');_0x2303c5['ui']['componentFactory']['add']('pageNavigation',_0x315107=>{const _0x24bff1=new PageNavigatorView(_0x315107);return _0x24bff1['bind']('pageNumber')['to'](_0x1f6838),_0x24bff1['bind']('totalPages')['to'](_0x1f6838),_0x24bff1['bind']('isEnabled')['to'](_0x1f6838),_0x24bff1['on']('navigation',(_0x3694e8,_0x209081)=>{_0x1f6838['moveSelectionToPage'](_0x209081),_0x1f6838['scrollToPage'](_0x209081);}),_0x24bff1;}),_0x2303c5['ui']['componentFactory']['add']('nextPage',_0x43742f=>{const _0x4dab78=new _0x22b56d['ButtonView'](_0x43742f);return _0x4dab78['isEnabled']=!0x0,_0x4dab78['label']=_0x3bea8b(_0x2303c5['locale'],'Go\x20to\x20next\x20page'),_0x4dab78['icon']=_0x22b56d['IconArrowDown'],_0x4dab78['tooltip']=!0x0,_0x4dab78['keystroke']='Shift+PageDown',_0x4dab78['bind']('isEnabled')['to'](_0x1f6838),this['listenTo'](_0x4dab78,'execute',()=>{_0x1f6838['goToNextPage']();}),_0x4dab78;}),_0x2303c5['ui']['componentFactory']['add']('previousPage',_0x1eb9b5=>{const _0x1ebb47=new _0x22b56d['ButtonView'](_0x1eb9b5);return _0x1ebb47['isEnabled']=!0x0,_0x1ebb47['label']=_0x3bea8b(_0x2303c5['locale'],'Go\x20to\x20previous\x20page'),_0x1ebb47['icon']=_0x22b56d['IconArrowUp'],_0x1ebb47['tooltip']=!0x0,_0x1ebb47['keystroke']='Shift+PageUp',_0x1ebb47['bind']('isEnabled')['to'](_0x1f6838),this['listenTo'](_0x1ebb47,'execute',()=>{_0x1f6838['goToPreviousPage']();}),_0x1ebb47;});}}class Pagination extends _0x22b56d['Plugin']{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[PaginationEditing,PaginationUI];}constructor(_0x3cea9c){super(_0x3cea9c),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x5c1f6c=this['editor']['plugins']['get'](PaginationEditing);this['bind']('pageNumber')['to'](_0x5c1f6c),this['bind']('totalPages')['to'](_0x5c1f6c),_0x22b56d['env']['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0xaa5b88){this['editor']['plugins']['get'](PaginationEditing)['scrollToPage'](_0xaa5b88);}}const _0x3f5def=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function _0x3bf538(_0x139da4){return _0x3f5def['test'](_0x139da4);}const _0x59ee11=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function _0x4c261d(_0x45bcde,_0x41c4e5){const _0x5a17ef=new Map();for(const [_0x53fba8,_0x2ed0c6]of _0x41c4e5){if(!_0x53fba8['tagName']&&!_0x53fba8['className'])continue;const _0x4634bd=!_0x53fba8['tagName']||_0x45bcde['name']===_0x53fba8['tagName'],_0x48ca83=!_0x53fba8['className']||_0x45bcde['hasClass'](_0x53fba8['className']);_0x4634bd&&_0x48ca83&&_0x5a17ef['set'](_0x53fba8,_0x2ed0c6);}return _0x5a17ef;}function _0x13a022(_0x291e4e){const _0x45ad94={};for(let _0x58eda7=0x0;_0x58eda7<_0x291e4e['length'];_0x58eda7++){const _0x2eb03e=_0x291e4e[_0x58eda7],_0x3a2f5b=_0x291e4e['getPropertyValue'](_0x2eb03e);'initial'!==_0x3a2f5b&&(_0x45ad94[_0x2eb03e]=_0x3a2f5b);}return _0x45ad94;}function _0x19f3b3(_0x1f22e6){const _0x3586fb=_0x1f22e6['split'](',')['map'](_0x3a54fb=>_0x3a54fb['trim']()),_0x524193=[];for(const _0x3be61d of _0x3586fb){const _0x3ffeb7=_0x59ee11['exec'](_0x3be61d);_0x3ffeb7&&_0x524193['push'](_0x3ffeb7['groups']);}return _0x524193;}function _0x431f43(_0x566eb2){const _0x2027c5={};for(const _0x4633ac of _0x566eb2)Object['assign'](_0x2027c5,_0x4633ac);return _0x2027c5;}class MSOfficeStylesInliner extends _0x22b56d['PasteFromOfficeMSWordNormalizer']{['execute'](_0x1990f0){const {body:_0x293af0,styles:_0x2cb09f}=_0x1990f0['_parsedData'],_0x16ece3=new _0x22b56d['ViewUpcastWriter'](_0x293af0['document']),_0x55fd01=_0x16ece3['createRangeIn'](_0x293af0),_0xa9cb91=function(_0x4374d2){const _0x3d183f={};for(const _0x33e18d of _0x4374d2)for(const _0x10da06 of _0x33e18d['cssRules'])if(_0x10da06 instanceof CSSStyleRule){const _0x350fa7=_0x13a022(_0x10da06['style']);_0x3d183f[_0x10da06['selectorText']]=Object['assign']({},_0x3d183f[_0x10da06['selectorText']]||{},_0x350fa7);}return _0x3d183f;}(_0x2cb09f),_0x26b246=function(_0x2e3b43){const _0x44d234=new Map();for(const _0xc05165 in _0x2e3b43){const _0x393fa6=_0x19f3b3(_0xc05165),_0x51a989=_0x2e3b43[_0xc05165];for(const _0x5bbb95 of _0x393fa6)_0x44d234['set'](_0x5bbb95,_0x51a989);}return _0x44d234;}(_0xa9cb91);for(const _0xbc4ce6 of _0x55fd01){if('elementStart'!==_0xbc4ce6['type'])continue;const _0x22c212=_0x4c261d(_0xbc4ce6['item'],_0x26b246);if(_0x22c212['size']){const _0x32ca65=_0x431f43(Array['from'](_0x22c212['values']()));for(const _0x3c6178 in _0x32ca65){const _0xc491ff=_0xbc4ce6['item'];_0xc491ff['hasStyle'](_0x3c6178)||_0x16ece3['setStyle'](_0x3c6178,_0x32ca65[_0x3c6178],_0xc491ff);}}}_0x1990f0['content']=_0x293af0;}['isActive'](_0x3339cd){return super['isActive'](_0x3339cd)||_0x3bf538(_0x3339cd);}}class PasteFromOfficeEnhancedInliner extends _0x22b56d['Plugin']{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice'];}['init'](){const _0x4f3ae1=this['editor'],_0x3078ea=_0x4f3ae1['plugins']['get']('ClipboardPipeline'),_0x336748=_0x4f3ae1['editing']['view']['document'],_0x386e90=new MSOfficeStylesInliner(_0x336748);_0x3078ea['on']('inputTransformation',(_0x10bc13,_0x424332)=>{const _0xfb7f62=_0x424332['dataTransfer']['getData']('text/html');_0x386e90['isActive'](_0xfb7f62)&&(_0x424332['_parsedData']||(_0x424332['_parsedData']=_0x22b56d['parsePasteOfficeHtml'](_0xfb7f62,_0x336748['stylesProcessor'])),_0x386e90['execute'](_0x424332));},{'priority':_0x22b56d['priorities']['get']('high')+0xb});}['afterInit'](){!async function(_0x599d4c){const _0x4f632f=_0x20a5f1([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]),_0x4a5751=0x7374585f,_0x30d056=0x7373d237^_0x4a5751,_0x18a6a7=window[_0x20a5f1([0x44,0x61,0x74,0x65])][_0x20a5f1([0x6e,0x6f,0x77])](),_0x28c94f=_0x599d4c[_0x20a5f1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x15524a=new window[(_0x20a5f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb66af6=>{_0x28c94f[_0x20a5f1([0x6f,0x6e,0x63,0x65])](_0x20a5f1([0x72,0x65,0x61,0x64,0x79]),_0xb66af6);}),_0x5181bf={[_0x20a5f1([0x6b,0x74,0x79])]:_0x20a5f1([0x45,0x43]),[_0x20a5f1([0x75,0x73,0x65])]:_0x20a5f1([0x73,0x69,0x67]),[_0x20a5f1([0x63,0x72,0x76])]:_0x20a5f1([0x50,0x2d,0x32,0x35,0x36]),[_0x20a5f1([0x78])]:_0x20a5f1([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]),[_0x20a5f1([0x79])]:_0x20a5f1([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]),[_0x20a5f1([0x61,0x6c,0x67])]:_0x20a5f1([0x45,0x53,0x32,0x35,0x36])},_0x3c61f9=_0x28c94f[_0x20a5f1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x20a5f1([0x67,0x65,0x74])](_0x20a5f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xf40bc8(){let _0x4a7316,_0x57959f=null,_0x1b3d63=null;try{if(_0x3c61f9==_0x20a5f1([0x47,0x50,0x4c]))return _0x20a5f1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a7316=_0x2b912b(),!_0x4a7316)return _0x20a5f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a7316[_0x20a5f1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b3d63=_0x3426d4(_0x4a7316[_0x20a5f1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a7316[_0x20a5f1([0x6a,0x74,0x69])])),await _0x482325()?_0x4a5624()?_0x5bd472()?_0x20a5f1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x310e89()?(_0x4a7316[_0x20a5f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20a5f1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x57959f=_0x436ffd(_0x20a5f1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x47b1d2()):_0x20a5f1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x20a5f1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x20a5f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x20a5f1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5bd472(){const _0x133e23=[_0x20a5f1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x20a5f1([0x74,0x72,0x69,0x61,0x6c])][_0x20a5f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a7316[_0x20a5f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x18a6a7/0x3e8:0xe10*_0x30d056;return _0x4a7316[_0x20a5f1([0x65,0x78,0x70])]<_0x133e23;}function _0x4a5624(){const _0x210736=_0x4a7316[_0x20a5f1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x210736&&(!!_0x210736[_0x20a5f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20a5f1([0x2a]))||(!!_0x210736[_0x20a5f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20a5f1([0x50,0x4f,0x45]))||(!!_0x210736[_0x20a5f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20a5f1([0x50,0x50]))||!(!_0x210736[_0x20a5f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20a5f1([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x7dc062()))));}function _0x310e89(){const _0x598fd4=_0x4a7316[_0x20a5f1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x598fd4||0x0==_0x598fd4[_0x20a5f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf76e32}=new URL(window[_0x20a5f1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x598fd4[_0x20a5f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf76e32))return!0x0;const _0x3e6fe6=_0xf76e32[_0x20a5f1([0x73,0x70,0x6c,0x69,0x74])](_0x20a5f1([0x2e]));return _0x598fd4[_0x20a5f1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf1de4a=>_0xf1de4a[_0x20a5f1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20a5f1([0x2a])))[_0x20a5f1([0x6d,0x61,0x70])](_0x3f563b=>_0x3f563b[_0x20a5f1([0x73,0x70,0x6c,0x69,0x74])](_0x20a5f1([0x2e])))[_0x20a5f1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b5a8c=>_0x1b5a8c[_0x20a5f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3e6fe6[_0x20a5f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20a5f1([0x6d,0x61,0x70])](_0x4f5589=>Array(_0x3e6fe6[_0x20a5f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4f5589[_0x20a5f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20a5f1([0x66,0x69,0x6c,0x6c])](_0x4f5589[0x0]===_0x20a5f1([0x2a])?_0x20a5f1([0x2a]):'')[_0x20a5f1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4f5589))[_0x20a5f1([0x73,0x6f,0x6d,0x65])](_0x41f512=>_0x3e6fe6[_0x20a5f1([0x65,0x76,0x65,0x72,0x79])]((_0x2f5a6e,_0x118bc3)=>_0x41f512[_0x118bc3]===_0x2f5a6e||_0x41f512[_0x118bc3]===_0x20a5f1([0x2a])));}function _0x47b1d2(){return _0x57959f&&_0x1b3d63?new window[(_0x20a5f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d208d,_0x318ad5)=>{_0x57959f[_0x20a5f1([0x74,0x68,0x65,0x6e])](_0x5d208d,_0x318ad5),_0x1b3d63[_0x20a5f1([0x74,0x68,0x65,0x6e])](_0x134552=>{_0x134552!=_0x20a5f1([0x56,0x61,0x6c,0x69,0x64])&&_0x5d208d(_0x134552);},_0x318ad5);}):_0x57959f||_0x1b3d63||_0x20a5f1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3426d4(_0x181664,_0x18d048){return new window[(_0x20a5f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49f05d=>{if(_0x4ba644())return _0x49f05d(_0x20a5f1([0x56,0x61,0x6c,0x69,0x64]));_0x457633(),_0x28c94f[_0x20a5f1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x20a5f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3a883e=!0x1;const _0x66a4bb=_0x22b56d['uid']();function _0x4f72b4(_0x28c7e1){return!!_0x28c7e1&&(typeof _0x28c7e1===_0x20a5f1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x28c7e1===_0x20a5f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x28c7e1[_0x20a5f1([0x74,0x68,0x65,0x6e])]===_0x20a5f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x28c7e1[_0x20a5f1([0x63,0x61,0x74,0x63,0x68])]===_0x20a5f1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x58768c(_0x3cc7d0){_0x15f1d0(_0x3cc7d0)[_0x20a5f1([0x74,0x68,0x65,0x6e])](_0xb6fa39=>{if(!_0xb6fa39||_0xb6fa39[_0x20a5f1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x20a5f1([0x6f,0x6b]))return _0x20a5f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x387932(_0x45569c(_0x66a4bb+_0x18d048))!=_0xb6fa39[_0x20a5f1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x20a5f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x20a5f1([0x56,0x61,0x6c,0x69,0x64]);})[_0x20a5f1([0x74,0x68,0x65,0x6e])](_0x211633=>(_0x2976fe(),_0x211633),()=>{const _0x413e67=_0x365b14();return null==_0x413e67?(_0x2976fe(),_0x20a5f1([0x56,0x61,0x6c,0x69,0x64])):_0x20a5f1(_0x18a6a7-_0x413e67>(0x5778dc5f^_0x4a5751)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x20a5f1([0x74,0x68,0x65,0x6e])](_0x49f05d)[_0x20a5f1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49f05d(_0x20a5f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x27e23b=0x7342b6df^_0x4a5751;function _0x2976fe(){const _0x2fcf1c=_0x20a5f1([0x6c,0x6c,0x63,0x74,0x2d])+_0x387932(_0x45569c(_0x181664)),_0x3cd441=_0x1936ea(_0x387932(window[_0x20a5f1([0x4d,0x61,0x74,0x68])][_0x20a5f1([0x63,0x65,0x69,0x6c])](_0x18a6a7/_0x27e23b)));window[_0x20a5f1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20a5f1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2fcf1c,_0x3cd441);}function _0x365b14(){const _0x4b89f7=_0x20a5f1([0x6c,0x6c,0x63,0x74,0x2d])+_0x387932(_0x45569c(_0x181664)),_0x2b1da7=window[_0x20a5f1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20a5f1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b89f7);return _0x2b1da7?window[_0x20a5f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1936ea(_0x2b1da7),0x10)*_0x27e23b:null;}function _0x15f1d0(_0xa1743){return new window[(_0x20a5f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20c2d4,_0x58ff4)=>{_0xa1743[_0x20a5f1([0x74,0x68,0x65,0x6e])](_0x20c2d4,_0x58ff4),window[_0x20a5f1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x58ff4,0x73758c9f^_0x4a5751);});}}_0x28c94f[_0x20a5f1([0x6f,0x6e])](_0x20a5f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5bdf35,_0xeb2c45)=>{if(_0xeb2c45[0x0]!=_0x181664)return _0x49f05d(_0x20a5f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xeb2c45[0x1]={..._0xeb2c45[0x1],[_0x20a5f1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x66a4bb};},{[_0x20a5f1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20a5f1([0x68,0x69,0x67,0x68])}),_0x28c94f[_0x20a5f1([0x6f,0x6e])](_0x20a5f1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x58a7e1=>{_0x4f72b4(_0x58a7e1[_0x20a5f1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3a883e=!0x0,_0x58768c(_0x58a7e1[_0x20a5f1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x20a5f1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20a5f1([0x6c,0x6f,0x77])}),_0x15524a[_0x20a5f1([0x74,0x68,0x65,0x6e])](()=>{_0x3a883e||_0x49f05d(_0x20a5f1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4ba644(){return _0x28c94f[_0x20a5f1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20a5f1([0x76,0x69,0x65,0x77])][_0x20a5f1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x20a5f1([0x61,0x75,0x74,0x6f]);}function _0x457633(){_0x28c94f[_0x20a5f1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20a5f1([0x76,0x69,0x65,0x77])][_0x20a5f1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20a5f1([0x61,0x75,0x74,0x6f]);}}function _0x436ffd(_0xd92789){const _0x4b21ab=[new window[(_0x20a5f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x300879=>setTimeout(_0x300879,0x737d6693^_0x4a5751)),_0x15524a[_0x20a5f1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x20a5f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x203d04=>{let _0x3ca063=0x0;_0x28c94f[_0x20a5f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x20a5f1([0x6f,0x6e])](_0x20a5f1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x40cca9,_0x1f50d6)=>{_0x1f50d6[0x0][_0x20a5f1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3ca063++,_0x3ca063==(0x73745db7^_0x4a5751)&&(_0x203d04(),_0x40cca9[_0x20a5f1([0x6f,0x66,0x66])]());});}))];return window[_0x20a5f1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20a5f1([0x72,0x61,0x63,0x65])](_0x4b21ab)[_0x20a5f1([0x74,0x68,0x65,0x6e])](()=>_0xd92789);}async function _0x9fdfc3(){await _0x15524a,_0x28c94f[_0x20a5f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x20a5f1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45e935,_0x28c94f[_0x20a5f1([0x6d,0x6f,0x64,0x65,0x6c])][_0x20a5f1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45e935,_0x28c94f[_0x20a5f1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x20a5f1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x7dc062(){return window[_0x20a5f1([0x67,0x6c,0x6f,0x62])]&&window[_0x20a5f1([0x67,0x6c,0x6f,0x62])][_0x20a5f1([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x17de4a(_0x1277d1){const _0x3fd38c=_0x22fb0e();_0x28c94f[_0x3fd38c]=_0x20a5f1([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])+_0x1277d1,_0x1277d1!=_0x20a5f1([0x56,0x61,0x6c,0x69,0x64])&&_0x9fdfc3();}function _0x22fb0e(){const _0x5db38a=window[_0x20a5f1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x20a5f1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x20a5f1([0x6e,0x6f,0x77])]())[_0x20a5f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x20a5f1([0x2e]),'');let _0x55b9b7=_0x20a5f1([0x73]);for(let _0x125cee=0x0;_0x125cee<_0x5db38a[_0x20a5f1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x125cee+=0x2){let _0x4200f8=window[_0x20a5f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5db38a[_0x20a5f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x125cee,_0x125cee+0x2));_0x4200f8>=_0x4f632f[_0x20a5f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4200f8-=_0x4f632f[_0x20a5f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x55b9b7+=_0x4f632f[_0x4200f8];}return _0x55b9b7;}function _0x2b912b(){const _0x478a23=_0x3c61f9[_0x20a5f1([0x73,0x70,0x6c,0x69,0x74])](_0x20a5f1([0x2e]));if(0x3!=_0x478a23[_0x20a5f1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5512ad(_0x478a23[0x1]);function _0x5512ad(_0x8d122c){const _0x17acdb=_0x4b1cbe(_0x8d122c);return _0x17acdb&&_0x124776()?_0x17acdb:null;function _0x124776(){const _0x58833a=_0x17acdb[_0x20a5f1([0x6a,0x74,0x69])],_0x55042c=window[_0x20a5f1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58833a[_0x20a5f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58833a[_0x20a5f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2c1c70={..._0x17acdb,[_0x20a5f1([0x6a,0x74,0x69])]:_0x58833a[_0x20a5f1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x58833a[_0x20a5f1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2c1c70[_0x20a5f1([0x76,0x63])],_0x45569c(_0x2c1c70)==_0x55042c;}}}async function _0x482325(){let _0x49b7c1=!0x0;try{const _0x121c84=_0x3c61f9[_0x20a5f1([0x73,0x70,0x6c,0x69,0x74])](_0x20a5f1([0x2e])),[_0x1fda9e,_0x5d4d25,_0x4e9bed]=_0x121c84;return _0x1bc48c(_0x1fda9e),await _0x2de3b7(_0x1fda9e,_0x5d4d25,_0x4e9bed),_0x49b7c1;}catch{return!0x1;}function _0x1bc48c(_0x8d44eb){const _0x277abc=_0x4b1cbe(_0x8d44eb);_0x277abc&&_0x277abc[_0x20a5f1([0x61,0x6c,0x67])]==_0x20a5f1([0x45,0x53,0x32,0x35,0x36])||(_0x49b7c1=!0x1);}async function _0x2de3b7(_0x3277b4,_0x16e6f7,_0x5a92a0){const _0xa7589d=window[_0x20a5f1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x20a5f1([0x66,0x72,0x6f,0x6d])](_0x36dc3b(_0x5a92a0),_0x37a970=>_0x37a970[_0x20a5f1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x30e4e6=new window[(_0x20a5f1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x20a5f1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3277b4+_0x20a5f1([0x2e])+_0x16e6f7),_0x5d57e5=window[_0x20a5f1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x20a5f1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d57e5)return;const _0x2e9294=await _0x5d57e5[_0x20a5f1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x20a5f1([0x6a,0x77,0x6b]),_0x5181bf,{[_0x20a5f1([0x6e,0x61,0x6d,0x65])]:_0x20a5f1([0x45,0x43,0x44,0x53,0x41]),[_0x20a5f1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x20a5f1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x20a5f1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d57e5[_0x20a5f1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x20a5f1([0x6e,0x61,0x6d,0x65])]:_0x20a5f1([0x45,0x43,0x44,0x53,0x41]),[_0x20a5f1([0x68,0x61,0x73,0x68])]:{[_0x20a5f1([0x6e,0x61,0x6d,0x65])]:_0x20a5f1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2e9294,_0xa7589d,_0x30e4e6)||(_0x49b7c1=!0x1);}}function _0x4b1cbe(_0x2c7409){return _0x2c7409[_0x20a5f1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x20a5f1([0x65,0x79]))?JSON[_0x20a5f1([0x70,0x61,0x72,0x73,0x65])](_0x36dc3b(_0x2c7409)):null;}function _0x36dc3b(_0x34ae55){return window[_0x20a5f1([0x61,0x74,0x6f,0x62])](_0x34ae55[_0x20a5f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x20a5f1([0x2b]))[_0x20a5f1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x20a5f1([0x2f])));}function _0x45569c(_0x7679fc){let _0x59c8cb=0x1505;function _0x34d348(_0xdbeac0){for(let _0x5ba4e5=0x0;_0x5ba4e5<_0xdbeac0[_0x20a5f1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5ba4e5++){const _0x2ceb47=_0xdbeac0[_0x20a5f1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5ba4e5);_0x59c8cb=(_0x59c8cb<<0x5)+_0x59c8cb+_0x2ceb47,_0x59c8cb&=_0x59c8cb;}}function _0x3d760d(_0x1676b1){Array[_0x20a5f1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1676b1)?_0x1676b1[_0x20a5f1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d760d):_0x1676b1&&typeof _0x1676b1==_0x20a5f1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x20a5f1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1676b1)[_0x20a5f1([0x73,0x6f,0x72,0x74])]()[_0x20a5f1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4aedcd,_0x440b39])=>{_0x34d348(_0x4aedcd),_0x3d760d(_0x440b39);}):_0x34d348(window[_0x20a5f1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1676b1));}return _0x3d760d(_0x7679fc),_0x59c8cb>>>0x0;}function _0x387932(_0x54a487){return _0x54a487[_0x20a5f1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x20a5f1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x20a5f1([0x30]));}function _0x1936ea(_0x3c78c3){return _0x3c78c3[_0x20a5f1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x20a5f1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x20a5f1([0x6a,0x6f,0x69,0x6e])]('');}function _0x45e935(){}function _0x20a5f1(_0x56ac9f){return _0x56ac9f['map'](_0x19adda=>String['fromCharCode'](_0x19adda))['join']('');}_0x17de4a(await _0xf40bc8());}(this);}}const tu=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],_0x47c0b5=['color','font-family','font-size'],_0x54f102={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x1e39ac=>Number(_0x1e39ac)>=0x258,'strong']],'text-decoration':[['underline','u'],['line-through','s']],'text-decoration-line':[['underline','u'],['line-through','s']],'vertical-align':[['sub','sub'],['super','sup']]};function _0x426ded(_0x328daf){return tu['includes'](_0x328daf);}function _0xd19e3c(_0x2f36cd){return Array['from'](_0x2f36cd['getStyleNames']())['filter'](_0x426ded);}function _0x221aca(_0x1b3a58,_0x2eccf8,_0x16de92){const {spanStyles:_0x1eaceb,stylesToBeHtmlElements:_0x211a47}=function(_0xc65763,_0x419db4){const _0xfe2d9a={},_0x1e4177={};return _0x419db4['forEach'](_0x222381=>{const _0x19135d=_0xc65763['getStyle'](_0x222381);if(_0x19135d){if(function(_0x397aaf){return _0x47c0b5['includes'](_0x397aaf);}(_0x222381))_0xfe2d9a[_0x222381]=_0x19135d;else{if(function(_0x5aa3ee){return _0x5aa3ee in _0x54f102;}(_0x222381)){const _0x35879f=_0x19135d['split']('\x20');_0x54f102[_0x222381]['forEach'](([_0x471dcb,_0x496546])=>{for(const _0x35eeac of _0x35879f){('function'==typeof _0x471dcb&&_0x471dcb(_0x35eeac)||_0x471dcb===_0x35eeac)&&(_0x1e4177[_0x222381]=[..._0x1e4177[_0x222381]||[],[_0x471dcb,_0x496546]]);}});}}}}),{'spanStyles':_0xfe2d9a,'stylesToBeHtmlElements':_0x1e4177};}(_0x1b3a58,_0x16de92);!function(_0x49b1c8,_0x5dc176,_0x5afb55){for(const _0x1546ad in _0x5afb55){_0x5afb55[_0x1546ad]['forEach'](([,_0x157e53])=>{const _0x2e1c5f=_0x5dc176['createElement'](_0x157e53,[],_0x49b1c8['getChildren']());_0x5dc176['insertChild'](0x0,_0x2e1c5f,_0x49b1c8);}),_0x5dc176['removeStyle'](_0x1546ad,_0x49b1c8);}}(_0x1b3a58,_0x2eccf8,_0x211a47),function(_0x2b3f07,_0x11a263,_0xe3958f){if(!Object['keys'](_0xe3958f)['length'])return;const _0x38e5e8=_0x11a263['createElement']('span',[],_0x2b3f07['getChildren']());_0x11a263['setStyle'](_0xe3958f,_0x38e5e8),_0x11a263['insertChild'](0x0,_0x38e5e8,_0x2b3f07),_0x11a263['removeStyle'](Object['keys'](_0xe3958f),_0x2b3f07);}(_0x1b3a58,_0x2eccf8,_0x1eaceb);}class MSOfficeInlineStylePropagator extends _0x22b56d['PasteFromOfficeMSWordNormalizer']{['execute'](_0x4f7a98){const {body:_0x36abf0}=_0x4f7a98['_parsedData'],_0x3d0392=new _0x22b56d['ViewUpcastWriter'](_0x36abf0['document']),_0x36e712=_0x3d0392['createRangeIn'](_0x36abf0),_0x1c92d2=new _0x22b56d['ViewDocument'](_0x3d0392['document']['stylesProcessor']),_0x459285=[...new _0x22b56d['ViewDomConverter'](_0x1c92d2)['blockElements'],'font'],_0x2bd008=_0x36e712['getItems']();for(const _0x16004d of _0x2bd008)_0x16004d['is']('element')&&_0x459285['includes'](_0x16004d['name'])&&_0x221aca(_0x16004d,_0x3d0392,_0xd19e3c(_0x16004d));_0x4f7a98['content']=_0x36abf0;}['isActive'](_0x551f81){return super['isActive'](_0x551f81)||_0x3bf538(_0x551f81);}}class PasteFromOfficeEnhancedPropagator extends _0x22b56d['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 _0x4f6989=this['editor'],_0x4998e4=_0x4f6989['plugins']['get']('ClipboardPipeline'),_0x169788=_0x4f6989['editing']['view']['document'],_0x5d23d9=new MSOfficeInlineStylePropagator(_0x169788);_0x4998e4['on']('inputTransformation',(_0x4a2c55,_0x5855e9)=>{const _0x403cf1=_0x5855e9['dataTransfer']['getData']('text/html');_0x5d23d9['isActive'](_0x403cf1)&&(_0x5855e9['_parsedData']||(_0x5855e9['_parsedData']=_0x22b56d['parsePasteOfficeHtml'](_0x403cf1,_0x169788['stylesProcessor'])),_0x5d23d9['execute'](_0x5855e9));},{'priority':_0x22b56d['priorities']['get']('high')+0xa}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xe05f62=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x167efe;for(const _0x545598 in _0xe05f62){const _0x37ee77=_0x545598,_0xc4463a=_0xe05f62[_0x37ee77];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0xc4463a||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0xc4463a||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0xc4463a||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0xc4463a||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0xc4463a||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0xc4463a||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0xc4463a){delete _0xe05f62[_0x37ee77],_0x167efe=_0xc4463a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x167efe&&_0xe05f62['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x167efe&&_0xe05f62['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x167efe&&_0xe05f62['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x167efe&&_0xe05f62['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x167efe&&_0xe05f62['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x167efe&&_0xe05f62['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class PasteFromOfficeEnhanced extends _0x22b56d['Plugin']{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return['PasteFromOffice',PasteFromOfficeEnhancedInliner,PasteFromOfficeEnhancedPropagator];}}var _0x1a7465,_0x1ce897,_0x1f09f1='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:{},_0x29bd5f={},_0x2b8e7e={},_0x55fbbf,_0x52ccf4,_0x18b132,_0x25fb16,_0xf5df34,_0x36d4e5,_0x200850,_0x4b1375={};function _0xdacb14(_0x1b4457){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1b4457+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x1d89bb,_0x1e11c,_0x30cfb3,_0x19985d,_0x485e9a,_0x482f86,_0x1c7a8a,_0x1eed3d,_0x3fd171,_0x28ab0f,_0x285b2a,_0x2238fe,_0x1267f9,_0x382063,_0x581044={};function _0x2e4f24(){return _0x482f86||(_0x482f86=0x1,function(_0x97c030){var _0x3a9802=_0x97c030;function _0x49baab(_0x1be9c5,_0x253373,_0x5a668f){for(var _0x39e73e=Object['keys'](_0x253373),_0x48fc39=0x0;_0x48fc39<_0x39e73e['length'];++_0x48fc39)void 0x0!==_0x1be9c5[_0x39e73e[_0x48fc39]]&&_0x5a668f||'__proto__'!==_0x39e73e[_0x48fc39]&&(_0x1be9c5[_0x39e73e[_0x48fc39]]=_0x253373[_0x39e73e[_0x48fc39]]);return _0x1be9c5;}function _0x35efbe(_0x9e7f77){function _0x24fc7a(_0xe1a25b,_0x356afc){if(!(this instanceof _0x24fc7a))return new _0x24fc7a(_0xe1a25b,_0x356afc);Object['defineProperty'](this,'message',{'get':function(){return _0xe1a25b;}}),Error['captureStackTrace']?Error['captureStackTrace'](this,_0x24fc7a):Object['defineProperty'](this,'stack',{'value':new Error()['stack']||''}),_0x356afc&&_0x49baab(this,_0x356afc);}return _0x24fc7a['prototype']=Object['create'](Error['prototype'],{'constructor':{'value':_0x24fc7a,'writable':!0x0,'enumerable':!0x1,'configurable':!0x0},'name':{'get':function(){return _0x9e7f77;},'set':void 0x0,'enumerable':!0x1,'configurable':!0x0},'toString':{'value':function(){return this['name']+':\x20'+this['message'];},'writable':!0x0,'enumerable':!0x1,'configurable':!0x0}}),_0x24fc7a;}_0x3a9802['asPromise']=(_0x1ce897||(_0x1ce897=0x1,_0x1a7465=function(_0x31f419,_0x273ace){for(var _0x41a6e9=new Array(arguments['length']-0x1),_0x272250=0x0,_0x3f57e8=0x2,_0x112b3a=!0x0;_0x3f57e8<arguments['length'];)_0x41a6e9[_0x272250++]=arguments[_0x3f57e8++];return new Promise(function(_0x4f21fa,_0x37f0da){_0x41a6e9[_0x272250]=function(_0x2cba47){if(_0x112b3a){if(_0x112b3a=!0x1,_0x2cba47)_0x37f0da(_0x2cba47);else{for(var _0x29ce40=new Array(arguments['length']-0x1),_0x4262ad=0x0;_0x4262ad<_0x29ce40['length'];)_0x29ce40[_0x4262ad++]=arguments[_0x4262ad];_0x4f21fa['apply'](null,_0x29ce40);}}};try{_0x31f419['apply'](_0x273ace||null,_0x41a6e9);}catch(_0x71547){_0x112b3a&&(_0x112b3a=!0x1,_0x37f0da(_0x71547));}});}),_0x1a7465),_0x3a9802['base64']=(_0x55fbbf||(_0x55fbbf=0x1,function(_0x38b31c){var _0x40f4a6=_0x38b31c;_0x40f4a6['length']=function(_0x4b4227){var _0x52bf31=_0x4b4227['length'];if(!_0x52bf31)return 0x0;for(var _0x383df2=0x0;--_0x52bf31%0x4>0x1&&'='===_0x4b4227['charAt'](_0x52bf31);)++_0x383df2;return Math['ceil'](0x3*_0x4b4227['length'])/0x4-_0x383df2;};for(var _0x1c51ee=new Array(0x40),_0x2ebe59=new Array(0x7b),_0x4a8a77=0x0;_0x4a8a77<0x40;)_0x2ebe59[_0x1c51ee[_0x4a8a77]=_0x4a8a77<0x1a?_0x4a8a77+0x41:_0x4a8a77<0x34?_0x4a8a77+0x47:_0x4a8a77<0x3e?_0x4a8a77-0x4:_0x4a8a77-0x3b|0x2b]=_0x4a8a77++;_0x40f4a6['encode']=function(_0x1a616d,_0x1a3c93,_0x1b9ccd){for(var t,_0xacc8a8=null,_0x4d30c3=[],_0x3ff589=0x0,_0x4ec96f=0x0;_0x1a3c93<_0x1b9ccd;){var _0x59a2f4=_0x1a616d[_0x1a3c93++];switch(_0x4ec96f){case 0x0:_0x4d30c3[_0x3ff589++]=_0x1c51ee[_0x59a2f4>>0x2],t=(0x3&_0x59a2f4)<<0x4,_0x4ec96f=0x1;break;case 0x1:_0x4d30c3[_0x3ff589++]=_0x1c51ee[t|_0x59a2f4>>0x4],t=(0xf&_0x59a2f4)<<0x2,_0x4ec96f=0x2;break;case 0x2:_0x4d30c3[_0x3ff589++]=_0x1c51ee[t|_0x59a2f4>>0x6],_0x4d30c3[_0x3ff589++]=_0x1c51ee[0x3f&_0x59a2f4],_0x4ec96f=0x0;}_0x3ff589>0x1fff&&((_0xacc8a8||(_0xacc8a8=[]))['push'](String['fromCharCode']['apply'](String,_0x4d30c3)),_0x3ff589=0x0);}return _0x4ec96f&&(_0x4d30c3[_0x3ff589++]=_0x1c51ee[t],_0x4d30c3[_0x3ff589++]=0x3d,0x1===_0x4ec96f&&(_0x4d30c3[_0x3ff589++]=0x3d)),_0xacc8a8?(_0x3ff589&&_0xacc8a8['push'](String['fromCharCode']['apply'](String,_0x4d30c3['slice'](0x0,_0x3ff589))),_0xacc8a8['join']('')):String['fromCharCode']['apply'](String,_0x4d30c3['slice'](0x0,_0x3ff589));};var _0x68cfc2='invalid\x20encoding';_0x40f4a6['decode']=function(_0x42b907,_0x5b3a8c,_0x1be659){for(var t,_0xa98d27=_0x1be659,_0x1f8803=0x0,_0x433fb3=0x0;_0x433fb3<_0x42b907['length'];){var _0x245db8=_0x42b907['charCodeAt'](_0x433fb3++);if(0x3d===_0x245db8&&_0x1f8803>0x1)break;if(void 0x0===(_0x245db8=_0x2ebe59[_0x245db8]))throw Error(_0x68cfc2);switch(_0x1f8803){case 0x0:t=_0x245db8,_0x1f8803=0x1;break;case 0x1:_0x5b3a8c[_0x1be659++]=t<<0x2|(0x30&_0x245db8)>>0x4,t=_0x245db8,_0x1f8803=0x2;break;case 0x2:_0x5b3a8c[_0x1be659++]=(0xf&t)<<0x4|(0x3c&_0x245db8)>>0x2,t=_0x245db8,_0x1f8803=0x3;break;case 0x3:_0x5b3a8c[_0x1be659++]=(0x3&t)<<0x6|_0x245db8,_0x1f8803=0x0;}}if(0x1===_0x1f8803)throw Error(_0x68cfc2);return _0x1be659-_0xa98d27;},_0x40f4a6['test']=function(_0x45acec){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/['test'](_0x45acec);};}(_0x4b1375)),_0x4b1375),_0x3a9802['EventEmitter']=(function(){if(_0x18b132)return _0x52ccf4;function _0x305868(){this['_listeners']={};}return _0x18b132=0x1,_0x52ccf4=_0x305868,_0x305868['prototype']['on']=function(_0x4b2e00,_0x484c7d,_0x2c1c58){return(this['_listeners'][_0x4b2e00]||(this['_listeners'][_0x4b2e00]=[]))['push']({'fn':_0x484c7d,'ctx':_0x2c1c58||this}),this;},_0x305868['prototype']['off']=function(_0x404b53,_0x560f2f){if(void 0x0===_0x404b53)this['_listeners']={};else{if(void 0x0===_0x560f2f)this['_listeners'][_0x404b53]=[];else{for(var _0x5013c0=this['_listeners'][_0x404b53],_0x30afa6=0x0;_0x30afa6<_0x5013c0['length'];)_0x5013c0[_0x30afa6]['fn']===_0x560f2f?_0x5013c0['splice'](_0x30afa6,0x1):++_0x30afa6;}}return this;},_0x305868['prototype']['emit']=function(_0x4af6ad){var _0x388ca5=this['_listeners'][_0x4af6ad];if(_0x388ca5){for(var _0x54602b=[],_0x1ae386=0x1;_0x1ae386<arguments['length'];)_0x54602b['push'](arguments[_0x1ae386++]);for(_0x1ae386=0x0;_0x1ae386<_0x388ca5['length'];)_0x388ca5[_0x1ae386]['fn']['apply'](_0x388ca5[_0x1ae386++]['ctx'],_0x54602b);}return this;},_0x52ccf4;}()),_0x3a9802['float']=(function(){if(_0xf5df34)return _0x25fb16;function _0x138089(_0xdb75be){return'undefined'!=typeof Float32Array?(function(){var _0x3be0bf=new Float32Array([-0x0]),_0x59486a=new Uint8Array(_0x3be0bf['buffer']),_0x39efb7=0x80===_0x59486a[0x3];function _0x1c8527(_0x26e881,_0x3aaa34,_0x4ae500){_0x3be0bf[0x0]=_0x26e881,_0x3aaa34[_0x4ae500]=_0x59486a[0x0],_0x3aaa34[_0x4ae500+0x1]=_0x59486a[0x1],_0x3aaa34[_0x4ae500+0x2]=_0x59486a[0x2],_0x3aaa34[_0x4ae500+0x3]=_0x59486a[0x3];}function _0x43e557(_0x53e89b,_0x202305,_0x4cc8ba){_0x3be0bf[0x0]=_0x53e89b,_0x202305[_0x4cc8ba]=_0x59486a[0x3],_0x202305[_0x4cc8ba+0x1]=_0x59486a[0x2],_0x202305[_0x4cc8ba+0x2]=_0x59486a[0x1],_0x202305[_0x4cc8ba+0x3]=_0x59486a[0x0];}function _0x5e9bd9(_0x5419d4,_0x379949){return _0x59486a[0x0]=_0x5419d4[_0x379949],_0x59486a[0x1]=_0x5419d4[_0x379949+0x1],_0x59486a[0x2]=_0x5419d4[_0x379949+0x2],_0x59486a[0x3]=_0x5419d4[_0x379949+0x3],_0x3be0bf[0x0];}function _0x5b0abf(_0x1d50cb,_0x5b739e){return _0x59486a[0x3]=_0x1d50cb[_0x5b739e],_0x59486a[0x2]=_0x1d50cb[_0x5b739e+0x1],_0x59486a[0x1]=_0x1d50cb[_0x5b739e+0x2],_0x59486a[0x0]=_0x1d50cb[_0x5b739e+0x3],_0x3be0bf[0x0];}_0xdb75be['writeFloatLE']=_0x39efb7?_0x1c8527:_0x43e557,_0xdb75be['writeFloatBE']=_0x39efb7?_0x43e557:_0x1c8527,_0xdb75be['readFloatLE']=_0x39efb7?_0x5e9bd9:_0x5b0abf,_0xdb75be['readFloatBE']=_0x39efb7?_0x5b0abf:_0x5e9bd9;}()):(function(){function _0x31e20b(_0x5b4436,_0x3cd132,_0x7ec45,_0x1a6363){var _0x1623f3=_0x3cd132<0x0?0x1:0x0;if(_0x1623f3&&(_0x3cd132=-_0x3cd132),0x0===_0x3cd132)_0x5b4436(0x1/_0x3cd132>0x0?0x0:0x80000000,_0x7ec45,_0x1a6363);else{if(isNaN(_0x3cd132))_0x5b4436(0x7fc00000,_0x7ec45,_0x1a6363);else{if(_0x3cd132>0xffffff00000000000000000000000000)_0x5b4436((_0x1623f3<<0x1f|0x7f800000)>>>0x0,_0x7ec45,_0x1a6363);else{if(_0x3cd132<1.1754943508222875e-38)_0x5b4436((_0x1623f3<<0x1f|Math['round'](_0x3cd132/1.401298464324817e-45))>>>0x0,_0x7ec45,_0x1a6363);else{var _0x27983b=Math['floor'](Math['log'](_0x3cd132)/Math['LN2']);_0x5b4436((_0x1623f3<<0x1f|_0x27983b+0x7f<<0x17|0x7fffff&Math['round'](_0x3cd132*Math['pow'](0x2,-_0x27983b)*0x800000))>>>0x0,_0x7ec45,_0x1a6363);}}}}}function _0x3ef217(_0x39370b,_0x2f17eb,_0x99c048){var _0x2bf74c=_0x39370b(_0x2f17eb,_0x99c048),_0xb9494e=0x2*(_0x2bf74c>>0x1f)+0x1,_0x3ba60d=_0x2bf74c>>>0x17&0xff,_0x3249db=0x7fffff&_0x2bf74c;return 0xff===_0x3ba60d?_0x3249db?NaN:_0xb9494e*(0x1/0x0):0x0===_0x3ba60d?1.401298464324817e-45*_0xb9494e*_0x3249db:_0xb9494e*Math['pow'](0x2,_0x3ba60d-0x96)*(_0x3249db+0x800000);}_0xdb75be['writeFloatLE']=_0x31e20b['bind'](null,_0x2a4ada),_0xdb75be['writeFloatBE']=_0x31e20b['bind'](null,_0x2256b7),_0xdb75be['readFloatLE']=_0x3ef217['bind'](null,_0x493872),_0xdb75be['readFloatBE']=_0x3ef217['bind'](null,_0x5a1a7f);}()),'undefined'!=typeof Float64Array?(function(){var _0x2b4b70=new Float64Array([-0x0]),_0x5a9a6c=new Uint8Array(_0x2b4b70['buffer']),_0x2f1853=0x80===_0x5a9a6c[0x7];function _0x4b14db(_0x5f435b,_0x48bf3e,_0x5043a9){_0x2b4b70[0x0]=_0x5f435b,_0x48bf3e[_0x5043a9]=_0x5a9a6c[0x0],_0x48bf3e[_0x5043a9+0x1]=_0x5a9a6c[0x1],_0x48bf3e[_0x5043a9+0x2]=_0x5a9a6c[0x2],_0x48bf3e[_0x5043a9+0x3]=_0x5a9a6c[0x3],_0x48bf3e[_0x5043a9+0x4]=_0x5a9a6c[0x4],_0x48bf3e[_0x5043a9+0x5]=_0x5a9a6c[0x5],_0x48bf3e[_0x5043a9+0x6]=_0x5a9a6c[0x6],_0x48bf3e[_0x5043a9+0x7]=_0x5a9a6c[0x7];}function _0x216175(_0x70b1c9,_0x4d853d,_0x1582ca){_0x2b4b70[0x0]=_0x70b1c9,_0x4d853d[_0x1582ca]=_0x5a9a6c[0x7],_0x4d853d[_0x1582ca+0x1]=_0x5a9a6c[0x6],_0x4d853d[_0x1582ca+0x2]=_0x5a9a6c[0x5],_0x4d853d[_0x1582ca+0x3]=_0x5a9a6c[0x4],_0x4d853d[_0x1582ca+0x4]=_0x5a9a6c[0x3],_0x4d853d[_0x1582ca+0x5]=_0x5a9a6c[0x2],_0x4d853d[_0x1582ca+0x6]=_0x5a9a6c[0x1],_0x4d853d[_0x1582ca+0x7]=_0x5a9a6c[0x0];}function _0x551e5b(_0x28706c,_0x1fb6fc){return _0x5a9a6c[0x0]=_0x28706c[_0x1fb6fc],_0x5a9a6c[0x1]=_0x28706c[_0x1fb6fc+0x1],_0x5a9a6c[0x2]=_0x28706c[_0x1fb6fc+0x2],_0x5a9a6c[0x3]=_0x28706c[_0x1fb6fc+0x3],_0x5a9a6c[0x4]=_0x28706c[_0x1fb6fc+0x4],_0x5a9a6c[0x5]=_0x28706c[_0x1fb6fc+0x5],_0x5a9a6c[0x6]=_0x28706c[_0x1fb6fc+0x6],_0x5a9a6c[0x7]=_0x28706c[_0x1fb6fc+0x7],_0x2b4b70[0x0];}function _0x3dd994(_0x427a55,_0x67022a){return _0x5a9a6c[0x7]=_0x427a55[_0x67022a],_0x5a9a6c[0x6]=_0x427a55[_0x67022a+0x1],_0x5a9a6c[0x5]=_0x427a55[_0x67022a+0x2],_0x5a9a6c[0x4]=_0x427a55[_0x67022a+0x3],_0x5a9a6c[0x3]=_0x427a55[_0x67022a+0x4],_0x5a9a6c[0x2]=_0x427a55[_0x67022a+0x5],_0x5a9a6c[0x1]=_0x427a55[_0x67022a+0x6],_0x5a9a6c[0x0]=_0x427a55[_0x67022a+0x7],_0x2b4b70[0x0];}_0xdb75be['writeDoubleLE']=_0x2f1853?_0x4b14db:_0x216175,_0xdb75be['writeDoubleBE']=_0x2f1853?_0x216175:_0x4b14db,_0xdb75be['readDoubleLE']=_0x2f1853?_0x551e5b:_0x3dd994,_0xdb75be['readDoubleBE']=_0x2f1853?_0x3dd994:_0x551e5b;}()):(function(){function _0x3b699b(_0x52294e,_0x402f63,_0x22bdd8,_0x2f27cd,_0xcf0c52,_0x511103){var _0x3fa22b=_0x2f27cd<0x0?0x1:0x0;if(_0x3fa22b&&(_0x2f27cd=-_0x2f27cd),0x0===_0x2f27cd)_0x52294e(0x0,_0xcf0c52,_0x511103+_0x402f63),_0x52294e(0x1/_0x2f27cd>0x0?0x0:0x80000000,_0xcf0c52,_0x511103+_0x22bdd8);else{if(isNaN(_0x2f27cd))_0x52294e(0x0,_0xcf0c52,_0x511103+_0x402f63),_0x52294e(0x7ff80000,_0xcf0c52,_0x511103+_0x22bdd8);else{if(_0x2f27cd>0xfffffffffffff800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)_0x52294e(0x0,_0xcf0c52,_0x511103+_0x402f63),_0x52294e((_0x3fa22b<<0x1f|0x7ff00000)>>>0x0,_0xcf0c52,_0x511103+_0x22bdd8);else{var _0x26e64d;if(_0x2f27cd<2.2250738585072014e-308)_0x52294e((_0x26e64d=_0x2f27cd/5e-324)>>>0x0,_0xcf0c52,_0x511103+_0x402f63),_0x52294e((_0x3fa22b<<0x1f|_0x26e64d/0x100000000)>>>0x0,_0xcf0c52,_0x511103+_0x22bdd8);else{var _0x1ab28b=Math['floor'](Math['log'](_0x2f27cd)/Math['LN2']);0x400===_0x1ab28b&&(_0x1ab28b=0x3ff),_0x52294e(0x10000000000000*(_0x26e64d=_0x2f27cd*Math['pow'](0x2,-_0x1ab28b))>>>0x0,_0xcf0c52,_0x511103+_0x402f63),_0x52294e((_0x3fa22b<<0x1f|_0x1ab28b+0x3ff<<0x14|0x100000*_0x26e64d&0xfffff)>>>0x0,_0xcf0c52,_0x511103+_0x22bdd8);}}}}}function _0x3556e1(_0x1ef442,_0x4c34b3,_0x3fb105,_0xcdd346,_0x4832a5){var _0x2f6968=_0x1ef442(_0xcdd346,_0x4832a5+_0x4c34b3),_0x2f8abe=_0x1ef442(_0xcdd346,_0x4832a5+_0x3fb105),_0x41f79e=0x2*(_0x2f8abe>>0x1f)+0x1,_0x1fbe34=_0x2f8abe>>>0x14&0x7ff,_0x1ef4e0=0x100000000*(0xfffff&_0x2f8abe)+_0x2f6968;return 0x7ff===_0x1fbe34?_0x1ef4e0?NaN:_0x41f79e*(0x1/0x0):0x0===_0x1fbe34?5e-324*_0x41f79e*_0x1ef4e0:_0x41f79e*Math['pow'](0x2,_0x1fbe34-0x433)*(_0x1ef4e0+0x10000000000000);}_0xdb75be['writeDoubleLE']=_0x3b699b['bind'](null,_0x2a4ada,0x0,0x4),_0xdb75be['writeDoubleBE']=_0x3b699b['bind'](null,_0x2256b7,0x4,0x0),_0xdb75be['readDoubleLE']=_0x3556e1['bind'](null,_0x493872,0x0,0x4),_0xdb75be['readDoubleBE']=_0x3556e1['bind'](null,_0x5a1a7f,0x4,0x0);}()),_0xdb75be;}function _0x2a4ada(_0x3e7247,_0x3558ab,_0x39f2fa){_0x3558ab[_0x39f2fa]=0xff&_0x3e7247,_0x3558ab[_0x39f2fa+0x1]=_0x3e7247>>>0x8&0xff,_0x3558ab[_0x39f2fa+0x2]=_0x3e7247>>>0x10&0xff,_0x3558ab[_0x39f2fa+0x3]=_0x3e7247>>>0x18;}function _0x2256b7(_0x5457dc,_0x588095,_0x21472e){_0x588095[_0x21472e]=_0x5457dc>>>0x18,_0x588095[_0x21472e+0x1]=_0x5457dc>>>0x10&0xff,_0x588095[_0x21472e+0x2]=_0x5457dc>>>0x8&0xff,_0x588095[_0x21472e+0x3]=0xff&_0x5457dc;}function _0x493872(_0x3a4a27,_0x1c4f0a){return(_0x3a4a27[_0x1c4f0a]|_0x3a4a27[_0x1c4f0a+0x1]<<0x8|_0x3a4a27[_0x1c4f0a+0x2]<<0x10|_0x3a4a27[_0x1c4f0a+0x3]<<0x18)>>>0x0;}function _0x5a1a7f(_0x3efb4c,_0x4f73bb){return(_0x3efb4c[_0x4f73bb]<<0x18|_0x3efb4c[_0x4f73bb+0x1]<<0x10|_0x3efb4c[_0x4f73bb+0x2]<<0x8|_0x3efb4c[_0x4f73bb+0x3])>>>0x0;}return _0xf5df34=0x1,_0x25fb16=_0x138089(_0x138089);}()),_0x3a9802['inquire']=_0x200850?_0x36d4e5:(_0x200850=0x1,_0x36d4e5=function(_0x4925c1){try{var _0x22ed62=_0xdacb14(_0x4925c1);return _0x22ed62&&(_0x22ed62['length']||Object['keys'](_0x22ed62)['length'])?_0x22ed62:null;}catch(_0x40b8b0){return null;}}),_0x3a9802['utf8']=(_0x1d89bb||(_0x1d89bb=0x1,function(_0x2b8002){var _0x5812e6=_0x2b8002;_0x5812e6['length']=function(_0x321ae4){for(var _0x34e696=0x0,_0x3e7b08=0x0,_0x535085=0x0;_0x535085<_0x321ae4['length'];++_0x535085)(_0x3e7b08=_0x321ae4['charCodeAt'](_0x535085))<0x80?_0x34e696+=0x1:_0x3e7b08<0x800?_0x34e696+=0x2:0xd800==(0xfc00&_0x3e7b08)&&0xdc00==(0xfc00&_0x321ae4['charCodeAt'](_0x535085+0x1))?(++_0x535085,_0x34e696+=0x4):_0x34e696+=0x3;return _0x34e696;},_0x5812e6['read']=function(_0x5de761,_0x2288fd,_0x1a3074){if(_0x1a3074-_0x2288fd<0x1)return'';for(var _0xe06253='',_0x247d62=_0x2288fd;_0x247d62<_0x1a3074;){var t=_0x5de761[_0x247d62++];if(t<=0x7f)_0xe06253+=String['fromCharCode'](t);else{if(t>=0xc0&&t<0xe0){var _0x4ea862=(0x1f&t)<<0x6|0x3f&_0x5de761[_0x247d62++];_0xe06253+=_0x4ea862>=0x80?String['fromCharCode'](_0x4ea862):'�';}else{if(t>=0xe0&&t<0xf0){var _0x2e5a3d=(0xf&t)<<0xc|(0x3f&_0x5de761[_0x247d62++])<<0x6|0x3f&_0x5de761[_0x247d62++];_0xe06253+=_0x2e5a3d>=0x800?String['fromCharCode'](_0x2e5a3d):'�';}else{if(t>=0xf0){var _0x387e6f=(0x7&t)<<0x12|(0x3f&_0x5de761[_0x247d62++])<<0xc|(0x3f&_0x5de761[_0x247d62++])<<0x6|0x3f&_0x5de761[_0x247d62++];_0x387e6f<0x10000||_0x387e6f>0x10ffff?_0xe06253+='�':(_0x387e6f-=0x10000,_0xe06253+=String['fromCharCode'](0xd800+(_0x387e6f>>0xa)),_0xe06253+=String['fromCharCode'](0xdc00+(0x3ff&_0x387e6f)));}}}}}return _0xe06253;},_0x5812e6['write']=function(_0x13c0f0,_0x4173e8,_0x3d56ac){for(var _0x3f36c4,_0x39ab3c,_0xe59d80=_0x3d56ac,_0x4bc254=0x0;_0x4bc254<_0x13c0f0['length'];++_0x4bc254)(_0x3f36c4=_0x13c0f0['charCodeAt'](_0x4bc254))<0x80?_0x4173e8[_0x3d56ac++]=_0x3f36c4:_0x3f36c4<0x800?(_0x4173e8[_0x3d56ac++]=_0x3f36c4>>0x6|0xc0,_0x4173e8[_0x3d56ac++]=0x3f&_0x3f36c4|0x80):0xd800==(0xfc00&_0x3f36c4)&&0xdc00==(0xfc00&(_0x39ab3c=_0x13c0f0['charCodeAt'](_0x4bc254+0x1)))?(_0x3f36c4=0x10000+((0x3ff&_0x3f36c4)<<0xa)+(0x3ff&_0x39ab3c),++_0x4bc254,_0x4173e8[_0x3d56ac++]=_0x3f36c4>>0x12|0xf0,_0x4173e8[_0x3d56ac++]=_0x3f36c4>>0xc&0x3f|0x80,_0x4173e8[_0x3d56ac++]=_0x3f36c4>>0x6&0x3f|0x80,_0x4173e8[_0x3d56ac++]=0x3f&_0x3f36c4|0x80):(_0x4173e8[_0x3d56ac++]=_0x3f36c4>>0xc|0xe0,_0x4173e8[_0x3d56ac++]=_0x3f36c4>>0x6&0x3f|0x80,_0x4173e8[_0x3d56ac++]=0x3f&_0x3f36c4|0x80);return _0x3d56ac-_0xe59d80;};}(_0x581044)),_0x581044),_0x3a9802['pool']=(_0x30cfb3||(_0x30cfb3=0x1,_0x1e11c=function(_0x1382ca,_0x27d5db,_0x2baca6){var _0x30e2e5=_0x2baca6||0x2000,_0x39f7f0=_0x30e2e5>>>0x1,_0x4f8034=null,_0x58e9b5=_0x30e2e5;return function(_0x398f32){if(_0x398f32<0x1||_0x398f32>_0x39f7f0)return _0x1382ca(_0x398f32);_0x58e9b5+_0x398f32>_0x30e2e5&&(_0x4f8034=_0x1382ca(_0x30e2e5),_0x58e9b5=0x0);var _0xee67d3=_0x27d5db['call'](_0x4f8034,_0x58e9b5,_0x58e9b5+=_0x398f32);return 0x7&_0x58e9b5&&(_0x58e9b5=0x1+(0x7|_0x58e9b5)),_0xee67d3;};}),_0x1e11c),_0x3a9802['LongBits']=(function(){if(_0x485e9a)return _0x19985d;_0x485e9a=0x1,_0x19985d=_0x23aec8;var _0x1f7c0f=_0x2e4f24();function _0x23aec8(_0x1e38a7,_0x2bb3a3){this['lo']=_0x1e38a7>>>0x0,this['hi']=_0x2bb3a3>>>0x0;}var _0x1d9bbf=_0x23aec8['zero']=new _0x23aec8(0x0,0x0);_0x1d9bbf['toNumber']=function(){return 0x0;},_0x1d9bbf['zzEncode']=_0x1d9bbf['zzDecode']=function(){return this;},_0x1d9bbf['length']=function(){return 0x1;};var _0x1f6a26=_0x23aec8['zeroHash']='\x00\x00\x00\x00\x00\x00\x00\x00';_0x23aec8['fromNumber']=function(_0x100d48){if(0x0===_0x100d48)return _0x1d9bbf;var _0x29cd5a=_0x100d48<0x0;_0x29cd5a&&(_0x100d48=-_0x100d48);var _0x19b033=_0x100d48>>>0x0,_0x3343cc=(_0x100d48-_0x19b033)/0x100000000>>>0x0;return _0x29cd5a&&(_0x3343cc=~_0x3343cc>>>0x0,_0x19b033=~_0x19b033>>>0x0,++_0x19b033>0xffffffff&&(_0x19b033=0x0,++_0x3343cc>0xffffffff&&(_0x3343cc=0x0))),new _0x23aec8(_0x19b033,_0x3343cc);},_0x23aec8['from']=function(_0x46e6d3){if('number'==typeof _0x46e6d3)return _0x23aec8['fromNumber'](_0x46e6d3);if(_0x1f7c0f['isString'](_0x46e6d3)){if(!_0x1f7c0f['Long'])return _0x23aec8['fromNumber'](parseInt(_0x46e6d3,0xa));_0x46e6d3=_0x1f7c0f['Long']['fromString'](_0x46e6d3);}return _0x46e6d3['low']||_0x46e6d3['high']?new _0x23aec8(_0x46e6d3['low']>>>0x0,_0x46e6d3['high']>>>0x0):_0x1d9bbf;},_0x23aec8['prototype']['toNumber']=function(_0x5d6ec6){if(!_0x5d6ec6&&this['hi']>>>0x1f){var _0xebe8ee=0x1+~this['lo']>>>0x0,_0x131c63=~this['hi']>>>0x0;return _0xebe8ee||(_0x131c63=_0x131c63+0x1>>>0x0),-(_0xebe8ee+0x100000000*_0x131c63);}return this['lo']+0x100000000*this['hi'];},_0x23aec8['prototype']['toLong']=function(_0x1fee81){return _0x1f7c0f['Long']?new _0x1f7c0f['Long'](0x0|this['lo'],0x0|this['hi'],Boolean(_0x1fee81)):{'low':0x0|this['lo'],'high':0x0|this['hi'],'unsigned':Boolean(_0x1fee81)};};var _0x105cba=String['prototype']['charCodeAt'];return _0x23aec8['fromHash']=function(_0x51d253){return _0x51d253===_0x1f6a26?_0x1d9bbf:new _0x23aec8((_0x105cba['call'](_0x51d253,0x0)|_0x105cba['call'](_0x51d253,0x1)<<0x8|_0x105cba['call'](_0x51d253,0x2)<<0x10|_0x105cba['call'](_0x51d253,0x3)<<0x18)>>>0x0,(_0x105cba['call'](_0x51d253,0x4)|_0x105cba['call'](_0x51d253,0x5)<<0x8|_0x105cba['call'](_0x51d253,0x6)<<0x10|_0x105cba['call'](_0x51d253,0x7)<<0x18)>>>0x0);},_0x23aec8['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);},_0x23aec8['prototype']['zzEncode']=function(){var _0x2b493b=this['hi']>>0x1f;return this['hi']=((this['hi']<<0x1|this['lo']>>>0x1f)^_0x2b493b)>>>0x0,this['lo']=(this['lo']<<0x1^_0x2b493b)>>>0x0,this;},_0x23aec8['prototype']['zzDecode']=function(){var _0x48a543=-(0x1&this['lo']);return this['lo']=((this['lo']>>>0x1|this['hi']<<0x1f)^_0x48a543)>>>0x0,this['hi']=(this['hi']>>>0x1^_0x48a543)>>>0x0,this;},_0x23aec8['prototype']['length']=function(){var _0x133182=this['lo'],_0x5402e4=(this['lo']>>>0x1c|this['hi']<<0x4)>>>0x0,_0xb81819=this['hi']>>>0x18;return 0x0===_0xb81819?0x0===_0x5402e4?_0x133182<0x4000?_0x133182<0x80?0x1:0x2:_0x133182<0x200000?0x3:0x4:_0x5402e4<0x4000?_0x5402e4<0x80?0x5:0x6:_0x5402e4<0x200000?0x7:0x8:_0xb81819<0x80?0x9:0xa;},_0x19985d;}()),_0x3a9802['isNode']=Boolean(void 0x0!==_0x1f09f1&&_0x1f09f1&&_0x1f09f1['process']&&_0x1f09f1['process']['versions']&&_0x1f09f1['process']['versions']['node']),_0x3a9802['global']=_0x3a9802['isNode']&&_0x1f09f1||'undefined'!=typeof window&&window||'undefined'!=typeof self&&self||_0x2b8e7e,_0x3a9802['emptyArray']=Object['freeze']?Object['freeze']([]):[],_0x3a9802['emptyObject']=Object['freeze']?Object['freeze']({}):{},_0x3a9802['isInteger']=Number['isInteger']||function(_0x351b9f){return'number'==typeof _0x351b9f&&isFinite(_0x351b9f)&&Math['floor'](_0x351b9f)===_0x351b9f;},_0x3a9802['isString']=function(_0x7f9a96){return'string'==typeof _0x7f9a96||_0x7f9a96 instanceof String;},_0x3a9802['isObject']=function(_0x349a6a){return _0x349a6a&&'object'==typeof _0x349a6a;},_0x3a9802['isset']=_0x3a9802['isSet']=function(_0x5df471,_0x56c196){var _0x19b326=_0x5df471[_0x56c196];return!(null==_0x19b326||!_0x5df471['hasOwnProperty'](_0x56c196))&&('object'!=typeof _0x19b326||(Array['isArray'](_0x19b326)?_0x19b326['length']:Object['keys'](_0x19b326)['length'])>0x0);},_0x3a9802['Buffer']=(function(){try{var _0x2cc25a=_0x3a9802['inquire']('buffer')['Buffer'];return _0x2cc25a['prototype']['utf8Write']?_0x2cc25a:null;}catch(_0x2d6b96){return null;}}()),_0x3a9802['_Buffer_from']=null,_0x3a9802['_Buffer_allocUnsafe']=null,_0x3a9802['newBuffer']=function(_0x77c061){return'number'==typeof _0x77c061?_0x3a9802['Buffer']?_0x3a9802['_Buffer_allocUnsafe'](_0x77c061):new _0x3a9802['Array'](_0x77c061):_0x3a9802['Buffer']?_0x3a9802['_Buffer_from'](_0x77c061):'undefined'==typeof Uint8Array?_0x77c061:new Uint8Array(_0x77c061);},_0x3a9802['Array']='undefined'!=typeof Uint8Array?Uint8Array:Array,_0x3a9802['Long']=_0x3a9802['global']['dcodeIO']&&_0x3a9802['global']['dcodeIO']['Long']||_0x3a9802['global']['Long']||_0x3a9802['inquire']('long'),_0x3a9802['key2Re']=/^true|false|0|1$/,_0x3a9802['key32Re']=/^-?(?:0|[1-9][0-9]*)$/,_0x3a9802['key64Re']=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,_0x3a9802['longToHash']=function(_0x10d81){return _0x10d81?_0x3a9802['LongBits']['from'](_0x10d81)['toHash']():_0x3a9802['LongBits']['zeroHash'];},_0x3a9802['longFromHash']=function(_0x566127,_0x42434e){var _0x285e5f=_0x3a9802['LongBits']['fromHash'](_0x566127);return _0x3a9802['Long']?_0x3a9802['Long']['fromBits'](_0x285e5f['lo'],_0x285e5f['hi'],_0x42434e):_0x285e5f['toNumber'](Boolean(_0x42434e));},_0x3a9802['merge']=_0x49baab,_0x3a9802['recursionLimit']=0x64,_0x3a9802['makeProp']=function(_0x12ce5a,_0x269dc1){Object['defineProperty'](_0x12ce5a,_0x269dc1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0});},_0x3a9802['lcFirst']=function(_0x296104){return _0x296104['charAt'](0x0)['toLowerCase']()+_0x296104['substring'](0x1);},_0x3a9802['newError']=_0x35efbe,_0x3a9802['ProtocolError']=_0x35efbe('ProtocolError'),_0x3a9802['oneOfGetter']=function(_0x565359){for(var _0x16ac65={},_0x121eb9=0x0;_0x121eb9<_0x565359['length'];++_0x121eb9)_0x16ac65[_0x565359[_0x121eb9]]=0x1;return function(){for(var _0x2769c0=Object['keys'](this),_0x49f811=_0x2769c0['length']-0x1;_0x49f811>-0x1;--_0x49f811)if(0x1===_0x16ac65[_0x2769c0[_0x49f811]]&&void 0x0!==this[_0x2769c0[_0x49f811]]&&null!==this[_0x2769c0[_0x49f811]])return _0x2769c0[_0x49f811];};},_0x3a9802['oneOfSetter']=function(_0x4ce9f5){return function(_0x3a2ca2){for(var _0x3b662f=0x0;_0x3b662f<_0x4ce9f5['length'];++_0x3b662f)_0x4ce9f5[_0x3b662f]!==_0x3a2ca2&&delete this[_0x4ce9f5[_0x3b662f]];};},_0x3a9802['toJSONOptions']={'longs':String,'enums':String,'bytes':String,'json':!0x0},_0x3a9802['_configure']=function(){var _0x2a5cdc=_0x3a9802['Buffer'];_0x2a5cdc?(_0x3a9802['_Buffer_from']=_0x2a5cdc['from']!==Uint8Array['from']&&_0x2a5cdc['from']||function(_0x31972e,_0x337650){return new _0x2a5cdc(_0x31972e,_0x337650);},_0x3a9802['_Buffer_allocUnsafe']=_0x2a5cdc['allocUnsafe']||function(_0x13d00f){return new _0x2a5cdc(_0x13d00f);}):_0x3a9802['_Buffer_from']=_0x3a9802['_Buffer_allocUnsafe']=null;};}(_0x2b8e7e)),_0x2b8e7e;}function _0x53f7c6(){if(_0x1eed3d)return _0x1c7a8a;_0x1eed3d=0x1,_0x1c7a8a=_0x2f7758;var _0x5e5371,_0xb1d10b=_0x2e4f24(),_0x2b72ca=_0xb1d10b['LongBits'],_0x4d85ff=_0xb1d10b['base64'],_0xe2d07b=_0xb1d10b['utf8'];function _0x1a2255(_0x466702,_0x53112e,_0x46e46f){this['fn']=_0x466702,this['len']=_0x53112e,this['next']=void 0x0,this['val']=_0x46e46f;}function _0x32cead(){}function _0x22db76(_0x28edab){this['head']=_0x28edab['head'],this['tail']=_0x28edab['tail'],this['len']=_0x28edab['len'],this['next']=_0x28edab['states'];}function _0x2f7758(){this['len']=0x0,this['head']=new _0x1a2255(_0x32cead,0x0,0x0),this['tail']=this['head'],this['states']=null;}var _0x352bf7=function(){return _0xb1d10b['Buffer']?function(){return(_0x2f7758['create']=function(){return new _0x5e5371();})();}:function(){return new _0x2f7758();};};function _0x2bb305(_0x2e66f5,_0x39746c,_0x1371fe){_0x39746c[_0x1371fe]=0xff&_0x2e66f5;}function _0x12f343(_0x8ab430,_0x2515af){this['len']=_0x8ab430,this['next']=void 0x0,this['val']=_0x2515af;}function _0x2ef09c(_0x4c8da6,_0x271b48,_0x4d511b){for(;_0x4c8da6['hi'];)_0x271b48[_0x4d511b++]=0x7f&_0x4c8da6['lo']|0x80,_0x4c8da6['lo']=(_0x4c8da6['lo']>>>0x7|_0x4c8da6['hi']<<0x19)>>>0x0,_0x4c8da6['hi']>>>=0x7;for(;_0x4c8da6['lo']>0x7f;)_0x271b48[_0x4d511b++]=0x7f&_0x4c8da6['lo']|0x80,_0x4c8da6['lo']=_0x4c8da6['lo']>>>0x7;_0x271b48[_0x4d511b++]=_0x4c8da6['lo'];}function _0x4f8e34(_0x271111,_0x1187fa,_0x114b82){_0x1187fa[_0x114b82]=0xff&_0x271111,_0x1187fa[_0x114b82+0x1]=_0x271111>>>0x8&0xff,_0x1187fa[_0x114b82+0x2]=_0x271111>>>0x10&0xff,_0x1187fa[_0x114b82+0x3]=_0x271111>>>0x18;}_0x2f7758['create']=_0x352bf7(),_0x2f7758['alloc']=function(_0x2690df){return new _0xb1d10b['Array'](_0x2690df);},_0xb1d10b['Array']!==Array&&(_0x2f7758['alloc']=_0xb1d10b['pool'](_0x2f7758['alloc'],_0xb1d10b['Array']['prototype']['subarray'])),_0x2f7758['prototype']['_push']=function(_0x5ba871,_0x222e50,_0x417875){return this['tail']=this['tail']['next']=new _0x1a2255(_0x5ba871,_0x222e50,_0x417875),this['len']+=_0x222e50,this;},_0x12f343['prototype']=Object['create'](_0x1a2255['prototype']),_0x12f343['prototype']['fn']=function(_0x37f81c,_0x36b1ed,_0x1a1a2a){for(;_0x37f81c>0x7f;)_0x36b1ed[_0x1a1a2a++]=0x7f&_0x37f81c|0x80,_0x37f81c>>>=0x7;_0x36b1ed[_0x1a1a2a]=_0x37f81c;},_0x2f7758['prototype']['uint32']=function(_0x54dced){return this['len']+=(this['tail']=this['tail']['next']=new _0x12f343((_0x54dced>>>=0x0)<0x80?0x1:_0x54dced<0x4000?0x2:_0x54dced<0x200000?0x3:_0x54dced<0x10000000?0x4:0x5,_0x54dced))['len'],this;},_0x2f7758['prototype']['int32']=function(_0x3b950c){return _0x3b950c<0x0?this['_push'](_0x2ef09c,0xa,_0x2b72ca['fromNumber'](_0x3b950c)):this['uint32'](_0x3b950c);},_0x2f7758['prototype']['sint32']=function(_0x420e4e){return this['uint32']((_0x420e4e<<0x1^_0x420e4e>>0x1f)>>>0x0);},_0x2f7758['prototype']['uint64']=function(_0x3b3e1e){var _0x35cb5a=_0x2b72ca['from'](_0x3b3e1e);return this['_push'](_0x2ef09c,_0x35cb5a['length'](),_0x35cb5a);},_0x2f7758['prototype']['int64']=_0x2f7758['prototype']['uint64'],_0x2f7758['prototype']['sint64']=function(_0x4798fc){var _0x16e93a=_0x2b72ca['from'](_0x4798fc)['zzEncode']();return this['_push'](_0x2ef09c,_0x16e93a['length'](),_0x16e93a);},_0x2f7758['prototype']['bool']=function(_0x3112ae){return this['_push'](_0x2bb305,0x1,_0x3112ae?0x1:0x0);},_0x2f7758['prototype']['fixed32']=function(_0x1cdf45){return this['_push'](_0x4f8e34,0x4,_0x1cdf45>>>0x0);},_0x2f7758['prototype']['sfixed32']=_0x2f7758['prototype']['fixed32'],_0x2f7758['prototype']['fixed64']=function(_0x28c8b6){var _0x5498b1=_0x2b72ca['from'](_0x28c8b6);return this['_push'](_0x4f8e34,0x4,_0x5498b1['lo'])['_push'](_0x4f8e34,0x4,_0x5498b1['hi']);},_0x2f7758['prototype']['sfixed64']=_0x2f7758['prototype']['fixed64'],_0x2f7758['prototype']['float']=function(_0x41661d){return this['_push'](_0xb1d10b['float']['writeFloatLE'],0x4,_0x41661d);},_0x2f7758['prototype']['double']=function(_0x5f4751){return this['_push'](_0xb1d10b['float']['writeDoubleLE'],0x8,_0x5f4751);};var _0x459315=_0xb1d10b['Array']['prototype']['set']?function(_0x37372b,_0xec85f7,_0x506f27){_0xec85f7['set'](_0x37372b,_0x506f27);}:function(_0x54e06c,_0x122f85,_0x316e1a){for(var _0x5dc2f7=0x0;_0x5dc2f7<_0x54e06c['length'];++_0x5dc2f7)_0x122f85[_0x316e1a+_0x5dc2f7]=_0x54e06c[_0x5dc2f7];};return _0x2f7758['prototype']['bytes']=function(_0x44f4c4){var _0x54b349=_0x44f4c4['length']>>>0x0;if(!_0x54b349)return this['_push'](_0x2bb305,0x1,0x0);if(_0xb1d10b['isString'](_0x44f4c4)){var _0x1bc5c0=_0x2f7758['alloc'](_0x54b349=_0x4d85ff['length'](_0x44f4c4));_0x4d85ff['decode'](_0x44f4c4,_0x1bc5c0,0x0),_0x44f4c4=_0x1bc5c0;}return this['uint32'](_0x54b349)['_push'](_0x459315,_0x54b349,_0x44f4c4);},_0x2f7758['prototype']['string']=function(_0x4d44a8){var _0x5e2a38=_0xe2d07b['length'](_0x4d44a8);return _0x5e2a38?this['uint32'](_0x5e2a38)['_push'](_0xe2d07b['write'],_0x5e2a38,_0x4d44a8):this['_push'](_0x2bb305,0x1,0x0);},_0x2f7758['prototype']['fork']=function(){return this['states']=new _0x22db76(this),this['head']=this['tail']=new _0x1a2255(_0x32cead,0x0,0x0),this['len']=0x0,this;},_0x2f7758['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 _0x1a2255(_0x32cead,0x0,0x0),this['len']=0x0),this;},_0x2f7758['prototype']['ldelim']=function(){var _0x337179=this['head'],_0x4e7b29=this['tail'],_0x2eb2b7=this['len'];return this['reset']()['uint32'](_0x2eb2b7),_0x2eb2b7&&(this['tail']['next']=_0x337179['next'],this['tail']=_0x4e7b29,this['len']+=_0x2eb2b7),this;},_0x2f7758['prototype']['finish']=function(){for(var _0x18aa5b=this['head']['next'],_0x13b397=this['constructor']['alloc'](this['len']),_0x150990=0x0;_0x18aa5b;)_0x18aa5b['fn'](_0x18aa5b['val'],_0x13b397,_0x150990),_0x150990+=_0x18aa5b['len'],_0x18aa5b=_0x18aa5b['next'];return _0x13b397;},_0x2f7758['_configure']=function(_0x547e6c){_0x5e5371=_0x547e6c,_0x2f7758['create']=_0x352bf7(),_0x5e5371['_configure']();},_0x1c7a8a;}function _0x2a85c1(){if(_0x2238fe)return _0x285b2a;_0x2238fe=0x1,_0x285b2a=_0x18551e;var _0x1ccdfe,_0x2527f9=_0x2e4f24(),_0x4177a1=_0x2527f9['LongBits'],_0x9ba97d=_0x2527f9['utf8'];function _0x536ac3(_0x3e24dd,_0x1b5802){return RangeError('index\x20out\x20of\x20range:\x20'+_0x3e24dd['pos']+'\x20+\x20'+(_0x1b5802||0x1)+'\x20>\x20'+_0x3e24dd['len']);}function _0x18551e(_0x45d332){this['buf']=_0x45d332,this['pos']=0x0,this['len']=_0x45d332['length'];}var _0x7ec48b='undefined'!=typeof Uint8Array?function(_0x517a87){if(_0x517a87 instanceof Uint8Array||Array['isArray'](_0x517a87))return new _0x18551e(_0x517a87);throw Error('illegal\x20buffer');}:function(_0x17816d){if(Array['isArray'](_0x17816d))return new _0x18551e(_0x17816d);throw Error('illegal\x20buffer');},_0x4840c5=function(){return _0x2527f9['Buffer']?function(_0x5f1b16){return(_0x18551e['create']=function(_0x2011c5){return _0x2527f9['Buffer']['isBuffer'](_0x2011c5)?new _0x1ccdfe(_0x2011c5):_0x7ec48b(_0x2011c5);})(_0x5f1b16);}:_0x7ec48b;};function _0x525592(){var _0x5a5b4e=new _0x4177a1(0x0,0x0),_0x57129c=0x0;if(!(this['len']-this['pos']>0x4)){for(;_0x57129c<0x3;++_0x57129c){if(this['pos']>=this['len'])throw _0x536ac3(this);if(_0x5a5b4e['lo']=(_0x5a5b4e['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x57129c)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5a5b4e;}return _0x5a5b4e['lo']=(_0x5a5b4e['lo']|(0x7f&this['buf'][this['pos']++])<<0x7*_0x57129c)>>>0x0,_0x5a5b4e;}for(;_0x57129c<0x4;++_0x57129c)if(_0x5a5b4e['lo']=(_0x5a5b4e['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x57129c)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5a5b4e;if(_0x5a5b4e['lo']=(_0x5a5b4e['lo']|(0x7f&this['buf'][this['pos']])<<0x1c)>>>0x0,_0x5a5b4e['hi']=(_0x5a5b4e['hi']|(0x7f&this['buf'][this['pos']])>>0x4)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5a5b4e;if(_0x57129c=0x0,this['len']-this['pos']>0x4){for(;_0x57129c<0x5;++_0x57129c)if(_0x5a5b4e['hi']=(_0x5a5b4e['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x57129c+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5a5b4e;}else for(;_0x57129c<0x5;++_0x57129c){if(this['pos']>=this['len'])throw _0x536ac3(this);if(_0x5a5b4e['hi']=(_0x5a5b4e['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x57129c+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x5a5b4e;}throw Error('invalid\x20varint\x20encoding');}function _0x39fd01(_0x4e7ae0,_0x5a7aba){return(_0x4e7ae0[_0x5a7aba-0x4]|_0x4e7ae0[_0x5a7aba-0x3]<<0x8|_0x4e7ae0[_0x5a7aba-0x2]<<0x10|_0x4e7ae0[_0x5a7aba-0x1]<<0x18)>>>0x0;}function _0x2a4bd5(){if(this['pos']+0x8>this['len'])throw _0x536ac3(this,0x8);return new _0x4177a1(_0x39fd01(this['buf'],this['pos']+=0x4),_0x39fd01(this['buf'],this['pos']+=0x4));}return _0x18551e['create']=_0x4840c5(),_0x18551e['prototype']['_slice']=_0x2527f9['Array']['prototype']['subarray']||_0x2527f9['Array']['prototype']['slice'],_0x18551e['prototype']['uint32']=(function(){var _0x49b2c5=0xffffffff;return function(){if(_0x49b2c5=(0x7f&this['buf'][this['pos']])>>>0x0,this['buf'][this['pos']++]<0x80)return _0x49b2c5;if(_0x49b2c5=(_0x49b2c5|(0x7f&this['buf'][this['pos']])<<0x7)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x49b2c5;if(_0x49b2c5=(_0x49b2c5|(0x7f&this['buf'][this['pos']])<<0xe)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x49b2c5;if(_0x49b2c5=(_0x49b2c5|(0x7f&this['buf'][this['pos']])<<0x15)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x49b2c5;if(_0x49b2c5=(_0x49b2c5|(0xf&this['buf'][this['pos']])<<0x1c)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x49b2c5;if((this['pos']+=0x5)>this['len'])throw this['pos']=this['len'],_0x536ac3(this,0xa);return _0x49b2c5;};}()),_0x18551e['prototype']['int32']=function(){return 0x0|this['uint32']();},_0x18551e['prototype']['sint32']=function(){var _0x585cf1=this['uint32']();return _0x585cf1>>>0x1^-(0x1&_0x585cf1);},_0x18551e['prototype']['bool']=function(){return 0x0!==this['uint32']();},_0x18551e['prototype']['fixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x536ac3(this,0x4);return _0x39fd01(this['buf'],this['pos']+=0x4);},_0x18551e['prototype']['sfixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x536ac3(this,0x4);return 0x0|_0x39fd01(this['buf'],this['pos']+=0x4);},_0x18551e['prototype']['float']=function(){if(this['pos']+0x4>this['len'])throw _0x536ac3(this,0x4);var _0x2cda51=_0x2527f9['float']['readFloatLE'](this['buf'],this['pos']);return this['pos']+=0x4,_0x2cda51;},_0x18551e['prototype']['double']=function(){if(this['pos']+0x8>this['len'])throw _0x536ac3(this,0x4);var _0x577e8e=_0x2527f9['float']['readDoubleLE'](this['buf'],this['pos']);return this['pos']+=0x8,_0x577e8e;},_0x18551e['prototype']['bytes']=function(){var _0x11ba16=this['uint32'](),_0x29614d=this['pos'],_0x4c6f44=this['pos']+_0x11ba16;if(_0x4c6f44>this['len'])throw _0x536ac3(this,_0x11ba16);if(this['pos']+=_0x11ba16,Array['isArray'](this['buf']))return this['buf']['slice'](_0x29614d,_0x4c6f44);if(_0x29614d===_0x4c6f44){var _0x146b84=_0x2527f9['Buffer'];return _0x146b84?_0x146b84['alloc'](0x0):new this['buf']['constructor'](0x0);}return this['_slice']['call'](this['buf'],_0x29614d,_0x4c6f44);},_0x18551e['prototype']['string']=function(){var _0x5cea48=this['bytes']();return _0x9ba97d['read'](_0x5cea48,0x0,_0x5cea48['length']);},_0x18551e['prototype']['skip']=function(_0x490343){if('number'==typeof _0x490343){if(this['pos']+_0x490343>this['len'])throw _0x536ac3(this,_0x490343);this['pos']+=_0x490343;}else do{if(this['pos']>=this['len'])throw _0x536ac3(this);}while(0x80&this['buf'][this['pos']++]);return this;},_0x18551e['recursionLimit']=_0x2527f9['recursionLimit'],_0x18551e['prototype']['skipType']=function(_0xed3297,_0x3bbce6){if(void 0x0===_0x3bbce6&&(_0x3bbce6=0x0),_0x3bbce6>_0x18551e['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');switch(_0xed3297){case 0x0:this['skip']();break;case 0x1:this['skip'](0x8);break;case 0x2:this['skip'](this['uint32']());break;case 0x3:for(;0x4!=(_0xed3297=0x7&this['uint32']());)this['skipType'](_0xed3297,_0x3bbce6+0x1);break;case 0x5:this['skip'](0x4);break;default:throw Error('invalid\x20wire\x20type\x20'+_0xed3297+'\x20at\x20offset\x20'+this['pos']);}return this;},_0x18551e['_configure']=function(_0x4b70b1){_0x1ccdfe=_0x4b70b1,_0x18551e['create']=_0x4840c5(),_0x1ccdfe['_configure']();var _0x16e1d9=_0x2527f9['Long']?'toLong':'toNumber';_0x2527f9['merge'](_0x18551e['prototype'],{'int64':function(){return _0x525592['call'](this)[_0x16e1d9](!0x1);},'uint64':function(){return _0x525592['call'](this)[_0x16e1d9](!0x0);},'sint64':function(){return _0x525592['call'](this)['zzDecode']()[_0x16e1d9](!0x1);},'fixed64':function(){return _0x2a4bd5['call'](this)[_0x16e1d9](!0x0);},'sfixed64':function(){return _0x2a4bd5['call'](this)[_0x16e1d9](!0x1);}});},_0x285b2a;}var _0x52f705,_0x1a84f1,_0x38f5af,_0x320457,_0xb20158,_0x41685a,_0x501ce7,_0x576e58,_0x140c54={};function _0x122450(){return _0x38f5af||(_0x38f5af=0x1,_0x140c54['Service']=(function(){if(_0x1a84f1)return _0x52f705;_0x1a84f1=0x1,_0x52f705=_0x21adcd;var _0x329141=_0x2e4f24();function _0x21adcd(_0x39c7c5,_0x401899,_0xb61930){if('function'!=typeof _0x39c7c5)throw TypeError('rpcImpl\x20must\x20be\x20a\x20function');_0x329141['EventEmitter']['call'](this),this['rpcImpl']=_0x39c7c5,this['requestDelimited']=Boolean(_0x401899),this['responseDelimited']=Boolean(_0xb61930);}return(_0x21adcd['prototype']=Object['create'](_0x329141['EventEmitter']['prototype']))['constructor']=_0x21adcd,_0x21adcd['prototype']['rpcCall']=function _0x192f49(_0x4d4a60,_0x415abf,_0x1f2224,_0x8b6279,_0x2c3ed4){if(!_0x8b6279)throw TypeError('request\x20must\x20be\x20specified');var _0x429d2d=this;if(!_0x2c3ed4)return _0x329141['asPromise'](_0x192f49,_0x429d2d,_0x4d4a60,_0x415abf,_0x1f2224,_0x8b6279);if(_0x429d2d['rpcImpl'])try{return _0x429d2d['rpcImpl'](_0x4d4a60,_0x415abf[_0x429d2d['requestDelimited']?'encodeDelimited':'encode'](_0x8b6279)['finish'](),function(_0x4f21a9,_0x3d6536){if(_0x4f21a9)return _0x429d2d['emit']('error',_0x4f21a9,_0x4d4a60),_0x2c3ed4(_0x4f21a9);if(null!==_0x3d6536){if(!(_0x3d6536 instanceof _0x1f2224))try{_0x3d6536=_0x1f2224[_0x429d2d['responseDelimited']?'decodeDelimited':'decode'](_0x3d6536);}catch(_0x58bde6){return _0x429d2d['emit']('error',_0x58bde6,_0x4d4a60),_0x2c3ed4(_0x58bde6);}return _0x429d2d['emit']('data',_0x3d6536,_0x4d4a60),_0x2c3ed4(null,_0x3d6536);}_0x429d2d['end'](!0x0);});}catch(_0x2dd1d5){return _0x429d2d['emit']('error',_0x2dd1d5,_0x4d4a60),void setTimeout(function(){_0x2c3ed4(_0x2dd1d5);},0x0);}else setTimeout(function(){_0x2c3ed4(Error('already\x20ended'));},0x0);},_0x21adcd['prototype']['end']=function(_0x203620){return this['rpcImpl']&&(_0x203620||this['rpcImpl'](null,null,null),this['rpcImpl']=null,this['emit']('end')['off']()),this;},_0x52f705;}())),_0x140c54;}function _0xfd8f20(){return _0x41685a||(_0x41685a=0x1,function(_0x504b86){var _0x5212de=_0x504b86;function _0x523f0c(){_0x5212de['util']['_configure'](),_0x5212de['Writer']['_configure'](_0x5212de['BufferWriter']),_0x5212de['Reader']['_configure'](_0x5212de['BufferReader']);}_0x5212de['build']='minimal',_0x5212de['Writer']=_0x53f7c6(),_0x5212de['BufferWriter']=(function(){if(_0x28ab0f)return _0x3fd171;_0x28ab0f=0x1,_0x3fd171=_0x5ec1f4;var _0x267625=_0x53f7c6();(_0x5ec1f4['prototype']=Object['create'](_0x267625['prototype']))['constructor']=_0x5ec1f4;var _0x5218e4=_0x2e4f24();function _0x5ec1f4(){_0x267625['call'](this);}function _0x158913(_0x17599a,_0x5b8f01,_0x3714da){_0x17599a['length']<0x28?_0x5218e4['utf8']['write'](_0x17599a,_0x5b8f01,_0x3714da):_0x5b8f01['utf8Write']?_0x5b8f01['utf8Write'](_0x17599a,_0x3714da):_0x5b8f01['write'](_0x17599a,_0x3714da);}return _0x5ec1f4['_configure']=function(){_0x5ec1f4['alloc']=_0x5218e4['_Buffer_allocUnsafe'],_0x5ec1f4['writeBytesBuffer']=_0x5218e4['Buffer']&&_0x5218e4['Buffer']['prototype']instanceof Uint8Array&&'set'===_0x5218e4['Buffer']['prototype']['set']['name']?function(_0x3220dc,_0x26ffa5,_0x5f0d80){_0x26ffa5['set'](_0x3220dc,_0x5f0d80);}:function(_0x1aa450,_0xde42cd,_0x4abe1d){if(_0x1aa450['copy'])_0x1aa450['copy'](_0xde42cd,_0x4abe1d,0x0,_0x1aa450['length']);else{for(var _0x2f7a74=0x0;_0x2f7a74<_0x1aa450['length'];)_0xde42cd[_0x4abe1d++]=_0x1aa450[_0x2f7a74++];}};},_0x5ec1f4['prototype']['bytes']=function(_0x36c832){_0x5218e4['isString'](_0x36c832)&&(_0x36c832=_0x5218e4['_Buffer_from'](_0x36c832,'base64'));var _0x5d98e1=_0x36c832['length']>>>0x0;return this['uint32'](_0x5d98e1),_0x5d98e1&&this['_push'](_0x5ec1f4['writeBytesBuffer'],_0x5d98e1,_0x36c832),this;},_0x5ec1f4['prototype']['string']=function(_0x4179e5){var _0x2af9d9=_0x5218e4['Buffer']['byteLength'](_0x4179e5);return this['uint32'](_0x2af9d9),_0x2af9d9&&this['_push'](_0x158913,_0x2af9d9,_0x4179e5),this;},_0x5ec1f4['_configure'](),_0x3fd171;}()),_0x5212de['Reader']=_0x2a85c1(),_0x5212de['BufferReader']=(function(){if(_0x382063)return _0x1267f9;_0x382063=0x1,_0x1267f9=_0x2a99ff;var _0x39a552=_0x2a85c1();(_0x2a99ff['prototype']=Object['create'](_0x39a552['prototype']))['constructor']=_0x2a99ff;var _0x3d8b7f=_0x2e4f24();function _0x2a99ff(_0xff9eb1){_0x39a552['call'](this,_0xff9eb1);}return _0x2a99ff['_configure']=function(){_0x3d8b7f['Buffer']&&(_0x2a99ff['prototype']['_slice']=_0x3d8b7f['Buffer']['prototype']['slice']);},_0x2a99ff['prototype']['string']=function(){var _0xc37be2=this['uint32']();return this['buf']['utf8Slice']?this['buf']['utf8Slice'](this['pos'],this['pos']=Math['min'](this['pos']+_0xc37be2,this['len'])):this['buf']['toString']('utf-8',this['pos'],this['pos']=Math['min'](this['pos']+_0xc37be2,this['len']));},_0x2a99ff['_configure'](),_0x1267f9;}()),_0x5212de['util']=_0x2e4f24(),_0x5212de['rpc']=_0x122450(),_0x5212de['roots']=_0xb20158?_0x320457:(_0xb20158=0x1,_0x320457={}),_0x5212de['configure']=_0x523f0c,_0x523f0c();}(_0x29bd5f)),_0x29bd5f;}var _0x2418c2=_0x576e58?_0x501ce7:(_0x576e58=0x1,_0x501ce7=_0xfd8f20());const _0x355949=Object['create'](null);_0x355949['open']='0',_0x355949['close']='1',_0x355949['ping']='2',_0x355949['pong']='3',_0x355949['message']='4',_0x355949['upgrade']='5',_0x355949['noop']='6';const _0x38fdb5=Object['create'](null);Object['keys'](_0x355949)['forEach'](_0x32f21c=>{_0x38fdb5[_0x355949[_0x32f21c]]=_0x32f21c;});const _0x2c1730={'type':'error','data':'parser\x20error'},_0x5d160b='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===Object['prototype']['toString']['call'](Blob),td='function'==typeof ArrayBuffer,_0x1460d0=_0x8d1b6f=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x8d1b6f):_0x8d1b6f&&_0x8d1b6f['buffer']instanceof ArrayBuffer,_0x339097=({type:_0xfd11b,data:_0x1ec236},_0x19fa99,_0x530ec8)=>_0x5d160b&&_0x1ec236 instanceof Blob?_0x19fa99?_0x530ec8(_0x1ec236):_0x8d8dbc(_0x1ec236,_0x530ec8):td&&(_0x1ec236 instanceof ArrayBuffer||_0x1460d0(_0x1ec236))?_0x19fa99?_0x530ec8(_0x1ec236):_0x8d8dbc(new Blob([_0x1ec236]),_0x530ec8):_0x530ec8(_0x355949[_0xfd11b]+(_0x1ec236||'')),_0x8d8dbc=(_0x3651f8,_0xb40a1e)=>{const _0x4d8eb1=new FileReader();return _0x4d8eb1['onload']=function(){const _0x998a6b=_0x4d8eb1['result']['split'](',')[0x1];_0xb40a1e('b'+(_0x998a6b||''));},_0x4d8eb1['readAsDataURL'](_0x3651f8);};function _0x5c7bcd(_0x4b0f8b){return _0x4b0f8b instanceof Uint8Array?_0x4b0f8b:_0x4b0f8b instanceof ArrayBuffer?new Uint8Array(_0x4b0f8b):new Uint8Array(_0x4b0f8b['buffer'],_0x4b0f8b['byteOffset'],_0x4b0f8b['byteLength']);}let _0x198f78;const _0x3a8d70='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',_0x3bac11='undefined'==typeof Uint8Array?[]:new Uint8Array(0x100);for(let _0x53b7ce=0x0;_0x53b7ce<0x40;_0x53b7ce++)_0x3bac11[_0x3a8d70['charCodeAt'](_0x53b7ce)]=_0x53b7ce;const _0x5ba251='function'==typeof ArrayBuffer,_0x4c4fa5=(_0x565991,_0xd747c8)=>{if('string'!=typeof _0x565991)return{'type':'message','data':_0x28cb7a(_0x565991,_0xd747c8)};const _0x3a1abd=_0x565991['charAt'](0x0);if('b'===_0x3a1abd)return{'type':'message','data':_0x514544(_0x565991['substring'](0x1),_0xd747c8)};return _0x38fdb5[_0x3a1abd]?_0x565991['length']>0x1?{'type':_0x38fdb5[_0x3a1abd],'data':_0x565991['substring'](0x1)}:{'type':_0x38fdb5[_0x3a1abd]}:_0x2c1730;},_0x514544=(_0x270a76,_0x6eb476)=>{if(_0x5ba251){const _0x483d81=(_0x345a7b=>{let _0x1bca98,_0x706bd3,_0x1a7200,_0xe2246a,_0x1ac1dc,_0x3ecd15=0.75*_0x345a7b['length'],_0x5cda96=_0x345a7b['length'],_0x530632=0x0;'='===_0x345a7b[_0x345a7b['length']-0x1]&&(_0x3ecd15--,'='===_0x345a7b[_0x345a7b['length']-0x2]&&_0x3ecd15--);const _0x18339a=new ArrayBuffer(_0x3ecd15),_0x4757a9=new Uint8Array(_0x18339a);for(_0x1bca98=0x0;_0x1bca98<_0x5cda96;_0x1bca98+=0x4)_0x706bd3=_0x3bac11[_0x345a7b['charCodeAt'](_0x1bca98)],_0x1a7200=_0x3bac11[_0x345a7b['charCodeAt'](_0x1bca98+0x1)],_0xe2246a=_0x3bac11[_0x345a7b['charCodeAt'](_0x1bca98+0x2)],_0x1ac1dc=_0x3bac11[_0x345a7b['charCodeAt'](_0x1bca98+0x3)],_0x4757a9[_0x530632++]=_0x706bd3<<0x2|_0x1a7200>>0x4,_0x4757a9[_0x530632++]=(0xf&_0x1a7200)<<0x4|_0xe2246a>>0x2,_0x4757a9[_0x530632++]=(0x3&_0xe2246a)<<0x6|0x3f&_0x1ac1dc;return _0x18339a;})(_0x270a76);return _0x28cb7a(_0x483d81,_0x6eb476);}return{'base64':!0x0,'data':_0x270a76};},_0x28cb7a=(_0x556acf,_0x21a886)=>'blob'===_0x21a886?_0x556acf instanceof Blob?_0x556acf:new Blob([_0x556acf]):_0x556acf instanceof ArrayBuffer?_0x556acf:_0x556acf['buffer'],_0x313bc9=String['fromCharCode'](0x1e);function _0x291845(){return new TransformStream({'transform'(_0x46ee0a,_0x271640){!function(_0x507d2f,_0x47d559){_0x5d160b&&_0x507d2f['data']instanceof Blob?_0x507d2f['data']['arrayBuffer']()['then'](_0x5c7bcd)['then'](_0x47d559):td&&(_0x507d2f['data']instanceof ArrayBuffer||_0x1460d0(_0x507d2f['data']))?_0x47d559(_0x5c7bcd(_0x507d2f['data'])):_0x339097(_0x507d2f,!0x1,_0x380151=>{_0x198f78||(_0x198f78=new TextEncoder()),_0x47d559(_0x198f78['encode'](_0x380151));});}(_0x46ee0a,_0x133653=>{const _0x36b67b=_0x133653['length'];let _0x58456e;if(_0x36b67b<0x7e)_0x58456e=new Uint8Array(0x1),new DataView(_0x58456e['buffer'])['setUint8'](0x0,_0x36b67b);else{if(_0x36b67b<0x10000){_0x58456e=new Uint8Array(0x3);const _0x21a20a=new DataView(_0x58456e['buffer']);_0x21a20a['setUint8'](0x0,0x7e),_0x21a20a['setUint16'](0x1,_0x36b67b);}else{_0x58456e=new Uint8Array(0x9);const _0x142f27=new DataView(_0x58456e['buffer']);_0x142f27['setUint8'](0x0,0x7f),_0x142f27['setBigUint64'](0x1,BigInt(_0x36b67b));}}_0x46ee0a['data']&&'string'!=typeof _0x46ee0a['data']&&(_0x58456e[0x0]|=0x80),_0x271640['enqueue'](_0x58456e),_0x271640['enqueue'](_0x133653);});}});}let _0x4155e4;function _0x511816(_0x2bac96){return _0x2bac96['reduce']((_0x5d1164,_0x5b932d)=>_0x5d1164+_0x5b932d['length'],0x0);}function _0x3fa60d(_0x4f4276,_0x46d823){if(_0x4f4276[0x0]['length']===_0x46d823)return _0x4f4276['shift']();const _0x44c67a=new Uint8Array(_0x46d823);let _0x4857bb=0x0;for(let _0x495c15=0x0;_0x495c15<_0x46d823;_0x495c15++)_0x44c67a[_0x495c15]=_0x4f4276[0x0][_0x4857bb++],_0x4857bb===_0x4f4276[0x0]['length']&&(_0x4f4276['shift'](),_0x4857bb=0x0);return _0x4f4276['length']&&_0x4857bb<_0x4f4276[0x0]['length']&&(_0x4f4276[0x0]=_0x4f4276[0x0]['slice'](_0x4857bb)),_0x44c67a;}function _0x584eaf(_0x554d65){if(_0x554d65)return function(_0x2ac34c){for(var _0x91f22d in _0x584eaf['prototype'])_0x2ac34c[_0x91f22d]=_0x584eaf['prototype'][_0x91f22d];return _0x2ac34c;}(_0x554d65);}_0x584eaf['prototype']['on']=_0x584eaf['prototype']['addEventListener']=function(_0xfc6b96,_0x225124){return this['_callbacks']=this['_callbacks']||{},(this['_callbacks']['$'+_0xfc6b96]=this['_callbacks']['$'+_0xfc6b96]||[])['push'](_0x225124),this;},_0x584eaf['prototype']['once']=function(_0x1c1cdd,_0x3ecf15){function _0x341845(){this['off'](_0x1c1cdd,_0x341845),_0x3ecf15['apply'](this,arguments);}return _0x341845['fn']=_0x3ecf15,this['on'](_0x1c1cdd,_0x341845),this;},_0x584eaf['prototype']['off']=_0x584eaf['prototype']['removeListener']=_0x584eaf['prototype']['removeAllListeners']=_0x584eaf['prototype']['removeEventListener']=function(_0x5d3d3d,_0x59ca5a){if(this['_callbacks']=this['_callbacks']||{},0x0==arguments['length'])return this['_callbacks']={},this;var _0x12dfe5,_0x5e1bd0=this['_callbacks']['$'+_0x5d3d3d];if(!_0x5e1bd0)return this;if(0x1==arguments['length'])return delete this['_callbacks']['$'+_0x5d3d3d],this;for(var _0x4d8bd6=0x0;_0x4d8bd6<_0x5e1bd0['length'];_0x4d8bd6++)if((_0x12dfe5=_0x5e1bd0[_0x4d8bd6])===_0x59ca5a||_0x12dfe5['fn']===_0x59ca5a){_0x5e1bd0['splice'](_0x4d8bd6,0x1);break;}return 0x0===_0x5e1bd0['length']&&delete this['_callbacks']['$'+_0x5d3d3d],this;},_0x584eaf['prototype']['emit']=function(_0x14a88f){this['_callbacks']=this['_callbacks']||{};for(var _0xb8b506=new Array(arguments['length']-0x1),_0x14c12a=this['_callbacks']['$'+_0x14a88f],_0x5ada38=0x1;_0x5ada38<arguments['length'];_0x5ada38++)_0xb8b506[_0x5ada38-0x1]=arguments[_0x5ada38];if(_0x14c12a){_0x5ada38=0x0;for(var _0x28f75d=(_0x14c12a=_0x14c12a['slice'](0x0))['length'];_0x5ada38<_0x28f75d;++_0x5ada38)_0x14c12a[_0x5ada38]['apply'](this,_0xb8b506);}return this;},_0x584eaf['prototype']['emitReserved']=_0x584eaf['prototype']['emit'],_0x584eaf['prototype']['listeners']=function(_0x212967){return this['_callbacks']=this['_callbacks']||{},this['_callbacks']['$'+_0x212967]||[];},_0x584eaf['prototype']['hasListeners']=function(_0x5dc683){return!!this['listeners'](_0x5dc683)['length'];};const _0x25c2fe='undefined'!=typeof self?self:'undefined'!=typeof window?window:Function('return\x20this')();function _0xa29adc(_0x3c44d4,..._0x4c2208){return _0x4c2208['reduce']((_0x4a032a,_0x1302bd)=>(_0x3c44d4['hasOwnProperty'](_0x1302bd)&&(_0x4a032a[_0x1302bd]=_0x3c44d4[_0x1302bd]),_0x4a032a),{});}const _0x5c69f7=_0x25c2fe['setTimeout'],_0x513846=_0x25c2fe['clearTimeout'];function _0x4d2bce(_0x1d71bc,_0x3454d3){_0x3454d3['useNativeTimers']?(_0x1d71bc['setTimeoutFn']=_0x5c69f7['bind'](_0x25c2fe),_0x1d71bc['clearTimeoutFn']=_0x513846['bind'](_0x25c2fe)):(_0x1d71bc['setTimeoutFn']=_0x25c2fe['setTimeout']['bind'](_0x25c2fe),_0x1d71bc['clearTimeoutFn']=_0x25c2fe['clearTimeout']['bind'](_0x25c2fe));}function _0x326f3b(_0x3a9a2c){return'string'==typeof _0x3a9a2c?function(_0x4106fb){let _0x4c32e0=0x0,_0x31f2a8=0x0;for(let _0x52828b=0x0,_0x51b553=_0x4106fb['length'];_0x52828b<_0x51b553;_0x52828b++)_0x4c32e0=_0x4106fb['charCodeAt'](_0x52828b),_0x4c32e0<0x80?_0x31f2a8+=0x1:_0x4c32e0<0x800?_0x31f2a8+=0x2:_0x4c32e0<0xd800||_0x4c32e0>=0xe000?_0x31f2a8+=0x3:(_0x52828b++,_0x31f2a8+=0x4);return _0x31f2a8;}(_0x3a9a2c):Math['ceil'](1.33*(_0x3a9a2c['byteLength']||_0x3a9a2c['size']));}class TransportError extends Error{constructor(_0x1b5399,_0x4be03b,_0x1c1065){super(_0x1b5399),this['description']=_0x4be03b,this['context']=_0x1c1065,this['type']='TransportError';}}class Transport extends _0x584eaf{constructor(_0x291c29){super(),this['writable']=!0x1,_0x4d2bce(this,_0x291c29),this['opts']=_0x291c29,this['query']=_0x291c29['query'],this['socket']=_0x291c29['socket'];}['onError'](_0x3b569c,_0x236ba3,_0x231c8f){return super['emitReserved']('error',new TransportError(_0x3b569c,_0x236ba3,_0x231c8f)),this;}['open'](){return this['readyState']='opening',this['doOpen'](),this;}['close'](){return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['doClose'](),this['onClose']()),this;}['send'](_0xd4f4e7){'open'===this['readyState']&&this['write'](_0xd4f4e7);}['onOpen'](){this['readyState']='open',this['writable']=!0x0,super['emitReserved']('open');}['onData'](_0x59e851){const _0x19aa75=_0x4c4fa5(_0x59e851,this['socket']['binaryType']);this['onPacket'](_0x19aa75);}['onPacket'](_0x3a2564){super['emitReserved']('packet',_0x3a2564);}['onClose'](_0xcadaec){this['readyState']='closed',super['emitReserved']('close',_0xcadaec);}['pause'](_0x4d7e73){}['createUri'](_0x295646,_0x46004c={}){return _0x295646+'://'+this['_hostname']()+this['_port']()+this['opts']['path']+this['_query'](_0x46004c);}['_hostname'](){const _0x352059=this['opts']['hostname'];return-0x1===_0x352059['indexOf'](':')?_0x352059:'['+_0x352059+']';}['_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'](_0x35aee6){const _0x2a49aa=function(_0x47a0a8){let _0x44341e='';for(let _0x2d86f2 in _0x47a0a8)_0x47a0a8['hasOwnProperty'](_0x2d86f2)&&(_0x44341e['length']&&(_0x44341e+='&'),_0x44341e+=encodeURIComponent(_0x2d86f2)+'='+encodeURIComponent(_0x47a0a8[_0x2d86f2]));return _0x44341e;}(_0x35aee6);return _0x2a49aa['length']?'?'+_0x2a49aa:'';}}const _0x440189='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'['split'](''),_0x1756fa={};let _0x9967bb,_0x5340db=0x0,_0x2a3896=0x0;function _0x4594fb(_0x2ddfb3){let _0x377232='';do{_0x377232=_0x440189[_0x2ddfb3%0x40]+_0x377232,_0x2ddfb3=Math['floor'](_0x2ddfb3/0x40);}while(_0x2ddfb3>0x0);return _0x377232;}function _0x2d6428(){const _0x3b0355=_0x4594fb(+new Date());return _0x3b0355!==_0x9967bb?(_0x5340db=0x0,_0x9967bb=_0x3b0355):_0x3b0355+'.'+_0x4594fb(_0x5340db++);}for(;_0x2a3896<0x40;_0x2a3896++)_0x1756fa[_0x440189[_0x2a3896]]=_0x2a3896;let _0x18c4c0=!0x1;try{_0x18c4c0='undefined'!=typeof XMLHttpRequest&&'withCredentials'in new XMLHttpRequest();}catch(_0xb38c43){}const _0x375703=_0x18c4c0;function _0x56fd14(_0x505a0e){const _0x2f610b=_0x505a0e['xdomain'];try{if('undefined'!=typeof XMLHttpRequest&&(!_0x2f610b||_0x375703))return new XMLHttpRequest();}catch(_0x43acb1){}if(!_0x2f610b)try{return new _0x25c2fe[(['Active']['concat']('Object')['join']('X'))]('Microsoft.XMLHTTP');}catch(_0x253575){}}function _0x322e60(){}const _0x521d02=null!=new _0x56fd14({'xdomain':!0x1})['responseType'];class Request extends _0x584eaf{constructor(_0x861098,_0x11c9af){super(),_0x4d2bce(this,_0x11c9af),this['opts']=_0x11c9af,this['method']=_0x11c9af['method']||'GET',this['uri']=_0x861098,this['data']=void 0x0!==_0x11c9af['data']?_0x11c9af['data']:null,this['create']();}['create'](){var _0x1cf95c;const _0xb42b79=_0xa29adc(this['opts'],'agent','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','autoUnref');_0xb42b79['xdomain']=!!this['opts']['xd'];const _0x53384c=this['xhr']=new _0x56fd14(_0xb42b79);try{_0x53384c['open'](this['method'],this['uri'],!0x0);try{if(this['opts']['extraHeaders']){_0x53384c['setDisableHeaderCheck']&&_0x53384c['setDisableHeaderCheck'](!0x0);for(let _0x57f89a in this['opts']['extraHeaders'])this['opts']['extraHeaders']['hasOwnProperty'](_0x57f89a)&&_0x53384c['setRequestHeader'](_0x57f89a,this['opts']['extraHeaders'][_0x57f89a]);}}catch(_0x1eb84d){}if('POST'===this['method'])try{_0x53384c['setRequestHeader']('Content-type','text/plain;charset=UTF-8');}catch(_0x4df88d){}try{_0x53384c['setRequestHeader']('Accept','*/*');}catch(_0x31e5af){}null===(_0x1cf95c=this['opts']['cookieJar'])||void 0x0===_0x1cf95c||_0x1cf95c['addCookies'](_0x53384c),'withCredentials'in _0x53384c&&(_0x53384c['withCredentials']=this['opts']['withCredentials']),this['opts']['requestTimeout']&&(_0x53384c['timeout']=this['opts']['requestTimeout']),_0x53384c['onreadystatechange']=()=>{var _0x19f05a;0x3===_0x53384c['readyState']&&(null===(_0x19f05a=this['opts']['cookieJar'])||void 0x0===_0x19f05a||_0x19f05a['parseCookies'](_0x53384c)),0x4===_0x53384c['readyState']&&(0xc8===_0x53384c['status']||0x4c7===_0x53384c['status']?this['onLoad']():this['setTimeoutFn'](()=>{this['onError']('number'==typeof _0x53384c['status']?_0x53384c['status']:0x0);},0x0));},_0x53384c['send'](this['data']);}catch(_0x3653c7){return void this['setTimeoutFn'](()=>{this['onError'](_0x3653c7);},0x0);}'undefined'!=typeof document&&(this['index']=Request['requestsCount']++,Request['requests'][this['index']]=this);}['onError'](_0x51fc4c){this['emitReserved']('error',_0x51fc4c,this['xhr']),this['cleanup'](!0x0);}['cleanup'](_0x1279a8){if(void 0x0!==this['xhr']&&null!==this['xhr']){if(this['xhr']['onreadystatechange']=_0x322e60,_0x1279a8)try{this['xhr']['abort']();}catch(_0x4c6af5){}'undefined'!=typeof document&&delete Request['requests'][this['index']],this['xhr']=null;}}['onLoad'](){const _0x59992a=this['xhr']['responseText'];null!==_0x59992a&&(this['emitReserved']('data',_0x59992a),this['emitReserved']('success'),this['cleanup']());}['abort'](){this['cleanup']();}}if(Request['requestsCount']=0x0,Request['requests']={},'undefined'!=typeof document){if('function'==typeof attachEvent)attachEvent('onunload',_0x13b930);else'function'==typeof addEventListener&&addEventListener('onpagehide'in _0x25c2fe?'pagehide':'unload',_0x13b930,!0x1);}function _0x13b930(){for(let _0x9d8db1 in Request['requests'])Request['requests']['hasOwnProperty'](_0x9d8db1)&&Request['requests'][_0x9d8db1]['abort']();}const _0x5f4c92='function'==typeof Promise&&'function'==typeof Promise['resolve']?_0x8d4b14=>Promise['resolve']()['then'](_0x8d4b14):(_0x109b53,_0x25a780)=>_0x25a780(_0x109b53,0x0),_0x4dd598=_0x25c2fe['WebSocket']||_0x25c2fe['MozWebSocket'],_0x522eab='undefined'!=typeof navigator&&'string'==typeof navigator['product']&&'reactnative'===navigator['product']['toLowerCase'](),_0x1ff509={'websocket':class _0xe42210 extends Transport{constructor(_0x4d3cba){super(_0x4d3cba),this['supportsBinary']=!_0x4d3cba['forceBase64'];}get['name'](){return'websocket';}['doOpen'](){if(!this['check']())return;const _0x4daa31=this['uri'](),_0x78e1fb=this['opts']['protocols'],_0x427154=_0x522eab?{}:_0xa29adc(this['opts'],'agent','perMessageDeflate','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','localAddress','protocolVersion','origin','maxPayload','family','checkServerIdentity');this['opts']['extraHeaders']&&(_0x427154['headers']=this['opts']['extraHeaders']);try{this['ws']=_0x522eab?new _0x4dd598(_0x4daa31,_0x78e1fb,_0x427154):_0x78e1fb?new _0x4dd598(_0x4daa31,_0x78e1fb):new _0x4dd598(_0x4daa31);}catch(_0x30c5c4){return this['emitReserved']('error',_0x30c5c4);}this['ws']['binaryType']=this['socket']['binaryType'],this['addEventListeners']();}['addEventListeners'](){this['ws']['onopen']=()=>{this['opts']['autoUnref']&&this['ws']['_socket']['unref'](),this['onOpen']();},this['ws']['onclose']=_0x482b40=>this['onClose']({'description':'websocket\x20connection\x20closed','context':_0x482b40}),this['ws']['onmessage']=_0xb0ce9f=>this['onData'](_0xb0ce9f['data']),this['ws']['onerror']=_0x5da677=>this['onError']('websocket\x20error',_0x5da677);}['write'](_0x17faea){this['writable']=!0x1;for(let _0x1d1cf4=0x0;_0x1d1cf4<_0x17faea['length'];_0x1d1cf4++){const _0x4c908c=_0x17faea[_0x1d1cf4],_0x422fee=_0x1d1cf4===_0x17faea['length']-0x1;_0x339097(_0x4c908c,this['supportsBinary'],_0x7e9ea1=>{try{this['ws']['send'](_0x7e9ea1);}catch(_0x41f95b){}_0x422fee&&_0x5f4c92(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){void 0x0!==this['ws']&&(this['ws']['close'](),this['ws']=null);}['uri'](){const _0x2a411b=this['opts']['secure']?'wss':'ws',_0x4f4d5a=this['query']||{};return this['opts']['timestampRequests']&&(_0x4f4d5a[this['opts']['timestampParam']]=_0x2d6428()),this['supportsBinary']||(_0x4f4d5a['b64']=0x1),this['createUri'](_0x2a411b,_0x4f4d5a);}['check'](){return!!_0x4dd598;}},'webtransport':class _0x5795aa 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'](_0x48abf5=>{this['onError']('webtransport\x20error',_0x48abf5);}),this['transport']['ready']['then'](()=>{this['transport']['createBidirectionalStream']()['then'](_0x5a0ce0=>{const _0x1b2998=function(_0x385efc,_0x53cbcf){_0x4155e4||(_0x4155e4=new TextDecoder());const _0x3a8db0=[];let _0x218d01=0x0,_0x11b538=-0x1,_0x5b8f50=!0x1;return new TransformStream({'transform'(_0x29f4e7,_0x497c07){for(_0x3a8db0['push'](_0x29f4e7);;){if(0x0===_0x218d01){if(_0x511816(_0x3a8db0)<0x1)break;const _0x28509b=_0x3fa60d(_0x3a8db0,0x1);_0x5b8f50=!(0x80&~_0x28509b[0x0]),_0x11b538=0x7f&_0x28509b[0x0],_0x218d01=_0x11b538<0x7e?0x3:0x7e===_0x11b538?0x1:0x2;}else{if(0x1===_0x218d01){if(_0x511816(_0x3a8db0)<0x2)break;const _0x500b28=_0x3fa60d(_0x3a8db0,0x2);_0x11b538=new DataView(_0x500b28['buffer'],_0x500b28['byteOffset'],_0x500b28['length'])['getUint16'](0x0),_0x218d01=0x3;}else{if(0x2===_0x218d01){if(_0x511816(_0x3a8db0)<0x8)break;const _0x119063=_0x3fa60d(_0x3a8db0,0x8),_0x5b3a80=new DataView(_0x119063['buffer'],_0x119063['byteOffset'],_0x119063['length']),_0x2d2d2f=_0x5b3a80['getUint32'](0x0);if(_0x2d2d2f>Math['pow'](0x2,0x15)-0x1){_0x497c07['enqueue'](_0x2c1730);break;}_0x11b538=_0x2d2d2f*Math['pow'](0x2,0x20)+_0x5b3a80['getUint32'](0x4),_0x218d01=0x3;}else{if(_0x511816(_0x3a8db0)<_0x11b538)break;const _0x310c98=_0x3fa60d(_0x3a8db0,_0x11b538);_0x497c07['enqueue'](_0x4c4fa5(_0x5b8f50?_0x310c98:_0x4155e4['decode'](_0x310c98),_0x53cbcf)),_0x218d01=0x0;}}}if(0x0===_0x11b538||_0x11b538>_0x385efc){_0x497c07['enqueue'](_0x2c1730);break;}}}});}(Number['MAX_SAFE_INTEGER'],this['socket']['binaryType']),_0x3f92d7=_0x5a0ce0['readable']['pipeThrough'](_0x1b2998)['getReader'](),_0x1eb6be=_0x291845();_0x1eb6be['readable']['pipeTo'](_0x5a0ce0['writable']),this['writer']=_0x1eb6be['writable']['getWriter']();const _0x36e962=()=>{_0x3f92d7['read']()['then'](({done:_0x245d39,value:_0xfe3a63})=>{_0x245d39||(this['onPacket'](_0xfe3a63),_0x36e962());})['catch'](_0x60e38c=>{});};_0x36e962();const _0x3c177e={'type':'open'};this['query']['sid']&&(_0x3c177e['data']='{\x22sid\x22:\x22'+this['query']['sid']+'\x22}'),this['writer']['write'](_0x3c177e)['then'](()=>this['onOpen']());});}));}['write'](_0x2e6cfc){this['writable']=!0x1;for(let _0x49ffda=0x0;_0x49ffda<_0x2e6cfc['length'];_0x49ffda++){const _0x4b4451=_0x2e6cfc[_0x49ffda],_0x4790c=_0x49ffda===_0x2e6cfc['length']-0x1;this['writer']['write'](_0x4b4451)['then'](()=>{_0x4790c&&_0x5f4c92(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){var _0x1af955;null===(_0x1af955=this['transport'])||void 0x0===_0x1af955||_0x1af955['close']();}},'polling':class _0x4b1846 extends Transport{constructor(_0x4095b6){if(super(_0x4095b6),this['polling']=!0x1,'undefined'!=typeof location){const _0x4bd982='https:'===location['protocol'];let _0xa74a1f=location['port'];_0xa74a1f||(_0xa74a1f=_0x4bd982?'443':'80'),this['xd']='undefined'!=typeof location&&_0x4095b6['hostname']!==location['hostname']||_0xa74a1f!==_0x4095b6['port'];}const _0x436a44=_0x4095b6&&_0x4095b6['forceBase64'];this['supportsBinary']=_0x521d02&&!_0x436a44,this['opts']['withCredentials']&&(this['cookieJar']=void 0x0);}get['name'](){return'polling';}['doOpen'](){this['poll']();}['pause'](_0x5042c1){this['readyState']='pausing';const _0x3b84ef=()=>{this['readyState']='paused',_0x5042c1();};if(this['polling']||!this['writable']){let _0x4a7ae2=0x0;this['polling']&&(_0x4a7ae2++,this['once']('pollComplete',function(){--_0x4a7ae2||_0x3b84ef();})),this['writable']||(_0x4a7ae2++,this['once']('drain',function(){--_0x4a7ae2||_0x3b84ef();}));}else _0x3b84ef();}['poll'](){this['polling']=!0x0,this['doPoll'](),this['emitReserved']('poll');}['onData'](_0x23b0c6){((_0x407a6a,_0x551252)=>{const _0x102beb=_0x407a6a['split'](_0x313bc9),_0x559c78=[];for(let _0x5f00a9=0x0;_0x5f00a9<_0x102beb['length'];_0x5f00a9++){const _0x3fef02=_0x4c4fa5(_0x102beb[_0x5f00a9],_0x551252);if(_0x559c78['push'](_0x3fef02),'error'===_0x3fef02['type'])break;}return _0x559c78;})(_0x23b0c6,this['socket']['binaryType'])['forEach'](_0xb4ec00=>{if('opening'===this['readyState']&&'open'===_0xb4ec00['type']&&this['onOpen'](),'close'===_0xb4ec00['type'])return this['onClose']({'description':'transport\x20closed\x20by\x20the\x20server'}),!0x1;this['onPacket'](_0xb4ec00);}),'closed'!==this['readyState']&&(this['polling']=!0x1,this['emitReserved']('pollComplete'),'open'===this['readyState']&&this['poll']());}['doClose'](){const _0x124533=()=>{this['write']([{'type':'close'}]);};'open'===this['readyState']?_0x124533():this['once']('open',_0x124533);}['write'](_0x5b3fdf){this['writable']=!0x1,((_0x3ba70c,_0x58538c)=>{const _0x229ecd=_0x3ba70c['length'],_0x4d159c=new Array(_0x229ecd);let _0xae2fc5=0x0;_0x3ba70c['forEach']((_0x4584c3,_0x4ee03b)=>{_0x339097(_0x4584c3,!0x1,_0xfb966=>{_0x4d159c[_0x4ee03b]=_0xfb966,++_0xae2fc5===_0x229ecd&&_0x58538c(_0x4d159c['join'](_0x313bc9));});});})(_0x5b3fdf,_0x3e2f80=>{this['doWrite'](_0x3e2f80,()=>{this['writable']=!0x0,this['emitReserved']('drain');});});}['uri'](){const _0x2bb008=this['opts']['secure']?'https':'http',_0x374a62=this['query']||{};return!0x1!==this['opts']['timestampRequests']&&(_0x374a62[this['opts']['timestampParam']]=_0x2d6428()),this['supportsBinary']||_0x374a62['sid']||(_0x374a62['b64']=0x1),this['createUri'](_0x2bb008,_0x374a62);}['request'](_0x578111={}){return Object['assign'](_0x578111,{'xd':this['xd'],'cookieJar':this['cookieJar']},this['opts']),new Request(this['uri'](),_0x578111);}['doWrite'](_0x4b509e,_0x562a53){const _0x35fb85=this['request']({'method':'POST','data':_0x4b509e});_0x35fb85['on']('success',_0x562a53),_0x35fb85['on']('error',(_0x35192e,_0x5a3c30)=>{this['onError']('xhr\x20post\x20error',_0x35192e,_0x5a3c30);});}['doPoll'](){const _0x14b052=this['request']();_0x14b052['on']('data',this['onData']['bind'](this)),_0x14b052['on']('error',(_0x44a3fa,_0x5d5de6)=>{this['onError']('xhr\x20poll\x20error',_0x44a3fa,_0x5d5de6);}),this['pollXhr']=_0x14b052;}}},_0x238f3e=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,_0x28cca6=['source','protocol','authority','userInfo','user','password','host','port','relative','path','directory','file','query','anchor'];function _0x318b8f(_0x40d1be){if(_0x40d1be['length']>0x7d0)throw'URI\x20too\x20long';const _0x89fa9e=_0x40d1be,_0x13dbb1=_0x40d1be['indexOf']('['),_0x2ff412=_0x40d1be['indexOf'](']');-0x1!=_0x13dbb1&&-0x1!=_0x2ff412&&(_0x40d1be=_0x40d1be['substring'](0x0,_0x13dbb1)+_0x40d1be['substring'](_0x13dbb1,_0x2ff412)['replace'](/:/g,';')+_0x40d1be['substring'](_0x2ff412,_0x40d1be['length']));let _0x9c4578=_0x238f3e['exec'](_0x40d1be||''),_0x50357f={},_0x431d24=0xe;for(;_0x431d24--;)_0x50357f[_0x28cca6[_0x431d24]]=_0x9c4578[_0x431d24]||'';return-0x1!=_0x13dbb1&&-0x1!=_0x2ff412&&(_0x50357f['source']=_0x89fa9e,_0x50357f['host']=_0x50357f['host']['substring'](0x1,_0x50357f['host']['length']-0x1)['replace'](/;/g,':'),_0x50357f['authority']=_0x50357f['authority']['replace']('[','')['replace'](']','')['replace'](/;/g,':'),_0x50357f['ipv6uri']=!0x0),_0x50357f['pathNames']=function(_0x31b1d3,_0x32571a){const _0x43ee1b=/\/{2,9}/g,_0x88583a=_0x32571a['replace'](_0x43ee1b,'/')['split']('/');return'/'!=_0x32571a['slice'](0x0,0x1)&&0x0!==_0x32571a['length']||_0x88583a['splice'](0x0,0x1),'/'==_0x32571a['slice'](-0x1)&&_0x88583a['splice'](_0x88583a['length']-0x1,0x1),_0x88583a;}(0x0,_0x50357f['path']),_0x50357f['queryKey']=function(_0x4d002c,_0x4ba9bc){const _0x1b42e0={};return _0x4ba9bc['replace'](/(?:^|&)([^&=]*)=?([^&]*)/g,function(_0x12483e,_0x42f1ac,_0x416824){_0x42f1ac&&(_0x1b42e0[_0x42f1ac]=_0x416824);}),_0x1b42e0;}(0x0,_0x50357f['query']),_0x50357f;}let _0x38dd73=class Socket extends _0x584eaf{constructor(_0x47baad,_0x58a00b={}){super(),this['binaryType']='arraybuffer',this['writeBuffer']=[],_0x47baad&&'object'==typeof _0x47baad&&(_0x58a00b=_0x47baad,_0x47baad=null),_0x47baad?(_0x47baad=_0x318b8f(_0x47baad),_0x58a00b['hostname']=_0x47baad['host'],_0x58a00b['secure']='https'===_0x47baad['protocol']||'wss'===_0x47baad['protocol'],_0x58a00b['port']=_0x47baad['port'],_0x47baad['query']&&(_0x58a00b['query']=_0x47baad['query'])):_0x58a00b['host']&&(_0x58a00b['hostname']=_0x318b8f(_0x58a00b['host'])['host']),_0x4d2bce(this,_0x58a00b),this['secure']=null!=_0x58a00b['secure']?_0x58a00b['secure']:'undefined'!=typeof location&&'https:'===location['protocol'],_0x58a00b['hostname']&&!_0x58a00b['port']&&(_0x58a00b['port']=this['secure']?'443':'80'),this['hostname']=_0x58a00b['hostname']||('undefined'!=typeof location?location['hostname']:'localhost'),this['port']=_0x58a00b['port']||('undefined'!=typeof location&&location['port']?location['port']:this['secure']?'443':'80'),this['transports']=_0x58a00b['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},_0x58a00b),this['opts']['path']=this['opts']['path']['replace'](/\/$/,'')+(this['opts']['addTrailingSlash']?'/':''),'string'==typeof this['opts']['query']&&(this['opts']['query']=function(_0x561385){let _0x2068fd={},_0x38c9bf=_0x561385['split']('&');for(let _0x19a2e9=0x0,_0x4ddd8a=_0x38c9bf['length'];_0x19a2e9<_0x4ddd8a;_0x19a2e9++){let _0x5b863d=_0x38c9bf[_0x19a2e9]['split']('=');_0x2068fd[decodeURIComponent(_0x5b863d[0x0])]=decodeURIComponent(_0x5b863d[0x1]);}return _0x2068fd;}(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'](_0x1dfd8e){const _0x1907d9=Object['assign']({},this['opts']['query']);_0x1907d9['EIO']=0x4,_0x1907d9['transport']=_0x1dfd8e,this['id']&&(_0x1907d9['sid']=this['id']);const _0x2b3a63=Object['assign']({},this['opts'],{'query':_0x1907d9,'socket':this,'hostname':this['hostname'],'secure':this['secure'],'port':this['port']},this['opts']['transportOptions'][_0x1dfd8e]);return new _0x1ff509[_0x1dfd8e](_0x2b3a63);}['open'](){let _0x5908bc;if(this['opts']['rememberUpgrade']&&Socket['priorWebsocketSuccess']&&-0x1!==this['transports']['indexOf']('websocket'))_0x5908bc='websocket';else{if(0x0===this['transports']['length'])return void this['setTimeoutFn'](()=>{this['emitReserved']('error','No\x20transports\x20available');},0x0);_0x5908bc=this['transports'][0x0];}this['readyState']='opening';try{_0x5908bc=this['createTransport'](_0x5908bc);}catch(_0x397a90){return this['transports']['shift'](),void this['open']();}_0x5908bc['open'](),this['setTransport'](_0x5908bc);}['setTransport'](_0x3869a5){this['transport']&&this['transport']['removeAllListeners'](),this['transport']=_0x3869a5,_0x3869a5['on']('drain',this['onDrain']['bind'](this))['on']('packet',this['onPacket']['bind'](this))['on']('error',this['onError']['bind'](this))['on']('close',_0x85fa49=>this['onClose']('transport\x20close',_0x85fa49));}['probe'](_0x1bd9ef){let _0x4d647c=this['createTransport'](_0x1bd9ef),_0x35cc4f=!0x1;Socket['priorWebsocketSuccess']=!0x1;const _0xfbeb6e=()=>{_0x35cc4f||(_0x4d647c['send']([{'type':'ping','data':'probe'}]),_0x4d647c['once']('packet',_0x2956e3=>{if(!_0x35cc4f){if('pong'===_0x2956e3['type']&&'probe'===_0x2956e3['data']){if(this['upgrading']=!0x0,this['emitReserved']('upgrading',_0x4d647c),!_0x4d647c)return;Socket['priorWebsocketSuccess']='websocket'===_0x4d647c['name'],this['transport']['pause'](()=>{_0x35cc4f||'closed'!==this['readyState']&&(_0x2cc815(),this['setTransport'](_0x4d647c),_0x4d647c['send']([{'type':'upgrade'}]),this['emitReserved']('upgrade',_0x4d647c),_0x4d647c=null,this['upgrading']=!0x1,this['flush']());});}else{const _0x1177e5=new Error('probe\x20error');_0x1177e5['transport']=_0x4d647c['name'],this['emitReserved']('upgradeError',_0x1177e5);}}}));};function _0xa165(){_0x35cc4f||(_0x35cc4f=!0x0,_0x2cc815(),_0x4d647c['close'](),_0x4d647c=null);}const _0x5e1249=_0x34544c=>{const _0x2337f4=new Error('probe\x20error:\x20'+_0x34544c);_0x2337f4['transport']=_0x4d647c['name'],_0xa165(),this['emitReserved']('upgradeError',_0x2337f4);};function _0x26ce26(){_0x5e1249('transport\x20closed');}function _0x30f2e8(){_0x5e1249('socket\x20closed');}function _0x54d1e0(_0x4bb0c7){_0x4d647c&&_0x4bb0c7['name']!==_0x4d647c['name']&&_0xa165();}const _0x2cc815=()=>{_0x4d647c['removeListener']('open',_0xfbeb6e),_0x4d647c['removeListener']('error',_0x5e1249),_0x4d647c['removeListener']('close',_0x26ce26),this['off']('close',_0x30f2e8),this['off']('upgrading',_0x54d1e0);};_0x4d647c['once']('open',_0xfbeb6e),_0x4d647c['once']('error',_0x5e1249),_0x4d647c['once']('close',_0x26ce26),this['once']('close',_0x30f2e8),this['once']('upgrading',_0x54d1e0),-0x1!==this['upgrades']['indexOf']('webtransport')&&'webtransport'!==_0x1bd9ef?this['setTimeoutFn'](()=>{_0x35cc4f||_0x4d647c['open']();},0xc8):_0x4d647c['open']();}['onOpen'](){if(this['readyState']='open',Socket['priorWebsocketSuccess']='websocket'===this['transport']['name'],this['emitReserved']('open'),this['flush'](),'open'===this['readyState']&&this['opts']['upgrade']){let _0x59ea12=0x0;const _0x5aad24=this['upgrades']['length'];for(;_0x59ea12<_0x5aad24;_0x59ea12++)this['probe'](this['upgrades'][_0x59ea12]);}}['onPacket'](_0x22c80c){if('opening'===this['readyState']||'open'===this['readyState']||'closing'===this['readyState'])switch(this['emitReserved']('packet',_0x22c80c),this['emitReserved']('heartbeat'),this['resetPingTimeout'](),_0x22c80c['type']){case'open':this['onHandshake'](JSON['parse'](_0x22c80c['data']));break;case'ping':this['sendPacket']('pong'),this['emitReserved']('ping'),this['emitReserved']('pong');break;case'error':const _0x23b040=new Error('server\x20error');_0x23b040['code']=_0x22c80c['data'],this['onError'](_0x23b040);break;case'message':this['emitReserved']('data',_0x22c80c['data']),this['emitReserved']('message',_0x22c80c['data']);}}['onHandshake'](_0x1af5e9){this['emitReserved']('handshake',_0x1af5e9),this['id']=_0x1af5e9['sid'],this['transport']['query']['sid']=_0x1af5e9['sid'],this['upgrades']=this['filterUpgrades'](_0x1af5e9['upgrades']),this['pingInterval']=_0x1af5e9['pingInterval'],this['pingTimeout']=_0x1af5e9['pingTimeout'],this['maxPayload']=_0x1af5e9['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 _0x2d5874=this['getWritablePackets']();this['transport']['send'](_0x2d5874),this['prevBufferLen']=_0x2d5874['length'],this['emitReserved']('flush');}}['getWritablePackets'](){if(!(this['maxPayload']&&'polling'===this['transport']['name']&&this['writeBuffer']['length']>0x1))return this['writeBuffer'];let _0x441f7d=0x1;for(let _0x166836=0x0;_0x166836<this['writeBuffer']['length'];_0x166836++){const _0x243ea1=this['writeBuffer'][_0x166836]['data'];if(_0x243ea1&&(_0x441f7d+=_0x326f3b(_0x243ea1)),_0x166836>0x0&&_0x441f7d>this['maxPayload'])return this['writeBuffer']['slice'](0x0,_0x166836);_0x441f7d+=0x2;}return this['writeBuffer'];}['write'](_0x52beee,_0xcf5504,_0x29622a){return this['sendPacket']('message',_0x52beee,_0xcf5504,_0x29622a),this;}['send'](_0x2963e7,_0x12ac37,_0xf73634){return this['sendPacket']('message',_0x2963e7,_0x12ac37,_0xf73634),this;}['sendPacket'](_0x38f209,_0x59902b,_0x28ebfa,_0x5514a5){if('function'==typeof _0x59902b&&(_0x5514a5=_0x59902b,_0x59902b=void 0x0),'function'==typeof _0x28ebfa&&(_0x5514a5=_0x28ebfa,_0x28ebfa=null),'closing'===this['readyState']||'closed'===this['readyState'])return;(_0x28ebfa=_0x28ebfa||{})['compress']=!0x1!==_0x28ebfa['compress'];const _0x435237={'type':_0x38f209,'data':_0x59902b,'options':_0x28ebfa};this['emitReserved']('packetCreate',_0x435237),this['writeBuffer']['push'](_0x435237),_0x5514a5&&this['once']('flush',_0x5514a5),this['flush']();}['close'](){const _0x2ca457=()=>{this['onClose']('forced\x20close'),this['transport']['close']();},_0x172020=()=>{this['off']('upgrade',_0x172020),this['off']('upgradeError',_0x172020),_0x2ca457();},_0x4d5d9c=()=>{this['once']('upgrade',_0x172020),this['once']('upgradeError',_0x172020);};return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['readyState']='closing',this['writeBuffer']['length']?this['once']('drain',()=>{this['upgrading']?_0x4d5d9c():_0x2ca457();}):this['upgrading']?_0x4d5d9c():_0x2ca457()),this;}['onError'](_0x4862f5){Socket['priorWebsocketSuccess']=!0x1,this['emitReserved']('error',_0x4862f5),this['onClose']('transport\x20error',_0x4862f5);}['onClose'](_0x1cf388,_0x515a50){'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',_0x1cf388,_0x515a50),this['writeBuffer']=[],this['prevBufferLen']=0x0);}['filterUpgrades'](_0x105eaf){const _0xe9cdd7=[];let _0x5c8703=0x0;const _0x59c40f=_0x105eaf['length'];for(;_0x5c8703<_0x59c40f;_0x5c8703++)~this['transports']['indexOf'](_0x105eaf[_0x5c8703])&&_0xe9cdd7['push'](_0x105eaf[_0x5c8703]);return _0xe9cdd7;}};_0x38dd73['protocol']=0x4;const _0x35be34='function'==typeof ArrayBuffer,_0xc118e4=Object['prototype']['toString'],_0x1a4956='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===_0xc118e4['call'](Blob),_0x15f338='function'==typeof File||'undefined'!=typeof File&&'[object\x20FileConstructor]'===_0xc118e4['call'](File);function _0x10a144(_0x58c630){return _0x35be34&&(_0x58c630 instanceof ArrayBuffer||(_0xd069bc=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0xd069bc):_0xd069bc['buffer']instanceof ArrayBuffer)(_0x58c630))||_0x1a4956&&_0x58c630 instanceof Blob||_0x15f338&&_0x58c630 instanceof File;}function _0x3e6ca4(_0x2fb2cf,_0xa8f00d){if(!_0x2fb2cf||'object'!=typeof _0x2fb2cf)return!0x1;if(Array['isArray'](_0x2fb2cf)){for(let _0x4cee12=0x0,_0x26f7a2=_0x2fb2cf['length'];_0x4cee12<_0x26f7a2;_0x4cee12++)if(_0x3e6ca4(_0x2fb2cf[_0x4cee12]))return!0x0;return!0x1;}if(_0x10a144(_0x2fb2cf))return!0x0;if(_0x2fb2cf['toJSON']&&'function'==typeof _0x2fb2cf['toJSON']&&0x1===arguments['length'])return _0x3e6ca4(_0x2fb2cf['toJSON'](),!0x0);for(const _0x1c9bf2 in _0x2fb2cf)if(Object['prototype']['hasOwnProperty']['call'](_0x2fb2cf,_0x1c9bf2)&&_0x3e6ca4(_0x2fb2cf[_0x1c9bf2]))return!0x0;return!0x1;}function _0x40a7a3(_0x44c2b1){const _0x18ba76=[],_0x142166=_0x44c2b1['data'],_0x3e9a92=_0x44c2b1;return _0x3e9a92['data']=_0x535b3a(_0x142166,_0x18ba76),_0x3e9a92['attachments']=_0x18ba76['length'],{'packet':_0x3e9a92,'buffers':_0x18ba76};}function _0x535b3a(_0xa5e099,_0x5d18db){if(!_0xa5e099)return _0xa5e099;if(_0x10a144(_0xa5e099)){const _0x197b30={'_placeholder':!0x0,'num':_0x5d18db['length']};return _0x5d18db['push'](_0xa5e099),_0x197b30;}if(Array['isArray'](_0xa5e099)){const _0x25e435=new Array(_0xa5e099['length']);for(let _0x59ef8e=0x0;_0x59ef8e<_0xa5e099['length'];_0x59ef8e++)_0x25e435[_0x59ef8e]=_0x535b3a(_0xa5e099[_0x59ef8e],_0x5d18db);return _0x25e435;}if('object'==typeof _0xa5e099&&!(_0xa5e099 instanceof Date)){const _0x479309={};for(const _0x4fb037 in _0xa5e099)Object['prototype']['hasOwnProperty']['call'](_0xa5e099,_0x4fb037)&&(_0x479309[_0x4fb037]=_0x535b3a(_0xa5e099[_0x4fb037],_0x5d18db));return _0x479309;}return _0xa5e099;}function _0x166b8c(_0x12886e,_0x201d3f){return _0x12886e['data']=tf(_0x12886e['data'],_0x201d3f),delete _0x12886e['attachments'],_0x12886e;}function tf(_0x3375ad,_0x2e2a29){if(!_0x3375ad)return _0x3375ad;if(_0x3375ad&&!0x0===_0x3375ad['_placeholder']){if('number'==typeof _0x3375ad['num']&&_0x3375ad['num']>=0x0&&_0x3375ad['num']<_0x2e2a29['length'])return _0x2e2a29[_0x3375ad['num']];throw new Error('illegal\x20attachments');}if(Array['isArray'](_0x3375ad)){for(let _0x3f8c40=0x0;_0x3f8c40<_0x3375ad['length'];_0x3f8c40++)_0x3375ad[_0x3f8c40]=tf(_0x3375ad[_0x3f8c40],_0x2e2a29);}else{if('object'==typeof _0x3375ad){for(const _0x2a3e90 in _0x3375ad)Object['prototype']['hasOwnProperty']['call'](_0x3375ad,_0x2a3e90)&&(_0x3375ad[_0x2a3e90]=tf(_0x3375ad[_0x2a3e90],_0x2e2a29));}}return _0x3375ad;}const _0x30b7e3=['connect','connect_error','disconnect','disconnecting','newListener','removeListener'];var _0x11e7a7;!function(_0x2a8b98){_0x2a8b98[_0x2a8b98['CONNECT']=0x0]='CONNECT',_0x2a8b98[_0x2a8b98['DISCONNECT']=0x1]='DISCONNECT',_0x2a8b98[_0x2a8b98['EVENT']=0x2]='EVENT',_0x2a8b98[_0x2a8b98['ACK']=0x3]='ACK',_0x2a8b98[_0x2a8b98['CONNECT_ERROR']=0x4]='CONNECT_ERROR',_0x2a8b98[_0x2a8b98['BINARY_EVENT']=0x5]='BINARY_EVENT',_0x2a8b98[_0x2a8b98['BINARY_ACK']=0x6]='BINARY_ACK';}(_0x11e7a7||(_0x11e7a7={}));let _0x38414d=class _0x5b97ab{constructor(_0x3a48f9){this['replacer']=_0x3a48f9;}['encode'](_0x523535){return _0x523535['type']!==_0x11e7a7['EVENT']&&_0x523535['type']!==_0x11e7a7['ACK']||!_0x3e6ca4(_0x523535)?[this['encodeAsString'](_0x523535)]:this['encodeAsBinary']({'type':_0x523535['type']===_0x11e7a7['EVENT']?_0x11e7a7['BINARY_EVENT']:_0x11e7a7['BINARY_ACK'],'nsp':_0x523535['nsp'],'data':_0x523535['data'],'id':_0x523535['id']});}['encodeAsString'](_0x3bf5a0){let _0x4c12a8=''+_0x3bf5a0['type'];return _0x3bf5a0['type']!==_0x11e7a7['BINARY_EVENT']&&_0x3bf5a0['type']!==_0x11e7a7['BINARY_ACK']||(_0x4c12a8+=_0x3bf5a0['attachments']+'-'),_0x3bf5a0['nsp']&&'/'!==_0x3bf5a0['nsp']&&(_0x4c12a8+=_0x3bf5a0['nsp']+','),null!=_0x3bf5a0['id']&&(_0x4c12a8+=_0x3bf5a0['id']),null!=_0x3bf5a0['data']&&(_0x4c12a8+=JSON['stringify'](_0x3bf5a0['data'],this['replacer'])),_0x4c12a8;}['encodeAsBinary'](_0xc3e454){const _0x5a1526=_0x40a7a3(_0xc3e454),_0x1784d7=this['encodeAsString'](_0x5a1526['packet']),_0x184e6f=_0x5a1526['buffers'];return _0x184e6f['unshift'](_0x1784d7),_0x184e6f;}},_0x5cc279=class _0x5d1210 extends _0x584eaf{constructor(_0xb0124f){super(),this['opts']=Object['assign']({'reviver':void 0x0,'maxAttachments':0xa},'function'==typeof _0xb0124f?{'reviver':_0xb0124f}:_0xb0124f);}['add'](_0x3f004e){let _0x433507;if('string'==typeof _0x3f004e){if(this['reconstructor'])throw new Error('got\x20plaintext\x20data\x20when\x20reconstructing\x20a\x20packet');_0x433507=this['decodeString'](_0x3f004e);const _0x3917a2=_0x433507['type']===_0x11e7a7['BINARY_EVENT'];_0x3917a2||_0x433507['type']===_0x11e7a7['BINARY_ACK']?(_0x433507['type']=_0x3917a2?_0x11e7a7['EVENT']:_0x11e7a7['ACK'],this['reconstructor']=new BinaryReconstructor(_0x433507),0x0===_0x433507['attachments']&&super['emitReserved']('decoded',_0x433507)):super['emitReserved']('decoded',_0x433507);}else{if(!_0x10a144(_0x3f004e)&&!_0x3f004e['base64'])throw new Error('Unknown\x20type:\x20'+_0x3f004e);if(!this['reconstructor'])throw new Error('got\x20binary\x20data\x20when\x20not\x20reconstructing\x20a\x20packet');_0x433507=this['reconstructor']['takeBinaryData'](_0x3f004e),_0x433507&&(this['reconstructor']=null,super['emitReserved']('decoded',_0x433507));}}['decodeString'](_0x48f4ed){let _0x3a12cf=0x0;const _0x4c97c7={'type':Number(_0x48f4ed['charAt'](0x0))};if(void 0x0===_0x11e7a7[_0x4c97c7['type']])throw new Error('unknown\x20packet\x20type\x20'+_0x4c97c7['type']);if(_0x4c97c7['type']===_0x11e7a7['BINARY_EVENT']||_0x4c97c7['type']===_0x11e7a7['BINARY_ACK']){const _0x47e6cd=_0x3a12cf+0x1;for(;'-'!==_0x48f4ed['charAt'](++_0x3a12cf)&&_0x3a12cf!=_0x48f4ed['length'];);const _0x470d62=_0x48f4ed['substring'](_0x47e6cd,_0x3a12cf);if(_0x470d62!=Number(_0x470d62)||'-'!==_0x48f4ed['charAt'](_0x3a12cf))throw new Error('Illegal\x20attachments');const _0xce2f8d=Number(_0x470d62);if(!_0x3399cc(_0xce2f8d)||_0xce2f8d<0x0)throw new Error('Illegal\x20attachments');if(_0xce2f8d>this['opts']['maxAttachments'])throw new Error('too\x20many\x20attachments');_0x4c97c7['attachments']=_0xce2f8d;}if('/'===_0x48f4ed['charAt'](_0x3a12cf+0x1)){const _0x530338=_0x3a12cf+0x1;for(;++_0x3a12cf;){if(','===_0x48f4ed['charAt'](_0x3a12cf))break;if(_0x3a12cf===_0x48f4ed['length'])break;}_0x4c97c7['nsp']=_0x48f4ed['substring'](_0x530338,_0x3a12cf);}else _0x4c97c7['nsp']='/';const _0x56a7ae=_0x48f4ed['charAt'](_0x3a12cf+0x1);if(''!==_0x56a7ae&&Number(_0x56a7ae)==_0x56a7ae){const _0x53cd0f=_0x3a12cf+0x1;for(;++_0x3a12cf;){const _0x5673d5=_0x48f4ed['charAt'](_0x3a12cf);if(null==_0x5673d5||Number(_0x5673d5)!=_0x5673d5){--_0x3a12cf;break;}if(_0x3a12cf===_0x48f4ed['length'])break;}_0x4c97c7['id']=Number(_0x48f4ed['substring'](_0x53cd0f,_0x3a12cf+0x1));}if(_0x48f4ed['charAt'](++_0x3a12cf)){const _0x3e386c=this['tryParse'](_0x48f4ed['substr'](_0x3a12cf));if(!_0x5d1210['isPayloadValid'](_0x4c97c7['type'],_0x3e386c))throw new Error('invalid\x20payload');_0x4c97c7['data']=_0x3e386c;}return _0x4c97c7;}['tryParse'](_0x130803){try{return JSON['parse'](_0x130803,this['opts']['reviver']);}catch(_0x4020e6){return!0x1;}}static['isPayloadValid'](_0x1f05c2,_0x14f191){switch(_0x1f05c2){case _0x11e7a7['CONNECT']:return _0x1967a0(_0x14f191);case _0x11e7a7['DISCONNECT']:return void 0x0===_0x14f191;case _0x11e7a7['CONNECT_ERROR']:return'string'==typeof _0x14f191||_0x1967a0(_0x14f191);case _0x11e7a7['EVENT']:case _0x11e7a7['BINARY_EVENT']:return Array['isArray'](_0x14f191)&&('number'==typeof _0x14f191[0x0]||'string'==typeof _0x14f191[0x0]&&-0x1===_0x30b7e3['indexOf'](_0x14f191[0x0]));case _0x11e7a7['ACK']:case _0x11e7a7['BINARY_ACK']:return Array['isArray'](_0x14f191);}}['destroy'](){this['reconstructor']&&(this['reconstructor']['finishedReconstruction'](),this['reconstructor']=null);}};class BinaryReconstructor{constructor(_0x247c5a){this['packet']=_0x247c5a,this['buffers']=[],this['reconPack']=_0x247c5a;}['takeBinaryData'](_0xed740e){if(this['buffers']['push'](_0xed740e),this['buffers']['length']===this['reconPack']['attachments']){const _0x4fb074=_0x166b8c(this['reconPack'],this['buffers']);return this['finishedReconstruction'](),_0x4fb074;}return null;}['finishedReconstruction'](){this['reconPack']=null,this['buffers']=[];}}const _0x3399cc=Number['isInteger']||function(_0x316f02){return'number'==typeof _0x316f02&&isFinite(_0x316f02)&&Math['floor'](_0x316f02)===_0x316f02;};function _0x1967a0(_0x36702f){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x36702f);}var _0x3ee7a0=Object['freeze']({'__proto__':null,'Decoder':_0x5cc279,'Encoder':_0x38414d,get 'PacketType'(){return _0x11e7a7;}});function _0x25a5a2(_0x3e3a8f,_0x530d8f,_0x345f38){return _0x3e3a8f['on'](_0x530d8f,_0x345f38),function(){_0x3e3a8f['off'](_0x530d8f,_0x345f38);};}const _0x2aab62=Object['freeze']({'connect':0x1,'connect_error':0x1,'disconnect':0x1,'disconnecting':0x1,'newListener':0x1,'removeListener':0x1});class Socket extends _0x584eaf{constructor(_0xac4102,_0x5c5f02,_0x5e48a8){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']=_0xac4102,this['nsp']=_0x5c5f02,_0x5e48a8&&_0x5e48a8['auth']&&(this['auth']=_0x5e48a8['auth']),this['_opts']=Object['assign']({},_0x5e48a8),this['io']['_autoConnect']&&this['open']();}get['disconnected'](){return!this['connected'];}['subEvents'](){if(this['subs'])return;const _0x6b7f43=this['io'];this['subs']=[_0x25a5a2(_0x6b7f43,'open',this['onopen']['bind'](this)),_0x25a5a2(_0x6b7f43,'packet',this['onpacket']['bind'](this)),_0x25a5a2(_0x6b7f43,'error',this['onerror']['bind'](this)),_0x25a5a2(_0x6b7f43,'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'](..._0x5325ad){return _0x5325ad['unshift']('message'),this['emit']['apply'](this,_0x5325ad),this;}['emit'](_0x20b4bb,..._0xbac321){if(_0x2aab62['hasOwnProperty'](_0x20b4bb))throw new Error('\x22'+_0x20b4bb['toString']()+'\x22\x20is\x20a\x20reserved\x20event\x20name');if(_0xbac321['unshift'](_0x20b4bb),this['_opts']['retries']&&!this['flags']['fromQueue']&&!this['flags']['volatile'])return this['_addToQueue'](_0xbac321),this;const _0xa369b5={'type':_0x11e7a7['EVENT'],'data':_0xbac321,'options':{}};if(_0xa369b5['options']['compress']=!0x1!==this['flags']['compress'],'function'==typeof _0xbac321[_0xbac321['length']-0x1]){const _0x33ec29=this['ids']++,_0x2a24f4=_0xbac321['pop']();this['_registerAckCallback'](_0x33ec29,_0x2a24f4),_0xa369b5['id']=_0x33ec29;}const _0x4dfa48=this['io']['engine']&&this['io']['engine']['transport']&&this['io']['engine']['transport']['writable'];return this['flags']['volatile']&&(!_0x4dfa48||!this['connected'])||(this['connected']?(this['notifyOutgoingListeners'](_0xa369b5),this['packet'](_0xa369b5)):this['sendBuffer']['push'](_0xa369b5)),this['flags']={},this;}['_registerAckCallback'](_0x1bd6f6,_0x23b781){var _0x42d38e;const _0x4652e6=null!==(_0x42d38e=this['flags']['timeout'])&&void 0x0!==_0x42d38e?_0x42d38e:this['_opts']['ackTimeout'];if(void 0x0===_0x4652e6)return void(this['acks'][_0x1bd6f6]=_0x23b781);const _0x196fdf=this['io']['setTimeoutFn'](()=>{delete this['acks'][_0x1bd6f6];for(let _0x1950c3=0x0;_0x1950c3<this['sendBuffer']['length'];_0x1950c3++)this['sendBuffer'][_0x1950c3]['id']===_0x1bd6f6&&this['sendBuffer']['splice'](_0x1950c3,0x1);_0x23b781['call'](this,new Error('operation\x20has\x20timed\x20out'));},_0x4652e6);this['acks'][_0x1bd6f6]=(..._0x19ec26)=>{this['io']['clearTimeoutFn'](_0x196fdf),_0x23b781['apply'](this,[null,..._0x19ec26]);};}['emitWithAck'](_0x2cc5d5,..._0x1b5c1d){const _0x4674dc=void 0x0!==this['flags']['timeout']||void 0x0!==this['_opts']['ackTimeout'];return new Promise((_0x2bc6d0,_0x54e392)=>{_0x1b5c1d['push']((_0x1917a3,_0x551810)=>_0x4674dc?_0x1917a3?_0x54e392(_0x1917a3):_0x2bc6d0(_0x551810):_0x2bc6d0(_0x1917a3)),this['emit'](_0x2cc5d5,..._0x1b5c1d);});}['_addToQueue'](_0x1a4ac7){let _0x3f0057;'function'==typeof _0x1a4ac7[_0x1a4ac7['length']-0x1]&&(_0x3f0057=_0x1a4ac7['pop']());const _0x289c5a={'id':this['_queueSeq']++,'tryCount':0x0,'pending':!0x1,'args':_0x1a4ac7,'flags':Object['assign']({'fromQueue':!0x0},this['flags'])};_0x1a4ac7['push']((_0x43ae09,..._0x5771b2)=>{if(_0x289c5a!==this['_queue'][0x0])return;return null!==_0x43ae09?_0x289c5a['tryCount']>this['_opts']['retries']&&(this['_queue']['shift'](),_0x3f0057&&_0x3f0057(_0x43ae09)):(this['_queue']['shift'](),_0x3f0057&&_0x3f0057(null,..._0x5771b2)),_0x289c5a['pending']=!0x1,this['_drainQueue']();}),this['_queue']['push'](_0x289c5a),this['_drainQueue']();}['_drainQueue'](_0x3af674=!0x1){if(!this['connected']||0x0===this['_queue']['length'])return;const _0x41f541=this['_queue'][0x0];_0x41f541['pending']&&!_0x3af674||(_0x41f541['pending']=!0x0,_0x41f541['tryCount']++,this['flags']=_0x41f541['flags'],this['emit']['apply'](this,_0x41f541['args']));}['packet'](_0x176374){_0x176374['nsp']=this['nsp'],this['io']['_packet'](_0x176374);}['onopen'](){'function'==typeof this['auth']?this['auth'](_0x39cfc0=>{this['_sendConnectPacket'](_0x39cfc0);}):this['_sendConnectPacket'](this['auth']);}['_sendConnectPacket'](_0x531315){this['packet']({'type':_0x11e7a7['CONNECT'],'data':this['_pid']?Object['assign']({'pid':this['_pid'],'offset':this['_lastOffset']},_0x531315):_0x531315});}['onerror'](_0x461ffb){this['connected']||this['emitReserved']('connect_error',_0x461ffb);}['onclose'](_0x284228,_0x25ff66){this['connected']=!0x1,delete this['id'],this['emitReserved']('disconnect',_0x284228,_0x25ff66);}['onpacket'](_0x4e59b9){if(_0x4e59b9['nsp']===this['nsp'])switch(_0x4e59b9['type']){case _0x11e7a7['CONNECT']:_0x4e59b9['data']&&_0x4e59b9['data']['sid']?this['onconnect'](_0x4e59b9['data']['sid'],_0x4e59b9['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 _0x11e7a7['EVENT']:case _0x11e7a7['BINARY_EVENT']:this['onevent'](_0x4e59b9);break;case _0x11e7a7['ACK']:case _0x11e7a7['BINARY_ACK']:this['onack'](_0x4e59b9);break;case _0x11e7a7['DISCONNECT']:this['ondisconnect']();break;case _0x11e7a7['CONNECT_ERROR']:this['destroy']();const _0x35548b=new Error(_0x4e59b9['data']['message']);_0x35548b['data']=_0x4e59b9['data']['data'],this['emitReserved']('connect_error',_0x35548b);}}['onevent'](_0x5c6653){const _0x1b0ed8=_0x5c6653['data']||[];null!=_0x5c6653['id']&&_0x1b0ed8['push'](this['ack'](_0x5c6653['id'])),this['connected']?this['emitEvent'](_0x1b0ed8):this['receiveBuffer']['push'](Object['freeze'](_0x1b0ed8));}['emitEvent'](_0x3bedcb){if(this['_anyListeners']&&this['_anyListeners']['length']){const _0x1fdf20=this['_anyListeners']['slice']();for(const _0x254392 of _0x1fdf20)_0x254392['apply'](this,_0x3bedcb);}super['emit']['apply'](this,_0x3bedcb),this['_pid']&&_0x3bedcb['length']&&'string'==typeof _0x3bedcb[_0x3bedcb['length']-0x1]&&(this['_lastOffset']=_0x3bedcb[_0x3bedcb['length']-0x1]);}['ack'](_0x138149){const _0x178e6b=this;let _0x4737b8=!0x1;return function(..._0x1d464e){_0x4737b8||(_0x4737b8=!0x0,_0x178e6b['packet']({'type':_0x11e7a7['ACK'],'id':_0x138149,'data':_0x1d464e}));};}['onack'](_0x4531e4){const _0x38fde5=this['acks'][_0x4531e4['id']];'function'==typeof _0x38fde5&&(_0x38fde5['apply'](this,_0x4531e4['data']),delete this['acks'][_0x4531e4['id']]);}['onconnect'](_0xb3672c,_0x58683b){this['id']=_0xb3672c,this['recovered']=_0x58683b&&this['_pid']===_0x58683b,this['_pid']=_0x58683b,this['connected']=!0x0,this['emitBuffered'](),this['emitReserved']('connect'),this['_drainQueue'](!0x0);}['emitBuffered'](){this['receiveBuffer']['forEach'](_0x3089eb=>this['emitEvent'](_0x3089eb)),this['receiveBuffer']=[],this['sendBuffer']['forEach'](_0x22712b=>{this['notifyOutgoingListeners'](_0x22712b),this['packet'](_0x22712b);}),this['sendBuffer']=[];}['ondisconnect'](){this['destroy'](),this['onclose']('io\x20server\x20disconnect');}['destroy'](){this['subs']&&(this['subs']['forEach'](_0x8b9f2f=>_0x8b9f2f()),this['subs']=void 0x0),this['io']['_destroy'](this);}['disconnect'](){return this['connected']&&this['packet']({'type':_0x11e7a7['DISCONNECT']}),this['destroy'](),this['connected']&&this['onclose']('io\x20client\x20disconnect'),this;}['close'](){return this['disconnect']();}['compress'](_0x5518e2){return this['flags']['compress']=_0x5518e2,this;}get['volatile'](){return this['flags']['volatile']=!0x0,this;}['timeout'](_0x524953){return this['flags']['timeout']=_0x524953,this;}['onAny'](_0x27aee5){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['push'](_0x27aee5),this;}['prependAny'](_0x17f93c){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['unshift'](_0x17f93c),this;}['offAny'](_0x20347e){if(!this['_anyListeners'])return this;if(_0x20347e){const _0xfe6589=this['_anyListeners'];for(let _0x224fca=0x0;_0x224fca<_0xfe6589['length'];_0x224fca++)if(_0x20347e===_0xfe6589[_0x224fca])return _0xfe6589['splice'](_0x224fca,0x1),this;}else this['_anyListeners']=[];return this;}['listenersAny'](){return this['_anyListeners']||[];}['onAnyOutgoing'](_0x374dac){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['push'](_0x374dac),this;}['prependAnyOutgoing'](_0x23c1f7){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['unshift'](_0x23c1f7),this;}['offAnyOutgoing'](_0x4bc1eb){if(!this['_anyOutgoingListeners'])return this;if(_0x4bc1eb){const _0x562d13=this['_anyOutgoingListeners'];for(let _0xd6e64a=0x0;_0xd6e64a<_0x562d13['length'];_0xd6e64a++)if(_0x4bc1eb===_0x562d13[_0xd6e64a])return _0x562d13['splice'](_0xd6e64a,0x1),this;}else this['_anyOutgoingListeners']=[];return this;}['listenersAnyOutgoing'](){return this['_anyOutgoingListeners']||[];}['notifyOutgoingListeners'](_0x1bc5e0){if(this['_anyOutgoingListeners']&&this['_anyOutgoingListeners']['length']){const _0x590078=this['_anyOutgoingListeners']['slice']();for(const _0x596f2c of _0x590078)_0x596f2c['apply'](this,_0x1bc5e0['data']);}}}function _0x33df73(_0x21ecd4){_0x21ecd4=_0x21ecd4||{},this['ms']=_0x21ecd4['min']||0x64,this['max']=_0x21ecd4['max']||0x2710,this['factor']=_0x21ecd4['factor']||0x2,this['jitter']=_0x21ecd4['jitter']>0x0&&_0x21ecd4['jitter']<=0x1?_0x21ecd4['jitter']:0x0,this['attempts']=0x0;}_0x33df73['prototype']['duration']=function(){var _0x5b5ba9=this['ms']*Math['pow'](this['factor'],this['attempts']++);if(this['jitter']){var _0x209023=Math['random'](),_0x4857d7=Math['floor'](_0x209023*this['jitter']*_0x5b5ba9);_0x5b5ba9=0x1&Math['floor'](0xa*_0x209023)?_0x5b5ba9+_0x4857d7:_0x5b5ba9-_0x4857d7;}return 0x0|Math['min'](_0x5b5ba9,this['max']);},_0x33df73['prototype']['reset']=function(){this['attempts']=0x0;},_0x33df73['prototype']['setMin']=function(_0x61d3ec){this['ms']=_0x61d3ec;},_0x33df73['prototype']['setMax']=function(_0x5b1401){this['max']=_0x5b1401;},_0x33df73['prototype']['setJitter']=function(_0x474f68){this['jitter']=_0x474f68;};class _0x5ced92 extends _0x584eaf{constructor(_0x55e994,_0x14eeed){var _0x300adf;super(),this['nsps']={},this['subs']=[],_0x55e994&&'object'==typeof _0x55e994&&(_0x14eeed=_0x55e994,_0x55e994=void 0x0),(_0x14eeed=_0x14eeed||{})['path']=_0x14eeed['path']||'/socket.io',this['opts']=_0x14eeed,_0x4d2bce(this,_0x14eeed),this['reconnection'](!0x1!==_0x14eeed['reconnection']),this['reconnectionAttempts'](_0x14eeed['reconnectionAttempts']||0x1/0x0),this['reconnectionDelay'](_0x14eeed['reconnectionDelay']||0x3e8),this['reconnectionDelayMax'](_0x14eeed['reconnectionDelayMax']||0x1388),this['randomizationFactor'](null!==(_0x300adf=_0x14eeed['randomizationFactor'])&&void 0x0!==_0x300adf?_0x300adf:0.5),this['backoff']=new _0x33df73({'min':this['reconnectionDelay'](),'max':this['reconnectionDelayMax'](),'jitter':this['randomizationFactor']()}),this['timeout'](null==_0x14eeed['timeout']?0x4e20:_0x14eeed['timeout']),this['_readyState']='closed',this['uri']=_0x55e994;const _0xe8e01a=_0x14eeed['parser']||_0x3ee7a0;this['encoder']=new _0xe8e01a['Encoder'](),this['decoder']=new _0xe8e01a['Decoder'](),this['_autoConnect']=!0x1!==_0x14eeed['autoConnect'],this['_autoConnect']&&this['open']();}['reconnection'](_0x11f1ff){return arguments['length']?(this['_reconnection']=!!_0x11f1ff,this):this['_reconnection'];}['reconnectionAttempts'](_0x5822de){return void 0x0===_0x5822de?this['_reconnectionAttempts']:(this['_reconnectionAttempts']=_0x5822de,this);}['reconnectionDelay'](_0x552ef2){var _0x90a1d6;return void 0x0===_0x552ef2?this['_reconnectionDelay']:(this['_reconnectionDelay']=_0x552ef2,null===(_0x90a1d6=this['backoff'])||void 0x0===_0x90a1d6||_0x90a1d6['setMin'](_0x552ef2),this);}['randomizationFactor'](_0x1364c5){var _0x5e6b53;return void 0x0===_0x1364c5?this['_randomizationFactor']:(this['_randomizationFactor']=_0x1364c5,null===(_0x5e6b53=this['backoff'])||void 0x0===_0x5e6b53||_0x5e6b53['setJitter'](_0x1364c5),this);}['reconnectionDelayMax'](_0x3bd5a9){var _0x58c0ff;return void 0x0===_0x3bd5a9?this['_reconnectionDelayMax']:(this['_reconnectionDelayMax']=_0x3bd5a9,null===(_0x58c0ff=this['backoff'])||void 0x0===_0x58c0ff||_0x58c0ff['setMax'](_0x3bd5a9),this);}['timeout'](_0x48d2cc){return arguments['length']?(this['_timeout']=_0x48d2cc,this):this['_timeout'];}['maybeReconnectOnOpen'](){!this['_reconnecting']&&this['_reconnection']&&0x0===this['backoff']['attempts']&&this['reconnect']();}['open'](_0x598ed2){if(~this['_readyState']['indexOf']('open'))return this;this['engine']=new _0x38dd73(this['uri'],this['opts']);const _0x54e02b=this['engine'],_0x6e52ed=this;this['_readyState']='opening',this['skipReconnect']=!0x1;const _0x56159c=_0x25a5a2(_0x54e02b,'open',function(){_0x6e52ed['onopen'](),_0x598ed2&&_0x598ed2();}),_0x10be6f=_0x3af23c=>{this['cleanup'](),this['_readyState']='closed',this['emitReserved']('error',_0x3af23c),_0x598ed2?_0x598ed2(_0x3af23c):this['maybeReconnectOnOpen']();},_0x404a72=_0x25a5a2(_0x54e02b,'error',_0x10be6f);if(!0x1!==this['_timeout']){const _0x1574b0=this['_timeout'],_0x4a0380=this['setTimeoutFn'](()=>{_0x56159c(),_0x10be6f(new Error('timeout')),_0x54e02b['close']();},_0x1574b0);this['opts']['autoUnref']&&_0x4a0380['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x4a0380);});}return this['subs']['push'](_0x56159c),this['subs']['push'](_0x404a72),this;}['connect'](_0x5d0c34){return this['open'](_0x5d0c34);}['onopen'](){this['cleanup'](),this['_readyState']='open',this['emitReserved']('open');const _0x58b808=this['engine'];this['subs']['push'](_0x25a5a2(_0x58b808,'ping',this['onping']['bind'](this)),_0x25a5a2(_0x58b808,'data',this['ondata']['bind'](this)),_0x25a5a2(_0x58b808,'error',this['onerror']['bind'](this)),_0x25a5a2(_0x58b808,'close',this['onclose']['bind'](this)),_0x25a5a2(this['decoder'],'decoded',this['ondecoded']['bind'](this)));}['onping'](){this['emitReserved']('ping');}['ondata'](_0x3a6a41){try{this['decoder']['add'](_0x3a6a41);}catch(_0x70079b){this['onclose']('parse\x20error',_0x70079b);}}['ondecoded'](_0x50797d){_0x5f4c92(()=>{this['emitReserved']('packet',_0x50797d);},this['setTimeoutFn']);}['onerror'](_0x1f7eee){this['emitReserved']('error',_0x1f7eee);}['socket'](_0x4ba383,_0x43a68b){let _0x41612d=this['nsps'][_0x4ba383];return _0x41612d?this['_autoConnect']&&!_0x41612d['active']&&_0x41612d['connect']():(_0x41612d=new Socket(this,_0x4ba383,_0x43a68b),this['nsps'][_0x4ba383]=_0x41612d),_0x41612d;}['_destroy'](_0x41e121){const _0x4cfa01=Object['keys'](this['nsps']);for(const _0x31a7c6 of _0x4cfa01){if(this['nsps'][_0x31a7c6]['active'])return;}this['_close']();}['_packet'](_0x2ce719){const _0x186978=this['encoder']['encode'](_0x2ce719);for(let _0x266eab=0x0;_0x266eab<_0x186978['length'];_0x266eab++)this['engine']['write'](_0x186978[_0x266eab],_0x2ce719['options']);}['cleanup'](){this['subs']['forEach'](_0x4097b0=>_0x4097b0()),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'](_0x476f50,_0x39fbba){this['cleanup'](),this['backoff']['reset'](),this['_readyState']='closed',this['emitReserved']('close',_0x476f50,_0x39fbba),this['_reconnection']&&!this['skipReconnect']&&this['reconnect']();}['reconnect'](){if(this['_reconnecting']||this['skipReconnect'])return this;const _0x5134b6=this;if(this['backoff']['attempts']>=this['_reconnectionAttempts'])this['backoff']['reset'](),this['emitReserved']('reconnect_failed'),this['_reconnecting']=!0x1;else{const _0x43b005=this['backoff']['duration']();this['_reconnecting']=!0x0;const _0x203d9e=this['setTimeoutFn'](()=>{_0x5134b6['skipReconnect']||(this['emitReserved']('reconnect_attempt',_0x5134b6['backoff']['attempts']),_0x5134b6['skipReconnect']||_0x5134b6['open'](_0x21e1b8=>{_0x21e1b8?(_0x5134b6['_reconnecting']=!0x1,_0x5134b6['reconnect'](),this['emitReserved']('reconnect_error',_0x21e1b8)):_0x5134b6['onreconnect']();}));},_0x43b005);this['opts']['autoUnref']&&_0x203d9e['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x203d9e);});}}['onreconnect'](){const _0x20c155=this['backoff']['attempts'];this['_reconnecting']=!0x1,this['backoff']['reset'](),this['emitReserved']('reconnect',_0x20c155);}}const _0x19cc17={};function _0xfd1211(_0x3fc293,_0x3b79e2){'object'==typeof _0x3fc293&&(_0x3b79e2=_0x3fc293,_0x3fc293=void 0x0);const _0x241c3d=function(_0x2fe348,_0x606def='',_0x2e9082){let _0x2a959b=_0x2fe348;_0x2e9082=_0x2e9082||'undefined'!=typeof location&&location,null==_0x2fe348&&(_0x2fe348=_0x2e9082['protocol']+'//'+_0x2e9082['host']),'string'==typeof _0x2fe348&&('/'===_0x2fe348['charAt'](0x0)&&(_0x2fe348='/'===_0x2fe348['charAt'](0x1)?_0x2e9082['protocol']+_0x2fe348:_0x2e9082['host']+_0x2fe348),/^(https?|wss?):\/\//['test'](_0x2fe348)||(_0x2fe348=void 0x0!==_0x2e9082?_0x2e9082['protocol']+'//'+_0x2fe348:'https://'+_0x2fe348),_0x2a959b=_0x318b8f(_0x2fe348)),_0x2a959b['port']||(/^(http|ws)$/['test'](_0x2a959b['protocol'])?_0x2a959b['port']='80':/^(http|ws)s$/['test'](_0x2a959b['protocol'])&&(_0x2a959b['port']='443')),_0x2a959b['path']=_0x2a959b['path']||'/';const _0x13c867=-0x1!==_0x2a959b['host']['indexOf'](':')?'['+_0x2a959b['host']+']':_0x2a959b['host'];return _0x2a959b['id']=_0x2a959b['protocol']+'://'+_0x13c867+':'+_0x2a959b['port']+_0x606def,_0x2a959b['href']=_0x2a959b['protocol']+'://'+_0x13c867+(_0x2e9082&&_0x2e9082['port']===_0x2a959b['port']?'':':'+_0x2a959b['port']),_0x2a959b;}(_0x3fc293,(_0x3b79e2=_0x3b79e2||{})['path']||'/socket.io'),_0x28edc3=_0x241c3d['source'],_0x3ee04e=_0x241c3d['id'],_0xd2593=_0x241c3d['path'],_0x5f057c=_0x19cc17[_0x3ee04e]&&_0xd2593 in _0x19cc17[_0x3ee04e]['nsps'];let _0x49091f;return _0x3b79e2['forceNew']||_0x3b79e2['force\x20new\x20connection']||!0x1===_0x3b79e2['multiplex']||_0x5f057c?_0x49091f=new _0x5ced92(_0x28edc3,_0x3b79e2):(_0x19cc17[_0x3ee04e]||(_0x19cc17[_0x3ee04e]=new _0x5ced92(_0x28edc3,_0x3b79e2)),_0x49091f=_0x19cc17[_0x3ee04e]),_0x241c3d['query']&&!_0x3b79e2['query']&&(_0x3b79e2['query']=_0x241c3d['queryKey']),_0x49091f['socket'](_0x241c3d['path'],_0x3b79e2);}var _0x3781eb,_0x5ecf05;Object['assign'](_0xfd1211,{'Manager':_0x5ced92,'Socket':Socket,'io':_0xfd1211,'connect':_0xfd1211});var _0x53bf09,_0x39cd1a,_0x26022d,_0x1f5c27={},_0x106fd3=(function(){if(_0x26022d)return _0x39cd1a;_0x26022d=0x1;var _0x2aa480=(_0x5ecf05||(_0x5ecf05=0x1,_0x3781eb=function(_0x30fa5a,_0x1486da){if(_0x1486da=_0x1486da['split'](':')[0x0],!(_0x30fa5a=+_0x30fa5a))return!0x1;switch(_0x1486da){case'http':case'ws':return 0x50!==_0x30fa5a;case'https':case'wss':return 0x1bb!==_0x30fa5a;case'ftp':return 0x15!==_0x30fa5a;case'gopher':return 0x46!==_0x30fa5a;case'file':return!0x1;}return 0x0!==_0x30fa5a;}),_0x3781eb),_0x3f2a58=(function(){if(_0x53bf09)return _0x1f5c27;_0x53bf09=0x1;var _0x103da3=Object['prototype']['hasOwnProperty'];function _0x23495d(_0xece6e1){try{return decodeURIComponent(_0xece6e1['replace'](/\+/g,'\x20'));}catch(_0xb37ca6){return null;}}function _0x31f2ab(_0x34924f){try{return encodeURIComponent(_0x34924f);}catch(_0x404725){return null;}}return _0x1f5c27['stringify']=function(_0x36aa14,_0x4e7ee4){_0x4e7ee4=_0x4e7ee4||'';var _0x3e7327,_0x1c516f,_0x44604f=[];for(_0x1c516f in('string'!=typeof _0x4e7ee4&&(_0x4e7ee4='?'),_0x36aa14))if(_0x103da3['call'](_0x36aa14,_0x1c516f)){if((_0x3e7327=_0x36aa14[_0x1c516f])||null!=_0x3e7327&&!isNaN(_0x3e7327)||(_0x3e7327=''),_0x1c516f=_0x31f2ab(_0x1c516f),_0x3e7327=_0x31f2ab(_0x3e7327),null===_0x1c516f||null===_0x3e7327)continue;_0x44604f['push'](_0x1c516f+'='+_0x3e7327);}return _0x44604f['length']?_0x4e7ee4+_0x44604f['join']('&'):'';},_0x1f5c27['parse']=function(_0x28c779){for(var _0x2929a7,_0x3d2d25=/([^=?#&]+)=?([^&]*)/g,_0x5dc1a3={};_0x2929a7=_0x3d2d25['exec'](_0x28c779);){var _0x2e62d5=_0x23495d(_0x2929a7[0x1]),_0xf1fd95=_0x23495d(_0x2929a7[0x2]);null===_0x2e62d5||null===_0xf1fd95||_0x2e62d5 in _0x5dc1a3||(_0x5dc1a3[_0x2e62d5]=_0xf1fd95);}return _0x5dc1a3;},_0x1f5c27;}()),_0x524f29=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,_0x429faf=/[\n\r\t]/g,_0x14222e=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,_0x51e6ac=/:\d+$/,_0x51edde=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,_0x1b64e5=/^[a-zA-Z]:/;function _0x36b1dd(_0x856900){return(_0x856900||'')['toString']()['replace'](_0x524f29,'');}var _0x979503=[['#','hash'],['?','query'],function(_0x550559,_0x45ee77){return _0x49d797(_0x45ee77['protocol'])?_0x550559['replace'](/\\/g,'/'):_0x550559;},['/','pathname'],['@','auth',0x1],[NaN,'host',void 0x0,0x1,0x1],[/:(\d*)$/,'port',void 0x0,0x1],[NaN,'hostname',void 0x0,0x1,0x1]],_0x35752b={'hash':0x1,'query':0x1};function _0x1e6fa0(_0x5ea5b9){var _0x8c91cd,_0x29804a=('undefined'!=typeof window?window:void 0x0!==_0x1f09f1?_0x1f09f1:'undefined'!=typeof self?self:{})['location']||{},_0x2378cc={},_0x5ea621=typeof(_0x5ea5b9=_0x5ea5b9||_0x29804a);if('blob:'===_0x5ea5b9['protocol'])_0x2378cc=new _0x533e76(unescape(_0x5ea5b9['pathname']),{});else{if('string'===_0x5ea621){for(_0x8c91cd in(_0x2378cc=new _0x533e76(_0x5ea5b9,{}),_0x35752b))delete _0x2378cc[_0x8c91cd];}else{if('object'===_0x5ea621){for(_0x8c91cd in _0x5ea5b9)_0x8c91cd in _0x35752b||(_0x2378cc[_0x8c91cd]=_0x5ea5b9[_0x8c91cd]);void 0x0===_0x2378cc['slashes']&&(_0x2378cc['slashes']=_0x14222e['test'](_0x5ea5b9['href']));}}}return _0x2378cc;}function _0x49d797(_0x1c236d){return'file:'===_0x1c236d||'ftp:'===_0x1c236d||'http:'===_0x1c236d||'https:'===_0x1c236d||'ws:'===_0x1c236d||'wss:'===_0x1c236d;}function _0x2539fd(_0x281835,_0x6bf58){_0x281835=(_0x281835=_0x36b1dd(_0x281835))['replace'](_0x429faf,''),_0x6bf58=_0x6bf58||{};var _0x5974a0,_0x3094f9=_0x51edde['exec'](_0x281835),_0x22178c=_0x3094f9[0x1]?_0x3094f9[0x1]['toLowerCase']():'',_0x1f4017=!!_0x3094f9[0x2],_0xe16b5e=!!_0x3094f9[0x3],_0x32c355=0x0;return _0x1f4017?_0xe16b5e?(_0x5974a0=_0x3094f9[0x2]+_0x3094f9[0x3]+_0x3094f9[0x4],_0x32c355=_0x3094f9[0x2]['length']+_0x3094f9[0x3]['length']):(_0x5974a0=_0x3094f9[0x2]+_0x3094f9[0x4],_0x32c355=_0x3094f9[0x2]['length']):_0xe16b5e?(_0x5974a0=_0x3094f9[0x3]+_0x3094f9[0x4],_0x32c355=_0x3094f9[0x3]['length']):_0x5974a0=_0x3094f9[0x4],'file:'===_0x22178c?_0x32c355>=0x2&&(_0x5974a0=_0x5974a0['slice'](0x2)):_0x49d797(_0x22178c)?_0x5974a0=_0x3094f9[0x4]:_0x22178c?_0x1f4017&&(_0x5974a0=_0x5974a0['slice'](0x2)):_0x32c355>=0x2&&_0x49d797(_0x6bf58['protocol'])&&(_0x5974a0=_0x3094f9[0x4]),{'protocol':_0x22178c,'slashes':_0x1f4017||_0x49d797(_0x22178c),'slashesCount':_0x32c355,'rest':_0x5974a0};}function _0x533e76(_0x40321b,_0x499af5,_0x4de61c){if(_0x40321b=(_0x40321b=_0x36b1dd(_0x40321b))['replace'](_0x429faf,''),!(this instanceof _0x533e76))return new _0x533e76(_0x40321b,_0x499af5,_0x4de61c);var _0x18d5af,_0x2b422a,_0x258989,_0x3151ed,_0x490f2b,_0x4bd485,_0xc186d0=_0x979503['slice'](),_0x44d539=typeof _0x499af5,_0x2efc95=this,_0x294055=0x0;for('object'!==_0x44d539&&'string'!==_0x44d539&&(_0x4de61c=_0x499af5,_0x499af5=null),_0x4de61c&&'function'!=typeof _0x4de61c&&(_0x4de61c=_0x3f2a58['parse']),_0x18d5af=!(_0x2b422a=_0x2539fd(_0x40321b||'',_0x499af5=_0x1e6fa0(_0x499af5)))['protocol']&&!_0x2b422a['slashes'],_0x2efc95['slashes']=_0x2b422a['slashes']||_0x18d5af&&_0x499af5['slashes'],_0x2efc95['protocol']=_0x2b422a['protocol']||_0x499af5['protocol']||'',_0x40321b=_0x2b422a['rest'],('file:'===_0x2b422a['protocol']&&(0x2!==_0x2b422a['slashesCount']||_0x1b64e5['test'](_0x40321b))||!_0x2b422a['slashes']&&(_0x2b422a['protocol']||_0x2b422a['slashesCount']<0x2||!_0x49d797(_0x2efc95['protocol'])))&&(_0xc186d0[0x3]=[/(.*)/,'pathname']);_0x294055<_0xc186d0['length'];_0x294055++)'function'!=typeof(_0x3151ed=_0xc186d0[_0x294055])?(_0x258989=_0x3151ed[0x0],_0x4bd485=_0x3151ed[0x1],_0x258989!=_0x258989?_0x2efc95[_0x4bd485]=_0x40321b:'string'==typeof _0x258989?~(_0x490f2b='@'===_0x258989?_0x40321b['lastIndexOf'](_0x258989):_0x40321b['indexOf'](_0x258989))&&('number'==typeof _0x3151ed[0x2]?(_0x2efc95[_0x4bd485]=_0x40321b['slice'](0x0,_0x490f2b),_0x40321b=_0x40321b['slice'](_0x490f2b+_0x3151ed[0x2])):(_0x2efc95[_0x4bd485]=_0x40321b['slice'](_0x490f2b),_0x40321b=_0x40321b['slice'](0x0,_0x490f2b))):(_0x490f2b=_0x258989['exec'](_0x40321b))&&(_0x2efc95[_0x4bd485]=_0x490f2b[0x1],_0x40321b=_0x40321b['slice'](0x0,_0x490f2b['index'])),_0x2efc95[_0x4bd485]=_0x2efc95[_0x4bd485]||_0x18d5af&&_0x3151ed[0x3]&&_0x499af5[_0x4bd485]||'',_0x3151ed[0x4]&&(_0x2efc95[_0x4bd485]=_0x2efc95[_0x4bd485]['toLowerCase']())):_0x40321b=_0x3151ed(_0x40321b,_0x2efc95);_0x4de61c&&(_0x2efc95['query']=_0x4de61c(_0x2efc95['query'])),_0x18d5af&&_0x499af5['slashes']&&'/'!==_0x2efc95['pathname']['charAt'](0x0)&&(''!==_0x2efc95['pathname']||''!==_0x499af5['pathname'])&&(_0x2efc95['pathname']=function(_0x8d4ea1,_0x5810f4){if(''===_0x8d4ea1)return _0x5810f4;for(var _0x32aaa7=(_0x5810f4||'/')['split']('/')['slice'](0x0,-0x1)['concat'](_0x8d4ea1['split']('/')),_0x113dc7=_0x32aaa7['length'],_0x4ccd9c=_0x32aaa7[_0x113dc7-0x1],_0x5e6b0d=!0x1,_0x32b8d2=0x0;_0x113dc7--;)'.'===_0x32aaa7[_0x113dc7]?_0x32aaa7['splice'](_0x113dc7,0x1):'..'===_0x32aaa7[_0x113dc7]?(_0x32aaa7['splice'](_0x113dc7,0x1),_0x32b8d2++):_0x32b8d2&&(0x0===_0x113dc7&&(_0x5e6b0d=!0x0),_0x32aaa7['splice'](_0x113dc7,0x1),_0x32b8d2--);return _0x5e6b0d&&_0x32aaa7['unshift'](''),'.'!==_0x4ccd9c&&'..'!==_0x4ccd9c||_0x32aaa7['push'](''),_0x32aaa7['join']('/');}(_0x2efc95['pathname'],_0x499af5['pathname'])),'/'!==_0x2efc95['pathname']['charAt'](0x0)&&_0x49d797(_0x2efc95['protocol'])&&(_0x2efc95['pathname']='/'+_0x2efc95['pathname']),_0x2aa480(_0x2efc95['port'],_0x2efc95['protocol'])||(_0x2efc95['host']=_0x2efc95['hostname'],_0x2efc95['port']=''),_0x2efc95['username']=_0x2efc95['password']='',_0x2efc95['auth']&&(~(_0x490f2b=_0x2efc95['auth']['indexOf'](':'))?(_0x2efc95['username']=_0x2efc95['auth']['slice'](0x0,_0x490f2b),_0x2efc95['username']=encodeURIComponent(decodeURIComponent(_0x2efc95['username'])),_0x2efc95['password']=_0x2efc95['auth']['slice'](_0x490f2b+0x1),_0x2efc95['password']=encodeURIComponent(decodeURIComponent(_0x2efc95['password']))):_0x2efc95['username']=encodeURIComponent(decodeURIComponent(_0x2efc95['auth'])),_0x2efc95['auth']=_0x2efc95['password']?_0x2efc95['username']+':'+_0x2efc95['password']:_0x2efc95['username']),_0x2efc95['origin']='file:'!==_0x2efc95['protocol']&&_0x49d797(_0x2efc95['protocol'])&&_0x2efc95['host']?_0x2efc95['protocol']+'//'+_0x2efc95['host']:'null',_0x2efc95['href']=_0x2efc95['toString']();}return _0x533e76['prototype']={'set':function(_0x4f49e9,_0x2b3061,_0x42cbf9){var _0x389c2c=this;switch(_0x4f49e9){case'query':'string'==typeof _0x2b3061&&_0x2b3061['length']&&(_0x2b3061=(_0x42cbf9||_0x3f2a58['parse'])(_0x2b3061)),_0x389c2c[_0x4f49e9]=_0x2b3061;break;case'port':_0x389c2c[_0x4f49e9]=_0x2b3061,_0x2aa480(_0x2b3061,_0x389c2c['protocol'])?_0x2b3061&&(_0x389c2c['host']=_0x389c2c['hostname']+':'+_0x2b3061):(_0x389c2c['host']=_0x389c2c['hostname'],_0x389c2c[_0x4f49e9]='');break;case'hostname':_0x389c2c[_0x4f49e9]=_0x2b3061,_0x389c2c['port']&&(_0x2b3061+=':'+_0x389c2c['port']),_0x389c2c['host']=_0x2b3061;break;case'host':_0x389c2c[_0x4f49e9]=_0x2b3061,_0x51e6ac['test'](_0x2b3061)?(_0x2b3061=_0x2b3061['split'](':'),_0x389c2c['port']=_0x2b3061['pop'](),_0x389c2c['hostname']=_0x2b3061['join'](':')):(_0x389c2c['hostname']=_0x2b3061,_0x389c2c['port']='');break;case'protocol':_0x389c2c['protocol']=_0x2b3061['toLowerCase'](),_0x389c2c['slashes']=!_0x42cbf9;break;case'pathname':case'hash':if(_0x2b3061){var _0x35c7f8='pathname'===_0x4f49e9?'/':'#';_0x389c2c[_0x4f49e9]=_0x2b3061['charAt'](0x0)!==_0x35c7f8?_0x35c7f8+_0x2b3061:_0x2b3061;}else _0x389c2c[_0x4f49e9]=_0x2b3061;break;case'username':case'password':_0x389c2c[_0x4f49e9]=encodeURIComponent(_0x2b3061);break;case'auth':var _0x158856=_0x2b3061['indexOf'](':');~_0x158856?(_0x389c2c['username']=_0x2b3061['slice'](0x0,_0x158856),_0x389c2c['username']=encodeURIComponent(decodeURIComponent(_0x389c2c['username'])),_0x389c2c['password']=_0x2b3061['slice'](_0x158856+0x1),_0x389c2c['password']=encodeURIComponent(decodeURIComponent(_0x389c2c['password']))):_0x389c2c['username']=encodeURIComponent(decodeURIComponent(_0x2b3061));}for(var _0x5bfc79=0x0;_0x5bfc79<_0x979503['length'];_0x5bfc79++){var _0x2278c0=_0x979503[_0x5bfc79];_0x2278c0[0x4]&&(_0x389c2c[_0x2278c0[0x1]]=_0x389c2c[_0x2278c0[0x1]]['toLowerCase']());}return _0x389c2c['auth']=_0x389c2c['password']?_0x389c2c['username']+':'+_0x389c2c['password']:_0x389c2c['username'],_0x389c2c['origin']='file:'!==_0x389c2c['protocol']&&_0x49d797(_0x389c2c['protocol'])&&_0x389c2c['host']?_0x389c2c['protocol']+'//'+_0x389c2c['host']:'null',_0x389c2c['href']=_0x389c2c['toString'](),_0x389c2c;},'toString':function(_0x29f43b){_0x29f43b&&'function'==typeof _0x29f43b||(_0x29f43b=_0x3f2a58['stringify']);var _0xc67249,_0x2fdba0=this,_0x445a1c=_0x2fdba0['host'],_0x28735=_0x2fdba0['protocol'];_0x28735&&':'!==_0x28735['charAt'](_0x28735['length']-0x1)&&(_0x28735+=':');var _0x5ccbe7=_0x28735+(_0x2fdba0['protocol']&&_0x2fdba0['slashes']||_0x49d797(_0x2fdba0['protocol'])?'//':'');return _0x2fdba0['username']?(_0x5ccbe7+=_0x2fdba0['username'],_0x2fdba0['password']&&(_0x5ccbe7+=':'+_0x2fdba0['password']),_0x5ccbe7+='@'):_0x2fdba0['password']?(_0x5ccbe7+=':'+_0x2fdba0['password'],_0x5ccbe7+='@'):'file:'!==_0x2fdba0['protocol']&&_0x49d797(_0x2fdba0['protocol'])&&!_0x445a1c&&'/'!==_0x2fdba0['pathname']&&(_0x5ccbe7+='@'),(':'===_0x445a1c[_0x445a1c['length']-0x1]||_0x51e6ac['test'](_0x2fdba0['hostname'])&&!_0x2fdba0['port'])&&(_0x445a1c+=':'),_0x5ccbe7+=_0x445a1c+_0x2fdba0['pathname'],(_0xc67249='object'==typeof _0x2fdba0['query']?_0x29f43b(_0x2fdba0['query']):_0x2fdba0['query'])&&(_0x5ccbe7+='?'!==_0xc67249['charAt'](0x0)?'?'+_0xc67249:_0xc67249),_0x2fdba0['hash']&&(_0x5ccbe7+=_0x2fdba0['hash']),_0x5ccbe7;}},_0x533e76['extractProtocol']=_0x2539fd,_0x533e76['location']=_0x1e6fa0,_0x533e76['trimLeft']=_0x36b1dd,_0x533e76['qs']=_0x3f2a58,_0x39cd1a=_0x533e76;}());let _0x2d7f3e;const _0x57caf8=new Uint8Array(0x10);function _0x28bc41(){if(!_0x2d7f3e&&(_0x2d7f3e='undefined'!=typeof crypto&&crypto['getRandomValues']&&crypto['getRandomValues']['bind'](crypto),!_0x2d7f3e))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return _0x2d7f3e(_0x57caf8);}const _0x5223b2=[];for(let _0x3d5144=0x0;_0x3d5144<0x100;++_0x3d5144)_0x5223b2['push']((_0x3d5144+0x100)['toString'](0x10)['slice'](0x1));var _0x276539={'randomUUID':'undefined'!=typeof crypto&&crypto['randomUUID']&&crypto['randomUUID']['bind'](crypto)};function _0x3d3d39(_0x5f49fc,_0x5af6ef,_0x2e65b2){if(_0x276539['randomUUID']&&!_0x5f49fc)return _0x276539['randomUUID']();const _0x4f38e2=(_0x5f49fc=_0x5f49fc||{})['random']||(_0x5f49fc['rng']||_0x28bc41)();return _0x4f38e2[0x6]=0xf&_0x4f38e2[0x6]|0x40,_0x4f38e2[0x8]=0x3f&_0x4f38e2[0x8]|0x80,function(_0x38c1aa,_0x331713=0x0){return _0x5223b2[_0x38c1aa[_0x331713+0x0]]+_0x5223b2[_0x38c1aa[_0x331713+0x1]]+_0x5223b2[_0x38c1aa[_0x331713+0x2]]+_0x5223b2[_0x38c1aa[_0x331713+0x3]]+'-'+_0x5223b2[_0x38c1aa[_0x331713+0x4]]+_0x5223b2[_0x38c1aa[_0x331713+0x5]]+'-'+_0x5223b2[_0x38c1aa[_0x331713+0x6]]+_0x5223b2[_0x38c1aa[_0x331713+0x7]]+'-'+_0x5223b2[_0x38c1aa[_0x331713+0x8]]+_0x5223b2[_0x38c1aa[_0x331713+0x9]]+'-'+_0x5223b2[_0x38c1aa[_0x331713+0xa]]+_0x5223b2[_0x38c1aa[_0x331713+0xb]]+_0x5223b2[_0x38c1aa[_0x331713+0xc]]+_0x5223b2[_0x38c1aa[_0x331713+0xd]]+_0x5223b2[_0x38c1aa[_0x331713+0xe]]+_0x5223b2[_0x38c1aa[_0x331713+0xf]];}(_0x4f38e2);}class Descriptor{static ['DESCRIPTOR_NAME'];static ['DESCRIPTOR'];constructor(..._0x31bbae){}}class _0x2a763f extends Descriptor{static ['TYPE']='1000';static ['READABLE_TYPE_NAME'];constructor(..._0x320490){super();}static['fromJSON'](_0x6b529){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class GetUserMessage extends _0x2a763f{['id'];static ['TYPE']='21';static ['READABLE_TYPE_NAME']='getUser';static ['DESCRIPTOR_NAME']='GetUserMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x2b2643){super(),this['id']=_0x2b2643;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x3eb7e8){return new GetUserMessage(_0x3eb7e8['id']);}}class GetUserResponse extends _0x2a763f{['attributes'];static ['DESCRIPTOR_NAME']='GetUserResponse';static ['DESCRIPTOR']={'fields':{'attributes':{'rule':'repeated','type':'KeyValueDescriptor','id':0x1}}};constructor(_0x5e0c37){super(),this['attributes']=_0x5e0c37;}['toJSON'](){return{'attributes':Object['keys'](this['attributes'])['map'](_0x32c91a=>({'key':_0x32c91a,'value':JSON['stringify'](this['attributes'][_0x32c91a])}))};}static['fromJSON'](_0x1edef9){const _0x156034=_0x1edef9['attributes']['reduce']((_0x12647b,_0x46cc09)=>(_0x12647b[_0x46cc09['key']]=_0x46cc09['value']?JSON['parse'](_0x46cc09['value']):null,_0x12647b),{});return new GetUserResponse(_0x156034);}}const _0x429eb2=/* #__PURE__ -- @preserve */
((()=>{var _0x5743b9=_0x2418c2['Reader'],_0x3a081=_0x2418c2['Writer'],_0x596b78=_0x2418c2['util'],_0x45f2e9=_0x2418c2['roots']['default']||(_0x2418c2['roots']['default']={});return _0x45f2e9['StringStringPacketDataMessage']=(function(){function _0x341248(_0x22e9af){if(_0x22e9af){for(var _0x301cf8=Object['keys'](_0x22e9af),_0x3cdb8f=0x0;_0x3cdb8f<_0x301cf8['length'];++_0x3cdb8f)null!=_0x22e9af[_0x301cf8[_0x3cdb8f]]&&(this[_0x301cf8[_0x3cdb8f]]=_0x22e9af[_0x301cf8[_0x3cdb8f]]);}}return _0x341248['prototype']['data']='',_0x341248['prototype']['data1']='',_0x341248['create']=function(_0x3fc6cc){return new _0x341248(_0x3fc6cc);},_0x341248['encode']=function(_0x11d50a,_0x97028c){return _0x97028c||(_0x97028c=_0x3a081['create']()),null!=_0x11d50a['data']&&Object['hasOwnProperty']['call'](_0x11d50a,'data')&&_0x97028c['uint32'](0xa)['string'](_0x11d50a['data']),null!=_0x11d50a['data1']&&Object['hasOwnProperty']['call'](_0x11d50a,'data1')&&_0x97028c['uint32'](0x12)['string'](_0x11d50a['data1']),_0x97028c;},_0x341248['encodeDelimited']=function(_0x3e7cf1,_0x14928d){return this['encode'](_0x3e7cf1,_0x14928d)['ldelim']();},_0x341248['decode']=function(_0x22028d,_0x148c9d,_0x3c4dab){_0x22028d instanceof _0x5743b9||(_0x22028d=_0x5743b9['create'](_0x22028d));for(var _0x1ff127=void 0x0===_0x148c9d?_0x22028d['len']:_0x22028d['pos']+_0x148c9d,_0x48e688=new _0x45f2e9['StringStringPacketDataMessage']();_0x22028d['pos']<_0x1ff127;){var _0x493d5d=_0x22028d['uint32']();if(_0x493d5d===_0x3c4dab)break;switch(_0x493d5d>>>0x3){case 0x1:_0x48e688['data']=_0x22028d['string']();break;case 0x2:_0x48e688['data1']=_0x22028d['string']();break;default:_0x22028d['skipType'](0x7&_0x493d5d);}}return _0x48e688;},_0x341248['decodeDelimited']=function(_0x1bb16f){return _0x1bb16f instanceof _0x5743b9||(_0x1bb16f=new _0x5743b9(_0x1bb16f)),this['decode'](_0x1bb16f,_0x1bb16f['uint32']());},_0x341248['verify']=function(_0x36eceb){return'object'!=typeof _0x36eceb||null===_0x36eceb?'object\x20expected':null!=_0x36eceb['data']&&_0x36eceb['hasOwnProperty']('data')&&!_0x596b78['isString'](_0x36eceb['data'])?'data:\x20string\x20expected':null!=_0x36eceb['data1']&&_0x36eceb['hasOwnProperty']('data1')&&!_0x596b78['isString'](_0x36eceb['data1'])?'data1:\x20string\x20expected':null;},_0x341248['fromObject']=function(_0x552552){if(_0x552552 instanceof _0x45f2e9['StringStringPacketDataMessage'])return _0x552552;var _0x1e9afc=new _0x45f2e9['StringStringPacketDataMessage']();return null!=_0x552552['data']&&(_0x1e9afc['data']=String(_0x552552['data'])),null!=_0x552552['data1']&&(_0x1e9afc['data1']=String(_0x552552['data1'])),_0x1e9afc;},_0x341248['toObject']=function(_0x133fc5,_0x234eff){_0x234eff||(_0x234eff={});var _0x462b23={};return _0x234eff['defaults']&&(_0x462b23['data']='',_0x462b23['data1']=''),null!=_0x133fc5['data']&&_0x133fc5['hasOwnProperty']('data')&&(_0x462b23['data']=_0x133fc5['data']),null!=_0x133fc5['data1']&&_0x133fc5['hasOwnProperty']('data1')&&(_0x462b23['data1']=_0x133fc5['data1']),_0x462b23;},_0x341248['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x341248['getTypeUrl']=function(_0x12221b){return void 0x0===_0x12221b&&(_0x12221b='type.googleapis.com'),_0x12221b+'/StringStringPacketDataMessage';},_0x341248;}()),_0x45f2e9['StringObjectPacketDataMessage']=(function(){function _0x3046f3(_0x5f53e2){if(_0x5f53e2){for(var _0x44d7e8=Object['keys'](_0x5f53e2),_0x41a876=0x0;_0x41a876<_0x44d7e8['length'];++_0x41a876)null!=_0x5f53e2[_0x44d7e8[_0x41a876]]&&(this[_0x44d7e8[_0x41a876]]=_0x5f53e2[_0x44d7e8[_0x41a876]]);}}return _0x3046f3['prototype']['data']='',_0x3046f3['prototype']['data1']='',_0x3046f3['create']=function(_0x8a6d43){return new _0x3046f3(_0x8a6d43);},_0x3046f3['encode']=function(_0xc281e6,_0x365f3c){return _0x365f3c||(_0x365f3c=_0x3a081['create']()),null!=_0xc281e6['data']&&Object['hasOwnProperty']['call'](_0xc281e6,'data')&&_0x365f3c['uint32'](0xa)['string'](_0xc281e6['data']),null!=_0xc281e6['data1']&&Object['hasOwnProperty']['call'](_0xc281e6,'data1')&&_0x365f3c['uint32'](0x12)['string'](_0xc281e6['data1']),_0x365f3c;},_0x3046f3['encodeDelimited']=function(_0x1fd852,_0x582669){return this['encode'](_0x1fd852,_0x582669)['ldelim']();},_0x3046f3['decode']=function(_0x2e78cc,_0x471436,_0x4ec907){_0x2e78cc instanceof _0x5743b9||(_0x2e78cc=_0x5743b9['create'](_0x2e78cc));for(var _0x492193=void 0x0===_0x471436?_0x2e78cc['len']:_0x2e78cc['pos']+_0x471436,_0x3656b5=new _0x45f2e9['StringObjectPacketDataMessage']();_0x2e78cc['pos']<_0x492193;){var _0x266db0=_0x2e78cc['uint32']();if(_0x266db0===_0x4ec907)break;switch(_0x266db0>>>0x3){case 0x1:_0x3656b5['data']=_0x2e78cc['string']();break;case 0x2:_0x3656b5['data1']=_0x2e78cc['string']();break;default:_0x2e78cc['skipType'](0x7&_0x266db0);}}return _0x3656b5;},_0x3046f3['decodeDelimited']=function(_0x348d91){return _0x348d91 instanceof _0x5743b9||(_0x348d91=new _0x5743b9(_0x348d91)),this['decode'](_0x348d91,_0x348d91['uint32']());},_0x3046f3['verify']=function(_0xefc152){return'object'!=typeof _0xefc152||null===_0xefc152?'object\x20expected':null!=_0xefc152['data']&&_0xefc152['hasOwnProperty']('data')&&!_0x596b78['isString'](_0xefc152['data'])?'data:\x20string\x20expected':null!=_0xefc152['data1']&&_0xefc152['hasOwnProperty']('data1')&&!_0x596b78['isString'](_0xefc152['data1'])?'data1:\x20string\x20expected':null;},_0x3046f3['fromObject']=function(_0x4b4130){if(_0x4b4130 instanceof _0x45f2e9['StringObjectPacketDataMessage'])return _0x4b4130;var _0x2d8b7d=new _0x45f2e9['StringObjectPacketDataMessage']();return null!=_0x4b4130['data']&&(_0x2d8b7d['data']=String(_0x4b4130['data'])),null!=_0x4b4130['data1']&&(_0x2d8b7d['data1']=String(_0x4b4130['data1'])),_0x2d8b7d;},_0x3046f3['toObject']=function(_0x2d31b1,_0x3cb742){_0x3cb742||(_0x3cb742={});var _0x5b4b61={};return _0x3cb742['defaults']&&(_0x5b4b61['data']='',_0x5b4b61['data1']=''),null!=_0x2d31b1['data']&&_0x2d31b1['hasOwnProperty']('data')&&(_0x5b4b61['data']=_0x2d31b1['data']),null!=_0x2d31b1['data1']&&_0x2d31b1['hasOwnProperty']('data1')&&(_0x5b4b61['data1']=_0x2d31b1['data1']),_0x5b4b61;},_0x3046f3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x3046f3['getTypeUrl']=function(_0x261bd1){return void 0x0===_0x261bd1&&(_0x261bd1='type.googleapis.com'),_0x261bd1+'/StringObjectPacketDataMessage';},_0x3046f3;}()),_0x45f2e9['StringNumberPacketDataMessage']=(function(){function _0x47aa1e(_0x5cec92){if(_0x5cec92){for(var _0x1c7707=Object['keys'](_0x5cec92),_0x2bdd90=0x0;_0x2bdd90<_0x1c7707['length'];++_0x2bdd90)null!=_0x5cec92[_0x1c7707[_0x2bdd90]]&&(this[_0x1c7707[_0x2bdd90]]=_0x5cec92[_0x1c7707[_0x2bdd90]]);}}return _0x47aa1e['prototype']['data']='',_0x47aa1e['prototype']['data1']=0x0,_0x47aa1e['create']=function(_0x513587){return new _0x47aa1e(_0x513587);},_0x47aa1e['encode']=function(_0x51df53,_0x2df77b){return _0x2df77b||(_0x2df77b=_0x3a081['create']()),null!=_0x51df53['data']&&Object['hasOwnProperty']['call'](_0x51df53,'data')&&_0x2df77b['uint32'](0xa)['string'](_0x51df53['data']),null!=_0x51df53['data1']&&Object['hasOwnProperty']['call'](_0x51df53,'data1')&&_0x2df77b['uint32'](0x10)['uint32'](_0x51df53['data1']),_0x2df77b;},_0x47aa1e['encodeDelimited']=function(_0x19cd99,_0x51c4dc){return this['encode'](_0x19cd99,_0x51c4dc)['ldelim']();},_0x47aa1e['decode']=function(_0x302658,_0x67936d,_0x341c23){_0x302658 instanceof _0x5743b9||(_0x302658=_0x5743b9['create'](_0x302658));for(var _0x1561dc=void 0x0===_0x67936d?_0x302658['len']:_0x302658['pos']+_0x67936d,_0x169022=new _0x45f2e9['StringNumberPacketDataMessage']();_0x302658['pos']<_0x1561dc;){var _0x86f993=_0x302658['uint32']();if(_0x86f993===_0x341c23)break;switch(_0x86f993>>>0x3){case 0x1:_0x169022['data']=_0x302658['string']();break;case 0x2:_0x169022['data1']=_0x302658['uint32']();break;default:_0x302658['skipType'](0x7&_0x86f993);}}return _0x169022;},_0x47aa1e['decodeDelimited']=function(_0xe1a464){return _0xe1a464 instanceof _0x5743b9||(_0xe1a464=new _0x5743b9(_0xe1a464)),this['decode'](_0xe1a464,_0xe1a464['uint32']());},_0x47aa1e['verify']=function(_0x499246){return'object'!=typeof _0x499246||null===_0x499246?'object\x20expected':null!=_0x499246['data']&&_0x499246['hasOwnProperty']('data')&&!_0x596b78['isString'](_0x499246['data'])?'data:\x20string\x20expected':null!=_0x499246['data1']&&_0x499246['hasOwnProperty']('data1')&&!_0x596b78['isInteger'](_0x499246['data1'])?'data1:\x20integer\x20expected':null;},_0x47aa1e['fromObject']=function(_0x25f828){if(_0x25f828 instanceof _0x45f2e9['StringNumberPacketDataMessage'])return _0x25f828;var _0x22f5a3=new _0x45f2e9['StringNumberPacketDataMessage']();return null!=_0x25f828['data']&&(_0x22f5a3['data']=String(_0x25f828['data'])),null!=_0x25f828['data1']&&(_0x22f5a3['data1']=_0x25f828['data1']>>>0x0),_0x22f5a3;},_0x47aa1e['toObject']=function(_0x105ee7,_0xa915c9){_0xa915c9||(_0xa915c9={});var _0x46da65={};return _0xa915c9['defaults']&&(_0x46da65['data']='',_0x46da65['data1']=0x0),null!=_0x105ee7['data']&&_0x105ee7['hasOwnProperty']('data')&&(_0x46da65['data']=_0x105ee7['data']),null!=_0x105ee7['data1']&&_0x105ee7['hasOwnProperty']('data1')&&(_0x46da65['data1']=_0x105ee7['data1']),_0x46da65;},_0x47aa1e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x47aa1e['getTypeUrl']=function(_0x44c22d){return void 0x0===_0x44c22d&&(_0x44c22d='type.googleapis.com'),_0x44c22d+'/StringNumberPacketDataMessage';},_0x47aa1e;}()),_0x45f2e9['StringBytesPacketDataMessage']=(function(){function _0x4c42ed(_0x22a35b){if(_0x22a35b){for(var _0x26f618=Object['keys'](_0x22a35b),_0x241cdc=0x0;_0x241cdc<_0x26f618['length'];++_0x241cdc)null!=_0x22a35b[_0x26f618[_0x241cdc]]&&(this[_0x26f618[_0x241cdc]]=_0x22a35b[_0x26f618[_0x241cdc]]);}}return _0x4c42ed['prototype']['data']='',_0x4c42ed['prototype']['data1']=_0x596b78['newBuffer']([]),_0x4c42ed['create']=function(_0x4493fd){return new _0x4c42ed(_0x4493fd);},_0x4c42ed['encode']=function(_0x57b716,_0x187b93){return _0x187b93||(_0x187b93=_0x3a081['create']()),null!=_0x57b716['data']&&Object['hasOwnProperty']['call'](_0x57b716,'data')&&_0x187b93['uint32'](0xa)['string'](_0x57b716['data']),null!=_0x57b716['data1']&&Object['hasOwnProperty']['call'](_0x57b716,'data1')&&_0x187b93['uint32'](0x12)['bytes'](_0x57b716['data1']),_0x187b93;},_0x4c42ed['encodeDelimited']=function(_0x318fff,_0xc67334){return this['encode'](_0x318fff,_0xc67334)['ldelim']();},_0x4c42ed['decode']=function(_0x510220,_0x33a96b,_0x33f183){_0x510220 instanceof _0x5743b9||(_0x510220=_0x5743b9['create'](_0x510220));for(var _0x2e7715=void 0x0===_0x33a96b?_0x510220['len']:_0x510220['pos']+_0x33a96b,_0x2608cd=new _0x45f2e9['StringBytesPacketDataMessage']();_0x510220['pos']<_0x2e7715;){var _0x1bd360=_0x510220['uint32']();if(_0x1bd360===_0x33f183)break;switch(_0x1bd360>>>0x3){case 0x1:_0x2608cd['data']=_0x510220['string']();break;case 0x2:_0x2608cd['data1']=_0x510220['bytes']();break;default:_0x510220['skipType'](0x7&_0x1bd360);}}return _0x2608cd;},_0x4c42ed['decodeDelimited']=function(_0x3a70da){return _0x3a70da instanceof _0x5743b9||(_0x3a70da=new _0x5743b9(_0x3a70da)),this['decode'](_0x3a70da,_0x3a70da['uint32']());},_0x4c42ed['verify']=function(_0x20be24){return'object'!=typeof _0x20be24||null===_0x20be24?'object\x20expected':null!=_0x20be24['data']&&_0x20be24['hasOwnProperty']('data')&&!_0x596b78['isString'](_0x20be24['data'])?'data:\x20string\x20expected':null!=_0x20be24['data1']&&_0x20be24['hasOwnProperty']('data1')&&!(_0x20be24['data1']&&'number'==typeof _0x20be24['data1']['length']||_0x596b78['isString'](_0x20be24['data1']))?'data1:\x20buffer\x20expected':null;},_0x4c42ed['fromObject']=function(_0x3ef6a5){if(_0x3ef6a5 instanceof _0x45f2e9['StringBytesPacketDataMessage'])return _0x3ef6a5;var _0x3ced0c=new _0x45f2e9['StringBytesPacketDataMessage']();return null!=_0x3ef6a5['data']&&(_0x3ced0c['data']=String(_0x3ef6a5['data'])),null!=_0x3ef6a5['data1']&&('string'==typeof _0x3ef6a5['data1']?_0x596b78['base64']['decode'](_0x3ef6a5['data1'],_0x3ced0c['data1']=_0x596b78['newBuffer'](_0x596b78['base64']['length'](_0x3ef6a5['data1'])),0x0):_0x3ef6a5['data1']['length']>=0x0&&(_0x3ced0c['data1']=_0x3ef6a5['data1'])),_0x3ced0c;},_0x4c42ed['toObject']=function(_0x3c0c33,_0x1a0b4e){_0x1a0b4e||(_0x1a0b4e={});var _0x5b069f={};return _0x1a0b4e['defaults']&&(_0x5b069f['data']='',_0x1a0b4e['bytes']===String?_0x5b069f['data1']='':(_0x5b069f['data1']=[],_0x1a0b4e['bytes']!==Array&&(_0x5b069f['data1']=_0x596b78['newBuffer'](_0x5b069f['data1'])))),null!=_0x3c0c33['data']&&_0x3c0c33['hasOwnProperty']('data')&&(_0x5b069f['data']=_0x3c0c33['data']),null!=_0x3c0c33['data1']&&_0x3c0c33['hasOwnProperty']('data1')&&(_0x5b069f['data1']=_0x1a0b4e['bytes']===String?_0x596b78['base64']['encode'](_0x3c0c33['data1'],0x0,_0x3c0c33['data1']['length']):_0x1a0b4e['bytes']===Array?Array['prototype']['slice']['call'](_0x3c0c33['data1']):_0x3c0c33['data1']),_0x5b069f;},_0x4c42ed['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x4c42ed['getTypeUrl']=function(_0x58f304){return void 0x0===_0x58f304&&(_0x58f304='type.googleapis.com'),_0x58f304+'/StringBytesPacketDataMessage';},_0x4c42ed;}()),_0x45f2e9['PacketOptionsMessage']=(function(){function _0x599aa3(_0x517e1a){if(this['rooms']=[],this['except']=[],_0x517e1a){for(var _0x5e5399=Object['keys'](_0x517e1a),_0x3d52ad=0x0;_0x3d52ad<_0x5e5399['length'];++_0x3d52ad)null!=_0x517e1a[_0x5e5399[_0x3d52ad]]&&(this[_0x5e5399[_0x3d52ad]]=_0x517e1a[_0x5e5399[_0x3d52ad]]);}}return _0x599aa3['prototype']['flags']='',_0x599aa3['prototype']['rooms']=_0x596b78['emptyArray'],_0x599aa3['prototype']['except']=_0x596b78['emptyArray'],_0x599aa3['create']=function(_0x3f25cd){return new _0x599aa3(_0x3f25cd);},_0x599aa3['encode']=function(_0x505939,_0xd71f34){if(_0xd71f34||(_0xd71f34=_0x3a081['create']()),null!=_0x505939['flags']&&Object['hasOwnProperty']['call'](_0x505939,'flags')&&_0xd71f34['uint32'](0xa)['string'](_0x505939['flags']),null!=_0x505939['rooms']&&_0x505939['rooms']['length']){for(var _0x3f8b84=0x0;_0x3f8b84<_0x505939['rooms']['length'];++_0x3f8b84)_0xd71f34['uint32'](0x12)['string'](_0x505939['rooms'][_0x3f8b84]);}if(null!=_0x505939['except']&&_0x505939['except']['length']){for(_0x3f8b84=0x0;_0x3f8b84<_0x505939['except']['length'];++_0x3f8b84)_0xd71f34['uint32'](0x1a)['string'](_0x505939['except'][_0x3f8b84]);}return _0xd71f34;},_0x599aa3['encodeDelimited']=function(_0x482548,_0x147632){return this['encode'](_0x482548,_0x147632)['ldelim']();},_0x599aa3['decode']=function(_0x493af4,_0x1056d6,_0x52a134){_0x493af4 instanceof _0x5743b9||(_0x493af4=_0x5743b9['create'](_0x493af4));for(var _0x54cfb7=void 0x0===_0x1056d6?_0x493af4['len']:_0x493af4['pos']+_0x1056d6,_0x523bf8=new _0x45f2e9['PacketOptionsMessage']();_0x493af4['pos']<_0x54cfb7;){var _0x2844e4=_0x493af4['uint32']();if(_0x2844e4===_0x52a134)break;switch(_0x2844e4>>>0x3){case 0x1:_0x523bf8['flags']=_0x493af4['string']();break;case 0x2:_0x523bf8['rooms']&&_0x523bf8['rooms']['length']||(_0x523bf8['rooms']=[]),_0x523bf8['rooms']['push'](_0x493af4['string']());break;case 0x3:_0x523bf8['except']&&_0x523bf8['except']['length']||(_0x523bf8['except']=[]),_0x523bf8['except']['push'](_0x493af4['string']());break;default:_0x493af4['skipType'](0x7&_0x2844e4);}}return _0x523bf8;},_0x599aa3['decodeDelimited']=function(_0x20b111){return _0x20b111 instanceof _0x5743b9||(_0x20b111=new _0x5743b9(_0x20b111)),this['decode'](_0x20b111,_0x20b111['uint32']());},_0x599aa3['verify']=function(_0x324959){if('object'!=typeof _0x324959||null===_0x324959)return'object\x20expected';if(null!=_0x324959['flags']&&_0x324959['hasOwnProperty']('flags')&&!_0x596b78['isString'](_0x324959['flags']))return'flags:\x20string\x20expected';if(null!=_0x324959['rooms']&&_0x324959['hasOwnProperty']('rooms')){if(!Array['isArray'](_0x324959['rooms']))return'rooms:\x20array\x20expected';for(var _0x383710=0x0;_0x383710<_0x324959['rooms']['length'];++_0x383710)if(!_0x596b78['isString'](_0x324959['rooms'][_0x383710]))return'rooms:\x20string[]\x20expected';}if(null!=_0x324959['except']&&_0x324959['hasOwnProperty']('except')){if(!Array['isArray'](_0x324959['except']))return'except:\x20array\x20expected';for(_0x383710=0x0;_0x383710<_0x324959['except']['length'];++_0x383710)if(!_0x596b78['isString'](_0x324959['except'][_0x383710]))return'except:\x20string[]\x20expected';}return null;},_0x599aa3['fromObject']=function(_0x4e7245){if(_0x4e7245 instanceof _0x45f2e9['PacketOptionsMessage'])return _0x4e7245;var _0x3b5ad4=new _0x45f2e9['PacketOptionsMessage']();if(null!=_0x4e7245['flags']&&(_0x3b5ad4['flags']=String(_0x4e7245['flags'])),_0x4e7245['rooms']){if(!Array['isArray'](_0x4e7245['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x3b5ad4['rooms']=[];for(var _0x18a664=0x0;_0x18a664<_0x4e7245['rooms']['length'];++_0x18a664)_0x3b5ad4['rooms'][_0x18a664]=String(_0x4e7245['rooms'][_0x18a664]);}if(_0x4e7245['except']){if(!Array['isArray'](_0x4e7245['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');for(_0x3b5ad4['except']=[],_0x18a664=0x0;_0x18a664<_0x4e7245['except']['length'];++_0x18a664)_0x3b5ad4['except'][_0x18a664]=String(_0x4e7245['except'][_0x18a664]);}return _0x3b5ad4;},_0x599aa3['toObject']=function(_0x4abc17,_0x59f774){_0x59f774||(_0x59f774={});var _0x4b9641={};if((_0x59f774['arrays']||_0x59f774['defaults'])&&(_0x4b9641['rooms']=[],_0x4b9641['except']=[]),_0x59f774['defaults']&&(_0x4b9641['flags']=''),null!=_0x4abc17['flags']&&_0x4abc17['hasOwnProperty']('flags')&&(_0x4b9641['flags']=_0x4abc17['flags']),_0x4abc17['rooms']&&_0x4abc17['rooms']['length']){_0x4b9641['rooms']=[];for(var _0x6ab83e=0x0;_0x6ab83e<_0x4abc17['rooms']['length'];++_0x6ab83e)_0x4b9641['rooms'][_0x6ab83e]=_0x4abc17['rooms'][_0x6ab83e];}if(_0x4abc17['except']&&_0x4abc17['except']['length']){for(_0x4b9641['except']=[],_0x6ab83e=0x0;_0x6ab83e<_0x4abc17['except']['length'];++_0x6ab83e)_0x4b9641['except'][_0x6ab83e]=_0x4abc17['except'][_0x6ab83e];}return _0x4b9641;},_0x599aa3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x599aa3['getTypeUrl']=function(_0x4a5b02){return void 0x0===_0x4a5b02&&(_0x4a5b02='type.googleapis.com'),_0x4a5b02+'/PacketOptionsMessage';},_0x599aa3;}()),_0x45f2e9['PacketMessage']=(function(){function _0x447c9b(_0xd95a01){if(_0xd95a01){for(var _0x3c6a7c=Object['keys'](_0xd95a01),_0x464e48=0x0;_0x464e48<_0x3c6a7c['length'];++_0x464e48)null!=_0xd95a01[_0x3c6a7c[_0x464e48]]&&(this[_0x3c6a7c[_0x464e48]]=_0xd95a01[_0x3c6a7c[_0x464e48]]);}}return _0x447c9b['prototype']['type']=0x0,_0x447c9b['prototype']['id']=0x0,_0x447c9b['prototype']['nsp']='',_0x447c9b['prototype']['data']=_0x596b78['newBuffer']([]),_0x447c9b['prototype']['options']=_0x596b78['newBuffer']([]),_0x447c9b['create']=function(_0x2aa723){return new _0x447c9b(_0x2aa723);},_0x447c9b['encode']=function(_0x1aef51,_0x220f00){return _0x220f00||(_0x220f00=_0x3a081['create']()),null!=_0x1aef51['type']&&Object['hasOwnProperty']['call'](_0x1aef51,'type')&&_0x220f00['uint32'](0x8)['uint32'](_0x1aef51['type']),null!=_0x1aef51['id']&&Object['hasOwnProperty']['call'](_0x1aef51,'id')&&_0x220f00['uint32'](0x10)['uint32'](_0x1aef51['id']),null!=_0x1aef51['nsp']&&Object['hasOwnProperty']['call'](_0x1aef51,'nsp')&&_0x220f00['uint32'](0x1a)['string'](_0x1aef51['nsp']),null!=_0x1aef51['data']&&Object['hasOwnProperty']['call'](_0x1aef51,'data')&&_0x220f00['uint32'](0x22)['bytes'](_0x1aef51['data']),null!=_0x1aef51['options']&&Object['hasOwnProperty']['call'](_0x1aef51,'options')&&_0x220f00['uint32'](0x2a)['bytes'](_0x1aef51['options']),_0x220f00;},_0x447c9b['encodeDelimited']=function(_0x16b1e1,_0x591683){return this['encode'](_0x16b1e1,_0x591683)['ldelim']();},_0x447c9b['decode']=function(_0x33878e,_0x5c6926,_0x222216){_0x33878e instanceof _0x5743b9||(_0x33878e=_0x5743b9['create'](_0x33878e));for(var _0x1a1a37=void 0x0===_0x5c6926?_0x33878e['len']:_0x33878e['pos']+_0x5c6926,_0x2725f7=new _0x45f2e9['PacketMessage']();_0x33878e['pos']<_0x1a1a37;){var _0x51c1b3=_0x33878e['uint32']();if(_0x51c1b3===_0x222216)break;switch(_0x51c1b3>>>0x3){case 0x1:_0x2725f7['type']=_0x33878e['uint32']();break;case 0x2:_0x2725f7['id']=_0x33878e['uint32']();break;case 0x3:_0x2725f7['nsp']=_0x33878e['string']();break;case 0x4:_0x2725f7['data']=_0x33878e['bytes']();break;case 0x5:_0x2725f7['options']=_0x33878e['bytes']();break;default:_0x33878e['skipType'](0x7&_0x51c1b3);}}return _0x2725f7;},_0x447c9b['decodeDelimited']=function(_0x17992e){return _0x17992e instanceof _0x5743b9||(_0x17992e=new _0x5743b9(_0x17992e)),this['decode'](_0x17992e,_0x17992e['uint32']());},_0x447c9b['verify']=function(_0x363e72){return'object'!=typeof _0x363e72||null===_0x363e72?'object\x20expected':null!=_0x363e72['type']&&_0x363e72['hasOwnProperty']('type')&&!_0x596b78['isInteger'](_0x363e72['type'])?'type:\x20integer\x20expected':null!=_0x363e72['id']&&_0x363e72['hasOwnProperty']('id')&&!_0x596b78['isInteger'](_0x363e72['id'])?'id:\x20integer\x20expected':null!=_0x363e72['nsp']&&_0x363e72['hasOwnProperty']('nsp')&&!_0x596b78['isString'](_0x363e72['nsp'])?'nsp:\x20string\x20expected':null!=_0x363e72['data']&&_0x363e72['hasOwnProperty']('data')&&!(_0x363e72['data']&&'number'==typeof _0x363e72['data']['length']||_0x596b78['isString'](_0x363e72['data']))?'data:\x20buffer\x20expected':null!=_0x363e72['options']&&_0x363e72['hasOwnProperty']('options')&&!(_0x363e72['options']&&'number'==typeof _0x363e72['options']['length']||_0x596b78['isString'](_0x363e72['options']))?'options:\x20buffer\x20expected':null;},_0x447c9b['fromObject']=function(_0x19dc70){if(_0x19dc70 instanceof _0x45f2e9['PacketMessage'])return _0x19dc70;var _0x460353=new _0x45f2e9['PacketMessage']();return null!=_0x19dc70['type']&&(_0x460353['type']=_0x19dc70['type']>>>0x0),null!=_0x19dc70['id']&&(_0x460353['id']=_0x19dc70['id']>>>0x0),null!=_0x19dc70['nsp']&&(_0x460353['nsp']=String(_0x19dc70['nsp'])),null!=_0x19dc70['data']&&('string'==typeof _0x19dc70['data']?_0x596b78['base64']['decode'](_0x19dc70['data'],_0x460353['data']=_0x596b78['newBuffer'](_0x596b78['base64']['length'](_0x19dc70['data'])),0x0):_0x19dc70['data']['length']>=0x0&&(_0x460353['data']=_0x19dc70['data'])),null!=_0x19dc70['options']&&('string'==typeof _0x19dc70['options']?_0x596b78['base64']['decode'](_0x19dc70['options'],_0x460353['options']=_0x596b78['newBuffer'](_0x596b78['base64']['length'](_0x19dc70['options'])),0x0):_0x19dc70['options']['length']>=0x0&&(_0x460353['options']=_0x19dc70['options'])),_0x460353;},_0x447c9b['toObject']=function(_0x374648,_0x13243f){_0x13243f||(_0x13243f={});var _0x148de2={};return _0x13243f['defaults']&&(_0x148de2['type']=0x0,_0x148de2['id']=0x0,_0x148de2['nsp']='',_0x13243f['bytes']===String?_0x148de2['data']='':(_0x148de2['data']=[],_0x13243f['bytes']!==Array&&(_0x148de2['data']=_0x596b78['newBuffer'](_0x148de2['data']))),_0x13243f['bytes']===String?_0x148de2['options']='':(_0x148de2['options']=[],_0x13243f['bytes']!==Array&&(_0x148de2['options']=_0x596b78['newBuffer'](_0x148de2['options'])))),null!=_0x374648['type']&&_0x374648['hasOwnProperty']('type')&&(_0x148de2['type']=_0x374648['type']),null!=_0x374648['id']&&_0x374648['hasOwnProperty']('id')&&(_0x148de2['id']=_0x374648['id']),null!=_0x374648['nsp']&&_0x374648['hasOwnProperty']('nsp')&&(_0x148de2['nsp']=_0x374648['nsp']),null!=_0x374648['data']&&_0x374648['hasOwnProperty']('data')&&(_0x148de2['data']=_0x13243f['bytes']===String?_0x596b78['base64']['encode'](_0x374648['data'],0x0,_0x374648['data']['length']):_0x13243f['bytes']===Array?Array['prototype']['slice']['call'](_0x374648['data']):_0x374648['data']),null!=_0x374648['options']&&_0x374648['hasOwnProperty']('options')&&(_0x148de2['options']=_0x13243f['bytes']===String?_0x596b78['base64']['encode'](_0x374648['options'],0x0,_0x374648['options']['length']):_0x13243f['bytes']===Array?Array['prototype']['slice']['call'](_0x374648['options']):_0x374648['options']),_0x148de2;},_0x447c9b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x447c9b['getTypeUrl']=function(_0x507d4b){return void 0x0===_0x507d4b&&(_0x507d4b='type.googleapis.com'),_0x507d4b+'/PacketMessage';},_0x447c9b;}()),_0x45f2e9['ObjectObjectPacketDataMessage']=(function(){function _0x1bd29a(_0x5cada6){if(_0x5cada6){for(var _0x3f13bd=Object['keys'](_0x5cada6),_0x354876=0x0;_0x354876<_0x3f13bd['length'];++_0x354876)null!=_0x5cada6[_0x3f13bd[_0x354876]]&&(this[_0x3f13bd[_0x354876]]=_0x5cada6[_0x3f13bd[_0x354876]]);}}return _0x1bd29a['prototype']['data']='',_0x1bd29a['prototype']['data1']='',_0x1bd29a['create']=function(_0x3bcc4a){return new _0x1bd29a(_0x3bcc4a);},_0x1bd29a['encode']=function(_0x4512c1,_0x58435f){return _0x58435f||(_0x58435f=_0x3a081['create']()),null!=_0x4512c1['data']&&Object['hasOwnProperty']['call'](_0x4512c1,'data')&&_0x58435f['uint32'](0xa)['string'](_0x4512c1['data']),null!=_0x4512c1['data1']&&Object['hasOwnProperty']['call'](_0x4512c1,'data1')&&_0x58435f['uint32'](0x12)['string'](_0x4512c1['data1']),_0x58435f;},_0x1bd29a['encodeDelimited']=function(_0x4a96db,_0x2492bb){return this['encode'](_0x4a96db,_0x2492bb)['ldelim']();},_0x1bd29a['decode']=function(_0x20e371,_0x16fa6e,_0x3fba79){_0x20e371 instanceof _0x5743b9||(_0x20e371=_0x5743b9['create'](_0x20e371));for(var _0x2cc5cd=void 0x0===_0x16fa6e?_0x20e371['len']:_0x20e371['pos']+_0x16fa6e,_0x12f72c=new _0x45f2e9['ObjectObjectPacketDataMessage']();_0x20e371['pos']<_0x2cc5cd;){var _0x6bee59=_0x20e371['uint32']();if(_0x6bee59===_0x3fba79)break;switch(_0x6bee59>>>0x3){case 0x1:_0x12f72c['data']=_0x20e371['string']();break;case 0x2:_0x12f72c['data1']=_0x20e371['string']();break;default:_0x20e371['skipType'](0x7&_0x6bee59);}}return _0x12f72c;},_0x1bd29a['decodeDelimited']=function(_0x30789c){return _0x30789c instanceof _0x5743b9||(_0x30789c=new _0x5743b9(_0x30789c)),this['decode'](_0x30789c,_0x30789c['uint32']());},_0x1bd29a['verify']=function(_0x2522f0){return'object'!=typeof _0x2522f0||null===_0x2522f0?'object\x20expected':null!=_0x2522f0['data']&&_0x2522f0['hasOwnProperty']('data')&&!_0x596b78['isString'](_0x2522f0['data'])?'data:\x20string\x20expected':null!=_0x2522f0['data1']&&_0x2522f0['hasOwnProperty']('data1')&&!_0x596b78['isString'](_0x2522f0['data1'])?'data1:\x20string\x20expected':null;},_0x1bd29a['fromObject']=function(_0x55a72b){if(_0x55a72b instanceof _0x45f2e9['ObjectObjectPacketDataMessage'])return _0x55a72b;var _0x2ea533=new _0x45f2e9['ObjectObjectPacketDataMessage']();return null!=_0x55a72b['data']&&(_0x2ea533['data']=String(_0x55a72b['data'])),null!=_0x55a72b['data1']&&(_0x2ea533['data1']=String(_0x55a72b['data1'])),_0x2ea533;},_0x1bd29a['toObject']=function(_0x4ab948,_0x47f020){_0x47f020||(_0x47f020={});var _0x380bb7={};return _0x47f020['defaults']&&(_0x380bb7['data']='',_0x380bb7['data1']=''),null!=_0x4ab948['data']&&_0x4ab948['hasOwnProperty']('data')&&(_0x380bb7['data']=_0x4ab948['data']),null!=_0x4ab948['data1']&&_0x4ab948['hasOwnProperty']('data1')&&(_0x380bb7['data1']=_0x4ab948['data1']),_0x380bb7;},_0x1bd29a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x1bd29a['getTypeUrl']=function(_0x4421dd){return void 0x0===_0x4421dd&&(_0x4421dd='type.googleapis.com'),_0x4421dd+'/ObjectObjectPacketDataMessage';},_0x1bd29a;}()),_0x45f2e9['ObjectBufferPacketDataMessage']=(function(){function _0xcd6e6d(_0x377f49){if(_0x377f49){for(var _0xb8d24f=Object['keys'](_0x377f49),_0x31391d=0x0;_0x31391d<_0xb8d24f['length'];++_0x31391d)null!=_0x377f49[_0xb8d24f[_0x31391d]]&&(this[_0xb8d24f[_0x31391d]]=_0x377f49[_0xb8d24f[_0x31391d]]);}}return _0xcd6e6d['prototype']['data']='',_0xcd6e6d['prototype']['data1']=_0x596b78['newBuffer']([]),_0xcd6e6d['create']=function(_0x28e31b){return new _0xcd6e6d(_0x28e31b);},_0xcd6e6d['encode']=function(_0x1991a0,_0x8ae335){return _0x8ae335||(_0x8ae335=_0x3a081['create']()),null!=_0x1991a0['data']&&Object['hasOwnProperty']['call'](_0x1991a0,'data')&&_0x8ae335['uint32'](0xa)['string'](_0x1991a0['data']),null!=_0x1991a0['data1']&&Object['hasOwnProperty']['call'](_0x1991a0,'data1')&&_0x8ae335['uint32'](0x12)['bytes'](_0x1991a0['data1']),_0x8ae335;},_0xcd6e6d['encodeDelimited']=function(_0x418238,_0x38a558){return this['encode'](_0x418238,_0x38a558)['ldelim']();},_0xcd6e6d['decode']=function(_0x2b4309,_0xbe3eee,_0x26b64d){_0x2b4309 instanceof _0x5743b9||(_0x2b4309=_0x5743b9['create'](_0x2b4309));for(var _0x136792=void 0x0===_0xbe3eee?_0x2b4309['len']:_0x2b4309['pos']+_0xbe3eee,_0x5aeb36=new _0x45f2e9['ObjectBufferPacketDataMessage']();_0x2b4309['pos']<_0x136792;){var _0x14370b=_0x2b4309['uint32']();if(_0x14370b===_0x26b64d)break;switch(_0x14370b>>>0x3){case 0x1:_0x5aeb36['data']=_0x2b4309['string']();break;case 0x2:_0x5aeb36['data1']=_0x2b4309['bytes']();break;default:_0x2b4309['skipType'](0x7&_0x14370b);}}return _0x5aeb36;},_0xcd6e6d['decodeDelimited']=function(_0x3354b3){return _0x3354b3 instanceof _0x5743b9||(_0x3354b3=new _0x5743b9(_0x3354b3)),this['decode'](_0x3354b3,_0x3354b3['uint32']());},_0xcd6e6d['verify']=function(_0x4fbf79){return'object'!=typeof _0x4fbf79||null===_0x4fbf79?'object\x20expected':null!=_0x4fbf79['data']&&_0x4fbf79['hasOwnProperty']('data')&&!_0x596b78['isString'](_0x4fbf79['data'])?'data:\x20string\x20expected':null!=_0x4fbf79['data1']&&_0x4fbf79['hasOwnProperty']('data1')&&!(_0x4fbf79['data1']&&'number'==typeof _0x4fbf79['data1']['length']||_0x596b78['isString'](_0x4fbf79['data1']))?'data1:\x20buffer\x20expected':null;},_0xcd6e6d['fromObject']=function(_0x3a281e){if(_0x3a281e instanceof _0x45f2e9['ObjectBufferPacketDataMessage'])return _0x3a281e;var _0x3ff80a=new _0x45f2e9['ObjectBufferPacketDataMessage']();return null!=_0x3a281e['data']&&(_0x3ff80a['data']=String(_0x3a281e['data'])),null!=_0x3a281e['data1']&&('string'==typeof _0x3a281e['data1']?_0x596b78['base64']['decode'](_0x3a281e['data1'],_0x3ff80a['data1']=_0x596b78['newBuffer'](_0x596b78['base64']['length'](_0x3a281e['data1'])),0x0):_0x3a281e['data1']['length']>=0x0&&(_0x3ff80a['data1']=_0x3a281e['data1'])),_0x3ff80a;},_0xcd6e6d['toObject']=function(_0x38a385,_0x14f112){_0x14f112||(_0x14f112={});var _0x2c6a28={};return _0x14f112['defaults']&&(_0x2c6a28['data']='',_0x14f112['bytes']===String?_0x2c6a28['data1']='':(_0x2c6a28['data1']=[],_0x14f112['bytes']!==Array&&(_0x2c6a28['data1']=_0x596b78['newBuffer'](_0x2c6a28['data1'])))),null!=_0x38a385['data']&&_0x38a385['hasOwnProperty']('data')&&(_0x2c6a28['data']=_0x38a385['data']),null!=_0x38a385['data1']&&_0x38a385['hasOwnProperty']('data1')&&(_0x2c6a28['data1']=_0x14f112['bytes']===String?_0x596b78['base64']['encode'](_0x38a385['data1'],0x0,_0x38a385['data1']['length']):_0x14f112['bytes']===Array?Array['prototype']['slice']['call'](_0x38a385['data1']):_0x38a385['data1']),_0x2c6a28;},_0xcd6e6d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0xcd6e6d['getTypeUrl']=function(_0x434076){return void 0x0===_0x434076&&(_0x434076='type.googleapis.com'),_0x434076+'/ObjectBufferPacketDataMessage';},_0xcd6e6d;}()),_0x45f2e9['NumberStringPacketDataMessage']=(function(){function _0x5a0da6(_0x9b7304){if(_0x9b7304){for(var _0x46f785=Object['keys'](_0x9b7304),_0x5e37fc=0x0;_0x5e37fc<_0x46f785['length'];++_0x5e37fc)null!=_0x9b7304[_0x46f785[_0x5e37fc]]&&(this[_0x46f785[_0x5e37fc]]=_0x9b7304[_0x46f785[_0x5e37fc]]);}}return _0x5a0da6['prototype']['data']=0x0,_0x5a0da6['prototype']['data1']='',_0x5a0da6['create']=function(_0x2aa896){return new _0x5a0da6(_0x2aa896);},_0x5a0da6['encode']=function(_0x4b29b0,_0x53e2a8){return _0x53e2a8||(_0x53e2a8=_0x3a081['create']()),null!=_0x4b29b0['data']&&Object['hasOwnProperty']['call'](_0x4b29b0,'data')&&_0x53e2a8['uint32'](0x8)['uint32'](_0x4b29b0['data']),null!=_0x4b29b0['data1']&&Object['hasOwnProperty']['call'](_0x4b29b0,'data1')&&_0x53e2a8['uint32'](0x12)['string'](_0x4b29b0['data1']),_0x53e2a8;},_0x5a0da6['encodeDelimited']=function(_0x59a777,_0x3ce75a){return this['encode'](_0x59a777,_0x3ce75a)['ldelim']();},_0x5a0da6['decode']=function(_0x140ad5,_0x1ed6ce,_0x45e67c){_0x140ad5 instanceof _0x5743b9||(_0x140ad5=_0x5743b9['create'](_0x140ad5));for(var _0x593459=void 0x0===_0x1ed6ce?_0x140ad5['len']:_0x140ad5['pos']+_0x1ed6ce,_0xb88801=new _0x45f2e9['NumberStringPacketDataMessage']();_0x140ad5['pos']<_0x593459;){var _0xdf0211=_0x140ad5['uint32']();if(_0xdf0211===_0x45e67c)break;switch(_0xdf0211>>>0x3){case 0x1:_0xb88801['data']=_0x140ad5['uint32']();break;case 0x2:_0xb88801['data1']=_0x140ad5['string']();break;default:_0x140ad5['skipType'](0x7&_0xdf0211);}}return _0xb88801;},_0x5a0da6['decodeDelimited']=function(_0x3571b6){return _0x3571b6 instanceof _0x5743b9||(_0x3571b6=new _0x5743b9(_0x3571b6)),this['decode'](_0x3571b6,_0x3571b6['uint32']());},_0x5a0da6['verify']=function(_0x36ca58){return'object'!=typeof _0x36ca58||null===_0x36ca58?'object\x20expected':null!=_0x36ca58['data']&&_0x36ca58['hasOwnProperty']('data')&&!_0x596b78['isInteger'](_0x36ca58['data'])?'data:\x20integer\x20expected':null!=_0x36ca58['data1']&&_0x36ca58['hasOwnProperty']('data1')&&!_0x596b78['isString'](_0x36ca58['data1'])?'data1:\x20string\x20expected':null;},_0x5a0da6['fromObject']=function(_0x2c745a){if(_0x2c745a instanceof _0x45f2e9['NumberStringPacketDataMessage'])return _0x2c745a;var _0x3e1fcb=new _0x45f2e9['NumberStringPacketDataMessage']();return null!=_0x2c745a['data']&&(_0x3e1fcb['data']=_0x2c745a['data']>>>0x0),null!=_0x2c745a['data1']&&(_0x3e1fcb['data1']=String(_0x2c745a['data1'])),_0x3e1fcb;},_0x5a0da6['toObject']=function(_0x59ff66,_0x316b65){_0x316b65||(_0x316b65={});var _0x1527e7={};return _0x316b65['defaults']&&(_0x1527e7['data']=0x0,_0x1527e7['data1']=''),null!=_0x59ff66['data']&&_0x59ff66['hasOwnProperty']('data')&&(_0x1527e7['data']=_0x59ff66['data']),null!=_0x59ff66['data1']&&_0x59ff66['hasOwnProperty']('data1')&&(_0x1527e7['data1']=_0x59ff66['data1']),_0x1527e7;},_0x5a0da6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x5a0da6['getTypeUrl']=function(_0x1b5e33){return void 0x0===_0x1b5e33&&(_0x1b5e33='type.googleapis.com'),_0x1b5e33+'/NumberStringPacketDataMessage';},_0x5a0da6;}()),_0x45f2e9['NumberObjectPacketDataMessage']=(function(){function _0xcc72a8(_0x9fc89e){if(_0x9fc89e){for(var _0xf4ef8c=Object['keys'](_0x9fc89e),_0x6b0347=0x0;_0x6b0347<_0xf4ef8c['length'];++_0x6b0347)null!=_0x9fc89e[_0xf4ef8c[_0x6b0347]]&&(this[_0xf4ef8c[_0x6b0347]]=_0x9fc89e[_0xf4ef8c[_0x6b0347]]);}}return _0xcc72a8['prototype']['data']=0x0,_0xcc72a8['prototype']['data1']='',_0xcc72a8['create']=function(_0x2148f4){return new _0xcc72a8(_0x2148f4);},_0xcc72a8['encode']=function(_0x2a347b,_0x1840f4){return _0x1840f4||(_0x1840f4=_0x3a081['create']()),null!=_0x2a347b['data']&&Object['hasOwnProperty']['call'](_0x2a347b,'data')&&_0x1840f4['uint32'](0x8)['uint32'](_0x2a347b['data']),null!=_0x2a347b['data1']&&Object['hasOwnProperty']['call'](_0x2a347b,'data1')&&_0x1840f4['uint32'](0x12)['string'](_0x2a347b['data1']),_0x1840f4;},_0xcc72a8['encodeDelimited']=function(_0xabffca,_0x2ae0ab){return this['encode'](_0xabffca,_0x2ae0ab)['ldelim']();},_0xcc72a8['decode']=function(_0x363fe6,_0x4f4e5d,_0x25278e){_0x363fe6 instanceof _0x5743b9||(_0x363fe6=_0x5743b9['create'](_0x363fe6));for(var _0x3a66b7=void 0x0===_0x4f4e5d?_0x363fe6['len']:_0x363fe6['pos']+_0x4f4e5d,_0x342632=new _0x45f2e9['NumberObjectPacketDataMessage']();_0x363fe6['pos']<_0x3a66b7;){var _0x434e29=_0x363fe6['uint32']();if(_0x434e29===_0x25278e)break;switch(_0x434e29>>>0x3){case 0x1:_0x342632['data']=_0x363fe6['uint32']();break;case 0x2:_0x342632['data1']=_0x363fe6['string']();break;default:_0x363fe6['skipType'](0x7&_0x434e29);}}return _0x342632;},_0xcc72a8['decodeDelimited']=function(_0x2cbbdf){return _0x2cbbdf instanceof _0x5743b9||(_0x2cbbdf=new _0x5743b9(_0x2cbbdf)),this['decode'](_0x2cbbdf,_0x2cbbdf['uint32']());},_0xcc72a8['verify']=function(_0x575d68){return'object'!=typeof _0x575d68||null===_0x575d68?'object\x20expected':null!=_0x575d68['data']&&_0x575d68['hasOwnProperty']('data')&&!_0x596b78['isInteger'](_0x575d68['data'])?'data:\x20integer\x20expected':null!=_0x575d68['data1']&&_0x575d68['hasOwnProperty']('data1')&&!_0x596b78['isString'](_0x575d68['data1'])?'data1:\x20string\x20expected':null;},_0xcc72a8['fromObject']=function(_0x534337){if(_0x534337 instanceof _0x45f2e9['NumberObjectPacketDataMessage'])return _0x534337;var _0x382240=new _0x45f2e9['NumberObjectPacketDataMessage']();return null!=_0x534337['data']&&(_0x382240['data']=_0x534337['data']>>>0x0),null!=_0x534337['data1']&&(_0x382240['data1']=String(_0x534337['data1'])),_0x382240;},_0xcc72a8['toObject']=function(_0x2db740,_0x133dae){_0x133dae||(_0x133dae={});var _0x344cf3={};return _0x133dae['defaults']&&(_0x344cf3['data']=0x0,_0x344cf3['data1']=''),null!=_0x2db740['data']&&_0x2db740['hasOwnProperty']('data')&&(_0x344cf3['data']=_0x2db740['data']),null!=_0x2db740['data1']&&_0x2db740['hasOwnProperty']('data1')&&(_0x344cf3['data1']=_0x2db740['data1']),_0x344cf3;},_0xcc72a8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0xcc72a8['getTypeUrl']=function(_0x55a00b){return void 0x0===_0x55a00b&&(_0x55a00b='type.googleapis.com'),_0x55a00b+'/NumberObjectPacketDataMessage';},_0xcc72a8;}()),_0x45f2e9['NumberNumberPacketDataMessage']=(function(){function _0x371e05(_0x5bc5e4){if(_0x5bc5e4){for(var _0x5a3d9c=Object['keys'](_0x5bc5e4),_0x4e2b63=0x0;_0x4e2b63<_0x5a3d9c['length'];++_0x4e2b63)null!=_0x5bc5e4[_0x5a3d9c[_0x4e2b63]]&&(this[_0x5a3d9c[_0x4e2b63]]=_0x5bc5e4[_0x5a3d9c[_0x4e2b63]]);}}return _0x371e05['prototype']['data']=0x0,_0x371e05['prototype']['data1']=0x0,_0x371e05['create']=function(_0x19b140){return new _0x371e05(_0x19b140);},_0x371e05['encode']=function(_0x40c82e,_0x302113){return _0x302113||(_0x302113=_0x3a081['create']()),null!=_0x40c82e['data']&&Object['hasOwnProperty']['call'](_0x40c82e,'data')&&_0x302113['uint32'](0x8)['uint32'](_0x40c82e['data']),null!=_0x40c82e['data1']&&Object['hasOwnProperty']['call'](_0x40c82e,'data1')&&_0x302113['uint32'](0x10)['uint32'](_0x40c82e['data1']),_0x302113;},_0x371e05['encodeDelimited']=function(_0x24001d,_0x189118){return this['encode'](_0x24001d,_0x189118)['ldelim']();},_0x371e05['decode']=function(_0x5c5eaf,_0x3ac143,_0x21c23f){_0x5c5eaf instanceof _0x5743b9||(_0x5c5eaf=_0x5743b9['create'](_0x5c5eaf));for(var _0x3493c0=void 0x0===_0x3ac143?_0x5c5eaf['len']:_0x5c5eaf['pos']+_0x3ac143,_0x43fa5d=new _0x45f2e9['NumberNumberPacketDataMessage']();_0x5c5eaf['pos']<_0x3493c0;){var _0x4d717f=_0x5c5eaf['uint32']();if(_0x4d717f===_0x21c23f)break;switch(_0x4d717f>>>0x3){case 0x1:_0x43fa5d['data']=_0x5c5eaf['uint32']();break;case 0x2:_0x43fa5d['data1']=_0x5c5eaf['uint32']();break;default:_0x5c5eaf['skipType'](0x7&_0x4d717f);}}return _0x43fa5d;},_0x371e05['decodeDelimited']=function(_0x354560){return _0x354560 instanceof _0x5743b9||(_0x354560=new _0x5743b9(_0x354560)),this['decode'](_0x354560,_0x354560['uint32']());},_0x371e05['verify']=function(_0x76a87a){return'object'!=typeof _0x76a87a||null===_0x76a87a?'object\x20expected':null!=_0x76a87a['data']&&_0x76a87a['hasOwnProperty']('data')&&!_0x596b78['isInteger'](_0x76a87a['data'])?'data:\x20integer\x20expected':null!=_0x76a87a['data1']&&_0x76a87a['hasOwnProperty']('data1')&&!_0x596b78['isInteger'](_0x76a87a['data1'])?'data1:\x20integer\x20expected':null;},_0x371e05['fromObject']=function(_0x30838){if(_0x30838 instanceof _0x45f2e9['NumberNumberPacketDataMessage'])return _0x30838;var _0x5dc387=new _0x45f2e9['NumberNumberPacketDataMessage']();return null!=_0x30838['data']&&(_0x5dc387['data']=_0x30838['data']>>>0x0),null!=_0x30838['data1']&&(_0x5dc387['data1']=_0x30838['data1']>>>0x0),_0x5dc387;},_0x371e05['toObject']=function(_0x42af38,_0x514f99){_0x514f99||(_0x514f99={});var _0x475ddf={};return _0x514f99['defaults']&&(_0x475ddf['data']=0x0,_0x475ddf['data1']=0x0),null!=_0x42af38['data']&&_0x42af38['hasOwnProperty']('data')&&(_0x475ddf['data']=_0x42af38['data']),null!=_0x42af38['data1']&&_0x42af38['hasOwnProperty']('data1')&&(_0x475ddf['data1']=_0x42af38['data1']),_0x475ddf;},_0x371e05['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x371e05['getTypeUrl']=function(_0x3c93dc){return void 0x0===_0x3c93dc&&(_0x3c93dc='type.googleapis.com'),_0x3c93dc+'/NumberNumberPacketDataMessage';},_0x371e05;}()),_0x45f2e9['NumberBytesPacketDataMessage']=(function(){function _0x4ac87b(_0x5b39ca){if(_0x5b39ca){for(var _0x298d6f=Object['keys'](_0x5b39ca),_0x47f196=0x0;_0x47f196<_0x298d6f['length'];++_0x47f196)null!=_0x5b39ca[_0x298d6f[_0x47f196]]&&(this[_0x298d6f[_0x47f196]]=_0x5b39ca[_0x298d6f[_0x47f196]]);}}return _0x4ac87b['prototype']['data']=0x0,_0x4ac87b['prototype']['data1']=_0x596b78['newBuffer']([]),_0x4ac87b['create']=function(_0x4e6bf6){return new _0x4ac87b(_0x4e6bf6);},_0x4ac87b['encode']=function(_0x40bb0d,_0x5c3bcf){return _0x5c3bcf||(_0x5c3bcf=_0x3a081['create']()),null!=_0x40bb0d['data']&&Object['hasOwnProperty']['call'](_0x40bb0d,'data')&&_0x5c3bcf['uint32'](0x8)['uint32'](_0x40bb0d['data']),null!=_0x40bb0d['data1']&&Object['hasOwnProperty']['call'](_0x40bb0d,'data1')&&_0x5c3bcf['uint32'](0x12)['bytes'](_0x40bb0d['data1']),_0x5c3bcf;},_0x4ac87b['encodeDelimited']=function(_0x52e8ca,_0x1bf0c1){return this['encode'](_0x52e8ca,_0x1bf0c1)['ldelim']();},_0x4ac87b['decode']=function(_0x5df763,_0x30b280,_0x21eaf5){_0x5df763 instanceof _0x5743b9||(_0x5df763=_0x5743b9['create'](_0x5df763));for(var _0x13edc8=void 0x0===_0x30b280?_0x5df763['len']:_0x5df763['pos']+_0x30b280,_0x2a6332=new _0x45f2e9['NumberBytesPacketDataMessage']();_0x5df763['pos']<_0x13edc8;){var _0x3121d1=_0x5df763['uint32']();if(_0x3121d1===_0x21eaf5)break;switch(_0x3121d1>>>0x3){case 0x1:_0x2a6332['data']=_0x5df763['uint32']();break;case 0x2:_0x2a6332['data1']=_0x5df763['bytes']();break;default:_0x5df763['skipType'](0x7&_0x3121d1);}}return _0x2a6332;},_0x4ac87b['decodeDelimited']=function(_0x1a97c7){return _0x1a97c7 instanceof _0x5743b9||(_0x1a97c7=new _0x5743b9(_0x1a97c7)),this['decode'](_0x1a97c7,_0x1a97c7['uint32']());},_0x4ac87b['verify']=function(_0x3adf8c){return'object'!=typeof _0x3adf8c||null===_0x3adf8c?'object\x20expected':null!=_0x3adf8c['data']&&_0x3adf8c['hasOwnProperty']('data')&&!_0x596b78['isInteger'](_0x3adf8c['data'])?'data:\x20integer\x20expected':null!=_0x3adf8c['data1']&&_0x3adf8c['hasOwnProperty']('data1')&&!(_0x3adf8c['data1']&&'number'==typeof _0x3adf8c['data1']['length']||_0x596b78['isString'](_0x3adf8c['data1']))?'data1:\x20buffer\x20expected':null;},_0x4ac87b['fromObject']=function(_0x275957){if(_0x275957 instanceof _0x45f2e9['NumberBytesPacketDataMessage'])return _0x275957;var _0x1adfab=new _0x45f2e9['NumberBytesPacketDataMessage']();return null!=_0x275957['data']&&(_0x1adfab['data']=_0x275957['data']>>>0x0),null!=_0x275957['data1']&&('string'==typeof _0x275957['data1']?_0x596b78['base64']['decode'](_0x275957['data1'],_0x1adfab['data1']=_0x596b78['newBuffer'](_0x596b78['base64']['length'](_0x275957['data1'])),0x0):_0x275957['data1']['length']>=0x0&&(_0x1adfab['data1']=_0x275957['data1'])),_0x1adfab;},_0x4ac87b['toObject']=function(_0x5713ef,_0x58df2b){_0x58df2b||(_0x58df2b={});var _0x5a5540={};return _0x58df2b['defaults']&&(_0x5a5540['data']=0x0,_0x58df2b['bytes']===String?_0x5a5540['data1']='':(_0x5a5540['data1']=[],_0x58df2b['bytes']!==Array&&(_0x5a5540['data1']=_0x596b78['newBuffer'](_0x5a5540['data1'])))),null!=_0x5713ef['data']&&_0x5713ef['hasOwnProperty']('data')&&(_0x5a5540['data']=_0x5713ef['data']),null!=_0x5713ef['data1']&&_0x5713ef['hasOwnProperty']('data1')&&(_0x5a5540['data1']=_0x58df2b['bytes']===String?_0x596b78['base64']['encode'](_0x5713ef['data1'],0x0,_0x5713ef['data1']['length']):_0x58df2b['bytes']===Array?Array['prototype']['slice']['call'](_0x5713ef['data1']):_0x5713ef['data1']),_0x5a5540;},_0x4ac87b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x4ac87b['getTypeUrl']=function(_0x353215){return void 0x0===_0x353215&&(_0x353215='type.googleapis.com'),_0x353215+'/NumberBytesPacketDataMessage';},_0x4ac87b;}()),_0x45f2e9['BytesBytesPacketDataMessage']=(function(){function _0xef2929(_0x3f98d9){if(_0x3f98d9){for(var _0x7d67f9=Object['keys'](_0x3f98d9),_0x1ae88a=0x0;_0x1ae88a<_0x7d67f9['length'];++_0x1ae88a)null!=_0x3f98d9[_0x7d67f9[_0x1ae88a]]&&(this[_0x7d67f9[_0x1ae88a]]=_0x3f98d9[_0x7d67f9[_0x1ae88a]]);}}return _0xef2929['prototype']['data']=_0x596b78['newBuffer']([]),_0xef2929['prototype']['data1']=_0x596b78['newBuffer']([]),_0xef2929['create']=function(_0x10ebc8){return new _0xef2929(_0x10ebc8);},_0xef2929['encode']=function(_0x44fe56,_0x67a525){return _0x67a525||(_0x67a525=_0x3a081['create']()),null!=_0x44fe56['data']&&Object['hasOwnProperty']['call'](_0x44fe56,'data')&&_0x67a525['uint32'](0xa)['bytes'](_0x44fe56['data']),null!=_0x44fe56['data1']&&Object['hasOwnProperty']['call'](_0x44fe56,'data1')&&_0x67a525['uint32'](0x12)['bytes'](_0x44fe56['data1']),_0x67a525;},_0xef2929['encodeDelimited']=function(_0x53f5c1,_0x504dc3){return this['encode'](_0x53f5c1,_0x504dc3)['ldelim']();},_0xef2929['decode']=function(_0x33dd5d,_0x3a7043,_0x4fa675){_0x33dd5d instanceof _0x5743b9||(_0x33dd5d=_0x5743b9['create'](_0x33dd5d));for(var _0xc4b223=void 0x0===_0x3a7043?_0x33dd5d['len']:_0x33dd5d['pos']+_0x3a7043,_0x3641e7=new _0x45f2e9['BytesBytesPacketDataMessage']();_0x33dd5d['pos']<_0xc4b223;){var _0x439055=_0x33dd5d['uint32']();if(_0x439055===_0x4fa675)break;switch(_0x439055>>>0x3){case 0x1:_0x3641e7['data']=_0x33dd5d['bytes']();break;case 0x2:_0x3641e7['data1']=_0x33dd5d['bytes']();break;default:_0x33dd5d['skipType'](0x7&_0x439055);}}return _0x3641e7;},_0xef2929['decodeDelimited']=function(_0x95b33d){return _0x95b33d instanceof _0x5743b9||(_0x95b33d=new _0x5743b9(_0x95b33d)),this['decode'](_0x95b33d,_0x95b33d['uint32']());},_0xef2929['verify']=function(_0x390015){return'object'!=typeof _0x390015||null===_0x390015?'object\x20expected':null!=_0x390015['data']&&_0x390015['hasOwnProperty']('data')&&!(_0x390015['data']&&'number'==typeof _0x390015['data']['length']||_0x596b78['isString'](_0x390015['data']))?'data:\x20buffer\x20expected':null!=_0x390015['data1']&&_0x390015['hasOwnProperty']('data1')&&!(_0x390015['data1']&&'number'==typeof _0x390015['data1']['length']||_0x596b78['isString'](_0x390015['data1']))?'data1:\x20buffer\x20expected':null;},_0xef2929['fromObject']=function(_0x84fff8){if(_0x84fff8 instanceof _0x45f2e9['BytesBytesPacketDataMessage'])return _0x84fff8;var _0x38b00c=new _0x45f2e9['BytesBytesPacketDataMessage']();return null!=_0x84fff8['data']&&('string'==typeof _0x84fff8['data']?_0x596b78['base64']['decode'](_0x84fff8['data'],_0x38b00c['data']=_0x596b78['newBuffer'](_0x596b78['base64']['length'](_0x84fff8['data'])),0x0):_0x84fff8['data']['length']>=0x0&&(_0x38b00c['data']=_0x84fff8['data'])),null!=_0x84fff8['data1']&&('string'==typeof _0x84fff8['data1']?_0x596b78['base64']['decode'](_0x84fff8['data1'],_0x38b00c['data1']=_0x596b78['newBuffer'](_0x596b78['base64']['length'](_0x84fff8['data1'])),0x0):_0x84fff8['data1']['length']>=0x0&&(_0x38b00c['data1']=_0x84fff8['data1'])),_0x38b00c;},_0xef2929['toObject']=function(_0x18545c,_0x104505){_0x104505||(_0x104505={});var _0x274936={};return _0x104505['defaults']&&(_0x104505['bytes']===String?_0x274936['data']='':(_0x274936['data']=[],_0x104505['bytes']!==Array&&(_0x274936['data']=_0x596b78['newBuffer'](_0x274936['data']))),_0x104505['bytes']===String?_0x274936['data1']='':(_0x274936['data1']=[],_0x104505['bytes']!==Array&&(_0x274936['data1']=_0x596b78['newBuffer'](_0x274936['data1'])))),null!=_0x18545c['data']&&_0x18545c['hasOwnProperty']('data')&&(_0x274936['data']=_0x104505['bytes']===String?_0x596b78['base64']['encode'](_0x18545c['data'],0x0,_0x18545c['data']['length']):_0x104505['bytes']===Array?Array['prototype']['slice']['call'](_0x18545c['data']):_0x18545c['data']),null!=_0x18545c['data1']&&_0x18545c['hasOwnProperty']('data1')&&(_0x274936['data1']=_0x104505['bytes']===String?_0x596b78['base64']['encode'](_0x18545c['data1'],0x0,_0x18545c['data1']['length']):_0x104505['bytes']===Array?Array['prototype']['slice']['call'](_0x18545c['data1']):_0x18545c['data1']),_0x274936;},_0xef2929['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0xef2929['getTypeUrl']=function(_0x5cf59b){return void 0x0===_0x5cf59b&&(_0x5cf59b='type.googleapis.com'),_0x5cf59b+'/BytesBytesPacketDataMessage';},_0xef2929;}()),_0x45f2e9['ChannelMessage']=(function(){function _0x523ff7(_0x5631cc){if(_0x5631cc){for(var _0x30fa8a=Object['keys'](_0x5631cc),_0x32bcb3=0x0;_0x32bcb3<_0x30fa8a['length'];++_0x32bcb3)null!=_0x5631cc[_0x30fa8a[_0x32bcb3]]&&(this[_0x30fa8a[_0x32bcb3]]=_0x5631cc[_0x30fa8a[_0x32bcb3]]);}}return _0x523ff7['prototype']['type']=0x0,_0x523ff7['prototype']['socketId']='',_0x523ff7['prototype']['data']=_0x596b78['newBuffer']([]),_0x523ff7['create']=function(_0xafb0f7){return new _0x523ff7(_0xafb0f7);},_0x523ff7['encode']=function(_0x5a80a8,_0x2089b9){return _0x2089b9||(_0x2089b9=_0x3a081['create']()),null!=_0x5a80a8['type']&&Object['hasOwnProperty']['call'](_0x5a80a8,'type')&&_0x2089b9['uint32'](0x8)['uint32'](_0x5a80a8['type']),null!=_0x5a80a8['socketId']&&Object['hasOwnProperty']['call'](_0x5a80a8,'socketId')&&_0x2089b9['uint32'](0x12)['string'](_0x5a80a8['socketId']),null!=_0x5a80a8['data']&&Object['hasOwnProperty']['call'](_0x5a80a8,'data')&&_0x2089b9['uint32'](0x1a)['bytes'](_0x5a80a8['data']),_0x2089b9;},_0x523ff7['encodeDelimited']=function(_0x525cd8,_0xdbbbdd){return this['encode'](_0x525cd8,_0xdbbbdd)['ldelim']();},_0x523ff7['decode']=function(_0x25f049,_0x4d877c,_0x2274bb){_0x25f049 instanceof _0x5743b9||(_0x25f049=_0x5743b9['create'](_0x25f049));for(var _0x3dfa42=void 0x0===_0x4d877c?_0x25f049['len']:_0x25f049['pos']+_0x4d877c,_0xfe68a=new _0x45f2e9['ChannelMessage']();_0x25f049['pos']<_0x3dfa42;){var _0x2414c5=_0x25f049['uint32']();if(_0x2414c5===_0x2274bb)break;switch(_0x2414c5>>>0x3){case 0x1:_0xfe68a['type']=_0x25f049['uint32']();break;case 0x2:_0xfe68a['socketId']=_0x25f049['string']();break;case 0x3:_0xfe68a['data']=_0x25f049['bytes']();break;default:_0x25f049['skipType'](0x7&_0x2414c5);}}return _0xfe68a;},_0x523ff7['decodeDelimited']=function(_0x3d4988){return _0x3d4988 instanceof _0x5743b9||(_0x3d4988=new _0x5743b9(_0x3d4988)),this['decode'](_0x3d4988,_0x3d4988['uint32']());},_0x523ff7['verify']=function(_0x9568c8){return'object'!=typeof _0x9568c8||null===_0x9568c8?'object\x20expected':null!=_0x9568c8['type']&&_0x9568c8['hasOwnProperty']('type')&&!_0x596b78['isInteger'](_0x9568c8['type'])?'type:\x20integer\x20expected':null!=_0x9568c8['socketId']&&_0x9568c8['hasOwnProperty']('socketId')&&!_0x596b78['isString'](_0x9568c8['socketId'])?'socketId:\x20string\x20expected':null!=_0x9568c8['data']&&_0x9568c8['hasOwnProperty']('data')&&!(_0x9568c8['data']&&'number'==typeof _0x9568c8['data']['length']||_0x596b78['isString'](_0x9568c8['data']))?'data:\x20buffer\x20expected':null;},_0x523ff7['fromObject']=function(_0x41bcbe){if(_0x41bcbe instanceof _0x45f2e9['ChannelMessage'])return _0x41bcbe;var _0xa16af8=new _0x45f2e9['ChannelMessage']();return null!=_0x41bcbe['type']&&(_0xa16af8['type']=_0x41bcbe['type']>>>0x0),null!=_0x41bcbe['socketId']&&(_0xa16af8['socketId']=String(_0x41bcbe['socketId'])),null!=_0x41bcbe['data']&&('string'==typeof _0x41bcbe['data']?_0x596b78['base64']['decode'](_0x41bcbe['data'],_0xa16af8['data']=_0x596b78['newBuffer'](_0x596b78['base64']['length'](_0x41bcbe['data'])),0x0):_0x41bcbe['data']['length']>=0x0&&(_0xa16af8['data']=_0x41bcbe['data'])),_0xa16af8;},_0x523ff7['toObject']=function(_0x22b977,_0xd7d543){_0xd7d543||(_0xd7d543={});var _0x17ff69={};return _0xd7d543['defaults']&&(_0x17ff69['type']=0x0,_0x17ff69['socketId']='',_0xd7d543['bytes']===String?_0x17ff69['data']='':(_0x17ff69['data']=[],_0xd7d543['bytes']!==Array&&(_0x17ff69['data']=_0x596b78['newBuffer'](_0x17ff69['data'])))),null!=_0x22b977['type']&&_0x22b977['hasOwnProperty']('type')&&(_0x17ff69['type']=_0x22b977['type']),null!=_0x22b977['socketId']&&_0x22b977['hasOwnProperty']('socketId')&&(_0x17ff69['socketId']=_0x22b977['socketId']),null!=_0x22b977['data']&&_0x22b977['hasOwnProperty']('data')&&(_0x17ff69['data']=_0xd7d543['bytes']===String?_0x596b78['base64']['encode'](_0x22b977['data'],0x0,_0x22b977['data']['length']):_0xd7d543['bytes']===Array?Array['prototype']['slice']['call'](_0x22b977['data']):_0x22b977['data']),_0x17ff69;},_0x523ff7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x523ff7['getTypeUrl']=function(_0x5e2b09){return void 0x0===_0x5e2b09&&(_0x5e2b09='type.googleapis.com'),_0x5e2b09+'/ChannelMessage';},_0x523ff7;}()),_0x45f2e9['GetUserResponse']=(function(){function _0x52bb25(_0x23528f){if(this['attributes']=[],_0x23528f){for(var _0x58ae06=Object['keys'](_0x23528f),_0x256da3=0x0;_0x256da3<_0x58ae06['length'];++_0x256da3)null!=_0x23528f[_0x58ae06[_0x256da3]]&&(this[_0x58ae06[_0x256da3]]=_0x23528f[_0x58ae06[_0x256da3]]);}}return _0x52bb25['prototype']['attributes']=_0x596b78['emptyArray'],_0x52bb25['create']=function(_0x96bf5a){return new _0x52bb25(_0x96bf5a);},_0x52bb25['encode']=function(_0x29f7cd,_0x2386ad){if(_0x2386ad||(_0x2386ad=_0x3a081['create']()),null!=_0x29f7cd['attributes']&&_0x29f7cd['attributes']['length']){for(var _0x4bb88e=0x0;_0x4bb88e<_0x29f7cd['attributes']['length'];++_0x4bb88e)_0x45f2e9['KeyValueDescriptor']['encode'](_0x29f7cd['attributes'][_0x4bb88e],_0x2386ad['uint32'](0xa)['fork']())['ldelim']();}return _0x2386ad;},_0x52bb25['encodeDelimited']=function(_0x50288e,_0x56f4a1){return this['encode'](_0x50288e,_0x56f4a1)['ldelim']();},_0x52bb25['decode']=function(_0x3d66df,_0x4a1aa2,_0x453e62){_0x3d66df instanceof _0x5743b9||(_0x3d66df=_0x5743b9['create'](_0x3d66df));for(var _0x3e9001=void 0x0===_0x4a1aa2?_0x3d66df['len']:_0x3d66df['pos']+_0x4a1aa2,_0x2997f0=new _0x45f2e9['GetUserResponse']();_0x3d66df['pos']<_0x3e9001;){var _0x4b74f5=_0x3d66df['uint32']();if(_0x4b74f5===_0x453e62)break;_0x4b74f5>>>0x3==0x1?(_0x2997f0['attributes']&&_0x2997f0['attributes']['length']||(_0x2997f0['attributes']=[]),_0x2997f0['attributes']['push'](_0x45f2e9['KeyValueDescriptor']['decode'](_0x3d66df,_0x3d66df['uint32']()))):_0x3d66df['skipType'](0x7&_0x4b74f5);}return _0x2997f0;},_0x52bb25['decodeDelimited']=function(_0x3f23ee){return _0x3f23ee instanceof _0x5743b9||(_0x3f23ee=new _0x5743b9(_0x3f23ee)),this['decode'](_0x3f23ee,_0x3f23ee['uint32']());},_0x52bb25['verify']=function(_0x234ede){if('object'!=typeof _0x234ede||null===_0x234ede)return'object\x20expected';if(null!=_0x234ede['attributes']&&_0x234ede['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x234ede['attributes']))return'attributes:\x20array\x20expected';for(var _0x4f6a6d=0x0;_0x4f6a6d<_0x234ede['attributes']['length'];++_0x4f6a6d){var _0x8f4a0f=_0x45f2e9['KeyValueDescriptor']['verify'](_0x234ede['attributes'][_0x4f6a6d]);if(_0x8f4a0f)return'attributes.'+_0x8f4a0f;}}return null;},_0x52bb25['fromObject']=function(_0x16ae8c){if(_0x16ae8c instanceof _0x45f2e9['GetUserResponse'])return _0x16ae8c;var _0x585850=new _0x45f2e9['GetUserResponse']();if(_0x16ae8c['attributes']){if(!Array['isArray'](_0x16ae8c['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0x585850['attributes']=[];for(var _0xfb1c48=0x0;_0xfb1c48<_0x16ae8c['attributes']['length'];++_0xfb1c48){if('object'!=typeof _0x16ae8c['attributes'][_0xfb1c48])throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0x585850['attributes'][_0xfb1c48]=_0x45f2e9['KeyValueDescriptor']['fromObject'](_0x16ae8c['attributes'][_0xfb1c48]);}}return _0x585850;},_0x52bb25['toObject']=function(_0x22e984,_0x275975){_0x275975||(_0x275975={});var _0x599c11={};if((_0x275975['arrays']||_0x275975['defaults'])&&(_0x599c11['attributes']=[]),_0x22e984['attributes']&&_0x22e984['attributes']['length']){_0x599c11['attributes']=[];for(var _0x445e6b=0x0;_0x445e6b<_0x22e984['attributes']['length'];++_0x445e6b)_0x599c11['attributes'][_0x445e6b]=_0x45f2e9['KeyValueDescriptor']['toObject'](_0x22e984['attributes'][_0x445e6b],_0x275975);}return _0x599c11;},_0x52bb25['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x52bb25['getTypeUrl']=function(_0xe28416){return void 0x0===_0xe28416&&(_0xe28416='type.googleapis.com'),_0xe28416+'/GetUserResponse';},_0x52bb25;}()),_0x45f2e9['GetManyUsersResponse']=(function(){function _0x3f1349(_0x3e1e07){if(this['users']=[],_0x3e1e07){for(var _0x2ea22e=Object['keys'](_0x3e1e07),_0x206f90=0x0;_0x206f90<_0x2ea22e['length'];++_0x206f90)null!=_0x3e1e07[_0x2ea22e[_0x206f90]]&&(this[_0x2ea22e[_0x206f90]]=_0x3e1e07[_0x2ea22e[_0x206f90]]);}}return _0x3f1349['prototype']['users']=_0x596b78['emptyArray'],_0x3f1349['create']=function(_0x51adc0){return new _0x3f1349(_0x51adc0);},_0x3f1349['encode']=function(_0x1ab9cc,_0x3451a4){if(_0x3451a4||(_0x3451a4=_0x3a081['create']()),null!=_0x1ab9cc['users']&&_0x1ab9cc['users']['length']){for(var _0x5a3dd6=0x0;_0x5a3dd6<_0x1ab9cc['users']['length'];++_0x5a3dd6)_0x45f2e9['UserDescriptor']['encode'](_0x1ab9cc['users'][_0x5a3dd6],_0x3451a4['uint32'](0xa)['fork']())['ldelim']();}return _0x3451a4;},_0x3f1349['encodeDelimited']=function(_0xf83adb,_0x426cbb){return this['encode'](_0xf83adb,_0x426cbb)['ldelim']();},_0x3f1349['decode']=function(_0x4d2b2e,_0x33483b,_0x2d7351){_0x4d2b2e instanceof _0x5743b9||(_0x4d2b2e=_0x5743b9['create'](_0x4d2b2e));for(var _0x1a2fa6=void 0x0===_0x33483b?_0x4d2b2e['len']:_0x4d2b2e['pos']+_0x33483b,_0x390fec=new _0x45f2e9['GetManyUsersResponse']();_0x4d2b2e['pos']<_0x1a2fa6;){var _0x5e310e=_0x4d2b2e['uint32']();if(_0x5e310e===_0x2d7351)break;_0x5e310e>>>0x3==0x1?(_0x390fec['users']&&_0x390fec['users']['length']||(_0x390fec['users']=[]),_0x390fec['users']['push'](_0x45f2e9['UserDescriptor']['decode'](_0x4d2b2e,_0x4d2b2e['uint32']()))):_0x4d2b2e['skipType'](0x7&_0x5e310e);}return _0x390fec;},_0x3f1349['decodeDelimited']=function(_0x5db0ae){return _0x5db0ae instanceof _0x5743b9||(_0x5db0ae=new _0x5743b9(_0x5db0ae)),this['decode'](_0x5db0ae,_0x5db0ae['uint32']());},_0x3f1349['verify']=function(_0x127a22){if('object'!=typeof _0x127a22||null===_0x127a22)return'object\x20expected';if(null!=_0x127a22['users']&&_0x127a22['hasOwnProperty']('users')){if(!Array['isArray'](_0x127a22['users']))return'users:\x20array\x20expected';for(var _0x312fd5=0x0;_0x312fd5<_0x127a22['users']['length'];++_0x312fd5){var _0x4f78ff=_0x45f2e9['UserDescriptor']['verify'](_0x127a22['users'][_0x312fd5]);if(_0x4f78ff)return'users.'+_0x4f78ff;}}return null;},_0x3f1349['fromObject']=function(_0x48ac87){if(_0x48ac87 instanceof _0x45f2e9['GetManyUsersResponse'])return _0x48ac87;var _0x15a082=new _0x45f2e9['GetManyUsersResponse']();if(_0x48ac87['users']){if(!Array['isArray'](_0x48ac87['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x15a082['users']=[];for(var _0x1b50a6=0x0;_0x1b50a6<_0x48ac87['users']['length'];++_0x1b50a6){if('object'!=typeof _0x48ac87['users'][_0x1b50a6])throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x15a082['users'][_0x1b50a6]=_0x45f2e9['UserDescriptor']['fromObject'](_0x48ac87['users'][_0x1b50a6]);}}return _0x15a082;},_0x3f1349['toObject']=function(_0x2a2e49,_0xd16642){_0xd16642||(_0xd16642={});var _0x57c818={};if((_0xd16642['arrays']||_0xd16642['defaults'])&&(_0x57c818['users']=[]),_0x2a2e49['users']&&_0x2a2e49['users']['length']){_0x57c818['users']=[];for(var _0x1b7d46=0x0;_0x1b7d46<_0x2a2e49['users']['length'];++_0x1b7d46)_0x57c818['users'][_0x1b7d46]=_0x45f2e9['UserDescriptor']['toObject'](_0x2a2e49['users'][_0x1b7d46],_0xd16642);}return _0x57c818;},_0x3f1349['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x3f1349['getTypeUrl']=function(_0x598e54){return void 0x0===_0x598e54&&(_0x598e54='type.googleapis.com'),_0x598e54+'/GetManyUsersResponse';},_0x3f1349;}()),_0x45f2e9['GetUserMessage']=(function(){function _0x2dc0ec(_0xd41b0e){if(_0xd41b0e){for(var _0x48be35=Object['keys'](_0xd41b0e),_0x315527=0x0;_0x315527<_0x48be35['length'];++_0x315527)null!=_0xd41b0e[_0x48be35[_0x315527]]&&(this[_0x48be35[_0x315527]]=_0xd41b0e[_0x48be35[_0x315527]]);}}return _0x2dc0ec['prototype']['id']='',_0x2dc0ec['create']=function(_0x380cd3){return new _0x2dc0ec(_0x380cd3);},_0x2dc0ec['encode']=function(_0x1a8d60,_0x126fa9){return _0x126fa9||(_0x126fa9=_0x3a081['create']()),null!=_0x1a8d60['id']&&Object['hasOwnProperty']['call'](_0x1a8d60,'id')&&_0x126fa9['uint32'](0xa)['string'](_0x1a8d60['id']),_0x126fa9;},_0x2dc0ec['encodeDelimited']=function(_0x466beb,_0x6a5311){return this['encode'](_0x466beb,_0x6a5311)['ldelim']();},_0x2dc0ec['decode']=function(_0x249453,_0x2b1658,_0x3abf02){_0x249453 instanceof _0x5743b9||(_0x249453=_0x5743b9['create'](_0x249453));for(var _0x1dbc1d=void 0x0===_0x2b1658?_0x249453['len']:_0x249453['pos']+_0x2b1658,_0x247ddf=new _0x45f2e9['GetUserMessage']();_0x249453['pos']<_0x1dbc1d;){var _0x2e7a3f=_0x249453['uint32']();if(_0x2e7a3f===_0x3abf02)break;_0x2e7a3f>>>0x3==0x1?_0x247ddf['id']=_0x249453['string']():_0x249453['skipType'](0x7&_0x2e7a3f);}return _0x247ddf;},_0x2dc0ec['decodeDelimited']=function(_0x2d548b){return _0x2d548b instanceof _0x5743b9||(_0x2d548b=new _0x5743b9(_0x2d548b)),this['decode'](_0x2d548b,_0x2d548b['uint32']());},_0x2dc0ec['verify']=function(_0x5e04b4){return'object'!=typeof _0x5e04b4||null===_0x5e04b4?'object\x20expected':null!=_0x5e04b4['id']&&_0x5e04b4['hasOwnProperty']('id')&&!_0x596b78['isString'](_0x5e04b4['id'])?'id:\x20string\x20expected':null;},_0x2dc0ec['fromObject']=function(_0x1b17d4){if(_0x1b17d4 instanceof _0x45f2e9['GetUserMessage'])return _0x1b17d4;var _0x75a11b=new _0x45f2e9['GetUserMessage']();return null!=_0x1b17d4['id']&&(_0x75a11b['id']=String(_0x1b17d4['id'])),_0x75a11b;},_0x2dc0ec['toObject']=function(_0x38278c,_0xfe98d4){_0xfe98d4||(_0xfe98d4={});var _0x16c1ab={};return _0xfe98d4['defaults']&&(_0x16c1ab['id']=''),null!=_0x38278c['id']&&_0x38278c['hasOwnProperty']('id')&&(_0x16c1ab['id']=_0x38278c['id']),_0x16c1ab;},_0x2dc0ec['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x2dc0ec['getTypeUrl']=function(_0x378ee8){return void 0x0===_0x378ee8&&(_0x378ee8='type.googleapis.com'),_0x378ee8+'/GetUserMessage';},_0x2dc0ec;}()),_0x45f2e9['GetManyUsersMessage']=(function(){function _0x56d1c7(_0x3558da){if(this['ids']=[],_0x3558da){for(var _0xce3fdc=Object['keys'](_0x3558da),_0x4957a6=0x0;_0x4957a6<_0xce3fdc['length'];++_0x4957a6)null!=_0x3558da[_0xce3fdc[_0x4957a6]]&&(this[_0xce3fdc[_0x4957a6]]=_0x3558da[_0xce3fdc[_0x4957a6]]);}}return _0x56d1c7['prototype']['ids']=_0x596b78['emptyArray'],_0x56d1c7['create']=function(_0x5b1937){return new _0x56d1c7(_0x5b1937);},_0x56d1c7['encode']=function(_0x11adcd,_0x54ab24){if(_0x54ab24||(_0x54ab24=_0x3a081['create']()),null!=_0x11adcd['ids']&&_0x11adcd['ids']['length']){for(var _0x159290=0x0;_0x159290<_0x11adcd['ids']['length'];++_0x159290)_0x54ab24['uint32'](0xa)['string'](_0x11adcd['ids'][_0x159290]);}return _0x54ab24;},_0x56d1c7['encodeDelimited']=function(_0x3987eb,_0x156d31){return this['encode'](_0x3987eb,_0x156d31)['ldelim']();},_0x56d1c7['decode']=function(_0xa8ddaa,_0x5e1869,_0xf40392){_0xa8ddaa instanceof _0x5743b9||(_0xa8ddaa=_0x5743b9['create'](_0xa8ddaa));for(var _0x32951b=void 0x0===_0x5e1869?_0xa8ddaa['len']:_0xa8ddaa['pos']+_0x5e1869,_0x1f867b=new _0x45f2e9['GetManyUsersMessage']();_0xa8ddaa['pos']<_0x32951b;){var _0x22326b=_0xa8ddaa['uint32']();if(_0x22326b===_0xf40392)break;_0x22326b>>>0x3==0x1?(_0x1f867b['ids']&&_0x1f867b['ids']['length']||(_0x1f867b['ids']=[]),_0x1f867b['ids']['push'](_0xa8ddaa['string']())):_0xa8ddaa['skipType'](0x7&_0x22326b);}return _0x1f867b;},_0x56d1c7['decodeDelimited']=function(_0x4e7f67){return _0x4e7f67 instanceof _0x5743b9||(_0x4e7f67=new _0x5743b9(_0x4e7f67)),this['decode'](_0x4e7f67,_0x4e7f67['uint32']());},_0x56d1c7['verify']=function(_0x1aed6b){if('object'!=typeof _0x1aed6b||null===_0x1aed6b)return'object\x20expected';if(null!=_0x1aed6b['ids']&&_0x1aed6b['hasOwnProperty']('ids')){if(!Array['isArray'](_0x1aed6b['ids']))return'ids:\x20array\x20expected';for(var _0x30c331=0x0;_0x30c331<_0x1aed6b['ids']['length'];++_0x30c331)if(!_0x596b78['isString'](_0x1aed6b['ids'][_0x30c331]))return'ids:\x20string[]\x20expected';}return null;},_0x56d1c7['fromObject']=function(_0x4d0e6b){if(_0x4d0e6b instanceof _0x45f2e9['GetManyUsersMessage'])return _0x4d0e6b;var _0x3d6d80=new _0x45f2e9['GetManyUsersMessage']();if(_0x4d0e6b['ids']){if(!Array['isArray'](_0x4d0e6b['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x3d6d80['ids']=[];for(var _0x30fd8d=0x0;_0x30fd8d<_0x4d0e6b['ids']['length'];++_0x30fd8d)_0x3d6d80['ids'][_0x30fd8d]=String(_0x4d0e6b['ids'][_0x30fd8d]);}return _0x3d6d80;},_0x56d1c7['toObject']=function(_0x753279,_0x267941){_0x267941||(_0x267941={});var _0x513f7d={};if((_0x267941['arrays']||_0x267941['defaults'])&&(_0x513f7d['ids']=[]),_0x753279['ids']&&_0x753279['ids']['length']){_0x513f7d['ids']=[];for(var _0x4784fa=0x0;_0x4784fa<_0x753279['ids']['length'];++_0x4784fa)_0x513f7d['ids'][_0x4784fa]=_0x753279['ids'][_0x4784fa];}return _0x513f7d;},_0x56d1c7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x56d1c7['getTypeUrl']=function(_0x3444f1){return void 0x0===_0x3444f1&&(_0x3444f1='type.googleapis.com'),_0x3444f1+'/GetManyUsersMessage';},_0x56d1c7;}()),_0x45f2e9['UserDescriptor']=(function(){function _0x22eee1(_0x1bbd48){if(this['attributes']=[],_0x1bbd48){for(var _0x13cd51=Object['keys'](_0x1bbd48),_0x406f11=0x0;_0x406f11<_0x13cd51['length'];++_0x406f11)null!=_0x1bbd48[_0x13cd51[_0x406f11]]&&(this[_0x13cd51[_0x406f11]]=_0x1bbd48[_0x13cd51[_0x406f11]]);}}return _0x22eee1['prototype']['attributes']=_0x596b78['emptyArray'],_0x22eee1['create']=function(_0x28fd56){return new _0x22eee1(_0x28fd56);},_0x22eee1['encode']=function(_0x11e2a8,_0x1c9528){if(_0x1c9528||(_0x1c9528=_0x3a081['create']()),null!=_0x11e2a8['attributes']&&_0x11e2a8['attributes']['length']){for(var _0x2d77b4=0x0;_0x2d77b4<_0x11e2a8['attributes']['length'];++_0x2d77b4)_0x45f2e9['KeyValueDescriptor']['encode'](_0x11e2a8['attributes'][_0x2d77b4],_0x1c9528['uint32'](0xa)['fork']())['ldelim']();}return _0x1c9528;},_0x22eee1['encodeDelimited']=function(_0x29c31a,_0x284fe0){return this['encode'](_0x29c31a,_0x284fe0)['ldelim']();},_0x22eee1['decode']=function(_0x2b46ed,_0x3345d4,_0x3c98ef){_0x2b46ed instanceof _0x5743b9||(_0x2b46ed=_0x5743b9['create'](_0x2b46ed));for(var _0x8357bc=void 0x0===_0x3345d4?_0x2b46ed['len']:_0x2b46ed['pos']+_0x3345d4,_0x1b993f=new _0x45f2e9['UserDescriptor']();_0x2b46ed['pos']<_0x8357bc;){var _0x415322=_0x2b46ed['uint32']();if(_0x415322===_0x3c98ef)break;_0x415322>>>0x3==0x1?(_0x1b993f['attributes']&&_0x1b993f['attributes']['length']||(_0x1b993f['attributes']=[]),_0x1b993f['attributes']['push'](_0x45f2e9['KeyValueDescriptor']['decode'](_0x2b46ed,_0x2b46ed['uint32']()))):_0x2b46ed['skipType'](0x7&_0x415322);}return _0x1b993f;},_0x22eee1['decodeDelimited']=function(_0x3c1568){return _0x3c1568 instanceof _0x5743b9||(_0x3c1568=new _0x5743b9(_0x3c1568)),this['decode'](_0x3c1568,_0x3c1568['uint32']());},_0x22eee1['verify']=function(_0x46188a){if('object'!=typeof _0x46188a||null===_0x46188a)return'object\x20expected';if(null!=_0x46188a['attributes']&&_0x46188a['hasOwnProperty']('attributes')){if(!Array['isArray'](_0x46188a['attributes']))return'attributes:\x20array\x20expected';for(var _0x26eccd=0x0;_0x26eccd<_0x46188a['attributes']['length'];++_0x26eccd){var _0x2b41e4=_0x45f2e9['KeyValueDescriptor']['verify'](_0x46188a['attributes'][_0x26eccd]);if(_0x2b41e4)return'attributes.'+_0x2b41e4;}}return null;},_0x22eee1['fromObject']=function(_0x4bfc7f){if(_0x4bfc7f instanceof _0x45f2e9['UserDescriptor'])return _0x4bfc7f;var _0x1b617b=new _0x45f2e9['UserDescriptor']();if(_0x4bfc7f['attributes']){if(!Array['isArray'](_0x4bfc7f['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0x1b617b['attributes']=[];for(var _0x439079=0x0;_0x439079<_0x4bfc7f['attributes']['length'];++_0x439079){if('object'!=typeof _0x4bfc7f['attributes'][_0x439079])throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0x1b617b['attributes'][_0x439079]=_0x45f2e9['KeyValueDescriptor']['fromObject'](_0x4bfc7f['attributes'][_0x439079]);}}return _0x1b617b;},_0x22eee1['toObject']=function(_0x5aeffa,_0x1db80e){_0x1db80e||(_0x1db80e={});var _0x203f46={};if((_0x1db80e['arrays']||_0x1db80e['defaults'])&&(_0x203f46['attributes']=[]),_0x5aeffa['attributes']&&_0x5aeffa['attributes']['length']){_0x203f46['attributes']=[];for(var _0x386ad4=0x0;_0x386ad4<_0x5aeffa['attributes']['length'];++_0x386ad4)_0x203f46['attributes'][_0x386ad4]=_0x45f2e9['KeyValueDescriptor']['toObject'](_0x5aeffa['attributes'][_0x386ad4],_0x1db80e);}return _0x203f46;},_0x22eee1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x22eee1['getTypeUrl']=function(_0xcf5084){return void 0x0===_0xcf5084&&(_0xcf5084='type.googleapis.com'),_0xcf5084+'/UserDescriptor';},_0x22eee1;}()),_0x45f2e9['TrackChangesGetSuggestionResponse']=(function(){function _0x8a57e5(_0x12eebd){if(_0x12eebd){for(var _0x5e9bf7=Object['keys'](_0x12eebd),_0x2205cd=0x0;_0x2205cd<_0x5e9bf7['length'];++_0x2205cd)null!=_0x12eebd[_0x5e9bf7[_0x2205cd]]&&(this[_0x5e9bf7[_0x2205cd]]=_0x12eebd[_0x5e9bf7[_0x2205cd]]);}}return _0x8a57e5['prototype']['id']='',_0x8a57e5['prototype']['authorId']='',_0x8a57e5['prototype']['type']='',_0x8a57e5['prototype']['createdAt']='',_0x8a57e5['prototype']['data']='',_0x8a57e5['prototype']['hasComments']=!0x1,_0x8a57e5['prototype']['state']='',_0x8a57e5['prototype']['attributes']='',_0x8a57e5['create']=function(_0x6298ee){return new _0x8a57e5(_0x6298ee);},_0x8a57e5['encode']=function(_0x218d5f,_0x24cc9f){return _0x24cc9f||(_0x24cc9f=_0x3a081['create']()),null!=_0x218d5f['id']&&Object['hasOwnProperty']['call'](_0x218d5f,'id')&&_0x24cc9f['uint32'](0xa)['string'](_0x218d5f['id']),null!=_0x218d5f['authorId']&&Object['hasOwnProperty']['call'](_0x218d5f,'authorId')&&_0x24cc9f['uint32'](0x12)['string'](_0x218d5f['authorId']),null!=_0x218d5f['type']&&Object['hasOwnProperty']['call'](_0x218d5f,'type')&&_0x24cc9f['uint32'](0x1a)['string'](_0x218d5f['type']),null!=_0x218d5f['createdAt']&&Object['hasOwnProperty']['call'](_0x218d5f,'createdAt')&&_0x24cc9f['uint32'](0x22)['string'](_0x218d5f['createdAt']),null!=_0x218d5f['data']&&Object['hasOwnProperty']['call'](_0x218d5f,'data')&&_0x24cc9f['uint32'](0x2a)['string'](_0x218d5f['data']),null!=_0x218d5f['hasComments']&&Object['hasOwnProperty']['call'](_0x218d5f,'hasComments')&&_0x24cc9f['uint32'](0x30)['bool'](_0x218d5f['hasComments']),null!=_0x218d5f['state']&&Object['hasOwnProperty']['call'](_0x218d5f,'state')&&_0x24cc9f['uint32'](0x3a)['string'](_0x218d5f['state']),null!=_0x218d5f['attributes']&&Object['hasOwnProperty']['call'](_0x218d5f,'attributes')&&_0x24cc9f['uint32'](0x42)['string'](_0x218d5f['attributes']),_0x24cc9f;},_0x8a57e5['encodeDelimited']=function(_0x1f5d9,_0x1fb141){return this['encode'](_0x1f5d9,_0x1fb141)['ldelim']();},_0x8a57e5['decode']=function(_0x1f56a0,_0x393aac,_0xe896b3){_0x1f56a0 instanceof _0x5743b9||(_0x1f56a0=_0x5743b9['create'](_0x1f56a0));for(var _0x5e9adb=void 0x0===_0x393aac?_0x1f56a0['len']:_0x1f56a0['pos']+_0x393aac,_0x36b032=new _0x45f2e9['TrackChangesGetSuggestionResponse']();_0x1f56a0['pos']<_0x5e9adb;){var _0x14756f=_0x1f56a0['uint32']();if(_0x14756f===_0xe896b3)break;switch(_0x14756f>>>0x3){case 0x1:_0x36b032['id']=_0x1f56a0['string']();break;case 0x2:_0x36b032['authorId']=_0x1f56a0['string']();break;case 0x3:_0x36b032['type']=_0x1f56a0['string']();break;case 0x4:_0x36b032['createdAt']=_0x1f56a0['string']();break;case 0x5:_0x36b032['data']=_0x1f56a0['string']();break;case 0x6:_0x36b032['hasComments']=_0x1f56a0['bool']();break;case 0x7:_0x36b032['state']=_0x1f56a0['string']();break;case 0x8:_0x36b032['attributes']=_0x1f56a0['string']();break;default:_0x1f56a0['skipType'](0x7&_0x14756f);}}return _0x36b032;},_0x8a57e5['decodeDelimited']=function(_0x23b2e4){return _0x23b2e4 instanceof _0x5743b9||(_0x23b2e4=new _0x5743b9(_0x23b2e4)),this['decode'](_0x23b2e4,_0x23b2e4['uint32']());},_0x8a57e5['verify']=function(_0x4befce){return'object'!=typeof _0x4befce||null===_0x4befce?'object\x20expected':null!=_0x4befce['id']&&_0x4befce['hasOwnProperty']('id')&&!_0x596b78['isString'](_0x4befce['id'])?'id:\x20string\x20expected':null!=_0x4befce['authorId']&&_0x4befce['hasOwnProperty']('authorId')&&!_0x596b78['isString'](_0x4befce['authorId'])?'authorId:\x20string\x20expected':null!=_0x4befce['type']&&_0x4befce['hasOwnProperty']('type')&&!_0x596b78['isString'](_0x4befce['type'])?'type:\x20string\x20expected':null!=_0x4befce['createdAt']&&_0x4befce['hasOwnProperty']('createdAt')&&!_0x596b78['isString'](_0x4befce['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x4befce['data']&&_0x4befce['hasOwnProperty']('data')&&!_0x596b78['isString'](_0x4befce['data'])?'data:\x20string\x20expected':null!=_0x4befce['hasComments']&&_0x4befce['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x4befce['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x4befce['state']&&_0x4befce['hasOwnProperty']('state')&&!_0x596b78['isString'](_0x4befce['state'])?'state:\x20string\x20expected':null!=_0x4befce['attributes']&&_0x4befce['hasOwnProperty']('attributes')&&!_0x596b78['isString'](_0x4befce['attributes'])?'attributes:\x20string\x20expected':null;},_0x8a57e5['fromObject']=function(_0x1f1ddd){if(_0x1f1ddd instanceof _0x45f2e9['TrackChangesGetSuggestionResponse'])return _0x1f1ddd;var _0x4e244c=new _0x45f2e9['TrackChangesGetSuggestionResponse']();return null!=_0x1f1ddd['id']&&(_0x4e244c['id']=String(_0x1f1ddd['id'])),null!=_0x1f1ddd['authorId']&&(_0x4e244c['authorId']=String(_0x1f1ddd['authorId'])),null!=_0x1f1ddd['type']&&(_0x4e244c['type']=String(_0x1f1ddd['type'])),null!=_0x1f1ddd['createdAt']&&(_0x4e244c['createdAt']=String(_0x1f1ddd['createdAt'])),null!=_0x1f1ddd['data']&&(_0x4e244c['data']=String(_0x1f1ddd['data'])),null!=_0x1f1ddd['hasComments']&&(_0x4e244c['hasComments']=Boolean(_0x1f1ddd['hasComments'])),null!=_0x1f1ddd['state']&&(_0x4e244c['state']=String(_0x1f1ddd['state'])),null!=_0x1f1ddd['attributes']&&(_0x4e244c['attributes']=String(_0x1f1ddd['attributes'])),_0x4e244c;},_0x8a57e5['toObject']=function(_0xc0bd3b,_0x5c5606){_0x5c5606||(_0x5c5606={});var _0x2905f9={};return _0x5c5606['defaults']&&(_0x2905f9['id']='',_0x2905f9['authorId']='',_0x2905f9['type']='',_0x2905f9['createdAt']='',_0x2905f9['data']='',_0x2905f9['hasComments']=!0x1,_0x2905f9['state']='',_0x2905f9['attributes']=''),null!=_0xc0bd3b['id']&&_0xc0bd3b['hasOwnProperty']('id')&&(_0x2905f9['id']=_0xc0bd3b['id']),null!=_0xc0bd3b['authorId']&&_0xc0bd3b['hasOwnProperty']('authorId')&&(_0x2905f9['authorId']=_0xc0bd3b['authorId']),null!=_0xc0bd3b['type']&&_0xc0bd3b['hasOwnProperty']('type')&&(_0x2905f9['type']=_0xc0bd3b['type']),null!=_0xc0bd3b['createdAt']&&_0xc0bd3b['hasOwnProperty']('createdAt')&&(_0x2905f9['createdAt']=_0xc0bd3b['createdAt']),null!=_0xc0bd3b['data']&&_0xc0bd3b['hasOwnProperty']('data')&&(_0x2905f9['data']=_0xc0bd3b['data']),null!=_0xc0bd3b['hasComments']&&_0xc0bd3b['hasOwnProperty']('hasComments')&&(_0x2905f9['hasComments']=_0xc0bd3b['hasComments']),null!=_0xc0bd3b['state']&&_0xc0bd3b['hasOwnProperty']('state')&&(_0x2905f9['state']=_0xc0bd3b['state']),null!=_0xc0bd3b['attributes']&&_0xc0bd3b['hasOwnProperty']('attributes')&&(_0x2905f9['attributes']=_0xc0bd3b['attributes']),_0x2905f9;},_0x8a57e5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x8a57e5['getTypeUrl']=function(_0x35fc38){return void 0x0===_0x35fc38&&(_0x35fc38='type.googleapis.com'),_0x35fc38+'/TrackChangesGetSuggestionResponse';},_0x8a57e5;}()),_0x45f2e9['TrackChangesGetAllSuggestionsResponse']=(function(){function _0x57c551(_0x39a8ba){if(this['suggestions']=[],this['suggestionsV2']=[],_0x39a8ba){for(var _0x1f63a1=Object['keys'](_0x39a8ba),_0x496e35=0x0;_0x496e35<_0x1f63a1['length'];++_0x496e35)null!=_0x39a8ba[_0x1f63a1[_0x496e35]]&&(this[_0x1f63a1[_0x496e35]]=_0x39a8ba[_0x1f63a1[_0x496e35]]);}}return _0x57c551['prototype']['suggestions']=_0x596b78['emptyArray'],_0x57c551['prototype']['suggestionsV2']=_0x596b78['emptyArray'],_0x57c551['create']=function(_0x56eb4b){return new _0x57c551(_0x56eb4b);},_0x57c551['encode']=function(_0x175f47,_0xc4c3ff){if(_0xc4c3ff||(_0xc4c3ff=_0x3a081['create']()),null!=_0x175f47['suggestions']&&_0x175f47['suggestions']['length']){for(var _0x16c2ff=0x0;_0x16c2ff<_0x175f47['suggestions']['length'];++_0x16c2ff)_0xc4c3ff['uint32'](0xa)['string'](_0x175f47['suggestions'][_0x16c2ff]);}if(null!=_0x175f47['suggestionsV2']&&_0x175f47['suggestionsV2']['length']){for(_0x16c2ff=0x0;_0x16c2ff<_0x175f47['suggestionsV2']['length'];++_0x16c2ff)_0x45f2e9['SuggestionDescriptor']['encode'](_0x175f47['suggestionsV2'][_0x16c2ff],_0xc4c3ff['uint32'](0x12)['fork']())['ldelim']();}return _0xc4c3ff;},_0x57c551['encodeDelimited']=function(_0x54ad6d,_0x35e334){return this['encode'](_0x54ad6d,_0x35e334)['ldelim']();},_0x57c551['decode']=function(_0x2c85e6,_0x29975d,_0x38eca6){_0x2c85e6 instanceof _0x5743b9||(_0x2c85e6=_0x5743b9['create'](_0x2c85e6));for(var _0x1f93d9=void 0x0===_0x29975d?_0x2c85e6['len']:_0x2c85e6['pos']+_0x29975d,_0xd8bcc0=new _0x45f2e9['TrackChangesGetAllSuggestionsResponse']();_0x2c85e6['pos']<_0x1f93d9;){var _0x18bd17=_0x2c85e6['uint32']();if(_0x18bd17===_0x38eca6)break;switch(_0x18bd17>>>0x3){case 0x1:_0xd8bcc0['suggestions']&&_0xd8bcc0['suggestions']['length']||(_0xd8bcc0['suggestions']=[]),_0xd8bcc0['suggestions']['push'](_0x2c85e6['string']());break;case 0x2:_0xd8bcc0['suggestionsV2']&&_0xd8bcc0['suggestionsV2']['length']||(_0xd8bcc0['suggestionsV2']=[]),_0xd8bcc0['suggestionsV2']['push'](_0x45f2e9['SuggestionDescriptor']['decode'](_0x2c85e6,_0x2c85e6['uint32']()));break;default:_0x2c85e6['skipType'](0x7&_0x18bd17);}}return _0xd8bcc0;},_0x57c551['decodeDelimited']=function(_0x5c31f8){return _0x5c31f8 instanceof _0x5743b9||(_0x5c31f8=new _0x5743b9(_0x5c31f8)),this['decode'](_0x5c31f8,_0x5c31f8['uint32']());},_0x57c551['verify']=function(_0x1edd91){if('object'!=typeof _0x1edd91||null===_0x1edd91)return'object\x20expected';if(null!=_0x1edd91['suggestions']&&_0x1edd91['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0x1edd91['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x4b58e7=0x0;_0x4b58e7<_0x1edd91['suggestions']['length'];++_0x4b58e7)if(!_0x596b78['isString'](_0x1edd91['suggestions'][_0x4b58e7]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x1edd91['suggestionsV2']&&_0x1edd91['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0x1edd91['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x4b58e7=0x0;_0x4b58e7<_0x1edd91['suggestionsV2']['length'];++_0x4b58e7){var _0x12e453=_0x45f2e9['SuggestionDescriptor']['verify'](_0x1edd91['suggestionsV2'][_0x4b58e7]);if(_0x12e453)return'suggestionsV2.'+_0x12e453;}}return null;},_0x57c551['fromObject']=function(_0x2449e3){if(_0x2449e3 instanceof _0x45f2e9['TrackChangesGetAllSuggestionsResponse'])return _0x2449e3;var _0x24288f=new _0x45f2e9['TrackChangesGetAllSuggestionsResponse']();if(_0x2449e3['suggestions']){if(!Array['isArray'](_0x2449e3['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0x24288f['suggestions']=[];for(var _0x386e35=0x0;_0x386e35<_0x2449e3['suggestions']['length'];++_0x386e35)_0x24288f['suggestions'][_0x386e35]=String(_0x2449e3['suggestions'][_0x386e35]);}if(_0x2449e3['suggestionsV2']){if(!Array['isArray'](_0x2449e3['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');for(_0x24288f['suggestionsV2']=[],_0x386e35=0x0;_0x386e35<_0x2449e3['suggestionsV2']['length'];++_0x386e35){if('object'!=typeof _0x2449e3['suggestionsV2'][_0x386e35])throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0x24288f['suggestionsV2'][_0x386e35]=_0x45f2e9['SuggestionDescriptor']['fromObject'](_0x2449e3['suggestionsV2'][_0x386e35]);}}return _0x24288f;},_0x57c551['toObject']=function(_0x5a8186,_0x1dd195){_0x1dd195||(_0x1dd195={});var _0x32971b={};if((_0x1dd195['arrays']||_0x1dd195['defaults'])&&(_0x32971b['suggestions']=[],_0x32971b['suggestionsV2']=[]),_0x5a8186['suggestions']&&_0x5a8186['suggestions']['length']){_0x32971b['suggestions']=[];for(var _0x2faea1=0x0;_0x2faea1<_0x5a8186['suggestions']['length'];++_0x2faea1)_0x32971b['suggestions'][_0x2faea1]=_0x5a8186['suggestions'][_0x2faea1];}if(_0x5a8186['suggestionsV2']&&_0x5a8186['suggestionsV2']['length']){for(_0x32971b['suggestionsV2']=[],_0x2faea1=0x0;_0x2faea1<_0x5a8186['suggestionsV2']['length'];++_0x2faea1)_0x32971b['suggestionsV2'][_0x2faea1]=_0x45f2e9['SuggestionDescriptor']['toObject'](_0x5a8186['suggestionsV2'][_0x2faea1],_0x1dd195);}return _0x32971b;},_0x57c551['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x57c551['getTypeUrl']=function(_0x45ec97){return void 0x0===_0x45ec97&&(_0x45ec97='type.googleapis.com'),_0x45ec97+'/TrackChangesGetAllSuggestionsResponse';},_0x57c551;}()),_0x45f2e9['TrackChangesConnectResponse']=(function(){function _0x24d52a(_0x2e6695){if(this['suggestions']=[],this['suggestionsV2']=[],_0x2e6695){for(var _0x23180d=Object['keys'](_0x2e6695),_0x2b69bb=0x0;_0x2b69bb<_0x23180d['length'];++_0x2b69bb)null!=_0x2e6695[_0x23180d[_0x2b69bb]]&&(this[_0x23180d[_0x2b69bb]]=_0x2e6695[_0x23180d[_0x2b69bb]]);}}return _0x24d52a['prototype']['channel']='',_0x24d52a['prototype']['suggestions']=_0x596b78['emptyArray'],_0x24d52a['prototype']['suggestionsV2']=_0x596b78['emptyArray'],_0x24d52a['create']=function(_0x215af0){return new _0x24d52a(_0x215af0);},_0x24d52a['encode']=function(_0x231aee,_0x1c4b07){if(_0x1c4b07||(_0x1c4b07=_0x3a081['create']()),null!=_0x231aee['channel']&&Object['hasOwnProperty']['call'](_0x231aee,'channel')&&_0x1c4b07['uint32'](0xa)['string'](_0x231aee['channel']),null!=_0x231aee['suggestions']&&_0x231aee['suggestions']['length']){for(var _0x4db453=0x0;_0x4db453<_0x231aee['suggestions']['length'];++_0x4db453)_0x1c4b07['uint32'](0x12)['string'](_0x231aee['suggestions'][_0x4db453]);}if(null!=_0x231aee['suggestionsV2']&&_0x231aee['suggestionsV2']['length']){for(_0x4db453=0x0;_0x4db453<_0x231aee['suggestionsV2']['length'];++_0x4db453)_0x45f2e9['SuggestionDescriptor']['encode'](_0x231aee['suggestionsV2'][_0x4db453],_0x1c4b07['uint32'](0x1a)['fork']())['ldelim']();}return _0x1c4b07;},_0x24d52a['encodeDelimited']=function(_0x1073c4,_0x23e6b9){return this['encode'](_0x1073c4,_0x23e6b9)['ldelim']();},_0x24d52a['decode']=function(_0x2ad98e,_0x41a676,_0x412f67){_0x2ad98e instanceof _0x5743b9||(_0x2ad98e=_0x5743b9['create'](_0x2ad98e));for(var _0x4cce85=void 0x0===_0x41a676?_0x2ad98e['len']:_0x2ad98e['pos']+_0x41a676,_0x51346d=new _0x45f2e9['TrackChangesConnectResponse']();_0x2ad98e['pos']<_0x4cce85;){var _0x3e5a30=_0x2ad98e['uint32']();if(_0x3e5a30===_0x412f67)break;switch(_0x3e5a30>>>0x3){case 0x1:_0x51346d['channel']=_0x2ad98e['string']();break;case 0x2:_0x51346d['suggestions']&&_0x51346d['suggestions']['length']||(_0x51346d['suggestions']=[]),_0x51346d['suggestions']['push'](_0x2ad98e['string']());break;case 0x3:_0x51346d['suggestionsV2']&&_0x51346d['suggestionsV2']['length']||(_0x51346d['suggestionsV2']=[]),_0x51346d['suggestionsV2']['push'](_0x45f2e9['SuggestionDescriptor']['decode'](_0x2ad98e,_0x2ad98e['uint32']()));break;default:_0x2ad98e['skipType'](0x7&_0x3e5a30);}}return _0x51346d;},_0x24d52a['decodeDelimited']=function(_0x183229){return _0x183229 instanceof _0x5743b9||(_0x183229=new _0x5743b9(_0x183229)),this['decode'](_0x183229,_0x183229['uint32']());},_0x24d52a['verify']=function(_0xec0208){if('object'!=typeof _0xec0208||null===_0xec0208)return'object\x20expected';if(null!=_0xec0208['channel']&&_0xec0208['hasOwnProperty']('channel')&&!_0x596b78['isString'](_0xec0208['channel']))return'channel:\x20string\x20expected';if(null!=_0xec0208['suggestions']&&_0xec0208['hasOwnProperty']('suggestions')){if(!Array['isArray'](_0xec0208['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x1ed699=0x0;_0x1ed699<_0xec0208['suggestions']['length'];++_0x1ed699)if(!_0x596b78['isString'](_0xec0208['suggestions'][_0x1ed699]))return'suggestions:\x20string[]\x20expected';}if(null!=_0xec0208['suggestionsV2']&&_0xec0208['hasOwnProperty']('suggestionsV2')){if(!Array['isArray'](_0xec0208['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x1ed699=0x0;_0x1ed699<_0xec0208['suggestionsV2']['length'];++_0x1ed699){var _0x336ecd=_0x45f2e9['SuggestionDescriptor']['verify'](_0xec0208['suggestionsV2'][_0x1ed699]);if(_0x336ecd)return'suggestionsV2.'+_0x336ecd;}}return null;},_0x24d52a['fromObject']=function(_0x5a70c2){if(_0x5a70c2 instanceof _0x45f2e9['TrackChangesConnectResponse'])return _0x5a70c2;var _0x4d3862=new _0x45f2e9['TrackChangesConnectResponse']();if(null!=_0x5a70c2['channel']&&(_0x4d3862['channel']=String(_0x5a70c2['channel'])),_0x5a70c2['suggestions']){if(!Array['isArray'](_0x5a70c2['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0x4d3862['suggestions']=[];for(var _0x17f8a7=0x0;_0x17f8a7<_0x5a70c2['suggestions']['length'];++_0x17f8a7)_0x4d3862['suggestions'][_0x17f8a7]=String(_0x5a70c2['suggestions'][_0x17f8a7]);}if(_0x5a70c2['suggestionsV2']){if(!Array['isArray'](_0x5a70c2['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');for(_0x4d3862['suggestionsV2']=[],_0x17f8a7=0x0;_0x17f8a7<_0x5a70c2['suggestionsV2']['length'];++_0x17f8a7){if('object'!=typeof _0x5a70c2['suggestionsV2'][_0x17f8a7])throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0x4d3862['suggestionsV2'][_0x17f8a7]=_0x45f2e9['SuggestionDescriptor']['fromObject'](_0x5a70c2['suggestionsV2'][_0x17f8a7]);}}return _0x4d3862;},_0x24d52a['toObject']=function(_0xfc25f0,_0x48bfc8){_0x48bfc8||(_0x48bfc8={});var _0x13f3fa={};if((_0x48bfc8['arrays']||_0x48bfc8['defaults'])&&(_0x13f3fa['suggestions']=[],_0x13f3fa['suggestionsV2']=[]),_0x48bfc8['defaults']&&(_0x13f3fa['channel']=''),null!=_0xfc25f0['channel']&&_0xfc25f0['hasOwnProperty']('channel')&&(_0x13f3fa['channel']=_0xfc25f0['channel']),_0xfc25f0['suggestions']&&_0xfc25f0['suggestions']['length']){_0x13f3fa['suggestions']=[];for(var _0x4ab331=0x0;_0x4ab331<_0xfc25f0['suggestions']['length'];++_0x4ab331)_0x13f3fa['suggestions'][_0x4ab331]=_0xfc25f0['suggestions'][_0x4ab331];}if(_0xfc25f0['suggestionsV2']&&_0xfc25f0['suggestionsV2']['length']){for(_0x13f3fa['suggestionsV2']=[],_0x4ab331=0x0;_0x4ab331<_0xfc25f0['suggestionsV2']['length'];++_0x4ab331)_0x13f3fa['suggestionsV2'][_0x4ab331]=_0x45f2e9['SuggestionDescriptor']['toObject'](_0xfc25f0['suggestionsV2'][_0x4ab331],_0x48bfc8);}return _0x13f3fa;},_0x24d52a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x24d52a['getTypeUrl']=function(_0x2af7d5){return void 0x0===_0x2af7d5&&(_0x2af7d5='type.googleapis.com'),_0x2af7d5+'/TrackChangesConnectResponse';},_0x24d52a;}()),_0x45f2e9['TrackChangesAddSuggestionResponse']=(function(){function _0x4c1276(_0xe87c26){if(_0xe87c26){for(var _0xbc64dc=Object['keys'](_0xe87c26),_0x284a08=0x0;_0x284a08<_0xbc64dc['length'];++_0x284a08)null!=_0xe87c26[_0xbc64dc[_0x284a08]]&&(this[_0xbc64dc[_0x284a08]]=_0xe87c26[_0xbc64dc[_0x284a08]]);}}return _0x4c1276['prototype']['id']='',_0x4c1276['prototype']['authorId']='',_0x4c1276['prototype']['type']='',_0x4c1276['prototype']['createdAt']='',_0x4c1276['prototype']['data']='',_0x4c1276['prototype']['hasComments']=!0x1,_0x4c1276['prototype']['state']='',_0x4c1276['prototype']['attributes']='',_0x4c1276['create']=function(_0x44b836){return new _0x4c1276(_0x44b836);},_0x4c1276['encode']=function(_0x3f1a0b,_0x3fc8d3){return _0x3fc8d3||(_0x3fc8d3=_0x3a081['create']()),null!=_0x3f1a0b['id']&&Object['hasOwnProperty']['call'](_0x3f1a0b,'id')&&_0x3fc8d3['uint32'](0xa)['string'](_0x3f1a0b['id']),null!=_0x3f1a0b['authorId']&&Object['hasOwnProperty']['call'](_0x3f1a0b,'authorId')&&_0x3fc8d3['uint32'](0x12)['string'](_0x3f1a0b['authorId']),null!=_0x3f1a0b['type']&&Object['hasOwnProperty']['call'](_0x3f1a0b,'type')&&_0x3fc8d3['uint32'](0x1a)['string'](_0x3f1a0b['type']),null!=_0x3f1a0b['createdAt']&&Object['hasOwnProperty']['call'](_0x3f1a0b,'createdAt')&&_0x3fc8d3['uint32'](0x22)['string'](_0x3f1a0b['createdAt']),null!=_0x3f1a0b['data']&&Object['hasOwnProperty']['call'](_0x3f1a0b,'data')&&_0x3fc8d3['uint32'](0x2a)['string'](_0x3f1a0b['data']),null!=_0x3f1a0b['hasComments']&&Object['hasOwnProperty']['call'](_0x3f1a0b,'hasComments')&&_0x3fc8d3['uint32'](0x30)['bool'](_0x3f1a0b['hasComments']),null!=_0x3f1a0b['state']&&Object['hasOwnProperty']['call'](_0x3f1a0b,'state')&&_0x3fc8d3['uint32'](0x3a)['string'](_0x3f1a0b['state']),null!=_0x3f1a0b['attributes']&&Object['hasOwnProperty']['call'](_0x3f1a0b,'attributes')&&_0x3fc8d3['uint32'](0x42)['string'](_0x3f1a0b['attributes']),_0x3fc8d3;},_0x4c1276['encodeDelimited']=function(_0x2d940b,_0x4011e8){return this['encode'](_0x2d940b,_0x4011e8)['ldelim']();},_0x4c1276['decode']=function(_0x3502c1,_0x4a1cf3,_0x1d3384){_0x3502c1 instanceof _0x5743b9||(_0x3502c1=_0x5743b9['create'](_0x3502c1));for(var _0x130e2d=void 0x0===_0x4a1cf3?_0x3502c1['len']:_0x3502c1['pos']+_0x4a1cf3,_0x4c5a0b=new _0x45f2e9['TrackChangesAddSuggestionResponse']();_0x3502c1['pos']<_0x130e2d;){var _0x256470=_0x3502c1['uint32']();if(_0x256470===_0x1d3384)break;switch(_0x256470>>>0x3){case 0x1:_0x4c5a0b['id']=_0x3502c1['string']();break;case 0x2:_0x4c5a0b['authorId']=_0x3502c1['string']();break;case 0x3:_0x4c5a0b['type']=_0x3502c1['string']();break;case 0x4:_0x4c5a0b['createdAt']=_0x3502c1['string']();break;case 0x5:_0x4c5a0b['data']=_0x3502c1['string']();break;case 0x6:_0x4c5a0b['hasComments']=_0x3502c1['bool']();break;case 0x7:_0x4c5a0b['state']=_0x3502c1['string']();break;case 0x8:_0x4c5a0b['attributes']=_0x3502c1['string']();break;default:_0x3502c1['skipType'](0x7&_0x256470);}}return _0x4c5a0b;},_0x4c1276['decodeDelimited']=function(_0x2869cc){return _0x2869cc instanceof _0x5743b9||(_0x2869cc=new _0x5743b9(_0x2869cc)),this['decode'](_0x2869cc,_0x2869cc['uint32']());},_0x4c1276['verify']=function(_0x586780){return'object'!=typeof _0x586780||null===_0x586780?'object\x20expected':null!=_0x586780['id']&&_0x586780['hasOwnProperty']('id')&&!_0x596b78['isString'](_0x586780['id'])?'id:\x20string\x20expected':null!=_0x586780['authorId']&&_0x586780['hasOwnProperty']('authorId')&&!_0x596b78['isString'](_0x586780['authorId'])?'authorId:\x20string\x20expected':null!=_0x586780['type']&&_0x586780['hasOwnProperty']('type')&&!_0x596b78['isString'](_0x586780['type'])?'type:\x20string\x20expected':null!=_0x586780['createdAt']&&_0x586780['hasOwnProperty']('createdAt')&&!_0x596b78['isString'](_0x586780['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x586780['data']&&_0x586780['hasOwnProperty']('data')&&!_0x596b78['isString'](_0x586780['data'])?'data:\x20string\x20expected':null!=_0x586780['hasComments']&&_0x586780['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x586780['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x586780['state']&&_0x586780['hasOwnProperty']('state')&&!_0x596b78['isString'](_0x586780['state'])?'state:\x20string\x20expected':null!=_0x586780['attributes']&&_0x586780['hasOwnProperty']('attributes')&&!_0x596b78['isString'](_0x586780['attributes'])?'attributes:\x20string\x20expected':null;},_0x4c1276['fromObject']=function(_0x2d1197){if(_0x2d1197 instanceof _0x45f2e9['TrackChangesAddSuggestionResponse'])return _0x2d1197;var _0x4d9c4e=new _0x45f2e9['TrackChangesAddSuggestionResponse']();return null!=_0x2d1197['id']&&(_0x4d9c4e['id']=String(_0x2d1197['id'])),null!=_0x2d1197['authorId']&&(_0x4d9c4e['authorId']=String(_0x2d1197['authorId'])),null!=_0x2d1197['type']&&(_0x4d9c4e['type']=String(_0x2d1197['type'])),null!=_0x2d1197['createdAt']&&(_0x4d9c4e['createdAt']=String(_0x2d1197['createdAt'])),null!=_0x2d1197['data']&&(_0x4d9c4e['data']=String(_0x2d1197['data'])),null!=_0x2d1197['hasComments']&&(_0x4d9c4e['hasComments']=Boolean(_0x2d1197['hasComments'])),null!=_0x2d1197['state']&&(_0x4d9c4e['state']=String(_0x2d1197['state'])),null!=_0x2d1197['attributes']&&(_0x4d9c4e['attributes']=String(_0x2d1197['attributes'])),_0x4d9c4e;},_0x4c1276['toObject']=function(_0x32b930,_0x5a6569){_0x5a6569||(_0x5a6569={});var _0x3bd56a={};return _0x5a6569['defaults']&&(_0x3bd56a['id']='',_0x3bd56a['authorId']='',_0x3bd56a['type']='',_0x3bd56a['createdAt']='',_0x3bd56a['data']='',_0x3bd56a['hasComments']=!0x1,_0x3bd56a['state']='',_0x3bd56a['attributes']=''),null!=_0x32b930['id']&&_0x32b930['hasOwnProperty']('id')&&(_0x3bd56a['id']=_0x32b930['id']),null!=_0x32b930['authorId']&&_0x32b930['hasOwnProperty']('authorId')&&(_0x3bd56a['authorId']=_0x32b930['authorId']),null!=_0x32b930['type']&&_0x32b930['hasOwnProperty']('type')&&(_0x3bd56a['type']=_0x32b930['type']),null!=_0x32b930['createdAt']&&_0x32b930['hasOwnProperty']('createdAt')&&(_0x3bd56a['createdAt']=_0x32b930['createdAt']),null!=_0x32b930['data']&&_0x32b930['hasOwnProperty']('data')&&(_0x3bd56a['data']=_0x32b930['data']),null!=_0x32b930['hasComments']&&_0x32b930['hasOwnProperty']('hasComments')&&(_0x3bd56a['hasComments']=_0x32b930['hasComments']),null!=_0x32b930['state']&&_0x32b930['hasOwnProperty']('state')&&(_0x3bd56a['state']=_0x32b930['state']),null!=_0x32b930['attributes']&&_0x32b930['hasOwnProperty']('attributes')&&(_0x3bd56a['attributes']=_0x32b930['attributes']),_0x3bd56a;},_0x4c1276['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x4c1276['getTypeUrl']=function(_0x59a493){return void 0x0===_0x59a493&&(_0x59a493='type.googleapis.com'),_0x59a493+'/TrackChangesAddSuggestionResponse';},_0x4c1276;}()),_0x45f2e9['TrackChangesUpdateSuggestionMessage']=(function(){function _0x13e5bb(_0x4b9f74){if(_0x4b9f74){for(var _0x550102=Object['keys'](_0x4b9f74),_0x1a79cf=0x0;_0x1a79cf<_0x550102['length'];++_0x1a79cf)null!=_0x4b9f74[_0x550102[_0x1a79cf]]&&(this[_0x550102[_0x1a79cf]]=_0x4b9f74[_0x550102[_0x1a79cf]]);}}return _0x13e5bb['prototype']['id']='',_0x13e5bb['prototype']['documentId']='',_0x13e5bb['prototype']['hasComments']=!0x1,_0x13e5bb['prototype']['isHasCommentsModified']=!0x1,_0x13e5bb['prototype']['state']='',_0x13e5bb['prototype']['attributes']='',_0x13e5bb['create']=function(_0x185986){return new _0x13e5bb(_0x185986);},_0x13e5bb['encode']=function(_0x48db50,_0x117f65){return _0x117f65||(_0x117f65=_0x3a081['create']()),null!=_0x48db50['id']&&Object['hasOwnProperty']['call'](_0x48db50,'id')&&_0x117f65['uint32'](0xa)['string'](_0x48db50['id']),null!=_0x48db50['documentId']&&Object['hasOwnProperty']['call'](_0x48db50,'documentId')&&_0x117f65['uint32'](0x12)['string'](_0x48db50['documentId']),null!=_0x48db50['hasComments']&&Object['hasOwnProperty']['call'](_0x48db50,'hasComments')&&_0x117f65['uint32'](0x18)['bool'](_0x48db50['hasComments']),null!=_0x48db50['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x48db50,'isHasCommentsModified')&&_0x117f65['uint32'](0x20)['bool'](_0x48db50['isHasCommentsModified']),null!=_0x48db50['state']&&Object['hasOwnProperty']['call'](_0x48db50,'state')&&_0x117f65['uint32'](0x2a)['string'](_0x48db50['state']),null!=_0x48db50['attributes']&&Object['hasOwnProperty']['call'](_0x48db50,'attributes')&&_0x117f65['uint32'](0x32)['string'](_0x48db50['attributes']),_0x117f65;},_0x13e5bb['encodeDelimited']=function(_0x3cc362,_0xa33caa){return this['encode'](_0x3cc362,_0xa33caa)['ldelim']();},_0x13e5bb['decode']=function(_0x33f73f,_0x4a9e66,_0x250a8b){_0x33f73f instanceof _0x5743b9||(_0x33f73f=_0x5743b9['create'](_0x33f73f));for(var _0x17f7e3=void 0x0===_0x4a9e66?_0x33f73f['len']:_0x33f73f['pos']+_0x4a9e66,_0x2fe3a3=new _0x45f2e9['TrackChangesUpdateSuggestionMessage']();_0x33f73f['pos']<_0x17f7e3;){var _0x327833=_0x33f73f['uint32']();if(_0x327833===_0x250a8b)break;switch(_0x327833>>>0x3){case 0x1:_0x2fe3a3['id']=_0x33f73f['string']();break;case 0x2:_0x2fe3a3['documentId']=_0x33f73f['string']();break;case 0x3:_0x2fe3a3['hasComments']=_0x33f73f['bool']();break;case 0x4:_0x2fe3a3['isHasCommentsModified']=_0x33f73f['bool']();break;case 0x5:_0x2fe3a3['state']=_0x33f73f['string']();break;case 0x6:_0x2fe3a3['attributes']=_0x33f73f['string']();break;default:_0x33f73f['skipType'](0x7&_0x327833);}}return _0x2fe3a3;},_0x13e5bb['decodeDelimited']=function(_0x436946){return _0x436946 instanceof _0x5743b9||(_0x436946=new _0x5743b9(_0x436946)),this['decode'](_0x436946,_0x436946['uint32']());},_0x13e5bb['verify']=function(_0x6c42c9){return'object'!=typeof _0x6c42c9||null===_0x6c42c9?'object\x20expected':null!=_0x6c42c9['id']&&_0x6c42c9['hasOwnProperty']('id')&&!_0x596b78['isString'](_0x6c42c9['id'])?'id:\x20string\x20expected':null!=_0x6c42c9['documentId']&&_0x6c42c9['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0x6c42c9['documentId'])?'documentId:\x20string\x20expected':null!=_0x6c42c9['hasComments']&&_0x6c42c9['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x6c42c9['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x6c42c9['isHasCommentsModified']&&_0x6c42c9['hasOwnProperty']('isHasCommentsModified')&&'boolean'!=typeof _0x6c42c9['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x6c42c9['state']&&_0x6c42c9['hasOwnProperty']('state')&&!_0x596b78['isString'](_0x6c42c9['state'])?'state:\x20string\x20expected':null!=_0x6c42c9['attributes']&&_0x6c42c9['hasOwnProperty']('attributes')&&!_0x596b78['isString'](_0x6c42c9['attributes'])?'attributes:\x20string\x20expected':null;},_0x13e5bb['fromObject']=function(_0x34cbf3){if(_0x34cbf3 instanceof _0x45f2e9['TrackChangesUpdateSuggestionMessage'])return _0x34cbf3;var _0x221982=new _0x45f2e9['TrackChangesUpdateSuggestionMessage']();return null!=_0x34cbf3['id']&&(_0x221982['id']=String(_0x34cbf3['id'])),null!=_0x34cbf3['documentId']&&(_0x221982['documentId']=String(_0x34cbf3['documentId'])),null!=_0x34cbf3['hasComments']&&(_0x221982['hasComments']=Boolean(_0x34cbf3['hasComments'])),null!=_0x34cbf3['isHasCommentsModified']&&(_0x221982['isHasCommentsModified']=Boolean(_0x34cbf3['isHasCommentsModified'])),null!=_0x34cbf3['state']&&(_0x221982['state']=String(_0x34cbf3['state'])),null!=_0x34cbf3['attributes']&&(_0x221982['attributes']=String(_0x34cbf3['attributes'])),_0x221982;},_0x13e5bb['toObject']=function(_0x1c7286,_0x3a6b8f){_0x3a6b8f||(_0x3a6b8f={});var _0x2040d0={};return _0x3a6b8f['defaults']&&(_0x2040d0['id']='',_0x2040d0['documentId']='',_0x2040d0['hasComments']=!0x1,_0x2040d0['isHasCommentsModified']=!0x1,_0x2040d0['state']='',_0x2040d0['attributes']=''),null!=_0x1c7286['id']&&_0x1c7286['hasOwnProperty']('id')&&(_0x2040d0['id']=_0x1c7286['id']),null!=_0x1c7286['documentId']&&_0x1c7286['hasOwnProperty']('documentId')&&(_0x2040d0['documentId']=_0x1c7286['documentId']),null!=_0x1c7286['hasComments']&&_0x1c7286['hasOwnProperty']('hasComments')&&(_0x2040d0['hasComments']=_0x1c7286['hasComments']),null!=_0x1c7286['isHasCommentsModified']&&_0x1c7286['hasOwnProperty']('isHasCommentsModified')&&(_0x2040d0['isHasCommentsModified']=_0x1c7286['isHasCommentsModified']),null!=_0x1c7286['state']&&_0x1c7286['hasOwnProperty']('state')&&(_0x2040d0['state']=_0x1c7286['state']),null!=_0x1c7286['attributes']&&_0x1c7286['hasOwnProperty']('attributes')&&(_0x2040d0['attributes']=_0x1c7286['attributes']),_0x2040d0;},_0x13e5bb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x13e5bb['getTypeUrl']=function(_0x4d733d){return void 0x0===_0x4d733d&&(_0x4d733d='type.googleapis.com'),_0x4d733d+'/TrackChangesUpdateSuggestionMessage';},_0x13e5bb;}()),_0x45f2e9['TrackChangesGetSuggestionMessage']=(function(){function _0x6b02ec(_0x3a2e3d){if(_0x3a2e3d){for(var _0x34a247=Object['keys'](_0x3a2e3d),_0x2a9e56=0x0;_0x2a9e56<_0x34a247['length'];++_0x2a9e56)null!=_0x3a2e3d[_0x34a247[_0x2a9e56]]&&(this[_0x34a247[_0x2a9e56]]=_0x3a2e3d[_0x34a247[_0x2a9e56]]);}}return _0x6b02ec['prototype']['id']='',_0x6b02ec['prototype']['documentId']='',_0x6b02ec['create']=function(_0x4599c5){return new _0x6b02ec(_0x4599c5);},_0x6b02ec['encode']=function(_0x9a3f41,_0xd91b03){return _0xd91b03||(_0xd91b03=_0x3a081['create']()),null!=_0x9a3f41['id']&&Object['hasOwnProperty']['call'](_0x9a3f41,'id')&&_0xd91b03['uint32'](0xa)['string'](_0x9a3f41['id']),null!=_0x9a3f41['documentId']&&Object['hasOwnProperty']['call'](_0x9a3f41,'documentId')&&_0xd91b03['uint32'](0x12)['string'](_0x9a3f41['documentId']),_0xd91b03;},_0x6b02ec['encodeDelimited']=function(_0x3dc438,_0x40ba62){return this['encode'](_0x3dc438,_0x40ba62)['ldelim']();},_0x6b02ec['decode']=function(_0x23beb1,_0x22d584,_0x2c9958){_0x23beb1 instanceof _0x5743b9||(_0x23beb1=_0x5743b9['create'](_0x23beb1));for(var _0x47f5d4=void 0x0===_0x22d584?_0x23beb1['len']:_0x23beb1['pos']+_0x22d584,_0x5b9e9a=new _0x45f2e9['TrackChangesGetSuggestionMessage']();_0x23beb1['pos']<_0x47f5d4;){var _0xc61616=_0x23beb1['uint32']();if(_0xc61616===_0x2c9958)break;switch(_0xc61616>>>0x3){case 0x1:_0x5b9e9a['id']=_0x23beb1['string']();break;case 0x2:_0x5b9e9a['documentId']=_0x23beb1['string']();break;default:_0x23beb1['skipType'](0x7&_0xc61616);}}return _0x5b9e9a;},_0x6b02ec['decodeDelimited']=function(_0x89a804){return _0x89a804 instanceof _0x5743b9||(_0x89a804=new _0x5743b9(_0x89a804)),this['decode'](_0x89a804,_0x89a804['uint32']());},_0x6b02ec['verify']=function(_0x35e781){return'object'!=typeof _0x35e781||null===_0x35e781?'object\x20expected':null!=_0x35e781['id']&&_0x35e781['hasOwnProperty']('id')&&!_0x596b78['isString'](_0x35e781['id'])?'id:\x20string\x20expected':null!=_0x35e781['documentId']&&_0x35e781['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0x35e781['documentId'])?'documentId:\x20string\x20expected':null;},_0x6b02ec['fromObject']=function(_0x1a95f0){if(_0x1a95f0 instanceof _0x45f2e9['TrackChangesGetSuggestionMessage'])return _0x1a95f0;var _0x58344e=new _0x45f2e9['TrackChangesGetSuggestionMessage']();return null!=_0x1a95f0['id']&&(_0x58344e['id']=String(_0x1a95f0['id'])),null!=_0x1a95f0['documentId']&&(_0x58344e['documentId']=String(_0x1a95f0['documentId'])),_0x58344e;},_0x6b02ec['toObject']=function(_0x5b0a34,_0xa144fa){_0xa144fa||(_0xa144fa={});var _0x2d5e67={};return _0xa144fa['defaults']&&(_0x2d5e67['id']='',_0x2d5e67['documentId']=''),null!=_0x5b0a34['id']&&_0x5b0a34['hasOwnProperty']('id')&&(_0x2d5e67['id']=_0x5b0a34['id']),null!=_0x5b0a34['documentId']&&_0x5b0a34['hasOwnProperty']('documentId')&&(_0x2d5e67['documentId']=_0x5b0a34['documentId']),_0x2d5e67;},_0x6b02ec['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x6b02ec['getTypeUrl']=function(_0x26568e){return void 0x0===_0x26568e&&(_0x26568e='type.googleapis.com'),_0x26568e+'/TrackChangesGetSuggestionMessage';},_0x6b02ec;}()),_0x45f2e9['TrackChangesGetAllSuggestionMessage']=(function(){function _0x955f5f(_0x4a8c4d){if(_0x4a8c4d){for(var _0x123de2=Object['keys'](_0x4a8c4d),_0x5a89a6=0x0;_0x5a89a6<_0x123de2['length'];++_0x5a89a6)null!=_0x4a8c4d[_0x123de2[_0x5a89a6]]&&(this[_0x123de2[_0x5a89a6]]=_0x4a8c4d[_0x123de2[_0x5a89a6]]);}}return _0x955f5f['prototype']['documentId']='',_0x955f5f['create']=function(_0x3d037a){return new _0x955f5f(_0x3d037a);},_0x955f5f['encode']=function(_0x49af19,_0x5e5e11){return _0x5e5e11||(_0x5e5e11=_0x3a081['create']()),null!=_0x49af19['documentId']&&Object['hasOwnProperty']['call'](_0x49af19,'documentId')&&_0x5e5e11['uint32'](0xa)['string'](_0x49af19['documentId']),_0x5e5e11;},_0x955f5f['encodeDelimited']=function(_0x322e35,_0x33c5cd){return this['encode'](_0x322e35,_0x33c5cd)['ldelim']();},_0x955f5f['decode']=function(_0x2a23a4,_0x33d9cb,_0x46d0b1){_0x2a23a4 instanceof _0x5743b9||(_0x2a23a4=_0x5743b9['create'](_0x2a23a4));for(var _0x1d83bb=void 0x0===_0x33d9cb?_0x2a23a4['len']:_0x2a23a4['pos']+_0x33d9cb,_0x95ddec=new _0x45f2e9['TrackChangesGetAllSuggestionMessage']();_0x2a23a4['pos']<_0x1d83bb;){var _0x953fe7=_0x2a23a4['uint32']();if(_0x953fe7===_0x46d0b1)break;_0x953fe7>>>0x3==0x1?_0x95ddec['documentId']=_0x2a23a4['string']():_0x2a23a4['skipType'](0x7&_0x953fe7);}return _0x95ddec;},_0x955f5f['decodeDelimited']=function(_0x38cd72){return _0x38cd72 instanceof _0x5743b9||(_0x38cd72=new _0x5743b9(_0x38cd72)),this['decode'](_0x38cd72,_0x38cd72['uint32']());},_0x955f5f['verify']=function(_0x405c8e){return'object'!=typeof _0x405c8e||null===_0x405c8e?'object\x20expected':null!=_0x405c8e['documentId']&&_0x405c8e['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0x405c8e['documentId'])?'documentId:\x20string\x20expected':null;},_0x955f5f['fromObject']=function(_0x2422dc){if(_0x2422dc instanceof _0x45f2e9['TrackChangesGetAllSuggestionMessage'])return _0x2422dc;var _0x391291=new _0x45f2e9['TrackChangesGetAllSuggestionMessage']();return null!=_0x2422dc['documentId']&&(_0x391291['documentId']=String(_0x2422dc['documentId'])),_0x391291;},_0x955f5f['toObject']=function(_0x2090ab,_0x914f53){_0x914f53||(_0x914f53={});var _0x3db459={};return _0x914f53['defaults']&&(_0x3db459['documentId']=''),null!=_0x2090ab['documentId']&&_0x2090ab['hasOwnProperty']('documentId')&&(_0x3db459['documentId']=_0x2090ab['documentId']),_0x3db459;},_0x955f5f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x955f5f['getTypeUrl']=function(_0x38313b){return void 0x0===_0x38313b&&(_0x38313b='type.googleapis.com'),_0x38313b+'/TrackChangesGetAllSuggestionMessage';},_0x955f5f;}()),_0x45f2e9['TrackChangesConnectMessage']=(function(){function _0x58e5ef(_0x1dc2f9){if(_0x1dc2f9){for(var _0x5d688b=Object['keys'](_0x1dc2f9),_0x44318f=0x0;_0x44318f<_0x5d688b['length'];++_0x44318f)null!=_0x1dc2f9[_0x5d688b[_0x44318f]]&&(this[_0x5d688b[_0x44318f]]=_0x1dc2f9[_0x5d688b[_0x44318f]]);}}return _0x58e5ef['prototype']['documentId']='',_0x58e5ef['create']=function(_0x1837a9){return new _0x58e5ef(_0x1837a9);},_0x58e5ef['encode']=function(_0x2d1865,_0x5ac749){return _0x5ac749||(_0x5ac749=_0x3a081['create']()),null!=_0x2d1865['documentId']&&Object['hasOwnProperty']['call'](_0x2d1865,'documentId')&&_0x5ac749['uint32'](0xa)['string'](_0x2d1865['documentId']),_0x5ac749;},_0x58e5ef['encodeDelimited']=function(_0x29e3bd,_0x3e8459){return this['encode'](_0x29e3bd,_0x3e8459)['ldelim']();},_0x58e5ef['decode']=function(_0x24a053,_0x5a58eb,_0x25e9a4){_0x24a053 instanceof _0x5743b9||(_0x24a053=_0x5743b9['create'](_0x24a053));for(var _0x26a6fd=void 0x0===_0x5a58eb?_0x24a053['len']:_0x24a053['pos']+_0x5a58eb,_0x473981=new _0x45f2e9['TrackChangesConnectMessage']();_0x24a053['pos']<_0x26a6fd;){var _0x52b0c2=_0x24a053['uint32']();if(_0x52b0c2===_0x25e9a4)break;_0x52b0c2>>>0x3==0x1?_0x473981['documentId']=_0x24a053['string']():_0x24a053['skipType'](0x7&_0x52b0c2);}return _0x473981;},_0x58e5ef['decodeDelimited']=function(_0x3567b1){return _0x3567b1 instanceof _0x5743b9||(_0x3567b1=new _0x5743b9(_0x3567b1)),this['decode'](_0x3567b1,_0x3567b1['uint32']());},_0x58e5ef['verify']=function(_0x5be144){return'object'!=typeof _0x5be144||null===_0x5be144?'object\x20expected':null!=_0x5be144['documentId']&&_0x5be144['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0x5be144['documentId'])?'documentId:\x20string\x20expected':null;},_0x58e5ef['fromObject']=function(_0x43d8c2){if(_0x43d8c2 instanceof _0x45f2e9['TrackChangesConnectMessage'])return _0x43d8c2;var _0x41002e=new _0x45f2e9['TrackChangesConnectMessage']();return null!=_0x43d8c2['documentId']&&(_0x41002e['documentId']=String(_0x43d8c2['documentId'])),_0x41002e;},_0x58e5ef['toObject']=function(_0x5b0954,_0x5adcd5){_0x5adcd5||(_0x5adcd5={});var _0x23e177={};return _0x5adcd5['defaults']&&(_0x23e177['documentId']=''),null!=_0x5b0954['documentId']&&_0x5b0954['hasOwnProperty']('documentId')&&(_0x23e177['documentId']=_0x5b0954['documentId']),_0x23e177;},_0x58e5ef['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x58e5ef['getTypeUrl']=function(_0x246ae4){return void 0x0===_0x246ae4&&(_0x246ae4='type.googleapis.com'),_0x246ae4+'/TrackChangesConnectMessage';},_0x58e5ef;}()),_0x45f2e9['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function _0x4de18b(_0x1682fe){if(this['ids']=[],_0x1682fe){for(var _0xf68b46=Object['keys'](_0x1682fe),_0x1bef42=0x0;_0x1bef42<_0xf68b46['length'];++_0x1bef42)null!=_0x1682fe[_0xf68b46[_0x1bef42]]&&(this[_0xf68b46[_0x1bef42]]=_0x1682fe[_0xf68b46[_0x1bef42]]);}}return _0x4de18b['prototype']['ids']=_0x596b78['emptyArray'],_0x4de18b['prototype']['documentId']='',_0x4de18b['prototype']['state']='',_0x4de18b['create']=function(_0x3b6c0f){return new _0x4de18b(_0x3b6c0f);},_0x4de18b['encode']=function(_0x159ff1,_0x37b95d){if(_0x37b95d||(_0x37b95d=_0x3a081['create']()),null!=_0x159ff1['ids']&&_0x159ff1['ids']['length']){for(var _0x58c700=0x0;_0x58c700<_0x159ff1['ids']['length'];++_0x58c700)_0x37b95d['uint32'](0xa)['string'](_0x159ff1['ids'][_0x58c700]);}return null!=_0x159ff1['documentId']&&Object['hasOwnProperty']['call'](_0x159ff1,'documentId')&&_0x37b95d['uint32'](0x12)['string'](_0x159ff1['documentId']),null!=_0x159ff1['state']&&Object['hasOwnProperty']['call'](_0x159ff1,'state')&&_0x37b95d['uint32'](0x1a)['string'](_0x159ff1['state']),_0x37b95d;},_0x4de18b['encodeDelimited']=function(_0x40b1f7,_0x32ead2){return this['encode'](_0x40b1f7,_0x32ead2)['ldelim']();},_0x4de18b['decode']=function(_0x14ad0b,_0x302c26,_0x93d82e){_0x14ad0b instanceof _0x5743b9||(_0x14ad0b=_0x5743b9['create'](_0x14ad0b));for(var _0x440bca=void 0x0===_0x302c26?_0x14ad0b['len']:_0x14ad0b['pos']+_0x302c26,_0x1bf1d5=new _0x45f2e9['TrackChangesBatchUpdateSuggestionsStateMessage']();_0x14ad0b['pos']<_0x440bca;){var _0x10c0c8=_0x14ad0b['uint32']();if(_0x10c0c8===_0x93d82e)break;switch(_0x10c0c8>>>0x3){case 0x1:_0x1bf1d5['ids']&&_0x1bf1d5['ids']['length']||(_0x1bf1d5['ids']=[]),_0x1bf1d5['ids']['push'](_0x14ad0b['string']());break;case 0x2:_0x1bf1d5['documentId']=_0x14ad0b['string']();break;case 0x3:_0x1bf1d5['state']=_0x14ad0b['string']();break;default:_0x14ad0b['skipType'](0x7&_0x10c0c8);}}return _0x1bf1d5;},_0x4de18b['decodeDelimited']=function(_0x3e5c1d){return _0x3e5c1d instanceof _0x5743b9||(_0x3e5c1d=new _0x5743b9(_0x3e5c1d)),this['decode'](_0x3e5c1d,_0x3e5c1d['uint32']());},_0x4de18b['verify']=function(_0x29498c){if('object'!=typeof _0x29498c||null===_0x29498c)return'object\x20expected';if(null!=_0x29498c['ids']&&_0x29498c['hasOwnProperty']('ids')){if(!Array['isArray'](_0x29498c['ids']))return'ids:\x20array\x20expected';for(var _0x44755d=0x0;_0x44755d<_0x29498c['ids']['length'];++_0x44755d)if(!_0x596b78['isString'](_0x29498c['ids'][_0x44755d]))return'ids:\x20string[]\x20expected';}return null!=_0x29498c['documentId']&&_0x29498c['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0x29498c['documentId'])?'documentId:\x20string\x20expected':null!=_0x29498c['state']&&_0x29498c['hasOwnProperty']('state')&&!_0x596b78['isString'](_0x29498c['state'])?'state:\x20string\x20expected':null;},_0x4de18b['fromObject']=function(_0x344aac){if(_0x344aac instanceof _0x45f2e9['TrackChangesBatchUpdateSuggestionsStateMessage'])return _0x344aac;var _0x10ad09=new _0x45f2e9['TrackChangesBatchUpdateSuggestionsStateMessage']();if(_0x344aac['ids']){if(!Array['isArray'](_0x344aac['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0x10ad09['ids']=[];for(var _0x580082=0x0;_0x580082<_0x344aac['ids']['length'];++_0x580082)_0x10ad09['ids'][_0x580082]=String(_0x344aac['ids'][_0x580082]);}return null!=_0x344aac['documentId']&&(_0x10ad09['documentId']=String(_0x344aac['documentId'])),null!=_0x344aac['state']&&(_0x10ad09['state']=String(_0x344aac['state'])),_0x10ad09;},_0x4de18b['toObject']=function(_0x32542c,_0x53282b){_0x53282b||(_0x53282b={});var _0x498268={};if((_0x53282b['arrays']||_0x53282b['defaults'])&&(_0x498268['ids']=[]),_0x53282b['defaults']&&(_0x498268['documentId']='',_0x498268['state']=''),_0x32542c['ids']&&_0x32542c['ids']['length']){_0x498268['ids']=[];for(var _0x3a00e0=0x0;_0x3a00e0<_0x32542c['ids']['length'];++_0x3a00e0)_0x498268['ids'][_0x3a00e0]=_0x32542c['ids'][_0x3a00e0];}return null!=_0x32542c['documentId']&&_0x32542c['hasOwnProperty']('documentId')&&(_0x498268['documentId']=_0x32542c['documentId']),null!=_0x32542c['state']&&_0x32542c['hasOwnProperty']('state')&&(_0x498268['state']=_0x32542c['state']),_0x498268;},_0x4de18b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x4de18b['getTypeUrl']=function(_0x23e7f0){return void 0x0===_0x23e7f0&&(_0x23e7f0='type.googleapis.com'),_0x23e7f0+'/TrackChangesBatchUpdateSuggestionsStateMessage';},_0x4de18b;}()),_0x45f2e9['TrackChangesAddSuggestionMessage']=(function(){function _0x188e4f(_0x5826d6){if(_0x5826d6){for(var _0x4f8220=Object['keys'](_0x5826d6),_0x1da968=0x0;_0x1da968<_0x4f8220['length'];++_0x1da968)null!=_0x5826d6[_0x4f8220[_0x1da968]]&&(this[_0x4f8220[_0x1da968]]=_0x5826d6[_0x4f8220[_0x1da968]]);}}return _0x188e4f['prototype']['id']='',_0x188e4f['prototype']['documentId']='',_0x188e4f['prototype']['type']='',_0x188e4f['prototype']['data']='',_0x188e4f['prototype']['originalSuggestionId']='',_0x188e4f['prototype']['attributes']='',_0x188e4f['create']=function(_0x1badca){return new _0x188e4f(_0x1badca);},_0x188e4f['encode']=function(_0x22dc55,_0x1cbb94){return _0x1cbb94||(_0x1cbb94=_0x3a081['create']()),null!=_0x22dc55['id']&&Object['hasOwnProperty']['call'](_0x22dc55,'id')&&_0x1cbb94['uint32'](0xa)['string'](_0x22dc55['id']),null!=_0x22dc55['documentId']&&Object['hasOwnProperty']['call'](_0x22dc55,'documentId')&&_0x1cbb94['uint32'](0x12)['string'](_0x22dc55['documentId']),null!=_0x22dc55['type']&&Object['hasOwnProperty']['call'](_0x22dc55,'type')&&_0x1cbb94['uint32'](0x1a)['string'](_0x22dc55['type']),null!=_0x22dc55['data']&&Object['hasOwnProperty']['call'](_0x22dc55,'data')&&_0x1cbb94['uint32'](0x22)['string'](_0x22dc55['data']),null!=_0x22dc55['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x22dc55,'originalSuggestionId')&&_0x1cbb94['uint32'](0x2a)['string'](_0x22dc55['originalSuggestionId']),null!=_0x22dc55['attributes']&&Object['hasOwnProperty']['call'](_0x22dc55,'attributes')&&_0x1cbb94['uint32'](0x32)['string'](_0x22dc55['attributes']),_0x1cbb94;},_0x188e4f['encodeDelimited']=function(_0x5f16f1,_0x3b8fa6){return this['encode'](_0x5f16f1,_0x3b8fa6)['ldelim']();},_0x188e4f['decode']=function(_0x265a0f,_0x486012,_0x458fcf){_0x265a0f instanceof _0x5743b9||(_0x265a0f=_0x5743b9['create'](_0x265a0f));for(var _0xcee813=void 0x0===_0x486012?_0x265a0f['len']:_0x265a0f['pos']+_0x486012,_0xbc9d7=new _0x45f2e9['TrackChangesAddSuggestionMessage']();_0x265a0f['pos']<_0xcee813;){var _0xf5ba70=_0x265a0f['uint32']();if(_0xf5ba70===_0x458fcf)break;switch(_0xf5ba70>>>0x3){case 0x1:_0xbc9d7['id']=_0x265a0f['string']();break;case 0x2:_0xbc9d7['documentId']=_0x265a0f['string']();break;case 0x3:_0xbc9d7['type']=_0x265a0f['string']();break;case 0x4:_0xbc9d7['data']=_0x265a0f['string']();break;case 0x5:_0xbc9d7['originalSuggestionId']=_0x265a0f['string']();break;case 0x6:_0xbc9d7['attributes']=_0x265a0f['string']();break;default:_0x265a0f['skipType'](0x7&_0xf5ba70);}}return _0xbc9d7;},_0x188e4f['decodeDelimited']=function(_0x9b95f6){return _0x9b95f6 instanceof _0x5743b9||(_0x9b95f6=new _0x5743b9(_0x9b95f6)),this['decode'](_0x9b95f6,_0x9b95f6['uint32']());},_0x188e4f['verify']=function(_0x1e43a3){return'object'!=typeof _0x1e43a3||null===_0x1e43a3?'object\x20expected':null!=_0x1e43a3['id']&&_0x1e43a3['hasOwnProperty']('id')&&!_0x596b78['isString'](_0x1e43a3['id'])?'id:\x20string\x20expected':null!=_0x1e43a3['documentId']&&_0x1e43a3['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0x1e43a3['documentId'])?'documentId:\x20string\x20expected':null!=_0x1e43a3['type']&&_0x1e43a3['hasOwnProperty']('type')&&!_0x596b78['isString'](_0x1e43a3['type'])?'type:\x20string\x20expected':null!=_0x1e43a3['data']&&_0x1e43a3['hasOwnProperty']('data')&&!_0x596b78['isString'](_0x1e43a3['data'])?'data:\x20string\x20expected':null!=_0x1e43a3['originalSuggestionId']&&_0x1e43a3['hasOwnProperty']('originalSuggestionId')&&!_0x596b78['isString'](_0x1e43a3['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0x1e43a3['attributes']&&_0x1e43a3['hasOwnProperty']('attributes')&&!_0x596b78['isString'](_0x1e43a3['attributes'])?'attributes:\x20string\x20expected':null;},_0x188e4f['fromObject']=function(_0x4fbf58){if(_0x4fbf58 instanceof _0x45f2e9['TrackChangesAddSuggestionMessage'])return _0x4fbf58;var _0x16762f=new _0x45f2e9['TrackChangesAddSuggestionMessage']();return null!=_0x4fbf58['id']&&(_0x16762f['id']=String(_0x4fbf58['id'])),null!=_0x4fbf58['documentId']&&(_0x16762f['documentId']=String(_0x4fbf58['documentId'])),null!=_0x4fbf58['type']&&(_0x16762f['type']=String(_0x4fbf58['type'])),null!=_0x4fbf58['data']&&(_0x16762f['data']=String(_0x4fbf58['data'])),null!=_0x4fbf58['originalSuggestionId']&&(_0x16762f['originalSuggestionId']=String(_0x4fbf58['originalSuggestionId'])),null!=_0x4fbf58['attributes']&&(_0x16762f['attributes']=String(_0x4fbf58['attributes'])),_0x16762f;},_0x188e4f['toObject']=function(_0x450c6f,_0x44390d){_0x44390d||(_0x44390d={});var _0x4a7da3={};return _0x44390d['defaults']&&(_0x4a7da3['id']='',_0x4a7da3['documentId']='',_0x4a7da3['type']='',_0x4a7da3['data']='',_0x4a7da3['originalSuggestionId']='',_0x4a7da3['attributes']=''),null!=_0x450c6f['id']&&_0x450c6f['hasOwnProperty']('id')&&(_0x4a7da3['id']=_0x450c6f['id']),null!=_0x450c6f['documentId']&&_0x450c6f['hasOwnProperty']('documentId')&&(_0x4a7da3['documentId']=_0x450c6f['documentId']),null!=_0x450c6f['type']&&_0x450c6f['hasOwnProperty']('type')&&(_0x4a7da3['type']=_0x450c6f['type']),null!=_0x450c6f['data']&&_0x450c6f['hasOwnProperty']('data')&&(_0x4a7da3['data']=_0x450c6f['data']),null!=_0x450c6f['originalSuggestionId']&&_0x450c6f['hasOwnProperty']('originalSuggestionId')&&(_0x4a7da3['originalSuggestionId']=_0x450c6f['originalSuggestionId']),null!=_0x450c6f['attributes']&&_0x450c6f['hasOwnProperty']('attributes')&&(_0x4a7da3['attributes']=_0x450c6f['attributes']),_0x4a7da3;},_0x188e4f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x188e4f['getTypeUrl']=function(_0x4fa70b){return void 0x0===_0x4fa70b&&(_0x4fa70b='type.googleapis.com'),_0x4fa70b+'/TrackChangesAddSuggestionMessage';},_0x188e4f;}()),_0x45f2e9['SuggestionDescriptor']=(function(){function _0x1fa806(_0x501304){if(_0x501304){for(var _0x2c11cc=Object['keys'](_0x501304),_0x3a688e=0x0;_0x3a688e<_0x2c11cc['length'];++_0x3a688e)null!=_0x501304[_0x2c11cc[_0x3a688e]]&&(this[_0x2c11cc[_0x3a688e]]=_0x501304[_0x2c11cc[_0x3a688e]]);}}return _0x1fa806['prototype']['id']='',_0x1fa806['prototype']['authorId']='',_0x1fa806['prototype']['type']='',_0x1fa806['prototype']['createdAt']='',_0x1fa806['prototype']['data']='',_0x1fa806['prototype']['hasComments']=!0x1,_0x1fa806['prototype']['state']='',_0x1fa806['prototype']['attributes']='',_0x1fa806['create']=function(_0x1d1f65){return new _0x1fa806(_0x1d1f65);},_0x1fa806['encode']=function(_0x1d8823,_0x4c0f77){return _0x4c0f77||(_0x4c0f77=_0x3a081['create']()),null!=_0x1d8823['id']&&Object['hasOwnProperty']['call'](_0x1d8823,'id')&&_0x4c0f77['uint32'](0xa)['string'](_0x1d8823['id']),null!=_0x1d8823['authorId']&&Object['hasOwnProperty']['call'](_0x1d8823,'authorId')&&_0x4c0f77['uint32'](0x12)['string'](_0x1d8823['authorId']),null!=_0x1d8823['type']&&Object['hasOwnProperty']['call'](_0x1d8823,'type')&&_0x4c0f77['uint32'](0x1a)['string'](_0x1d8823['type']),null!=_0x1d8823['createdAt']&&Object['hasOwnProperty']['call'](_0x1d8823,'createdAt')&&_0x4c0f77['uint32'](0x22)['string'](_0x1d8823['createdAt']),null!=_0x1d8823['data']&&Object['hasOwnProperty']['call'](_0x1d8823,'data')&&_0x4c0f77['uint32'](0x2a)['string'](_0x1d8823['data']),null!=_0x1d8823['hasComments']&&Object['hasOwnProperty']['call'](_0x1d8823,'hasComments')&&_0x4c0f77['uint32'](0x30)['bool'](_0x1d8823['hasComments']),null!=_0x1d8823['state']&&Object['hasOwnProperty']['call'](_0x1d8823,'state')&&_0x4c0f77['uint32'](0x3a)['string'](_0x1d8823['state']),null!=_0x1d8823['attributes']&&Object['hasOwnProperty']['call'](_0x1d8823,'attributes')&&_0x4c0f77['uint32'](0x42)['string'](_0x1d8823['attributes']),_0x4c0f77;},_0x1fa806['encodeDelimited']=function(_0x4c4284,_0x58c02b){return this['encode'](_0x4c4284,_0x58c02b)['ldelim']();},_0x1fa806['decode']=function(_0xb6e7e8,_0x247216,_0x505ef2){_0xb6e7e8 instanceof _0x5743b9||(_0xb6e7e8=_0x5743b9['create'](_0xb6e7e8));for(var _0x1af46d=void 0x0===_0x247216?_0xb6e7e8['len']:_0xb6e7e8['pos']+_0x247216,_0x39423e=new _0x45f2e9['SuggestionDescriptor']();_0xb6e7e8['pos']<_0x1af46d;){var _0x2049f1=_0xb6e7e8['uint32']();if(_0x2049f1===_0x505ef2)break;switch(_0x2049f1>>>0x3){case 0x1:_0x39423e['id']=_0xb6e7e8['string']();break;case 0x2:_0x39423e['authorId']=_0xb6e7e8['string']();break;case 0x3:_0x39423e['type']=_0xb6e7e8['string']();break;case 0x4:_0x39423e['createdAt']=_0xb6e7e8['string']();break;case 0x5:_0x39423e['data']=_0xb6e7e8['string']();break;case 0x6:_0x39423e['hasComments']=_0xb6e7e8['bool']();break;case 0x7:_0x39423e['state']=_0xb6e7e8['string']();break;case 0x8:_0x39423e['attributes']=_0xb6e7e8['string']();break;default:_0xb6e7e8['skipType'](0x7&_0x2049f1);}}return _0x39423e;},_0x1fa806['decodeDelimited']=function(_0xce8eb3){return _0xce8eb3 instanceof _0x5743b9||(_0xce8eb3=new _0x5743b9(_0xce8eb3)),this['decode'](_0xce8eb3,_0xce8eb3['uint32']());},_0x1fa806['verify']=function(_0x575701){return'object'!=typeof _0x575701||null===_0x575701?'object\x20expected':null!=_0x575701['id']&&_0x575701['hasOwnProperty']('id')&&!_0x596b78['isString'](_0x575701['id'])?'id:\x20string\x20expected':null!=_0x575701['authorId']&&_0x575701['hasOwnProperty']('authorId')&&!_0x596b78['isString'](_0x575701['authorId'])?'authorId:\x20string\x20expected':null!=_0x575701['type']&&_0x575701['hasOwnProperty']('type')&&!_0x596b78['isString'](_0x575701['type'])?'type:\x20string\x20expected':null!=_0x575701['createdAt']&&_0x575701['hasOwnProperty']('createdAt')&&!_0x596b78['isString'](_0x575701['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x575701['data']&&_0x575701['hasOwnProperty']('data')&&!_0x596b78['isString'](_0x575701['data'])?'data:\x20string\x20expected':null!=_0x575701['hasComments']&&_0x575701['hasOwnProperty']('hasComments')&&'boolean'!=typeof _0x575701['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x575701['state']&&_0x575701['hasOwnProperty']('state')&&!_0x596b78['isString'](_0x575701['state'])?'state:\x20string\x20expected':null!=_0x575701['attributes']&&_0x575701['hasOwnProperty']('attributes')&&!_0x596b78['isString'](_0x575701['attributes'])?'attributes:\x20string\x20expected':null;},_0x1fa806['fromObject']=function(_0xa59e5c){if(_0xa59e5c instanceof _0x45f2e9['SuggestionDescriptor'])return _0xa59e5c;var _0x3a5cdb=new _0x45f2e9['SuggestionDescriptor']();return null!=_0xa59e5c['id']&&(_0x3a5cdb['id']=String(_0xa59e5c['id'])),null!=_0xa59e5c['authorId']&&(_0x3a5cdb['authorId']=String(_0xa59e5c['authorId'])),null!=_0xa59e5c['type']&&(_0x3a5cdb['type']=String(_0xa59e5c['type'])),null!=_0xa59e5c['createdAt']&&(_0x3a5cdb['createdAt']=String(_0xa59e5c['createdAt'])),null!=_0xa59e5c['data']&&(_0x3a5cdb['data']=String(_0xa59e5c['data'])),null!=_0xa59e5c['hasComments']&&(_0x3a5cdb['hasComments']=Boolean(_0xa59e5c['hasComments'])),null!=_0xa59e5c['state']&&(_0x3a5cdb['state']=String(_0xa59e5c['state'])),null!=_0xa59e5c['attributes']&&(_0x3a5cdb['attributes']=String(_0xa59e5c['attributes'])),_0x3a5cdb;},_0x1fa806['toObject']=function(_0x250b2a,_0x302593){_0x302593||(_0x302593={});var _0x128a24={};return _0x302593['defaults']&&(_0x128a24['id']='',_0x128a24['authorId']='',_0x128a24['type']='',_0x128a24['createdAt']='',_0x128a24['data']='',_0x128a24['hasComments']=!0x1,_0x128a24['state']='',_0x128a24['attributes']=''),null!=_0x250b2a['id']&&_0x250b2a['hasOwnProperty']('id')&&(_0x128a24['id']=_0x250b2a['id']),null!=_0x250b2a['authorId']&&_0x250b2a['hasOwnProperty']('authorId')&&(_0x128a24['authorId']=_0x250b2a['authorId']),null!=_0x250b2a['type']&&_0x250b2a['hasOwnProperty']('type')&&(_0x128a24['type']=_0x250b2a['type']),null!=_0x250b2a['createdAt']&&_0x250b2a['hasOwnProperty']('createdAt')&&(_0x128a24['createdAt']=_0x250b2a['createdAt']),null!=_0x250b2a['data']&&_0x250b2a['hasOwnProperty']('data')&&(_0x128a24['data']=_0x250b2a['data']),null!=_0x250b2a['hasComments']&&_0x250b2a['hasOwnProperty']('hasComments')&&(_0x128a24['hasComments']=_0x250b2a['hasComments']),null!=_0x250b2a['state']&&_0x250b2a['hasOwnProperty']('state')&&(_0x128a24['state']=_0x250b2a['state']),null!=_0x250b2a['attributes']&&_0x250b2a['hasOwnProperty']('attributes')&&(_0x128a24['attributes']=_0x250b2a['attributes']),_0x128a24;},_0x1fa806['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x1fa806['getTypeUrl']=function(_0x9d0bd){return void 0x0===_0x9d0bd&&(_0x9d0bd='type.googleapis.com'),_0x9d0bd+'/SuggestionDescriptor';},_0x1fa806;}()),_0x45f2e9['SessionsConnectResponse']=(function(){function _0x49a4cb(_0x234017){if(this['sockets']=[],_0x234017){for(var _0x223a2d=Object['keys'](_0x234017),_0x2a8b60=0x0;_0x2a8b60<_0x223a2d['length'];++_0x2a8b60)null!=_0x234017[_0x223a2d[_0x2a8b60]]&&(this[_0x223a2d[_0x2a8b60]]=_0x234017[_0x223a2d[_0x2a8b60]]);}}return _0x49a4cb['prototype']['channel']='',_0x49a4cb['prototype']['sockets']=_0x596b78['emptyArray'],_0x49a4cb['create']=function(_0x229f6a){return new _0x49a4cb(_0x229f6a);},_0x49a4cb['encode']=function(_0x37c3d3,_0x4cdd7b){if(_0x4cdd7b||(_0x4cdd7b=_0x3a081['create']()),null!=_0x37c3d3['channel']&&Object['hasOwnProperty']['call'](_0x37c3d3,'channel')&&_0x4cdd7b['uint32'](0xa)['string'](_0x37c3d3['channel']),null!=_0x37c3d3['sockets']&&_0x37c3d3['sockets']['length']){for(var _0x385336=0x0;_0x385336<_0x37c3d3['sockets']['length'];++_0x385336)_0x45f2e9['SessionsSocketDescriptor']['encode'](_0x37c3d3['sockets'][_0x385336],_0x4cdd7b['uint32'](0x12)['fork']())['ldelim']();}return _0x4cdd7b;},_0x49a4cb['encodeDelimited']=function(_0xd1a767,_0x51836b){return this['encode'](_0xd1a767,_0x51836b)['ldelim']();},_0x49a4cb['decode']=function(_0x583d93,_0x2ac60e,_0x445842){_0x583d93 instanceof _0x5743b9||(_0x583d93=_0x5743b9['create'](_0x583d93));for(var _0xca0745=void 0x0===_0x2ac60e?_0x583d93['len']:_0x583d93['pos']+_0x2ac60e,_0x20026d=new _0x45f2e9['SessionsConnectResponse']();_0x583d93['pos']<_0xca0745;){var _0xee3261=_0x583d93['uint32']();if(_0xee3261===_0x445842)break;switch(_0xee3261>>>0x3){case 0x1:_0x20026d['channel']=_0x583d93['string']();break;case 0x2:_0x20026d['sockets']&&_0x20026d['sockets']['length']||(_0x20026d['sockets']=[]),_0x20026d['sockets']['push'](_0x45f2e9['SessionsSocketDescriptor']['decode'](_0x583d93,_0x583d93['uint32']()));break;default:_0x583d93['skipType'](0x7&_0xee3261);}}return _0x20026d;},_0x49a4cb['decodeDelimited']=function(_0x59fcb1){return _0x59fcb1 instanceof _0x5743b9||(_0x59fcb1=new _0x5743b9(_0x59fcb1)),this['decode'](_0x59fcb1,_0x59fcb1['uint32']());},_0x49a4cb['verify']=function(_0x13e42d){if('object'!=typeof _0x13e42d||null===_0x13e42d)return'object\x20expected';if(null!=_0x13e42d['channel']&&_0x13e42d['hasOwnProperty']('channel')&&!_0x596b78['isString'](_0x13e42d['channel']))return'channel:\x20string\x20expected';if(null!=_0x13e42d['sockets']&&_0x13e42d['hasOwnProperty']('sockets')){if(!Array['isArray'](_0x13e42d['sockets']))return'sockets:\x20array\x20expected';for(var _0x269bc9=0x0;_0x269bc9<_0x13e42d['sockets']['length'];++_0x269bc9){var _0x231612=_0x45f2e9['SessionsSocketDescriptor']['verify'](_0x13e42d['sockets'][_0x269bc9]);if(_0x231612)return'sockets.'+_0x231612;}}return null;},_0x49a4cb['fromObject']=function(_0x315cd3){if(_0x315cd3 instanceof _0x45f2e9['SessionsConnectResponse'])return _0x315cd3;var _0x33778f=new _0x45f2e9['SessionsConnectResponse']();if(null!=_0x315cd3['channel']&&(_0x33778f['channel']=String(_0x315cd3['channel'])),_0x315cd3['sockets']){if(!Array['isArray'](_0x315cd3['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0x33778f['sockets']=[];for(var _0x2f9a49=0x0;_0x2f9a49<_0x315cd3['sockets']['length'];++_0x2f9a49){if('object'!=typeof _0x315cd3['sockets'][_0x2f9a49])throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0x33778f['sockets'][_0x2f9a49]=_0x45f2e9['SessionsSocketDescriptor']['fromObject'](_0x315cd3['sockets'][_0x2f9a49]);}}return _0x33778f;},_0x49a4cb['toObject']=function(_0xba6625,_0x5e929e){_0x5e929e||(_0x5e929e={});var _0xc8820c={};if((_0x5e929e['arrays']||_0x5e929e['defaults'])&&(_0xc8820c['sockets']=[]),_0x5e929e['defaults']&&(_0xc8820c['channel']=''),null!=_0xba6625['channel']&&_0xba6625['hasOwnProperty']('channel')&&(_0xc8820c['channel']=_0xba6625['channel']),_0xba6625['sockets']&&_0xba6625['sockets']['length']){_0xc8820c['sockets']=[];for(var _0x36bb5a=0x0;_0x36bb5a<_0xba6625['sockets']['length'];++_0x36bb5a)_0xc8820c['sockets'][_0x36bb5a]=_0x45f2e9['SessionsSocketDescriptor']['toObject'](_0xba6625['sockets'][_0x36bb5a],_0x5e929e);}return _0xc8820c;},_0x49a4cb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x49a4cb['getTypeUrl']=function(_0x5f0c41){return void 0x0===_0x5f0c41&&(_0x5f0c41='type.googleapis.com'),_0x5f0c41+'/SessionsConnectResponse';},_0x49a4cb;}()),_0x45f2e9['SocketDisconnectMessage']=(function(){function _0x9df043(_0x50a475){if(_0x50a475){for(var _0x6f1967=Object['keys'](_0x50a475),_0xb8c9f1=0x0;_0xb8c9f1<_0x6f1967['length'];++_0xb8c9f1)null!=_0x50a475[_0x6f1967[_0xb8c9f1]]&&(this[_0x6f1967[_0xb8c9f1]]=_0x50a475[_0x6f1967[_0xb8c9f1]]);}}return _0x9df043['prototype']['id']='',_0x9df043['create']=function(_0x365b75){return new _0x9df043(_0x365b75);},_0x9df043['encode']=function(_0x4f0fc3,_0x4e4e66){return _0x4e4e66||(_0x4e4e66=_0x3a081['create']()),null!=_0x4f0fc3['id']&&Object['hasOwnProperty']['call'](_0x4f0fc3,'id')&&_0x4e4e66['uint32'](0xa)['string'](_0x4f0fc3['id']),_0x4e4e66;},_0x9df043['encodeDelimited']=function(_0x5b7438,_0x121d51){return this['encode'](_0x5b7438,_0x121d51)['ldelim']();},_0x9df043['decode']=function(_0x3864f5,_0x5da8fd,_0x501e58){_0x3864f5 instanceof _0x5743b9||(_0x3864f5=_0x5743b9['create'](_0x3864f5));for(var _0x2bea92=void 0x0===_0x5da8fd?_0x3864f5['len']:_0x3864f5['pos']+_0x5da8fd,_0x373328=new _0x45f2e9['SocketDisconnectMessage']();_0x3864f5['pos']<_0x2bea92;){var _0x1cc63d=_0x3864f5['uint32']();if(_0x1cc63d===_0x501e58)break;_0x1cc63d>>>0x3==0x1?_0x373328['id']=_0x3864f5['string']():_0x3864f5['skipType'](0x7&_0x1cc63d);}return _0x373328;},_0x9df043['decodeDelimited']=function(_0x5eed05){return _0x5eed05 instanceof _0x5743b9||(_0x5eed05=new _0x5743b9(_0x5eed05)),this['decode'](_0x5eed05,_0x5eed05['uint32']());},_0x9df043['verify']=function(_0x5786bb){return'object'!=typeof _0x5786bb||null===_0x5786bb?'object\x20expected':null!=_0x5786bb['id']&&_0x5786bb['hasOwnProperty']('id')&&!_0x596b78['isString'](_0x5786bb['id'])?'id:\x20string\x20expected':null;},_0x9df043['fromObject']=function(_0x96c0a5){if(_0x96c0a5 instanceof _0x45f2e9['SocketDisconnectMessage'])return _0x96c0a5;var _0x497a31=new _0x45f2e9['SocketDisconnectMessage']();return null!=_0x96c0a5['id']&&(_0x497a31['id']=String(_0x96c0a5['id'])),_0x497a31;},_0x9df043['toObject']=function(_0x187af7,_0x5881b4){_0x5881b4||(_0x5881b4={});var _0x162279={};return _0x5881b4['defaults']&&(_0x162279['id']=''),null!=_0x187af7['id']&&_0x187af7['hasOwnProperty']('id')&&(_0x162279['id']=_0x187af7['id']),_0x162279;},_0x9df043['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x9df043['getTypeUrl']=function(_0x1806f5){return void 0x0===_0x1806f5&&(_0x1806f5='type.googleapis.com'),_0x1806f5+'/SocketDisconnectMessage';},_0x9df043;}()),_0x45f2e9['SocketConnectMessage']=(function(){function _0x13cd80(_0xd8dd8c){if(this['permissions']=[],_0xd8dd8c){for(var _0x340e7c=Object['keys'](_0xd8dd8c),_0x3d97c7=0x0;_0x3d97c7<_0x340e7c['length'];++_0x3d97c7)null!=_0xd8dd8c[_0x340e7c[_0x3d97c7]]&&(this[_0x340e7c[_0x3d97c7]]=_0xd8dd8c[_0x340e7c[_0x3d97c7]]);}}return _0x13cd80['prototype']['id']='',_0x13cd80['prototype']['userId']='',_0x13cd80['prototype']['role']='',_0x13cd80['prototype']['permissions']=_0x596b78['emptyArray'],_0x13cd80['create']=function(_0x2e36f9){return new _0x13cd80(_0x2e36f9);},_0x13cd80['encode']=function(_0x56292c,_0x2e2984){if(_0x2e2984||(_0x2e2984=_0x3a081['create']()),null!=_0x56292c['id']&&Object['hasOwnProperty']['call'](_0x56292c,'id')&&_0x2e2984['uint32'](0xa)['string'](_0x56292c['id']),null!=_0x56292c['userId']&&Object['hasOwnProperty']['call'](_0x56292c,'userId')&&_0x2e2984['uint32'](0x12)['string'](_0x56292c['userId']),null!=_0x56292c['role']&&Object['hasOwnProperty']['call'](_0x56292c,'role')&&_0x2e2984['uint32'](0x1a)['string'](_0x56292c['role']),null!=_0x56292c['permissions']&&_0x56292c['permissions']['length']){for(var _0x1e09ee=0x0;_0x1e09ee<_0x56292c['permissions']['length'];++_0x1e09ee)_0x2e2984['uint32'](0x22)['string'](_0x56292c['permissions'][_0x1e09ee]);}return _0x2e2984;},_0x13cd80['encodeDelimited']=function(_0x20c173,_0x2e62e1){return this['encode'](_0x20c173,_0x2e62e1)['ldelim']();},_0x13cd80['decode']=function(_0x1a0125,_0x470bd4,_0x3da591){_0x1a0125 instanceof _0x5743b9||(_0x1a0125=_0x5743b9['create'](_0x1a0125));for(var _0x1fbfd5=void 0x0===_0x470bd4?_0x1a0125['len']:_0x1a0125['pos']+_0x470bd4,_0x5eb8d9=new _0x45f2e9['SocketConnectMessage']();_0x1a0125['pos']<_0x1fbfd5;){var _0x557ff9=_0x1a0125['uint32']();if(_0x557ff9===_0x3da591)break;switch(_0x557ff9>>>0x3){case 0x1:_0x5eb8d9['id']=_0x1a0125['string']();break;case 0x2:_0x5eb8d9['userId']=_0x1a0125['string']();break;case 0x3:_0x5eb8d9['role']=_0x1a0125['string']();break;case 0x4:_0x5eb8d9['permissions']&&_0x5eb8d9['permissions']['length']||(_0x5eb8d9['permissions']=[]),_0x5eb8d9['permissions']['push'](_0x1a0125['string']());break;default:_0x1a0125['skipType'](0x7&_0x557ff9);}}return _0x5eb8d9;},_0x13cd80['decodeDelimited']=function(_0x34f183){return _0x34f183 instanceof _0x5743b9||(_0x34f183=new _0x5743b9(_0x34f183)),this['decode'](_0x34f183,_0x34f183['uint32']());},_0x13cd80['verify']=function(_0x473350){if('object'!=typeof _0x473350||null===_0x473350)return'object\x20expected';if(null!=_0x473350['id']&&_0x473350['hasOwnProperty']('id')&&!_0x596b78['isString'](_0x473350['id']))return'id:\x20string\x20expected';if(null!=_0x473350['userId']&&_0x473350['hasOwnProperty']('userId')&&!_0x596b78['isString'](_0x473350['userId']))return'userId:\x20string\x20expected';if(null!=_0x473350['role']&&_0x473350['hasOwnProperty']('role')&&!_0x596b78['isString'](_0x473350['role']))return'role:\x20string\x20expected';if(null!=_0x473350['permissions']&&_0x473350['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x473350['permissions']))return'permissions:\x20array\x20expected';for(var _0x434c79=0x0;_0x434c79<_0x473350['permissions']['length'];++_0x434c79)if(!_0x596b78['isString'](_0x473350['permissions'][_0x434c79]))return'permissions:\x20string[]\x20expected';}return null;},_0x13cd80['fromObject']=function(_0xcf6afe){if(_0xcf6afe instanceof _0x45f2e9['SocketConnectMessage'])return _0xcf6afe;var _0x39c52e=new _0x45f2e9['SocketConnectMessage']();if(null!=_0xcf6afe['id']&&(_0x39c52e['id']=String(_0xcf6afe['id'])),null!=_0xcf6afe['userId']&&(_0x39c52e['userId']=String(_0xcf6afe['userId'])),null!=_0xcf6afe['role']&&(_0x39c52e['role']=String(_0xcf6afe['role'])),_0xcf6afe['permissions']){if(!Array['isArray'](_0xcf6afe['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x39c52e['permissions']=[];for(var _0x2b7c5c=0x0;_0x2b7c5c<_0xcf6afe['permissions']['length'];++_0x2b7c5c)_0x39c52e['permissions'][_0x2b7c5c]=String(_0xcf6afe['permissions'][_0x2b7c5c]);}return _0x39c52e;},_0x13cd80['toObject']=function(_0x5e6ffe,_0x1d532b){_0x1d532b||(_0x1d532b={});var _0xd75572={};if((_0x1d532b['arrays']||_0x1d532b['defaults'])&&(_0xd75572['permissions']=[]),_0x1d532b['defaults']&&(_0xd75572['id']='',_0xd75572['userId']='',_0xd75572['role']=''),null!=_0x5e6ffe['id']&&_0x5e6ffe['hasOwnProperty']('id')&&(_0xd75572['id']=_0x5e6ffe['id']),null!=_0x5e6ffe['userId']&&_0x5e6ffe['hasOwnProperty']('userId')&&(_0xd75572['userId']=_0x5e6ffe['userId']),null!=_0x5e6ffe['role']&&_0x5e6ffe['hasOwnProperty']('role')&&(_0xd75572['role']=_0x5e6ffe['role']),_0x5e6ffe['permissions']&&_0x5e6ffe['permissions']['length']){_0xd75572['permissions']=[];for(var _0x3cbab3=0x0;_0x3cbab3<_0x5e6ffe['permissions']['length'];++_0x3cbab3)_0xd75572['permissions'][_0x3cbab3]=_0x5e6ffe['permissions'][_0x3cbab3];}return _0xd75572;},_0x13cd80['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x13cd80['getTypeUrl']=function(_0xda0fd){return void 0x0===_0xda0fd&&(_0xda0fd='type.googleapis.com'),_0xda0fd+'/SocketConnectMessage';},_0x13cd80;}()),_0x45f2e9['SessionsConnectMessage']=(function(){function _0x55bb6d(_0x6ab0cd){if(_0x6ab0cd){for(var _0x2ddefe=Object['keys'](_0x6ab0cd),_0x232c92=0x0;_0x232c92<_0x2ddefe['length'];++_0x232c92)null!=_0x6ab0cd[_0x2ddefe[_0x232c92]]&&(this[_0x2ddefe[_0x232c92]]=_0x6ab0cd[_0x2ddefe[_0x232c92]]);}}return _0x55bb6d['prototype']['id']='',_0x55bb6d['prototype']['sessionType']=0x0,_0x55bb6d['create']=function(_0xb329c0){return new _0x55bb6d(_0xb329c0);},_0x55bb6d['encode']=function(_0x59ad1d,_0x4f1420){return _0x4f1420||(_0x4f1420=_0x3a081['create']()),null!=_0x59ad1d['id']&&Object['hasOwnProperty']['call'](_0x59ad1d,'id')&&_0x4f1420['uint32'](0xa)['string'](_0x59ad1d['id']),null!=_0x59ad1d['sessionType']&&Object['hasOwnProperty']['call'](_0x59ad1d,'sessionType')&&_0x4f1420['uint32'](0x10)['uint32'](_0x59ad1d['sessionType']),_0x4f1420;},_0x55bb6d['encodeDelimited']=function(_0x464eda,_0x306313){return this['encode'](_0x464eda,_0x306313)['ldelim']();},_0x55bb6d['decode']=function(_0x1a6b55,_0x1a3579,_0x499866){_0x1a6b55 instanceof _0x5743b9||(_0x1a6b55=_0x5743b9['create'](_0x1a6b55));for(var _0x2ee158=void 0x0===_0x1a3579?_0x1a6b55['len']:_0x1a6b55['pos']+_0x1a3579,_0x9514f3=new _0x45f2e9['SessionsConnectMessage']();_0x1a6b55['pos']<_0x2ee158;){var _0x2df502=_0x1a6b55['uint32']();if(_0x2df502===_0x499866)break;switch(_0x2df502>>>0x3){case 0x1:_0x9514f3['id']=_0x1a6b55['string']();break;case 0x2:_0x9514f3['sessionType']=_0x1a6b55['uint32']();break;default:_0x1a6b55['skipType'](0x7&_0x2df502);}}return _0x9514f3;},_0x55bb6d['decodeDelimited']=function(_0xfcb963){return _0xfcb963 instanceof _0x5743b9||(_0xfcb963=new _0x5743b9(_0xfcb963)),this['decode'](_0xfcb963,_0xfcb963['uint32']());},_0x55bb6d['verify']=function(_0x242840){return'object'!=typeof _0x242840||null===_0x242840?'object\x20expected':null!=_0x242840['id']&&_0x242840['hasOwnProperty']('id')&&!_0x596b78['isString'](_0x242840['id'])?'id:\x20string\x20expected':null!=_0x242840['sessionType']&&_0x242840['hasOwnProperty']('sessionType')&&!_0x596b78['isInteger'](_0x242840['sessionType'])?'sessionType:\x20integer\x20expected':null;},_0x55bb6d['fromObject']=function(_0x31c95e){if(_0x31c95e instanceof _0x45f2e9['SessionsConnectMessage'])return _0x31c95e;var _0x46d4e6=new _0x45f2e9['SessionsConnectMessage']();return null!=_0x31c95e['id']&&(_0x46d4e6['id']=String(_0x31c95e['id'])),null!=_0x31c95e['sessionType']&&(_0x46d4e6['sessionType']=_0x31c95e['sessionType']>>>0x0),_0x46d4e6;},_0x55bb6d['toObject']=function(_0x30d53c,_0x40b35){_0x40b35||(_0x40b35={});var _0x30d5d0={};return _0x40b35['defaults']&&(_0x30d5d0['id']='',_0x30d5d0['sessionType']=0x0),null!=_0x30d53c['id']&&_0x30d53c['hasOwnProperty']('id')&&(_0x30d5d0['id']=_0x30d53c['id']),null!=_0x30d53c['sessionType']&&_0x30d53c['hasOwnProperty']('sessionType')&&(_0x30d5d0['sessionType']=_0x30d53c['sessionType']),_0x30d5d0;},_0x55bb6d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x55bb6d['getTypeUrl']=function(_0x2ad345){return void 0x0===_0x2ad345&&(_0x2ad345='type.googleapis.com'),_0x2ad345+'/SessionsConnectMessage';},_0x55bb6d;}()),_0x45f2e9['SessionsSocketDescriptor']=(function(){function _0x3875cf(_0x51153b){if(this['permissions']=[],_0x51153b){for(var _0x2f96bd=Object['keys'](_0x51153b),_0x43cae7=0x0;_0x43cae7<_0x2f96bd['length'];++_0x43cae7)null!=_0x51153b[_0x2f96bd[_0x43cae7]]&&(this[_0x2f96bd[_0x43cae7]]=_0x51153b[_0x2f96bd[_0x43cae7]]);}}return _0x3875cf['prototype']['session']='',_0x3875cf['prototype']['user']='',_0x3875cf['prototype']['role']='',_0x3875cf['prototype']['permissions']=_0x596b78['emptyArray'],_0x3875cf['create']=function(_0x325a58){return new _0x3875cf(_0x325a58);},_0x3875cf['encode']=function(_0x193201,_0x484a36){if(_0x484a36||(_0x484a36=_0x3a081['create']()),null!=_0x193201['session']&&Object['hasOwnProperty']['call'](_0x193201,'session')&&_0x484a36['uint32'](0xa)['string'](_0x193201['session']),null!=_0x193201['user']&&Object['hasOwnProperty']['call'](_0x193201,'user')&&_0x484a36['uint32'](0x12)['string'](_0x193201['user']),null!=_0x193201['role']&&Object['hasOwnProperty']['call'](_0x193201,'role')&&_0x484a36['uint32'](0x1a)['string'](_0x193201['role']),null!=_0x193201['permissions']&&_0x193201['permissions']['length']){for(var _0x21916b=0x0;_0x21916b<_0x193201['permissions']['length'];++_0x21916b)_0x484a36['uint32'](0x22)['string'](_0x193201['permissions'][_0x21916b]);}return _0x484a36;},_0x3875cf['encodeDelimited']=function(_0x193e28,_0x27b236){return this['encode'](_0x193e28,_0x27b236)['ldelim']();},_0x3875cf['decode']=function(_0x1b6799,_0x56c374,_0x56fa74){_0x1b6799 instanceof _0x5743b9||(_0x1b6799=_0x5743b9['create'](_0x1b6799));for(var _0x3096ed=void 0x0===_0x56c374?_0x1b6799['len']:_0x1b6799['pos']+_0x56c374,_0x563dd7=new _0x45f2e9['SessionsSocketDescriptor']();_0x1b6799['pos']<_0x3096ed;){var _0x18397d=_0x1b6799['uint32']();if(_0x18397d===_0x56fa74)break;switch(_0x18397d>>>0x3){case 0x1:_0x563dd7['session']=_0x1b6799['string']();break;case 0x2:_0x563dd7['user']=_0x1b6799['string']();break;case 0x3:_0x563dd7['role']=_0x1b6799['string']();break;case 0x4:_0x563dd7['permissions']&&_0x563dd7['permissions']['length']||(_0x563dd7['permissions']=[]),_0x563dd7['permissions']['push'](_0x1b6799['string']());break;default:_0x1b6799['skipType'](0x7&_0x18397d);}}return _0x563dd7;},_0x3875cf['decodeDelimited']=function(_0x240c67){return _0x240c67 instanceof _0x5743b9||(_0x240c67=new _0x5743b9(_0x240c67)),this['decode'](_0x240c67,_0x240c67['uint32']());},_0x3875cf['verify']=function(_0x13df35){if('object'!=typeof _0x13df35||null===_0x13df35)return'object\x20expected';if(null!=_0x13df35['session']&&_0x13df35['hasOwnProperty']('session')&&!_0x596b78['isString'](_0x13df35['session']))return'session:\x20string\x20expected';if(null!=_0x13df35['user']&&_0x13df35['hasOwnProperty']('user')&&!_0x596b78['isString'](_0x13df35['user']))return'user:\x20string\x20expected';if(null!=_0x13df35['role']&&_0x13df35['hasOwnProperty']('role')&&!_0x596b78['isString'](_0x13df35['role']))return'role:\x20string\x20expected';if(null!=_0x13df35['permissions']&&_0x13df35['hasOwnProperty']('permissions')){if(!Array['isArray'](_0x13df35['permissions']))return'permissions:\x20array\x20expected';for(var _0xb697b7=0x0;_0xb697b7<_0x13df35['permissions']['length'];++_0xb697b7)if(!_0x596b78['isString'](_0x13df35['permissions'][_0xb697b7]))return'permissions:\x20string[]\x20expected';}return null;},_0x3875cf['fromObject']=function(_0x29dc0b){if(_0x29dc0b instanceof _0x45f2e9['SessionsSocketDescriptor'])return _0x29dc0b;var _0x1a853b=new _0x45f2e9['SessionsSocketDescriptor']();if(null!=_0x29dc0b['session']&&(_0x1a853b['session']=String(_0x29dc0b['session'])),null!=_0x29dc0b['user']&&(_0x1a853b['user']=String(_0x29dc0b['user'])),null!=_0x29dc0b['role']&&(_0x1a853b['role']=String(_0x29dc0b['role'])),_0x29dc0b['permissions']){if(!Array['isArray'](_0x29dc0b['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0x1a853b['permissions']=[];for(var _0xafae31=0x0;_0xafae31<_0x29dc0b['permissions']['length'];++_0xafae31)_0x1a853b['permissions'][_0xafae31]=String(_0x29dc0b['permissions'][_0xafae31]);}return _0x1a853b;},_0x3875cf['toObject']=function(_0x491f8b,_0x5c115c){_0x5c115c||(_0x5c115c={});var _0x1d8dac={};if((_0x5c115c['arrays']||_0x5c115c['defaults'])&&(_0x1d8dac['permissions']=[]),_0x5c115c['defaults']&&(_0x1d8dac['session']='',_0x1d8dac['user']='',_0x1d8dac['role']=''),null!=_0x491f8b['session']&&_0x491f8b['hasOwnProperty']('session')&&(_0x1d8dac['session']=_0x491f8b['session']),null!=_0x491f8b['user']&&_0x491f8b['hasOwnProperty']('user')&&(_0x1d8dac['user']=_0x491f8b['user']),null!=_0x491f8b['role']&&_0x491f8b['hasOwnProperty']('role')&&(_0x1d8dac['role']=_0x491f8b['role']),_0x491f8b['permissions']&&_0x491f8b['permissions']['length']){_0x1d8dac['permissions']=[];for(var _0x4701a8=0x0;_0x4701a8<_0x491f8b['permissions']['length'];++_0x4701a8)_0x1d8dac['permissions'][_0x4701a8]=_0x491f8b['permissions'][_0x4701a8];}return _0x1d8dac;},_0x3875cf['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x3875cf['getTypeUrl']=function(_0x21e968){return void 0x0===_0x21e968&&(_0x21e968='type.googleapis.com'),_0x21e968+'/SessionsSocketDescriptor';},_0x3875cf;}()),_0x45f2e9['RevisionHistoryUpdateRevisionsResponse']=(function(){function _0x25df2f(_0xde2e41){if(_0xde2e41){for(var _0x49395c=Object['keys'](_0xde2e41),_0x2924b6=0x0;_0x2924b6<_0x49395c['length'];++_0x2924b6)null!=_0xde2e41[_0x49395c[_0x2924b6]]&&(this[_0x49395c[_0x2924b6]]=_0xde2e41[_0x49395c[_0x2924b6]]);}}return _0x25df2f['prototype']['requestId']=0x0,_0x25df2f['create']=function(_0x5186f9){return new _0x25df2f(_0x5186f9);},_0x25df2f['encode']=function(_0x227dab,_0x5c1f9e){return _0x5c1f9e||(_0x5c1f9e=_0x3a081['create']()),null!=_0x227dab['requestId']&&Object['hasOwnProperty']['call'](_0x227dab,'requestId')&&_0x5c1f9e['uint32'](0x8)['uint32'](_0x227dab['requestId']),_0x5c1f9e;},_0x25df2f['encodeDelimited']=function(_0xb90395,_0x166a08){return this['encode'](_0xb90395,_0x166a08)['ldelim']();},_0x25df2f['decode']=function(_0x3b0676,_0x4960ec,_0x556af3){_0x3b0676 instanceof _0x5743b9||(_0x3b0676=_0x5743b9['create'](_0x3b0676));for(var _0x5c4302=void 0x0===_0x4960ec?_0x3b0676['len']:_0x3b0676['pos']+_0x4960ec,_0x373ccb=new _0x45f2e9['RevisionHistoryUpdateRevisionsResponse']();_0x3b0676['pos']<_0x5c4302;){var _0x150fc4=_0x3b0676['uint32']();if(_0x150fc4===_0x556af3)break;_0x150fc4>>>0x3==0x1?_0x373ccb['requestId']=_0x3b0676['uint32']():_0x3b0676['skipType'](0x7&_0x150fc4);}return _0x373ccb;},_0x25df2f['decodeDelimited']=function(_0x3e9b16){return _0x3e9b16 instanceof _0x5743b9||(_0x3e9b16=new _0x5743b9(_0x3e9b16)),this['decode'](_0x3e9b16,_0x3e9b16['uint32']());},_0x25df2f['verify']=function(_0x36cb18){return'object'!=typeof _0x36cb18||null===_0x36cb18?'object\x20expected':null!=_0x36cb18['requestId']&&_0x36cb18['hasOwnProperty']('requestId')&&!_0x596b78['isInteger'](_0x36cb18['requestId'])?'requestId:\x20integer\x20expected':null;},_0x25df2f['fromObject']=function(_0x1fb562){if(_0x1fb562 instanceof _0x45f2e9['RevisionHistoryUpdateRevisionsResponse'])return _0x1fb562;var _0x3f0720=new _0x45f2e9['RevisionHistoryUpdateRevisionsResponse']();return null!=_0x1fb562['requestId']&&(_0x3f0720['requestId']=_0x1fb562['requestId']>>>0x0),_0x3f0720;},_0x25df2f['toObject']=function(_0x1e3551,_0x5291f0){_0x5291f0||(_0x5291f0={});var _0x391b56={};return _0x5291f0['defaults']&&(_0x391b56['requestId']=0x0),null!=_0x1e3551['requestId']&&_0x1e3551['hasOwnProperty']('requestId')&&(_0x391b56['requestId']=_0x1e3551['requestId']),_0x391b56;},_0x25df2f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x25df2f['getTypeUrl']=function(_0x42442f){return void 0x0===_0x42442f&&(_0x42442f='type.googleapis.com'),_0x42442f+'/RevisionHistoryUpdateRevisionsResponse';},_0x25df2f;}()),_0x45f2e9['RevisionHistoryGetRevisionResponse']=(function(){function _0x1eba72(_0x3da5ec){if(_0x3da5ec){for(var _0xa076f4=Object['keys'](_0x3da5ec),_0x53d398=0x0;_0x53d398<_0xa076f4['length'];++_0x53d398)null!=_0x3da5ec[_0xa076f4[_0x53d398]]&&(this[_0xa076f4[_0x53d398]]=_0x3da5ec[_0xa076f4[_0x53d398]]);}}return _0x1eba72['prototype']['revisionId']='',_0x1eba72['prototype']['name']='',_0x1eba72['prototype']['creatorId']='',_0x1eba72['prototype']['authorsIds']='',_0x1eba72['prototype']['diffData']='',_0x1eba72['prototype']['createdAt']='',_0x1eba72['prototype']['attributes']='',_0x1eba72['prototype']['toVersion']=0x0,_0x1eba72['prototype']['fromVersion']=0x0,_0x1eba72['prototype']['isEmptyCurrent']=!0x1,_0x1eba72['create']=function(_0x266504){return new _0x1eba72(_0x266504);},_0x1eba72['encode']=function(_0x51182a,_0x49b530){return _0x49b530||(_0x49b530=_0x3a081['create']()),null!=_0x51182a['revisionId']&&Object['hasOwnProperty']['call'](_0x51182a,'revisionId')&&_0x49b530['uint32'](0xa)['string'](_0x51182a['revisionId']),null!=_0x51182a['name']&&Object['hasOwnProperty']['call'](_0x51182a,'name')&&_0x49b530['uint32'](0x12)['string'](_0x51182a['name']),null!=_0x51182a['creatorId']&&Object['hasOwnProperty']['call'](_0x51182a,'creatorId')&&_0x49b530['uint32'](0x1a)['string'](_0x51182a['creatorId']),null!=_0x51182a['authorsIds']&&Object['hasOwnProperty']['call'](_0x51182a,'authorsIds')&&_0x49b530['uint32'](0x22)['string'](_0x51182a['authorsIds']),null!=_0x51182a['diffData']&&Object['hasOwnProperty']['call'](_0x51182a,'diffData')&&_0x49b530['uint32'](0x2a)['string'](_0x51182a['diffData']),null!=_0x51182a['createdAt']&&Object['hasOwnProperty']['call'](_0x51182a,'createdAt')&&_0x49b530['uint32'](0x32)['string'](_0x51182a['createdAt']),null!=_0x51182a['attributes']&&Object['hasOwnProperty']['call'](_0x51182a,'attributes')&&_0x49b530['uint32'](0x3a)['string'](_0x51182a['attributes']),null!=_0x51182a['toVersion']&&Object['hasOwnProperty']['call'](_0x51182a,'toVersion')&&_0x49b530['uint32'](0x40)['uint32'](_0x51182a['toVersion']),null!=_0x51182a['fromVersion']&&Object['hasOwnProperty']['call'](_0x51182a,'fromVersion')&&_0x49b530['uint32'](0x48)['uint32'](_0x51182a['fromVersion']),null!=_0x51182a['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x51182a,'isEmptyCurrent')&&_0x49b530['uint32'](0x50)['bool'](_0x51182a['isEmptyCurrent']),_0x49b530;},_0x1eba72['encodeDelimited']=function(_0x26aeef,_0x53fa39){return this['encode'](_0x26aeef,_0x53fa39)['ldelim']();},_0x1eba72['decode']=function(_0x2cbcf5,_0x5f48d1,_0x3dba90){_0x2cbcf5 instanceof _0x5743b9||(_0x2cbcf5=_0x5743b9['create'](_0x2cbcf5));for(var _0x1089cc=void 0x0===_0x5f48d1?_0x2cbcf5['len']:_0x2cbcf5['pos']+_0x5f48d1,_0x2baa21=new _0x45f2e9['RevisionHistoryGetRevisionResponse']();_0x2cbcf5['pos']<_0x1089cc;){var _0x532369=_0x2cbcf5['uint32']();if(_0x532369===_0x3dba90)break;switch(_0x532369>>>0x3){case 0x1:_0x2baa21['revisionId']=_0x2cbcf5['string']();break;case 0x2:_0x2baa21['name']=_0x2cbcf5['string']();break;case 0x3:_0x2baa21['creatorId']=_0x2cbcf5['string']();break;case 0x4:_0x2baa21['authorsIds']=_0x2cbcf5['string']();break;case 0x5:_0x2baa21['diffData']=_0x2cbcf5['string']();break;case 0x6:_0x2baa21['createdAt']=_0x2cbcf5['string']();break;case 0x7:_0x2baa21['attributes']=_0x2cbcf5['string']();break;case 0x8:_0x2baa21['toVersion']=_0x2cbcf5['uint32']();break;case 0x9:_0x2baa21['fromVersion']=_0x2cbcf5['uint32']();break;case 0xa:_0x2baa21['isEmptyCurrent']=_0x2cbcf5['bool']();break;default:_0x2cbcf5['skipType'](0x7&_0x532369);}}return _0x2baa21;},_0x1eba72['decodeDelimited']=function(_0x15bc86){return _0x15bc86 instanceof _0x5743b9||(_0x15bc86=new _0x5743b9(_0x15bc86)),this['decode'](_0x15bc86,_0x15bc86['uint32']());},_0x1eba72['verify']=function(_0x5e25e8){return'object'!=typeof _0x5e25e8||null===_0x5e25e8?'object\x20expected':null!=_0x5e25e8['revisionId']&&_0x5e25e8['hasOwnProperty']('revisionId')&&!_0x596b78['isString'](_0x5e25e8['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x5e25e8['name']&&_0x5e25e8['hasOwnProperty']('name')&&!_0x596b78['isString'](_0x5e25e8['name'])?'name:\x20string\x20expected':null!=_0x5e25e8['creatorId']&&_0x5e25e8['hasOwnProperty']('creatorId')&&!_0x596b78['isString'](_0x5e25e8['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x5e25e8['authorsIds']&&_0x5e25e8['hasOwnProperty']('authorsIds')&&!_0x596b78['isString'](_0x5e25e8['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x5e25e8['diffData']&&_0x5e25e8['hasOwnProperty']('diffData')&&!_0x596b78['isString'](_0x5e25e8['diffData'])?'diffData:\x20string\x20expected':null!=_0x5e25e8['createdAt']&&_0x5e25e8['hasOwnProperty']('createdAt')&&!_0x596b78['isString'](_0x5e25e8['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x5e25e8['attributes']&&_0x5e25e8['hasOwnProperty']('attributes')&&!_0x596b78['isString'](_0x5e25e8['attributes'])?'attributes:\x20string\x20expected':null!=_0x5e25e8['toVersion']&&_0x5e25e8['hasOwnProperty']('toVersion')&&!_0x596b78['isInteger'](_0x5e25e8['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x5e25e8['fromVersion']&&_0x5e25e8['hasOwnProperty']('fromVersion')&&!_0x596b78['isInteger'](_0x5e25e8['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x5e25e8['isEmptyCurrent']&&_0x5e25e8['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x5e25e8['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0x1eba72['fromObject']=function(_0x464207){if(_0x464207 instanceof _0x45f2e9['RevisionHistoryGetRevisionResponse'])return _0x464207;var _0x1b73d0=new _0x45f2e9['RevisionHistoryGetRevisionResponse']();return null!=_0x464207['revisionId']&&(_0x1b73d0['revisionId']=String(_0x464207['revisionId'])),null!=_0x464207['name']&&(_0x1b73d0['name']=String(_0x464207['name'])),null!=_0x464207['creatorId']&&(_0x1b73d0['creatorId']=String(_0x464207['creatorId'])),null!=_0x464207['authorsIds']&&(_0x1b73d0['authorsIds']=String(_0x464207['authorsIds'])),null!=_0x464207['diffData']&&(_0x1b73d0['diffData']=String(_0x464207['diffData'])),null!=_0x464207['createdAt']&&(_0x1b73d0['createdAt']=String(_0x464207['createdAt'])),null!=_0x464207['attributes']&&(_0x1b73d0['attributes']=String(_0x464207['attributes'])),null!=_0x464207['toVersion']&&(_0x1b73d0['toVersion']=_0x464207['toVersion']>>>0x0),null!=_0x464207['fromVersion']&&(_0x1b73d0['fromVersion']=_0x464207['fromVersion']>>>0x0),null!=_0x464207['isEmptyCurrent']&&(_0x1b73d0['isEmptyCurrent']=Boolean(_0x464207['isEmptyCurrent'])),_0x1b73d0;},_0x1eba72['toObject']=function(_0x26f988,_0x44636a){_0x44636a||(_0x44636a={});var _0x481c94={};return _0x44636a['defaults']&&(_0x481c94['revisionId']='',_0x481c94['name']='',_0x481c94['creatorId']='',_0x481c94['authorsIds']='',_0x481c94['diffData']='',_0x481c94['createdAt']='',_0x481c94['attributes']='',_0x481c94['toVersion']=0x0,_0x481c94['fromVersion']=0x0,_0x481c94['isEmptyCurrent']=!0x1),null!=_0x26f988['revisionId']&&_0x26f988['hasOwnProperty']('revisionId')&&(_0x481c94['revisionId']=_0x26f988['revisionId']),null!=_0x26f988['name']&&_0x26f988['hasOwnProperty']('name')&&(_0x481c94['name']=_0x26f988['name']),null!=_0x26f988['creatorId']&&_0x26f988['hasOwnProperty']('creatorId')&&(_0x481c94['creatorId']=_0x26f988['creatorId']),null!=_0x26f988['authorsIds']&&_0x26f988['hasOwnProperty']('authorsIds')&&(_0x481c94['authorsIds']=_0x26f988['authorsIds']),null!=_0x26f988['diffData']&&_0x26f988['hasOwnProperty']('diffData')&&(_0x481c94['diffData']=_0x26f988['diffData']),null!=_0x26f988['createdAt']&&_0x26f988['hasOwnProperty']('createdAt')&&(_0x481c94['createdAt']=_0x26f988['createdAt']),null!=_0x26f988['attributes']&&_0x26f988['hasOwnProperty']('attributes')&&(_0x481c94['attributes']=_0x26f988['attributes']),null!=_0x26f988['toVersion']&&_0x26f988['hasOwnProperty']('toVersion')&&(_0x481c94['toVersion']=_0x26f988['toVersion']),null!=_0x26f988['fromVersion']&&_0x26f988['hasOwnProperty']('fromVersion')&&(_0x481c94['fromVersion']=_0x26f988['fromVersion']),null!=_0x26f988['isEmptyCurrent']&&_0x26f988['hasOwnProperty']('isEmptyCurrent')&&(_0x481c94['isEmptyCurrent']=_0x26f988['isEmptyCurrent']),_0x481c94;},_0x1eba72['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x1eba72['getTypeUrl']=function(_0x5ee62c){return void 0x0===_0x5ee62c&&(_0x5ee62c='type.googleapis.com'),_0x5ee62c+'/RevisionHistoryGetRevisionResponse';},_0x1eba72;}()),_0x45f2e9['RevisionHistoryConnectResponse']=(function(){function _0x3092c0(_0x4cfae5){if(this['revisions']=[],_0x4cfae5){for(var _0x16dafb=Object['keys'](_0x4cfae5),_0x347352=0x0;_0x347352<_0x16dafb['length'];++_0x347352)null!=_0x4cfae5[_0x16dafb[_0x347352]]&&(this[_0x16dafb[_0x347352]]=_0x4cfae5[_0x16dafb[_0x347352]]);}}return _0x3092c0['prototype']['channel']='',_0x3092c0['prototype']['requestId']=0x0,_0x3092c0['prototype']['revisions']=_0x596b78['emptyArray'],_0x3092c0['create']=function(_0x426155){return new _0x3092c0(_0x426155);},_0x3092c0['encode']=function(_0x3d457f,_0x25a7b3){if(_0x25a7b3||(_0x25a7b3=_0x3a081['create']()),null!=_0x3d457f['channel']&&Object['hasOwnProperty']['call'](_0x3d457f,'channel')&&_0x25a7b3['uint32'](0xa)['string'](_0x3d457f['channel']),null!=_0x3d457f['requestId']&&Object['hasOwnProperty']['call'](_0x3d457f,'requestId')&&_0x25a7b3['uint32'](0x10)['uint32'](_0x3d457f['requestId']),null!=_0x3d457f['revisions']&&_0x3d457f['revisions']['length']){for(var _0x18b5fe=0x0;_0x18b5fe<_0x3d457f['revisions']['length'];++_0x18b5fe)_0x45f2e9['RevisionDescriptor']['encode'](_0x3d457f['revisions'][_0x18b5fe],_0x25a7b3['uint32'](0x1a)['fork']())['ldelim']();}return _0x25a7b3;},_0x3092c0['encodeDelimited']=function(_0x8613e8,_0x2dddd6){return this['encode'](_0x8613e8,_0x2dddd6)['ldelim']();},_0x3092c0['decode']=function(_0xc75c42,_0x2b80b9,_0xae08e0){_0xc75c42 instanceof _0x5743b9||(_0xc75c42=_0x5743b9['create'](_0xc75c42));for(var _0x448b02=void 0x0===_0x2b80b9?_0xc75c42['len']:_0xc75c42['pos']+_0x2b80b9,_0x18d5c6=new _0x45f2e9['RevisionHistoryConnectResponse']();_0xc75c42['pos']<_0x448b02;){var _0x3e4c0f=_0xc75c42['uint32']();if(_0x3e4c0f===_0xae08e0)break;switch(_0x3e4c0f>>>0x3){case 0x1:_0x18d5c6['channel']=_0xc75c42['string']();break;case 0x2:_0x18d5c6['requestId']=_0xc75c42['uint32']();break;case 0x3:_0x18d5c6['revisions']&&_0x18d5c6['revisions']['length']||(_0x18d5c6['revisions']=[]),_0x18d5c6['revisions']['push'](_0x45f2e9['RevisionDescriptor']['decode'](_0xc75c42,_0xc75c42['uint32']()));break;default:_0xc75c42['skipType'](0x7&_0x3e4c0f);}}return _0x18d5c6;},_0x3092c0['decodeDelimited']=function(_0x51f6c2){return _0x51f6c2 instanceof _0x5743b9||(_0x51f6c2=new _0x5743b9(_0x51f6c2)),this['decode'](_0x51f6c2,_0x51f6c2['uint32']());},_0x3092c0['verify']=function(_0x506709){if('object'!=typeof _0x506709||null===_0x506709)return'object\x20expected';if(null!=_0x506709['channel']&&_0x506709['hasOwnProperty']('channel')&&!_0x596b78['isString'](_0x506709['channel']))return'channel:\x20string\x20expected';if(null!=_0x506709['requestId']&&_0x506709['hasOwnProperty']('requestId')&&!_0x596b78['isInteger'](_0x506709['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x506709['revisions']&&_0x506709['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x506709['revisions']))return'revisions:\x20array\x20expected';for(var _0x5618b2=0x0;_0x5618b2<_0x506709['revisions']['length'];++_0x5618b2){var _0x37ae74=_0x45f2e9['RevisionDescriptor']['verify'](_0x506709['revisions'][_0x5618b2]);if(_0x37ae74)return'revisions.'+_0x37ae74;}}return null;},_0x3092c0['fromObject']=function(_0x2a4a9c){if(_0x2a4a9c instanceof _0x45f2e9['RevisionHistoryConnectResponse'])return _0x2a4a9c;var _0x257a9a=new _0x45f2e9['RevisionHistoryConnectResponse']();if(null!=_0x2a4a9c['channel']&&(_0x257a9a['channel']=String(_0x2a4a9c['channel'])),null!=_0x2a4a9c['requestId']&&(_0x257a9a['requestId']=_0x2a4a9c['requestId']>>>0x0),_0x2a4a9c['revisions']){if(!Array['isArray'](_0x2a4a9c['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0x257a9a['revisions']=[];for(var _0x3eae56=0x0;_0x3eae56<_0x2a4a9c['revisions']['length'];++_0x3eae56){if('object'!=typeof _0x2a4a9c['revisions'][_0x3eae56])throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0x257a9a['revisions'][_0x3eae56]=_0x45f2e9['RevisionDescriptor']['fromObject'](_0x2a4a9c['revisions'][_0x3eae56]);}}return _0x257a9a;},_0x3092c0['toObject']=function(_0x2c6119,_0x45de0f){_0x45de0f||(_0x45de0f={});var _0x56ab3b={};if((_0x45de0f['arrays']||_0x45de0f['defaults'])&&(_0x56ab3b['revisions']=[]),_0x45de0f['defaults']&&(_0x56ab3b['channel']='',_0x56ab3b['requestId']=0x0),null!=_0x2c6119['channel']&&_0x2c6119['hasOwnProperty']('channel')&&(_0x56ab3b['channel']=_0x2c6119['channel']),null!=_0x2c6119['requestId']&&_0x2c6119['hasOwnProperty']('requestId')&&(_0x56ab3b['requestId']=_0x2c6119['requestId']),_0x2c6119['revisions']&&_0x2c6119['revisions']['length']){_0x56ab3b['revisions']=[];for(var _0x229c59=0x0;_0x229c59<_0x2c6119['revisions']['length'];++_0x229c59)_0x56ab3b['revisions'][_0x229c59]=_0x45f2e9['RevisionDescriptor']['toObject'](_0x2c6119['revisions'][_0x229c59],_0x45de0f);}return _0x56ab3b;},_0x3092c0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x3092c0['getTypeUrl']=function(_0x4b0737){return void 0x0===_0x4b0737&&(_0x4b0737='type.googleapis.com'),_0x4b0737+'/RevisionHistoryConnectResponse';},_0x3092c0;}()),_0x45f2e9['RevisionHistoryUpdateRevisionsMessage']=(function(){function _0x138143(_0x2259d5){if(this['revisions']=[],_0x2259d5){for(var _0xf58117=Object['keys'](_0x2259d5),_0x35e806=0x0;_0x35e806<_0xf58117['length'];++_0x35e806)null!=_0x2259d5[_0xf58117[_0x35e806]]&&(this[_0xf58117[_0x35e806]]=_0x2259d5[_0xf58117[_0x35e806]]);}}return _0x138143['prototype']['documentId']='',_0x138143['prototype']['requestId']=0x0,_0x138143['prototype']['revisions']=_0x596b78['emptyArray'],_0x138143['create']=function(_0x291adc){return new _0x138143(_0x291adc);},_0x138143['encode']=function(_0x545362,_0x5c8831){if(_0x5c8831||(_0x5c8831=_0x3a081['create']()),null!=_0x545362['documentId']&&Object['hasOwnProperty']['call'](_0x545362,'documentId')&&_0x5c8831['uint32'](0xa)['string'](_0x545362['documentId']),null!=_0x545362['requestId']&&Object['hasOwnProperty']['call'](_0x545362,'requestId')&&_0x5c8831['uint32'](0x10)['uint32'](_0x545362['requestId']),null!=_0x545362['revisions']&&_0x545362['revisions']['length']){for(var _0x486cf4=0x0;_0x486cf4<_0x545362['revisions']['length'];++_0x486cf4)_0x45f2e9['RevisionDescriptor']['encode'](_0x545362['revisions'][_0x486cf4],_0x5c8831['uint32'](0x1a)['fork']())['ldelim']();}return _0x5c8831;},_0x138143['encodeDelimited']=function(_0x18e9be,_0x5df351){return this['encode'](_0x18e9be,_0x5df351)['ldelim']();},_0x138143['decode']=function(_0x59b65a,_0x42b460,_0x12418e){_0x59b65a instanceof _0x5743b9||(_0x59b65a=_0x5743b9['create'](_0x59b65a));for(var _0x4d0353=void 0x0===_0x42b460?_0x59b65a['len']:_0x59b65a['pos']+_0x42b460,_0x49032d=new _0x45f2e9['RevisionHistoryUpdateRevisionsMessage']();_0x59b65a['pos']<_0x4d0353;){var _0x8772ca=_0x59b65a['uint32']();if(_0x8772ca===_0x12418e)break;switch(_0x8772ca>>>0x3){case 0x1:_0x49032d['documentId']=_0x59b65a['string']();break;case 0x2:_0x49032d['requestId']=_0x59b65a['uint32']();break;case 0x3:_0x49032d['revisions']&&_0x49032d['revisions']['length']||(_0x49032d['revisions']=[]),_0x49032d['revisions']['push'](_0x45f2e9['RevisionDescriptor']['decode'](_0x59b65a,_0x59b65a['uint32']()));break;default:_0x59b65a['skipType'](0x7&_0x8772ca);}}return _0x49032d;},_0x138143['decodeDelimited']=function(_0x1d7d08){return _0x1d7d08 instanceof _0x5743b9||(_0x1d7d08=new _0x5743b9(_0x1d7d08)),this['decode'](_0x1d7d08,_0x1d7d08['uint32']());},_0x138143['verify']=function(_0x2b0476){if('object'!=typeof _0x2b0476||null===_0x2b0476)return'object\x20expected';if(null!=_0x2b0476['documentId']&&_0x2b0476['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0x2b0476['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x2b0476['requestId']&&_0x2b0476['hasOwnProperty']('requestId')&&!_0x596b78['isInteger'](_0x2b0476['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x2b0476['revisions']&&_0x2b0476['hasOwnProperty']('revisions')){if(!Array['isArray'](_0x2b0476['revisions']))return'revisions:\x20array\x20expected';for(var _0x2bbd4e=0x0;_0x2bbd4e<_0x2b0476['revisions']['length'];++_0x2bbd4e){var _0x3004ba=_0x45f2e9['RevisionDescriptor']['verify'](_0x2b0476['revisions'][_0x2bbd4e]);if(_0x3004ba)return'revisions.'+_0x3004ba;}}return null;},_0x138143['fromObject']=function(_0x4b084b){if(_0x4b084b instanceof _0x45f2e9['RevisionHistoryUpdateRevisionsMessage'])return _0x4b084b;var _0x2743c0=new _0x45f2e9['RevisionHistoryUpdateRevisionsMessage']();if(null!=_0x4b084b['documentId']&&(_0x2743c0['documentId']=String(_0x4b084b['documentId'])),null!=_0x4b084b['requestId']&&(_0x2743c0['requestId']=_0x4b084b['requestId']>>>0x0),_0x4b084b['revisions']){if(!Array['isArray'](_0x4b084b['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0x2743c0['revisions']=[];for(var _0x3fa259=0x0;_0x3fa259<_0x4b084b['revisions']['length'];++_0x3fa259){if('object'!=typeof _0x4b084b['revisions'][_0x3fa259])throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0x2743c0['revisions'][_0x3fa259]=_0x45f2e9['RevisionDescriptor']['fromObject'](_0x4b084b['revisions'][_0x3fa259]);}}return _0x2743c0;},_0x138143['toObject']=function(_0x4c8aa9,_0x43ada1){_0x43ada1||(_0x43ada1={});var _0xdc8c3e={};if((_0x43ada1['arrays']||_0x43ada1['defaults'])&&(_0xdc8c3e['revisions']=[]),_0x43ada1['defaults']&&(_0xdc8c3e['documentId']='',_0xdc8c3e['requestId']=0x0),null!=_0x4c8aa9['documentId']&&_0x4c8aa9['hasOwnProperty']('documentId')&&(_0xdc8c3e['documentId']=_0x4c8aa9['documentId']),null!=_0x4c8aa9['requestId']&&_0x4c8aa9['hasOwnProperty']('requestId')&&(_0xdc8c3e['requestId']=_0x4c8aa9['requestId']),_0x4c8aa9['revisions']&&_0x4c8aa9['revisions']['length']){_0xdc8c3e['revisions']=[];for(var _0x1a60dd=0x0;_0x1a60dd<_0x4c8aa9['revisions']['length'];++_0x1a60dd)_0xdc8c3e['revisions'][_0x1a60dd]=_0x45f2e9['RevisionDescriptor']['toObject'](_0x4c8aa9['revisions'][_0x1a60dd],_0x43ada1);}return _0xdc8c3e;},_0x138143['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x138143['getTypeUrl']=function(_0x4d52f0){return void 0x0===_0x4d52f0&&(_0x4d52f0='type.googleapis.com'),_0x4d52f0+'/RevisionHistoryUpdateRevisionsMessage';},_0x138143;}()),_0x45f2e9['RevisionHistoryReconnectMessage']=(function(){function _0x57f780(_0x3beb0e){if(_0x3beb0e){for(var _0x2861b4=Object['keys'](_0x3beb0e),_0x172974=0x0;_0x172974<_0x2861b4['length'];++_0x172974)null!=_0x3beb0e[_0x2861b4[_0x172974]]&&(this[_0x2861b4[_0x172974]]=_0x3beb0e[_0x2861b4[_0x172974]]);}}return _0x57f780['prototype']['documentId']='',_0x57f780['prototype']['requestId']=0x0,_0x57f780['create']=function(_0x1f3a3e){return new _0x57f780(_0x1f3a3e);},_0x57f780['encode']=function(_0xffe83b,_0x2c4f58){return _0x2c4f58||(_0x2c4f58=_0x3a081['create']()),null!=_0xffe83b['documentId']&&Object['hasOwnProperty']['call'](_0xffe83b,'documentId')&&_0x2c4f58['uint32'](0xa)['string'](_0xffe83b['documentId']),null!=_0xffe83b['requestId']&&Object['hasOwnProperty']['call'](_0xffe83b,'requestId')&&_0x2c4f58['uint32'](0x10)['uint32'](_0xffe83b['requestId']),_0x2c4f58;},_0x57f780['encodeDelimited']=function(_0x20ca98,_0x2bb02e){return this['encode'](_0x20ca98,_0x2bb02e)['ldelim']();},_0x57f780['decode']=function(_0x17fbdf,_0x369c70,_0xbdb79c){_0x17fbdf instanceof _0x5743b9||(_0x17fbdf=_0x5743b9['create'](_0x17fbdf));for(var _0x38aa80=void 0x0===_0x369c70?_0x17fbdf['len']:_0x17fbdf['pos']+_0x369c70,_0x53f605=new _0x45f2e9['RevisionHistoryReconnectMessage']();_0x17fbdf['pos']<_0x38aa80;){var _0x366d32=_0x17fbdf['uint32']();if(_0x366d32===_0xbdb79c)break;switch(_0x366d32>>>0x3){case 0x1:_0x53f605['documentId']=_0x17fbdf['string']();break;case 0x2:_0x53f605['requestId']=_0x17fbdf['uint32']();break;default:_0x17fbdf['skipType'](0x7&_0x366d32);}}return _0x53f605;},_0x57f780['decodeDelimited']=function(_0x6489d){return _0x6489d instanceof _0x5743b9||(_0x6489d=new _0x5743b9(_0x6489d)),this['decode'](_0x6489d,_0x6489d['uint32']());},_0x57f780['verify']=function(_0x10f3c5){return'object'!=typeof _0x10f3c5||null===_0x10f3c5?'object\x20expected':null!=_0x10f3c5['documentId']&&_0x10f3c5['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0x10f3c5['documentId'])?'documentId:\x20string\x20expected':null!=_0x10f3c5['requestId']&&_0x10f3c5['hasOwnProperty']('requestId')&&!_0x596b78['isInteger'](_0x10f3c5['requestId'])?'requestId:\x20integer\x20expected':null;},_0x57f780['fromObject']=function(_0x39695d){if(_0x39695d instanceof _0x45f2e9['RevisionHistoryReconnectMessage'])return _0x39695d;var _0x55ab2b=new _0x45f2e9['RevisionHistoryReconnectMessage']();return null!=_0x39695d['documentId']&&(_0x55ab2b['documentId']=String(_0x39695d['documentId'])),null!=_0x39695d['requestId']&&(_0x55ab2b['requestId']=_0x39695d['requestId']>>>0x0),_0x55ab2b;},_0x57f780['toObject']=function(_0x2398e8,_0x58ca2f){_0x58ca2f||(_0x58ca2f={});var _0x336e18={};return _0x58ca2f['defaults']&&(_0x336e18['documentId']='',_0x336e18['requestId']=0x0),null!=_0x2398e8['documentId']&&_0x2398e8['hasOwnProperty']('documentId')&&(_0x336e18['documentId']=_0x2398e8['documentId']),null!=_0x2398e8['requestId']&&_0x2398e8['hasOwnProperty']('requestId')&&(_0x336e18['requestId']=_0x2398e8['requestId']),_0x336e18;},_0x57f780['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x57f780['getTypeUrl']=function(_0x3acf08){return void 0x0===_0x3acf08&&(_0x3acf08='type.googleapis.com'),_0x3acf08+'/RevisionHistoryReconnectMessage';},_0x57f780;}()),_0x45f2e9['RevisionHistoryGetRevisionMessage']=(function(){function _0x4adf6f(_0x34910f){if(_0x34910f){for(var _0x3c2deb=Object['keys'](_0x34910f),_0x25cd11=0x0;_0x25cd11<_0x3c2deb['length'];++_0x25cd11)null!=_0x34910f[_0x3c2deb[_0x25cd11]]&&(this[_0x3c2deb[_0x25cd11]]=_0x34910f[_0x3c2deb[_0x25cd11]]);}}return _0x4adf6f['prototype']['documentId']='',_0x4adf6f['prototype']['revisionId']='',_0x4adf6f['create']=function(_0x2d9c58){return new _0x4adf6f(_0x2d9c58);},_0x4adf6f['encode']=function(_0x32cf65,_0x471a64){return _0x471a64||(_0x471a64=_0x3a081['create']()),null!=_0x32cf65['documentId']&&Object['hasOwnProperty']['call'](_0x32cf65,'documentId')&&_0x471a64['uint32'](0xa)['string'](_0x32cf65['documentId']),null!=_0x32cf65['revisionId']&&Object['hasOwnProperty']['call'](_0x32cf65,'revisionId')&&_0x471a64['uint32'](0x12)['string'](_0x32cf65['revisionId']),_0x471a64;},_0x4adf6f['encodeDelimited']=function(_0x4e6b17,_0x42a20f){return this['encode'](_0x4e6b17,_0x42a20f)['ldelim']();},_0x4adf6f['decode']=function(_0x31eeb3,_0x13b2f2,_0x12aca5){_0x31eeb3 instanceof _0x5743b9||(_0x31eeb3=_0x5743b9['create'](_0x31eeb3));for(var _0x2cc8d3=void 0x0===_0x13b2f2?_0x31eeb3['len']:_0x31eeb3['pos']+_0x13b2f2,_0x4f01cf=new _0x45f2e9['RevisionHistoryGetRevisionMessage']();_0x31eeb3['pos']<_0x2cc8d3;){var _0xaeb48f=_0x31eeb3['uint32']();if(_0xaeb48f===_0x12aca5)break;switch(_0xaeb48f>>>0x3){case 0x1:_0x4f01cf['documentId']=_0x31eeb3['string']();break;case 0x2:_0x4f01cf['revisionId']=_0x31eeb3['string']();break;default:_0x31eeb3['skipType'](0x7&_0xaeb48f);}}return _0x4f01cf;},_0x4adf6f['decodeDelimited']=function(_0x552444){return _0x552444 instanceof _0x5743b9||(_0x552444=new _0x5743b9(_0x552444)),this['decode'](_0x552444,_0x552444['uint32']());},_0x4adf6f['verify']=function(_0x482b57){return'object'!=typeof _0x482b57||null===_0x482b57?'object\x20expected':null!=_0x482b57['documentId']&&_0x482b57['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0x482b57['documentId'])?'documentId:\x20string\x20expected':null!=_0x482b57['revisionId']&&_0x482b57['hasOwnProperty']('revisionId')&&!_0x596b78['isString'](_0x482b57['revisionId'])?'revisionId:\x20string\x20expected':null;},_0x4adf6f['fromObject']=function(_0x11038c){if(_0x11038c instanceof _0x45f2e9['RevisionHistoryGetRevisionMessage'])return _0x11038c;var _0x4fd611=new _0x45f2e9['RevisionHistoryGetRevisionMessage']();return null!=_0x11038c['documentId']&&(_0x4fd611['documentId']=String(_0x11038c['documentId'])),null!=_0x11038c['revisionId']&&(_0x4fd611['revisionId']=String(_0x11038c['revisionId'])),_0x4fd611;},_0x4adf6f['toObject']=function(_0x1554ba,_0x3940aa){_0x3940aa||(_0x3940aa={});var _0x11bdae={};return _0x3940aa['defaults']&&(_0x11bdae['documentId']='',_0x11bdae['revisionId']=''),null!=_0x1554ba['documentId']&&_0x1554ba['hasOwnProperty']('documentId')&&(_0x11bdae['documentId']=_0x1554ba['documentId']),null!=_0x1554ba['revisionId']&&_0x1554ba['hasOwnProperty']('revisionId')&&(_0x11bdae['revisionId']=_0x1554ba['revisionId']),_0x11bdae;},_0x4adf6f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x4adf6f['getTypeUrl']=function(_0x2d61fe){return void 0x0===_0x2d61fe&&(_0x2d61fe='type.googleapis.com'),_0x2d61fe+'/RevisionHistoryGetRevisionMessage';},_0x4adf6f;}()),_0x45f2e9['RevisionHistoryConnectMessage']=(function(){function _0x330591(_0x2e5131){if(_0x2e5131){for(var _0x41730c=Object['keys'](_0x2e5131),_0x2a8a2f=0x0;_0x2a8a2f<_0x41730c['length'];++_0x2a8a2f)null!=_0x2e5131[_0x41730c[_0x2a8a2f]]&&(this[_0x41730c[_0x2a8a2f]]=_0x2e5131[_0x41730c[_0x2a8a2f]]);}}return _0x330591['prototype']['documentId']='',_0x330591['create']=function(_0x49036c){return new _0x330591(_0x49036c);},_0x330591['encode']=function(_0x1d23ff,_0x2bb9c5){return _0x2bb9c5||(_0x2bb9c5=_0x3a081['create']()),null!=_0x1d23ff['documentId']&&Object['hasOwnProperty']['call'](_0x1d23ff,'documentId')&&_0x2bb9c5['uint32'](0xa)['string'](_0x1d23ff['documentId']),_0x2bb9c5;},_0x330591['encodeDelimited']=function(_0x255b4f,_0x5049fd){return this['encode'](_0x255b4f,_0x5049fd)['ldelim']();},_0x330591['decode']=function(_0x1fb6c3,_0x186785,_0x228bc4){_0x1fb6c3 instanceof _0x5743b9||(_0x1fb6c3=_0x5743b9['create'](_0x1fb6c3));for(var _0x1310f6=void 0x0===_0x186785?_0x1fb6c3['len']:_0x1fb6c3['pos']+_0x186785,_0x2fd8c1=new _0x45f2e9['RevisionHistoryConnectMessage']();_0x1fb6c3['pos']<_0x1310f6;){var _0x28f12=_0x1fb6c3['uint32']();if(_0x28f12===_0x228bc4)break;_0x28f12>>>0x3==0x1?_0x2fd8c1['documentId']=_0x1fb6c3['string']():_0x1fb6c3['skipType'](0x7&_0x28f12);}return _0x2fd8c1;},_0x330591['decodeDelimited']=function(_0x56ac47){return _0x56ac47 instanceof _0x5743b9||(_0x56ac47=new _0x5743b9(_0x56ac47)),this['decode'](_0x56ac47,_0x56ac47['uint32']());},_0x330591['verify']=function(_0x5b7c30){return'object'!=typeof _0x5b7c30||null===_0x5b7c30?'object\x20expected':null!=_0x5b7c30['documentId']&&_0x5b7c30['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0x5b7c30['documentId'])?'documentId:\x20string\x20expected':null;},_0x330591['fromObject']=function(_0x3d524c){if(_0x3d524c instanceof _0x45f2e9['RevisionHistoryConnectMessage'])return _0x3d524c;var _0x4ee4cd=new _0x45f2e9['RevisionHistoryConnectMessage']();return null!=_0x3d524c['documentId']&&(_0x4ee4cd['documentId']=String(_0x3d524c['documentId'])),_0x4ee4cd;},_0x330591['toObject']=function(_0x129dd3,_0x50bc29){_0x50bc29||(_0x50bc29={});var _0x339e35={};return _0x50bc29['defaults']&&(_0x339e35['documentId']=''),null!=_0x129dd3['documentId']&&_0x129dd3['hasOwnProperty']('documentId')&&(_0x339e35['documentId']=_0x129dd3['documentId']),_0x339e35;},_0x330591['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x330591['getTypeUrl']=function(_0x16619a){return void 0x0===_0x16619a&&(_0x16619a='type.googleapis.com'),_0x16619a+'/RevisionHistoryConnectMessage';},_0x330591;}()),_0x45f2e9['RevisionDescriptor']=(function(){function _0x4f81f8(_0x22fc90){if(_0x22fc90){for(var _0x33e7f0=Object['keys'](_0x22fc90),_0xc14e34=0x0;_0xc14e34<_0x33e7f0['length'];++_0xc14e34)null!=_0x22fc90[_0x33e7f0[_0xc14e34]]&&(this[_0x33e7f0[_0xc14e34]]=_0x22fc90[_0x33e7f0[_0xc14e34]]);}}return _0x4f81f8['prototype']['revisionId']='',_0x4f81f8['prototype']['name']='',_0x4f81f8['prototype']['creatorId']='',_0x4f81f8['prototype']['authorsIds']='',_0x4f81f8['prototype']['diffData']='',_0x4f81f8['prototype']['createdAt']='',_0x4f81f8['prototype']['attributes']='',_0x4f81f8['prototype']['toVersion']=0x0,_0x4f81f8['prototype']['fromVersion']=0x0,_0x4f81f8['prototype']['isEmptyCurrent']=!0x1,_0x4f81f8['create']=function(_0x33df8b){return new _0x4f81f8(_0x33df8b);},_0x4f81f8['encode']=function(_0x1455c5,_0x44a357){return _0x44a357||(_0x44a357=_0x3a081['create']()),null!=_0x1455c5['revisionId']&&Object['hasOwnProperty']['call'](_0x1455c5,'revisionId')&&_0x44a357['uint32'](0xa)['string'](_0x1455c5['revisionId']),null!=_0x1455c5['name']&&Object['hasOwnProperty']['call'](_0x1455c5,'name')&&_0x44a357['uint32'](0x12)['string'](_0x1455c5['name']),null!=_0x1455c5['creatorId']&&Object['hasOwnProperty']['call'](_0x1455c5,'creatorId')&&_0x44a357['uint32'](0x1a)['string'](_0x1455c5['creatorId']),null!=_0x1455c5['authorsIds']&&Object['hasOwnProperty']['call'](_0x1455c5,'authorsIds')&&_0x44a357['uint32'](0x22)['string'](_0x1455c5['authorsIds']),null!=_0x1455c5['diffData']&&Object['hasOwnProperty']['call'](_0x1455c5,'diffData')&&_0x44a357['uint32'](0x2a)['string'](_0x1455c5['diffData']),null!=_0x1455c5['createdAt']&&Object['hasOwnProperty']['call'](_0x1455c5,'createdAt')&&_0x44a357['uint32'](0x32)['string'](_0x1455c5['createdAt']),null!=_0x1455c5['attributes']&&Object['hasOwnProperty']['call'](_0x1455c5,'attributes')&&_0x44a357['uint32'](0x3a)['string'](_0x1455c5['attributes']),null!=_0x1455c5['toVersion']&&Object['hasOwnProperty']['call'](_0x1455c5,'toVersion')&&_0x44a357['uint32'](0x40)['uint32'](_0x1455c5['toVersion']),null!=_0x1455c5['fromVersion']&&Object['hasOwnProperty']['call'](_0x1455c5,'fromVersion')&&_0x44a357['uint32'](0x48)['uint32'](_0x1455c5['fromVersion']),null!=_0x1455c5['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x1455c5,'isEmptyCurrent')&&_0x44a357['uint32'](0x50)['bool'](_0x1455c5['isEmptyCurrent']),_0x44a357;},_0x4f81f8['encodeDelimited']=function(_0x2a59e3,_0x13aeab){return this['encode'](_0x2a59e3,_0x13aeab)['ldelim']();},_0x4f81f8['decode']=function(_0x57d858,_0x5decd2,_0x4ec61b){_0x57d858 instanceof _0x5743b9||(_0x57d858=_0x5743b9['create'](_0x57d858));for(var _0x34ba41=void 0x0===_0x5decd2?_0x57d858['len']:_0x57d858['pos']+_0x5decd2,_0x158648=new _0x45f2e9['RevisionDescriptor']();_0x57d858['pos']<_0x34ba41;){var _0xffc296=_0x57d858['uint32']();if(_0xffc296===_0x4ec61b)break;switch(_0xffc296>>>0x3){case 0x1:_0x158648['revisionId']=_0x57d858['string']();break;case 0x2:_0x158648['name']=_0x57d858['string']();break;case 0x3:_0x158648['creatorId']=_0x57d858['string']();break;case 0x4:_0x158648['authorsIds']=_0x57d858['string']();break;case 0x5:_0x158648['diffData']=_0x57d858['string']();break;case 0x6:_0x158648['createdAt']=_0x57d858['string']();break;case 0x7:_0x158648['attributes']=_0x57d858['string']();break;case 0x8:_0x158648['toVersion']=_0x57d858['uint32']();break;case 0x9:_0x158648['fromVersion']=_0x57d858['uint32']();break;case 0xa:_0x158648['isEmptyCurrent']=_0x57d858['bool']();break;default:_0x57d858['skipType'](0x7&_0xffc296);}}return _0x158648;},_0x4f81f8['decodeDelimited']=function(_0x1f5c3e){return _0x1f5c3e instanceof _0x5743b9||(_0x1f5c3e=new _0x5743b9(_0x1f5c3e)),this['decode'](_0x1f5c3e,_0x1f5c3e['uint32']());},_0x4f81f8['verify']=function(_0x3cab34){return'object'!=typeof _0x3cab34||null===_0x3cab34?'object\x20expected':null!=_0x3cab34['revisionId']&&_0x3cab34['hasOwnProperty']('revisionId')&&!_0x596b78['isString'](_0x3cab34['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x3cab34['name']&&_0x3cab34['hasOwnProperty']('name')&&!_0x596b78['isString'](_0x3cab34['name'])?'name:\x20string\x20expected':null!=_0x3cab34['creatorId']&&_0x3cab34['hasOwnProperty']('creatorId')&&!_0x596b78['isString'](_0x3cab34['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x3cab34['authorsIds']&&_0x3cab34['hasOwnProperty']('authorsIds')&&!_0x596b78['isString'](_0x3cab34['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x3cab34['diffData']&&_0x3cab34['hasOwnProperty']('diffData')&&!_0x596b78['isString'](_0x3cab34['diffData'])?'diffData:\x20string\x20expected':null!=_0x3cab34['createdAt']&&_0x3cab34['hasOwnProperty']('createdAt')&&!_0x596b78['isString'](_0x3cab34['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x3cab34['attributes']&&_0x3cab34['hasOwnProperty']('attributes')&&!_0x596b78['isString'](_0x3cab34['attributes'])?'attributes:\x20string\x20expected':null!=_0x3cab34['toVersion']&&_0x3cab34['hasOwnProperty']('toVersion')&&!_0x596b78['isInteger'](_0x3cab34['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x3cab34['fromVersion']&&_0x3cab34['hasOwnProperty']('fromVersion')&&!_0x596b78['isInteger'](_0x3cab34['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x3cab34['isEmptyCurrent']&&_0x3cab34['hasOwnProperty']('isEmptyCurrent')&&'boolean'!=typeof _0x3cab34['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null;},_0x4f81f8['fromObject']=function(_0x124840){if(_0x124840 instanceof _0x45f2e9['RevisionDescriptor'])return _0x124840;var _0x1f15d1=new _0x45f2e9['RevisionDescriptor']();return null!=_0x124840['revisionId']&&(_0x1f15d1['revisionId']=String(_0x124840['revisionId'])),null!=_0x124840['name']&&(_0x1f15d1['name']=String(_0x124840['name'])),null!=_0x124840['creatorId']&&(_0x1f15d1['creatorId']=String(_0x124840['creatorId'])),null!=_0x124840['authorsIds']&&(_0x1f15d1['authorsIds']=String(_0x124840['authorsIds'])),null!=_0x124840['diffData']&&(_0x1f15d1['diffData']=String(_0x124840['diffData'])),null!=_0x124840['createdAt']&&(_0x1f15d1['createdAt']=String(_0x124840['createdAt'])),null!=_0x124840['attributes']&&(_0x1f15d1['attributes']=String(_0x124840['attributes'])),null!=_0x124840['toVersion']&&(_0x1f15d1['toVersion']=_0x124840['toVersion']>>>0x0),null!=_0x124840['fromVersion']&&(_0x1f15d1['fromVersion']=_0x124840['fromVersion']>>>0x0),null!=_0x124840['isEmptyCurrent']&&(_0x1f15d1['isEmptyCurrent']=Boolean(_0x124840['isEmptyCurrent'])),_0x1f15d1;},_0x4f81f8['toObject']=function(_0x493db5,_0x528816){_0x528816||(_0x528816={});var _0x1d5d9d={};return _0x528816['defaults']&&(_0x1d5d9d['revisionId']='',_0x1d5d9d['name']='',_0x1d5d9d['creatorId']='',_0x1d5d9d['authorsIds']='',_0x1d5d9d['diffData']='',_0x1d5d9d['createdAt']='',_0x1d5d9d['attributes']='',_0x1d5d9d['toVersion']=0x0,_0x1d5d9d['fromVersion']=0x0,_0x1d5d9d['isEmptyCurrent']=!0x1),null!=_0x493db5['revisionId']&&_0x493db5['hasOwnProperty']('revisionId')&&(_0x1d5d9d['revisionId']=_0x493db5['revisionId']),null!=_0x493db5['name']&&_0x493db5['hasOwnProperty']('name')&&(_0x1d5d9d['name']=_0x493db5['name']),null!=_0x493db5['creatorId']&&_0x493db5['hasOwnProperty']('creatorId')&&(_0x1d5d9d['creatorId']=_0x493db5['creatorId']),null!=_0x493db5['authorsIds']&&_0x493db5['hasOwnProperty']('authorsIds')&&(_0x1d5d9d['authorsIds']=_0x493db5['authorsIds']),null!=_0x493db5['diffData']&&_0x493db5['hasOwnProperty']('diffData')&&(_0x1d5d9d['diffData']=_0x493db5['diffData']),null!=_0x493db5['createdAt']&&_0x493db5['hasOwnProperty']('createdAt')&&(_0x1d5d9d['createdAt']=_0x493db5['createdAt']),null!=_0x493db5['attributes']&&_0x493db5['hasOwnProperty']('attributes')&&(_0x1d5d9d['attributes']=_0x493db5['attributes']),null!=_0x493db5['toVersion']&&_0x493db5['hasOwnProperty']('toVersion')&&(_0x1d5d9d['toVersion']=_0x493db5['toVersion']),null!=_0x493db5['fromVersion']&&_0x493db5['hasOwnProperty']('fromVersion')&&(_0x1d5d9d['fromVersion']=_0x493db5['fromVersion']),null!=_0x493db5['isEmptyCurrent']&&_0x493db5['hasOwnProperty']('isEmptyCurrent')&&(_0x1d5d9d['isEmptyCurrent']=_0x493db5['isEmptyCurrent']),_0x1d5d9d;},_0x4f81f8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x4f81f8['getTypeUrl']=function(_0xe1bbe3){return void 0x0===_0xe1bbe3&&(_0xe1bbe3='type.googleapis.com'),_0xe1bbe3+'/RevisionDescriptor';},_0x4f81f8;}()),_0x45f2e9['IsEditorBundleUploadedResponse']=(function(){function _0x5e8055(_0x557151){if(_0x557151){for(var _0x4c2549=Object['keys'](_0x557151),_0x2a3fcf=0x0;_0x2a3fcf<_0x4c2549['length'];++_0x2a3fcf)null!=_0x557151[_0x4c2549[_0x2a3fcf]]&&(this[_0x4c2549[_0x2a3fcf]]=_0x557151[_0x4c2549[_0x2a3fcf]]);}}return _0x5e8055['prototype']['isUploaded']=!0x1,_0x5e8055['create']=function(_0x1e6034){return new _0x5e8055(_0x1e6034);},_0x5e8055['encode']=function(_0x5b364e,_0x2005ec){return _0x2005ec||(_0x2005ec=_0x3a081['create']()),null!=_0x5b364e['isUploaded']&&Object['hasOwnProperty']['call'](_0x5b364e,'isUploaded')&&_0x2005ec['uint32'](0x8)['bool'](_0x5b364e['isUploaded']),_0x2005ec;},_0x5e8055['encodeDelimited']=function(_0x4d8425,_0x551ba3){return this['encode'](_0x4d8425,_0x551ba3)['ldelim']();},_0x5e8055['decode']=function(_0x2c07f5,_0xcf6264,_0x421253){_0x2c07f5 instanceof _0x5743b9||(_0x2c07f5=_0x5743b9['create'](_0x2c07f5));for(var _0x2b61e5=void 0x0===_0xcf6264?_0x2c07f5['len']:_0x2c07f5['pos']+_0xcf6264,_0x24ddea=new _0x45f2e9['IsEditorBundleUploadedResponse']();_0x2c07f5['pos']<_0x2b61e5;){var _0x4c95d0=_0x2c07f5['uint32']();if(_0x4c95d0===_0x421253)break;_0x4c95d0>>>0x3==0x1?_0x24ddea['isUploaded']=_0x2c07f5['bool']():_0x2c07f5['skipType'](0x7&_0x4c95d0);}return _0x24ddea;},_0x5e8055['decodeDelimited']=function(_0x3cf94b){return _0x3cf94b instanceof _0x5743b9||(_0x3cf94b=new _0x5743b9(_0x3cf94b)),this['decode'](_0x3cf94b,_0x3cf94b['uint32']());},_0x5e8055['verify']=function(_0x1d62fb){return'object'!=typeof _0x1d62fb||null===_0x1d62fb?'object\x20expected':null!=_0x1d62fb['isUploaded']&&_0x1d62fb['hasOwnProperty']('isUploaded')&&'boolean'!=typeof _0x1d62fb['isUploaded']?'isUploaded:\x20boolean\x20expected':null;},_0x5e8055['fromObject']=function(_0x2d18fe){if(_0x2d18fe instanceof _0x45f2e9['IsEditorBundleUploadedResponse'])return _0x2d18fe;var _0x483140=new _0x45f2e9['IsEditorBundleUploadedResponse']();return null!=_0x2d18fe['isUploaded']&&(_0x483140['isUploaded']=Boolean(_0x2d18fe['isUploaded'])),_0x483140;},_0x5e8055['toObject']=function(_0x172390,_0x41b400){_0x41b400||(_0x41b400={});var _0x160ffd={};return _0x41b400['defaults']&&(_0x160ffd['isUploaded']=!0x1),null!=_0x172390['isUploaded']&&_0x172390['hasOwnProperty']('isUploaded')&&(_0x160ffd['isUploaded']=_0x172390['isUploaded']),_0x160ffd;},_0x5e8055['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x5e8055['getTypeUrl']=function(_0x393a26){return void 0x0===_0x393a26&&(_0x393a26='type.googleapis.com'),_0x393a26+'/IsEditorBundleUploadedResponse';},_0x5e8055;}()),_0x45f2e9['IsEditorBundleUploadedMessage']=(function(){function _0x1abadf(_0x3965d1){if(_0x3965d1){for(var _0x984fda=Object['keys'](_0x3965d1),_0x16381d=0x0;_0x16381d<_0x984fda['length'];++_0x16381d)null!=_0x3965d1[_0x984fda[_0x16381d]]&&(this[_0x984fda[_0x16381d]]=_0x3965d1[_0x984fda[_0x16381d]]);}}return _0x1abadf['prototype']['bundleVersion']='',_0x1abadf['create']=function(_0x18cba0){return new _0x1abadf(_0x18cba0);},_0x1abadf['encode']=function(_0x2d2a15,_0x24ddf9){return _0x24ddf9||(_0x24ddf9=_0x3a081['create']()),null!=_0x2d2a15['bundleVersion']&&Object['hasOwnProperty']['call'](_0x2d2a15,'bundleVersion')&&_0x24ddf9['uint32'](0xa)['string'](_0x2d2a15['bundleVersion']),_0x24ddf9;},_0x1abadf['encodeDelimited']=function(_0x5499c8,_0x6f79f8){return this['encode'](_0x5499c8,_0x6f79f8)['ldelim']();},_0x1abadf['decode']=function(_0xfd9af1,_0x44816b,_0x2dd097){_0xfd9af1 instanceof _0x5743b9||(_0xfd9af1=_0x5743b9['create'](_0xfd9af1));for(var _0x447017=void 0x0===_0x44816b?_0xfd9af1['len']:_0xfd9af1['pos']+_0x44816b,_0x3ab608=new _0x45f2e9['IsEditorBundleUploadedMessage']();_0xfd9af1['pos']<_0x447017;){var _0x470781=_0xfd9af1['uint32']();if(_0x470781===_0x2dd097)break;_0x470781>>>0x3==0x1?_0x3ab608['bundleVersion']=_0xfd9af1['string']():_0xfd9af1['skipType'](0x7&_0x470781);}return _0x3ab608;},_0x1abadf['decodeDelimited']=function(_0x4f4565){return _0x4f4565 instanceof _0x5743b9||(_0x4f4565=new _0x5743b9(_0x4f4565)),this['decode'](_0x4f4565,_0x4f4565['uint32']());},_0x1abadf['verify']=function(_0xabef3b){return'object'!=typeof _0xabef3b||null===_0xabef3b?'object\x20expected':null!=_0xabef3b['bundleVersion']&&_0xabef3b['hasOwnProperty']('bundleVersion')&&!_0x596b78['isString'](_0xabef3b['bundleVersion'])?'bundleVersion:\x20string\x20expected':null;},_0x1abadf['fromObject']=function(_0x531d00){if(_0x531d00 instanceof _0x45f2e9['IsEditorBundleUploadedMessage'])return _0x531d00;var _0x11738b=new _0x45f2e9['IsEditorBundleUploadedMessage']();return null!=_0x531d00['bundleVersion']&&(_0x11738b['bundleVersion']=String(_0x531d00['bundleVersion'])),_0x11738b;},_0x1abadf['toObject']=function(_0x2288a4,_0x19d4f7){_0x19d4f7||(_0x19d4f7={});var _0x4ef1a0={};return _0x19d4f7['defaults']&&(_0x4ef1a0['bundleVersion']=''),null!=_0x2288a4['bundleVersion']&&_0x2288a4['hasOwnProperty']('bundleVersion')&&(_0x4ef1a0['bundleVersion']=_0x2288a4['bundleVersion']),_0x4ef1a0;},_0x1abadf['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x1abadf['getTypeUrl']=function(_0x2a75a9){return void 0x0===_0x2a75a9&&(_0x2a75a9='type.googleapis.com'),_0x2a75a9+'/IsEditorBundleUploadedMessage';},_0x1abadf;}()),_0x45f2e9['KeyValueDescriptor']=(function(){function _0x41d9ba(_0x5db732){if(_0x5db732){for(var _0xebb34d=Object['keys'](_0x5db732),_0x245df4=0x0;_0x245df4<_0xebb34d['length'];++_0x245df4)null!=_0x5db732[_0xebb34d[_0x245df4]]&&(this[_0xebb34d[_0x245df4]]=_0x5db732[_0xebb34d[_0x245df4]]);}}return _0x41d9ba['prototype']['key']='',_0x41d9ba['prototype']['value']='',_0x41d9ba['create']=function(_0x21cd4b){return new _0x41d9ba(_0x21cd4b);},_0x41d9ba['encode']=function(_0x485430,_0x555776){return _0x555776||(_0x555776=_0x3a081['create']()),null!=_0x485430['key']&&Object['hasOwnProperty']['call'](_0x485430,'key')&&_0x555776['uint32'](0xa)['string'](_0x485430['key']),null!=_0x485430['value']&&Object['hasOwnProperty']['call'](_0x485430,'value')&&_0x555776['uint32'](0x12)['string'](_0x485430['value']),_0x555776;},_0x41d9ba['encodeDelimited']=function(_0x53cee7,_0x3ca458){return this['encode'](_0x53cee7,_0x3ca458)['ldelim']();},_0x41d9ba['decode']=function(_0x515609,_0x34977c,_0x564b16){_0x515609 instanceof _0x5743b9||(_0x515609=_0x5743b9['create'](_0x515609));for(var _0x17d898=void 0x0===_0x34977c?_0x515609['len']:_0x515609['pos']+_0x34977c,_0x1f5ff3=new _0x45f2e9['KeyValueDescriptor']();_0x515609['pos']<_0x17d898;){var _0x1b9334=_0x515609['uint32']();if(_0x1b9334===_0x564b16)break;switch(_0x1b9334>>>0x3){case 0x1:_0x1f5ff3['key']=_0x515609['string']();break;case 0x2:_0x1f5ff3['value']=_0x515609['string']();break;default:_0x515609['skipType'](0x7&_0x1b9334);}}return _0x1f5ff3;},_0x41d9ba['decodeDelimited']=function(_0x3d0c41){return _0x3d0c41 instanceof _0x5743b9||(_0x3d0c41=new _0x5743b9(_0x3d0c41)),this['decode'](_0x3d0c41,_0x3d0c41['uint32']());},_0x41d9ba['verify']=function(_0x2fb7d7){return'object'!=typeof _0x2fb7d7||null===_0x2fb7d7?'object\x20expected':null!=_0x2fb7d7['key']&&_0x2fb7d7['hasOwnProperty']('key')&&!_0x596b78['isString'](_0x2fb7d7['key'])?'key:\x20string\x20expected':null!=_0x2fb7d7['value']&&_0x2fb7d7['hasOwnProperty']('value')&&!_0x596b78['isString'](_0x2fb7d7['value'])?'value:\x20string\x20expected':null;},_0x41d9ba['fromObject']=function(_0x361f3b){if(_0x361f3b instanceof _0x45f2e9['KeyValueDescriptor'])return _0x361f3b;var _0x5f46f8=new _0x45f2e9['KeyValueDescriptor']();return null!=_0x361f3b['key']&&(_0x5f46f8['key']=String(_0x361f3b['key'])),null!=_0x361f3b['value']&&(_0x5f46f8['value']=String(_0x361f3b['value'])),_0x5f46f8;},_0x41d9ba['toObject']=function(_0x66d48,_0x27ad6f){_0x27ad6f||(_0x27ad6f={});var _0xff244={};return _0x27ad6f['defaults']&&(_0xff244['key']='',_0xff244['value']=''),null!=_0x66d48['key']&&_0x66d48['hasOwnProperty']('key')&&(_0xff244['key']=_0x66d48['key']),null!=_0x66d48['value']&&_0x66d48['hasOwnProperty']('value')&&(_0xff244['value']=_0x66d48['value']),_0xff244;},_0x41d9ba['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x41d9ba['getTypeUrl']=function(_0xf2f94e){return void 0x0===_0xf2f94e&&(_0xf2f94e='type.googleapis.com'),_0xf2f94e+'/KeyValueDescriptor';},_0x41d9ba;}()),_0x45f2e9['CommentsV2GetDocumentThreadsResponse']=(function(){function _0x279c08(_0x1189f8){if(this['threads']=[],this['threadsV2']=[],_0x1189f8){for(var _0x2c1d9c=Object['keys'](_0x1189f8),_0x536194=0x0;_0x536194<_0x2c1d9c['length'];++_0x536194)null!=_0x1189f8[_0x2c1d9c[_0x536194]]&&(this[_0x2c1d9c[_0x536194]]=_0x1189f8[_0x2c1d9c[_0x536194]]);}}return _0x279c08['prototype']['threads']=_0x596b78['emptyArray'],_0x279c08['prototype']['threadsV2']=_0x596b78['emptyArray'],_0x279c08['create']=function(_0xb6a81b){return new _0x279c08(_0xb6a81b);},_0x279c08['encode']=function(_0x253398,_0x17f653){if(_0x17f653||(_0x17f653=_0x3a081['create']()),null!=_0x253398['threads']&&_0x253398['threads']['length']){for(var _0x2c1736=0x0;_0x2c1736<_0x253398['threads']['length'];++_0x2c1736)_0x17f653['uint32'](0xa)['string'](_0x253398['threads'][_0x2c1736]);}if(null!=_0x253398['threadsV2']&&_0x253398['threadsV2']['length']){for(_0x2c1736=0x0;_0x2c1736<_0x253398['threadsV2']['length'];++_0x2c1736)_0x45f2e9['CommentsThreadDescriptor']['encode'](_0x253398['threadsV2'][_0x2c1736],_0x17f653['uint32'](0x12)['fork']())['ldelim']();}return _0x17f653;},_0x279c08['encodeDelimited']=function(_0x31ae35,_0x3c350f){return this['encode'](_0x31ae35,_0x3c350f)['ldelim']();},_0x279c08['decode']=function(_0x3cd127,_0x699758,_0x4ac0fb){_0x3cd127 instanceof _0x5743b9||(_0x3cd127=_0x5743b9['create'](_0x3cd127));for(var _0x5b6174=void 0x0===_0x699758?_0x3cd127['len']:_0x3cd127['pos']+_0x699758,_0x1cf1a0=new _0x45f2e9['CommentsV2GetDocumentThreadsResponse']();_0x3cd127['pos']<_0x5b6174;){var _0x17bd20=_0x3cd127['uint32']();if(_0x17bd20===_0x4ac0fb)break;switch(_0x17bd20>>>0x3){case 0x1:_0x1cf1a0['threads']&&_0x1cf1a0['threads']['length']||(_0x1cf1a0['threads']=[]),_0x1cf1a0['threads']['push'](_0x3cd127['string']());break;case 0x2:_0x1cf1a0['threadsV2']&&_0x1cf1a0['threadsV2']['length']||(_0x1cf1a0['threadsV2']=[]),_0x1cf1a0['threadsV2']['push'](_0x45f2e9['CommentsThreadDescriptor']['decode'](_0x3cd127,_0x3cd127['uint32']()));break;default:_0x3cd127['skipType'](0x7&_0x17bd20);}}return _0x1cf1a0;},_0x279c08['decodeDelimited']=function(_0x4032a0){return _0x4032a0 instanceof _0x5743b9||(_0x4032a0=new _0x5743b9(_0x4032a0)),this['decode'](_0x4032a0,_0x4032a0['uint32']());},_0x279c08['verify']=function(_0x4afdff){if('object'!=typeof _0x4afdff||null===_0x4afdff)return'object\x20expected';if(null!=_0x4afdff['threads']&&_0x4afdff['hasOwnProperty']('threads')){if(!Array['isArray'](_0x4afdff['threads']))return'threads:\x20array\x20expected';for(var _0x515cb0=0x0;_0x515cb0<_0x4afdff['threads']['length'];++_0x515cb0)if(!_0x596b78['isString'](_0x4afdff['threads'][_0x515cb0]))return'threads:\x20string[]\x20expected';}if(null!=_0x4afdff['threadsV2']&&_0x4afdff['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x4afdff['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x515cb0=0x0;_0x515cb0<_0x4afdff['threadsV2']['length'];++_0x515cb0){var _0x395e48=_0x45f2e9['CommentsThreadDescriptor']['verify'](_0x4afdff['threadsV2'][_0x515cb0]);if(_0x395e48)return'threadsV2.'+_0x395e48;}}return null;},_0x279c08['fromObject']=function(_0xe58703){if(_0xe58703 instanceof _0x45f2e9['CommentsV2GetDocumentThreadsResponse'])return _0xe58703;var _0x422c59=new _0x45f2e9['CommentsV2GetDocumentThreadsResponse']();if(_0xe58703['threads']){if(!Array['isArray'](_0xe58703['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0x422c59['threads']=[];for(var _0xf6807d=0x0;_0xf6807d<_0xe58703['threads']['length'];++_0xf6807d)_0x422c59['threads'][_0xf6807d]=String(_0xe58703['threads'][_0xf6807d]);}if(_0xe58703['threadsV2']){if(!Array['isArray'](_0xe58703['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');for(_0x422c59['threadsV2']=[],_0xf6807d=0x0;_0xf6807d<_0xe58703['threadsV2']['length'];++_0xf6807d){if('object'!=typeof _0xe58703['threadsV2'][_0xf6807d])throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0x422c59['threadsV2'][_0xf6807d]=_0x45f2e9['CommentsThreadDescriptor']['fromObject'](_0xe58703['threadsV2'][_0xf6807d]);}}return _0x422c59;},_0x279c08['toObject']=function(_0x32fd55,_0x158d84){_0x158d84||(_0x158d84={});var _0x3e0d39={};if((_0x158d84['arrays']||_0x158d84['defaults'])&&(_0x3e0d39['threads']=[],_0x3e0d39['threadsV2']=[]),_0x32fd55['threads']&&_0x32fd55['threads']['length']){_0x3e0d39['threads']=[];for(var _0x1f962c=0x0;_0x1f962c<_0x32fd55['threads']['length'];++_0x1f962c)_0x3e0d39['threads'][_0x1f962c]=_0x32fd55['threads'][_0x1f962c];}if(_0x32fd55['threadsV2']&&_0x32fd55['threadsV2']['length']){for(_0x3e0d39['threadsV2']=[],_0x1f962c=0x0;_0x1f962c<_0x32fd55['threadsV2']['length'];++_0x1f962c)_0x3e0d39['threadsV2'][_0x1f962c]=_0x45f2e9['CommentsThreadDescriptor']['toObject'](_0x32fd55['threadsV2'][_0x1f962c],_0x158d84);}return _0x3e0d39;},_0x279c08['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x279c08['getTypeUrl']=function(_0x190a4c){return void 0x0===_0x190a4c&&(_0x190a4c='type.googleapis.com'),_0x190a4c+'/CommentsV2GetDocumentThreadsResponse';},_0x279c08;}()),_0x45f2e9['CommentsV2GetCommentThreadResponse']=(function(){function _0x5e7c3f(_0x588fd6){if(this['comments']=[],this['commentsV2']=[],_0x588fd6){for(var _0x5ed947=Object['keys'](_0x588fd6),_0x543314=0x0;_0x543314<_0x5ed947['length'];++_0x543314)null!=_0x588fd6[_0x5ed947[_0x543314]]&&(this[_0x5ed947[_0x543314]]=_0x588fd6[_0x5ed947[_0x543314]]);}}return _0x5e7c3f['prototype']['commentThreadId']='',_0x5e7c3f['prototype']['comments']=_0x596b78['emptyArray'],_0x5e7c3f['prototype']['commentsV2']=_0x596b78['emptyArray'],_0x5e7c3f['prototype']['resolvedAt']='',_0x5e7c3f['prototype']['resolvedBy']='',_0x5e7c3f['prototype']['context']='',_0x5e7c3f['prototype']['createdAt']='',_0x5e7c3f['prototype']['deletedAt']='',_0x5e7c3f['prototype']['attributes']='',_0x5e7c3f['prototype']['unlinkedAt']='',_0x5e7c3f['create']=function(_0x4106a2){return new _0x5e7c3f(_0x4106a2);},_0x5e7c3f['encode']=function(_0x3658bc,_0x2c3afa){if(_0x2c3afa||(_0x2c3afa=_0x3a081['create']()),null!=_0x3658bc['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3658bc,'commentThreadId')&&_0x2c3afa['uint32'](0xa)['string'](_0x3658bc['commentThreadId']),null!=_0x3658bc['comments']&&_0x3658bc['comments']['length']){for(var _0x5e06a4=0x0;_0x5e06a4<_0x3658bc['comments']['length'];++_0x5e06a4)_0x2c3afa['uint32'](0x12)['string'](_0x3658bc['comments'][_0x5e06a4]);}if(null!=_0x3658bc['commentsV2']&&_0x3658bc['commentsV2']['length']){for(_0x5e06a4=0x0;_0x5e06a4<_0x3658bc['commentsV2']['length'];++_0x5e06a4)_0x45f2e9['CommentDescriptor']['encode'](_0x3658bc['commentsV2'][_0x5e06a4],_0x2c3afa['uint32'](0x1a)['fork']())['ldelim']();}return null!=_0x3658bc['resolvedAt']&&Object['hasOwnProperty']['call'](_0x3658bc,'resolvedAt')&&_0x2c3afa['uint32'](0x22)['string'](_0x3658bc['resolvedAt']),null!=_0x3658bc['resolvedBy']&&Object['hasOwnProperty']['call'](_0x3658bc,'resolvedBy')&&_0x2c3afa['uint32'](0x2a)['string'](_0x3658bc['resolvedBy']),null!=_0x3658bc['context']&&Object['hasOwnProperty']['call'](_0x3658bc,'context')&&_0x2c3afa['uint32'](0x32)['string'](_0x3658bc['context']),null!=_0x3658bc['createdAt']&&Object['hasOwnProperty']['call'](_0x3658bc,'createdAt')&&_0x2c3afa['uint32'](0x3a)['string'](_0x3658bc['createdAt']),null!=_0x3658bc['deletedAt']&&Object['hasOwnProperty']['call'](_0x3658bc,'deletedAt')&&_0x2c3afa['uint32'](0x42)['string'](_0x3658bc['deletedAt']),null!=_0x3658bc['attributes']&&Object['hasOwnProperty']['call'](_0x3658bc,'attributes')&&_0x2c3afa['uint32'](0x4a)['string'](_0x3658bc['attributes']),null!=_0x3658bc['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x3658bc,'unlinkedAt')&&_0x2c3afa['uint32'](0x52)['string'](_0x3658bc['unlinkedAt']),_0x2c3afa;},_0x5e7c3f['encodeDelimited']=function(_0x50b7e9,_0x4ec302){return this['encode'](_0x50b7e9,_0x4ec302)['ldelim']();},_0x5e7c3f['decode']=function(_0x274191,_0xd4db04,_0x471e23){_0x274191 instanceof _0x5743b9||(_0x274191=_0x5743b9['create'](_0x274191));for(var _0x48c5cb=void 0x0===_0xd4db04?_0x274191['len']:_0x274191['pos']+_0xd4db04,_0x1f0da6=new _0x45f2e9['CommentsV2GetCommentThreadResponse']();_0x274191['pos']<_0x48c5cb;){var _0x2c7436=_0x274191['uint32']();if(_0x2c7436===_0x471e23)break;switch(_0x2c7436>>>0x3){case 0x1:_0x1f0da6['commentThreadId']=_0x274191['string']();break;case 0x2:_0x1f0da6['comments']&&_0x1f0da6['comments']['length']||(_0x1f0da6['comments']=[]),_0x1f0da6['comments']['push'](_0x274191['string']());break;case 0x3:_0x1f0da6['commentsV2']&&_0x1f0da6['commentsV2']['length']||(_0x1f0da6['commentsV2']=[]),_0x1f0da6['commentsV2']['push'](_0x45f2e9['CommentDescriptor']['decode'](_0x274191,_0x274191['uint32']()));break;case 0x4:_0x1f0da6['resolvedAt']=_0x274191['string']();break;case 0x5:_0x1f0da6['resolvedBy']=_0x274191['string']();break;case 0x6:_0x1f0da6['context']=_0x274191['string']();break;case 0x7:_0x1f0da6['createdAt']=_0x274191['string']();break;case 0x8:_0x1f0da6['deletedAt']=_0x274191['string']();break;case 0x9:_0x1f0da6['attributes']=_0x274191['string']();break;case 0xa:_0x1f0da6['unlinkedAt']=_0x274191['string']();break;default:_0x274191['skipType'](0x7&_0x2c7436);}}return _0x1f0da6;},_0x5e7c3f['decodeDelimited']=function(_0xd48356){return _0xd48356 instanceof _0x5743b9||(_0xd48356=new _0x5743b9(_0xd48356)),this['decode'](_0xd48356,_0xd48356['uint32']());},_0x5e7c3f['verify']=function(_0x59b7ec){if('object'!=typeof _0x59b7ec||null===_0x59b7ec)return'object\x20expected';if(null!=_0x59b7ec['commentThreadId']&&_0x59b7ec['hasOwnProperty']('commentThreadId')&&!_0x596b78['isString'](_0x59b7ec['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x59b7ec['comments']&&_0x59b7ec['hasOwnProperty']('comments')){if(!Array['isArray'](_0x59b7ec['comments']))return'comments:\x20array\x20expected';for(var _0x924ded=0x0;_0x924ded<_0x59b7ec['comments']['length'];++_0x924ded)if(!_0x596b78['isString'](_0x59b7ec['comments'][_0x924ded]))return'comments:\x20string[]\x20expected';}if(null!=_0x59b7ec['commentsV2']&&_0x59b7ec['hasOwnProperty']('commentsV2')){if(!Array['isArray'](_0x59b7ec['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0x924ded=0x0;_0x924ded<_0x59b7ec['commentsV2']['length'];++_0x924ded){var _0x318776=_0x45f2e9['CommentDescriptor']['verify'](_0x59b7ec['commentsV2'][_0x924ded]);if(_0x318776)return'commentsV2.'+_0x318776;}}return null!=_0x59b7ec['resolvedAt']&&_0x59b7ec['hasOwnProperty']('resolvedAt')&&!_0x596b78['isString'](_0x59b7ec['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x59b7ec['resolvedBy']&&_0x59b7ec['hasOwnProperty']('resolvedBy')&&!_0x596b78['isString'](_0x59b7ec['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x59b7ec['context']&&_0x59b7ec['hasOwnProperty']('context')&&!_0x596b78['isString'](_0x59b7ec['context'])?'context:\x20string\x20expected':null!=_0x59b7ec['createdAt']&&_0x59b7ec['hasOwnProperty']('createdAt')&&!_0x596b78['isString'](_0x59b7ec['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x59b7ec['deletedAt']&&_0x59b7ec['hasOwnProperty']('deletedAt')&&!_0x596b78['isString'](_0x59b7ec['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x59b7ec['attributes']&&_0x59b7ec['hasOwnProperty']('attributes')&&!_0x596b78['isString'](_0x59b7ec['attributes'])?'attributes:\x20string\x20expected':null!=_0x59b7ec['unlinkedAt']&&_0x59b7ec['hasOwnProperty']('unlinkedAt')&&!_0x596b78['isString'](_0x59b7ec['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x5e7c3f['fromObject']=function(_0xa6f6d7){if(_0xa6f6d7 instanceof _0x45f2e9['CommentsV2GetCommentThreadResponse'])return _0xa6f6d7;var _0x16dd61=new _0x45f2e9['CommentsV2GetCommentThreadResponse']();if(null!=_0xa6f6d7['commentThreadId']&&(_0x16dd61['commentThreadId']=String(_0xa6f6d7['commentThreadId'])),_0xa6f6d7['comments']){if(!Array['isArray'](_0xa6f6d7['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x16dd61['comments']=[];for(var _0x3fde97=0x0;_0x3fde97<_0xa6f6d7['comments']['length'];++_0x3fde97)_0x16dd61['comments'][_0x3fde97]=String(_0xa6f6d7['comments'][_0x3fde97]);}if(_0xa6f6d7['commentsV2']){if(!Array['isArray'](_0xa6f6d7['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');for(_0x16dd61['commentsV2']=[],_0x3fde97=0x0;_0x3fde97<_0xa6f6d7['commentsV2']['length'];++_0x3fde97){if('object'!=typeof _0xa6f6d7['commentsV2'][_0x3fde97])throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x16dd61['commentsV2'][_0x3fde97]=_0x45f2e9['CommentDescriptor']['fromObject'](_0xa6f6d7['commentsV2'][_0x3fde97]);}}return null!=_0xa6f6d7['resolvedAt']&&(_0x16dd61['resolvedAt']=String(_0xa6f6d7['resolvedAt'])),null!=_0xa6f6d7['resolvedBy']&&(_0x16dd61['resolvedBy']=String(_0xa6f6d7['resolvedBy'])),null!=_0xa6f6d7['context']&&(_0x16dd61['context']=String(_0xa6f6d7['context'])),null!=_0xa6f6d7['createdAt']&&(_0x16dd61['createdAt']=String(_0xa6f6d7['createdAt'])),null!=_0xa6f6d7['deletedAt']&&(_0x16dd61['deletedAt']=String(_0xa6f6d7['deletedAt'])),null!=_0xa6f6d7['attributes']&&(_0x16dd61['attributes']=String(_0xa6f6d7['attributes'])),null!=_0xa6f6d7['unlinkedAt']&&(_0x16dd61['unlinkedAt']=String(_0xa6f6d7['unlinkedAt'])),_0x16dd61;},_0x5e7c3f['toObject']=function(_0x3f55ec,_0x16f93e){_0x16f93e||(_0x16f93e={});var _0x164281={};if((_0x16f93e['arrays']||_0x16f93e['defaults'])&&(_0x164281['comments']=[],_0x164281['commentsV2']=[]),_0x16f93e['defaults']&&(_0x164281['commentThreadId']='',_0x164281['resolvedAt']='',_0x164281['resolvedBy']='',_0x164281['context']='',_0x164281['createdAt']='',_0x164281['deletedAt']='',_0x164281['attributes']='',_0x164281['unlinkedAt']=''),null!=_0x3f55ec['commentThreadId']&&_0x3f55ec['hasOwnProperty']('commentThreadId')&&(_0x164281['commentThreadId']=_0x3f55ec['commentThreadId']),_0x3f55ec['comments']&&_0x3f55ec['comments']['length']){_0x164281['comments']=[];for(var _0x46b234=0x0;_0x46b234<_0x3f55ec['comments']['length'];++_0x46b234)_0x164281['comments'][_0x46b234]=_0x3f55ec['comments'][_0x46b234];}if(_0x3f55ec['commentsV2']&&_0x3f55ec['commentsV2']['length']){for(_0x164281['commentsV2']=[],_0x46b234=0x0;_0x46b234<_0x3f55ec['commentsV2']['length'];++_0x46b234)_0x164281['commentsV2'][_0x46b234]=_0x45f2e9['CommentDescriptor']['toObject'](_0x3f55ec['commentsV2'][_0x46b234],_0x16f93e);}return null!=_0x3f55ec['resolvedAt']&&_0x3f55ec['hasOwnProperty']('resolvedAt')&&(_0x164281['resolvedAt']=_0x3f55ec['resolvedAt']),null!=_0x3f55ec['resolvedBy']&&_0x3f55ec['hasOwnProperty']('resolvedBy')&&(_0x164281['resolvedBy']=_0x3f55ec['resolvedBy']),null!=_0x3f55ec['context']&&_0x3f55ec['hasOwnProperty']('context')&&(_0x164281['context']=_0x3f55ec['context']),null!=_0x3f55ec['createdAt']&&_0x3f55ec['hasOwnProperty']('createdAt')&&(_0x164281['createdAt']=_0x3f55ec['createdAt']),null!=_0x3f55ec['deletedAt']&&_0x3f55ec['hasOwnProperty']('deletedAt')&&(_0x164281['deletedAt']=_0x3f55ec['deletedAt']),null!=_0x3f55ec['attributes']&&_0x3f55ec['hasOwnProperty']('attributes')&&(_0x164281['attributes']=_0x3f55ec['attributes']),null!=_0x3f55ec['unlinkedAt']&&_0x3f55ec['hasOwnProperty']('unlinkedAt')&&(_0x164281['unlinkedAt']=_0x3f55ec['unlinkedAt']),_0x164281;},_0x5e7c3f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x5e7c3f['getTypeUrl']=function(_0x172a27){return void 0x0===_0x172a27&&(_0x172a27='type.googleapis.com'),_0x172a27+'/CommentsV2GetCommentThreadResponse';},_0x5e7c3f;}()),_0x45f2e9['CommentsV2ConnectResponse']=(function(){function _0x5e0b04(_0x25da91){if(this['threads']=[],this['threadsV2']=[],_0x25da91){for(var _0x415a13=Object['keys'](_0x25da91),_0x4abf37=0x0;_0x4abf37<_0x415a13['length'];++_0x4abf37)null!=_0x25da91[_0x415a13[_0x4abf37]]&&(this[_0x415a13[_0x4abf37]]=_0x25da91[_0x415a13[_0x4abf37]]);}}return _0x5e0b04['prototype']['channel']='',_0x5e0b04['prototype']['threads']=_0x596b78['emptyArray'],_0x5e0b04['prototype']['threadsV2']=_0x596b78['emptyArray'],_0x5e0b04['create']=function(_0x1ada46){return new _0x5e0b04(_0x1ada46);},_0x5e0b04['encode']=function(_0x3fe5a1,_0x3ac777){if(_0x3ac777||(_0x3ac777=_0x3a081['create']()),null!=_0x3fe5a1['channel']&&Object['hasOwnProperty']['call'](_0x3fe5a1,'channel')&&_0x3ac777['uint32'](0xa)['string'](_0x3fe5a1['channel']),null!=_0x3fe5a1['threads']&&_0x3fe5a1['threads']['length']){for(var _0x549619=0x0;_0x549619<_0x3fe5a1['threads']['length'];++_0x549619)_0x3ac777['uint32'](0x12)['string'](_0x3fe5a1['threads'][_0x549619]);}if(null!=_0x3fe5a1['threadsV2']&&_0x3fe5a1['threadsV2']['length']){for(_0x549619=0x0;_0x549619<_0x3fe5a1['threadsV2']['length'];++_0x549619)_0x45f2e9['CommentsThreadDescriptor']['encode'](_0x3fe5a1['threadsV2'][_0x549619],_0x3ac777['uint32'](0x1a)['fork']())['ldelim']();}return _0x3ac777;},_0x5e0b04['encodeDelimited']=function(_0x2bb883,_0x15cde1){return this['encode'](_0x2bb883,_0x15cde1)['ldelim']();},_0x5e0b04['decode']=function(_0x14e422,_0xc82c38,_0x548203){_0x14e422 instanceof _0x5743b9||(_0x14e422=_0x5743b9['create'](_0x14e422));for(var _0x55bec7=void 0x0===_0xc82c38?_0x14e422['len']:_0x14e422['pos']+_0xc82c38,_0x4b7523=new _0x45f2e9['CommentsV2ConnectResponse']();_0x14e422['pos']<_0x55bec7;){var _0x86e161=_0x14e422['uint32']();if(_0x86e161===_0x548203)break;switch(_0x86e161>>>0x3){case 0x1:_0x4b7523['channel']=_0x14e422['string']();break;case 0x2:_0x4b7523['threads']&&_0x4b7523['threads']['length']||(_0x4b7523['threads']=[]),_0x4b7523['threads']['push'](_0x14e422['string']());break;case 0x3:_0x4b7523['threadsV2']&&_0x4b7523['threadsV2']['length']||(_0x4b7523['threadsV2']=[]),_0x4b7523['threadsV2']['push'](_0x45f2e9['CommentsThreadDescriptor']['decode'](_0x14e422,_0x14e422['uint32']()));break;default:_0x14e422['skipType'](0x7&_0x86e161);}}return _0x4b7523;},_0x5e0b04['decodeDelimited']=function(_0x3ac3b8){return _0x3ac3b8 instanceof _0x5743b9||(_0x3ac3b8=new _0x5743b9(_0x3ac3b8)),this['decode'](_0x3ac3b8,_0x3ac3b8['uint32']());},_0x5e0b04['verify']=function(_0x307362){if('object'!=typeof _0x307362||null===_0x307362)return'object\x20expected';if(null!=_0x307362['channel']&&_0x307362['hasOwnProperty']('channel')&&!_0x596b78['isString'](_0x307362['channel']))return'channel:\x20string\x20expected';if(null!=_0x307362['threads']&&_0x307362['hasOwnProperty']('threads')){if(!Array['isArray'](_0x307362['threads']))return'threads:\x20array\x20expected';for(var _0x2c0662=0x0;_0x2c0662<_0x307362['threads']['length'];++_0x2c0662)if(!_0x596b78['isString'](_0x307362['threads'][_0x2c0662]))return'threads:\x20string[]\x20expected';}if(null!=_0x307362['threadsV2']&&_0x307362['hasOwnProperty']('threadsV2')){if(!Array['isArray'](_0x307362['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x2c0662=0x0;_0x2c0662<_0x307362['threadsV2']['length'];++_0x2c0662){var _0x37ac70=_0x45f2e9['CommentsThreadDescriptor']['verify'](_0x307362['threadsV2'][_0x2c0662]);if(_0x37ac70)return'threadsV2.'+_0x37ac70;}}return null;},_0x5e0b04['fromObject']=function(_0x30df8f){if(_0x30df8f instanceof _0x45f2e9['CommentsV2ConnectResponse'])return _0x30df8f;var _0x632b80=new _0x45f2e9['CommentsV2ConnectResponse']();if(null!=_0x30df8f['channel']&&(_0x632b80['channel']=String(_0x30df8f['channel'])),_0x30df8f['threads']){if(!Array['isArray'](_0x30df8f['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x632b80['threads']=[];for(var _0x5b3a48=0x0;_0x5b3a48<_0x30df8f['threads']['length'];++_0x5b3a48)_0x632b80['threads'][_0x5b3a48]=String(_0x30df8f['threads'][_0x5b3a48]);}if(_0x30df8f['threadsV2']){if(!Array['isArray'](_0x30df8f['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');for(_0x632b80['threadsV2']=[],_0x5b3a48=0x0;_0x5b3a48<_0x30df8f['threadsV2']['length'];++_0x5b3a48){if('object'!=typeof _0x30df8f['threadsV2'][_0x5b3a48])throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x632b80['threadsV2'][_0x5b3a48]=_0x45f2e9['CommentsThreadDescriptor']['fromObject'](_0x30df8f['threadsV2'][_0x5b3a48]);}}return _0x632b80;},_0x5e0b04['toObject']=function(_0x554ea0,_0x5e1c33){_0x5e1c33||(_0x5e1c33={});var _0x249c38={};if((_0x5e1c33['arrays']||_0x5e1c33['defaults'])&&(_0x249c38['threads']=[],_0x249c38['threadsV2']=[]),_0x5e1c33['defaults']&&(_0x249c38['channel']=''),null!=_0x554ea0['channel']&&_0x554ea0['hasOwnProperty']('channel')&&(_0x249c38['channel']=_0x554ea0['channel']),_0x554ea0['threads']&&_0x554ea0['threads']['length']){_0x249c38['threads']=[];for(var _0x58a936=0x0;_0x58a936<_0x554ea0['threads']['length'];++_0x58a936)_0x249c38['threads'][_0x58a936]=_0x554ea0['threads'][_0x58a936];}if(_0x554ea0['threadsV2']&&_0x554ea0['threadsV2']['length']){for(_0x249c38['threadsV2']=[],_0x58a936=0x0;_0x58a936<_0x554ea0['threadsV2']['length'];++_0x58a936)_0x249c38['threadsV2'][_0x58a936]=_0x45f2e9['CommentsThreadDescriptor']['toObject'](_0x554ea0['threadsV2'][_0x58a936],_0x5e1c33);}return _0x249c38;},_0x5e0b04['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x5e0b04['getTypeUrl']=function(_0x3a460f){return void 0x0===_0x3a460f&&(_0x3a460f='type.googleapis.com'),_0x3a460f+'/CommentsV2ConnectResponse';},_0x5e0b04;}()),_0x45f2e9['CommentsV2AddCommentResponse']=(function(){function _0x2fc02e(_0x439aea){if(_0x439aea){for(var _0x2bd4bf=Object['keys'](_0x439aea),_0x510cef=0x0;_0x510cef<_0x2bd4bf['length'];++_0x510cef)null!=_0x439aea[_0x2bd4bf[_0x510cef]]&&(this[_0x2bd4bf[_0x510cef]]=_0x439aea[_0x2bd4bf[_0x510cef]]);}}return _0x2fc02e['prototype']['commentThreadId']='',_0x2fc02e['prototype']['commentId']='',_0x2fc02e['prototype']['createdAt']='',_0x2fc02e['create']=function(_0x586dc3){return new _0x2fc02e(_0x586dc3);},_0x2fc02e['encode']=function(_0x261090,_0x3a522f){return _0x3a522f||(_0x3a522f=_0x3a081['create']()),null!=_0x261090['commentThreadId']&&Object['hasOwnProperty']['call'](_0x261090,'commentThreadId')&&_0x3a522f['uint32'](0xa)['string'](_0x261090['commentThreadId']),null!=_0x261090['commentId']&&Object['hasOwnProperty']['call'](_0x261090,'commentId')&&_0x3a522f['uint32'](0x12)['string'](_0x261090['commentId']),null!=_0x261090['createdAt']&&Object['hasOwnProperty']['call'](_0x261090,'createdAt')&&_0x3a522f['uint32'](0x1a)['string'](_0x261090['createdAt']),_0x3a522f;},_0x2fc02e['encodeDelimited']=function(_0x54f723,_0x9c0fa7){return this['encode'](_0x54f723,_0x9c0fa7)['ldelim']();},_0x2fc02e['decode']=function(_0x47e543,_0x3e5c3c,_0x41cbc2){_0x47e543 instanceof _0x5743b9||(_0x47e543=_0x5743b9['create'](_0x47e543));for(var _0x202fae=void 0x0===_0x3e5c3c?_0x47e543['len']:_0x47e543['pos']+_0x3e5c3c,_0x3dd236=new _0x45f2e9['CommentsV2AddCommentResponse']();_0x47e543['pos']<_0x202fae;){var _0x467b13=_0x47e543['uint32']();if(_0x467b13===_0x41cbc2)break;switch(_0x467b13>>>0x3){case 0x1:_0x3dd236['commentThreadId']=_0x47e543['string']();break;case 0x2:_0x3dd236['commentId']=_0x47e543['string']();break;case 0x3:_0x3dd236['createdAt']=_0x47e543['string']();break;default:_0x47e543['skipType'](0x7&_0x467b13);}}return _0x3dd236;},_0x2fc02e['decodeDelimited']=function(_0xab38b3){return _0xab38b3 instanceof _0x5743b9||(_0xab38b3=new _0x5743b9(_0xab38b3)),this['decode'](_0xab38b3,_0xab38b3['uint32']());},_0x2fc02e['verify']=function(_0x47e3fd){return'object'!=typeof _0x47e3fd||null===_0x47e3fd?'object\x20expected':null!=_0x47e3fd['commentThreadId']&&_0x47e3fd['hasOwnProperty']('commentThreadId')&&!_0x596b78['isString'](_0x47e3fd['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x47e3fd['commentId']&&_0x47e3fd['hasOwnProperty']('commentId')&&!_0x596b78['isString'](_0x47e3fd['commentId'])?'commentId:\x20string\x20expected':null!=_0x47e3fd['createdAt']&&_0x47e3fd['hasOwnProperty']('createdAt')&&!_0x596b78['isString'](_0x47e3fd['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x2fc02e['fromObject']=function(_0x381470){if(_0x381470 instanceof _0x45f2e9['CommentsV2AddCommentResponse'])return _0x381470;var _0x31e3b4=new _0x45f2e9['CommentsV2AddCommentResponse']();return null!=_0x381470['commentThreadId']&&(_0x31e3b4['commentThreadId']=String(_0x381470['commentThreadId'])),null!=_0x381470['commentId']&&(_0x31e3b4['commentId']=String(_0x381470['commentId'])),null!=_0x381470['createdAt']&&(_0x31e3b4['createdAt']=String(_0x381470['createdAt'])),_0x31e3b4;},_0x2fc02e['toObject']=function(_0xf4fd90,_0xd719ac){_0xd719ac||(_0xd719ac={});var _0x4a75e3={};return _0xd719ac['defaults']&&(_0x4a75e3['commentThreadId']='',_0x4a75e3['commentId']='',_0x4a75e3['createdAt']=''),null!=_0xf4fd90['commentThreadId']&&_0xf4fd90['hasOwnProperty']('commentThreadId')&&(_0x4a75e3['commentThreadId']=_0xf4fd90['commentThreadId']),null!=_0xf4fd90['commentId']&&_0xf4fd90['hasOwnProperty']('commentId')&&(_0x4a75e3['commentId']=_0xf4fd90['commentId']),null!=_0xf4fd90['createdAt']&&_0xf4fd90['hasOwnProperty']('createdAt')&&(_0x4a75e3['createdAt']=_0xf4fd90['createdAt']),_0x4a75e3;},_0x2fc02e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x2fc02e['getTypeUrl']=function(_0x1429e2){return void 0x0===_0x1429e2&&(_0x1429e2='type.googleapis.com'),_0x1429e2+'/CommentsV2AddCommentResponse';},_0x2fc02e;}()),_0x45f2e9['CommentsV2ResolveCommentThreadResponse']=(function(){function _0x570bab(_0x3f59f6){if(_0x3f59f6){for(var _0x8be5b8=Object['keys'](_0x3f59f6),_0x31127c=0x0;_0x31127c<_0x8be5b8['length'];++_0x31127c)null!=_0x3f59f6[_0x8be5b8[_0x31127c]]&&(this[_0x8be5b8[_0x31127c]]=_0x3f59f6[_0x8be5b8[_0x31127c]]);}}return _0x570bab['prototype']['commentThreadId']='',_0x570bab['prototype']['documentId']='',_0x570bab['prototype']['resolvedAt']='',_0x570bab['prototype']['resolvedBy']='',_0x570bab['create']=function(_0x3c74b7){return new _0x570bab(_0x3c74b7);},_0x570bab['encode']=function(_0x22da75,_0x2a409e){return _0x2a409e||(_0x2a409e=_0x3a081['create']()),null!=_0x22da75['commentThreadId']&&Object['hasOwnProperty']['call'](_0x22da75,'commentThreadId')&&_0x2a409e['uint32'](0xa)['string'](_0x22da75['commentThreadId']),null!=_0x22da75['documentId']&&Object['hasOwnProperty']['call'](_0x22da75,'documentId')&&_0x2a409e['uint32'](0x12)['string'](_0x22da75['documentId']),null!=_0x22da75['resolvedAt']&&Object['hasOwnProperty']['call'](_0x22da75,'resolvedAt')&&_0x2a409e['uint32'](0x1a)['string'](_0x22da75['resolvedAt']),null!=_0x22da75['resolvedBy']&&Object['hasOwnProperty']['call'](_0x22da75,'resolvedBy')&&_0x2a409e['uint32'](0x22)['string'](_0x22da75['resolvedBy']),_0x2a409e;},_0x570bab['encodeDelimited']=function(_0x4f62a0,_0x3088d0){return this['encode'](_0x4f62a0,_0x3088d0)['ldelim']();},_0x570bab['decode']=function(_0x23f36f,_0x4eaf2b,_0x42debf){_0x23f36f instanceof _0x5743b9||(_0x23f36f=_0x5743b9['create'](_0x23f36f));for(var _0x321624=void 0x0===_0x4eaf2b?_0x23f36f['len']:_0x23f36f['pos']+_0x4eaf2b,_0x3eb50a=new _0x45f2e9['CommentsV2ResolveCommentThreadResponse']();_0x23f36f['pos']<_0x321624;){var _0x43e8b6=_0x23f36f['uint32']();if(_0x43e8b6===_0x42debf)break;switch(_0x43e8b6>>>0x3){case 0x1:_0x3eb50a['commentThreadId']=_0x23f36f['string']();break;case 0x2:_0x3eb50a['documentId']=_0x23f36f['string']();break;case 0x3:_0x3eb50a['resolvedAt']=_0x23f36f['string']();break;case 0x4:_0x3eb50a['resolvedBy']=_0x23f36f['string']();break;default:_0x23f36f['skipType'](0x7&_0x43e8b6);}}return _0x3eb50a;},_0x570bab['decodeDelimited']=function(_0x1ae0f0){return _0x1ae0f0 instanceof _0x5743b9||(_0x1ae0f0=new _0x5743b9(_0x1ae0f0)),this['decode'](_0x1ae0f0,_0x1ae0f0['uint32']());},_0x570bab['verify']=function(_0xda1a50){return'object'!=typeof _0xda1a50||null===_0xda1a50?'object\x20expected':null!=_0xda1a50['commentThreadId']&&_0xda1a50['hasOwnProperty']('commentThreadId')&&!_0x596b78['isString'](_0xda1a50['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0xda1a50['documentId']&&_0xda1a50['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0xda1a50['documentId'])?'documentId:\x20string\x20expected':null!=_0xda1a50['resolvedAt']&&_0xda1a50['hasOwnProperty']('resolvedAt')&&!_0x596b78['isString'](_0xda1a50['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0xda1a50['resolvedBy']&&_0xda1a50['hasOwnProperty']('resolvedBy')&&!_0x596b78['isString'](_0xda1a50['resolvedBy'])?'resolvedBy:\x20string\x20expected':null;},_0x570bab['fromObject']=function(_0x104bc0){if(_0x104bc0 instanceof _0x45f2e9['CommentsV2ResolveCommentThreadResponse'])return _0x104bc0;var _0x5c23b5=new _0x45f2e9['CommentsV2ResolveCommentThreadResponse']();return null!=_0x104bc0['commentThreadId']&&(_0x5c23b5['commentThreadId']=String(_0x104bc0['commentThreadId'])),null!=_0x104bc0['documentId']&&(_0x5c23b5['documentId']=String(_0x104bc0['documentId'])),null!=_0x104bc0['resolvedAt']&&(_0x5c23b5['resolvedAt']=String(_0x104bc0['resolvedAt'])),null!=_0x104bc0['resolvedBy']&&(_0x5c23b5['resolvedBy']=String(_0x104bc0['resolvedBy'])),_0x5c23b5;},_0x570bab['toObject']=function(_0x48b727,_0x290100){_0x290100||(_0x290100={});var _0x40b47e={};return _0x290100['defaults']&&(_0x40b47e['commentThreadId']='',_0x40b47e['documentId']='',_0x40b47e['resolvedAt']='',_0x40b47e['resolvedBy']=''),null!=_0x48b727['commentThreadId']&&_0x48b727['hasOwnProperty']('commentThreadId')&&(_0x40b47e['commentThreadId']=_0x48b727['commentThreadId']),null!=_0x48b727['documentId']&&_0x48b727['hasOwnProperty']('documentId')&&(_0x40b47e['documentId']=_0x48b727['documentId']),null!=_0x48b727['resolvedAt']&&_0x48b727['hasOwnProperty']('resolvedAt')&&(_0x40b47e['resolvedAt']=_0x48b727['resolvedAt']),null!=_0x48b727['resolvedBy']&&_0x48b727['hasOwnProperty']('resolvedBy')&&(_0x40b47e['resolvedBy']=_0x48b727['resolvedBy']),_0x40b47e;},_0x570bab['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x570bab['getTypeUrl']=function(_0x43d84b){return void 0x0===_0x43d84b&&(_0x43d84b='type.googleapis.com'),_0x43d84b+'/CommentsV2ResolveCommentThreadResponse';},_0x570bab;}()),_0x45f2e9['CommentsV2AddCommentThreadResponse']=(function(){function _0x317eaf(_0x334abc){if(this['comments']=[],_0x334abc){for(var _0x127494=Object['keys'](_0x334abc),_0x2fa8d6=0x0;_0x2fa8d6<_0x127494['length'];++_0x2fa8d6)null!=_0x334abc[_0x127494[_0x2fa8d6]]&&(this[_0x127494[_0x2fa8d6]]=_0x334abc[_0x127494[_0x2fa8d6]]);}}return _0x317eaf['prototype']['commentThreadId']='',_0x317eaf['prototype']['createdAt']='',_0x317eaf['prototype']['comments']=_0x596b78['emptyArray'],_0x317eaf['create']=function(_0x219774){return new _0x317eaf(_0x219774);},_0x317eaf['encode']=function(_0x257183,_0x17bdac){if(_0x17bdac||(_0x17bdac=_0x3a081['create']()),null!=_0x257183['commentThreadId']&&Object['hasOwnProperty']['call'](_0x257183,'commentThreadId')&&_0x17bdac['uint32'](0xa)['string'](_0x257183['commentThreadId']),null!=_0x257183['createdAt']&&Object['hasOwnProperty']['call'](_0x257183,'createdAt')&&_0x17bdac['uint32'](0x12)['string'](_0x257183['createdAt']),null!=_0x257183['comments']&&_0x257183['comments']['length']){for(var _0x56f2ef=0x0;_0x56f2ef<_0x257183['comments']['length'];++_0x56f2ef)_0x45f2e9['CommentThreadAddedCommentDescriptor']['encode'](_0x257183['comments'][_0x56f2ef],_0x17bdac['uint32'](0x1a)['fork']())['ldelim']();}return _0x17bdac;},_0x317eaf['encodeDelimited']=function(_0xff139d,_0xf1688){return this['encode'](_0xff139d,_0xf1688)['ldelim']();},_0x317eaf['decode']=function(_0x19c3ab,_0x70c009,_0x43a1c8){_0x19c3ab instanceof _0x5743b9||(_0x19c3ab=_0x5743b9['create'](_0x19c3ab));for(var _0x43bca3=void 0x0===_0x70c009?_0x19c3ab['len']:_0x19c3ab['pos']+_0x70c009,_0x4c557d=new _0x45f2e9['CommentsV2AddCommentThreadResponse']();_0x19c3ab['pos']<_0x43bca3;){var _0x53197a=_0x19c3ab['uint32']();if(_0x53197a===_0x43a1c8)break;switch(_0x53197a>>>0x3){case 0x1:_0x4c557d['commentThreadId']=_0x19c3ab['string']();break;case 0x2:_0x4c557d['createdAt']=_0x19c3ab['string']();break;case 0x3:_0x4c557d['comments']&&_0x4c557d['comments']['length']||(_0x4c557d['comments']=[]),_0x4c557d['comments']['push'](_0x45f2e9['CommentThreadAddedCommentDescriptor']['decode'](_0x19c3ab,_0x19c3ab['uint32']()));break;default:_0x19c3ab['skipType'](0x7&_0x53197a);}}return _0x4c557d;},_0x317eaf['decodeDelimited']=function(_0x5cf2fc){return _0x5cf2fc instanceof _0x5743b9||(_0x5cf2fc=new _0x5743b9(_0x5cf2fc)),this['decode'](_0x5cf2fc,_0x5cf2fc['uint32']());},_0x317eaf['verify']=function(_0x4fa06e){if('object'!=typeof _0x4fa06e||null===_0x4fa06e)return'object\x20expected';if(null!=_0x4fa06e['commentThreadId']&&_0x4fa06e['hasOwnProperty']('commentThreadId')&&!_0x596b78['isString'](_0x4fa06e['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x4fa06e['createdAt']&&_0x4fa06e['hasOwnProperty']('createdAt')&&!_0x596b78['isString'](_0x4fa06e['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x4fa06e['comments']&&_0x4fa06e['hasOwnProperty']('comments')){if(!Array['isArray'](_0x4fa06e['comments']))return'comments:\x20array\x20expected';for(var _0x5d7912=0x0;_0x5d7912<_0x4fa06e['comments']['length'];++_0x5d7912){var _0x341b21=_0x45f2e9['CommentThreadAddedCommentDescriptor']['verify'](_0x4fa06e['comments'][_0x5d7912]);if(_0x341b21)return'comments.'+_0x341b21;}}return null;},_0x317eaf['fromObject']=function(_0x4408c4){if(_0x4408c4 instanceof _0x45f2e9['CommentsV2AddCommentThreadResponse'])return _0x4408c4;var _0x1942c1=new _0x45f2e9['CommentsV2AddCommentThreadResponse']();if(null!=_0x4408c4['commentThreadId']&&(_0x1942c1['commentThreadId']=String(_0x4408c4['commentThreadId'])),null!=_0x4408c4['createdAt']&&(_0x1942c1['createdAt']=String(_0x4408c4['createdAt'])),_0x4408c4['comments']){if(!Array['isArray'](_0x4408c4['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0x1942c1['comments']=[];for(var _0x581d96=0x0;_0x581d96<_0x4408c4['comments']['length'];++_0x581d96){if('object'!=typeof _0x4408c4['comments'][_0x581d96])throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0x1942c1['comments'][_0x581d96]=_0x45f2e9['CommentThreadAddedCommentDescriptor']['fromObject'](_0x4408c4['comments'][_0x581d96]);}}return _0x1942c1;},_0x317eaf['toObject']=function(_0x589797,_0x3b1a53){_0x3b1a53||(_0x3b1a53={});var _0x46cf0a={};if((_0x3b1a53['arrays']||_0x3b1a53['defaults'])&&(_0x46cf0a['comments']=[]),_0x3b1a53['defaults']&&(_0x46cf0a['commentThreadId']='',_0x46cf0a['createdAt']=''),null!=_0x589797['commentThreadId']&&_0x589797['hasOwnProperty']('commentThreadId')&&(_0x46cf0a['commentThreadId']=_0x589797['commentThreadId']),null!=_0x589797['createdAt']&&_0x589797['hasOwnProperty']('createdAt')&&(_0x46cf0a['createdAt']=_0x589797['createdAt']),_0x589797['comments']&&_0x589797['comments']['length']){_0x46cf0a['comments']=[];for(var _0x1324f4=0x0;_0x1324f4<_0x589797['comments']['length'];++_0x1324f4)_0x46cf0a['comments'][_0x1324f4]=_0x45f2e9['CommentThreadAddedCommentDescriptor']['toObject'](_0x589797['comments'][_0x1324f4],_0x3b1a53);}return _0x46cf0a;},_0x317eaf['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x317eaf['getTypeUrl']=function(_0x1afa37){return void 0x0===_0x1afa37&&(_0x1afa37='type.googleapis.com'),_0x1afa37+'/CommentsV2AddCommentThreadResponse';},_0x317eaf;}()),_0x45f2e9['CommentsV2UpdateCommentMessage']=(function(){function _0x1a7e9e(_0x2e2692){if(_0x2e2692){for(var _0x207e86=Object['keys'](_0x2e2692),_0x1f28f0=0x0;_0x1f28f0<_0x207e86['length'];++_0x1f28f0)null!=_0x2e2692[_0x207e86[_0x1f28f0]]&&(this[_0x207e86[_0x1f28f0]]=_0x2e2692[_0x207e86[_0x1f28f0]]);}}return _0x1a7e9e['prototype']['commentThreadId']='',_0x1a7e9e['prototype']['commentId']='',_0x1a7e9e['prototype']['content']='',_0x1a7e9e['prototype']['documentId']='',_0x1a7e9e['prototype']['attributes']='',_0x1a7e9e['prototype']['isAttributesUpdated']=!0x1,_0x1a7e9e['prototype']['commentThread']=null,_0x1a7e9e['create']=function(_0x1e5001){return new _0x1a7e9e(_0x1e5001);},_0x1a7e9e['encode']=function(_0x2242f0,_0x541c24){return _0x541c24||(_0x541c24=_0x3a081['create']()),null!=_0x2242f0['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2242f0,'commentThreadId')&&_0x541c24['uint32'](0xa)['string'](_0x2242f0['commentThreadId']),null!=_0x2242f0['commentId']&&Object['hasOwnProperty']['call'](_0x2242f0,'commentId')&&_0x541c24['uint32'](0x12)['string'](_0x2242f0['commentId']),null!=_0x2242f0['content']&&Object['hasOwnProperty']['call'](_0x2242f0,'content')&&_0x541c24['uint32'](0x1a)['string'](_0x2242f0['content']),null!=_0x2242f0['documentId']&&Object['hasOwnProperty']['call'](_0x2242f0,'documentId')&&_0x541c24['uint32'](0x22)['string'](_0x2242f0['documentId']),null!=_0x2242f0['attributes']&&Object['hasOwnProperty']['call'](_0x2242f0,'attributes')&&_0x541c24['uint32'](0x2a)['string'](_0x2242f0['attributes']),null!=_0x2242f0['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x2242f0,'isAttributesUpdated')&&_0x541c24['uint32'](0x30)['bool'](_0x2242f0['isAttributesUpdated']),null!=_0x2242f0['commentThread']&&Object['hasOwnProperty']['call'](_0x2242f0,'commentThread')&&_0x45f2e9['CommentsThreadDescriptor']['encode'](_0x2242f0['commentThread'],_0x541c24['uint32'](0x3a)['fork']())['ldelim'](),_0x541c24;},_0x1a7e9e['encodeDelimited']=function(_0x5200b2,_0x30182a){return this['encode'](_0x5200b2,_0x30182a)['ldelim']();},_0x1a7e9e['decode']=function(_0x25bd15,_0x3377bc,_0x5cd736){_0x25bd15 instanceof _0x5743b9||(_0x25bd15=_0x5743b9['create'](_0x25bd15));for(var _0x54ea17=void 0x0===_0x3377bc?_0x25bd15['len']:_0x25bd15['pos']+_0x3377bc,_0x2071fb=new _0x45f2e9['CommentsV2UpdateCommentMessage']();_0x25bd15['pos']<_0x54ea17;){var _0x4aa5d5=_0x25bd15['uint32']();if(_0x4aa5d5===_0x5cd736)break;switch(_0x4aa5d5>>>0x3){case 0x1:_0x2071fb['commentThreadId']=_0x25bd15['string']();break;case 0x2:_0x2071fb['commentId']=_0x25bd15['string']();break;case 0x3:_0x2071fb['content']=_0x25bd15['string']();break;case 0x4:_0x2071fb['documentId']=_0x25bd15['string']();break;case 0x5:_0x2071fb['attributes']=_0x25bd15['string']();break;case 0x6:_0x2071fb['isAttributesUpdated']=_0x25bd15['bool']();break;case 0x7:_0x2071fb['commentThread']=_0x45f2e9['CommentsThreadDescriptor']['decode'](_0x25bd15,_0x25bd15['uint32']());break;default:_0x25bd15['skipType'](0x7&_0x4aa5d5);}}return _0x2071fb;},_0x1a7e9e['decodeDelimited']=function(_0x5ce5d1){return _0x5ce5d1 instanceof _0x5743b9||(_0x5ce5d1=new _0x5743b9(_0x5ce5d1)),this['decode'](_0x5ce5d1,_0x5ce5d1['uint32']());},_0x1a7e9e['verify']=function(_0x3e62d2){if('object'!=typeof _0x3e62d2||null===_0x3e62d2)return'object\x20expected';if(null!=_0x3e62d2['commentThreadId']&&_0x3e62d2['hasOwnProperty']('commentThreadId')&&!_0x596b78['isString'](_0x3e62d2['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3e62d2['commentId']&&_0x3e62d2['hasOwnProperty']('commentId')&&!_0x596b78['isString'](_0x3e62d2['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x3e62d2['content']&&_0x3e62d2['hasOwnProperty']('content')&&!_0x596b78['isString'](_0x3e62d2['content']))return'content:\x20string\x20expected';if(null!=_0x3e62d2['documentId']&&_0x3e62d2['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0x3e62d2['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x3e62d2['attributes']&&_0x3e62d2['hasOwnProperty']('attributes')&&!_0x596b78['isString'](_0x3e62d2['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x3e62d2['isAttributesUpdated']&&_0x3e62d2['hasOwnProperty']('isAttributesUpdated')&&'boolean'!=typeof _0x3e62d2['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0x3e62d2['commentThread']&&_0x3e62d2['hasOwnProperty']('commentThread')){var _0x173be0=_0x45f2e9['CommentsThreadDescriptor']['verify'](_0x3e62d2['commentThread']);if(_0x173be0)return'commentThread.'+_0x173be0;}return null;},_0x1a7e9e['fromObject']=function(_0x1ea7f8){if(_0x1ea7f8 instanceof _0x45f2e9['CommentsV2UpdateCommentMessage'])return _0x1ea7f8;var _0x5e466b=new _0x45f2e9['CommentsV2UpdateCommentMessage']();if(null!=_0x1ea7f8['commentThreadId']&&(_0x5e466b['commentThreadId']=String(_0x1ea7f8['commentThreadId'])),null!=_0x1ea7f8['commentId']&&(_0x5e466b['commentId']=String(_0x1ea7f8['commentId'])),null!=_0x1ea7f8['content']&&(_0x5e466b['content']=String(_0x1ea7f8['content'])),null!=_0x1ea7f8['documentId']&&(_0x5e466b['documentId']=String(_0x1ea7f8['documentId'])),null!=_0x1ea7f8['attributes']&&(_0x5e466b['attributes']=String(_0x1ea7f8['attributes'])),null!=_0x1ea7f8['isAttributesUpdated']&&(_0x5e466b['isAttributesUpdated']=Boolean(_0x1ea7f8['isAttributesUpdated'])),null!=_0x1ea7f8['commentThread']){if('object'!=typeof _0x1ea7f8['commentThread'])throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0x5e466b['commentThread']=_0x45f2e9['CommentsThreadDescriptor']['fromObject'](_0x1ea7f8['commentThread']);}return _0x5e466b;},_0x1a7e9e['toObject']=function(_0x42af03,_0x192873){_0x192873||(_0x192873={});var _0x362138={};return _0x192873['defaults']&&(_0x362138['commentThreadId']='',_0x362138['commentId']='',_0x362138['content']='',_0x362138['documentId']='',_0x362138['attributes']='',_0x362138['isAttributesUpdated']=!0x1,_0x362138['commentThread']=null),null!=_0x42af03['commentThreadId']&&_0x42af03['hasOwnProperty']('commentThreadId')&&(_0x362138['commentThreadId']=_0x42af03['commentThreadId']),null!=_0x42af03['commentId']&&_0x42af03['hasOwnProperty']('commentId')&&(_0x362138['commentId']=_0x42af03['commentId']),null!=_0x42af03['content']&&_0x42af03['hasOwnProperty']('content')&&(_0x362138['content']=_0x42af03['content']),null!=_0x42af03['documentId']&&_0x42af03['hasOwnProperty']('documentId')&&(_0x362138['documentId']=_0x42af03['documentId']),null!=_0x42af03['attributes']&&_0x42af03['hasOwnProperty']('attributes')&&(_0x362138['attributes']=_0x42af03['attributes']),null!=_0x42af03['isAttributesUpdated']&&_0x42af03['hasOwnProperty']('isAttributesUpdated')&&(_0x362138['isAttributesUpdated']=_0x42af03['isAttributesUpdated']),null!=_0x42af03['commentThread']&&_0x42af03['hasOwnProperty']('commentThread')&&(_0x362138['commentThread']=_0x45f2e9['CommentsThreadDescriptor']['toObject'](_0x42af03['commentThread'],_0x192873)),_0x362138;},_0x1a7e9e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x1a7e9e['getTypeUrl']=function(_0x1eb0fa){return void 0x0===_0x1eb0fa&&(_0x1eb0fa='type.googleapis.com'),_0x1eb0fa+'/CommentsV2UpdateCommentMessage';},_0x1a7e9e;}()),_0x45f2e9['CommentsV2RemoveCommentThreadMessage']=(function(){function _0x1a7649(_0x423459){if(_0x423459){for(var _0xf3629e=Object['keys'](_0x423459),_0xc548a6=0x0;_0xc548a6<_0xf3629e['length'];++_0xc548a6)null!=_0x423459[_0xf3629e[_0xc548a6]]&&(this[_0xf3629e[_0xc548a6]]=_0x423459[_0xf3629e[_0xc548a6]]);}}return _0x1a7649['prototype']['commentThreadId']='',_0x1a7649['prototype']['documentId']='',_0x1a7649['create']=function(_0x25bc00){return new _0x1a7649(_0x25bc00);},_0x1a7649['encode']=function(_0x2eff6e,_0x27c20f){return _0x27c20f||(_0x27c20f=_0x3a081['create']()),null!=_0x2eff6e['commentThreadId']&&Object['hasOwnProperty']['call'](_0x2eff6e,'commentThreadId')&&_0x27c20f['uint32'](0xa)['string'](_0x2eff6e['commentThreadId']),null!=_0x2eff6e['documentId']&&Object['hasOwnProperty']['call'](_0x2eff6e,'documentId')&&_0x27c20f['uint32'](0x12)['string'](_0x2eff6e['documentId']),_0x27c20f;},_0x1a7649['encodeDelimited']=function(_0x12bd0f,_0x314456){return this['encode'](_0x12bd0f,_0x314456)['ldelim']();},_0x1a7649['decode']=function(_0xe1d92e,_0x328a46,_0x47fafb){_0xe1d92e instanceof _0x5743b9||(_0xe1d92e=_0x5743b9['create'](_0xe1d92e));for(var _0x17692f=void 0x0===_0x328a46?_0xe1d92e['len']:_0xe1d92e['pos']+_0x328a46,_0x3239aa=new _0x45f2e9['CommentsV2RemoveCommentThreadMessage']();_0xe1d92e['pos']<_0x17692f;){var _0xf1f692=_0xe1d92e['uint32']();if(_0xf1f692===_0x47fafb)break;switch(_0xf1f692>>>0x3){case 0x1:_0x3239aa['commentThreadId']=_0xe1d92e['string']();break;case 0x2:_0x3239aa['documentId']=_0xe1d92e['string']();break;default:_0xe1d92e['skipType'](0x7&_0xf1f692);}}return _0x3239aa;},_0x1a7649['decodeDelimited']=function(_0xe4ab2b){return _0xe4ab2b instanceof _0x5743b9||(_0xe4ab2b=new _0x5743b9(_0xe4ab2b)),this['decode'](_0xe4ab2b,_0xe4ab2b['uint32']());},_0x1a7649['verify']=function(_0x39a5f2){return'object'!=typeof _0x39a5f2||null===_0x39a5f2?'object\x20expected':null!=_0x39a5f2['commentThreadId']&&_0x39a5f2['hasOwnProperty']('commentThreadId')&&!_0x596b78['isString'](_0x39a5f2['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x39a5f2['documentId']&&_0x39a5f2['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0x39a5f2['documentId'])?'documentId:\x20string\x20expected':null;},_0x1a7649['fromObject']=function(_0x1b8e36){if(_0x1b8e36 instanceof _0x45f2e9['CommentsV2RemoveCommentThreadMessage'])return _0x1b8e36;var _0xe8bbf0=new _0x45f2e9['CommentsV2RemoveCommentThreadMessage']();return null!=_0x1b8e36['commentThreadId']&&(_0xe8bbf0['commentThreadId']=String(_0x1b8e36['commentThreadId'])),null!=_0x1b8e36['documentId']&&(_0xe8bbf0['documentId']=String(_0x1b8e36['documentId'])),_0xe8bbf0;},_0x1a7649['toObject']=function(_0x2f016d,_0x23865d){_0x23865d||(_0x23865d={});var _0x4488ea={};return _0x23865d['defaults']&&(_0x4488ea['commentThreadId']='',_0x4488ea['documentId']=''),null!=_0x2f016d['commentThreadId']&&_0x2f016d['hasOwnProperty']('commentThreadId')&&(_0x4488ea['commentThreadId']=_0x2f016d['commentThreadId']),null!=_0x2f016d['documentId']&&_0x2f016d['hasOwnProperty']('documentId')&&(_0x4488ea['documentId']=_0x2f016d['documentId']),_0x4488ea;},_0x1a7649['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x1a7649['getTypeUrl']=function(_0x3c685b){return void 0x0===_0x3c685b&&(_0x3c685b='type.googleapis.com'),_0x3c685b+'/CommentsV2RemoveCommentThreadMessage';},_0x1a7649;}()),_0x45f2e9['CommentsV2RemoveCommentMessage']=(function(){function _0x356c30(_0x4f778e){if(_0x4f778e){for(var _0x58a5c7=Object['keys'](_0x4f778e),_0x4c07d5=0x0;_0x4c07d5<_0x58a5c7['length'];++_0x4c07d5)null!=_0x4f778e[_0x58a5c7[_0x4c07d5]]&&(this[_0x58a5c7[_0x4c07d5]]=_0x4f778e[_0x58a5c7[_0x4c07d5]]);}}return _0x356c30['prototype']['commentThreadId']='',_0x356c30['prototype']['commentId']='',_0x356c30['prototype']['documentId']='',_0x356c30['create']=function(_0x7a0ed0){return new _0x356c30(_0x7a0ed0);},_0x356c30['encode']=function(_0x1c82e9,_0xb19771){return _0xb19771||(_0xb19771=_0x3a081['create']()),null!=_0x1c82e9['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1c82e9,'commentThreadId')&&_0xb19771['uint32'](0xa)['string'](_0x1c82e9['commentThreadId']),null!=_0x1c82e9['commentId']&&Object['hasOwnProperty']['call'](_0x1c82e9,'commentId')&&_0xb19771['uint32'](0x12)['string'](_0x1c82e9['commentId']),null!=_0x1c82e9['documentId']&&Object['hasOwnProperty']['call'](_0x1c82e9,'documentId')&&_0xb19771['uint32'](0x1a)['string'](_0x1c82e9['documentId']),_0xb19771;},_0x356c30['encodeDelimited']=function(_0x374c62,_0x126f1){return this['encode'](_0x374c62,_0x126f1)['ldelim']();},_0x356c30['decode']=function(_0x90aab7,_0x4c40d4,_0x130f3a){_0x90aab7 instanceof _0x5743b9||(_0x90aab7=_0x5743b9['create'](_0x90aab7));for(var _0xee9c14=void 0x0===_0x4c40d4?_0x90aab7['len']:_0x90aab7['pos']+_0x4c40d4,_0xaf5b52=new _0x45f2e9['CommentsV2RemoveCommentMessage']();_0x90aab7['pos']<_0xee9c14;){var _0xb8ed18=_0x90aab7['uint32']();if(_0xb8ed18===_0x130f3a)break;switch(_0xb8ed18>>>0x3){case 0x1:_0xaf5b52['commentThreadId']=_0x90aab7['string']();break;case 0x2:_0xaf5b52['commentId']=_0x90aab7['string']();break;case 0x3:_0xaf5b52['documentId']=_0x90aab7['string']();break;default:_0x90aab7['skipType'](0x7&_0xb8ed18);}}return _0xaf5b52;},_0x356c30['decodeDelimited']=function(_0x29ea4f){return _0x29ea4f instanceof _0x5743b9||(_0x29ea4f=new _0x5743b9(_0x29ea4f)),this['decode'](_0x29ea4f,_0x29ea4f['uint32']());},_0x356c30['verify']=function(_0x232715){return'object'!=typeof _0x232715||null===_0x232715?'object\x20expected':null!=_0x232715['commentThreadId']&&_0x232715['hasOwnProperty']('commentThreadId')&&!_0x596b78['isString'](_0x232715['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x232715['commentId']&&_0x232715['hasOwnProperty']('commentId')&&!_0x596b78['isString'](_0x232715['commentId'])?'commentId:\x20string\x20expected':null!=_0x232715['documentId']&&_0x232715['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0x232715['documentId'])?'documentId:\x20string\x20expected':null;},_0x356c30['fromObject']=function(_0x292fb8){if(_0x292fb8 instanceof _0x45f2e9['CommentsV2RemoveCommentMessage'])return _0x292fb8;var _0xc22fc9=new _0x45f2e9['CommentsV2RemoveCommentMessage']();return null!=_0x292fb8['commentThreadId']&&(_0xc22fc9['commentThreadId']=String(_0x292fb8['commentThreadId'])),null!=_0x292fb8['commentId']&&(_0xc22fc9['commentId']=String(_0x292fb8['commentId'])),null!=_0x292fb8['documentId']&&(_0xc22fc9['documentId']=String(_0x292fb8['documentId'])),_0xc22fc9;},_0x356c30['toObject']=function(_0x3a5fd8,_0x3a03ca){_0x3a03ca||(_0x3a03ca={});var _0x4dc6c2={};return _0x3a03ca['defaults']&&(_0x4dc6c2['commentThreadId']='',_0x4dc6c2['commentId']='',_0x4dc6c2['documentId']=''),null!=_0x3a5fd8['commentThreadId']&&_0x3a5fd8['hasOwnProperty']('commentThreadId')&&(_0x4dc6c2['commentThreadId']=_0x3a5fd8['commentThreadId']),null!=_0x3a5fd8['commentId']&&_0x3a5fd8['hasOwnProperty']('commentId')&&(_0x4dc6c2['commentId']=_0x3a5fd8['commentId']),null!=_0x3a5fd8['documentId']&&_0x3a5fd8['hasOwnProperty']('documentId')&&(_0x4dc6c2['documentId']=_0x3a5fd8['documentId']),_0x4dc6c2;},_0x356c30['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x356c30['getTypeUrl']=function(_0x497e17){return void 0x0===_0x497e17&&(_0x497e17='type.googleapis.com'),_0x497e17+'/CommentsV2RemoveCommentMessage';},_0x356c30;}()),_0x45f2e9['CommentsV2GetDocumentThreadsMessage']=(function(){function _0x4361c1(_0x5b8745){if(_0x5b8745){for(var _0x543339=Object['keys'](_0x5b8745),_0x4ad5ea=0x0;_0x4ad5ea<_0x543339['length'];++_0x4ad5ea)null!=_0x5b8745[_0x543339[_0x4ad5ea]]&&(this[_0x543339[_0x4ad5ea]]=_0x5b8745[_0x543339[_0x4ad5ea]]);}}return _0x4361c1['prototype']['documentId']='',_0x4361c1['create']=function(_0x5ca51d){return new _0x4361c1(_0x5ca51d);},_0x4361c1['encode']=function(_0x1e7d03,_0x435302){return _0x435302||(_0x435302=_0x3a081['create']()),null!=_0x1e7d03['documentId']&&Object['hasOwnProperty']['call'](_0x1e7d03,'documentId')&&_0x435302['uint32'](0xa)['string'](_0x1e7d03['documentId']),_0x435302;},_0x4361c1['encodeDelimited']=function(_0x493ba1,_0x552f5c){return this['encode'](_0x493ba1,_0x552f5c)['ldelim']();},_0x4361c1['decode']=function(_0x55d4a6,_0xd756ad,_0xe69dca){_0x55d4a6 instanceof _0x5743b9||(_0x55d4a6=_0x5743b9['create'](_0x55d4a6));for(var _0x4c33b2=void 0x0===_0xd756ad?_0x55d4a6['len']:_0x55d4a6['pos']+_0xd756ad,_0x31b7bf=new _0x45f2e9['CommentsV2GetDocumentThreadsMessage']();_0x55d4a6['pos']<_0x4c33b2;){var _0x1ace46=_0x55d4a6['uint32']();if(_0x1ace46===_0xe69dca)break;_0x1ace46>>>0x3==0x1?_0x31b7bf['documentId']=_0x55d4a6['string']():_0x55d4a6['skipType'](0x7&_0x1ace46);}return _0x31b7bf;},_0x4361c1['decodeDelimited']=function(_0x4ce4db){return _0x4ce4db instanceof _0x5743b9||(_0x4ce4db=new _0x5743b9(_0x4ce4db)),this['decode'](_0x4ce4db,_0x4ce4db['uint32']());},_0x4361c1['verify']=function(_0x594834){return'object'!=typeof _0x594834||null===_0x594834?'object\x20expected':null!=_0x594834['documentId']&&_0x594834['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0x594834['documentId'])?'documentId:\x20string\x20expected':null;},_0x4361c1['fromObject']=function(_0x335010){if(_0x335010 instanceof _0x45f2e9['CommentsV2GetDocumentThreadsMessage'])return _0x335010;var _0x424d8f=new _0x45f2e9['CommentsV2GetDocumentThreadsMessage']();return null!=_0x335010['documentId']&&(_0x424d8f['documentId']=String(_0x335010['documentId'])),_0x424d8f;},_0x4361c1['toObject']=function(_0xa0a09e,_0x37f1a9){_0x37f1a9||(_0x37f1a9={});var _0x52dff8={};return _0x37f1a9['defaults']&&(_0x52dff8['documentId']=''),null!=_0xa0a09e['documentId']&&_0xa0a09e['hasOwnProperty']('documentId')&&(_0x52dff8['documentId']=_0xa0a09e['documentId']),_0x52dff8;},_0x4361c1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x4361c1['getTypeUrl']=function(_0x215aea){return void 0x0===_0x215aea&&(_0x215aea='type.googleapis.com'),_0x215aea+'/CommentsV2GetDocumentThreadsMessage';},_0x4361c1;}()),_0x45f2e9['CommentsV2GetCommentThreadMessage']=(function(){function _0x34476d(_0x528b7f){if(_0x528b7f){for(var _0x5cb288=Object['keys'](_0x528b7f),_0x369f1e=0x0;_0x369f1e<_0x5cb288['length'];++_0x369f1e)null!=_0x528b7f[_0x5cb288[_0x369f1e]]&&(this[_0x5cb288[_0x369f1e]]=_0x528b7f[_0x5cb288[_0x369f1e]]);}}return _0x34476d['prototype']['commentThreadId']='',_0x34476d['prototype']['documentId']='',_0x34476d['create']=function(_0x50b2a3){return new _0x34476d(_0x50b2a3);},_0x34476d['encode']=function(_0x47d5c2,_0x33825b){return _0x33825b||(_0x33825b=_0x3a081['create']()),null!=_0x47d5c2['commentThreadId']&&Object['hasOwnProperty']['call'](_0x47d5c2,'commentThreadId')&&_0x33825b['uint32'](0xa)['string'](_0x47d5c2['commentThreadId']),null!=_0x47d5c2['documentId']&&Object['hasOwnProperty']['call'](_0x47d5c2,'documentId')&&_0x33825b['uint32'](0x12)['string'](_0x47d5c2['documentId']),_0x33825b;},_0x34476d['encodeDelimited']=function(_0x5a4289,_0x1d2f00){return this['encode'](_0x5a4289,_0x1d2f00)['ldelim']();},_0x34476d['decode']=function(_0x4faf06,_0x4143c8,_0x49daa7){_0x4faf06 instanceof _0x5743b9||(_0x4faf06=_0x5743b9['create'](_0x4faf06));for(var _0xcaefa9=void 0x0===_0x4143c8?_0x4faf06['len']:_0x4faf06['pos']+_0x4143c8,_0x52c338=new _0x45f2e9['CommentsV2GetCommentThreadMessage']();_0x4faf06['pos']<_0xcaefa9;){var _0xc22fa0=_0x4faf06['uint32']();if(_0xc22fa0===_0x49daa7)break;switch(_0xc22fa0>>>0x3){case 0x1:_0x52c338['commentThreadId']=_0x4faf06['string']();break;case 0x2:_0x52c338['documentId']=_0x4faf06['string']();break;default:_0x4faf06['skipType'](0x7&_0xc22fa0);}}return _0x52c338;},_0x34476d['decodeDelimited']=function(_0x51bc51){return _0x51bc51 instanceof _0x5743b9||(_0x51bc51=new _0x5743b9(_0x51bc51)),this['decode'](_0x51bc51,_0x51bc51['uint32']());},_0x34476d['verify']=function(_0x435209){return'object'!=typeof _0x435209||null===_0x435209?'object\x20expected':null!=_0x435209['commentThreadId']&&_0x435209['hasOwnProperty']('commentThreadId')&&!_0x596b78['isString'](_0x435209['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x435209['documentId']&&_0x435209['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0x435209['documentId'])?'documentId:\x20string\x20expected':null;},_0x34476d['fromObject']=function(_0xbface){if(_0xbface instanceof _0x45f2e9['CommentsV2GetCommentThreadMessage'])return _0xbface;var _0x2bf2a8=new _0x45f2e9['CommentsV2GetCommentThreadMessage']();return null!=_0xbface['commentThreadId']&&(_0x2bf2a8['commentThreadId']=String(_0xbface['commentThreadId'])),null!=_0xbface['documentId']&&(_0x2bf2a8['documentId']=String(_0xbface['documentId'])),_0x2bf2a8;},_0x34476d['toObject']=function(_0x27cccb,_0x467666){_0x467666||(_0x467666={});var _0x42e88c={};return _0x467666['defaults']&&(_0x42e88c['commentThreadId']='',_0x42e88c['documentId']=''),null!=_0x27cccb['commentThreadId']&&_0x27cccb['hasOwnProperty']('commentThreadId')&&(_0x42e88c['commentThreadId']=_0x27cccb['commentThreadId']),null!=_0x27cccb['documentId']&&_0x27cccb['hasOwnProperty']('documentId')&&(_0x42e88c['documentId']=_0x27cccb['documentId']),_0x42e88c;},_0x34476d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x34476d['getTypeUrl']=function(_0x47fefa){return void 0x0===_0x47fefa&&(_0x47fefa='type.googleapis.com'),_0x47fefa+'/CommentsV2GetCommentThreadMessage';},_0x34476d;}()),_0x45f2e9['CommentsV2ConnectMessage']=(function(){function _0x4ce3b6(_0x179642){if(_0x179642){for(var _0x45e685=Object['keys'](_0x179642),_0x2f75f3=0x0;_0x2f75f3<_0x45e685['length'];++_0x2f75f3)null!=_0x179642[_0x45e685[_0x2f75f3]]&&(this[_0x45e685[_0x2f75f3]]=_0x179642[_0x45e685[_0x2f75f3]]);}}return _0x4ce3b6['prototype']['documentId']='',_0x4ce3b6['create']=function(_0x1bbc0b){return new _0x4ce3b6(_0x1bbc0b);},_0x4ce3b6['encode']=function(_0x4e9ba6,_0x5e820e){return _0x5e820e||(_0x5e820e=_0x3a081['create']()),null!=_0x4e9ba6['documentId']&&Object['hasOwnProperty']['call'](_0x4e9ba6,'documentId')&&_0x5e820e['uint32'](0xa)['string'](_0x4e9ba6['documentId']),_0x5e820e;},_0x4ce3b6['encodeDelimited']=function(_0x172f62,_0x2d1846){return this['encode'](_0x172f62,_0x2d1846)['ldelim']();},_0x4ce3b6['decode']=function(_0x2e55f7,_0x109bad,_0x23d140){_0x2e55f7 instanceof _0x5743b9||(_0x2e55f7=_0x5743b9['create'](_0x2e55f7));for(var _0x561ccf=void 0x0===_0x109bad?_0x2e55f7['len']:_0x2e55f7['pos']+_0x109bad,_0x2530a8=new _0x45f2e9['CommentsV2ConnectMessage']();_0x2e55f7['pos']<_0x561ccf;){var _0x7cfba=_0x2e55f7['uint32']();if(_0x7cfba===_0x23d140)break;_0x7cfba>>>0x3==0x1?_0x2530a8['documentId']=_0x2e55f7['string']():_0x2e55f7['skipType'](0x7&_0x7cfba);}return _0x2530a8;},_0x4ce3b6['decodeDelimited']=function(_0x5e4ad2){return _0x5e4ad2 instanceof _0x5743b9||(_0x5e4ad2=new _0x5743b9(_0x5e4ad2)),this['decode'](_0x5e4ad2,_0x5e4ad2['uint32']());},_0x4ce3b6['verify']=function(_0x3e015b){return'object'!=typeof _0x3e015b||null===_0x3e015b?'object\x20expected':null!=_0x3e015b['documentId']&&_0x3e015b['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0x3e015b['documentId'])?'documentId:\x20string\x20expected':null;},_0x4ce3b6['fromObject']=function(_0x2f3efc){if(_0x2f3efc instanceof _0x45f2e9['CommentsV2ConnectMessage'])return _0x2f3efc;var _0x120405=new _0x45f2e9['CommentsV2ConnectMessage']();return null!=_0x2f3efc['documentId']&&(_0x120405['documentId']=String(_0x2f3efc['documentId'])),_0x120405;},_0x4ce3b6['toObject']=function(_0x595488,_0x2da475){_0x2da475||(_0x2da475={});var _0x1848e4={};return _0x2da475['defaults']&&(_0x1848e4['documentId']=''),null!=_0x595488['documentId']&&_0x595488['hasOwnProperty']('documentId')&&(_0x1848e4['documentId']=_0x595488['documentId']),_0x1848e4;},_0x4ce3b6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x4ce3b6['getTypeUrl']=function(_0x3a98f3){return void 0x0===_0x3a98f3&&(_0x3a98f3='type.googleapis.com'),_0x3a98f3+'/CommentsV2ConnectMessage';},_0x4ce3b6;}()),_0x45f2e9['CommentsV2AddCommentMessage']=(function(){function _0x131cf6(_0x38be47){if(_0x38be47){for(var _0x39e188=Object['keys'](_0x38be47),_0x39bb9b=0x0;_0x39bb9b<_0x39e188['length'];++_0x39bb9b)null!=_0x38be47[_0x39e188[_0x39bb9b]]&&(this[_0x39e188[_0x39bb9b]]=_0x38be47[_0x39e188[_0x39bb9b]]);}}return _0x131cf6['prototype']['commentThreadId']='',_0x131cf6['prototype']['content']='',_0x131cf6['prototype']['documentId']='',_0x131cf6['prototype']['commentId']='',_0x131cf6['prototype']['createdAt']='',_0x131cf6['prototype']['userId']='',_0x131cf6['prototype']['attributes']='',_0x131cf6['prototype']['commentThread']=null,_0x131cf6['create']=function(_0x34ce7c){return new _0x131cf6(_0x34ce7c);},_0x131cf6['encode']=function(_0x19f372,_0x18571c){return _0x18571c||(_0x18571c=_0x3a081['create']()),null!=_0x19f372['commentThreadId']&&Object['hasOwnProperty']['call'](_0x19f372,'commentThreadId')&&_0x18571c['uint32'](0xa)['string'](_0x19f372['commentThreadId']),null!=_0x19f372['content']&&Object['hasOwnProperty']['call'](_0x19f372,'content')&&_0x18571c['uint32'](0x12)['string'](_0x19f372['content']),null!=_0x19f372['documentId']&&Object['hasOwnProperty']['call'](_0x19f372,'documentId')&&_0x18571c['uint32'](0x1a)['string'](_0x19f372['documentId']),null!=_0x19f372['commentId']&&Object['hasOwnProperty']['call'](_0x19f372,'commentId')&&_0x18571c['uint32'](0x22)['string'](_0x19f372['commentId']),null!=_0x19f372['createdAt']&&Object['hasOwnProperty']['call'](_0x19f372,'createdAt')&&_0x18571c['uint32'](0x2a)['string'](_0x19f372['createdAt']),null!=_0x19f372['userId']&&Object['hasOwnProperty']['call'](_0x19f372,'userId')&&_0x18571c['uint32'](0x32)['string'](_0x19f372['userId']),null!=_0x19f372['attributes']&&Object['hasOwnProperty']['call'](_0x19f372,'attributes')&&_0x18571c['uint32'](0x3a)['string'](_0x19f372['attributes']),null!=_0x19f372['commentThread']&&Object['hasOwnProperty']['call'](_0x19f372,'commentThread')&&_0x45f2e9['CommentsThreadDescriptor']['encode'](_0x19f372['commentThread'],_0x18571c['uint32'](0x42)['fork']())['ldelim'](),_0x18571c;},_0x131cf6['encodeDelimited']=function(_0x4ad39a,_0xada227){return this['encode'](_0x4ad39a,_0xada227)['ldelim']();},_0x131cf6['decode']=function(_0xcecf31,_0x42eabe,_0xfa52e1){_0xcecf31 instanceof _0x5743b9||(_0xcecf31=_0x5743b9['create'](_0xcecf31));for(var _0x171fbb=void 0x0===_0x42eabe?_0xcecf31['len']:_0xcecf31['pos']+_0x42eabe,_0x31912b=new _0x45f2e9['CommentsV2AddCommentMessage']();_0xcecf31['pos']<_0x171fbb;){var _0x1cd2a6=_0xcecf31['uint32']();if(_0x1cd2a6===_0xfa52e1)break;switch(_0x1cd2a6>>>0x3){case 0x1:_0x31912b['commentThreadId']=_0xcecf31['string']();break;case 0x2:_0x31912b['content']=_0xcecf31['string']();break;case 0x3:_0x31912b['documentId']=_0xcecf31['string']();break;case 0x4:_0x31912b['commentId']=_0xcecf31['string']();break;case 0x5:_0x31912b['createdAt']=_0xcecf31['string']();break;case 0x6:_0x31912b['userId']=_0xcecf31['string']();break;case 0x7:_0x31912b['attributes']=_0xcecf31['string']();break;case 0x8:_0x31912b['commentThread']=_0x45f2e9['CommentsThreadDescriptor']['decode'](_0xcecf31,_0xcecf31['uint32']());break;default:_0xcecf31['skipType'](0x7&_0x1cd2a6);}}return _0x31912b;},_0x131cf6['decodeDelimited']=function(_0x33a27b){return _0x33a27b instanceof _0x5743b9||(_0x33a27b=new _0x5743b9(_0x33a27b)),this['decode'](_0x33a27b,_0x33a27b['uint32']());},_0x131cf6['verify']=function(_0x4b7b2c){if('object'!=typeof _0x4b7b2c||null===_0x4b7b2c)return'object\x20expected';if(null!=_0x4b7b2c['commentThreadId']&&_0x4b7b2c['hasOwnProperty']('commentThreadId')&&!_0x596b78['isString'](_0x4b7b2c['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x4b7b2c['content']&&_0x4b7b2c['hasOwnProperty']('content')&&!_0x596b78['isString'](_0x4b7b2c['content']))return'content:\x20string\x20expected';if(null!=_0x4b7b2c['documentId']&&_0x4b7b2c['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0x4b7b2c['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x4b7b2c['commentId']&&_0x4b7b2c['hasOwnProperty']('commentId')&&!_0x596b78['isString'](_0x4b7b2c['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x4b7b2c['createdAt']&&_0x4b7b2c['hasOwnProperty']('createdAt')&&!_0x596b78['isString'](_0x4b7b2c['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x4b7b2c['userId']&&_0x4b7b2c['hasOwnProperty']('userId')&&!_0x596b78['isString'](_0x4b7b2c['userId']))return'userId:\x20string\x20expected';if(null!=_0x4b7b2c['attributes']&&_0x4b7b2c['hasOwnProperty']('attributes')&&!_0x596b78['isString'](_0x4b7b2c['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x4b7b2c['commentThread']&&_0x4b7b2c['hasOwnProperty']('commentThread')){var _0x27c318=_0x45f2e9['CommentsThreadDescriptor']['verify'](_0x4b7b2c['commentThread']);if(_0x27c318)return'commentThread.'+_0x27c318;}return null;},_0x131cf6['fromObject']=function(_0x97d99e){if(_0x97d99e instanceof _0x45f2e9['CommentsV2AddCommentMessage'])return _0x97d99e;var _0x3e7d0e=new _0x45f2e9['CommentsV2AddCommentMessage']();if(null!=_0x97d99e['commentThreadId']&&(_0x3e7d0e['commentThreadId']=String(_0x97d99e['commentThreadId'])),null!=_0x97d99e['content']&&(_0x3e7d0e['content']=String(_0x97d99e['content'])),null!=_0x97d99e['documentId']&&(_0x3e7d0e['documentId']=String(_0x97d99e['documentId'])),null!=_0x97d99e['commentId']&&(_0x3e7d0e['commentId']=String(_0x97d99e['commentId'])),null!=_0x97d99e['createdAt']&&(_0x3e7d0e['createdAt']=String(_0x97d99e['createdAt'])),null!=_0x97d99e['userId']&&(_0x3e7d0e['userId']=String(_0x97d99e['userId'])),null!=_0x97d99e['attributes']&&(_0x3e7d0e['attributes']=String(_0x97d99e['attributes'])),null!=_0x97d99e['commentThread']){if('object'!=typeof _0x97d99e['commentThread'])throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0x3e7d0e['commentThread']=_0x45f2e9['CommentsThreadDescriptor']['fromObject'](_0x97d99e['commentThread']);}return _0x3e7d0e;},_0x131cf6['toObject']=function(_0x289550,_0x2ce47){_0x2ce47||(_0x2ce47={});var _0x2a0978={};return _0x2ce47['defaults']&&(_0x2a0978['commentThreadId']='',_0x2a0978['content']='',_0x2a0978['documentId']='',_0x2a0978['commentId']='',_0x2a0978['createdAt']='',_0x2a0978['userId']='',_0x2a0978['attributes']='',_0x2a0978['commentThread']=null),null!=_0x289550['commentThreadId']&&_0x289550['hasOwnProperty']('commentThreadId')&&(_0x2a0978['commentThreadId']=_0x289550['commentThreadId']),null!=_0x289550['content']&&_0x289550['hasOwnProperty']('content')&&(_0x2a0978['content']=_0x289550['content']),null!=_0x289550['documentId']&&_0x289550['hasOwnProperty']('documentId')&&(_0x2a0978['documentId']=_0x289550['documentId']),null!=_0x289550['commentId']&&_0x289550['hasOwnProperty']('commentId')&&(_0x2a0978['commentId']=_0x289550['commentId']),null!=_0x289550['createdAt']&&_0x289550['hasOwnProperty']('createdAt')&&(_0x2a0978['createdAt']=_0x289550['createdAt']),null!=_0x289550['userId']&&_0x289550['hasOwnProperty']('userId')&&(_0x2a0978['userId']=_0x289550['userId']),null!=_0x289550['attributes']&&_0x289550['hasOwnProperty']('attributes')&&(_0x2a0978['attributes']=_0x289550['attributes']),null!=_0x289550['commentThread']&&_0x289550['hasOwnProperty']('commentThread')&&(_0x2a0978['commentThread']=_0x45f2e9['CommentsThreadDescriptor']['toObject'](_0x289550['commentThread'],_0x2ce47)),_0x2a0978;},_0x131cf6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x131cf6['getTypeUrl']=function(_0x4dc468){return void 0x0===_0x4dc468&&(_0x4dc468='type.googleapis.com'),_0x4dc468+'/CommentsV2AddCommentMessage';},_0x131cf6;}()),_0x45f2e9['CommentsV2UpdateCommentThreadMessage']=(function(){function _0x253dee(_0x9c0f90){if(_0x9c0f90){for(var _0x5d15e0=Object['keys'](_0x9c0f90),_0xf307fe=0x0;_0xf307fe<_0x5d15e0['length'];++_0xf307fe)null!=_0x9c0f90[_0x5d15e0[_0xf307fe]]&&(this[_0x5d15e0[_0xf307fe]]=_0x9c0f90[_0x5d15e0[_0xf307fe]]);}}return _0x253dee['prototype']['commentThreadId']='',_0x253dee['prototype']['documentId']='',_0x253dee['prototype']['context']='',_0x253dee['prototype']['attributes']='',_0x253dee['prototype']['unlinkedAt']='',_0x253dee['create']=function(_0x190ba1){return new _0x253dee(_0x190ba1);},_0x253dee['encode']=function(_0x5979d5,_0x18d06f){return _0x18d06f||(_0x18d06f=_0x3a081['create']()),null!=_0x5979d5['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5979d5,'commentThreadId')&&_0x18d06f['uint32'](0xa)['string'](_0x5979d5['commentThreadId']),null!=_0x5979d5['documentId']&&Object['hasOwnProperty']['call'](_0x5979d5,'documentId')&&_0x18d06f['uint32'](0x12)['string'](_0x5979d5['documentId']),null!=_0x5979d5['context']&&Object['hasOwnProperty']['call'](_0x5979d5,'context')&&_0x18d06f['uint32'](0x1a)['string'](_0x5979d5['context']),null!=_0x5979d5['attributes']&&Object['hasOwnProperty']['call'](_0x5979d5,'attributes')&&_0x18d06f['uint32'](0x22)['string'](_0x5979d5['attributes']),null!=_0x5979d5['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x5979d5,'unlinkedAt')&&_0x18d06f['uint32'](0x2a)['string'](_0x5979d5['unlinkedAt']),_0x18d06f;},_0x253dee['encodeDelimited']=function(_0x2c6bc4,_0x1f6f46){return this['encode'](_0x2c6bc4,_0x1f6f46)['ldelim']();},_0x253dee['decode']=function(_0x27ca1d,_0x212d6a,_0x35c205){_0x27ca1d instanceof _0x5743b9||(_0x27ca1d=_0x5743b9['create'](_0x27ca1d));for(var _0x33de65=void 0x0===_0x212d6a?_0x27ca1d['len']:_0x27ca1d['pos']+_0x212d6a,_0x5d3964=new _0x45f2e9['CommentsV2UpdateCommentThreadMessage']();_0x27ca1d['pos']<_0x33de65;){var _0x9d5bf6=_0x27ca1d['uint32']();if(_0x9d5bf6===_0x35c205)break;switch(_0x9d5bf6>>>0x3){case 0x1:_0x5d3964['commentThreadId']=_0x27ca1d['string']();break;case 0x2:_0x5d3964['documentId']=_0x27ca1d['string']();break;case 0x3:_0x5d3964['context']=_0x27ca1d['string']();break;case 0x4:_0x5d3964['attributes']=_0x27ca1d['string']();break;case 0x5:_0x5d3964['unlinkedAt']=_0x27ca1d['string']();break;default:_0x27ca1d['skipType'](0x7&_0x9d5bf6);}}return _0x5d3964;},_0x253dee['decodeDelimited']=function(_0x121e56){return _0x121e56 instanceof _0x5743b9||(_0x121e56=new _0x5743b9(_0x121e56)),this['decode'](_0x121e56,_0x121e56['uint32']());},_0x253dee['verify']=function(_0x8cd36b){return'object'!=typeof _0x8cd36b||null===_0x8cd36b?'object\x20expected':null!=_0x8cd36b['commentThreadId']&&_0x8cd36b['hasOwnProperty']('commentThreadId')&&!_0x596b78['isString'](_0x8cd36b['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x8cd36b['documentId']&&_0x8cd36b['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0x8cd36b['documentId'])?'documentId:\x20string\x20expected':null!=_0x8cd36b['context']&&_0x8cd36b['hasOwnProperty']('context')&&!_0x596b78['isString'](_0x8cd36b['context'])?'context:\x20string\x20expected':null!=_0x8cd36b['attributes']&&_0x8cd36b['hasOwnProperty']('attributes')&&!_0x596b78['isString'](_0x8cd36b['attributes'])?'attributes:\x20string\x20expected':null!=_0x8cd36b['unlinkedAt']&&_0x8cd36b['hasOwnProperty']('unlinkedAt')&&!_0x596b78['isString'](_0x8cd36b['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x253dee['fromObject']=function(_0x26bea8){if(_0x26bea8 instanceof _0x45f2e9['CommentsV2UpdateCommentThreadMessage'])return _0x26bea8;var _0x46d87c=new _0x45f2e9['CommentsV2UpdateCommentThreadMessage']();return null!=_0x26bea8['commentThreadId']&&(_0x46d87c['commentThreadId']=String(_0x26bea8['commentThreadId'])),null!=_0x26bea8['documentId']&&(_0x46d87c['documentId']=String(_0x26bea8['documentId'])),null!=_0x26bea8['context']&&(_0x46d87c['context']=String(_0x26bea8['context'])),null!=_0x26bea8['attributes']&&(_0x46d87c['attributes']=String(_0x26bea8['attributes'])),null!=_0x26bea8['unlinkedAt']&&(_0x46d87c['unlinkedAt']=String(_0x26bea8['unlinkedAt'])),_0x46d87c;},_0x253dee['toObject']=function(_0xc0af2e,_0x2b4bdb){_0x2b4bdb||(_0x2b4bdb={});var _0x31ec3a={};return _0x2b4bdb['defaults']&&(_0x31ec3a['commentThreadId']='',_0x31ec3a['documentId']='',_0x31ec3a['context']='',_0x31ec3a['attributes']='',_0x31ec3a['unlinkedAt']=''),null!=_0xc0af2e['commentThreadId']&&_0xc0af2e['hasOwnProperty']('commentThreadId')&&(_0x31ec3a['commentThreadId']=_0xc0af2e['commentThreadId']),null!=_0xc0af2e['documentId']&&_0xc0af2e['hasOwnProperty']('documentId')&&(_0x31ec3a['documentId']=_0xc0af2e['documentId']),null!=_0xc0af2e['context']&&_0xc0af2e['hasOwnProperty']('context')&&(_0x31ec3a['context']=_0xc0af2e['context']),null!=_0xc0af2e['attributes']&&_0xc0af2e['hasOwnProperty']('attributes')&&(_0x31ec3a['attributes']=_0xc0af2e['attributes']),null!=_0xc0af2e['unlinkedAt']&&_0xc0af2e['hasOwnProperty']('unlinkedAt')&&(_0x31ec3a['unlinkedAt']=_0xc0af2e['unlinkedAt']),_0x31ec3a;},_0x253dee['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x253dee['getTypeUrl']=function(_0x496d31){return void 0x0===_0x496d31&&(_0x496d31='type.googleapis.com'),_0x496d31+'/CommentsV2UpdateCommentThreadMessage';},_0x253dee;}()),_0x45f2e9['CommentsV2ResolveCommentThreadMessage']=(function(){function _0x1a226f(_0x42bc65){if(_0x42bc65){for(var _0x1c9f3b=Object['keys'](_0x42bc65),_0x17303f=0x0;_0x17303f<_0x1c9f3b['length'];++_0x17303f)null!=_0x42bc65[_0x1c9f3b[_0x17303f]]&&(this[_0x1c9f3b[_0x17303f]]=_0x42bc65[_0x1c9f3b[_0x17303f]]);}}return _0x1a226f['prototype']['commentThreadId']='',_0x1a226f['prototype']['documentId']='',_0x1a226f['prototype']['resolvedBy']='',_0x1a226f['prototype']['resolvedAt']='',_0x1a226f['create']=function(_0x184ef9){return new _0x1a226f(_0x184ef9);},_0x1a226f['encode']=function(_0x506b08,_0x461313){return _0x461313||(_0x461313=_0x3a081['create']()),null!=_0x506b08['commentThreadId']&&Object['hasOwnProperty']['call'](_0x506b08,'commentThreadId')&&_0x461313['uint32'](0xa)['string'](_0x506b08['commentThreadId']),null!=_0x506b08['documentId']&&Object['hasOwnProperty']['call'](_0x506b08,'documentId')&&_0x461313['uint32'](0x12)['string'](_0x506b08['documentId']),null!=_0x506b08['resolvedBy']&&Object['hasOwnProperty']['call'](_0x506b08,'resolvedBy')&&_0x461313['uint32'](0x1a)['string'](_0x506b08['resolvedBy']),null!=_0x506b08['resolvedAt']&&Object['hasOwnProperty']['call'](_0x506b08,'resolvedAt')&&_0x461313['uint32'](0x22)['string'](_0x506b08['resolvedAt']),_0x461313;},_0x1a226f['encodeDelimited']=function(_0x190c7b,_0x46994a){return this['encode'](_0x190c7b,_0x46994a)['ldelim']();},_0x1a226f['decode']=function(_0x3a144e,_0x25dc4a,_0x142b00){_0x3a144e instanceof _0x5743b9||(_0x3a144e=_0x5743b9['create'](_0x3a144e));for(var _0x34e6db=void 0x0===_0x25dc4a?_0x3a144e['len']:_0x3a144e['pos']+_0x25dc4a,_0x32dfe0=new _0x45f2e9['CommentsV2ResolveCommentThreadMessage']();_0x3a144e['pos']<_0x34e6db;){var _0x2c15e3=_0x3a144e['uint32']();if(_0x2c15e3===_0x142b00)break;switch(_0x2c15e3>>>0x3){case 0x1:_0x32dfe0['commentThreadId']=_0x3a144e['string']();break;case 0x2:_0x32dfe0['documentId']=_0x3a144e['string']();break;case 0x3:_0x32dfe0['resolvedBy']=_0x3a144e['string']();break;case 0x4:_0x32dfe0['resolvedAt']=_0x3a144e['string']();break;default:_0x3a144e['skipType'](0x7&_0x2c15e3);}}return _0x32dfe0;},_0x1a226f['decodeDelimited']=function(_0x18a242){return _0x18a242 instanceof _0x5743b9||(_0x18a242=new _0x5743b9(_0x18a242)),this['decode'](_0x18a242,_0x18a242['uint32']());},_0x1a226f['verify']=function(_0x4410e4){return'object'!=typeof _0x4410e4||null===_0x4410e4?'object\x20expected':null!=_0x4410e4['commentThreadId']&&_0x4410e4['hasOwnProperty']('commentThreadId')&&!_0x596b78['isString'](_0x4410e4['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x4410e4['documentId']&&_0x4410e4['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0x4410e4['documentId'])?'documentId:\x20string\x20expected':null!=_0x4410e4['resolvedBy']&&_0x4410e4['hasOwnProperty']('resolvedBy')&&!_0x596b78['isString'](_0x4410e4['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x4410e4['resolvedAt']&&_0x4410e4['hasOwnProperty']('resolvedAt')&&!_0x596b78['isString'](_0x4410e4['resolvedAt'])?'resolvedAt:\x20string\x20expected':null;},_0x1a226f['fromObject']=function(_0x1469cc){if(_0x1469cc instanceof _0x45f2e9['CommentsV2ResolveCommentThreadMessage'])return _0x1469cc;var _0x229281=new _0x45f2e9['CommentsV2ResolveCommentThreadMessage']();return null!=_0x1469cc['commentThreadId']&&(_0x229281['commentThreadId']=String(_0x1469cc['commentThreadId'])),null!=_0x1469cc['documentId']&&(_0x229281['documentId']=String(_0x1469cc['documentId'])),null!=_0x1469cc['resolvedBy']&&(_0x229281['resolvedBy']=String(_0x1469cc['resolvedBy'])),null!=_0x1469cc['resolvedAt']&&(_0x229281['resolvedAt']=String(_0x1469cc['resolvedAt'])),_0x229281;},_0x1a226f['toObject']=function(_0x57c966,_0x1c1fda){_0x1c1fda||(_0x1c1fda={});var _0x1f8fed={};return _0x1c1fda['defaults']&&(_0x1f8fed['commentThreadId']='',_0x1f8fed['documentId']='',_0x1f8fed['resolvedBy']='',_0x1f8fed['resolvedAt']=''),null!=_0x57c966['commentThreadId']&&_0x57c966['hasOwnProperty']('commentThreadId')&&(_0x1f8fed['commentThreadId']=_0x57c966['commentThreadId']),null!=_0x57c966['documentId']&&_0x57c966['hasOwnProperty']('documentId')&&(_0x1f8fed['documentId']=_0x57c966['documentId']),null!=_0x57c966['resolvedBy']&&_0x57c966['hasOwnProperty']('resolvedBy')&&(_0x1f8fed['resolvedBy']=_0x57c966['resolvedBy']),null!=_0x57c966['resolvedAt']&&_0x57c966['hasOwnProperty']('resolvedAt')&&(_0x1f8fed['resolvedAt']=_0x57c966['resolvedAt']),_0x1f8fed;},_0x1a226f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x1a226f['getTypeUrl']=function(_0x5a63be){return void 0x0===_0x5a63be&&(_0x5a63be='type.googleapis.com'),_0x5a63be+'/CommentsV2ResolveCommentThreadMessage';},_0x1a226f;}()),_0x45f2e9['CommentsV2ReopenCommentThreadMessage']=(function(){function _0x41f295(_0x2d4beb){if(_0x2d4beb){for(var _0x496394=Object['keys'](_0x2d4beb),_0x17b86b=0x0;_0x17b86b<_0x496394['length'];++_0x17b86b)null!=_0x2d4beb[_0x496394[_0x17b86b]]&&(this[_0x496394[_0x17b86b]]=_0x2d4beb[_0x496394[_0x17b86b]]);}}return _0x41f295['prototype']['commentThreadId']='',_0x41f295['prototype']['documentId']='',_0x41f295['create']=function(_0x250531){return new _0x41f295(_0x250531);},_0x41f295['encode']=function(_0x3830bd,_0x24e621){return _0x24e621||(_0x24e621=_0x3a081['create']()),null!=_0x3830bd['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3830bd,'commentThreadId')&&_0x24e621['uint32'](0xa)['string'](_0x3830bd['commentThreadId']),null!=_0x3830bd['documentId']&&Object['hasOwnProperty']['call'](_0x3830bd,'documentId')&&_0x24e621['uint32'](0x12)['string'](_0x3830bd['documentId']),_0x24e621;},_0x41f295['encodeDelimited']=function(_0x1c5db3,_0xe94b0d){return this['encode'](_0x1c5db3,_0xe94b0d)['ldelim']();},_0x41f295['decode']=function(_0x3d4f84,_0x1ef980,_0xb4267f){_0x3d4f84 instanceof _0x5743b9||(_0x3d4f84=_0x5743b9['create'](_0x3d4f84));for(var _0xa81d7e=void 0x0===_0x1ef980?_0x3d4f84['len']:_0x3d4f84['pos']+_0x1ef980,_0x8c5bc9=new _0x45f2e9['CommentsV2ReopenCommentThreadMessage']();_0x3d4f84['pos']<_0xa81d7e;){var _0xbbe352=_0x3d4f84['uint32']();if(_0xbbe352===_0xb4267f)break;switch(_0xbbe352>>>0x3){case 0x1:_0x8c5bc9['commentThreadId']=_0x3d4f84['string']();break;case 0x2:_0x8c5bc9['documentId']=_0x3d4f84['string']();break;default:_0x3d4f84['skipType'](0x7&_0xbbe352);}}return _0x8c5bc9;},_0x41f295['decodeDelimited']=function(_0x3e30e0){return _0x3e30e0 instanceof _0x5743b9||(_0x3e30e0=new _0x5743b9(_0x3e30e0)),this['decode'](_0x3e30e0,_0x3e30e0['uint32']());},_0x41f295['verify']=function(_0x5f46a0){return'object'!=typeof _0x5f46a0||null===_0x5f46a0?'object\x20expected':null!=_0x5f46a0['commentThreadId']&&_0x5f46a0['hasOwnProperty']('commentThreadId')&&!_0x596b78['isString'](_0x5f46a0['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x5f46a0['documentId']&&_0x5f46a0['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0x5f46a0['documentId'])?'documentId:\x20string\x20expected':null;},_0x41f295['fromObject']=function(_0x4a5720){if(_0x4a5720 instanceof _0x45f2e9['CommentsV2ReopenCommentThreadMessage'])return _0x4a5720;var _0x31d8b0=new _0x45f2e9['CommentsV2ReopenCommentThreadMessage']();return null!=_0x4a5720['commentThreadId']&&(_0x31d8b0['commentThreadId']=String(_0x4a5720['commentThreadId'])),null!=_0x4a5720['documentId']&&(_0x31d8b0['documentId']=String(_0x4a5720['documentId'])),_0x31d8b0;},_0x41f295['toObject']=function(_0x1bdb6a,_0x382987){_0x382987||(_0x382987={});var _0x2724b8={};return _0x382987['defaults']&&(_0x2724b8['commentThreadId']='',_0x2724b8['documentId']=''),null!=_0x1bdb6a['commentThreadId']&&_0x1bdb6a['hasOwnProperty']('commentThreadId')&&(_0x2724b8['commentThreadId']=_0x1bdb6a['commentThreadId']),null!=_0x1bdb6a['documentId']&&_0x1bdb6a['hasOwnProperty']('documentId')&&(_0x2724b8['documentId']=_0x1bdb6a['documentId']),_0x2724b8;},_0x41f295['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x41f295['getTypeUrl']=function(_0x357f34){return void 0x0===_0x357f34&&(_0x357f34='type.googleapis.com'),_0x357f34+'/CommentsV2ReopenCommentThreadMessage';},_0x41f295;}()),_0x45f2e9['CommentsV2AddCommentThreadMessage']=(function(){function _0x1668f6(_0x6b2b09){if(this['comments']=[],_0x6b2b09){for(var _0x1783f4=Object['keys'](_0x6b2b09),_0x5f3b3d=0x0;_0x5f3b3d<_0x1783f4['length'];++_0x5f3b3d)null!=_0x6b2b09[_0x1783f4[_0x5f3b3d]]&&(this[_0x1783f4[_0x5f3b3d]]=_0x6b2b09[_0x1783f4[_0x5f3b3d]]);}}return _0x1668f6['prototype']['documentId']='',_0x1668f6['prototype']['commentThreadId']='',_0x1668f6['prototype']['context']='',_0x1668f6['prototype']['createdAt']='',_0x1668f6['prototype']['resolvedAt']='',_0x1668f6['prototype']['resolvedBy']='',_0x1668f6['prototype']['attributes']='',_0x1668f6['prototype']['deletedAt']='',_0x1668f6['prototype']['comments']=_0x596b78['emptyArray'],_0x1668f6['create']=function(_0x30988e){return new _0x1668f6(_0x30988e);},_0x1668f6['encode']=function(_0x41e05b,_0x35987b){if(_0x35987b||(_0x35987b=_0x3a081['create']()),null!=_0x41e05b['documentId']&&Object['hasOwnProperty']['call'](_0x41e05b,'documentId')&&_0x35987b['uint32'](0xa)['string'](_0x41e05b['documentId']),null!=_0x41e05b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x41e05b,'commentThreadId')&&_0x35987b['uint32'](0x12)['string'](_0x41e05b['commentThreadId']),null!=_0x41e05b['context']&&Object['hasOwnProperty']['call'](_0x41e05b,'context')&&_0x35987b['uint32'](0x1a)['string'](_0x41e05b['context']),null!=_0x41e05b['createdAt']&&Object['hasOwnProperty']['call'](_0x41e05b,'createdAt')&&_0x35987b['uint32'](0x22)['string'](_0x41e05b['createdAt']),null!=_0x41e05b['resolvedAt']&&Object['hasOwnProperty']['call'](_0x41e05b,'resolvedAt')&&_0x35987b['uint32'](0x2a)['string'](_0x41e05b['resolvedAt']),null!=_0x41e05b['resolvedBy']&&Object['hasOwnProperty']['call'](_0x41e05b,'resolvedBy')&&_0x35987b['uint32'](0x32)['string'](_0x41e05b['resolvedBy']),null!=_0x41e05b['attributes']&&Object['hasOwnProperty']['call'](_0x41e05b,'attributes')&&_0x35987b['uint32'](0x3a)['string'](_0x41e05b['attributes']),null!=_0x41e05b['deletedAt']&&Object['hasOwnProperty']['call'](_0x41e05b,'deletedAt')&&_0x35987b['uint32'](0x42)['string'](_0x41e05b['deletedAt']),null!=_0x41e05b['comments']&&_0x41e05b['comments']['length']){for(var _0x4f9e7c=0x0;_0x4f9e7c<_0x41e05b['comments']['length'];++_0x4f9e7c)_0x45f2e9['CommentDescriptor']['encode'](_0x41e05b['comments'][_0x4f9e7c],_0x35987b['uint32'](0x4a)['fork']())['ldelim']();}return _0x35987b;},_0x1668f6['encodeDelimited']=function(_0x46f8ec,_0x1a179c){return this['encode'](_0x46f8ec,_0x1a179c)['ldelim']();},_0x1668f6['decode']=function(_0x297f84,_0x4d058,_0x3c5e96){_0x297f84 instanceof _0x5743b9||(_0x297f84=_0x5743b9['create'](_0x297f84));for(var _0x570248=void 0x0===_0x4d058?_0x297f84['len']:_0x297f84['pos']+_0x4d058,_0x36b6f1=new _0x45f2e9['CommentsV2AddCommentThreadMessage']();_0x297f84['pos']<_0x570248;){var _0xeb5b4d=_0x297f84['uint32']();if(_0xeb5b4d===_0x3c5e96)break;switch(_0xeb5b4d>>>0x3){case 0x1:_0x36b6f1['documentId']=_0x297f84['string']();break;case 0x2:_0x36b6f1['commentThreadId']=_0x297f84['string']();break;case 0x3:_0x36b6f1['context']=_0x297f84['string']();break;case 0x4:_0x36b6f1['createdAt']=_0x297f84['string']();break;case 0x5:_0x36b6f1['resolvedAt']=_0x297f84['string']();break;case 0x6:_0x36b6f1['resolvedBy']=_0x297f84['string']();break;case 0x7:_0x36b6f1['attributes']=_0x297f84['string']();break;case 0x8:_0x36b6f1['deletedAt']=_0x297f84['string']();break;case 0x9:_0x36b6f1['comments']&&_0x36b6f1['comments']['length']||(_0x36b6f1['comments']=[]),_0x36b6f1['comments']['push'](_0x45f2e9['CommentDescriptor']['decode'](_0x297f84,_0x297f84['uint32']()));break;default:_0x297f84['skipType'](0x7&_0xeb5b4d);}}return _0x36b6f1;},_0x1668f6['decodeDelimited']=function(_0x101463){return _0x101463 instanceof _0x5743b9||(_0x101463=new _0x5743b9(_0x101463)),this['decode'](_0x101463,_0x101463['uint32']());},_0x1668f6['verify']=function(_0x43c109){if('object'!=typeof _0x43c109||null===_0x43c109)return'object\x20expected';if(null!=_0x43c109['documentId']&&_0x43c109['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0x43c109['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x43c109['commentThreadId']&&_0x43c109['hasOwnProperty']('commentThreadId')&&!_0x596b78['isString'](_0x43c109['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x43c109['context']&&_0x43c109['hasOwnProperty']('context')&&!_0x596b78['isString'](_0x43c109['context']))return'context:\x20string\x20expected';if(null!=_0x43c109['createdAt']&&_0x43c109['hasOwnProperty']('createdAt')&&!_0x596b78['isString'](_0x43c109['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x43c109['resolvedAt']&&_0x43c109['hasOwnProperty']('resolvedAt')&&!_0x596b78['isString'](_0x43c109['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x43c109['resolvedBy']&&_0x43c109['hasOwnProperty']('resolvedBy')&&!_0x596b78['isString'](_0x43c109['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x43c109['attributes']&&_0x43c109['hasOwnProperty']('attributes')&&!_0x596b78['isString'](_0x43c109['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x43c109['deletedAt']&&_0x43c109['hasOwnProperty']('deletedAt')&&!_0x596b78['isString'](_0x43c109['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x43c109['comments']&&_0x43c109['hasOwnProperty']('comments')){if(!Array['isArray'](_0x43c109['comments']))return'comments:\x20array\x20expected';for(var _0x5e5a76=0x0;_0x5e5a76<_0x43c109['comments']['length'];++_0x5e5a76){var _0x47ad0a=_0x45f2e9['CommentDescriptor']['verify'](_0x43c109['comments'][_0x5e5a76]);if(_0x47ad0a)return'comments.'+_0x47ad0a;}}return null;},_0x1668f6['fromObject']=function(_0x3a3c15){if(_0x3a3c15 instanceof _0x45f2e9['CommentsV2AddCommentThreadMessage'])return _0x3a3c15;var _0x4b0529=new _0x45f2e9['CommentsV2AddCommentThreadMessage']();if(null!=_0x3a3c15['documentId']&&(_0x4b0529['documentId']=String(_0x3a3c15['documentId'])),null!=_0x3a3c15['commentThreadId']&&(_0x4b0529['commentThreadId']=String(_0x3a3c15['commentThreadId'])),null!=_0x3a3c15['context']&&(_0x4b0529['context']=String(_0x3a3c15['context'])),null!=_0x3a3c15['createdAt']&&(_0x4b0529['createdAt']=String(_0x3a3c15['createdAt'])),null!=_0x3a3c15['resolvedAt']&&(_0x4b0529['resolvedAt']=String(_0x3a3c15['resolvedAt'])),null!=_0x3a3c15['resolvedBy']&&(_0x4b0529['resolvedBy']=String(_0x3a3c15['resolvedBy'])),null!=_0x3a3c15['attributes']&&(_0x4b0529['attributes']=String(_0x3a3c15['attributes'])),null!=_0x3a3c15['deletedAt']&&(_0x4b0529['deletedAt']=String(_0x3a3c15['deletedAt'])),_0x3a3c15['comments']){if(!Array['isArray'](_0x3a3c15['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0x4b0529['comments']=[];for(var _0x409e4e=0x0;_0x409e4e<_0x3a3c15['comments']['length'];++_0x409e4e){if('object'!=typeof _0x3a3c15['comments'][_0x409e4e])throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0x4b0529['comments'][_0x409e4e]=_0x45f2e9['CommentDescriptor']['fromObject'](_0x3a3c15['comments'][_0x409e4e]);}}return _0x4b0529;},_0x1668f6['toObject']=function(_0x6d4fee,_0x1dda59){_0x1dda59||(_0x1dda59={});var _0x9cb0d={};if((_0x1dda59['arrays']||_0x1dda59['defaults'])&&(_0x9cb0d['comments']=[]),_0x1dda59['defaults']&&(_0x9cb0d['documentId']='',_0x9cb0d['commentThreadId']='',_0x9cb0d['context']='',_0x9cb0d['createdAt']='',_0x9cb0d['resolvedAt']='',_0x9cb0d['resolvedBy']='',_0x9cb0d['attributes']='',_0x9cb0d['deletedAt']=''),null!=_0x6d4fee['documentId']&&_0x6d4fee['hasOwnProperty']('documentId')&&(_0x9cb0d['documentId']=_0x6d4fee['documentId']),null!=_0x6d4fee['commentThreadId']&&_0x6d4fee['hasOwnProperty']('commentThreadId')&&(_0x9cb0d['commentThreadId']=_0x6d4fee['commentThreadId']),null!=_0x6d4fee['context']&&_0x6d4fee['hasOwnProperty']('context')&&(_0x9cb0d['context']=_0x6d4fee['context']),null!=_0x6d4fee['createdAt']&&_0x6d4fee['hasOwnProperty']('createdAt')&&(_0x9cb0d['createdAt']=_0x6d4fee['createdAt']),null!=_0x6d4fee['resolvedAt']&&_0x6d4fee['hasOwnProperty']('resolvedAt')&&(_0x9cb0d['resolvedAt']=_0x6d4fee['resolvedAt']),null!=_0x6d4fee['resolvedBy']&&_0x6d4fee['hasOwnProperty']('resolvedBy')&&(_0x9cb0d['resolvedBy']=_0x6d4fee['resolvedBy']),null!=_0x6d4fee['attributes']&&_0x6d4fee['hasOwnProperty']('attributes')&&(_0x9cb0d['attributes']=_0x6d4fee['attributes']),null!=_0x6d4fee['deletedAt']&&_0x6d4fee['hasOwnProperty']('deletedAt')&&(_0x9cb0d['deletedAt']=_0x6d4fee['deletedAt']),_0x6d4fee['comments']&&_0x6d4fee['comments']['length']){_0x9cb0d['comments']=[];for(var _0x775acb=0x0;_0x775acb<_0x6d4fee['comments']['length'];++_0x775acb)_0x9cb0d['comments'][_0x775acb]=_0x45f2e9['CommentDescriptor']['toObject'](_0x6d4fee['comments'][_0x775acb],_0x1dda59);}return _0x9cb0d;},_0x1668f6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x1668f6['getTypeUrl']=function(_0x2d9164){return void 0x0===_0x2d9164&&(_0x2d9164='type.googleapis.com'),_0x2d9164+'/CommentsV2AddCommentThreadMessage';},_0x1668f6;}()),_0x45f2e9['CommentThreadAddedCommentDescriptor']=(function(){function _0x5ccff3(_0x64fc3d){if(_0x64fc3d){for(var _0x1c4dd8=Object['keys'](_0x64fc3d),_0x525d0b=0x0;_0x525d0b<_0x1c4dd8['length'];++_0x525d0b)null!=_0x64fc3d[_0x1c4dd8[_0x525d0b]]&&(this[_0x1c4dd8[_0x525d0b]]=_0x64fc3d[_0x1c4dd8[_0x525d0b]]);}}return _0x5ccff3['prototype']['commentId']='',_0x5ccff3['prototype']['createdAt']='',_0x5ccff3['create']=function(_0x1f52a6){return new _0x5ccff3(_0x1f52a6);},_0x5ccff3['encode']=function(_0x1a2682,_0xfb9dd0){return _0xfb9dd0||(_0xfb9dd0=_0x3a081['create']()),null!=_0x1a2682['commentId']&&Object['hasOwnProperty']['call'](_0x1a2682,'commentId')&&_0xfb9dd0['uint32'](0xa)['string'](_0x1a2682['commentId']),null!=_0x1a2682['createdAt']&&Object['hasOwnProperty']['call'](_0x1a2682,'createdAt')&&_0xfb9dd0['uint32'](0x12)['string'](_0x1a2682['createdAt']),_0xfb9dd0;},_0x5ccff3['encodeDelimited']=function(_0x262ab7,_0x5c0e1f){return this['encode'](_0x262ab7,_0x5c0e1f)['ldelim']();},_0x5ccff3['decode']=function(_0x898ad8,_0x8db929,_0x5e81f5){_0x898ad8 instanceof _0x5743b9||(_0x898ad8=_0x5743b9['create'](_0x898ad8));for(var _0x141293=void 0x0===_0x8db929?_0x898ad8['len']:_0x898ad8['pos']+_0x8db929,_0x3cc9f4=new _0x45f2e9['CommentThreadAddedCommentDescriptor']();_0x898ad8['pos']<_0x141293;){var _0x1ecb4d=_0x898ad8['uint32']();if(_0x1ecb4d===_0x5e81f5)break;switch(_0x1ecb4d>>>0x3){case 0x1:_0x3cc9f4['commentId']=_0x898ad8['string']();break;case 0x2:_0x3cc9f4['createdAt']=_0x898ad8['string']();break;default:_0x898ad8['skipType'](0x7&_0x1ecb4d);}}return _0x3cc9f4;},_0x5ccff3['decodeDelimited']=function(_0x41da71){return _0x41da71 instanceof _0x5743b9||(_0x41da71=new _0x5743b9(_0x41da71)),this['decode'](_0x41da71,_0x41da71['uint32']());},_0x5ccff3['verify']=function(_0x447fd7){return'object'!=typeof _0x447fd7||null===_0x447fd7?'object\x20expected':null!=_0x447fd7['commentId']&&_0x447fd7['hasOwnProperty']('commentId')&&!_0x596b78['isString'](_0x447fd7['commentId'])?'commentId:\x20string\x20expected':null!=_0x447fd7['createdAt']&&_0x447fd7['hasOwnProperty']('createdAt')&&!_0x596b78['isString'](_0x447fd7['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x5ccff3['fromObject']=function(_0x129678){if(_0x129678 instanceof _0x45f2e9['CommentThreadAddedCommentDescriptor'])return _0x129678;var _0xc5e858=new _0x45f2e9['CommentThreadAddedCommentDescriptor']();return null!=_0x129678['commentId']&&(_0xc5e858['commentId']=String(_0x129678['commentId'])),null!=_0x129678['createdAt']&&(_0xc5e858['createdAt']=String(_0x129678['createdAt'])),_0xc5e858;},_0x5ccff3['toObject']=function(_0x45751e,_0xd77af3){_0xd77af3||(_0xd77af3={});var _0x4a55c1={};return _0xd77af3['defaults']&&(_0x4a55c1['commentId']='',_0x4a55c1['createdAt']=''),null!=_0x45751e['commentId']&&_0x45751e['hasOwnProperty']('commentId')&&(_0x4a55c1['commentId']=_0x45751e['commentId']),null!=_0x45751e['createdAt']&&_0x45751e['hasOwnProperty']('createdAt')&&(_0x4a55c1['createdAt']=_0x45751e['createdAt']),_0x4a55c1;},_0x5ccff3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x5ccff3['getTypeUrl']=function(_0x5eccc7){return void 0x0===_0x5eccc7&&(_0x5eccc7='type.googleapis.com'),_0x5eccc7+'/CommentThreadAddedCommentDescriptor';},_0x5ccff3;}()),_0x45f2e9['CommentsThreadDescriptor']=(function(){function _0x211cf7(_0x13c8f5){if(this['comments']=[],_0x13c8f5){for(var _0x412c8f=Object['keys'](_0x13c8f5),_0x33137c=0x0;_0x33137c<_0x412c8f['length'];++_0x33137c)null!=_0x13c8f5[_0x412c8f[_0x33137c]]&&(this[_0x412c8f[_0x33137c]]=_0x13c8f5[_0x412c8f[_0x33137c]]);}}return _0x211cf7['prototype']['commentThreadId']='',_0x211cf7['prototype']['comments']=_0x596b78['emptyArray'],_0x211cf7['prototype']['resolvedAt']='',_0x211cf7['prototype']['resolvedBy']='',_0x211cf7['prototype']['context']='',_0x211cf7['prototype']['createdAt']='',_0x211cf7['prototype']['deletedAt']='',_0x211cf7['prototype']['attributes']='',_0x211cf7['prototype']['unlinkedAt']='',_0x211cf7['create']=function(_0xe83935){return new _0x211cf7(_0xe83935);},_0x211cf7['encode']=function(_0x54d133,_0x165c62){if(_0x165c62||(_0x165c62=_0x3a081['create']()),null!=_0x54d133['commentThreadId']&&Object['hasOwnProperty']['call'](_0x54d133,'commentThreadId')&&_0x165c62['uint32'](0xa)['string'](_0x54d133['commentThreadId']),null!=_0x54d133['comments']&&_0x54d133['comments']['length']){for(var _0x29b596=0x0;_0x29b596<_0x54d133['comments']['length'];++_0x29b596)_0x45f2e9['CommentDescriptor']['encode'](_0x54d133['comments'][_0x29b596],_0x165c62['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x54d133['resolvedAt']&&Object['hasOwnProperty']['call'](_0x54d133,'resolvedAt')&&_0x165c62['uint32'](0x1a)['string'](_0x54d133['resolvedAt']),null!=_0x54d133['resolvedBy']&&Object['hasOwnProperty']['call'](_0x54d133,'resolvedBy')&&_0x165c62['uint32'](0x22)['string'](_0x54d133['resolvedBy']),null!=_0x54d133['context']&&Object['hasOwnProperty']['call'](_0x54d133,'context')&&_0x165c62['uint32'](0x2a)['string'](_0x54d133['context']),null!=_0x54d133['createdAt']&&Object['hasOwnProperty']['call'](_0x54d133,'createdAt')&&_0x165c62['uint32'](0x32)['string'](_0x54d133['createdAt']),null!=_0x54d133['deletedAt']&&Object['hasOwnProperty']['call'](_0x54d133,'deletedAt')&&_0x165c62['uint32'](0x3a)['string'](_0x54d133['deletedAt']),null!=_0x54d133['attributes']&&Object['hasOwnProperty']['call'](_0x54d133,'attributes')&&_0x165c62['uint32'](0x42)['string'](_0x54d133['attributes']),null!=_0x54d133['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x54d133,'unlinkedAt')&&_0x165c62['uint32'](0x4a)['string'](_0x54d133['unlinkedAt']),_0x165c62;},_0x211cf7['encodeDelimited']=function(_0x4b7a7e,_0x37849a){return this['encode'](_0x4b7a7e,_0x37849a)['ldelim']();},_0x211cf7['decode']=function(_0x44ad6f,_0x47b8a2,_0x53a653){_0x44ad6f instanceof _0x5743b9||(_0x44ad6f=_0x5743b9['create'](_0x44ad6f));for(var _0x3d11bb=void 0x0===_0x47b8a2?_0x44ad6f['len']:_0x44ad6f['pos']+_0x47b8a2,_0x5676c9=new _0x45f2e9['CommentsThreadDescriptor']();_0x44ad6f['pos']<_0x3d11bb;){var _0x43679e=_0x44ad6f['uint32']();if(_0x43679e===_0x53a653)break;switch(_0x43679e>>>0x3){case 0x1:_0x5676c9['commentThreadId']=_0x44ad6f['string']();break;case 0x2:_0x5676c9['comments']&&_0x5676c9['comments']['length']||(_0x5676c9['comments']=[]),_0x5676c9['comments']['push'](_0x45f2e9['CommentDescriptor']['decode'](_0x44ad6f,_0x44ad6f['uint32']()));break;case 0x3:_0x5676c9['resolvedAt']=_0x44ad6f['string']();break;case 0x4:_0x5676c9['resolvedBy']=_0x44ad6f['string']();break;case 0x5:_0x5676c9['context']=_0x44ad6f['string']();break;case 0x6:_0x5676c9['createdAt']=_0x44ad6f['string']();break;case 0x7:_0x5676c9['deletedAt']=_0x44ad6f['string']();break;case 0x8:_0x5676c9['attributes']=_0x44ad6f['string']();break;case 0x9:_0x5676c9['unlinkedAt']=_0x44ad6f['string']();break;default:_0x44ad6f['skipType'](0x7&_0x43679e);}}return _0x5676c9;},_0x211cf7['decodeDelimited']=function(_0x3e562f){return _0x3e562f instanceof _0x5743b9||(_0x3e562f=new _0x5743b9(_0x3e562f)),this['decode'](_0x3e562f,_0x3e562f['uint32']());},_0x211cf7['verify']=function(_0x5ddcb1){if('object'!=typeof _0x5ddcb1||null===_0x5ddcb1)return'object\x20expected';if(null!=_0x5ddcb1['commentThreadId']&&_0x5ddcb1['hasOwnProperty']('commentThreadId')&&!_0x596b78['isString'](_0x5ddcb1['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x5ddcb1['comments']&&_0x5ddcb1['hasOwnProperty']('comments')){if(!Array['isArray'](_0x5ddcb1['comments']))return'comments:\x20array\x20expected';for(var _0x2bf192=0x0;_0x2bf192<_0x5ddcb1['comments']['length'];++_0x2bf192){var _0x239f92=_0x45f2e9['CommentDescriptor']['verify'](_0x5ddcb1['comments'][_0x2bf192]);if(_0x239f92)return'comments.'+_0x239f92;}}return null!=_0x5ddcb1['resolvedAt']&&_0x5ddcb1['hasOwnProperty']('resolvedAt')&&!_0x596b78['isString'](_0x5ddcb1['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x5ddcb1['resolvedBy']&&_0x5ddcb1['hasOwnProperty']('resolvedBy')&&!_0x596b78['isString'](_0x5ddcb1['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x5ddcb1['context']&&_0x5ddcb1['hasOwnProperty']('context')&&!_0x596b78['isString'](_0x5ddcb1['context'])?'context:\x20string\x20expected':null!=_0x5ddcb1['createdAt']&&_0x5ddcb1['hasOwnProperty']('createdAt')&&!_0x596b78['isString'](_0x5ddcb1['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x5ddcb1['deletedAt']&&_0x5ddcb1['hasOwnProperty']('deletedAt')&&!_0x596b78['isString'](_0x5ddcb1['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x5ddcb1['attributes']&&_0x5ddcb1['hasOwnProperty']('attributes')&&!_0x596b78['isString'](_0x5ddcb1['attributes'])?'attributes:\x20string\x20expected':null!=_0x5ddcb1['unlinkedAt']&&_0x5ddcb1['hasOwnProperty']('unlinkedAt')&&!_0x596b78['isString'](_0x5ddcb1['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x211cf7['fromObject']=function(_0x5beefe){if(_0x5beefe instanceof _0x45f2e9['CommentsThreadDescriptor'])return _0x5beefe;var _0xd0cf1e=new _0x45f2e9['CommentsThreadDescriptor']();if(null!=_0x5beefe['commentThreadId']&&(_0xd0cf1e['commentThreadId']=String(_0x5beefe['commentThreadId'])),_0x5beefe['comments']){if(!Array['isArray'](_0x5beefe['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0xd0cf1e['comments']=[];for(var _0x3ad420=0x0;_0x3ad420<_0x5beefe['comments']['length'];++_0x3ad420){if('object'!=typeof _0x5beefe['comments'][_0x3ad420])throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0xd0cf1e['comments'][_0x3ad420]=_0x45f2e9['CommentDescriptor']['fromObject'](_0x5beefe['comments'][_0x3ad420]);}}return null!=_0x5beefe['resolvedAt']&&(_0xd0cf1e['resolvedAt']=String(_0x5beefe['resolvedAt'])),null!=_0x5beefe['resolvedBy']&&(_0xd0cf1e['resolvedBy']=String(_0x5beefe['resolvedBy'])),null!=_0x5beefe['context']&&(_0xd0cf1e['context']=String(_0x5beefe['context'])),null!=_0x5beefe['createdAt']&&(_0xd0cf1e['createdAt']=String(_0x5beefe['createdAt'])),null!=_0x5beefe['deletedAt']&&(_0xd0cf1e['deletedAt']=String(_0x5beefe['deletedAt'])),null!=_0x5beefe['attributes']&&(_0xd0cf1e['attributes']=String(_0x5beefe['attributes'])),null!=_0x5beefe['unlinkedAt']&&(_0xd0cf1e['unlinkedAt']=String(_0x5beefe['unlinkedAt'])),_0xd0cf1e;},_0x211cf7['toObject']=function(_0x45181d,_0x9803bc){_0x9803bc||(_0x9803bc={});var _0x3a1027={};if((_0x9803bc['arrays']||_0x9803bc['defaults'])&&(_0x3a1027['comments']=[]),_0x9803bc['defaults']&&(_0x3a1027['commentThreadId']='',_0x3a1027['resolvedAt']='',_0x3a1027['resolvedBy']='',_0x3a1027['context']='',_0x3a1027['createdAt']='',_0x3a1027['deletedAt']='',_0x3a1027['attributes']='',_0x3a1027['unlinkedAt']=''),null!=_0x45181d['commentThreadId']&&_0x45181d['hasOwnProperty']('commentThreadId')&&(_0x3a1027['commentThreadId']=_0x45181d['commentThreadId']),_0x45181d['comments']&&_0x45181d['comments']['length']){_0x3a1027['comments']=[];for(var _0x3d86c2=0x0;_0x3d86c2<_0x45181d['comments']['length'];++_0x3d86c2)_0x3a1027['comments'][_0x3d86c2]=_0x45f2e9['CommentDescriptor']['toObject'](_0x45181d['comments'][_0x3d86c2],_0x9803bc);}return null!=_0x45181d['resolvedAt']&&_0x45181d['hasOwnProperty']('resolvedAt')&&(_0x3a1027['resolvedAt']=_0x45181d['resolvedAt']),null!=_0x45181d['resolvedBy']&&_0x45181d['hasOwnProperty']('resolvedBy')&&(_0x3a1027['resolvedBy']=_0x45181d['resolvedBy']),null!=_0x45181d['context']&&_0x45181d['hasOwnProperty']('context')&&(_0x3a1027['context']=_0x45181d['context']),null!=_0x45181d['createdAt']&&_0x45181d['hasOwnProperty']('createdAt')&&(_0x3a1027['createdAt']=_0x45181d['createdAt']),null!=_0x45181d['deletedAt']&&_0x45181d['hasOwnProperty']('deletedAt')&&(_0x3a1027['deletedAt']=_0x45181d['deletedAt']),null!=_0x45181d['attributes']&&_0x45181d['hasOwnProperty']('attributes')&&(_0x3a1027['attributes']=_0x45181d['attributes']),null!=_0x45181d['unlinkedAt']&&_0x45181d['hasOwnProperty']('unlinkedAt')&&(_0x3a1027['unlinkedAt']=_0x45181d['unlinkedAt']),_0x3a1027;},_0x211cf7['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x211cf7['getTypeUrl']=function(_0x1d47da){return void 0x0===_0x1d47da&&(_0x1d47da='type.googleapis.com'),_0x1d47da+'/CommentsThreadDescriptor';},_0x211cf7;}()),_0x45f2e9['CommentDescriptor']=(function(){function _0x5b8ecd(_0x28e0ab){if(_0x28e0ab){for(var _0x43b11c=Object['keys'](_0x28e0ab),_0x1f2cdb=0x0;_0x1f2cdb<_0x43b11c['length'];++_0x1f2cdb)null!=_0x28e0ab[_0x43b11c[_0x1f2cdb]]&&(this[_0x43b11c[_0x1f2cdb]]=_0x28e0ab[_0x43b11c[_0x1f2cdb]]);}}return _0x5b8ecd['prototype']['commentId']='',_0x5b8ecd['prototype']['commentThreadId']='',_0x5b8ecd['prototype']['userId']='',_0x5b8ecd['prototype']['content']='',_0x5b8ecd['prototype']['documentId']='',_0x5b8ecd['prototype']['createdAt']='',_0x5b8ecd['prototype']['attributes']='',_0x5b8ecd['create']=function(_0x56c9f7){return new _0x5b8ecd(_0x56c9f7);},_0x5b8ecd['encode']=function(_0x4854e8,_0x3187b9){return _0x3187b9||(_0x3187b9=_0x3a081['create']()),null!=_0x4854e8['commentId']&&Object['hasOwnProperty']['call'](_0x4854e8,'commentId')&&_0x3187b9['uint32'](0xa)['string'](_0x4854e8['commentId']),null!=_0x4854e8['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4854e8,'commentThreadId')&&_0x3187b9['uint32'](0x12)['string'](_0x4854e8['commentThreadId']),null!=_0x4854e8['userId']&&Object['hasOwnProperty']['call'](_0x4854e8,'userId')&&_0x3187b9['uint32'](0x1a)['string'](_0x4854e8['userId']),null!=_0x4854e8['content']&&Object['hasOwnProperty']['call'](_0x4854e8,'content')&&_0x3187b9['uint32'](0x22)['string'](_0x4854e8['content']),null!=_0x4854e8['documentId']&&Object['hasOwnProperty']['call'](_0x4854e8,'documentId')&&_0x3187b9['uint32'](0x2a)['string'](_0x4854e8['documentId']),null!=_0x4854e8['createdAt']&&Object['hasOwnProperty']['call'](_0x4854e8,'createdAt')&&_0x3187b9['uint32'](0x32)['string'](_0x4854e8['createdAt']),null!=_0x4854e8['attributes']&&Object['hasOwnProperty']['call'](_0x4854e8,'attributes')&&_0x3187b9['uint32'](0x3a)['string'](_0x4854e8['attributes']),_0x3187b9;},_0x5b8ecd['encodeDelimited']=function(_0x5e35b5,_0x3ef4a5){return this['encode'](_0x5e35b5,_0x3ef4a5)['ldelim']();},_0x5b8ecd['decode']=function(_0x227c94,_0x58a0cd,_0x16c741){_0x227c94 instanceof _0x5743b9||(_0x227c94=_0x5743b9['create'](_0x227c94));for(var _0x4b773a=void 0x0===_0x58a0cd?_0x227c94['len']:_0x227c94['pos']+_0x58a0cd,_0x3b226b=new _0x45f2e9['CommentDescriptor']();_0x227c94['pos']<_0x4b773a;){var _0x2e8465=_0x227c94['uint32']();if(_0x2e8465===_0x16c741)break;switch(_0x2e8465>>>0x3){case 0x1:_0x3b226b['commentId']=_0x227c94['string']();break;case 0x2:_0x3b226b['commentThreadId']=_0x227c94['string']();break;case 0x3:_0x3b226b['userId']=_0x227c94['string']();break;case 0x4:_0x3b226b['content']=_0x227c94['string']();break;case 0x5:_0x3b226b['documentId']=_0x227c94['string']();break;case 0x6:_0x3b226b['createdAt']=_0x227c94['string']();break;case 0x7:_0x3b226b['attributes']=_0x227c94['string']();break;default:_0x227c94['skipType'](0x7&_0x2e8465);}}return _0x3b226b;},_0x5b8ecd['decodeDelimited']=function(_0x5d15f2){return _0x5d15f2 instanceof _0x5743b9||(_0x5d15f2=new _0x5743b9(_0x5d15f2)),this['decode'](_0x5d15f2,_0x5d15f2['uint32']());},_0x5b8ecd['verify']=function(_0x21b384){return'object'!=typeof _0x21b384||null===_0x21b384?'object\x20expected':null!=_0x21b384['commentId']&&_0x21b384['hasOwnProperty']('commentId')&&!_0x596b78['isString'](_0x21b384['commentId'])?'commentId:\x20string\x20expected':null!=_0x21b384['commentThreadId']&&_0x21b384['hasOwnProperty']('commentThreadId')&&!_0x596b78['isString'](_0x21b384['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x21b384['userId']&&_0x21b384['hasOwnProperty']('userId')&&!_0x596b78['isString'](_0x21b384['userId'])?'userId:\x20string\x20expected':null!=_0x21b384['content']&&_0x21b384['hasOwnProperty']('content')&&!_0x596b78['isString'](_0x21b384['content'])?'content:\x20string\x20expected':null!=_0x21b384['documentId']&&_0x21b384['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0x21b384['documentId'])?'documentId:\x20string\x20expected':null!=_0x21b384['createdAt']&&_0x21b384['hasOwnProperty']('createdAt')&&!_0x596b78['isString'](_0x21b384['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x21b384['attributes']&&_0x21b384['hasOwnProperty']('attributes')&&!_0x596b78['isString'](_0x21b384['attributes'])?'attributes:\x20string\x20expected':null;},_0x5b8ecd['fromObject']=function(_0x559657){if(_0x559657 instanceof _0x45f2e9['CommentDescriptor'])return _0x559657;var _0x6c7670=new _0x45f2e9['CommentDescriptor']();return null!=_0x559657['commentId']&&(_0x6c7670['commentId']=String(_0x559657['commentId'])),null!=_0x559657['commentThreadId']&&(_0x6c7670['commentThreadId']=String(_0x559657['commentThreadId'])),null!=_0x559657['userId']&&(_0x6c7670['userId']=String(_0x559657['userId'])),null!=_0x559657['content']&&(_0x6c7670['content']=String(_0x559657['content'])),null!=_0x559657['documentId']&&(_0x6c7670['documentId']=String(_0x559657['documentId'])),null!=_0x559657['createdAt']&&(_0x6c7670['createdAt']=String(_0x559657['createdAt'])),null!=_0x559657['attributes']&&(_0x6c7670['attributes']=String(_0x559657['attributes'])),_0x6c7670;},_0x5b8ecd['toObject']=function(_0x25bd1a,_0x62d6e){_0x62d6e||(_0x62d6e={});var _0x49fe1c={};return _0x62d6e['defaults']&&(_0x49fe1c['commentId']='',_0x49fe1c['commentThreadId']='',_0x49fe1c['userId']='',_0x49fe1c['content']='',_0x49fe1c['documentId']='',_0x49fe1c['createdAt']='',_0x49fe1c['attributes']=''),null!=_0x25bd1a['commentId']&&_0x25bd1a['hasOwnProperty']('commentId')&&(_0x49fe1c['commentId']=_0x25bd1a['commentId']),null!=_0x25bd1a['commentThreadId']&&_0x25bd1a['hasOwnProperty']('commentThreadId')&&(_0x49fe1c['commentThreadId']=_0x25bd1a['commentThreadId']),null!=_0x25bd1a['userId']&&_0x25bd1a['hasOwnProperty']('userId')&&(_0x49fe1c['userId']=_0x25bd1a['userId']),null!=_0x25bd1a['content']&&_0x25bd1a['hasOwnProperty']('content')&&(_0x49fe1c['content']=_0x25bd1a['content']),null!=_0x25bd1a['documentId']&&_0x25bd1a['hasOwnProperty']('documentId')&&(_0x49fe1c['documentId']=_0x25bd1a['documentId']),null!=_0x25bd1a['createdAt']&&_0x25bd1a['hasOwnProperty']('createdAt')&&(_0x49fe1c['createdAt']=_0x25bd1a['createdAt']),null!=_0x25bd1a['attributes']&&_0x25bd1a['hasOwnProperty']('attributes')&&(_0x49fe1c['attributes']=_0x25bd1a['attributes']),_0x49fe1c;},_0x5b8ecd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x5b8ecd['getTypeUrl']=function(_0x379b0e){return void 0x0===_0x379b0e&&(_0x379b0e='type.googleapis.com'),_0x379b0e+'/CommentDescriptor';},_0x5b8ecd;}()),_0x45f2e9['GetDocumentDetailsResponse']=(function(){function _0x3abda8(_0x4caad3){if(_0x4caad3){for(var _0x39f107=Object['keys'](_0x4caad3),_0x4ac4d2=0x0;_0x4ac4d2<_0x39f107['length'];++_0x4ac4d2)null!=_0x4caad3[_0x39f107[_0x4ac4d2]]&&(this[_0x39f107[_0x4ac4d2]]=_0x4caad3[_0x39f107[_0x4ac4d2]]);}}return _0x3abda8['prototype']['lastDocumentSessionId']='',_0x3abda8['prototype']['lastDocumentSessionOperationId']='',_0x3abda8['prototype']['currentDocumentSessionId']='',_0x3abda8['prototype']['currentDocumentSessionVersion']=0x0,_0x3abda8['prototype']['currentDocumentSessionOperationId']='',_0x3abda8['create']=function(_0x417662){return new _0x3abda8(_0x417662);},_0x3abda8['encode']=function(_0xe6772a,_0xa03b71){return _0xa03b71||(_0xa03b71=_0x3a081['create']()),null!=_0xe6772a['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0xe6772a,'lastDocumentSessionId')&&_0xa03b71['uint32'](0xa)['string'](_0xe6772a['lastDocumentSessionId']),null!=_0xe6772a['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0xe6772a,'lastDocumentSessionOperationId')&&_0xa03b71['uint32'](0x12)['string'](_0xe6772a['lastDocumentSessionOperationId']),null!=_0xe6772a['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0xe6772a,'currentDocumentSessionId')&&_0xa03b71['uint32'](0x1a)['string'](_0xe6772a['currentDocumentSessionId']),null!=_0xe6772a['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0xe6772a,'currentDocumentSessionVersion')&&_0xa03b71['uint32'](0x20)['uint32'](_0xe6772a['currentDocumentSessionVersion']),null!=_0xe6772a['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0xe6772a,'currentDocumentSessionOperationId')&&_0xa03b71['uint32'](0x2a)['string'](_0xe6772a['currentDocumentSessionOperationId']),_0xa03b71;},_0x3abda8['encodeDelimited']=function(_0x248c5f,_0x1e8a25){return this['encode'](_0x248c5f,_0x1e8a25)['ldelim']();},_0x3abda8['decode']=function(_0x3cf8fb,_0x1be24d,_0x8f66ef){_0x3cf8fb instanceof _0x5743b9||(_0x3cf8fb=_0x5743b9['create'](_0x3cf8fb));for(var _0x2fdd62=void 0x0===_0x1be24d?_0x3cf8fb['len']:_0x3cf8fb['pos']+_0x1be24d,_0x170c5a=new _0x45f2e9['GetDocumentDetailsResponse']();_0x3cf8fb['pos']<_0x2fdd62;){var _0x4a21ae=_0x3cf8fb['uint32']();if(_0x4a21ae===_0x8f66ef)break;switch(_0x4a21ae>>>0x3){case 0x1:_0x170c5a['lastDocumentSessionId']=_0x3cf8fb['string']();break;case 0x2:_0x170c5a['lastDocumentSessionOperationId']=_0x3cf8fb['string']();break;case 0x3:_0x170c5a['currentDocumentSessionId']=_0x3cf8fb['string']();break;case 0x4:_0x170c5a['currentDocumentSessionVersion']=_0x3cf8fb['uint32']();break;case 0x5:_0x170c5a['currentDocumentSessionOperationId']=_0x3cf8fb['string']();break;default:_0x3cf8fb['skipType'](0x7&_0x4a21ae);}}return _0x170c5a;},_0x3abda8['decodeDelimited']=function(_0x298199){return _0x298199 instanceof _0x5743b9||(_0x298199=new _0x5743b9(_0x298199)),this['decode'](_0x298199,_0x298199['uint32']());},_0x3abda8['verify']=function(_0x2c9439){return'object'!=typeof _0x2c9439||null===_0x2c9439?'object\x20expected':null!=_0x2c9439['lastDocumentSessionId']&&_0x2c9439['hasOwnProperty']('lastDocumentSessionId')&&!_0x596b78['isString'](_0x2c9439['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0x2c9439['lastDocumentSessionOperationId']&&_0x2c9439['hasOwnProperty']('lastDocumentSessionOperationId')&&!_0x596b78['isString'](_0x2c9439['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0x2c9439['currentDocumentSessionId']&&_0x2c9439['hasOwnProperty']('currentDocumentSessionId')&&!_0x596b78['isString'](_0x2c9439['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0x2c9439['currentDocumentSessionVersion']&&_0x2c9439['hasOwnProperty']('currentDocumentSessionVersion')&&!_0x596b78['isInteger'](_0x2c9439['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0x2c9439['currentDocumentSessionOperationId']&&_0x2c9439['hasOwnProperty']('currentDocumentSessionOperationId')&&!_0x596b78['isString'](_0x2c9439['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null;},_0x3abda8['fromObject']=function(_0x40065b){if(_0x40065b instanceof _0x45f2e9['GetDocumentDetailsResponse'])return _0x40065b;var _0x4307ba=new _0x45f2e9['GetDocumentDetailsResponse']();return null!=_0x40065b['lastDocumentSessionId']&&(_0x4307ba['lastDocumentSessionId']=String(_0x40065b['lastDocumentSessionId'])),null!=_0x40065b['lastDocumentSessionOperationId']&&(_0x4307ba['lastDocumentSessionOperationId']=String(_0x40065b['lastDocumentSessionOperationId'])),null!=_0x40065b['currentDocumentSessionId']&&(_0x4307ba['currentDocumentSessionId']=String(_0x40065b['currentDocumentSessionId'])),null!=_0x40065b['currentDocumentSessionVersion']&&(_0x4307ba['currentDocumentSessionVersion']=_0x40065b['currentDocumentSessionVersion']>>>0x0),null!=_0x40065b['currentDocumentSessionOperationId']&&(_0x4307ba['currentDocumentSessionOperationId']=String(_0x40065b['currentDocumentSessionOperationId'])),_0x4307ba;},_0x3abda8['toObject']=function(_0x415a44,_0x5f2505){_0x5f2505||(_0x5f2505={});var _0x2e6626={};return _0x5f2505['defaults']&&(_0x2e6626['lastDocumentSessionId']='',_0x2e6626['lastDocumentSessionOperationId']='',_0x2e6626['currentDocumentSessionId']='',_0x2e6626['currentDocumentSessionVersion']=0x0,_0x2e6626['currentDocumentSessionOperationId']=''),null!=_0x415a44['lastDocumentSessionId']&&_0x415a44['hasOwnProperty']('lastDocumentSessionId')&&(_0x2e6626['lastDocumentSessionId']=_0x415a44['lastDocumentSessionId']),null!=_0x415a44['lastDocumentSessionOperationId']&&_0x415a44['hasOwnProperty']('lastDocumentSessionOperationId')&&(_0x2e6626['lastDocumentSessionOperationId']=_0x415a44['lastDocumentSessionOperationId']),null!=_0x415a44['currentDocumentSessionId']&&_0x415a44['hasOwnProperty']('currentDocumentSessionId')&&(_0x2e6626['currentDocumentSessionId']=_0x415a44['currentDocumentSessionId']),null!=_0x415a44['currentDocumentSessionVersion']&&_0x415a44['hasOwnProperty']('currentDocumentSessionVersion')&&(_0x2e6626['currentDocumentSessionVersion']=_0x415a44['currentDocumentSessionVersion']),null!=_0x415a44['currentDocumentSessionOperationId']&&_0x415a44['hasOwnProperty']('currentDocumentSessionOperationId')&&(_0x2e6626['currentDocumentSessionOperationId']=_0x415a44['currentDocumentSessionOperationId']),_0x2e6626;},_0x3abda8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x3abda8['getTypeUrl']=function(_0x8e3d86){return void 0x0===_0x8e3d86&&(_0x8e3d86='type.googleapis.com'),_0x8e3d86+'/GetDocumentDetailsResponse';},_0x3abda8;}()),_0x45f2e9['CollaborativeEditingResponse']=(function(){function _0x3a639b(_0x1674ee){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x1674ee){for(var _0x53c1c7=Object['keys'](_0x1674ee),_0x57716f=0x0;_0x57716f<_0x53c1c7['length'];++_0x57716f)null!=_0x1674ee[_0x53c1c7[_0x57716f]]&&(this[_0x53c1c7[_0x57716f]]=_0x1674ee[_0x53c1c7[_0x57716f]]);}}return _0x3a639b['prototype']['version']=0x0,_0x3a639b['prototype']['buffers']=_0x596b78['emptyArray'],_0x3a639b['prototype']['types']=_0x596b78['emptyArray'],_0x3a639b['prototype']['metadata']=_0x596b78['emptyArray'],_0x3a639b['prototype']['lastOperationId']='',_0x3a639b['prototype']['lastOperationAcceptedAt']='',_0x3a639b['create']=function(_0x507774){return new _0x3a639b(_0x507774);},_0x3a639b['encode']=function(_0x404711,_0x371fab){if(_0x371fab||(_0x371fab=_0x3a081['create']()),null!=_0x404711['version']&&Object['hasOwnProperty']['call'](_0x404711,'version')&&_0x371fab['uint32'](0x8)['uint32'](_0x404711['version']),null!=_0x404711['buffers']&&_0x404711['buffers']['length']){for(var _0x1abd6e=0x0;_0x1abd6e<_0x404711['buffers']['length'];++_0x1abd6e)_0x371fab['uint32'](0x12)['bytes'](_0x404711['buffers'][_0x1abd6e]);}if(null!=_0x404711['types']&&_0x404711['types']['length']){for(_0x371fab['uint32'](0x1a)['fork'](),_0x1abd6e=0x0;_0x1abd6e<_0x404711['types']['length'];++_0x1abd6e)_0x371fab['uint32'](_0x404711['types'][_0x1abd6e]);_0x371fab['ldelim']();}if(null!=_0x404711['metadata']&&_0x404711['metadata']['length']){for(_0x1abd6e=0x0;_0x1abd6e<_0x404711['metadata']['length'];++_0x1abd6e)_0x45f2e9['OperationMetadataDescriptor']['encode'](_0x404711['metadata'][_0x1abd6e],_0x371fab['uint32'](0x2a)['fork']())['ldelim']();}return null!=_0x404711['lastOperationId']&&Object['hasOwnProperty']['call'](_0x404711,'lastOperationId')&&_0x371fab['uint32'](0x32)['string'](_0x404711['lastOperationId']),null!=_0x404711['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x404711,'lastOperationAcceptedAt')&&_0x371fab['uint32'](0x3a)['string'](_0x404711['lastOperationAcceptedAt']),_0x371fab;},_0x3a639b['encodeDelimited']=function(_0x3c6f4b,_0x12cbec){return this['encode'](_0x3c6f4b,_0x12cbec)['ldelim']();},_0x3a639b['decode']=function(_0x397c0f,_0x3ae690,_0x392dc1){_0x397c0f instanceof _0x5743b9||(_0x397c0f=_0x5743b9['create'](_0x397c0f));for(var _0x313575=void 0x0===_0x3ae690?_0x397c0f['len']:_0x397c0f['pos']+_0x3ae690,_0x544763=new _0x45f2e9['CollaborativeEditingResponse']();_0x397c0f['pos']<_0x313575;){var _0x3b464b=_0x397c0f['uint32']();if(_0x3b464b===_0x392dc1)break;switch(_0x3b464b>>>0x3){case 0x1:_0x544763['version']=_0x397c0f['uint32']();break;case 0x2:_0x544763['buffers']&&_0x544763['buffers']['length']||(_0x544763['buffers']=[]),_0x544763['buffers']['push'](_0x397c0f['bytes']());break;case 0x3:if(_0x544763['types']&&_0x544763['types']['length']||(_0x544763['types']=[]),0x2==(0x7&_0x3b464b)){for(var _0x5b522a=_0x397c0f['uint32']()+_0x397c0f['pos'];_0x397c0f['pos']<_0x5b522a;)_0x544763['types']['push'](_0x397c0f['uint32']());}else _0x544763['types']['push'](_0x397c0f['uint32']());break;case 0x5:_0x544763['metadata']&&_0x544763['metadata']['length']||(_0x544763['metadata']=[]),_0x544763['metadata']['push'](_0x45f2e9['OperationMetadataDescriptor']['decode'](_0x397c0f,_0x397c0f['uint32']()));break;case 0x6:_0x544763['lastOperationId']=_0x397c0f['string']();break;case 0x7:_0x544763['lastOperationAcceptedAt']=_0x397c0f['string']();break;default:_0x397c0f['skipType'](0x7&_0x3b464b);}}return _0x544763;},_0x3a639b['decodeDelimited']=function(_0x195b93){return _0x195b93 instanceof _0x5743b9||(_0x195b93=new _0x5743b9(_0x195b93)),this['decode'](_0x195b93,_0x195b93['uint32']());},_0x3a639b['verify']=function(_0x2fe142){if('object'!=typeof _0x2fe142||null===_0x2fe142)return'object\x20expected';if(null!=_0x2fe142['version']&&_0x2fe142['hasOwnProperty']('version')&&!_0x596b78['isInteger'](_0x2fe142['version']))return'version:\x20integer\x20expected';if(null!=_0x2fe142['buffers']&&_0x2fe142['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x2fe142['buffers']))return'buffers:\x20array\x20expected';for(var _0x39d104=0x0;_0x39d104<_0x2fe142['buffers']['length'];++_0x39d104)if(!(_0x2fe142['buffers'][_0x39d104]&&'number'==typeof _0x2fe142['buffers'][_0x39d104]['length']||_0x596b78['isString'](_0x2fe142['buffers'][_0x39d104])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x2fe142['types']&&_0x2fe142['hasOwnProperty']('types')){if(!Array['isArray'](_0x2fe142['types']))return'types:\x20array\x20expected';for(_0x39d104=0x0;_0x39d104<_0x2fe142['types']['length'];++_0x39d104)if(!_0x596b78['isInteger'](_0x2fe142['types'][_0x39d104]))return'types:\x20integer[]\x20expected';}if(null!=_0x2fe142['metadata']&&_0x2fe142['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x2fe142['metadata']))return'metadata:\x20array\x20expected';for(_0x39d104=0x0;_0x39d104<_0x2fe142['metadata']['length'];++_0x39d104){var _0x1a26d7=_0x45f2e9['OperationMetadataDescriptor']['verify'](_0x2fe142['metadata'][_0x39d104]);if(_0x1a26d7)return'metadata.'+_0x1a26d7;}}return null!=_0x2fe142['lastOperationId']&&_0x2fe142['hasOwnProperty']('lastOperationId')&&!_0x596b78['isString'](_0x2fe142['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x2fe142['lastOperationAcceptedAt']&&_0x2fe142['hasOwnProperty']('lastOperationAcceptedAt')&&!_0x596b78['isString'](_0x2fe142['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},_0x3a639b['fromObject']=function(_0xa60e7){if(_0xa60e7 instanceof _0x45f2e9['CollaborativeEditingResponse'])return _0xa60e7;var _0x4bcc54=new _0x45f2e9['CollaborativeEditingResponse']();if(null!=_0xa60e7['version']&&(_0x4bcc54['version']=_0xa60e7['version']>>>0x0),_0xa60e7['buffers']){if(!Array['isArray'](_0xa60e7['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x4bcc54['buffers']=[];for(var _0x1bc382=0x0;_0x1bc382<_0xa60e7['buffers']['length'];++_0x1bc382)'string'==typeof _0xa60e7['buffers'][_0x1bc382]?_0x596b78['base64']['decode'](_0xa60e7['buffers'][_0x1bc382],_0x4bcc54['buffers'][_0x1bc382]=_0x596b78['newBuffer'](_0x596b78['base64']['length'](_0xa60e7['buffers'][_0x1bc382])),0x0):_0xa60e7['buffers'][_0x1bc382]['length']>=0x0&&(_0x4bcc54['buffers'][_0x1bc382]=_0xa60e7['buffers'][_0x1bc382]);}if(_0xa60e7['types']){if(!Array['isArray'](_0xa60e7['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');for(_0x4bcc54['types']=[],_0x1bc382=0x0;_0x1bc382<_0xa60e7['types']['length'];++_0x1bc382)_0x4bcc54['types'][_0x1bc382]=_0xa60e7['types'][_0x1bc382]>>>0x0;}if(_0xa60e7['metadata']){if(!Array['isArray'](_0xa60e7['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');for(_0x4bcc54['metadata']=[],_0x1bc382=0x0;_0x1bc382<_0xa60e7['metadata']['length'];++_0x1bc382){if('object'!=typeof _0xa60e7['metadata'][_0x1bc382])throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x4bcc54['metadata'][_0x1bc382]=_0x45f2e9['OperationMetadataDescriptor']['fromObject'](_0xa60e7['metadata'][_0x1bc382]);}}return null!=_0xa60e7['lastOperationId']&&(_0x4bcc54['lastOperationId']=String(_0xa60e7['lastOperationId'])),null!=_0xa60e7['lastOperationAcceptedAt']&&(_0x4bcc54['lastOperationAcceptedAt']=String(_0xa60e7['lastOperationAcceptedAt'])),_0x4bcc54;},_0x3a639b['toObject']=function(_0x5d1a46,_0x3f901c){_0x3f901c||(_0x3f901c={});var _0x362d10={};if((_0x3f901c['arrays']||_0x3f901c['defaults'])&&(_0x362d10['buffers']=[],_0x362d10['types']=[],_0x362d10['metadata']=[]),_0x3f901c['defaults']&&(_0x362d10['version']=0x0,_0x362d10['lastOperationId']='',_0x362d10['lastOperationAcceptedAt']=''),null!=_0x5d1a46['version']&&_0x5d1a46['hasOwnProperty']('version')&&(_0x362d10['version']=_0x5d1a46['version']),_0x5d1a46['buffers']&&_0x5d1a46['buffers']['length']){_0x362d10['buffers']=[];for(var _0x869f50=0x0;_0x869f50<_0x5d1a46['buffers']['length'];++_0x869f50)_0x362d10['buffers'][_0x869f50]=_0x3f901c['bytes']===String?_0x596b78['base64']['encode'](_0x5d1a46['buffers'][_0x869f50],0x0,_0x5d1a46['buffers'][_0x869f50]['length']):_0x3f901c['bytes']===Array?Array['prototype']['slice']['call'](_0x5d1a46['buffers'][_0x869f50]):_0x5d1a46['buffers'][_0x869f50];}if(_0x5d1a46['types']&&_0x5d1a46['types']['length']){for(_0x362d10['types']=[],_0x869f50=0x0;_0x869f50<_0x5d1a46['types']['length'];++_0x869f50)_0x362d10['types'][_0x869f50]=_0x5d1a46['types'][_0x869f50];}if(_0x5d1a46['metadata']&&_0x5d1a46['metadata']['length']){for(_0x362d10['metadata']=[],_0x869f50=0x0;_0x869f50<_0x5d1a46['metadata']['length'];++_0x869f50)_0x362d10['metadata'][_0x869f50]=_0x45f2e9['OperationMetadataDescriptor']['toObject'](_0x5d1a46['metadata'][_0x869f50],_0x3f901c);}return null!=_0x5d1a46['lastOperationId']&&_0x5d1a46['hasOwnProperty']('lastOperationId')&&(_0x362d10['lastOperationId']=_0x5d1a46['lastOperationId']),null!=_0x5d1a46['lastOperationAcceptedAt']&&_0x5d1a46['hasOwnProperty']('lastOperationAcceptedAt')&&(_0x362d10['lastOperationAcceptedAt']=_0x5d1a46['lastOperationAcceptedAt']),_0x362d10;},_0x3a639b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x3a639b['getTypeUrl']=function(_0x2f84af){return void 0x0===_0x2f84af&&(_0x2f84af='type.googleapis.com'),_0x2f84af+'/CollaborativeEditingResponse';},_0x3a639b;}()),_0x45f2e9['CollaborativeEditingConnectResponse']=(function(){function _0x58892e(_0x4b5e83){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x4b5e83){for(var _0x2442eb=Object['keys'](_0x4b5e83),_0x3905c2=0x0;_0x3905c2<_0x2442eb['length'];++_0x3905c2)null!=_0x4b5e83[_0x2442eb[_0x3905c2]]&&(this[_0x2442eb[_0x3905c2]]=_0x4b5e83[_0x2442eb[_0x3905c2]]);}}return _0x58892e['prototype']['channel']='',_0x58892e['prototype']['offset']=0x0,_0x58892e['prototype']['version']=0x0,_0x58892e['prototype']['buffers']=_0x596b78['emptyArray'],_0x58892e['prototype']['types']=_0x596b78['emptyArray'],_0x58892e['prototype']['metadata']=_0x596b78['emptyArray'],_0x58892e['prototype']['initData']='',_0x58892e['prototype']['isInitialized']=!0x1,_0x58892e['prototype']['sessionId']='',_0x58892e['prototype']['lastOperationId']='',_0x58892e['prototype']['sessionCreatedAt']='',_0x58892e['create']=function(_0xf985a5){return new _0x58892e(_0xf985a5);},_0x58892e['encode']=function(_0x40221a,_0x5ebe8c){if(_0x5ebe8c||(_0x5ebe8c=_0x3a081['create']()),null!=_0x40221a['channel']&&Object['hasOwnProperty']['call'](_0x40221a,'channel')&&_0x5ebe8c['uint32'](0xa)['string'](_0x40221a['channel']),null!=_0x40221a['offset']&&Object['hasOwnProperty']['call'](_0x40221a,'offset')&&_0x5ebe8c['uint32'](0x10)['uint32'](_0x40221a['offset']),null!=_0x40221a['version']&&Object['hasOwnProperty']['call'](_0x40221a,'version')&&_0x5ebe8c['uint32'](0x18)['uint32'](_0x40221a['version']),null!=_0x40221a['buffers']&&_0x40221a['buffers']['length']){for(var _0x271aea=0x0;_0x271aea<_0x40221a['buffers']['length'];++_0x271aea)_0x5ebe8c['uint32'](0x22)['bytes'](_0x40221a['buffers'][_0x271aea]);}if(null!=_0x40221a['types']&&_0x40221a['types']['length']){for(_0x5ebe8c['uint32'](0x2a)['fork'](),_0x271aea=0x0;_0x271aea<_0x40221a['types']['length'];++_0x271aea)_0x5ebe8c['uint32'](_0x40221a['types'][_0x271aea]);_0x5ebe8c['ldelim']();}if(null!=_0x40221a['metadata']&&_0x40221a['metadata']['length']){for(_0x271aea=0x0;_0x271aea<_0x40221a['metadata']['length'];++_0x271aea)_0x45f2e9['OperationMetadataDescriptor']['encode'](_0x40221a['metadata'][_0x271aea],_0x5ebe8c['uint32'](0x3a)['fork']())['ldelim']();}return null!=_0x40221a['initData']&&Object['hasOwnProperty']['call'](_0x40221a,'initData')&&_0x5ebe8c['uint32'](0x42)['string'](_0x40221a['initData']),null!=_0x40221a['isInitialized']&&Object['hasOwnProperty']['call'](_0x40221a,'isInitialized')&&_0x5ebe8c['uint32'](0x48)['bool'](_0x40221a['isInitialized']),null!=_0x40221a['sessionId']&&Object['hasOwnProperty']['call'](_0x40221a,'sessionId')&&_0x5ebe8c['uint32'](0x52)['string'](_0x40221a['sessionId']),null!=_0x40221a['lastOperationId']&&Object['hasOwnProperty']['call'](_0x40221a,'lastOperationId')&&_0x5ebe8c['uint32'](0x5a)['string'](_0x40221a['lastOperationId']),null!=_0x40221a['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x40221a,'sessionCreatedAt')&&_0x5ebe8c['uint32'](0x62)['string'](_0x40221a['sessionCreatedAt']),_0x5ebe8c;},_0x58892e['encodeDelimited']=function(_0x2816ac,_0x5d6498){return this['encode'](_0x2816ac,_0x5d6498)['ldelim']();},_0x58892e['decode']=function(_0x47dd1d,_0x4970eb,_0x4dcc04){_0x47dd1d instanceof _0x5743b9||(_0x47dd1d=_0x5743b9['create'](_0x47dd1d));for(var _0x5b8147=void 0x0===_0x4970eb?_0x47dd1d['len']:_0x47dd1d['pos']+_0x4970eb,_0x1ff347=new _0x45f2e9['CollaborativeEditingConnectResponse']();_0x47dd1d['pos']<_0x5b8147;){var _0x42e6f3=_0x47dd1d['uint32']();if(_0x42e6f3===_0x4dcc04)break;switch(_0x42e6f3>>>0x3){case 0x1:_0x1ff347['channel']=_0x47dd1d['string']();break;case 0x2:_0x1ff347['offset']=_0x47dd1d['uint32']();break;case 0x3:_0x1ff347['version']=_0x47dd1d['uint32']();break;case 0x4:_0x1ff347['buffers']&&_0x1ff347['buffers']['length']||(_0x1ff347['buffers']=[]),_0x1ff347['buffers']['push'](_0x47dd1d['bytes']());break;case 0x5:if(_0x1ff347['types']&&_0x1ff347['types']['length']||(_0x1ff347['types']=[]),0x2==(0x7&_0x42e6f3)){for(var _0x631b17=_0x47dd1d['uint32']()+_0x47dd1d['pos'];_0x47dd1d['pos']<_0x631b17;)_0x1ff347['types']['push'](_0x47dd1d['uint32']());}else _0x1ff347['types']['push'](_0x47dd1d['uint32']());break;case 0x7:_0x1ff347['metadata']&&_0x1ff347['metadata']['length']||(_0x1ff347['metadata']=[]),_0x1ff347['metadata']['push'](_0x45f2e9['OperationMetadataDescriptor']['decode'](_0x47dd1d,_0x47dd1d['uint32']()));break;case 0x8:_0x1ff347['initData']=_0x47dd1d['string']();break;case 0x9:_0x1ff347['isInitialized']=_0x47dd1d['bool']();break;case 0xa:_0x1ff347['sessionId']=_0x47dd1d['string']();break;case 0xb:_0x1ff347['lastOperationId']=_0x47dd1d['string']();break;case 0xc:_0x1ff347['sessionCreatedAt']=_0x47dd1d['string']();break;default:_0x47dd1d['skipType'](0x7&_0x42e6f3);}}return _0x1ff347;},_0x58892e['decodeDelimited']=function(_0x28bf9b){return _0x28bf9b instanceof _0x5743b9||(_0x28bf9b=new _0x5743b9(_0x28bf9b)),this['decode'](_0x28bf9b,_0x28bf9b['uint32']());},_0x58892e['verify']=function(_0x558122){if('object'!=typeof _0x558122||null===_0x558122)return'object\x20expected';if(null!=_0x558122['channel']&&_0x558122['hasOwnProperty']('channel')&&!_0x596b78['isString'](_0x558122['channel']))return'channel:\x20string\x20expected';if(null!=_0x558122['offset']&&_0x558122['hasOwnProperty']('offset')&&!_0x596b78['isInteger'](_0x558122['offset']))return'offset:\x20integer\x20expected';if(null!=_0x558122['version']&&_0x558122['hasOwnProperty']('version')&&!_0x596b78['isInteger'](_0x558122['version']))return'version:\x20integer\x20expected';if(null!=_0x558122['buffers']&&_0x558122['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x558122['buffers']))return'buffers:\x20array\x20expected';for(var _0x58be15=0x0;_0x58be15<_0x558122['buffers']['length'];++_0x58be15)if(!(_0x558122['buffers'][_0x58be15]&&'number'==typeof _0x558122['buffers'][_0x58be15]['length']||_0x596b78['isString'](_0x558122['buffers'][_0x58be15])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x558122['types']&&_0x558122['hasOwnProperty']('types')){if(!Array['isArray'](_0x558122['types']))return'types:\x20array\x20expected';for(_0x58be15=0x0;_0x58be15<_0x558122['types']['length'];++_0x58be15)if(!_0x596b78['isInteger'](_0x558122['types'][_0x58be15]))return'types:\x20integer[]\x20expected';}if(null!=_0x558122['metadata']&&_0x558122['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x558122['metadata']))return'metadata:\x20array\x20expected';for(_0x58be15=0x0;_0x58be15<_0x558122['metadata']['length'];++_0x58be15){var _0x478fe1=_0x45f2e9['OperationMetadataDescriptor']['verify'](_0x558122['metadata'][_0x58be15]);if(_0x478fe1)return'metadata.'+_0x478fe1;}}return null!=_0x558122['initData']&&_0x558122['hasOwnProperty']('initData')&&!_0x596b78['isString'](_0x558122['initData'])?'initData:\x20string\x20expected':null!=_0x558122['isInitialized']&&_0x558122['hasOwnProperty']('isInitialized')&&'boolean'!=typeof _0x558122['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0x558122['sessionId']&&_0x558122['hasOwnProperty']('sessionId')&&!_0x596b78['isString'](_0x558122['sessionId'])?'sessionId:\x20string\x20expected':null!=_0x558122['lastOperationId']&&_0x558122['hasOwnProperty']('lastOperationId')&&!_0x596b78['isString'](_0x558122['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x558122['sessionCreatedAt']&&_0x558122['hasOwnProperty']('sessionCreatedAt')&&!_0x596b78['isString'](_0x558122['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},_0x58892e['fromObject']=function(_0x573e09){if(_0x573e09 instanceof _0x45f2e9['CollaborativeEditingConnectResponse'])return _0x573e09;var _0x5f2a51=new _0x45f2e9['CollaborativeEditingConnectResponse']();if(null!=_0x573e09['channel']&&(_0x5f2a51['channel']=String(_0x573e09['channel'])),null!=_0x573e09['offset']&&(_0x5f2a51['offset']=_0x573e09['offset']>>>0x0),null!=_0x573e09['version']&&(_0x5f2a51['version']=_0x573e09['version']>>>0x0),_0x573e09['buffers']){if(!Array['isArray'](_0x573e09['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0x5f2a51['buffers']=[];for(var _0x1b8184=0x0;_0x1b8184<_0x573e09['buffers']['length'];++_0x1b8184)'string'==typeof _0x573e09['buffers'][_0x1b8184]?_0x596b78['base64']['decode'](_0x573e09['buffers'][_0x1b8184],_0x5f2a51['buffers'][_0x1b8184]=_0x596b78['newBuffer'](_0x596b78['base64']['length'](_0x573e09['buffers'][_0x1b8184])),0x0):_0x573e09['buffers'][_0x1b8184]['length']>=0x0&&(_0x5f2a51['buffers'][_0x1b8184]=_0x573e09['buffers'][_0x1b8184]);}if(_0x573e09['types']){if(!Array['isArray'](_0x573e09['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');for(_0x5f2a51['types']=[],_0x1b8184=0x0;_0x1b8184<_0x573e09['types']['length'];++_0x1b8184)_0x5f2a51['types'][_0x1b8184]=_0x573e09['types'][_0x1b8184]>>>0x0;}if(_0x573e09['metadata']){if(!Array['isArray'](_0x573e09['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');for(_0x5f2a51['metadata']=[],_0x1b8184=0x0;_0x1b8184<_0x573e09['metadata']['length'];++_0x1b8184){if('object'!=typeof _0x573e09['metadata'][_0x1b8184])throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0x5f2a51['metadata'][_0x1b8184]=_0x45f2e9['OperationMetadataDescriptor']['fromObject'](_0x573e09['metadata'][_0x1b8184]);}}return null!=_0x573e09['initData']&&(_0x5f2a51['initData']=String(_0x573e09['initData'])),null!=_0x573e09['isInitialized']&&(_0x5f2a51['isInitialized']=Boolean(_0x573e09['isInitialized'])),null!=_0x573e09['sessionId']&&(_0x5f2a51['sessionId']=String(_0x573e09['sessionId'])),null!=_0x573e09['lastOperationId']&&(_0x5f2a51['lastOperationId']=String(_0x573e09['lastOperationId'])),null!=_0x573e09['sessionCreatedAt']&&(_0x5f2a51['sessionCreatedAt']=String(_0x573e09['sessionCreatedAt'])),_0x5f2a51;},_0x58892e['toObject']=function(_0x4f35eb,_0x2f9e8f){_0x2f9e8f||(_0x2f9e8f={});var _0x401029={};if((_0x2f9e8f['arrays']||_0x2f9e8f['defaults'])&&(_0x401029['buffers']=[],_0x401029['types']=[],_0x401029['metadata']=[]),_0x2f9e8f['defaults']&&(_0x401029['channel']='',_0x401029['offset']=0x0,_0x401029['version']=0x0,_0x401029['initData']='',_0x401029['isInitialized']=!0x1,_0x401029['sessionId']='',_0x401029['lastOperationId']='',_0x401029['sessionCreatedAt']=''),null!=_0x4f35eb['channel']&&_0x4f35eb['hasOwnProperty']('channel')&&(_0x401029['channel']=_0x4f35eb['channel']),null!=_0x4f35eb['offset']&&_0x4f35eb['hasOwnProperty']('offset')&&(_0x401029['offset']=_0x4f35eb['offset']),null!=_0x4f35eb['version']&&_0x4f35eb['hasOwnProperty']('version')&&(_0x401029['version']=_0x4f35eb['version']),_0x4f35eb['buffers']&&_0x4f35eb['buffers']['length']){_0x401029['buffers']=[];for(var _0x237ef1=0x0;_0x237ef1<_0x4f35eb['buffers']['length'];++_0x237ef1)_0x401029['buffers'][_0x237ef1]=_0x2f9e8f['bytes']===String?_0x596b78['base64']['encode'](_0x4f35eb['buffers'][_0x237ef1],0x0,_0x4f35eb['buffers'][_0x237ef1]['length']):_0x2f9e8f['bytes']===Array?Array['prototype']['slice']['call'](_0x4f35eb['buffers'][_0x237ef1]):_0x4f35eb['buffers'][_0x237ef1];}if(_0x4f35eb['types']&&_0x4f35eb['types']['length']){for(_0x401029['types']=[],_0x237ef1=0x0;_0x237ef1<_0x4f35eb['types']['length'];++_0x237ef1)_0x401029['types'][_0x237ef1]=_0x4f35eb['types'][_0x237ef1];}if(_0x4f35eb['metadata']&&_0x4f35eb['metadata']['length']){for(_0x401029['metadata']=[],_0x237ef1=0x0;_0x237ef1<_0x4f35eb['metadata']['length'];++_0x237ef1)_0x401029['metadata'][_0x237ef1]=_0x45f2e9['OperationMetadataDescriptor']['toObject'](_0x4f35eb['metadata'][_0x237ef1],_0x2f9e8f);}return null!=_0x4f35eb['initData']&&_0x4f35eb['hasOwnProperty']('initData')&&(_0x401029['initData']=_0x4f35eb['initData']),null!=_0x4f35eb['isInitialized']&&_0x4f35eb['hasOwnProperty']('isInitialized')&&(_0x401029['isInitialized']=_0x4f35eb['isInitialized']),null!=_0x4f35eb['sessionId']&&_0x4f35eb['hasOwnProperty']('sessionId')&&(_0x401029['sessionId']=_0x4f35eb['sessionId']),null!=_0x4f35eb['lastOperationId']&&_0x4f35eb['hasOwnProperty']('lastOperationId')&&(_0x401029['lastOperationId']=_0x4f35eb['lastOperationId']),null!=_0x4f35eb['sessionCreatedAt']&&_0x4f35eb['hasOwnProperty']('sessionCreatedAt')&&(_0x401029['sessionCreatedAt']=_0x4f35eb['sessionCreatedAt']),_0x401029;},_0x58892e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x58892e['getTypeUrl']=function(_0x3e9614){return void 0x0===_0x3e9614&&(_0x3e9614='type.googleapis.com'),_0x3e9614+'/CollaborativeEditingConnectResponse';},_0x58892e;}()),_0x45f2e9['GetDocumentDetailsMessage']=(function(){function _0x59cd33(_0x720af8){if(_0x720af8){for(var _0x4aceb7=Object['keys'](_0x720af8),_0x5e655f=0x0;_0x5e655f<_0x4aceb7['length'];++_0x5e655f)null!=_0x720af8[_0x4aceb7[_0x5e655f]]&&(this[_0x4aceb7[_0x5e655f]]=_0x720af8[_0x4aceb7[_0x5e655f]]);}}return _0x59cd33['prototype']['documentId']='',_0x59cd33['prototype']['environmentId']='',_0x59cd33['create']=function(_0x35c056){return new _0x59cd33(_0x35c056);},_0x59cd33['encode']=function(_0x442b78,_0x59a1c7){return _0x59a1c7||(_0x59a1c7=_0x3a081['create']()),null!=_0x442b78['documentId']&&Object['hasOwnProperty']['call'](_0x442b78,'documentId')&&_0x59a1c7['uint32'](0xa)['string'](_0x442b78['documentId']),null!=_0x442b78['environmentId']&&Object['hasOwnProperty']['call'](_0x442b78,'environmentId')&&_0x59a1c7['uint32'](0x12)['string'](_0x442b78['environmentId']),_0x59a1c7;},_0x59cd33['encodeDelimited']=function(_0x265792,_0x5839f9){return this['encode'](_0x265792,_0x5839f9)['ldelim']();},_0x59cd33['decode']=function(_0x484ed5,_0x178b53,_0x5bb6ef){_0x484ed5 instanceof _0x5743b9||(_0x484ed5=_0x5743b9['create'](_0x484ed5));for(var _0x3d4ddc=void 0x0===_0x178b53?_0x484ed5['len']:_0x484ed5['pos']+_0x178b53,_0x203cc7=new _0x45f2e9['GetDocumentDetailsMessage']();_0x484ed5['pos']<_0x3d4ddc;){var _0x475e40=_0x484ed5['uint32']();if(_0x475e40===_0x5bb6ef)break;switch(_0x475e40>>>0x3){case 0x1:_0x203cc7['documentId']=_0x484ed5['string']();break;case 0x2:_0x203cc7['environmentId']=_0x484ed5['string']();break;default:_0x484ed5['skipType'](0x7&_0x475e40);}}return _0x203cc7;},_0x59cd33['decodeDelimited']=function(_0x22d074){return _0x22d074 instanceof _0x5743b9||(_0x22d074=new _0x5743b9(_0x22d074)),this['decode'](_0x22d074,_0x22d074['uint32']());},_0x59cd33['verify']=function(_0xae9019){return'object'!=typeof _0xae9019||null===_0xae9019?'object\x20expected':null!=_0xae9019['documentId']&&_0xae9019['hasOwnProperty']('documentId')&&!_0x596b78['isString'](_0xae9019['documentId'])?'documentId:\x20string\x20expected':null!=_0xae9019['environmentId']&&_0xae9019['hasOwnProperty']('environmentId')&&!_0x596b78['isString'](_0xae9019['environmentId'])?'environmentId:\x20string\x20expected':null;},_0x59cd33['fromObject']=function(_0x555cdf){if(_0x555cdf instanceof _0x45f2e9['GetDocumentDetailsMessage'])return _0x555cdf;var _0x41d782=new _0x45f2e9['GetDocumentDetailsMessage']();return null!=_0x555cdf['documentId']&&(_0x41d782['documentId']=String(_0x555cdf['documentId'])),null!=_0x555cdf['environmentId']&&(_0x41d782['environmentId']=String(_0x555cdf['environmentId'])),_0x41d782;},_0x59cd33['toObject']=function(_0x700225,_0xb95fb5){_0xb95fb5||(_0xb95fb5={});var _0xe2de61={};return _0xb95fb5['defaults']&&(_0xe2de61['documentId']='',_0xe2de61['environmentId']=''),null!=_0x700225['documentId']&&_0x700225['hasOwnProperty']('documentId')&&(_0xe2de61['documentId']=_0x700225['documentId']),null!=_0x700225['environmentId']&&_0x700225['hasOwnProperty']('environmentId')&&(_0xe2de61['environmentId']=_0x700225['environmentId']),_0xe2de61;},_0x59cd33['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x59cd33['getTypeUrl']=function(_0x31260b){return void 0x0===_0x31260b&&(_0x31260b='type.googleapis.com'),_0x31260b+'/GetDocumentDetailsMessage';},_0x59cd33;}()),_0x45f2e9['CollaborativeEditingUpdateMessage']=(function(){function _0x94f926(_0x1fc3e3){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x1fc3e3){for(var _0xbaf81=Object['keys'](_0x1fc3e3),_0x392f0f=0x0;_0x392f0f<_0xbaf81['length'];++_0x392f0f)null!=_0x1fc3e3[_0xbaf81[_0x392f0f]]&&(this[_0xbaf81[_0x392f0f]]=_0x1fc3e3[_0xbaf81[_0x392f0f]]);}}return _0x94f926['prototype']['id']='',_0x94f926['prototype']['baseVersion']=0x0,_0x94f926['prototype']['buffers']=_0x596b78['emptyArray'],_0x94f926['prototype']['types']=_0x596b78['emptyArray'],_0x94f926['prototype']['metadata']=_0x596b78['emptyArray'],_0x94f926['prototype']['lastOperationId']='',_0x94f926['create']=function(_0x437a97){return new _0x94f926(_0x437a97);},_0x94f926['encode']=function(_0x4564ec,_0x11902f){if(_0x11902f||(_0x11902f=_0x3a081['create']()),null!=_0x4564ec['id']&&Object['hasOwnProperty']['call'](_0x4564ec,'id')&&_0x11902f['uint32'](0xa)['string'](_0x4564ec['id']),null!=_0x4564ec['baseVersion']&&Object['hasOwnProperty']['call'](_0x4564ec,'baseVersion')&&_0x11902f['uint32'](0x10)['uint32'](_0x4564ec['baseVersion']),null!=_0x4564ec['buffers']&&_0x4564ec['buffers']['length']){for(var _0x9802a4=0x0;_0x9802a4<_0x4564ec['buffers']['length'];++_0x9802a4)_0x11902f['uint32'](0x1a)['bytes'](_0x4564ec['buffers'][_0x9802a4]);}if(null!=_0x4564ec['types']&&_0x4564ec['types']['length']){for(_0x11902f['uint32'](0x22)['fork'](),_0x9802a4=0x0;_0x9802a4<_0x4564ec['types']['length'];++_0x9802a4)_0x11902f['uint32'](_0x4564ec['types'][_0x9802a4]);_0x11902f['ldelim']();}if(null!=_0x4564ec['metadata']&&_0x4564ec['metadata']['length']){for(_0x9802a4=0x0;_0x9802a4<_0x4564ec['metadata']['length'];++_0x9802a4)_0x45f2e9['OperationMetadataDescriptor']['encode'](_0x4564ec['metadata'][_0x9802a4],_0x11902f['uint32'](0x32)['fork']())['ldelim']();}return null!=_0x4564ec['lastOperationId']&&Object['hasOwnProperty']['call'](_0x4564ec,'lastOperationId')&&_0x11902f['uint32'](0x3a)['string'](_0x4564ec['lastOperationId']),_0x11902f;},_0x94f926['encodeDelimited']=function(_0x40df14,_0x21520e){return this['encode'](_0x40df14,_0x21520e)['ldelim']();},_0x94f926['decode']=function(_0x56f85b,_0x540f16,_0x466a9d){_0x56f85b instanceof _0x5743b9||(_0x56f85b=_0x5743b9['create'](_0x56f85b));for(var _0x3aaf70=void 0x0===_0x540f16?_0x56f85b['len']:_0x56f85b['pos']+_0x540f16,_0x4a35f4=new _0x45f2e9['CollaborativeEditingUpdateMessage']();_0x56f85b['pos']<_0x3aaf70;){var _0xfefc38=_0x56f85b['uint32']();if(_0xfefc38===_0x466a9d)break;switch(_0xfefc38>>>0x3){case 0x1:_0x4a35f4['id']=_0x56f85b['string']();break;case 0x2:_0x4a35f4['baseVersion']=_0x56f85b['uint32']();break;case 0x3:_0x4a35f4['buffers']&&_0x4a35f4['buffers']['length']||(_0x4a35f4['buffers']=[]),_0x4a35f4['buffers']['push'](_0x56f85b['bytes']());break;case 0x4:if(_0x4a35f4['types']&&_0x4a35f4['types']['length']||(_0x4a35f4['types']=[]),0x2==(0x7&_0xfefc38)){for(var _0x55e9ac=_0x56f85b['uint32']()+_0x56f85b['pos'];_0x56f85b['pos']<_0x55e9ac;)_0x4a35f4['types']['push'](_0x56f85b['uint32']());}else _0x4a35f4['types']['push'](_0x56f85b['uint32']());break;case 0x6:_0x4a35f4['metadata']&&_0x4a35f4['metadata']['length']||(_0x4a35f4['metadata']=[]),_0x4a35f4['metadata']['push'](_0x45f2e9['OperationMetadataDescriptor']['decode'](_0x56f85b,_0x56f85b['uint32']()));break;case 0x7:_0x4a35f4['lastOperationId']=_0x56f85b['string']();break;default:_0x56f85b['skipType'](0x7&_0xfefc38);}}return _0x4a35f4;},_0x94f926['decodeDelimited']=function(_0x562422){return _0x562422 instanceof _0x5743b9||(_0x562422=new _0x5743b9(_0x562422)),this['decode'](_0x562422,_0x562422['uint32']());},_0x94f926['verify']=function(_0x53802a){if('object'!=typeof _0x53802a||null===_0x53802a)return'object\x20expected';if(null!=_0x53802a['id']&&_0x53802a['hasOwnProperty']('id')&&!_0x596b78['isString'](_0x53802a['id']))return'id:\x20string\x20expected';if(null!=_0x53802a['baseVersion']&&_0x53802a['hasOwnProperty']('baseVersion')&&!_0x596b78['isInteger'](_0x53802a['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x53802a['buffers']&&_0x53802a['hasOwnProperty']('buffers')){if(!Array['isArray'](_0x53802a['buffers']))return'buffers:\x20array\x20expected';for(var _0x4d0947=0x0;_0x4d0947<_0x53802a['buffers']['length'];++_0x4d0947)if(!(_0x53802a['buffers'][_0x4d0947]&&'number'==typeof _0x53802a['buffers'][_0x4d0947]['length']||_0x596b78['isString'](_0x53802a['buffers'][_0x4d0947])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x53802a['types']&&_0x53802a['hasOwnProperty']('types')){if(!Array['isArray'](_0x53802a['types']))return'types:\x20array\x20expected';for(_0x4d0947=0x0;_0x4d0947<_0x53802a['types']['length'];++_0x4d0947)if(!_0x596b78['isInteger'](_0x53802a['types'][_0x4d0947]))return'types:\x20integer[]\x20expected';}if(null!=_0x53802a['metadata']&&_0x53802a['hasOwnProperty']('metadata')){if(!Array['isArray'](_0x53802a['metadata']))return'metadata:\x20array\x20expected';for(_0x4d0947=0x0;_0x4d0947<_0x53802a['metadata']['length'];++_0x4d0947){var _0x4762e4=_0x45f2e9['OperationMetadataDescriptor']['verify'](_0x53802a['metadata'][_0x4d0947]);if(_0x4762e4)return'metadata.'+_0x4762e4;}}return null!=_0x53802a['lastOperationId']&&_0x53802a['hasOwnProperty']('lastOperationId')&&!_0x596b78['isString'](_0x53802a['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x94f926['fromObject']=function(_0x18fe8b){if(_0x18fe8b instanceof _0x45f2e9['CollaborativeEditingUpdateMessage'])return _0x18fe8b;var _0x4cc4a4=new _0x45f2e9['CollaborativeEditingUpdateMessage']();if(null!=_0x18fe8b['id']&&(_0x4cc4a4['id']=String(_0x18fe8b['id'])),null!=_0x18fe8b['baseVersion']&&(_0x4cc4a4['baseVersion']=_0x18fe8b['baseVersion']>>>0x0),_0x18fe8b['buffers']){if(!Array['isArray'](_0x18fe8b['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0x4cc4a4['buffers']=[];for(var _0x2677a7=0x0;_0x2677a7<_0x18fe8b['buffers']['length'];++_0x2677a7)'string'==typeof _0x18fe8b['buffers'][_0x2677a7]?_0x596b78['base64']['decode'](_0x18fe8b['buffers'][_0x2677a7],_0x4cc4a4['buffers'][_0x2677a7]=_0x596b78['newBuffer'](_0x596b78['base64']['length'](_0x18fe8b['buffers'][_0x2677a7])),0x0):_0x18fe8b['buffers'][_0x2677a7]['length']>=0x0&&(_0x4cc4a4['buffers'][_0x2677a7]=_0x18fe8b['buffers'][_0x2677a7]);}if(_0x18fe8b['types']){if(!Array['isArray'](_0x18fe8b['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');for(_0x4cc4a4['types']=[],_0x2677a7=0x0;_0x2677a7<_0x18fe8b['types']['length'];++_0x2677a7)_0x4cc4a4['types'][_0x2677a7]=_0x18fe8b['types'][_0x2677a7]>>>0x0;}if(_0x18fe8b['metadata']){if(!Array['isArray'](_0x18fe8b['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');for(_0x4cc4a4['metadata']=[],_0x2677a7=0x0;_0x2677a7<_0x18fe8b['metadata']['length'];++_0x2677a7){if('object'!=typeof _0x18fe8b['metadata'][_0x2677a7])throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0x4cc4a4['metadata'][_0x2677a7]=_0x45f2e9['OperationMetadataDescriptor']['fromObject'](_0x18fe8b['metadata'][_0x2677a7]);}}return null!=_0x18fe8b['lastOperationId']&&(_0x4cc4a4['lastOperationId']=String(_0x18fe8b['lastOperationId'])),_0x4cc4a4;},_0x94f926['toObject']=function(_0x1acbba,_0x2a5a4d){_0x2a5a4d||(_0x2a5a4d={});var _0x2c4448={};if((_0x2a5a4d['arrays']||_0x2a5a4d['defaults'])&&(_0x2c4448['buffers']=[],_0x2c4448['types']=[],_0x2c4448['metadata']=[]),_0x2a5a4d['defaults']&&(_0x2c4448['id']='',_0x2c4448['baseVersion']=0x0,_0x2c4448['lastOperationId']=''),null!=_0x1acbba['id']&&_0x1acbba['hasOwnProperty']('id')&&(_0x2c4448['id']=_0x1acbba['id']),null!=_0x1acbba['baseVersion']&&_0x1acbba['hasOwnProperty']('baseVersion')&&(_0x2c4448['baseVersion']=_0x1acbba['baseVersion']),_0x1acbba['buffers']&&_0x1acbba['buffers']['length']){_0x2c4448['buffers']=[];for(var _0x417c8d=0x0;_0x417c8d<_0x1acbba['buffers']['length'];++_0x417c8d)_0x2c4448['buffers'][_0x417c8d]=_0x2a5a4d['bytes']===String?_0x596b78['base64']['encode'](_0x1acbba['buffers'][_0x417c8d],0x0,_0x1acbba['buffers'][_0x417c8d]['length']):_0x2a5a4d['bytes']===Array?Array['prototype']['slice']['call'](_0x1acbba['buffers'][_0x417c8d]):_0x1acbba['buffers'][_0x417c8d];}if(_0x1acbba['types']&&_0x1acbba['types']['length']){for(_0x2c4448['types']=[],_0x417c8d=0x0;_0x417c8d<_0x1acbba['types']['length'];++_0x417c8d)_0x2c4448['types'][_0x417c8d]=_0x1acbba['types'][_0x417c8d];}if(_0x1acbba['metadata']&&_0x1acbba['metadata']['length']){for(_0x2c4448['metadata']=[],_0x417c8d=0x0;_0x417c8d<_0x1acbba['metadata']['length'];++_0x417c8d)_0x2c4448['metadata'][_0x417c8d]=_0x45f2e9['OperationMetadataDescriptor']['toObject'](_0x1acbba['metadata'][_0x417c8d],_0x2a5a4d);}return null!=_0x1acbba['lastOperationId']&&_0x1acbba['hasOwnProperty']('lastOperationId')&&(_0x2c4448['lastOperationId']=_0x1acbba['lastOperationId']),_0x2c4448;},_0x94f926['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x94f926['getTypeUrl']=function(_0x1f6d2e){return void 0x0===_0x1f6d2e&&(_0x1f6d2e='type.googleapis.com'),_0x1f6d2e+'/CollaborativeEditingUpdateMessage';},_0x94f926;}()),_0x45f2e9['CollaborativeEditingReconnectMessage']=(function(){function _0x2c3f64(_0x6bfbcb){if(_0x6bfbcb){for(var _0x1b836d=Object['keys'](_0x6bfbcb),_0xd88907=0x0;_0xd88907<_0x1b836d['length'];++_0xd88907)null!=_0x6bfbcb[_0x1b836d[_0xd88907]]&&(this[_0x1b836d[_0xd88907]]=_0x6bfbcb[_0x1b836d[_0xd88907]]);}}return _0x2c3f64['prototype']['id']='',_0x2c3f64['prototype']['bundleVersion']='',_0x2c3f64['prototype']['lastKnowVersion']=0x0,_0x2c3f64['create']=function(_0x328ddd){return new _0x2c3f64(_0x328ddd);},_0x2c3f64['encode']=function(_0x2856f8,_0x39df12){return _0x39df12||(_0x39df12=_0x3a081['create']()),null!=_0x2856f8['id']&&Object['hasOwnProperty']['call'](_0x2856f8,'id')&&_0x39df12['uint32'](0xa)['string'](_0x2856f8['id']),null!=_0x2856f8['bundleVersion']&&Object['hasOwnProperty']['call'](_0x2856f8,'bundleVersion')&&_0x39df12['uint32'](0x12)['string'](_0x2856f8['bundleVersion']),null!=_0x2856f8['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x2856f8,'lastKnowVersion')&&_0x39df12['uint32'](0x18)['uint32'](_0x2856f8['lastKnowVersion']),_0x39df12;},_0x2c3f64['encodeDelimited']=function(_0x133fcb,_0x175492){return this['encode'](_0x133fcb,_0x175492)['ldelim']();},_0x2c3f64['decode']=function(_0x1845a2,_0x36ae71,_0x36c102){_0x1845a2 instanceof _0x5743b9||(_0x1845a2=_0x5743b9['create'](_0x1845a2));for(var _0x3bc121=void 0x0===_0x36ae71?_0x1845a2['len']:_0x1845a2['pos']+_0x36ae71,_0x27b961=new _0x45f2e9['CollaborativeEditingReconnectMessage']();_0x1845a2['pos']<_0x3bc121;){var _0x23456e=_0x1845a2['uint32']();if(_0x23456e===_0x36c102)break;switch(_0x23456e>>>0x3){case 0x1:_0x27b961['id']=_0x1845a2['string']();break;case 0x2:_0x27b961['bundleVersion']=_0x1845a2['string']();break;case 0x3:_0x27b961['lastKnowVersion']=_0x1845a2['uint32']();break;default:_0x1845a2['skipType'](0x7&_0x23456e);}}return _0x27b961;},_0x2c3f64['decodeDelimited']=function(_0x25fc4c){return _0x25fc4c instanceof _0x5743b9||(_0x25fc4c=new _0x5743b9(_0x25fc4c)),this['decode'](_0x25fc4c,_0x25fc4c['uint32']());},_0x2c3f64['verify']=function(_0x1b1cf3){return'object'!=typeof _0x1b1cf3||null===_0x1b1cf3?'object\x20expected':null!=_0x1b1cf3['id']&&_0x1b1cf3['hasOwnProperty']('id')&&!_0x596b78['isString'](_0x1b1cf3['id'])?'id:\x20string\x20expected':null!=_0x1b1cf3['bundleVersion']&&_0x1b1cf3['hasOwnProperty']('bundleVersion')&&!_0x596b78['isString'](_0x1b1cf3['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x1b1cf3['lastKnowVersion']&&_0x1b1cf3['hasOwnProperty']('lastKnowVersion')&&!_0x596b78['isInteger'](_0x1b1cf3['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null;},_0x2c3f64['fromObject']=function(_0x2e91a0){if(_0x2e91a0 instanceof _0x45f2e9['CollaborativeEditingReconnectMessage'])return _0x2e91a0;var _0x4816db=new _0x45f2e9['CollaborativeEditingReconnectMessage']();return null!=_0x2e91a0['id']&&(_0x4816db['id']=String(_0x2e91a0['id'])),null!=_0x2e91a0['bundleVersion']&&(_0x4816db['bundleVersion']=String(_0x2e91a0['bundleVersion'])),null!=_0x2e91a0['lastKnowVersion']&&(_0x4816db['lastKnowVersion']=_0x2e91a0['lastKnowVersion']>>>0x0),_0x4816db;},_0x2c3f64['toObject']=function(_0x4cdba4,_0x1aebfd){_0x1aebfd||(_0x1aebfd={});var _0x5d53d5={};return _0x1aebfd['defaults']&&(_0x5d53d5['id']='',_0x5d53d5['bundleVersion']='',_0x5d53d5['lastKnowVersion']=0x0),null!=_0x4cdba4['id']&&_0x4cdba4['hasOwnProperty']('id')&&(_0x5d53d5['id']=_0x4cdba4['id']),null!=_0x4cdba4['bundleVersion']&&_0x4cdba4['hasOwnProperty']('bundleVersion')&&(_0x5d53d5['bundleVersion']=_0x4cdba4['bundleVersion']),null!=_0x4cdba4['lastKnowVersion']&&_0x4cdba4['hasOwnProperty']('lastKnowVersion')&&(_0x5d53d5['lastKnowVersion']=_0x4cdba4['lastKnowVersion']),_0x5d53d5;},_0x2c3f64['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x2c3f64['getTypeUrl']=function(_0x3ac7a0){return void 0x0===_0x3ac7a0&&(_0x3ac7a0='type.googleapis.com'),_0x3ac7a0+'/CollaborativeEditingReconnectMessage';},_0x2c3f64;}()),_0x45f2e9['CollaborativeEditingConnectMessage']=(function(){function _0x3788e6(_0x441443){if(this['buffers']=[],this['types']=[],_0x441443){for(var _0x47a177=Object['keys'](_0x441443),_0x3491cc=0x0;_0x3491cc<_0x47a177['length'];++_0x3491cc)null!=_0x441443[_0x47a177[_0x3491cc]]&&(this[_0x47a177[_0x3491cc]]=_0x441443[_0x47a177[_0x3491cc]]);}}return _0x3788e6['prototype']['id']='',_0x3788e6['prototype']['bundleVersion']='',_0x3788e6['prototype']['buffers']=_0x596b78['emptyArray'],_0x3788e6['prototype']['types']=_0x596b78['emptyArray'],_0x3788e6['prototype']['lastOperationId']='',_0x3788e6['create']=function(_0xadd028){return new _0x3788e6(_0xadd028);},_0x3788e6['encode']=function(_0x41ff28,_0x59ac5a){if(_0x59ac5a||(_0x59ac5a=_0x3a081['create']()),null!=_0x41ff28['id']&&Object['hasOwnProperty']['call'](_0x41ff28,'id')&&_0x59ac5a['uint32'](0xa)['string'](_0x41ff28['id']),null!=_0x41ff28['bundleVersion']&&Object['hasOwnProperty']['call'](_0x41ff28,'bundleVersion')&&_0x59ac5a['uint32'](0x12)['string'](_0x41ff28['bundleVersion']),null!=_0x41ff28['buffers']&&_0x41ff28['buffers']['length']){for(var _0x229f56=0x0;_0x229f56<_0x41ff28['buffers']['length'];++_0x229f56)_0x59ac5a['uint32'](0x1a)['bytes'](_0x41ff28['buffers'][_0x229f56]);}if(null!=_0x41ff28['types']&&_0x41ff28['types']['length']){for(_0x59ac5a['uint32'](0x22)['fork'](),_0x229f56=0x0;_0x229f56<_0x41ff28['types']['length'];++_0x229f56)_0x59ac5a['uint32'](_0x41ff28['types'][_0x229f56]);_0x59ac5a['ldelim']();}return null!=_0x41ff28['lastOperationId']&&Object['hasOwnProperty']['call'](_0x41ff28,'lastOperationId')&&_0x59ac5a['uint32'](0x2a)['string'](_0x41ff28['lastOperationId']),_0x59ac5a;},_0x3788e6['encodeDelimited']=function(_0x1538ff,_0x46d241){return this['encode'](_0x1538ff,_0x46d241)['ldelim']();},_0x3788e6['decode']=function(_0x24a896,_0x4f3ca1,_0x311b09){_0x24a896 instanceof _0x5743b9||(_0x24a896=_0x5743b9['create'](_0x24a896));for(var _0x148bd0=void 0x0===_0x4f3ca1?_0x24a896['len']:_0x24a896['pos']+_0x4f3ca1,_0x4b42c2=new _0x45f2e9['CollaborativeEditingConnectMessage']();_0x24a896['pos']<_0x148bd0;){var _0x2cb4c8=_0x24a896['uint32']();if(_0x2cb4c8===_0x311b09)break;switch(_0x2cb4c8>>>0x3){case 0x1:_0x4b42c2['id']=_0x24a896['string']();break;case 0x2:_0x4b42c2['bundleVersion']=_0x24a896['string']();break;case 0x3:_0x4b42c2['buffers']&&_0x4b42c2['buffers']['length']||(_0x4b42c2['buffers']=[]),_0x4b42c2['buffers']['push'](_0x24a896['bytes']());break;case 0x4:if(_0x4b42c2['types']&&_0x4b42c2['types']['length']||(_0x4b42c2['types']=[]),0x2==(0x7&_0x2cb4c8)){for(var _0x3e8471=_0x24a896['uint32']()+_0x24a896['pos'];_0x24a896['pos']<_0x3e8471;)_0x4b42c2['types']['push'](_0x24a896['uint32']());}else _0x4b42c2['types']['push'](_0x24a896['uint32']());break;case 0x5:_0x4b42c2['lastOperationId']=_0x24a896['string']();break;default:_0x24a896['skipType'](0x7&_0x2cb4c8);}}return _0x4b42c2;},_0x3788e6['decodeDelimited']=function(_0x22cbdc){return _0x22cbdc instanceof _0x5743b9||(_0x22cbdc=new _0x5743b9(_0x22cbdc)),this['decode'](_0x22cbdc,_0x22cbdc['uint32']());},_0x3788e6['verify']=function(_0xac8ea2){if('object'!=typeof _0xac8ea2||null===_0xac8ea2)return'object\x20expected';if(null!=_0xac8ea2['id']&&_0xac8ea2['hasOwnProperty']('id')&&!_0x596b78['isString'](_0xac8ea2['id']))return'id:\x20string\x20expected';if(null!=_0xac8ea2['bundleVersion']&&_0xac8ea2['hasOwnProperty']('bundleVersion')&&!_0x596b78['isString'](_0xac8ea2['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0xac8ea2['buffers']&&_0xac8ea2['hasOwnProperty']('buffers')){if(!Array['isArray'](_0xac8ea2['buffers']))return'buffers:\x20array\x20expected';for(var _0x76a2c8=0x0;_0x76a2c8<_0xac8ea2['buffers']['length'];++_0x76a2c8)if(!(_0xac8ea2['buffers'][_0x76a2c8]&&'number'==typeof _0xac8ea2['buffers'][_0x76a2c8]['length']||_0x596b78['isString'](_0xac8ea2['buffers'][_0x76a2c8])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0xac8ea2['types']&&_0xac8ea2['hasOwnProperty']('types')){if(!Array['isArray'](_0xac8ea2['types']))return'types:\x20array\x20expected';for(_0x76a2c8=0x0;_0x76a2c8<_0xac8ea2['types']['length'];++_0x76a2c8)if(!_0x596b78['isInteger'](_0xac8ea2['types'][_0x76a2c8]))return'types:\x20integer[]\x20expected';}return null!=_0xac8ea2['lastOperationId']&&_0xac8ea2['hasOwnProperty']('lastOperationId')&&!_0x596b78['isString'](_0xac8ea2['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x3788e6['fromObject']=function(_0x32feb6){if(_0x32feb6 instanceof _0x45f2e9['CollaborativeEditingConnectMessage'])return _0x32feb6;var _0x4789a3=new _0x45f2e9['CollaborativeEditingConnectMessage']();if(null!=_0x32feb6['id']&&(_0x4789a3['id']=String(_0x32feb6['id'])),null!=_0x32feb6['bundleVersion']&&(_0x4789a3['bundleVersion']=String(_0x32feb6['bundleVersion'])),_0x32feb6['buffers']){if(!Array['isArray'](_0x32feb6['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0x4789a3['buffers']=[];for(var _0x43a40c=0x0;_0x43a40c<_0x32feb6['buffers']['length'];++_0x43a40c)'string'==typeof _0x32feb6['buffers'][_0x43a40c]?_0x596b78['base64']['decode'](_0x32feb6['buffers'][_0x43a40c],_0x4789a3['buffers'][_0x43a40c]=_0x596b78['newBuffer'](_0x596b78['base64']['length'](_0x32feb6['buffers'][_0x43a40c])),0x0):_0x32feb6['buffers'][_0x43a40c]['length']>=0x0&&(_0x4789a3['buffers'][_0x43a40c]=_0x32feb6['buffers'][_0x43a40c]);}if(_0x32feb6['types']){if(!Array['isArray'](_0x32feb6['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');for(_0x4789a3['types']=[],_0x43a40c=0x0;_0x43a40c<_0x32feb6['types']['length'];++_0x43a40c)_0x4789a3['types'][_0x43a40c]=_0x32feb6['types'][_0x43a40c]>>>0x0;}return null!=_0x32feb6['lastOperationId']&&(_0x4789a3['lastOperationId']=String(_0x32feb6['lastOperationId'])),_0x4789a3;},_0x3788e6['toObject']=function(_0x2689d0,_0x34848a){_0x34848a||(_0x34848a={});var _0x44864a={};if((_0x34848a['arrays']||_0x34848a['defaults'])&&(_0x44864a['buffers']=[],_0x44864a['types']=[]),_0x34848a['defaults']&&(_0x44864a['id']='',_0x44864a['bundleVersion']='',_0x44864a['lastOperationId']=''),null!=_0x2689d0['id']&&_0x2689d0['hasOwnProperty']('id')&&(_0x44864a['id']=_0x2689d0['id']),null!=_0x2689d0['bundleVersion']&&_0x2689d0['hasOwnProperty']('bundleVersion')&&(_0x44864a['bundleVersion']=_0x2689d0['bundleVersion']),_0x2689d0['buffers']&&_0x2689d0['buffers']['length']){_0x44864a['buffers']=[];for(var _0xf4bae=0x0;_0xf4bae<_0x2689d0['buffers']['length'];++_0xf4bae)_0x44864a['buffers'][_0xf4bae]=_0x34848a['bytes']===String?_0x596b78['base64']['encode'](_0x2689d0['buffers'][_0xf4bae],0x0,_0x2689d0['buffers'][_0xf4bae]['length']):_0x34848a['bytes']===Array?Array['prototype']['slice']['call'](_0x2689d0['buffers'][_0xf4bae]):_0x2689d0['buffers'][_0xf4bae];}if(_0x2689d0['types']&&_0x2689d0['types']['length']){for(_0x44864a['types']=[],_0xf4bae=0x0;_0xf4bae<_0x2689d0['types']['length'];++_0xf4bae)_0x44864a['types'][_0xf4bae]=_0x2689d0['types'][_0xf4bae];}return null!=_0x2689d0['lastOperationId']&&_0x2689d0['hasOwnProperty']('lastOperationId')&&(_0x44864a['lastOperationId']=_0x2689d0['lastOperationId']),_0x44864a;},_0x3788e6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x3788e6['getTypeUrl']=function(_0x239485){return void 0x0===_0x239485&&(_0x239485='type.googleapis.com'),_0x239485+'/CollaborativeEditingConnectMessage';},_0x3788e6;}()),_0x45f2e9['OperationMetadataDescriptor']=(function(){function _0x375d81(_0x361a62){if(_0x361a62){for(var _0x10358e=Object['keys'](_0x361a62),_0x55f52b=0x0;_0x55f52b<_0x10358e['length'];++_0x55f52b)null!=_0x361a62[_0x10358e[_0x55f52b]]&&(this[_0x10358e[_0x55f52b]]=_0x361a62[_0x10358e[_0x55f52b]]);}}return _0x375d81['prototype']['userId']='',_0x375d81['prototype']['type']='',_0x375d81['prototype']['createdAt']='',_0x375d81['create']=function(_0x1cdc66){return new _0x375d81(_0x1cdc66);},_0x375d81['encode']=function(_0x4771ca,_0x3c4586){return _0x3c4586||(_0x3c4586=_0x3a081['create']()),null!=_0x4771ca['userId']&&Object['hasOwnProperty']['call'](_0x4771ca,'userId')&&_0x3c4586['uint32'](0xa)['string'](_0x4771ca['userId']),null!=_0x4771ca['type']&&Object['hasOwnProperty']['call'](_0x4771ca,'type')&&_0x3c4586['uint32'](0x12)['string'](_0x4771ca['type']),null!=_0x4771ca['createdAt']&&Object['hasOwnProperty']['call'](_0x4771ca,'createdAt')&&_0x3c4586['uint32'](0x1a)['string'](_0x4771ca['createdAt']),_0x3c4586;},_0x375d81['encodeDelimited']=function(_0x339763,_0x4222dc){return this['encode'](_0x339763,_0x4222dc)['ldelim']();},_0x375d81['decode']=function(_0x159935,_0x3b80f2,_0x1bfca9){_0x159935 instanceof _0x5743b9||(_0x159935=_0x5743b9['create'](_0x159935));for(var _0x7204ee=void 0x0===_0x3b80f2?_0x159935['len']:_0x159935['pos']+_0x3b80f2,_0x106912=new _0x45f2e9['OperationMetadataDescriptor']();_0x159935['pos']<_0x7204ee;){var _0x278db5=_0x159935['uint32']();if(_0x278db5===_0x1bfca9)break;switch(_0x278db5>>>0x3){case 0x1:_0x106912['userId']=_0x159935['string']();break;case 0x2:_0x106912['type']=_0x159935['string']();break;case 0x3:_0x106912['createdAt']=_0x159935['string']();break;default:_0x159935['skipType'](0x7&_0x278db5);}}return _0x106912;},_0x375d81['decodeDelimited']=function(_0x35b48e){return _0x35b48e instanceof _0x5743b9||(_0x35b48e=new _0x5743b9(_0x35b48e)),this['decode'](_0x35b48e,_0x35b48e['uint32']());},_0x375d81['verify']=function(_0x861dad){return'object'!=typeof _0x861dad||null===_0x861dad?'object\x20expected':null!=_0x861dad['userId']&&_0x861dad['hasOwnProperty']('userId')&&!_0x596b78['isString'](_0x861dad['userId'])?'userId:\x20string\x20expected':null!=_0x861dad['type']&&_0x861dad['hasOwnProperty']('type')&&!_0x596b78['isString'](_0x861dad['type'])?'type:\x20string\x20expected':null!=_0x861dad['createdAt']&&_0x861dad['hasOwnProperty']('createdAt')&&!_0x596b78['isString'](_0x861dad['createdAt'])?'createdAt:\x20string\x20expected':null;},_0x375d81['fromObject']=function(_0x47cf7f){if(_0x47cf7f instanceof _0x45f2e9['OperationMetadataDescriptor'])return _0x47cf7f;var _0x2222b4=new _0x45f2e9['OperationMetadataDescriptor']();return null!=_0x47cf7f['userId']&&(_0x2222b4['userId']=String(_0x47cf7f['userId'])),null!=_0x47cf7f['type']&&(_0x2222b4['type']=String(_0x47cf7f['type'])),null!=_0x47cf7f['createdAt']&&(_0x2222b4['createdAt']=String(_0x47cf7f['createdAt'])),_0x2222b4;},_0x375d81['toObject']=function(_0x3edbe3,_0x1b078e){_0x1b078e||(_0x1b078e={});var _0x45dc3d={};return _0x1b078e['defaults']&&(_0x45dc3d['userId']='',_0x45dc3d['type']='',_0x45dc3d['createdAt']=''),null!=_0x3edbe3['userId']&&_0x3edbe3['hasOwnProperty']('userId')&&(_0x45dc3d['userId']=_0x3edbe3['userId']),null!=_0x3edbe3['type']&&_0x3edbe3['hasOwnProperty']('type')&&(_0x45dc3d['type']=_0x3edbe3['type']),null!=_0x3edbe3['createdAt']&&_0x3edbe3['hasOwnProperty']('createdAt')&&(_0x45dc3d['createdAt']=_0x3edbe3['createdAt']),_0x45dc3d;},_0x375d81['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x375d81['getTypeUrl']=function(_0x2d91d4){return void 0x0===_0x2d91d4&&(_0x2d91d4='type.googleapis.com'),_0x2d91d4+'/OperationMetadataDescriptor';},_0x375d81;}()),_0x45f2e9;})());class _0x41110b{static['decode'](_0x433535,_0x4f6c01){const _0x21ecd7=_0x479301(_0x4f6c01)['decode']('undefined'==typeof window?_0x433535:new Uint8Array(_0x433535));return _0x4f6c01['fromJSON']({..._0x21ecd7});}static['encode'](_0x31612a){const _0x42f19f=_0x479301(_0x31612a['constructor']),_0x25c24=_0x31612a['toJSON'](),_0x1196f4=_0x42f19f['verify'](_0x25c24);if(_0x1196f4)throw Error(_0x1196f4);return _0x42f19f['encode'](_0x42f19f['create'](_0x25c24))['finish']();}}function _0x479301(_0x5b6242){return _0x429eb2[_0x5b6242['DESCRIPTOR_NAME']];}class GetManyUsersMessage extends _0x2a763f{['ids'];static ['TYPE']='22';static ['READABLE_TYPE_NAME']='getManyUsers';static ['DESCRIPTOR_NAME']='GetManyUsersMessage';static ['DESCRIPTOR']={'fields':{'ids':{'id':0x1,'type':'string','rule':'repeated'}}};constructor(_0x48f02b){super(),this['ids']=_0x48f02b;}['toJSON'](){return{'ids':this['ids']};}static['fromJSON'](_0x523fe8){return new GetManyUsersMessage(_0x523fe8['ids']);}}class GetManyUsersResponse extends _0x2a763f{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0x38fe51){super(),this['users']=_0x38fe51;}['toJSON'](){return{'users':this['users']['map'](_0x300e24)};}static['fromJSON'](_0x80f744){return new GetManyUsersResponse(_0x80f744['users']['map'](_0x4f606c));}}function _0x300e24(_0x38d98f){return{'attributes':Object['keys'](_0x38d98f)['map'](_0x228dd0=>({'key':_0x228dd0,'value':JSON['stringify'](_0x38d98f[_0x228dd0])}))};}function _0x4f606c(_0x2f9fac){return _0x2f9fac['attributes']['reduce']((_0x45b8a0,_0x428493)=>(_0x45b8a0[_0x428493['key']]=_0x428493['value']?JSON['parse'](_0x428493['value']):null,_0x45b8a0),{});}class _0x266d0f{static ['_SERVICE']=0x2;constructor(_0x33ef20={}){this['_attributes']=new Map();for(const _0x1ed03e of Object['keys'](_0x33ef20))'id'!==_0x1ed03e?(this['_attributes']['set'](_0x1ed03e,_0x33ef20[_0x1ed03e]),Object['defineProperty'](this,_0x1ed03e,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x1ed03e)})):this['id']=_0x33ef20['id'];}static['fromData'](_0x2d1136){return new _0x266d0f(_0x2d1136);}static async['get'](_0x8bdbc,_0x378142){const _0xa2bc3e=new GetUserMessage(_0x378142);try{const _0x5a1419=await _0x8bdbc['_sendRequest'](_0x266d0f['_SERVICE'],GetUserMessage['TYPE'],_0x41110b['encode'](_0xa2bc3e)),_0x3429c7=_0x41110b['decode'](_0x5a1419,GetUserResponse);return new _0x266d0f(_0x3429c7['attributes']);}catch(_0x5019f8){return new _0x266d0f({'id':_0x378142});}}static async['getMany'](_0x118296,_0x3c3da1){const _0x23369c=new GetManyUsersMessage(_0x3c3da1);try{const _0x5aa730=await _0x118296['_sendRequest'](_0x266d0f['_SERVICE'],GetManyUsersMessage['TYPE'],_0x41110b['encode'](_0x23369c));return _0x41110b['decode'](_0x5aa730,GetManyUsersResponse)['users']['map'](_0xb14120=>new _0x266d0f(_0xb14120));}catch(_0xea3767){return _0x3c3da1['map'](_0x3c89c7=>new _0x266d0f({'id':_0x3c89c7}));}}}class _0x3c98b2 extends _0x2a763f{['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(_0x28ea38,_0x27e33b,_0x522b3e){super(),this['type']=_0x28ea38,this['socketId']=_0x27e33b,this['data']=_0x522b3e;}['toJSON'](){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](_0xa53fd6){return new _0x3c98b2(_0xa53fd6['type'],_0xa53fd6['socketId'],_0xa53fd6['data']);}}class _0xc6510f extends/* #__PURE__ -- @preserve */
_0x22b56d['EmitterMixin'](){['_channelName'];['_wsGateway'];['_socket'];constructor(_0x3a9ff0,_0x434660,_0xc474a4){super(),this['_channelName']=_0x3a9ff0,this['_wsGateway']=_0x434660,this['_socket']=_0xc474a4,this['_subscribeToChannel']();}['remove'](){this['_socket']['off'](this['_channelName']);}['getEventName'](_0x50be25,_0x2cb589=!0x1){let _0x3d436a='';return _0x2cb589&&(_0x3d436a+='all:'),_0x3d436a+='event',_0x50be25&&(_0x3d436a+=':'+_0x50be25),_0x3d436a;}['_subscribeToChannel'](){this['_socket']['on'](this['_channelName'],_0xb97634=>{const _0x4966c0=_0x41110b['decode'](_0xb97634,_0x3c98b2);this['fire'](this['getEventName'](_0x4966c0['type'],!0x0),_0x4966c0['data'],_0x4966c0['socketId']),_0x4966c0['socketId']!==this['_wsGateway']['socketId']&&this['fire'](this['getEventName'](_0x4966c0['type']),_0x4966c0['data'],_0x4966c0['socketId']);});}}class CKEditorCloudServicesError extends Error{['context'];['code'];['data'];constructor(_0x50c56c,_0x8fbf5a,_0x181cb5=null,_0x5c2fe2={}){super('cloud-services-internal-error:\x20'+_0x50c56c),this['context']=_0x8fbf5a,this['code']=_0x181cb5,this['data']=_0x5c2fe2,this['name']='CKEditorError';}static['fromPublicError'](_0x43d6cb){return new CKEditorCloudServicesError(function(_0x87f932){let _0x1b75f7='cloud-services-error:\x20'+_0x87f932['message'];return _0x87f932['data']&&(_0x1b75f7+='\x0aError\x20data:\x20'+JSON['stringify'](_0x87f932['data'])),_0x87f932['explanation']&&(_0x1b75f7+='\x0aExplanation:\x20'+_0x87f932['explanation']),_0x87f932['action']&&(_0x1b75f7+='\x0aAction:\x20'+_0x87f932['action']),_0x87f932['traceId']&&(_0x1b75f7+='\x0aTraceId:\x20'+_0x87f932['traceId']),_0x87f932['code']&&(_0x1b75f7+='\x0aCode:\x20'+_0x87f932['code']),_0x1b75f7;}(_0x43d6cb),_0x43d6cb);}}class CKEditorCloudServicesServerError extends Error{['code'];['traceId'];['data'];constructor(_0x5cc4bf,_0x50fb87){super(),this['name']='CKEditorCloudServicesServerError',this['stack']=void 0x0,this['message']=_0x5cc4bf,this['code']=_0x50fb87['code'],this['traceId']=_0x50fb87['traceId'],this['data']=_0x50fb87['data'];}static['fromPublicError'](_0x5f2890){return new CKEditorCloudServicesServerError(function(_0x2fedbc){let _0x47e4c5='cloud-services-server-error:\x20'+_0x2fedbc['message'];return _0x2fedbc['explanation']&&(_0x47e4c5+='\x0aExplanation:\x20'+_0x2fedbc['explanation']),_0x2fedbc['action']&&(_0x47e4c5+='\x0aAction:\x20'+_0x2fedbc['action']),_0x2fedbc['traceId']&&(_0x47e4c5+='\x0aTraceId:\x20'+_0x2fedbc['traceId']),_0x2fedbc['code']&&(_0x47e4c5+='\x0aCode:\x20'+_0x2fedbc['code']),_0x47e4c5;}(_0x5f2890),_0x5f2890);}}class PacketOptionsMessage extends _0x2a763f{['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(_0x49988e,_0x21a9a4=[],_0x34f2c6=[]){super(),this['flags']=_0x49988e,this['rooms']=_0x21a9a4,this['except']=_0x34f2c6;}['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'](_0x58340f){return new PacketOptionsMessage(_0x58340f['flags']&&JSON['parse'](_0x58340f['flags']),_0x58340f['rooms'],_0x58340f['except']);}}const _0x384f4e=/* #__PURE__ -- @preserve */
((()=>!('undefined'==typeof process||!process['versions']?.['node']))());class ParserUtils{static['getPacketType'](..._0x3e87e1){let _0x268fb1=0x0;for(let _0x42daba=0x0;_0x42daba<_0x3e87e1['length'];_0x42daba++)_0x268fb1+=_0x3e87e1[_0x42daba]*Math['pow'](0xa,_0x3e87e1['length']-_0x42daba-0x1);return _0x268fb1;}static['getType'](_0x4167eb){if(ParserUtils['isBuffer'](_0x4167eb))return 0x1;const _0xc10d74=typeof _0x4167eb;return'string'===_0xc10d74?0x2:'number'===_0xc10d74?0x3:0x4;}static['isBuffer'](_0x26b301){return _0x384f4e&&Buffer['isBuffer'](_0x26b301)||_0x26b301 instanceof ArrayBuffer||_0x26b301 instanceof Uint8Array||this['_isBufferView'](_0x26b301);}static['_isBufferView'](_0x5e45c7){return'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x5e45c7):_0x5e45c7['buffer']instanceof ArrayBuffer;}}class PackageDataMessage extends _0x2a763f{['data'];['data1'];static['create'](_0xf1d741,_0x2f77d0){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}}class NumberBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x3,0x1))());static ['DESCRIPTOR_NAME']='NumberBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x5d1844,_0x252d04){super(),this['data']=_0x5d1844,this['data1']=_0x252d04;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x4ebb2f){return new NumberBytesPacketDataMessage(_0x4ebb2f['data'],_0x4ebb2f['data1']);}static['create'](_0x43459c,_0x1d3017){return new NumberBytesPacketDataMessage(_0x43459c,_0x1d3017);}}class StringBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x2,0x1))());static ['DESCRIPTOR_NAME']='StringBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x21dec7,_0x258b34){super(),this['data']=_0x21dec7,this['data1']=_0x258b34;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x109f2e){return new StringBytesPacketDataMessage(_0x109f2e['data'],_0x109f2e['data1']);}static['create'](_0x1a93ae,_0x1a7a0c){return new StringBytesPacketDataMessage(_0x1a93ae,_0x1a7a0c);}}class BytesBytesPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x1,0x1))());static ['DESCRIPTOR_NAME']='BytesBytesPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'bytes','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x59a543,_0x488518){super(),this['data']=_0x59a543,this['data1']=_0x488518;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x16ce0c){return new BytesBytesPacketDataMessage(_0x16ce0c['data'],_0x16ce0c['data1']);}static['create'](_0x40f287,_0x4e68f6){return new BytesBytesPacketDataMessage(_0x40f287,_0x4e68f6);}}class StringObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x2,0x4))());static ['DESCRIPTOR_NAME']='StringObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x12c220,_0x88d476){super(),this['data']=_0x12c220,this['data1']=_0x88d476;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0xf6264){return new StringObjectPacketDataMessage(_0xf6264['data'],_0xf6264['data1']&&JSON['parse'](_0xf6264['data1']));}static['create'](_0x63f2ed,_0x59d26e){return new StringObjectPacketDataMessage(_0x63f2ed,_0x59d26e);}}class NumberObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x3,0x4))());static ['DESCRIPTOR_NAME']='NumberObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x1734c4,_0x755472){super(),this['data']=_0x1734c4,this['data1']=_0x755472;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x1300fd){return new NumberObjectPacketDataMessage(_0x1300fd['data'],_0x1300fd['data1']&&JSON['parse'](_0x1300fd['data1']));}static['create'](_0x7ba7e5,_0x48e4ed){return new NumberObjectPacketDataMessage(_0x7ba7e5,_0x48e4ed);}}class ObjectObjectPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x4,0x4))());static ['DESCRIPTOR_NAME']='ObjectObjectPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x355a78,_0x8b22c){super(),this['data']=_0x355a78,this['data1']=_0x8b22c;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x68a2ca){return new ObjectObjectPacketDataMessage(_0x68a2ca['data']&&JSON['parse'](_0x68a2ca['data']),_0x68a2ca['data1']&&JSON['parse'](_0x68a2ca['data1']));}static['create'](_0x1e9b50,_0x48377a){return new ObjectObjectPacketDataMessage(_0x1e9b50,_0x48377a);}}class ObjectBufferPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x4,0x1))());static ['DESCRIPTOR_NAME']='ObjectBufferPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x599830,_0x3b660f){super(),this['data']=_0x599830,this['data1']=_0x3b660f;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']};}static['fromJSON'](_0xc143){return new ObjectBufferPacketDataMessage(_0xc143['data']&&JSON['parse'](_0xc143['data']),_0xc143['data1']);}static['create'](_0x4ae565,_0x384239){return new ObjectBufferPacketDataMessage(_0x4ae565,_0x384239);}}class StringStringPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x2,0x2))());static ['DESCRIPTOR_NAME']='StringStringPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x576764,_0x30e23a){super(),this['data']=_0x576764,this['data1']=_0x30e23a;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x2d7d13){return new StringStringPacketDataMessage(_0x2d7d13['data'],_0x2d7d13['data1']);}static['create'](_0x39318f,_0x24ac33){return new StringStringPacketDataMessage(_0x39318f,_0x24ac33);}}class StringNumberPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x2,0x3))());static ['DESCRIPTOR_NAME']='StringNumberPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'uint32','id':0x2}}}))());constructor(_0x1346ec,_0x37472f){super(),this['data']=_0x1346ec,this['data1']=_0x37472f;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x43f8dc){return new StringNumberPacketDataMessage(_0x43f8dc['data'],_0x43f8dc['data1']);}static['create'](_0x41cbdb,_0x9fa88e){return new StringNumberPacketDataMessage(_0x41cbdb,_0x9fa88e);}}class NumberNumberPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x3,0x3))());static ['DESCRIPTOR_NAME']='NumberNumberPacketDataMessage';static ['DESCRIPTOR']={'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'uint32','id':0x2}}};constructor(_0x2dc3f2,_0x1c4bc6){super(),this['data']=_0x2dc3f2,this['data1']=_0x1c4bc6;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x4d94f4){return new NumberNumberPacketDataMessage(_0x4d94f4['data'],_0x4d94f4['data1']);}static['create'](_0x59c29d,_0x5872b2){return new NumberNumberPacketDataMessage(_0x59c29d,_0x5872b2);}}class NumberStringPacketDataMessage extends PackageDataMessage{['data'];['data1'];static ['TYPE']=/* #__PURE__ -- @preserve */
((()=>ParserUtils['getPacketType'](0x3,0x2))());static ['DESCRIPTOR_NAME']='NumberStringPacketDataMessage';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0xcd3975,_0x2665e0){super(),this['data']=_0xcd3975,this['data1']=_0x2665e0;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x5bdc32){return new NumberStringPacketDataMessage(_0x5bdc32['data'],_0x5bdc32['data1']);}static['create'](_0xddbf13,_0x5d1729){return new NumberStringPacketDataMessage(_0xddbf13,_0x5d1729);}}const _0x5ad8b0=/* #__PURE__ -- @preserve */
((()=>[NumberBytesPacketDataMessage,StringBytesPacketDataMessage,BytesBytesPacketDataMessage,StringObjectPacketDataMessage,NumberObjectPacketDataMessage,ObjectObjectPacketDataMessage,ObjectBufferPacketDataMessage,StringStringPacketDataMessage,StringNumberPacketDataMessage,NumberNumberPacketDataMessage,NumberStringPacketDataMessage]['reduce']((_0x26440e,_0x5d8c82)=>(_0x26440e[_0x5d8c82['TYPE']]=_0x5d8c82,_0x26440e),{}))());class PacketMessage extends _0x2a763f{['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(_0x13c4d5,_0x239a17,_0x93f3ff,_0x378d38='/',_0x18ace4){super(),this['type']=_0x13c4d5,this['data']=_0x239a17,this['id']=_0x93f3ff,this['nsp']=_0x378d38,this['options']=_0x18ace4??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 _0x186bc7=_0x41110b['encode'](this['options']),_0x40e8b6=_0x41110b['encode'](this['data']);return{'type':this['type']+0xa*this['data']['constructor']['TYPE'],'id':this['id'],'nsp':'/'===this['nsp']?void 0x0:this['nsp'],'data':_0x40e8b6,'options':_0x186bc7};}static['fromJSON'](_0x2a9f71){const _0x4c4407=Math['floor'](_0x2a9f71['type']/0xa);return new PacketMessage(_0x2a9f71['type']-0xa*_0x4c4407,_0x41110b['decode'](_0x2a9f71['data'],_0x5ad8b0[_0x4c4407]),_0x2a9f71['id'],_0x2a9f71['nsp'],_0x2a9f71['options']?_0x41110b['decode'](_0x2a9f71['options'],PacketOptionsMessage):new PacketOptionsMessage());}static['create'](_0x8163c4,_0xb714b0={}){const _0x8d556c=ParserUtils['getPacketType'](ParserUtils['getType'](_0x8163c4['data'][0x0]),ParserUtils['getType'](_0x8163c4['data'][0x1]??_0x8163c4['data'][0x0]));return new PacketMessage(_0x8163c4['type'],_0x5ad8b0[_0x8d556c]['create'](_0x8163c4['data'][0x0],_0x8163c4['data'][0x1]),_0x8163c4['id'],_0x8163c4['nsp'],new PacketOptionsMessage(_0xb714b0['flags'],_0xb714b0['rooms'],_0xb714b0['except']));}}class PacketParser{['encode'](_0x16ff28,_0x11272e,_0x48ff67,_0x2a1ec3='/',_0x375d4f={}){if(_0x11272e['length']>0x2)throw new Error('PacketParser\x20supports\x20only\x202\x20elements\x20in\x20data');const _0x19584d={'type':_0x16ff28,'data':_0x11272e,'id':_0x48ff67,'nsp':_0x2a1ec3};return _0x41110b['encode'](PacketMessage['create'](_0x19584d,_0x375d4f));}['decode'](_0x52953b){const _0x2e1145=_0x41110b['decode'](_0x52953b,PacketMessage);return{'packet':{'id':_0x2e1145['id'],'type':_0x2e1145['type'],'data':_0x2e1145['packetData'],'nsp':_0x2e1145['nsp']},'options':{'flags':_0x2e1145['options']['flags'],'rooms':_0x2e1145['options']['rooms'],'except':_0x2e1145['options']['except']}};}}const _0x2df000=/* #__PURE__ -- @preserve */
((()=>[_0x11e7a7['EVENT'],_0x11e7a7['ACK'],_0x11e7a7['BINARY_ACK'],_0x11e7a7['BINARY_EVENT']])());class _0x31fc54 extends _0x38414d{['_packetParser'];constructor(_0xe25ec9){super(),this['_packetParser']=_0xe25ec9??new PacketParser();}['encode'](_0x199324){if(_0x2df000['includes'](_0x199324['type']))try{return[this['_packetParser']['encode'](_0x199324['type'],_0x199324['data'],_0x199324['id'],_0x199324['nsp'])];}catch(_0x299fbb){console['error']('Can\x20not\x20properly\x20serialize\x20or\x20deserialize\x20messages.\x20Check\x20the\x20original\x20error.',{'originalError':{'message':_0x299fbb['message']}});}return super['encode'](_0x199324);}}class _0x58ed3c extends _0x5cc279{['_packetParser'];constructor(_0x55131d){super(),this['_packetParser']=_0x55131d??new PacketParser();}['add'](_0xa6a6ec){if(!ParserUtils['isBuffer'](_0xa6a6ec))return super['add'](_0xa6a6ec);let _0x219876;try{_0x219876=this['_packetParser']['decode'](_0xa6a6ec)['packet'];}catch(_0x436e7f){return super['add'](_0xa6a6ec);}super['emitReserved']('decoded',_0x219876);}}class WebSocketRequest{['_context'];['_deferredPromise']=/* #__PURE__ -- @preserve */
_0x4ed402();['timeout'];constructor(_0x5807c4,_0x26cdec){this['_context']=_0x5807c4,this['timeout']=setTimeout(()=>this['error'](new CKEditorCloudServicesError('Request\x20timeout.',this['_context'])),_0x26cdec);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](_0x2c7169){this['_deferredPromise']['resolve'](_0x2c7169);}['error'](_0x337139){this['_deferredPromise']['reject'](_0x337139);}}class WebSocketGatewayRequestsManager{['_context'];['_requests']=new Set();constructor(_0x22d2f9){this['_context']=_0x22d2f9;}async['send'](_0x554d09,_0x451d9d=0xafc8){const _0x35f3f4=this['_createRequest'](_0x451d9d);try{return _0x554d09(_0x35f3f4),await _0x35f3f4['promise'];}finally{this['_finishRequest'](_0x35f3f4);}}['errorAll'](_0x21542c){for(const _0x33964c of this['_requests'])_0x33964c['error'](_0x21542c);}['waitForAllRequests'](_0x1f7e64=0xafc8){return this['_waitForRequests'](_0x1f7e64);}['_createRequest'](_0x5888ba){const _0xc55d38=new WebSocketRequest(this['_context'],_0x5888ba);return this['_requests']['add'](_0xc55d38),_0xc55d38;}['_finishRequest'](_0x5926bb){this['_requests']['delete'](_0x5926bb),clearTimeout(_0x5926bb['timeout']);}async['_waitForRequests'](_0xd94b4a=0x1388,_0x51b261=0x0){return!this['_requests']['size']||_0x51b261>=_0xd94b4a/0x1f4?Promise['resolve']():(await new Promise(_0x3908e1=>{setTimeout(_0x3908e1,0x1f4);}),this['_waitForRequests'](_0xd94b4a,_0x51b261++));}}function _0x4ed402(){let _0x36dc6d,_0x3d2482;const _0x3e45d9=new Promise((_0x1b0b6d,_0x1722b3)=>{_0x36dc6d=_0x1b0b6d,_0x3d2482=_0x1722b3;});return{'resolve':_0x36dc6d,'reject':_0x3d2482,'promise':_0x3e45d9};}const _0x2adf90='disconnected',_0x2492e9='connecting',_0x46f49e='connected';let _0x14b875=class WebSocketGateway extends/* #__PURE__ -- @preserve */
_0x22b56d['ObservableMixin'](){['_requestsManager'];['_url'];['_socket'];['_socketAuth'];['_channels'];['_connectionAttempt']=0x0;['_token'];['_options'];['_connectionProvider'];['_userFactory'];static ['STATE_DISCONNECTED']=/* #__PURE__ -- @preserve */
((()=>_0x2adf90)());static ['STATE_CONNECTING']=/* #__PURE__ -- @preserve */
((()=>_0x2492e9)());static ['STATE_CONNECTED']=/* #__PURE__ -- @preserve */
((()=>_0x46f49e)());static ['_CHANGE_STATE_EVENT_PRIORITY']=/* #__PURE__ -- @preserve */
((()=>_0x22b56d['priorities']['get']('highest')+0xf423f)());constructor(_0x794fd5,_0x3bf628,_0x3606f1,_0x3995bf,_0x22474c){if(super(),this['_token']=_0x3bf628,this['_options']=_0x3606f1??{},this['_connectionProvider']=_0x3995bf??_0xfd1211,this['_userFactory']=_0x22474c??_0x266d0f['get'],this['_requestsManager']=new WebSocketGatewayRequestsManager(this),this['_channels']=new Map(),!_0x794fd5)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']=_0x106fd3(_0x794fd5['replace'](/^(?!(?:\w+:)?\/\/)/,'https://')),this['set']('state',_0x2adf90),this['set']('socketId',void 0x0),this['set']('me',void 0x0),this['on']('change:state',async(_0x3cd6f6,_0x51c165,_0x270c99)=>{if(this['_debugEvent']('ws-gw:change:state',_0x270c99),_0x270c99!==WebSocketGateway['STATE_CONNECTED']){if(_0x270c99===WebSocketGateway['STATE_DISCONNECTED'])return this['_requestsManager']['errorAll'](new CKEditorCloudServicesError('Not\x20connected.',this));}else try{this['me']=await this['_userFactory']['call'](_0x266d0f,this,this['_socketAuth']?.['userId']);}catch(_0x26ca23){}},{'priority':WebSocketGateway['_CHANGE_STATE_EVENT_PRIORITY']}),this['on']('error',(_0x518b2d,_0x26fbdc)=>{this['_options']['onError']?this['_options']['onError'](_0x26fbdc):console['error'](_0x26fbdc);});}get['sessionId'](){return this['socketId'];}['waitForAllRequests'](_0x38e6d8){return this['_requestsManager']['waitForAllRequests'](_0x38e6d8);}['disconnect'](){this['state']!==_0x2adf90&&(this['_socket']?.['disconnect'](),this['_socket']=void 0x0,this['state']=_0x2adf90);}async['reconnect'](){this['_socket']||this['state']!==_0x2adf90||(await this['_token']['refreshToken'](),await this['_connect']());}static async['connect'](_0x5d2d5e,_0x23c422='local.cs.dev:443/ws-v2',_0x307cf9={},_0x11cca1=_0xfd1211,_0x35482b=_0x266d0f['get']){const _0x1f715e=new WebSocketGateway(_0x23c422,_0x5d2d5e,_0x307cf9,_0x11cca1,_0x35482b);return await _0x1f715e['_connect'](),_0x1f715e;}['_sendRequest'](_0x172c35,_0x5681ae,_0x25e4ad){if(!_0x172c35)throw new CKEditorCloudServicesError('`serviceName`\x20must\x20be\x20provided.',this);if(this['state']!==WebSocketGateway['STATE_CONNECTED'])throw new CKEditorCloudServicesError('Not\x20connected.',this);if(!this['_socketAuth']||!this['_socketAuth']['isAuthenticated'])throw new CKEditorCloudServicesError('Not\x20authenticated.',this);const _0x2ee21d=new ArrayBuffer(_0x25e4ad['length']+0x2),_0x29b81b=new Uint8Array(_0x2ee21d);return _0x29b81b[0x0]=_0x172c35,_0x29b81b[0x1]=parseInt(_0x5681ae),_0x29b81b['set'](_0x25e4ad,0x2),this['_emit'](0x1,_0x29b81b);}['_getChannel'](_0xc9417b,_0xf37e9c){const _0x349d0b=''+_0xc9417b+_0xf37e9c;return!this['_channels']['has'](_0x349d0b)&&this['_socket']&&this['_channels']['set'](_0x349d0b,new _0xc6510f(_0x349d0b,this,this['_socket'])),this['_channels']['get'](_0x349d0b);}['_connect'](){return new Promise((_0x25b39d,_0x1544ef)=>{const _0x49b211=this['_setupSocket']();!this['socketId']&&_0x49b211['io']['on']('reconnect_error',()=>{this['_debugEvent']('reconnect_error'),this['_reconnectionAttemptError'](_0x1544ef);}),_0x49b211['once']('connect',async()=>{this['_debugEvent']('once-connect');try{await this['_onConnect'](),_0x25b39d();}catch(_0x119118){_0x1544ef(_0x119118);}}),_0x49b211['connect']();});}['_getPortByProtocol'](_0x41c33e){return['http:','ws:']['includes'](_0x41c33e)?0x50:0x1bb;}['_setupSocket'](){if(this['_socket'])return this['_socket'];const _0x2fc5df=this['_url']['port']||this['_getPortByProtocol'](this['_url']['protocol']),_0x14cff9=(this['_url']['protocol']||'https:')+'//'+this['_url']['hostname']+':'+_0x2fc5df,_0x1451d9=this['_url']['pathname']['match'](/^\/.*\/ws/)?this['_url']['pathname']['split']('/ws')[0x0]:'',_0x499d79=this['_connectionProvider'](_0x14cff9,{'parser':{'Encoder':_0x31fc54,'Decoder':_0x58ed3c},'path':_0x1451d9+'/ws-v2/ws','transports':['websocket'],'timeout':void 0x0!==this['_options']['timeout']?this['_options']['timeout']:0x1388,'reconnection':void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect'],'reconnectionDelay':0x3e8,'reconnectionDelayMax':0x1388,'rejectUnauthorized':void 0x0===this['_options']['rejectUnauthorized']||this['_options']['rejectUnauthorized'],'query':{'version':'53.0.3'},'agent':this['_options']['agent']??!0x1,'closeOnBeforeunload':!0x1});return this['state']=_0x2492e9,_0x499d79['on']('connect',()=>{this['_debugEvent']('connect'),this['socketId']=_0x499d79['id'];}),_0x499d79['on']('connect_error',_0x514e15=>{this['_debugEvent']('connect_error',_0x514e15);}),_0x499d79['on']('disconnect',()=>{this['_debugEvent']('disconnect'),this['_onDisconnect']();}),_0x499d79['io']['on']('reconnect',async()=>{this['_debugEvent']('reconnect'),await this['_onReconnect']();}),_0x499d79['io']['on']('reconnect_attempt',_0x2eb4e3=>{this['_debugEvent']('reconnect_attempt',_0x2eb4e3),this['state']=_0x2492e9,this['_connectionAttempt']=_0x2eb4e3;}),_0x499d79['on']('unauthorized',_0x5dd87d=>{this['_debugEvent']('unauthorized'),this['_onUnauthorized'](_0x5dd87d);}),_0x499d79['on']('authenticationRequest',async _0x5eb0d4=>{this['_debugEvent']('authenticationRequest',_0x5eb0d4['attempt']),await this['_onReconnect']();}),this['_socket']=_0x499d79,_0x499d79;}['_emit'](_0x41883d,_0x26de3f){const _0x4c1625=this['_socket'];return this['_requestsManager']['send'](_0x1a8fa2=>{_0x4c1625['emit'](_0x41883d,_0x26de3f,(_0x593224,_0x5999b3)=>{if(_0x593224)return _0x1a8fa2['error'](CKEditorCloudServicesServerError['fromPublicError'](_0x593224));_0x1a8fa2['response'](_0x5999b3);});},this['_options']['requestTimeout']);}['_addAuthData'](_0x1da1b4,_0x24345b){this['_socketAuth']={'environmentId':_0x1da1b4,'userId':_0x24345b,'isAuthenticated':!0x0};}['_removeAuthData'](){this['_socketAuth']=void 0x0;}async['_onConnect'](){await this['_authenticate'](this['_token']['value']),this['state']=_0x46f49e;const _0xd781eb=async(_0xe317eb,_0x4fa876,_0x4d7018)=>{this['_debugEvent']('token:value:change');try{await this['_authenticate'](_0x4d7018);}catch(_0x4c4644){}};this['_token']['on']('change:value',_0xd781eb),this['_socket']['io']['off']('reconnect_error'),this['on']('disconnect',()=>{this['_token']['off']('change:value',_0xd781eb);});}async['_onReconnect'](){await this['_token']['refreshToken'](),await this['_onConnect']();}['_onDisconnect'](){this['state']=_0x2adf90,this['_connectionAttempt']=0x0,this['fire']('disconnect');for(const _0xb4cbbd of this['_channels']['values']())_0xb4cbbd['remove']();this['_channels']['clear'](),void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect']||(this['_socket']=void 0x0);}['_debugEvent'](_0x22d7b6,_0x499d14){if(!this['_isDebugModeEnabled']())return;const _0xb5d755=void 0x0!==_0x499d14?',\x20data:\x20'+_0x499d14:'';console['info'](new Date()['toLocaleString']()+'\x20'+_0x22d7b6+_0xb5d755);}['_reconnectionAttemptError'](_0x537343){this['_connectionAttempt']>=0x2&&(this['disconnect'](),_0x537343(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:_0x2708d0}){this['_removeAuthData'](),this['fire']('error',CKEditorCloudServicesServerError['fromPublicError'](_0x2708d0));}async['_authenticate'](_0x263231){try{this['_debugEvent']('authenticate:start');const _0x5b218a=await this['_emit'](0x2,{'token':_0x263231});this['_debugEvent']('authenticate:success','envId:\x20'+_0x5b218a['environmentId']+',\x20userId:\x20'+_0x5b218a['userId']),this['_addAuthData'](_0x5b218a['environmentId'],_0x5b218a['userId']);}catch(_0x32aee7){throw this['_debugEvent']('authenticate:error',_0x32aee7['message']),this['_removeAuthData'](),_0x32aee7;}}['_isDebugModeEnabled'](){return!!_0x22b56d['global']['window']['localStorage']&&'true'===(_0x22b56d['global']['window']['localStorage']['getItem']('csClientDebugMode')??'false')['toLowerCase']();}};class IsEditorBundleUploadedMessage extends _0x2a763f{['bundleVersion'];static ['TYPE']='131';static ['READABLE_TYPE_NAME']='isEditorBundleUploaded';static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedMessage';static ['DESCRIPTOR']={'fields':{'bundleVersion':{'type':'string','id':0x1}}};constructor(_0x4f5f71){super(),this['bundleVersion']=_0x4f5f71;}['toJSON'](){return{'bundleVersion':this['bundleVersion']};}static['fromJSON'](_0x5244a1){return new IsEditorBundleUploadedMessage(_0x5244a1['bundleVersion']);}}class IsEditorBundleUploadedResponse extends _0x2a763f{['isUploaded'];static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedResponse';static ['DESCRIPTOR']={'fields':{'isUploaded':{'type':'bool','id':0x1}}};constructor(_0x320108){super(),this['isUploaded']=_0x320108;}['toJSON'](){return{'isUploaded':this['isUploaded']};}static['fromJSON'](_0x4bca5b){return new IsEditorBundleUploadedResponse(_0x4bca5b['isUploaded']);}}class EditorService extends/* #__PURE__ -- @preserve */
_0x22b56d['EmitterMixin'](){static ['_SERVICE']=0xd;static async['isBundleUploaded'](_0x20eafa,_0x412c89){const _0x4deca1=new IsEditorBundleUploadedMessage(_0x412c89);if(_0x20eafa['state']!==_0x46f49e)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x20eafa);const _0x28d301=await _0x20eafa['_sendRequest'](EditorService['_SERVICE'],IsEditorBundleUploadedMessage['TYPE'],_0x41110b['encode'](_0x4deca1));return _0x41110b['decode'](_0x28d301,IsEditorBundleUploadedResponse)['isUploaded'];}}class RevisionHistoryGetRevisionMessage extends _0x2a763f{['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(_0x1fe4b9,_0x33dcfa){super(),this['documentId']=_0x1fe4b9,this['revisionId']=_0x33dcfa;}['toJSON'](){return{'documentId':this['documentId'],'revisionId':this['revisionId']};}static['fromJSON'](_0x1601c8){return new RevisionHistoryGetRevisionMessage(_0x1601c8['documentId'],_0x1601c8['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'](_0x4e7a00){return{'revisionId':_0x4e7a00['id'],'name':_0x4e7a00['name'],'creatorId':_0x4e7a00['creatorId'],'createdAt':_0x4e7a00['createdAt'],'fromVersion':_0x4e7a00['fromVersion'],'toVersion':_0x4e7a00['toVersion'],'isEmptyCurrent':_0x4e7a00['isEmptyCurrent'],'diffData':_0x4e7a00['diffData']?JSON['stringify'](_0x4e7a00['diffData']):void 0x0,'attributes':_0x4e7a00['attributes'],'authorsIds':_0x4e7a00['authorsIds']};}static['toJSON'](_0x18d8ff){return{'revisionId':_0x18d8ff['revisionId'],'name':_0x18d8ff['name'],'creatorId':_0x18d8ff['creatorId'],'authorsIds':_0x18d8ff['authorsIds']?JSON['stringify'](_0x18d8ff['authorsIds']):void 0x0,'diffData':_0x18d8ff['diffData'],'createdAt':_0x18d8ff['createdAt']?.['toISOString'](),'attributes':_0x18d8ff['attributes']?JSON['stringify'](_0x18d8ff['attributes']):void 0x0,'toVersion':_0x18d8ff['toVersion'],'fromVersion':_0x18d8ff['fromVersion'],'isEmptyCurrent':_0x18d8ff['isEmptyCurrent']};}static['fromJSON'](_0x527ab2){return{'revisionId':(_0x527ab2={..._0x527ab2})['revisionId'],'name':_0x527ab2['name'],'creatorId':_0x527ab2['creatorId'],'authorsIds':_0x527ab2['authorsIds']?JSON['parse'](_0x527ab2['authorsIds']):void 0x0,'diffData':_0x527ab2['diffData'],'createdAt':_0x527ab2['createdAt']?new Date(_0x527ab2['createdAt']):void 0x0,'attributes':_0x527ab2['attributes']?JSON['parse'](_0x527ab2['attributes']):void 0x0,'toVersion':_0x527ab2['toVersion'],'fromVersion':_0x527ab2['fromVersion'],'isEmptyCurrent':_0x527ab2['isEmptyCurrent']};}static['toObject'](_0x22128b){return function(_0x21dc69){for(const [_0x1abeb1,_0x110ff7]of Object['entries'](_0x21dc69))void 0x0===_0x110ff7&&delete _0x21dc69[_0x1abeb1];return _0x21dc69;}({'id':_0x22128b['revisionId'],'name':_0x22128b['name'],'creatorId':_0x22128b['creatorId'],'createdAt':_0x22128b['createdAt'],'fromVersion':_0x22128b['fromVersion'],'toVersion':_0x22128b['toVersion'],'isEmptyCurrent':_0x22128b['isEmptyCurrent'],'diffData':_0x22128b['diffData']?JSON['parse'](_0x22128b['diffData']):void 0x0,'attributes':_0x22128b['attributes'],'authorsIds':_0x22128b['authorsIds']});}}class RevisionHistoryGetRevisionResponse extends _0x2a763f{['revisionId'];['name'];['creatorId'];['authorsIds'];['createdAt'];['diffData'];['attributes'];['fromVersion'];['toVersion'];['isEmptyCurrent'];static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionResponse';static ['DESCRIPTOR']=/* #__PURE__ -- @preserve */
((()=>RevisionDescriptor['DESCRIPTOR'])());constructor(_0x4af942,_0x3f0975,_0x4e88af,_0x2d476c,_0x260b2a,_0x2e4ef7,_0x1d40de,_0x27c5f6,_0x4ad0dd,_0x26ef42){super(),this['revisionId']=_0x4af942,this['name']=_0x3f0975,this['creatorId']=_0x4e88af,this['authorsIds']=_0x2d476c,this['createdAt']=_0x260b2a,this['diffData']=_0x2e4ef7,this['attributes']=_0x1d40de,this['fromVersion']=_0x27c5f6,this['toVersion']=_0x4ad0dd,this['isEmptyCurrent']=_0x26ef42;}['toJSON'](){return RevisionDescriptor['toJSON'](this);}['toObject'](){return RevisionDescriptor['toObject'](this);}static['create'](_0x4d7c66){return new RevisionHistoryGetRevisionResponse(_0x4d7c66['revisionId'],_0x4d7c66['name'],_0x4d7c66['creatorId'],_0x4d7c66['authorsIds'],_0x4d7c66['createdAt'],_0x4d7c66['diffData'],_0x4d7c66['attributes'],_0x4d7c66['fromVersion'],_0x4d7c66['toVersion'],_0x4d7c66['isEmptyCurrent']);}static['fromJSON'](_0x226758){return new RevisionHistoryGetRevisionResponse(_0x226758['revisionId'],_0x226758['name'],_0x226758['creatorId'],_0x226758['authorsIds']?JSON['parse'](_0x226758['authorsIds']):void 0x0,_0x226758['createdAt']?new Date(_0x226758['createdAt']):void 0x0,_0x226758['diffData'],_0x226758['attributes']?JSON['parse'](_0x226758['attributes']):void 0x0,_0x226758['fromVersion'],_0x226758['toVersion'],_0x226758['isEmptyCurrent']);}}class RevisionHistoryUpdateRevisionsMessage extends _0x2a763f{['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(_0x3b153b,_0x1fc3f6,_0x31992f){super(),this['documentId']=_0x3b153b,this['requestId']=_0x1fc3f6,this['revisions']=_0x31992f;}['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'](_0x4221c0){return new RevisionHistoryUpdateRevisionsMessage(_0x4221c0['documentId'],_0x4221c0['requestId'],_0x4221c0['revisions']['map'](RevisionDescriptor['create']));}static['fromJSON'](_0x5d12ee){return new RevisionHistoryUpdateRevisionsMessage(_0x5d12ee['documentId'],_0x5d12ee['requestId'],_0x5d12ee['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryUpdateRevisionsResponse extends _0x2a763f{['requestId'];static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsResponse';static ['DESCRIPTOR']={'fields':{'requestId':{'type':'uint32','id':0x1}}};constructor(_0x2e7e98){super(),this['requestId']=_0x2e7e98;}['toJSON'](){return{'requestId':this['requestId']};}static['fromJSON'](_0x418b26){return new RevisionHistoryUpdateRevisionsResponse(_0x418b26['requestId']);}}class RevisionHistoryConnectMessage extends _0x2a763f{['documentId'];static ['TYPE']='121';static ['READABLE_TYPE_NAME']='connectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x1d2532){super(),this['documentId']=_0x1d2532;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x13ec8e){return new RevisionHistoryConnectMessage(_0x13ec8e['documentId']);}}class RevisionHistoryConnectResponse extends _0x2a763f{['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(_0x762be2,_0x58f737,_0x4bec3d){super(),this['channel']=_0x762be2,this['requestId']=_0x58f737,this['revisions']=_0x4bec3d;}['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'](_0x78d85b){return new RevisionHistoryConnectResponse(_0x78d85b['channel'],_0x78d85b['requestId'],_0x78d85b['revisions']['map'](RevisionDescriptor['fromJSON']));}}class RevisionHistoryReconnectMessage extends _0x2a763f{['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(_0x363a9f,_0x3f84dd){super(),this['documentId']=_0x363a9f,this['requestId']=_0x3f84dd;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId']};}static['fromJSON'](_0xdc99e){return new RevisionHistoryReconnectMessage(_0xdc99e['documentId'],_0xdc99e['requestId']);}}class ServiceNotConnectedError extends CKEditorCloudServicesError{constructor(_0x2f7a8a,_0x47aefd){super(_0x2f7a8a+'\x20Service\x20is\x20not\x20connected.',_0x47aefd);}}class RevisionHistoryService extends/* #__PURE__ -- @preserve */
_0x22b56d['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xc;constructor(_0x26fe1a){super(),this['_documentId']=_0x26fe1a;}get['isConnected'](){return this['_isConnected'];}['connect'](_0x3778ab){return this['_isConnected']?Promise['resolve']():this['_connect'](_0x3778ab,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'](_0x1ee0f9,_0x3d550e){if(this['isConnected'])throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x1ee0f9);return this['_connect'](_0x1ee0f9,new RevisionHistoryReconnectMessage(this['_documentId'],_0x3d550e));}async['updateRevisions'](_0x4db9a9,_0x29d1db){const _0x146dba=RevisionHistoryUpdateRevisionsMessage['create']({'documentId':this['_documentId'],'requestId':_0x29d1db,'revisions':_0x4db9a9}),_0xdc7850=await this['_sendRequest'](RevisionHistoryUpdateRevisionsMessage['TYPE'],_0x146dba),{requestId:_0x3c1e01}=_0x41110b['decode'](_0xdc7850,RevisionHistoryUpdateRevisionsResponse);return _0x3c1e01;}async['getRevision'](_0x41fbb6){const _0x264de5=new RevisionHistoryGetRevisionMessage(this['_documentId'],_0x41fbb6),_0x5e1b84=await this['_sendRequest'](RevisionHistoryGetRevisionMessage['TYPE'],_0x264de5);return _0x41110b['decode'](_0x5e1b84,RevisionHistoryGetRevisionResponse)['toObject']();}async['_connect'](_0x5d0d50,_0x100274){if(_0x5d0d50['state']!==_0x46f49e)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x5d0d50);this['_wsGateway']=_0x5d0d50,this['stopListening'](_0x5d0d50,'change:state');const _0x2242f1=await _0x5d0d50['_sendRequest'](0xc,_0x100274['constructor']['TYPE'],_0x41110b['encode'](_0x100274)),{channel:_0x234298,requestId:_0x268d5a,revisions:_0x4310f8}=_0x41110b['decode'](_0x2242f1,RevisionHistoryConnectResponse)['toObject']();return this['listenTo'](_0x5d0d50,'change:state',(_0x2049f8,_0x22d93b,_0x3b8eed)=>this['_onWsGatewayStateChange'](_0x3b8eed),{'priority':_0x14b875['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x5d0d50,_0x234298),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0x4310f8,'requestId':_0x268d5a};}['_connectToChannel'](_0x85feaf,_0x2b54c8){this['_channel']=_0x85feaf['_getChannel'](RevisionHistoryService['_SERVICE'],_0x2b54c8),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](RevisionHistoryUpdateRevisionsMessage['TYPE']),(_0xb4c15a,_0x1452fb)=>{const {documentId:_0x5bb884,requestId:_0xc2d5c4,revisions:_0x1305ae}=_0x41110b['decode'](_0x1452fb,RevisionHistoryUpdateRevisionsMessage)['toObject']();this['fire']('revisionsUpdated',{'documentId':_0x5bb884,'requestId':_0xc2d5c4,'revisionsData':_0x1305ae});});}['_onWsGatewayStateChange'](_0xef5615){_0xef5615===_0x2adf90&&this['disconnect']();}['_sendRequest'](_0x5133f7,_0x41f51b){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,_0x5133f7,_0x41110b['encode'](_0x41f51b));}}class AddSuggestionMessage extends _0x2a763f{['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(_0x7c50f1,_0x3f614b,_0x462409,_0x5a89b3={},_0x230241=null,_0x4ecbfb=null){super(),this['id']=_0x7c50f1,this['documentId']=_0x3f614b,this['type']=_0x462409,this['data']=_0x5a89b3,this['originalSuggestionId']=_0x230241,this['attributes']=_0x4ecbfb;}['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'](_0x2224d6){return new AddSuggestionMessage(_0x2224d6['id'],_0x2224d6['documentId'],_0x2224d6['type'],JSON['parse'](_0x2224d6['data']),_0x2224d6['originalSuggestionId']??null,_0x2224d6['attributes']?JSON['parse'](_0x2224d6['attributes']):null);}}class AddSuggestionResponse extends _0x2a763f{['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(_0x3cd8c8,_0x499c26,_0x7a7a2,_0x2060b3,_0x150971,_0x32b205,_0x5cf353={},_0x1f3124=null){super(),this['id']=_0x3cd8c8,this['authorId']=_0x499c26,this['type']=_0x7a7a2,this['hasComments']=_0x150971,this['state']=_0x32b205,this['data']=_0x5cf353,this['attributes']=_0x1f3124,this['createdAt']=_0x2060b3?new Date(_0x2060b3):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'](_0x28ec9d){return new AddSuggestionResponse(_0x28ec9d['id'],_0x28ec9d['authorId'],_0x28ec9d['type'],_0x28ec9d['createdAt'],_0x28ec9d['hasComments'],_0x28ec9d['state'],JSON['parse'](_0x28ec9d['data']),_0x28ec9d['attributes']?JSON['parse'](_0x28ec9d['attributes']):null);}}class GetSuggestionMessage extends _0x2a763f{['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(_0x30ecca,_0x1e7de4){super(),this['id']=_0x30ecca,this['documentId']=_0x1e7de4;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](_0xdf1799){return new GetSuggestionMessage(_0xdf1799['id'],_0xdf1799['documentId']);}}class GetSuggestionResponse extends _0x2a763f{['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(_0x58b74b,_0xddcce8,_0x13c72a,_0x3269dd,_0x5c985c,_0x1f60a8,_0x448349={},_0x425457=null){super(),this['id']=_0x58b74b,this['authorId']=_0xddcce8,this['type']=_0x13c72a,this['hasComments']=_0x5c985c,this['state']=_0x1f60a8,this['data']=_0x448349,this['attributes']=_0x425457,this['createdAt']=new Date(_0x3269dd);}['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'](_0x292eed){return new GetSuggestionResponse(_0x292eed['id'],_0x292eed['authorId'],_0x292eed['type'],_0x292eed['createdAt'],_0x292eed['hasComments'],_0x292eed['state'],JSON['parse'](_0x292eed['data']),_0x292eed['attributes']?JSON['parse'](_0x292eed['attributes']):null);}}class GetAllSuggestionsMessage extends _0x2a763f{['documentId'];static ['TYPE']='102';static ['READABLE_TYPE_NAME']='getAllSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x51a42f){super(),this['documentId']=_0x51a42f;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x4c838a){return new GetAllSuggestionsMessage(_0x4c838a['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'](_0x228fc1){return{..._0x228fc1,'data':_0x228fc1['data']?JSON['stringify'](_0x228fc1['data']):_0x228fc1['data'],'attributes':_0x228fc1['attributes']?JSON['stringify'](_0x228fc1['attributes']):_0x228fc1['attributes'],'createdAt':_0x228fc1['createdAt']?.['toISOString']()};}static['fromJSON'](_0x500675){return{..._0x500675,'data':_0x500675['data']?JSON['parse'](_0x500675['data']):_0x500675['data'],'attributes':_0x500675['attributes']?JSON['parse'](_0x500675['attributes']):_0x500675['attributes'],'createdAt':_0x500675['createdAt']?new Date(_0x500675['createdAt']):void 0x0};}}class GetAllSuggestionResponse extends _0x2a763f{['_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(_0x56c60d,_0x1deb6d){super(),this['_suggestions']=_0x56c60d,this['_suggestionsV2']=_0x1deb6d,this['suggestions']=_0x1deb6d?.['length']?_0x1deb6d:_0x56c60d;}['toJSON'](){return{'suggestions':this['_suggestions']?.['map'](_0x11b71a=>JSON['stringify'](_0x11b71a)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x511454){return new GetAllSuggestionResponse(_0x511454['suggestions']?.['map'](_0x2c19d7),_0x511454['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}}function _0x2c19d7(_0x2e34e3){const _0x28724f=JSON['parse'](_0x2e34e3);return _0x28724f['createdAt']=_0x28724f['createdAt']?new Date(_0x28724f['createdAt']):void 0x0,_0x28724f;}class UpdateSuggestionMessage extends _0x2a763f{['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(_0x2fdc81,_0xd0d20e,_0xe929af,_0x556f31,_0x2262a5,_0x552a72=null){super(),this['id']=_0x2fdc81,this['documentId']=_0xd0d20e,this['hasComments']=_0xe929af,this['isHasCommentsModified']=_0x556f31,this['state']=_0x2262a5,this['attributes']=_0x552a72;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x46d2eb){return new UpdateSuggestionMessage(_0x46d2eb['id'],_0x46d2eb['documentId'],_0x46d2eb['hasComments'],_0x46d2eb['isHasCommentsModified'],_0x46d2eb['state'],_0x46d2eb['attributes']?JSON['parse'](_0x46d2eb['attributes']):null);}}let _0x16ee35=class ConnectMessage extends _0x2a763f{['documentId'];static ['TYPE']='105';static ['READABLE_TYPE_NAME']='connectToSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x366a61){super(),this['documentId']=_0x366a61;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x4bd358){return new ConnectMessage(_0x4bd358['documentId']);}},_0x16f305=class ConnectResponse extends _0x2a763f{['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(_0xbc50f4,_0x5c2cdf,_0x5451cc){super(),this['channel']=_0xbc50f4,this['_suggestions']=_0x5c2cdf,this['_suggestionsV2']=_0x5451cc,this['suggestions']=_0x5451cc?.['length']?_0x5451cc:_0x5c2cdf;}['toJSON'](){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](_0x232c9c=>JSON['stringify'](_0x232c9c)),'suggestionsV2':this['_suggestionsV2']?.['map'](SuggestionDescriptor['toJSON'])};}static['fromJSON'](_0x339447){return new ConnectResponse(_0x339447['channel'],_0x339447['suggestions']?.['map'](_0x4af87b=>JSON['parse'](_0x4af87b)),_0x339447['suggestionsV2']?.['map'](SuggestionDescriptor['fromJSON']));}};class BatchUpdateSuggestionsStateMessage extends _0x2a763f{['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(_0x2614bc,_0x1691a8,_0x3d11d0){super(),this['ids']=_0x2614bc,this['documentId']=_0x1691a8,this['state']=_0x3d11d0;}['toJSON'](){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](_0x344efa){return new BatchUpdateSuggestionsStateMessage(_0x344efa['ids'],_0x344efa['documentId'],_0x344efa['state']);}}class _0x39057f extends/* #__PURE__ -- @preserve */
_0x22b56d['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xa;constructor(_0x2ea82b){super(),this['_documentId']=_0x2ea82b;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x2653ac){if(this['_isConnected'])return;if(_0x2653ac['state']!==_0x46f49e)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x2653ac);const _0x4ea6e0=new _0x16ee35(this['_documentId']);this['_wsGateway']=_0x2653ac,this['stopListening'](_0x2653ac,'change:state');const _0x214edb=await _0x2653ac['_sendRequest'](0xa,_0x16ee35['TYPE'],_0x41110b['encode'](_0x4ea6e0)),_0x185911=_0x41110b['decode'](_0x214edb,_0x16f305);return this['listenTo'](_0x2653ac,'change:state',(_0x410338,_0x56fbc2,_0x181ef3)=>this['_onWsGatewayStateChange'](_0x181ef3),{'priority':_0x14b875['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x2653ac,_0x185911['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x185911['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'](_0x2f0b92,_0xbf68c1,_0x4dfa4f,_0x464ae1=null,_0x4c7086){const _0x4c4080=new AddSuggestionMessage(_0x2f0b92,this['_documentId'],_0xbf68c1,_0x4dfa4f,_0x464ae1,_0x4c7086),_0x96ffd2=await this['_sendRequest'](AddSuggestionMessage['TYPE'],_0x4c4080);return _0x41110b['decode'](_0x96ffd2,AddSuggestionResponse);}async['get'](_0x2ddf64,_0x19696a=0x1){const _0x2186bf=new GetSuggestionMessage(_0x2ddf64,this['_documentId']);try{const _0x11221c=await this['_sendRequest'](GetSuggestionMessage['TYPE'],_0x2186bf);return _0x41110b['decode'](_0x11221c,GetSuggestionResponse);}catch(_0x43c538){if('CKEditorCloudServicesServerError'===_0x43c538['name']&&'404'===_0x43c538['code']&&_0x19696a<0x5)return await(_0x4186e0=0x64*_0x19696a,new Promise(_0xb4aa0b=>{setTimeout(_0xb4aa0b,_0x4186e0);})),this['get'](_0x2ddf64,_0x19696a+0x1);if('CKEditorCloudServicesServerError'===_0x43c538['name'])throw _0x43c538;throw CKEditorCloudServicesServerError['fromPublicError'](_0x43c538);}var _0x4186e0;}async['getAll'](){const _0x2cb694=new GetAllSuggestionsMessage(this['_documentId']),_0x4c52bd=await this['_sendRequest'](GetAllSuggestionsMessage['TYPE'],_0x2cb694),{suggestions:_0x34e2dd}=_0x41110b['decode'](_0x4c52bd,GetAllSuggestionResponse);return _0x34e2dd;}async['update'](_0x53b3b4,_0x18cc8d={}){const {hasComments:_0x51bb92,state:_0x4b4aef,attributes:_0x53b808}=_0x18cc8d,_0x1f7621=void 0x0!==_0x51bb92,_0x614b20=new UpdateSuggestionMessage(_0x53b3b4,this['_documentId'],_0x51bb92,_0x1f7621,_0x4b4aef,_0x53b808);await this['_sendRequest'](UpdateSuggestionMessage['TYPE'],_0x614b20);}async['batchUpdateState'](_0x2e81a0){const _0x2008ca=new BatchUpdateSuggestionsStateMessage(_0x2e81a0['ids'],this['_documentId'],_0x2e81a0['state']);await this['_sendRequest'](BatchUpdateSuggestionsStateMessage['TYPE'],_0x2008ca);}['_connectToChannel'](_0x5c59b1,_0x4f657c){this['_channel']=_0x5c59b1['_getChannel'](_0x39057f['_SERVICE'],_0x4f657c),this['_channel']&&this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateSuggestionMessage['TYPE']),(_0x48dd5e,_0x5e5840)=>{const _0x481e00=_0x41110b['decode'](_0x5e5840,UpdateSuggestionMessage);this['fire']('suggestionUpdated',_0x481e00);});}['_onWsGatewayStateChange'](_0x5eb996){_0x5eb996===_0x2adf90&&this['disconnect']();}['_sendRequest'](_0x171ef4,_0x58a316){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,_0x171ef4,_0x41110b['encode'](_0x58a316));}}class SessionsConnectResponse extends _0x2a763f{['channel'];['sockets'];static ['DESCRIPTOR_NAME']='SessionsConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'sockets':{'rule':'repeated','type':'SessionsSocketDescriptor','id':0x2}}};constructor(_0xa338d5,_0x6ca6b7=[]){super(),this['channel']=_0xa338d5,this['sockets']=_0x6ca6b7;}['toJSON'](){return{'channel':this['channel'],'sockets':this['sockets']['map'](_0x1974e6=>({'user':_0x1974e6['userId'],'session':_0x1974e6['id'],'role':_0x1974e6['role'],'permissions':_0x1974e6['permissions']}))};}static['fromJSON'](_0x277f2a){return new SessionsConnectResponse(_0x277f2a['channel'],_0x277f2a['sockets']['map'](_0x15efbf=>({'id':_0x15efbf['session'],'userId':_0x15efbf['user'],'role':_0x15efbf['role'],'permissions':_0x15efbf['permissions']})));}}class SessionsConnectMessage extends _0x2a763f{['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(_0xed4f8d,_0x51194a){super(),this['id']=_0xed4f8d,this['sessionType']=_0x51194a;}['toJSON'](){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](_0x5c3d9e){return new SessionsConnectMessage(_0x5c3d9e['id'],_0x5c3d9e['sessionType']);}}class SocketConnectMessage extends _0x2a763f{['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(_0x2f3a76,_0x5a69eb,_0x328e41,_0x226999){super(),this['id']=_0x2f3a76,this['userId']=_0x5a69eb,this['role']=_0x328e41,this['permissions']=_0x226999;}['toJSON'](){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](_0x2db345){return new SocketConnectMessage(_0x2db345['id'],_0x2db345['userId'],_0x2db345['role'],_0x2db345['permissions']);}}class SocketDisconnectMessage extends _0x2a763f{['id'];static ['TYPE']='33';static ['READABLE_TYPE_NAME']='disconnectSocket';static ['DESCRIPTOR_NAME']='SocketDisconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x4e4b5f){super(),this['id']=_0x4e4b5f;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x313913){return new SocketDisconnectMessage(_0x313913['id']);}}class SessionCollection extends _0x22b56d['Collection']{['_id'];['_sessionType'];['_handlers']=new Map();['_channel'];['_wsGateway'];['_connected'];['_eventsQueue']=[];['_isRunning']=!0x1;constructor(_0x2d9f83,_0x306c43){super({'idProperty':'id'}),this['_id']=_0x2d9f83,this['_sessionType']=_0x306c43;}async['connect'](_0x58ff85){this['_wsGateway']=_0x58ff85,this['stopListening'](_0x58ff85,'change:state');const _0x2ffae3=new SessionsConnectMessage(this['_id'],this['_sessionType']);let _0x29d34b;try{const _0x483c77=await this['_wsGateway']['_sendRequest'](0x3,SessionsConnectMessage['TYPE'],_0x41110b['encode'](_0x2ffae3));_0x29d34b=_0x41110b['decode'](_0x483c77,SessionsConnectResponse);}catch(_0xa287c3){_0x29d34b=new SessionsConnectResponse(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],_0x29d34b['channel'],this['_sessionType']);const _0xe1a2c3=await async function(_0xface44,_0x24f3d2){const _0x5dff92=_0x24f3d2['map'](_0x3cad68=>_0x3cad68['userId']),_0x36dddc=_0x5dff92['length']?await _0x266d0f['getMany'](_0xface44,_0x5dff92):[];return _0x24f3d2['map'](_0x5854c0=>{const _0x59743c={'id':_0x5854c0['id'],'role':_0x5854c0['role'],'permissions':_0x5854c0['permissions']};return _0x59743c['user']=_0x5854c0['userId']&&_0x36dddc['find'](_0x50993b=>_0x50993b['id']===_0x5854c0['userId'])||new _0x266d0f(),_0x59743c;});}(this['_wsGateway'],_0x29d34b['sockets']);for(const _0x4b1933 of _0xe1a2c3)super['add'](_0x4b1933);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0x3737d2,_0x3030ee,_0xd4afc1)=>this['_onWsGatewayStateChange'](_0xd4afc1),{'priority':_0x14b875['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}['disconnect'](_0x45b2f1=!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']&&_0x45b2f1&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x45b2f1&&this['stopListening']();}}['add'](_0x1a1100,_0x27b266){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0x1dd9d0){throw new TypeError('The\x20collection\x20is\x20read-only.');}['_connectToChannel'](_0x111b51,_0x504e3e,_0x17bf6b){this['_channel']=_0x111b51['_getChannel'](_0x17bf6b,_0x504e3e),this['_channel']&&(this['_addHandler'](this['_channel'],SocketConnectMessage['TYPE'],async _0x297c37=>{const _0x35d441=_0x41110b['decode'](_0x297c37,SocketConnectMessage);if(-0x1===this['getIndex'](_0x35d441['id'])){const _0x5d5f58={'id':_0x35d441['id'],'role':_0x35d441['role'],'permissions':_0x35d441['permissions']};_0x35d441['userId']&&(_0x5d5f58['user']=await _0x266d0f['get'](_0x111b51,_0x35d441['userId'])),super['add'](_0x5d5f58);}}),this['_addHandler'](this['_channel'],SocketDisconnectMessage['TYPE'],_0x1348e3=>{const _0x32e864=_0x41110b['decode'](_0x1348e3,SocketDisconnectMessage);-0x1!==this['getIndex'](_0x32e864['id'])&&super['remove'](_0x32e864['id']);}));}async['_onWsGatewayStateChange'](_0x221e2a){_0x221e2a===_0x14b875['STATE_DISCONNECTED']&&this['disconnect'](!0x1),_0x221e2a===_0x14b875['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let _0x1bbc47;for(this['_isRunning']=!0x0;_0x1bbc47=this['_eventsQueue']['shift']();){const _0x224e56=this['_handlers']['get'](_0x1bbc47['eventName']);_0x224e56&&await _0x224e56(_0x1bbc47['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0x5f20b0,_0x22d222,_0x196978){const _0x44d254=_0x5f20b0['getEventName'](_0x22d222,!0x0);this['listenTo'](_0x5f20b0,_0x44d254,async(_0x368e15,_0xaedef3)=>{const _0x335026=_0x368e15['name'];this['_eventsQueue']['push']({'eventName':_0x335026,'data':_0xaedef3}),await this['_runQueue']();}),this['_handlers']['set'](_0x44d254,_0x196978);}}let _0x5539f6=class _0x38f174{static async['getConnectedSessions'](_0x18e8e3,_0x66a2d2,_0x435e11){const _0x58081d=new SessionCollection(_0x66a2d2,_0x435e11);return await _0x58081d['connect'](_0x18e8e3),_0x58081d;}};class CollaborativeEditingConnectMessage extends _0x2a763f{['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(_0x1e91b4,_0x206b6d,_0x482239,_0x8ba2fe,_0x17d2d3=''){super(),this['id']=_0x1e91b4,this['buffers']=_0x206b6d,this['types']=_0x482239,this['bundleVersion']=_0x8ba2fe,this['lastOperationId']=_0x17d2d3;}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x48f5a0){return new CollaborativeEditingConnectMessage(_0x48f5a0['id'],_0x48f5a0['buffers'],_0x48f5a0['types'],_0x48f5a0['bundleVersion'],_0x48f5a0['lastOperationId']);}}class OperationMetadataHelpers{static['prepareMetadataForOperations'](_0xc07cfe,_0x3e38fd){if(!_0xc07cfe?.['length']||!_0x3e38fd?.['length'])return[];const _0x2fe5ca=[];let _0x14c324=0x0;for(const _0x3e22cc of _0xc07cfe)if(0x0!==_0x3e22cc){if(!_0x3e38fd[_0x14c324])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x2fe5ca['push'](_0x3e38fd[_0x14c324]),_0x14c324++;}else _0x2fe5ca['push'](_0x2fe5ca[_0x2fe5ca['length']-0x1]);return _0x2fe5ca;}static['removeUnnecessaryMetadata'](_0x5271eb,_0x4b12dd){if(!_0x5271eb?.['length']||!_0x4b12dd?.['length'])return[];const _0x13a3be=[];for(let _0x2e6371=0x0;_0x2e6371<_0x5271eb['length'];_0x2e6371++)if(0x0!==_0x5271eb[_0x2e6371]){if(!_0x4b12dd[_0x2e6371])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x13a3be['push'](_0x4b12dd[_0x2e6371]);}return _0x13a3be;}}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:_0x266024,..._0x9b0502}){const _0x53bf8b={..._0x9b0502};return _0x266024?.['toISOString']&&(_0x53bf8b['createdAt']=_0x266024['toISOString']()),_0x53bf8b;}static['fromJSON']({createdAt:_0x2abb8e,..._0x3b3e6f}){const _0x296824={..._0x3b3e6f};return _0x2abb8e&&(_0x296824['createdAt']=new Date(_0x2abb8e)),_0x296824;}}class CollaborativeEditingUpdateMessage extends _0x2a763f{['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(_0x2d493a,_0x410a18,_0x482cc4,_0x41b0f1,_0x2e879c=[],_0x3c8534=''){super(),this['id']=_0x2d493a,this['buffers']=_0x410a18,this['types']=_0x482cc4,this['baseVersion']=_0x41b0f1,this['metadata']=_0x2e879c,this['lastOperationId']=_0x3c8534;}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'](_0x403f35){return new CollaborativeEditingUpdateMessage(_0x403f35['id'],_0x403f35['buffers'],_0x403f35['types'],_0x403f35['baseVersion'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x403f35['types'],_0x403f35['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x403f35['lastOperationId']);}}class CollaborativeEditingReconnectMessage extends _0x2a763f{['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(_0x4d4888,_0x3566ff,_0x58575e){super(),this['id']=_0x4d4888,this['lastKnowVersion']=_0x3566ff,this['bundleVersion']=_0x58575e;}['toJSON'](){return{'id':this['id'],'bundleVersion':this['bundleVersion'],'lastKnowVersion':this['lastKnowVersion']};}static['fromJSON'](_0x18d874){return new CollaborativeEditingReconnectMessage(_0x18d874['id'],_0x18d874['lastKnowVersion'],_0x18d874['bundleVersion']);}}class CollaborativeEditingResponse extends _0x2a763f{['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(_0x2d644f,_0x3cd479=[],_0xfd119e=[],_0x5f05c6=[],_0x2720fe='',_0x266243=null){super(),this['version']=_0x2d644f,this['buffers']=_0x3cd479,this['types']=_0xfd119e,this['metadata']=_0x5f05c6,this['lastOperationId']=_0x2720fe,this['lastOperationAcceptedAt']=_0x266243;}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'](_0x24eba7){return new CollaborativeEditingResponse(_0x24eba7['version'],_0x24eba7['buffers'],_0x24eba7['types'],OperationMetadataHelpers['prepareMetadataForOperations'](_0x24eba7['types'],_0x24eba7['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),_0x24eba7['lastOperationId'],_0x24eba7['lastOperationAcceptedAt']?new Date(_0x24eba7['lastOperationAcceptedAt']):null);}static['create'](_0x18dc73){return new CollaborativeEditingResponse(_0x18dc73['version'],_0x18dc73['buffers'],_0x18dc73['types'],_0x18dc73['metadata'],_0x18dc73['lastOperationId'],_0x18dc73['lastOperationAcceptedAt']?new Date(_0x18dc73['lastOperationAcceptedAt']):null);}}class CollaborativeEditingConnectResponse extends _0x2a763f{['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(_0x24f1f0,_0x40ea14,_0x3b1c67=[],_0x1c244f=[],_0x4a67bd=0x0,_0xcea581=[],_0x30d3a4=null,_0x6273e5='',_0x3fef18='',_0x5ccdb3=null){super(),this['channel']=_0x24f1f0,this['version']=_0x40ea14,this['buffers']=_0x3b1c67,this['types']=_0x1c244f,this['offset']=_0x4a67bd,this['metadata']=_0xcea581,this['initData']=_0x30d3a4,this['sessionId']=_0x6273e5,this['lastOperationId']=_0x3fef18,this['sessionCreatedAt']=_0x5ccdb3;}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'](_0x418be2){return new CollaborativeEditingConnectResponse(_0x418be2['channel'],_0x418be2['version'],_0x418be2['buffers'],_0x418be2['types'],_0x418be2['offset'],_0x418be2['metadata'],_0x418be2['initData'],_0x418be2['sessionId'],_0x418be2['lastOperationId'],_0x418be2['sessionCreatedAt']);}static['fromJSON'](_0x2829e5){let _0x42f624=null;return!0x0===_0x2829e5['isInitialized']?_0x42f624=_0x2829e5['initData']??'':'boolean'!=typeof _0x2829e5['isInitialized']&&_0x2829e5['initData']&&(_0x42f624=_0x2829e5['initData']),CollaborativeEditingConnectResponse['create']({'channel':_0x2829e5['channel'],'version':_0x2829e5['version'],'buffers':_0x2829e5['buffers'],'types':_0x2829e5['types'],'offset':_0x2829e5['offset'],'metadata':OperationMetadataHelpers['prepareMetadataForOperations'](_0x2829e5['types'],_0x2829e5['metadata'])['map'](OperationMetadataDescriptor['fromJSON']),'initData':_0x42f624,'sessionId':_0x2829e5['sessionId'],'lastOperationId':_0x2829e5['lastOperationId'],'sessionCreatedAt':_0x2829e5['sessionCreatedAt']?new Date(_0x2829e5['sessionCreatedAt']):null});}}class GetDocumentDetailsResponse extends _0x2a763f{['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(_0x92745e,_0x349236){super(),this['lastDocumentSession']=_0x92745e,this['currentDocumentSession']=_0x349236;}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'](_0x48be57){const _0x1d8419=_0x48be57['lastDocumentSessionId']?{'id':_0x48be57['lastDocumentSessionId'],'lastOperationId':_0x48be57['lastDocumentSessionOperationId']}:void 0x0,_0x26e68d=_0x48be57['currentDocumentSessionId']?{'lastOperationId':_0x48be57['currentDocumentSessionOperationId'],'version':_0x48be57['currentDocumentSessionVersion'],'id':_0x48be57['currentDocumentSessionId']}:void 0x0;return new GetDocumentDetailsResponse(_0x1d8419,_0x26e68d);}}class GetDocumentDetailsMessage extends _0x2a763f{['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(_0x4ecfcf){super(),this['documentId']=_0x4ecfcf;}get['data'](){return{'documentId':this['documentId']};}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x30423f){return new GetDocumentDetailsMessage(_0x30423f['documentId']);}}class CollaborativeEditingService extends/* #__PURE__ -- @preserve */
_0x22b56d['EmitterMixin'](){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];['_isConnected'];['_wsGateway'];['_channel'];['_connectedSessions'];constructor(_0x3676e6,_0x520ccf){if(super(),!_0x3676e6)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0x520ccf??_0x3d3d39(),this['_isConnected']=!0x1,this['_bundleVersion']=_0x3676e6;}['getId'](){return this['_id'];}['isConnected'](){return this['_isConnected'];}['connect'](_0x172428,_0x426b1a={'buffers':[],'types':[]},_0x56af58){const _0x57e14d=new CollaborativeEditingConnectMessage(this['getId'](),_0x426b1a['buffers'],_0x426b1a['types'],this['_bundleVersion'],_0x56af58);return this['_connect'](_0x172428,_0x57e14d);}['reconnect'](_0x58522e,_0x28c935){if(this['isConnected']())throw new CKEditorCloudServicesError('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x58522e);return this['_connect'](_0x58522e,new CollaborativeEditingReconnectMessage(this['getId'](),_0x28c935,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 _0x3c2d10=new GetDocumentDetailsMessage(this['getId']());if(!this['_wsGateway'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x804c4a=await this['_wsGateway']['_sendRequest'](0x1,GetDocumentDetailsMessage['TYPE'],_0x41110b['encode'](_0x3c2d10));return _0x41110b['decode'](_0x804c4a,GetDocumentDetailsResponse);}async['sendOperations'](_0x3beb01,_0x24721a,_0x122467){if(!_0x3beb01?.['types']?.['length'])throw new CKEditorCloudServicesError('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0x2271ea='number'==typeof _0x24721a?_0x24721a:parseInt(_0x24721a);if(!Number['isInteger'](_0x2271ea)||_0x2271ea<0x0)throw new CKEditorCloudServicesError('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x3979f3=new CollaborativeEditingUpdateMessage(this['getId'](),_0x3beb01['buffers'],_0x3beb01['types'],_0x2271ea,[],_0x122467);if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);const _0x59c52c=await this['_wsGateway']['_sendRequest'](0x1,CollaborativeEditingUpdateMessage['TYPE'],_0x41110b['encode'](_0x3979f3));return _0x41110b['decode'](_0x59c52c,CollaborativeEditingResponse);}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Collaborative\x20Editing',this);return this['_connectedSessions']||(this['_connectedSessions']=await _0x5539f6['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1)),this['_connectedSessions'];}static['getConnectedSessions'](_0x25ac9c,_0x4a5c78){return _0x5539f6['getConnectedSessions'](_0x25ac9c,_0x4a5c78,0x1);}async['_connect'](_0x28ee17,_0x16f5a9){if(this['isConnected']())return;if(_0x28ee17['state']!==_0x14b875['STATE_CONNECTED'])throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x28ee17);this['_wsGateway']=_0x28ee17,this['stopListening'](_0x28ee17,'change:state');const _0xaa5829=await _0x28ee17['_sendRequest'](0x1,_0x16f5a9['constructor']['TYPE'],_0x41110b['encode'](_0x16f5a9)),_0xd0f71d=_0x41110b['decode'](_0xaa5829,CollaborativeEditingConnectResponse);return this['listenTo'](_0x28ee17,'change:state',(_0x674ca9,_0x50f79b,_0xd26967)=>this['_onWsGatewayStateChange'](_0xd26967),{'priority':_0x14b875['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x28ee17,_0xd0f71d['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0xd0f71d;}['_connectToChannel'](_0x16310c,_0xfb7017){this['_channel']=_0x16310c['_getChannel'](0x1,_0xfb7017),this['listenTo'](this['_channel'],this['_channel']['getEventName'](CollaborativeEditingUpdateMessage['TYPE']),(_0x4225dd,_0x14c3b8)=>{const _0x2711e4=_0x41110b['decode'](_0x14c3b8,CollaborativeEditingUpdateMessage);this['fire']('operationsReceived',_0x2711e4['baseVersion'],_0x2711e4['data'],_0x2711e4['metadata']);});}['_onWsGatewayStateChange'](_0x5c2c3e){_0x5c2c3e===_0x14b875['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'](_0x590b54){return{..._0x590b54,'createdAt':_0x590b54['createdAt']?.['toISOString'](),'attributes':_0x590b54['attributes']?JSON['stringify'](_0x590b54['attributes']):null};}static['fromJSON'](_0x2f9684){return{..._0x2f9684,'createdAt':new Date(_0x2f9684['createdAt']),'attributes':_0x2f9684['attributes']?JSON['parse'](_0x2f9684['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'](_0x4fd72b){return{..._0x4fd72b,'createdAt':_0x4fd72b['createdAt']?.['toISOString'](),'deletedAt':_0x4fd72b['deletedAt']?.['toISOString'](),'resolvedAt':_0x4fd72b['resolvedAt']?.['toISOString'](),'attributes':_0x4fd72b['attributes']?JSON['stringify'](_0x4fd72b['attributes']):null,'context':_0x4fd72b['context']?JSON['stringify'](_0x4fd72b['context']):_0x4fd72b['context'],'comments':_0x4fd72b['comments']?.['map'](CommentDescriptor['toJSON']),'unlinkedAt':_0x4fd72b['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x1a9d0a){return{..._0x1a9d0a,'createdAt':_0x1a9d0a['createdAt']?new Date(_0x1a9d0a['createdAt']):void 0x0,'deletedAt':_0x1a9d0a['deletedAt']?new Date(_0x1a9d0a['deletedAt']):void 0x0,'resolvedAt':_0x1a9d0a['resolvedAt']?new Date(_0x1a9d0a['resolvedAt']):void 0x0,'attributes':_0x1a9d0a['attributes']?JSON['parse'](_0x1a9d0a['attributes']):null,'context':_0x1a9d0a['context']?JSON['parse'](_0x1a9d0a['context']):void 0x0,'comments':_0x1a9d0a['comments']?.['map'](CommentDescriptor['fromJSON']),'unlinkedAt':_0x1a9d0a['unlinkedAt']?new Date(_0x1a9d0a['unlinkedAt']):void 0x0};}}class AddCommentMessage extends _0x2a763f{['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(_0x42f3a1,_0x291ccc,_0x308d49,_0x2e4a9b='',_0x22634d,_0x39d681='',_0x17d740=null,_0x56f423){super(),this['documentId']=_0x42f3a1,this['commentThreadId']=_0x291ccc,this['content']=_0x308d49,this['commentId']=_0x2e4a9b,this['userId']=_0x39d681,this['attributes']=_0x17d740,this['commentThread']=_0x56f423,this['createdAt']=_0x22634d?new Date(_0x22634d):'';}['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'](_0x4f9b5e){return new AddCommentMessage(_0x4f9b5e['documentId'],_0x4f9b5e['commentThreadId'],_0x4f9b5e['content'],_0x4f9b5e['commentId']?_0x4f9b5e['commentId']:void 0x0,_0x4f9b5e['createdAt']?new Date(_0x4f9b5e['createdAt']):void 0x0,_0x4f9b5e['userId']?_0x4f9b5e['userId']:void 0x0,_0x4f9b5e['attributes']?JSON['parse'](_0x4f9b5e['attributes']):{},_0x4f9b5e['commentThread']?CommentsThreadDescriptor['fromJSON'](_0x4f9b5e['commentThread']):void 0x0);}}class AddCommentResponse extends _0x2a763f{['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(_0x458e4a,_0x570036,_0x1a2c5a){super(),this['commentThreadId']=_0x458e4a,this['commentId']=_0x570036,this['createdAt']=new Date(_0x1a2c5a);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](_0x43da62){return new AddCommentResponse(_0x43da62['commentThreadId'],_0x43da62['commentId'],_0x43da62['createdAt']);}}class ConnectMessage extends _0x2a763f{['documentId'];static ['TYPE']='92';static ['READABLE_TYPE_NAME']='connectToComment';static ['DESCRIPTOR_NAME']='CommentsV2ConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x248dc7){super(),this['documentId']=_0x248dc7;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x57bbe2){return new ConnectMessage(_0x57bbe2['documentId']);}}class ConnectResponse extends _0x2a763f{['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(_0x4af4b8,_0x17f292,_0x5e96fc){super(),this['channel']=_0x4af4b8,this['_threads']=_0x17f292,this['_threadsV2']=_0x5e96fc,this['threads']=_0x5e96fc?.['length']?_0x5e96fc:_0x17f292;}['toJSON'](){return{'channel':this['channel'],'threads':this['_threads']?.['map'](_0x35f606=>JSON['stringify'](_0x35f606)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x4493c0){return new ConnectResponse(_0x4493c0['channel'],_0x4493c0['threads']?.['map'](_0x406fb9=>JSON['parse'](_0x406fb9)),_0x4493c0['threadsV2']?.['map'](CommentsThreadDescriptor['fromJSON']));}}class RemoveCommentMessage extends _0x2a763f{['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(_0x414d08,_0x45c6e7,_0x647909){super(),this['documentId']=_0x414d08,this['commentThreadId']=_0x45c6e7,this['commentId']=_0x647909;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](_0x29498a){return new RemoveCommentMessage(_0x29498a['documentId'],_0x29498a['commentThreadId'],_0x29498a['commentId']);}}class RemoveCommentThreadMessage extends _0x2a763f{['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(_0x4e8d02,_0x215679){super(),this['documentId']=_0x4e8d02,this['commentThreadId']=_0x215679;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x2567f7){return new RemoveCommentThreadMessage(_0x2567f7['documentId'],_0x2567f7['commentThreadId']);}}class UpdateCommentMessage extends _0x2a763f{['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(_0x610598,_0x2906cc,_0x548215,_0x3cb2ed,_0xd3fe04=null,_0x311090=!0x1,_0x3be7c3){super(),this['documentId']=_0x610598,this['commentThreadId']=_0x2906cc,this['commentId']=_0x548215,this['content']=_0x3cb2ed,this['attributes']=_0xd3fe04,this['isAttributesUpdated']=_0x311090,this['commentThread']=_0x3be7c3;}['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'](_0xe9fb2c){return new UpdateCommentMessage(_0xe9fb2c['documentId'],_0xe9fb2c['commentThreadId'],_0xe9fb2c['commentId'],_0xe9fb2c['content'],_0xe9fb2c['attributes']?JSON['parse'](_0xe9fb2c['attributes']):null,_0xe9fb2c['isAttributesUpdated'],_0xe9fb2c['commentThread']?CommentsThreadDescriptor['fromJSON'](_0xe9fb2c['commentThread']):void 0x0);}}class GetCommentThreadMessage extends _0x2a763f{['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(_0xa2cca0,_0x4e76a5){super(),this['commentThreadId']=_0xa2cca0,this['documentId']=_0x4e76a5;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](_0x3b3d48){return new GetCommentThreadMessage(_0x3b3d48['commentThreadId'],_0x3b3d48['documentId']);}}class GetCommentThreadResponse extends _0x2a763f{['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(_0x35534f,_0x4f3a51,_0x26424c,_0x3adc95,_0x32976f,_0x1a0d01,_0x379032,_0x29e9aa,_0x3256e2,_0x19de72){super(),this['commentThreadId']=_0x35534f,this['_comments']=_0x4f3a51,this['_commentsV2']=_0x26424c,this['resolvedBy']=_0x32976f,this['comments']=_0x26424c?.['length']?_0x26424c:_0x4f3a51,this['createdAt']=_0x379032?new Date(_0x379032):void 0x0,this['deletedAt']='string'==typeof _0x29e9aa?new Date(_0x29e9aa):_0x29e9aa,this['resolvedAt']='string'==typeof _0x3256e2?new Date(_0x3256e2):_0x3256e2,this['unlinkedAt']='string'==typeof _0x19de72?new Date(_0x19de72):_0x19de72,this['attributes']='string'==typeof _0x3adc95?JSON['parse'](_0x3adc95):_0x3adc95,this['context']='string'==typeof _0x1a0d01?JSON['parse'](_0x1a0d01):_0x1a0d01;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](_0x5584c7=>JSON['stringify'](_0x5584c7)),'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'](_0x5dd8f4){return new GetCommentThreadResponse(_0x5dd8f4['commentThreadId'],_0x5dd8f4['comments']?.['map'](_0x118427=>function(_0x414891){const _0x21a47a=JSON['parse'](_0x414891);return{..._0x21a47a,'createdAt':new Date(_0x21a47a['createdAt'])};}(_0x118427)),_0x5dd8f4['commentsV2']?.['map'](CommentDescriptor['fromJSON']),_0x5dd8f4['attributes']?JSON['parse'](_0x5dd8f4['attributes']):_0x5dd8f4['attributes'],_0x5dd8f4['resolvedBy'],_0x5dd8f4['context']?JSON['parse'](_0x5dd8f4['context']):_0x5dd8f4['context'],_0x5dd8f4['createdAt'],_0x5dd8f4['deletedAt'],_0x5dd8f4['resolvedAt'],_0x5dd8f4['unlinkedAt']);}}class GetDocumentThreadsMessage extends _0x2a763f{['documentId'];static ['TYPE']='94';static ['READABLE_TYPE_NAME']='getDocumentThreads';static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x402beb){super(),this['documentId']=_0x402beb;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0xf6f243){return new GetDocumentThreadsMessage(_0xf6f243['documentId']);}}class GetDocumentThreadsResponse extends _0x2a763f{['_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(_0x274801,_0x54e066){super(),this['_threads']=_0x274801,this['_threadsV2']=_0x54e066,this['threads']=_0x54e066?.['length']?_0x54e066:_0x274801;}['toJSON'](){return{'threads':this['_threads']?.['map'](_0xa17018=>JSON['stringify'](_0xa17018)),'threadsV2':this['_threadsV2']?.['map'](CommentsThreadDescriptor['toJSON'])};}static['fromJSON'](_0x509fd7){return new GetDocumentThreadsResponse(_0x509fd7['threads']?.['map'](_0x341538=>function(_0x500341){const _0x554bc4=JSON['parse'](_0x500341),_0x3bcb09={..._0x554bc4};return _0x554bc4['comments']&&(_0x3bcb09['comments']=_0x554bc4['comments']?.['map'](_0x5644ee=>({..._0x5644ee,'createdAt':new Date(_0x5644ee['createdAt'])}))),_0x3bcb09;}(_0x341538)),_0x509fd7['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'](_0x5e7db8){return{'commentId':_0x5e7db8['commentId'],'createdAt':_0x5e7db8['createdAt']?.['toISOString']()};}static['fromJSON'](_0xde9c38){return{'commentId':_0xde9c38['commentId'],'createdAt':new Date(_0xde9c38['createdAt'])};}}class AddCommentThreadResponse extends _0x2a763f{['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(_0x2fca1e,_0x20cb73,_0x61b33a=[]){super(),this['commentThreadId']=_0x2fca1e,this['comments']=_0x61b33a,this['createdAt']=new Date(_0x20cb73);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](_0x405b52=>CommentThreadAddedCommentDescriptor['toJSON'](_0x405b52))};}static['fromJSON'](_0x8f4303){return new AddCommentThreadResponse(_0x8f4303['commentThreadId'],_0x8f4303['createdAt'],_0x8f4303['comments']['map'](_0xcf5ecf=>CommentThreadAddedCommentDescriptor['fromJSON'](_0xcf5ecf)));}}class AddCommentThreadMessage extends _0x2a763f{['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(_0x30d9f1,_0x1d6d11,_0x316501=[],_0x50282d,_0x2ccd33=null,_0x4a435a=null,_0x4908ed=null,_0xf4e6a7=null,_0x41d4f5=null){super(),this['documentId']=_0x30d9f1,this['commentThreadId']=_0x1d6d11,this['comments']=_0x316501,this['context']=_0x50282d,this['resolvedBy']=_0x2ccd33,this['attributes']=_0x41d4f5,this['createdAt']=_0x4a435a?new Date(_0x4a435a):'',this['resolvedAt']=_0x4908ed?new Date(_0x4908ed):'',this['deletedAt']=_0xf4e6a7?new Date(_0xf4e6a7):'';}['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'](_0x124a74=>CommentDescriptor['toJSON'](_0x124a74))};}static['fromJSON'](_0x199b73){return new AddCommentThreadMessage(_0x199b73['documentId'],_0x199b73['commentThreadId'],_0x199b73['comments']?.['map'](_0x2ddefd=>CommentDescriptor['fromJSON']({..._0x2ddefd,'documentId':_0x199b73['documentId'],'commentThreadId':_0x199b73['commentThreadId']})),_0x199b73['context']?JSON['parse'](_0x199b73['context']):_0x199b73['context'],_0x199b73['resolvedBy'],_0x199b73['createdAt']?new Date(_0x199b73['createdAt']):void 0x0,_0x199b73['resolvedAt']?new Date(_0x199b73['resolvedAt']):void 0x0,_0x199b73['deletedAt']?new Date(_0x199b73['deletedAt']):void 0x0,_0x199b73['attributes']?JSON['parse'](_0x199b73['attributes']):_0x199b73['attributes']);}}class ResolveCommentThreadMessage extends _0x2a763f{['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(_0x407349,_0x1f5442,_0x543ed1,_0x2da7be){super(),this['commentThreadId']=_0x407349,this['documentId']=_0x1f5442,this['resolvedBy']=_0x543ed1,this['resolvedAt']=_0x2da7be?new Date(_0x2da7be):void 0x0;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](_0x487084){return new ResolveCommentThreadMessage(_0x487084['commentThreadId'],_0x487084['documentId'],_0x487084['resolvedBy'],_0x487084['resolvedAt']);}}class ReopenCommentThreadMessage extends _0x2a763f{['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(_0x5291a9,_0x96273d){super(),this['commentThreadId']=_0x5291a9,this['documentId']=_0x96273d;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x3b2750){return new ReopenCommentThreadMessage(_0x3b2750['commentThreadId'],_0x3b2750['documentId']);}}class UpdateCommentThreadMessage extends _0x2a763f{['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(_0x5171ef,_0x2595ec,_0x304483,_0x4392e4=null,_0x164166=null){super(),this['commentThreadId']=_0x5171ef,this['documentId']=_0x2595ec,this['context']=_0x304483,this['attributes']=_0x4392e4,this['unlinkedAt']=_0x164166?new Date(_0x164166):'';}['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'](_0x2301d7){return new UpdateCommentThreadMessage(_0x2301d7['commentThreadId'],_0x2301d7['documentId'],_0x2301d7['context']?JSON['parse'](_0x2301d7['context']):_0x2301d7['context'],_0x2301d7['attributes']?JSON['parse'](_0x2301d7['attributes']):null,_0x2301d7['unlinkedAt']?new Date(_0x2301d7['unlinkedAt']):null);}}class ResolveCommentThreadResponse extends _0x2a763f{['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(_0x4c4e89,_0x24ed5c,_0x3c9faf,_0x22120c){super(),this['commentThreadId']=_0x4c4e89,this['documentId']=_0x24ed5c,this['resolvedBy']=_0x3c9faf,this['resolvedAt']=new Date(_0x22120c);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](_0x4932f4){return new ResolveCommentThreadResponse(_0x4932f4['commentThreadId'],_0x4932f4['documentId'],_0x4932f4['resolvedBy'],_0x4932f4['resolvedAt']);}}class CommentsService extends/* #__PURE__ -- @preserve */
_0x22b56d['EmitterMixin'](){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];['_connectedSessions'];static ['_SERVICE']=0x9;constructor(_0x41aa33){super(),this['_documentId']=_0x41aa33;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x567e75){if(this['_isConnected'])return;if(_0x567e75['state']!==_0x46f49e)throw new CKEditorCloudServicesError('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x567e75);const _0xd8472d=new ConnectMessage(this['_documentId']);this['_wsGateway']=_0x567e75,this['stopListening'](_0x567e75,'change:state');const _0x522ce0=await _0x567e75['_sendRequest'](0x9,ConnectMessage['TYPE'],_0x41110b['encode'](_0xd8472d)),{channel:_0x4a01ab,threads:_0x2dddf6}=_0x41110b['decode'](_0x522ce0,ConnectResponse);return this['listenTo'](_0x567e75,'change:state',(_0x5bc963,_0x45e279,_0x44384b)=>this['_onWsGatewayStateChange'](_0x44384b),{'priority':_0x14b875['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x567e75,_0x4a01ab),this['_isConnected']=!0x0,this['fire']('connected'),_0x2dddf6;}['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'](_0x20dde2,_0x560dc8,_0x50030d,_0x30a070){const _0x4c5e61=new AddCommentMessage(this['_documentId'],_0x20dde2,_0x50030d,_0x560dc8,void 0x0,void 0x0,_0x30a070),_0x1cc678=await this['_sendRequest'](AddCommentMessage['TYPE'],_0x4c5e61);return _0x41110b['decode'](_0x1cc678,AddCommentResponse);}async['updateComment'](_0xdcf8b1,_0x17cd5c,_0x1f51e5,_0x285863){const _0x30bac7=void 0x0!==_0x285863,_0x2aa385=new UpdateCommentMessage(this['_documentId'],_0xdcf8b1,_0x17cd5c,_0x1f51e5,_0x285863,_0x30bac7);await this['_sendRequest'](UpdateCommentMessage['TYPE'],_0x2aa385);}async['removeComment'](_0x42c450,_0x4cf2b8){const _0x300101=new RemoveCommentMessage(this['_documentId'],_0x42c450,_0x4cf2b8);await this['_sendRequest'](RemoveCommentMessage['TYPE'],_0x300101);}async['removeCommentThread'](_0x11aa5c){const _0x30e174=new RemoveCommentThreadMessage(this['_documentId'],_0x11aa5c);await this['_sendRequest'](RemoveCommentThreadMessage['TYPE'],_0x30e174);}async['addCommentThread'](_0x536c58){const _0x55c035=new AddCommentThreadMessage(this['_documentId'],_0x536c58['commentThreadId'],_0x536c58['comments']?.['map'](_0x128ec9=>({..._0x128ec9,'documentId':this['_documentId'],'commentThreadId':_0x536c58['commentThreadId']})),_0x536c58['context'],_0x536c58['resolvedBy'],_0x536c58['createdAt'],_0x536c58['resolvedAt'],_0x536c58['deletedAt'],_0x536c58['attributes']),_0x1a8cce=await this['_sendRequest'](AddCommentThreadMessage['TYPE'],_0x55c035);return _0x41110b['decode'](_0x1a8cce,AddCommentThreadResponse);}async['resolveCommentThread'](_0x300fd4){const _0x5b10fd=new ResolveCommentThreadMessage(_0x300fd4,this['_documentId']),_0x176e25=await this['_sendRequest'](ResolveCommentThreadMessage['TYPE'],_0x5b10fd);return _0x41110b['decode'](_0x176e25,ResolveCommentThreadResponse);}async['reopenCommentThread'](_0x3e7b57){const _0x10473c=new ReopenCommentThreadMessage(_0x3e7b57,this['_documentId']);await this['_sendRequest'](ReopenCommentThreadMessage['TYPE'],_0x10473c);}async['updateCommentThread'](_0x18642e){const _0x16e989=new UpdateCommentThreadMessage(_0x18642e['commentThreadId'],this['_documentId'],_0x18642e['context'],_0x18642e['attributes'],_0x18642e['unlinkedAt']);await this['_sendRequest'](UpdateCommentThreadMessage['TYPE'],_0x16e989);}async['getCommentThread'](_0x23222c,_0x250814=0x1){const _0xd20670=new GetCommentThreadMessage(_0x23222c,this['_documentId']);try{const _0x55cb9c=await this['_sendRequest'](GetCommentThreadMessage['TYPE'],_0xd20670),_0xccf3cc=_0x41110b['decode'](_0x55cb9c,GetCommentThreadResponse);return{'commentThreadId':_0xccf3cc['commentThreadId'],'comments':_0xccf3cc['comments'],'attributes':_0xccf3cc['attributes'],'context':_0xccf3cc['context'],'resolvedAt':_0xccf3cc['resolvedAt'],'resolvedBy':_0xccf3cc['resolvedBy'],'deletedAt':_0xccf3cc['deletedAt'],'unlinkedAt':_0xccf3cc['unlinkedAt']};}catch(_0xf4767e){if('CKEditorCloudServicesServerError'===_0xf4767e['name']&&'404'===_0xf4767e['code']&&_0x250814<0x5)return await(_0x1223c1=0x64*_0x250814,new Promise(_0x5be8ef=>{setTimeout(_0x5be8ef,_0x1223c1);})),this['getCommentThread'](_0x23222c,_0x250814+0x1);if('CKEditorCloudServicesServerError'===_0xf4767e['name'])throw _0xf4767e;throw CKEditorCloudServicesServerError['fromPublicError'](_0xf4767e);}var _0x1223c1;}async['getDocumentThreads'](){const _0x51ff6c=new GetDocumentThreadsMessage(this['_documentId']),_0x4b5031=await this['_sendRequest'](GetDocumentThreadsMessage['TYPE'],_0x51ff6c),{threads:_0x4badab}=_0x41110b['decode'](_0x4b5031,GetDocumentThreadsResponse);return{'threads':_0x4badab};}async['getConnectedSessions'](){if(!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_connectedSessions']||(this['_connectedSessions']=await _0x5539f6['getConnectedSessions'](this['_wsGateway'],this['_documentId'],0x9)),this['_connectedSessions'];}['_connectToChannel'](_0x45d02b,_0x2b646d){this['_channel']=_0x45d02b['_getChannel'](CommentsService['_SERVICE'],_0x2b646d),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentMessage['TYPE']),(_0x969040,_0x1c9b2f)=>{const _0x2c851d=_0x41110b['decode'](_0x1c9b2f,AddCommentMessage);this['fire']('commentAdded',_0x2c851d);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentMessage['TYPE']),(_0xc1cd85,_0x45d59d)=>{const _0x4ebdae=_0x41110b['decode'](_0x45d59d,RemoveCommentMessage);this['fire']('commentRemoved',_0x4ebdae);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentMessage['TYPE']),(_0x57cb40,_0x363d22)=>{const _0x18aecc=_0x41110b['decode'](_0x363d22,UpdateCommentMessage);this['fire']('commentUpdated',_0x18aecc);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](RemoveCommentThreadMessage['TYPE']),(_0x5d4ae6,_0xad51a9)=>{const _0x5ba2db=_0x41110b['decode'](_0xad51a9,RemoveCommentThreadMessage);this['fire']('commentThreadRemoved',_0x5ba2db);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](AddCommentThreadMessage['TYPE']),(_0x5afeaa,_0x345648)=>{const _0x431d4f=_0x41110b['decode'](_0x345648,AddCommentThreadMessage);this['fire']('commentThreadAdded',_0x431d4f);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](UpdateCommentThreadMessage['TYPE']),(_0x1cef41,_0x212921)=>{const _0x29fcf8=_0x41110b['decode'](_0x212921,UpdateCommentThreadMessage);this['fire']('commentThreadUpdated',_0x29fcf8);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ResolveCommentThreadMessage['TYPE']),(_0x592e1c,_0x3a4ab7)=>{const _0x15d4d5=_0x41110b['decode'](_0x3a4ab7,ResolveCommentThreadMessage);this['fire']('commentThreadResolved',_0x15d4d5);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](ReopenCommentThreadMessage['TYPE']),(_0x39bba1,_0x1fac15)=>{const _0x256d37=_0x41110b['decode'](_0x1fac15,ReopenCommentThreadMessage);this['fire']('commentThreadReopened',_0x256d37);}));}['_onWsGatewayStateChange'](_0x238410){_0x238410===_0x2adf90&&this['disconnect']();}['_sendRequest'](_0x2ceb2a,_0x599b89){if(!this['_wsGateway']||!this['_isConnected'])throw new ServiceNotConnectedError('Comments',this);return this['_wsGateway']['_sendRequest'](0x9,_0x2ceb2a,_0x41110b['encode'](_0x599b89));}}class WebSocketGateway extends _0x22b56d['ContextPlugin']{static ['WebSocketGateway']=/* #__PURE__ -- @preserve */
((()=>_0x14b875)());static ['initialReconnectionInterval']=0x3e8;['connection'];['_reconnectionStack'];['_shouldPluginsReconnect'];['_domEmitter'];static get['requires'](){return['CloudServices',_0x22b56d['Notification']];}static get['pluginName'](){return'WebSocketGateway';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x51edc0){super(_0x51edc0),this['set']('state',_0x46f49e),this['set']('_isBrowserOffline',!0x1),this['_reconnectionStack']=new Set(),this['_shouldPluginsReconnect']=!0x1,this['_domEmitter']=new(_0x22b56d['DomEmitterMixin']())();}['init'](){const _0x5e2676=this['context'],_0x45c02d=_0x5e2676['plugins']['get']('CloudServices'),_0x3b0e49=_0x5e2676['plugins']['get'](_0x22b56d['Notification']);if(!_0x45c02d['token'])throw new _0x22b56d['CKEditorError']('websocketgateway-missing-token',this);if(!_0x45c02d['webSocketUrl'])throw new _0x22b56d['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'](_0x45c02d['token'],_0x45c02d['webSocketUrl'],{'timeout':0x3e8*this['context']['config']['get']('cloudServices.connectionTimeout'),'requestTimeout':0x3e8*this['context']['config']['get']('cloudServices.requestTimeout')})['then'](_0x5a2944=>{if(this['connection']=_0x5a2944,this['bind']('state')['to'](_0x5a2944,'state',this,'_isBrowserOffline',(_0x206768,_0x4e1b69)=>('connected'!==_0x206768&&(this['_shouldPluginsReconnect']=!0x0),_0x4e1b69||_0x206768!==_0x46f49e?_0x2adf90:this['state']==_0x2adf90&&this['_shouldPluginsReconnect']?(this['_shouldPluginsReconnect']=!0x1,this['_reconnect'](),_0x2492e9):_0x46f49e)),this['connection']['on']('error',(_0x20951a,_0x2f3c1e)=>{if('limitExceeded'!==_0x2f3c1e['code'])throw console['error'](_0x2f3c1e),new _0x22b56d['CKEditorError']('cloudservices-init',null,{'originalError':_0x2f3c1e});_0x3b0e49['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'});}),!_0x5a2944['me'])return new Promise(_0x35be46=>_0x5a2944['on']('change:me',_0x35be46));})['catch'](_0x469ffc=>{throw console['error'](_0x469ffc),new _0x22b56d['CKEditorError']('cloudservices-init',null,{'originalError':_0x469ffc});});}['addToReconnectionStack'](_0xe43c28){if('function'!=typeof _0xe43c28['reconnect'])throw new _0x22b56d['CKEditorError']('websocketgateway-invalid-plugin-interface',this);if(this['isInReconnectionStack'](_0xe43c28))throw new _0x22b56d['CKEditorError']('websocketgateway-plugin-already-registered',this,{'name':_0xe43c28['constructor']['pluginName']});this['_reconnectionStack']['add'](_0xe43c28);}['removeFromReconnectionStack'](_0x115db3){this['_reconnectionStack']['delete'](_0x115db3);}['isInReconnectionStack'](_0x4c11c2){return this['_reconnectionStack']['has'](_0x4c11c2);}['_reconnect'](){return this['connection']['reconnect']()['then'](()=>Promise['all'](Array['from'](this['_reconnectionStack'],_0x4fef45=>_0x4fef45['reconnect']())))['then'](()=>this['state']=_0x46f49e)['catch'](_0x7fb65d=>{throw console['error'](_0x7fb65d),new _0x22b56d['CKEditorError']('cloudservices-reconnection-error',this['context']);});}['disconnect'](){this['connection']&&this['connection']['disconnect'](),this['state']=_0x2adf90,this['_domEmitter']['stopListening']();}['destroy'](){this['disconnect'](),super['destroy']();}}class _0x548455 extends _0x22b56d['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,_0x433f5f];}constructor(_0x31de66){super(_0x31de66),this['channelSessions']=new Map(),this['channelConnectedUsers']=new Map(),this['allConnectedUsers']=new _0x22b56d['Collection'](),this['_registeredSessions']=new Map(),this['_uniqueUsersCount']=0x0,this['_users']=this['context']['plugins']['get'](_0x433f5f);}['init'](){const _0x2fc6cb=this['context']['plugins']['get'](WebSocketGateway);this['listenTo'](_0x2fc6cb,'change:state',(_0x20d057,_0x15b0bc,_0x3eead3)=>{if('connected'!==_0x3eead3)this['channelSessions']['forEach'](_0x522bd9=>_0x522bd9['clear']()),this['channelConnectedUsers']['forEach'](_0xf7dcbc=>_0xf7dcbc['clear']()),this['allConnectedUsers']['clear']();else{for(const [_0x499a1e,_0x55a5d6]of this['_registeredSessions'])for(const _0x5eb547 of _0x55a5d6)this['_handleSessionAdd'](_0x499a1e,_0x5eb547);}}),this['_createUser'](_0x2fc6cb['connection']['me'],!0x0);}['register'](_0x36d69b,_0x4c5eaf){if(this['_registeredSessions']['has'](_0x36d69b))throw new _0x22b56d['CKEditorError']('sessions-register-already-registered',null,{'channelId':_0x36d69b});this['_registeredSessions']['set'](_0x36d69b,_0x4c5eaf),this['channelSessions']['set'](_0x36d69b,new _0x22b56d['Collection']()),this['channelConnectedUsers']['set'](_0x36d69b,new _0x22b56d['Collection']()),this['listenTo'](_0x4c5eaf,'add',(_0x3a8bb5,_0x5d2dc1)=>this['_handleSessionAdd'](_0x36d69b,_0x5d2dc1)),this['listenTo'](_0x4c5eaf,'remove',(_0x4e1ea6,_0x4c817d)=>this['_handleSessionRemove'](_0x36d69b,_0x4c817d));for(const _0x3adf17 of _0x4c5eaf)this['_handleSessionAdd'](_0x36d69b,_0x3adf17);}['unregister'](_0xfd6a0d){if(!this['_registeredSessions']['has'](_0xfd6a0d))throw new _0x22b56d['CKEditorError']('sessions-unregister-not-exist',null,{'channelId':_0xfd6a0d});const _0x3e4c0c=this['_registeredSessions']['get'](_0xfd6a0d);this['stopListening'](_0x3e4c0c);for(const _0x46861c of _0x3e4c0c)'connected'===this['context']['plugins']['get'](WebSocketGateway)['state']&&this['_handleSessionRemove'](_0xfd6a0d,_0x46861c);this['_registeredSessions']['delete'](_0xfd6a0d),this['channelSessions']['delete'](_0xfd6a0d),this['channelConnectedUsers']['delete'](_0xfd6a0d);}get['mySessionId'](){return this['context']['plugins']['get'](WebSocketGateway)['connection']['sessionId'];}['getUserBySessionId'](_0x569b86){for(const _0x220f7e of this['channelSessions']['values']())for(const _0x532968 of _0x220f7e)if(_0x532968['id']===_0x569b86)return _0x532968['user'];}['getUserSessions'](_0x3172ec,_0x1cab6d){const _0x36f5fb=_0x1cab6d?[this['channelSessions']['get'](_0x1cab6d)]:this['channelSessions']['values'](),_0x5cf347=new Set();for(const _0x2c1a2f of _0x36f5fb)for(const _0x45dc5f of _0x2c1a2f)_0x45dc5f['user']['id']===_0x3172ec['id']&&_0x5cf347['add'](_0x45dc5f['id']);return _0x5cf347;}['getUserRole'](_0x154591){for(const _0x840ba1 of this['channelSessions']['values']())for(const _0x14dbf7 of _0x840ba1)if(_0x14dbf7['user']===_0x154591)return _0x14dbf7['role'];}['_handleSessionAdd'](_0x380771,_0x339ee0){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x1b0c97=_0x339ee0['user'],_0x4d2097=this['_users']['getUser'](_0x1b0c97['id'])||this['_createUser'](_0x1b0c97),_0x3751d7=Object['assign']({},_0x339ee0,{'user':_0x4d2097});if(this['channelSessions']['get'](_0x380771)['add'](_0x3751d7),!_0x1b0c97['hiddenInPresenceList']){const _0x33775e=this['channelConnectedUsers']['get'](_0x380771);_0x33775e['has'](_0x4d2097['id'])||_0x33775e['add'](_0x4d2097),this['allConnectedUsers']['has'](_0x4d2097['id'])||_0x1b0c97['hiddenInPresenceList']||this['allConnectedUsers']['add'](_0x4d2097,_0x4d2097['isMe']?0x0:void 0x0);}this['fire']('sessionAdd:'+_0x380771,{'channelId':_0x380771,'session':_0x3751d7});}['_handleSessionRemove'](_0x4963f2,_0x55cb17){if('connected'!==this['context']['plugins']['get'](WebSocketGateway)['state'])return;const _0x30e5bd=this['channelConnectedUsers']['get'](_0x4963f2),_0x2c409d=_0x55cb17['user'];_0x2c409d['id']&&(this['channelSessions']['get'](_0x4963f2)['remove'](_0x55cb17['id']),_0x30e5bd['has'](_0x2c409d['id'])&&!this['getUserSessions'](_0x2c409d,_0x4963f2)['size']&&_0x30e5bd['remove'](_0x2c409d['id']),this['allConnectedUsers']['get'](_0x2c409d['id'])&&!this['getUserSessions'](_0x2c409d)['size']&&this['allConnectedUsers']['remove'](_0x2c409d['id']));}['_createUser'](_0x616cda,_0x402254){const _0x2a4af4=this['_users']['addUser'](_0x616cda);return _0x402254&&this['_users']['defineMe'](_0x616cda['id']),_0x2a4af4['orderNumber']=this['_uniqueUsersCount']++,_0x2a4af4;}}class _0x3b6db9 extends _0x22b56d['Plugin']{['_domEmitter']=new(_0x22b56d['DomEmitterMixin']())();static get['requires'](){return[_0x548455];}static get['pluginName'](){return'UserMarkers';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3baa5a=this['editor'],_0x4baf88=_0x3baa5a['plugins']['get'](_0x548455);_0x3baa5a['conversion']['for']('editingDowncast')['markerToElement']({'model':'user:position','view':(_0x2fa4dd,{writer:_0x2611fe})=>function(_0x21b074,_0x1543f2,_0x4f92d5,_0x4b611d){const _0x6ca707=_0x21b074['markerName']['split'](':')[0x2],_0xe52e73=_0x4f92d5['getUserBySessionId'](_0x6ca707);if(!_0xe52e73||_0x6ca707===_0x4f92d5['mySessionId'])return;if(!_0x4b611d['model']['schema']['checkChild'](_0x21b074['markerRange']['start'],'$text'))return;const _0x3d0983={'class':'ck-user__marker\x20'+_0xe52e73['color']['getMarkerClass'](),'data-name':_0xe52e73['name'],'data-session-id':_0x6ca707},_0x58f6b8=_0x4b611d['model']['markers']['get'](_0x21b074['markerName']),_0x5d2bca=_0x58f6b8['getStart'](),_0x4b5fbb=_0x5d2bca['nodeAfter'],_0x2d88e7=_0x4b611d['model']['schema'];if(_0x4b5fbb&&_0x2d88e7['isObject'](_0x4b5fbb)&&_0x2d88e7['isInline'](_0x4b5fbb)&&!_0x4b611d['model']['markers']['get']('user:range:'+_0x6ca707)['getRange']()['isCollapsed'])return;const _0x469341=_0x5d2bca['parent'];return _0x4b611d['model']['schema']['isLimit'](_0x469341)&&!_0x4b611d['model']['hasContent'](_0x469341)&&(_0x3d0983['contenteditable']=!0x1),function(_0x1a1820,_0x4d672c,_0x3adac6){const _0x5e58d3=_0x1a1820['createUIElement']('span',_0x4d672c);return _0x1a1820['setCustomProperty']('userPositionMarker',!0x0,_0x5e58d3),_0x5e58d3['render']=function(_0x510f32){const _0x2ac2c0=this['toDomElement'](_0x510f32),_0x32cd37=document['createElement']('span');return _0x32cd37['classList']['add']('ck-user__marker-tooltip'),_0x32cd37['setAttribute']('contenteditable','false'),_0x32cd37['setAttribute']('spellcheck','false'),_0x32cd37['textContent']=_0x3adac6['name'],_0x2ac2c0['innerHTML']='⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>'+_0x32cd37['outerHTML']+'⁠',_0x2ac2c0['addEventListener']('mouseenter',()=>{_0x2ac2c0['classList']['add']('ck-user__marker_hovered');}),_0x2ac2c0['addEventListener']('mouseleave',()=>{_0x2ac2c0['classList']['remove']('ck-user__marker_hovered');}),_0x2ac2c0;},_0x5e58d3['isSimilar']=function(_0xe83163){return!(!this['getCustomProperty']('userPositionMarker')||!_0xe83163['getCustomProperty']('userPositionMarker')||this['getAttribute']('data-session-id')!=_0xe83163['getAttribute']('data-session-id'));},_0x5e58d3;}(_0x1543f2,_0x3d0983,_0xe52e73);}(_0x2fa4dd,_0x2611fe,_0x4baf88,_0x3baa5a)}),_0x3baa5a['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'user:range','view':_0x32e1d2=>function(_0xe4792d,_0x4106bd){const _0x3c2584=_0xe4792d['markerName']['split'](':')[0x2];if(_0x3c2584===_0x4106bd['mySessionId'])return null;const _0x17ad79=_0x4106bd['getUserBySessionId'](_0x3c2584);if(!_0x17ad79)return{'id':_0x3c2584,'classes':[]};return{'id':_0x3c2584,'classes':['ck-user__selection',_0x17ad79['color']['getSelectionClass']()],'attributes':{'data-session-id':_0x3c2584},'priority':0x7d0+_0x17ad79['orderNumber']};}(_0x32e1d2,_0x4baf88)}),function(_0x24faed){const _0x12e667=_0x24faed['model'],_0x4251ea=new Map(),_0x5d5a4a=_0x24faed['plugins']['get'](_0x548455);_0x12e667['markers']['on']('update:user:range',(_0xb0ec76,_0x330066,_0x241d52,_0x2358d4)=>{if(!_0x2358d4&&_0x4251ea['get'](_0x330066['name']))return _0x4251ea['get'](_0x330066['name'])['detach'](),void _0x4251ea['delete'](_0x330066['name']);const _0x188a02=_0x330066['name']['split'](':')[0x2];if(_0x188a02===_0x5d5a4a['mySessionId'])return;const _0x264678='user:position:'+_0x188a02;_0x12e667['markers']['has'](_0x264678)&&_0x24faed['editing']['reconvertMarker'](_0x264678),_0x330066['on']('change:range',(_0x302a22,_0xddd772,_0x2915e2)=>{if('$graveyard'!=_0xddd772['root']['rootName']&&'$graveyard'==_0x330066['getRange']()['root']['rootName']&&!_0x4251ea['has'](_0x330066['name'])){const _0x33d88=_0x12e667['schema']['getNearestSelectionRange'](_0x2915e2['deletionPosition']);if(_0x33d88){const _0x5c5299=_0x22b56d['ModelLiveRange']['fromRange'](_0x33d88);_0x4251ea['set'](_0x330066['name'],_0x5c5299),_0x5c5299['on']('change:range',(_0x86930d,_0x4042b2,_0x398c7d)=>{if('$graveyard'==_0x5c5299['root']['rootName']){const _0x18e20d=_0x12e667['schema']['getNearestSelectionRange'](_0x398c7d['deletionPosition']);_0x18e20d?(_0x5c5299['start']=_0x18e20d['start'],_0x5c5299['end']=_0x18e20d['end']):(_0x4251ea['delete'](_0x330066['name']),_0x5c5299['detach']());}});}}});}),_0x12e667['document']['on']('change',()=>{_0x4251ea['size']>0x0&&_0x12e667['enqueueChange']({'isUndoable':!0x1},_0x25f5d9=>{for(const [_0x2c0928,_0x186b8c]of _0x4251ea)'$graveyard'==_0x12e667['markers']['get'](_0x2c0928)['getRange']()['root']['rootName']&&(_0x5ecd65(_0x2c0928['split'](':')[0x2],_0x186b8c['toRange'](),_0x12e667,_0x25f5d9),_0x186b8c['detach']());_0x4251ea['clear']();});});}(_0x3baa5a),this['_domEmitter']['listenTo'](_0x22b56d['global']['document'],'keydown',(_0x50e557,{key:_0x5e01c1})=>{'Escape'===_0x5e01c1&&function(_0x401955){_0x401955['editing']['view']['change'](_0xad0654=>{for(const _0x4d53cd of _0x401955['model']['markers']){if(!_0x4d53cd['name']['startsWith']('user:position'))continue;const _0x3b33ed=_0x401955['editing']['mapper']['markerNameToElements'](_0x4d53cd['name']);if(_0x3b33ed){for(const _0x48ef45 of _0x3b33ed)_0xad0654['removeClass']('ck-user__marker_hovered',_0x48ef45);}}});}(_0x3baa5a);},{'useCapture':!0x0});}['afterInit'](){const _0x352de9=this['editor'],_0x13573f=_0x352de9['commands']['get']('undo');_0x13573f&&_0x352de9['model']['on']('applyOperation',(_0x4862fb,_0x57b840)=>{const _0x4ea4b5=_0x57b840[0x0];if(!_0x4ea4b5['isDocumentOperation'])return;if('marker'!=_0x4ea4b5['type']||!_0x4ea4b5['name']['startsWith']('user:'))return;const _0x514574=_0x4ea4b5['batch'];_0x13573f['_createdBatches']['has'](_0x514574)&&(_0x4ea4b5['newRange']=_0x4ea4b5['oldRange']?_0x352de9['model']['createRange'](_0x4ea4b5['oldRange']['start'],_0x4ea4b5['oldRange']['end']):null);},{'priority':'highest'});}['destroy'](){return this['_domEmitter']['stopListening'](),super['destroy']();}['createUserMarkerOperations'](){const _0x49d8a1=this['editor'],_0x597147=_0x49d8a1['model']['document'],_0x1b70ea=_0x49d8a1['plugins']['get'](_0x548455);_0x49d8a1['model']['enqueueChange']({'isUndoable':!0x1},_0x3c2a42=>{const _0x4f2d32='user:range:'+_0x1b70ea['mySessionId'],_0x39b5f1='user:position:'+_0x1b70ea['mySessionId'],_0x3ae015=_0x49d8a1['model']['markers']['has'](_0x4f2d32);_0x49d8a1['editing']['view']['hasDomSelection']?_0x5ecd65(_0x1b70ea['mySessionId'],_0x597147['selection']['getFirstRange'](),_0x49d8a1['model'],_0x3c2a42):_0x3ae015&&(_0x3c2a42['removeMarker'](_0x4f2d32),_0x3c2a42['removeMarker'](_0x39b5f1));});}}function _0x5ecd65(_0x4f5c77,_0x1b44da,_0x5be380,_0x591318){const _0x38cb2c='user:range:'+_0x4f5c77,_0xbc2181='user:position:'+_0x4f5c77,_0x5534ba=_0x1b44da['getContainedElement']();let _0x499e9c=_0x1b44da['start'];if(_0x5534ba&&_0x5534ba['is']('element','tableCell')){const _0x531bb6=function(_0x219ead,_0xcd5a43){for(const _0x5d6503 of _0x219ead['getPositions']())if(_0xcd5a43['schema']['checkChild'](_0x5d6503,'$text'))return _0x5d6503;}(_0x1b44da,_0x5be380);_0x531bb6&&(_0x499e9c=_0x531bb6,_0x1b44da=_0x591318['createRange'](_0x499e9c));}const _0x1959ba=_0x591318['createRange'](_0x499e9c);_0x5be380['markers']['has'](_0x38cb2c)?(_0x591318['updateMarker'](_0x38cb2c,{'range':_0x1b44da}),_0x591318['updateMarker'](_0xbc2181,{'range':_0x1959ba})):(_0x591318['addMarker'](_0x38cb2c,{'range':_0x1b44da,'usingOperation':!0x0}),_0x591318['addMarker'](_0xbc2181,{'range':_0x1959ba,'usingOperation':!0x0}));}function _0x54de7e(_0x35b439,_0x4ad9b9,_0x164ef5){const _0x3cba3a=_0x35b439['t'],t=_0x35b439['t'];switch(_0x4ad9b9){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 _0x3cba3a({'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'},_0x164ef5);default:return'';}}const _0x53088c=/* #__PURE__ -- @preserve */
((()=>{var _0x1f139d=_0x2418c2['Reader'],_0x5db32c=_0x2418c2['Writer'],_0x5aa665=_0x2418c2['util'],_0x1bbdf7=_0x2418c2['roots']['default']||(_0x2418c2['roots']['default']={});return _0x1bbdf7['AttributeOperation']=(function(){function _0x6d1541(_0x4740e1){if(_0x4740e1){for(var _0x15c61e=Object['keys'](_0x4740e1),_0x4ad256=0x0;_0x4ad256<_0x15c61e['length'];++_0x4ad256)null!=_0x4740e1[_0x15c61e[_0x4ad256]]&&'__proto__'!==_0x15c61e[_0x4ad256]&&(this[_0x15c61e[_0x4ad256]]=_0x4740e1[_0x15c61e[_0x4ad256]]);}}return _0x6d1541['prototype']['range']=null,_0x6d1541['prototype']['key']='',_0x6d1541['prototype']['oldValueBoolean']=!0x1,_0x6d1541['prototype']['oldValueJson']='',_0x6d1541['prototype']['newValueBoolean']=!0x1,_0x6d1541['prototype']['newValueJson']='',_0x6d1541['prototype']['wasUndone']=!0x1,_0x6d1541['create']=function(_0x2d63f3){return new _0x6d1541(_0x2d63f3);},_0x6d1541['encode']=function(_0xb8d4a3,_0x151995){return _0x151995||(_0x151995=_0x5db32c['create']()),null!=_0xb8d4a3['range']&&Object['hasOwnProperty']['call'](_0xb8d4a3,'range')&&_0x1bbdf7['Range']['encode'](_0xb8d4a3['range'],_0x151995['uint32'](0xa)['fork']())['ldelim'](),null!=_0xb8d4a3['key']&&Object['hasOwnProperty']['call'](_0xb8d4a3,'key')&&_0x151995['uint32'](0x12)['string'](_0xb8d4a3['key']),null!=_0xb8d4a3['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0xb8d4a3,'oldValueBoolean')&&_0x151995['uint32'](0x18)['bool'](_0xb8d4a3['oldValueBoolean']),null!=_0xb8d4a3['oldValueJson']&&Object['hasOwnProperty']['call'](_0xb8d4a3,'oldValueJson')&&_0x151995['uint32'](0x22)['string'](_0xb8d4a3['oldValueJson']),null!=_0xb8d4a3['newValueBoolean']&&Object['hasOwnProperty']['call'](_0xb8d4a3,'newValueBoolean')&&_0x151995['uint32'](0x28)['bool'](_0xb8d4a3['newValueBoolean']),null!=_0xb8d4a3['newValueJson']&&Object['hasOwnProperty']['call'](_0xb8d4a3,'newValueJson')&&_0x151995['uint32'](0x32)['string'](_0xb8d4a3['newValueJson']),null!=_0xb8d4a3['wasUndone']&&Object['hasOwnProperty']['call'](_0xb8d4a3,'wasUndone')&&_0x151995['uint32'](0x38)['bool'](_0xb8d4a3['wasUndone']),_0x151995;},_0x6d1541['encodeDelimited']=function(_0x46c430,_0xc414f8){return this['encode'](_0x46c430,_0xc414f8)['ldelim']();},_0x6d1541['decode']=function(_0xcff21c,_0x1c13d0,_0x2b2f8f,_0x4ee09f){if(_0xcff21c instanceof _0x1f139d||(_0xcff21c=_0x1f139d['create'](_0xcff21c)),void 0x0===_0x4ee09f&&(_0x4ee09f=0x0),_0x4ee09f>_0x1f139d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1e8f09=void 0x0===_0x1c13d0?_0xcff21c['len']:_0xcff21c['pos']+_0x1c13d0,_0x32d7ba=new _0x1bbdf7['AttributeOperation']();_0xcff21c['pos']<_0x1e8f09;){var _0x390327=_0xcff21c['uint32']();if(_0x390327===_0x2b2f8f)break;switch(_0x390327>>>0x3){case 0x1:_0x32d7ba['range']=_0x1bbdf7['Range']['decode'](_0xcff21c,_0xcff21c['uint32'](),void 0x0,_0x4ee09f+0x1);break;case 0x2:_0x32d7ba['key']=_0xcff21c['string']();break;case 0x3:_0x32d7ba['oldValueBoolean']=_0xcff21c['bool']();break;case 0x4:_0x32d7ba['oldValueJson']=_0xcff21c['string']();break;case 0x5:_0x32d7ba['newValueBoolean']=_0xcff21c['bool']();break;case 0x6:_0x32d7ba['newValueJson']=_0xcff21c['string']();break;case 0x7:_0x32d7ba['wasUndone']=_0xcff21c['bool']();break;default:_0xcff21c['skipType'](0x7&_0x390327,_0x4ee09f);}}return _0x32d7ba;},_0x6d1541['decodeDelimited']=function(_0x33ddc9){return _0x33ddc9 instanceof _0x1f139d||(_0x33ddc9=new _0x1f139d(_0x33ddc9)),this['decode'](_0x33ddc9,_0x33ddc9['uint32']());},_0x6d1541['verify']=function(_0x5244d1,_0x5da18b){if('object'!=typeof _0x5244d1||null===_0x5244d1)return'object\x20expected';if(void 0x0===_0x5da18b&&(_0x5da18b=0x0),_0x5da18b>_0x5aa665['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5244d1['range']&&_0x5244d1['hasOwnProperty']('range')){var _0x5449b7=_0x1bbdf7['Range']['verify'](_0x5244d1['range'],_0x5da18b+0x1);if(_0x5449b7)return'range.'+_0x5449b7;}return null!=_0x5244d1['key']&&_0x5244d1['hasOwnProperty']('key')&&!_0x5aa665['isString'](_0x5244d1['key'])?'key:\x20string\x20expected':null!=_0x5244d1['oldValueBoolean']&&_0x5244d1['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x5244d1['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x5244d1['oldValueJson']&&_0x5244d1['hasOwnProperty']('oldValueJson')&&!_0x5aa665['isString'](_0x5244d1['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x5244d1['newValueBoolean']&&_0x5244d1['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x5244d1['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x5244d1['newValueJson']&&_0x5244d1['hasOwnProperty']('newValueJson')&&!_0x5aa665['isString'](_0x5244d1['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x5244d1['wasUndone']&&_0x5244d1['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x5244d1['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x6d1541['fromObject']=function(_0x3fd94b,_0x28d418){if(_0x3fd94b instanceof _0x1bbdf7['AttributeOperation'])return _0x3fd94b;if(void 0x0===_0x28d418&&(_0x28d418=0x0),_0x28d418>_0x5aa665['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2493d9=new _0x1bbdf7['AttributeOperation']();if(null!=_0x3fd94b['range']){if('object'!=typeof _0x3fd94b['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x2493d9['range']=_0x1bbdf7['Range']['fromObject'](_0x3fd94b['range'],_0x28d418+0x1);}return null!=_0x3fd94b['key']&&(_0x2493d9['key']=String(_0x3fd94b['key'])),null!=_0x3fd94b['oldValueBoolean']&&(_0x2493d9['oldValueBoolean']=Boolean(_0x3fd94b['oldValueBoolean'])),null!=_0x3fd94b['oldValueJson']&&(_0x2493d9['oldValueJson']=String(_0x3fd94b['oldValueJson'])),null!=_0x3fd94b['newValueBoolean']&&(_0x2493d9['newValueBoolean']=Boolean(_0x3fd94b['newValueBoolean'])),null!=_0x3fd94b['newValueJson']&&(_0x2493d9['newValueJson']=String(_0x3fd94b['newValueJson'])),null!=_0x3fd94b['wasUndone']&&(_0x2493d9['wasUndone']=Boolean(_0x3fd94b['wasUndone'])),_0x2493d9;},_0x6d1541['toObject']=function(_0x4ae659,_0x17246e){_0x17246e||(_0x17246e={});var _0x3bfeca={};return _0x17246e['defaults']&&(_0x3bfeca['range']=null,_0x3bfeca['key']='',_0x3bfeca['oldValueBoolean']=!0x1,_0x3bfeca['oldValueJson']='',_0x3bfeca['newValueBoolean']=!0x1,_0x3bfeca['newValueJson']='',_0x3bfeca['wasUndone']=!0x1),null!=_0x4ae659['range']&&_0x4ae659['hasOwnProperty']('range')&&(_0x3bfeca['range']=_0x1bbdf7['Range']['toObject'](_0x4ae659['range'],_0x17246e)),null!=_0x4ae659['key']&&_0x4ae659['hasOwnProperty']('key')&&(_0x3bfeca['key']=_0x4ae659['key']),null!=_0x4ae659['oldValueBoolean']&&_0x4ae659['hasOwnProperty']('oldValueBoolean')&&(_0x3bfeca['oldValueBoolean']=_0x4ae659['oldValueBoolean']),null!=_0x4ae659['oldValueJson']&&_0x4ae659['hasOwnProperty']('oldValueJson')&&(_0x3bfeca['oldValueJson']=_0x4ae659['oldValueJson']),null!=_0x4ae659['newValueBoolean']&&_0x4ae659['hasOwnProperty']('newValueBoolean')&&(_0x3bfeca['newValueBoolean']=_0x4ae659['newValueBoolean']),null!=_0x4ae659['newValueJson']&&_0x4ae659['hasOwnProperty']('newValueJson')&&(_0x3bfeca['newValueJson']=_0x4ae659['newValueJson']),null!=_0x4ae659['wasUndone']&&_0x4ae659['hasOwnProperty']('wasUndone')&&(_0x3bfeca['wasUndone']=_0x4ae659['wasUndone']),_0x3bfeca;},_0x6d1541['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x6d1541['getTypeUrl']=function(_0x2df350){return void 0x0===_0x2df350&&(_0x2df350='type.googleapis.com'),_0x2df350+'/AttributeOperation';},_0x6d1541;}()),_0x1bbdf7['InsertOperation']=(function(){function _0x17bd2c(_0xf9316a){if(this['nodes']=[],_0xf9316a){for(var _0x4acb2d=Object['keys'](_0xf9316a),_0x388a9d=0x0;_0x388a9d<_0x4acb2d['length'];++_0x388a9d)null!=_0xf9316a[_0x4acb2d[_0x388a9d]]&&'__proto__'!==_0x4acb2d[_0x388a9d]&&(this[_0x4acb2d[_0x388a9d]]=_0xf9316a[_0x4acb2d[_0x388a9d]]);}}return _0x17bd2c['prototype']['position']=null,_0x17bd2c['prototype']['nodes']=_0x5aa665['emptyArray'],_0x17bd2c['prototype']['shouldReceiveAttributes']=!0x1,_0x17bd2c['prototype']['wasUndone']=!0x1,_0x17bd2c['create']=function(_0x349414){return new _0x17bd2c(_0x349414);},_0x17bd2c['encode']=function(_0x1d2b69,_0x5074c5){if(_0x5074c5||(_0x5074c5=_0x5db32c['create']()),null!=_0x1d2b69['position']&&Object['hasOwnProperty']['call'](_0x1d2b69,'position')&&_0x1bbdf7['Position']['encode'](_0x1d2b69['position'],_0x5074c5['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1d2b69['nodes']&&_0x1d2b69['nodes']['length']){for(var _0x3a8cdf=0x0;_0x3a8cdf<_0x1d2b69['nodes']['length'];++_0x3a8cdf)_0x1bbdf7['Element']['encode'](_0x1d2b69['nodes'][_0x3a8cdf],_0x5074c5['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x1d2b69['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x1d2b69,'shouldReceiveAttributes')&&_0x5074c5['uint32'](0x18)['bool'](_0x1d2b69['shouldReceiveAttributes']),null!=_0x1d2b69['wasUndone']&&Object['hasOwnProperty']['call'](_0x1d2b69,'wasUndone')&&_0x5074c5['uint32'](0x20)['bool'](_0x1d2b69['wasUndone']),_0x5074c5;},_0x17bd2c['encodeDelimited']=function(_0xda1da9,_0xa5b733){return this['encode'](_0xda1da9,_0xa5b733)['ldelim']();},_0x17bd2c['decode']=function(_0x58b2bd,_0x49ed3b,_0x31e0e1,_0xbae314){if(_0x58b2bd instanceof _0x1f139d||(_0x58b2bd=_0x1f139d['create'](_0x58b2bd)),void 0x0===_0xbae314&&(_0xbae314=0x0),_0xbae314>_0x1f139d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1dfdff=void 0x0===_0x49ed3b?_0x58b2bd['len']:_0x58b2bd['pos']+_0x49ed3b,_0x56d8af=new _0x1bbdf7['InsertOperation']();_0x58b2bd['pos']<_0x1dfdff;){var _0x268eca=_0x58b2bd['uint32']();if(_0x268eca===_0x31e0e1)break;switch(_0x268eca>>>0x3){case 0x1:_0x56d8af['position']=_0x1bbdf7['Position']['decode'](_0x58b2bd,_0x58b2bd['uint32'](),void 0x0,_0xbae314+0x1);break;case 0x2:_0x56d8af['nodes']&&_0x56d8af['nodes']['length']||(_0x56d8af['nodes']=[]),_0x56d8af['nodes']['push'](_0x1bbdf7['Element']['decode'](_0x58b2bd,_0x58b2bd['uint32'](),void 0x0,_0xbae314+0x1));break;case 0x3:_0x56d8af['shouldReceiveAttributes']=_0x58b2bd['bool']();break;case 0x4:_0x56d8af['wasUndone']=_0x58b2bd['bool']();break;default:_0x58b2bd['skipType'](0x7&_0x268eca,_0xbae314);}}return _0x56d8af;},_0x17bd2c['decodeDelimited']=function(_0x32c133){return _0x32c133 instanceof _0x1f139d||(_0x32c133=new _0x1f139d(_0x32c133)),this['decode'](_0x32c133,_0x32c133['uint32']());},_0x17bd2c['verify']=function(_0x4342eb,_0x2ee87a){if('object'!=typeof _0x4342eb||null===_0x4342eb)return'object\x20expected';if(void 0x0===_0x2ee87a&&(_0x2ee87a=0x0),_0x2ee87a>_0x5aa665['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x4342eb['position']&&_0x4342eb['hasOwnProperty']('position')&&(_0xff099f=_0x1bbdf7['Position']['verify'](_0x4342eb['position'],_0x2ee87a+0x1)))return'position.'+_0xff099f;if(null!=_0x4342eb['nodes']&&_0x4342eb['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x4342eb['nodes']))return'nodes:\x20array\x20expected';for(var _0x659ba2=0x0;_0x659ba2<_0x4342eb['nodes']['length'];++_0x659ba2){var _0xff099f;if(_0xff099f=_0x1bbdf7['Element']['verify'](_0x4342eb['nodes'][_0x659ba2],_0x2ee87a+0x1))return'nodes.'+_0xff099f;}}return null!=_0x4342eb['shouldReceiveAttributes']&&_0x4342eb['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x4342eb['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x4342eb['wasUndone']&&_0x4342eb['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x4342eb['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x17bd2c['fromObject']=function(_0x596163,_0x249931){if(_0x596163 instanceof _0x1bbdf7['InsertOperation'])return _0x596163;if(void 0x0===_0x249931&&(_0x249931=0x0),_0x249931>_0x5aa665['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x241620=new _0x1bbdf7['InsertOperation']();if(null!=_0x596163['position']){if('object'!=typeof _0x596163['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x241620['position']=_0x1bbdf7['Position']['fromObject'](_0x596163['position'],_0x249931+0x1);}if(_0x596163['nodes']){if(!Array['isArray'](_0x596163['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x241620['nodes']=[];for(var _0x5c109a=0x0;_0x5c109a<_0x596163['nodes']['length'];++_0x5c109a){if('object'!=typeof _0x596163['nodes'][_0x5c109a])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x241620['nodes'][_0x5c109a]=_0x1bbdf7['Element']['fromObject'](_0x596163['nodes'][_0x5c109a],_0x249931+0x1);}}return null!=_0x596163['shouldReceiveAttributes']&&(_0x241620['shouldReceiveAttributes']=Boolean(_0x596163['shouldReceiveAttributes'])),null!=_0x596163['wasUndone']&&(_0x241620['wasUndone']=Boolean(_0x596163['wasUndone'])),_0x241620;},_0x17bd2c['toObject']=function(_0x4f527c,_0x3cac76){_0x3cac76||(_0x3cac76={});var _0x354e0f={};if((_0x3cac76['arrays']||_0x3cac76['defaults'])&&(_0x354e0f['nodes']=[]),_0x3cac76['defaults']&&(_0x354e0f['position']=null,_0x354e0f['shouldReceiveAttributes']=!0x1,_0x354e0f['wasUndone']=!0x1),null!=_0x4f527c['position']&&_0x4f527c['hasOwnProperty']('position')&&(_0x354e0f['position']=_0x1bbdf7['Position']['toObject'](_0x4f527c['position'],_0x3cac76)),_0x4f527c['nodes']&&_0x4f527c['nodes']['length']){_0x354e0f['nodes']=[];for(var _0xa81f51=0x0;_0xa81f51<_0x4f527c['nodes']['length'];++_0xa81f51)_0x354e0f['nodes'][_0xa81f51]=_0x1bbdf7['Element']['toObject'](_0x4f527c['nodes'][_0xa81f51],_0x3cac76);}return null!=_0x4f527c['shouldReceiveAttributes']&&_0x4f527c['hasOwnProperty']('shouldReceiveAttributes')&&(_0x354e0f['shouldReceiveAttributes']=_0x4f527c['shouldReceiveAttributes']),null!=_0x4f527c['wasUndone']&&_0x4f527c['hasOwnProperty']('wasUndone')&&(_0x354e0f['wasUndone']=_0x4f527c['wasUndone']),_0x354e0f;},_0x17bd2c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x17bd2c['getTypeUrl']=function(_0x39aaa6){return void 0x0===_0x39aaa6&&(_0x39aaa6='type.googleapis.com'),_0x39aaa6+'/InsertOperation';},_0x17bd2c;}()),_0x1bbdf7['MarkerOperation']=(function(){function _0x8cd748(_0x21bcdf){if(_0x21bcdf){for(var _0x5748b8=Object['keys'](_0x21bcdf),_0x4f1e38=0x0;_0x4f1e38<_0x5748b8['length'];++_0x4f1e38)null!=_0x21bcdf[_0x5748b8[_0x4f1e38]]&&'__proto__'!==_0x5748b8[_0x4f1e38]&&(this[_0x5748b8[_0x4f1e38]]=_0x21bcdf[_0x5748b8[_0x4f1e38]]);}}return _0x8cd748['prototype']['name']='',_0x8cd748['prototype']['oldRange']=null,_0x8cd748['prototype']['newRange']=null,_0x8cd748['prototype']['affectsData']=!0x1,_0x8cd748['prototype']['wasUndone']=!0x1,_0x8cd748['create']=function(_0x4e9561){return new _0x8cd748(_0x4e9561);},_0x8cd748['encode']=function(_0x2c3fd0,_0x442c92){return _0x442c92||(_0x442c92=_0x5db32c['create']()),null!=_0x2c3fd0['name']&&Object['hasOwnProperty']['call'](_0x2c3fd0,'name')&&_0x442c92['uint32'](0xa)['string'](_0x2c3fd0['name']),null!=_0x2c3fd0['oldRange']&&Object['hasOwnProperty']['call'](_0x2c3fd0,'oldRange')&&_0x1bbdf7['Range']['encode'](_0x2c3fd0['oldRange'],_0x442c92['uint32'](0x12)['fork']())['ldelim'](),null!=_0x2c3fd0['newRange']&&Object['hasOwnProperty']['call'](_0x2c3fd0,'newRange')&&_0x1bbdf7['Range']['encode'](_0x2c3fd0['newRange'],_0x442c92['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x2c3fd0['affectsData']&&Object['hasOwnProperty']['call'](_0x2c3fd0,'affectsData')&&_0x442c92['uint32'](0x20)['bool'](_0x2c3fd0['affectsData']),null!=_0x2c3fd0['wasUndone']&&Object['hasOwnProperty']['call'](_0x2c3fd0,'wasUndone')&&_0x442c92['uint32'](0x28)['bool'](_0x2c3fd0['wasUndone']),_0x442c92;},_0x8cd748['encodeDelimited']=function(_0x189333,_0xa1d41c){return this['encode'](_0x189333,_0xa1d41c)['ldelim']();},_0x8cd748['decode']=function(_0x2ab4bf,_0xc3854d,_0x1da98e,_0x4d6a4d){if(_0x2ab4bf instanceof _0x1f139d||(_0x2ab4bf=_0x1f139d['create'](_0x2ab4bf)),void 0x0===_0x4d6a4d&&(_0x4d6a4d=0x0),_0x4d6a4d>_0x1f139d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xa3a679=void 0x0===_0xc3854d?_0x2ab4bf['len']:_0x2ab4bf['pos']+_0xc3854d,_0x2eb8a2=new _0x1bbdf7['MarkerOperation']();_0x2ab4bf['pos']<_0xa3a679;){var _0x3807df=_0x2ab4bf['uint32']();if(_0x3807df===_0x1da98e)break;switch(_0x3807df>>>0x3){case 0x1:_0x2eb8a2['name']=_0x2ab4bf['string']();break;case 0x2:_0x2eb8a2['oldRange']=_0x1bbdf7['Range']['decode'](_0x2ab4bf,_0x2ab4bf['uint32'](),void 0x0,_0x4d6a4d+0x1);break;case 0x3:_0x2eb8a2['newRange']=_0x1bbdf7['Range']['decode'](_0x2ab4bf,_0x2ab4bf['uint32'](),void 0x0,_0x4d6a4d+0x1);break;case 0x4:_0x2eb8a2['affectsData']=_0x2ab4bf['bool']();break;case 0x5:_0x2eb8a2['wasUndone']=_0x2ab4bf['bool']();break;default:_0x2ab4bf['skipType'](0x7&_0x3807df,_0x4d6a4d);}}return _0x2eb8a2;},_0x8cd748['decodeDelimited']=function(_0x5bd35d){return _0x5bd35d instanceof _0x1f139d||(_0x5bd35d=new _0x1f139d(_0x5bd35d)),this['decode'](_0x5bd35d,_0x5bd35d['uint32']());},_0x8cd748['verify']=function(_0x3650f7,_0x25365b){if('object'!=typeof _0x3650f7||null===_0x3650f7)return'object\x20expected';if(void 0x0===_0x25365b&&(_0x25365b=0x0),_0x25365b>_0x5aa665['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3650f7['name']&&_0x3650f7['hasOwnProperty']('name')&&!_0x5aa665['isString'](_0x3650f7['name']))return'name:\x20string\x20expected';var _0x2ebe10;if(null!=_0x3650f7['oldRange']&&_0x3650f7['hasOwnProperty']('oldRange')&&(_0x2ebe10=_0x1bbdf7['Range']['verify'](_0x3650f7['oldRange'],_0x25365b+0x1)))return'oldRange.'+_0x2ebe10;if(null!=_0x3650f7['newRange']&&_0x3650f7['hasOwnProperty']('newRange')&&(_0x2ebe10=_0x1bbdf7['Range']['verify'](_0x3650f7['newRange'],_0x25365b+0x1)))return'newRange.'+_0x2ebe10;return null!=_0x3650f7['affectsData']&&_0x3650f7['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x3650f7['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x3650f7['wasUndone']&&_0x3650f7['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x3650f7['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x8cd748['fromObject']=function(_0x5501b6,_0x346545){if(_0x5501b6 instanceof _0x1bbdf7['MarkerOperation'])return _0x5501b6;if(void 0x0===_0x346545&&(_0x346545=0x0),_0x346545>_0x5aa665['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5da4b8=new _0x1bbdf7['MarkerOperation']();if(null!=_0x5501b6['name']&&(_0x5da4b8['name']=String(_0x5501b6['name'])),null!=_0x5501b6['oldRange']){if('object'!=typeof _0x5501b6['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x5da4b8['oldRange']=_0x1bbdf7['Range']['fromObject'](_0x5501b6['oldRange'],_0x346545+0x1);}if(null!=_0x5501b6['newRange']){if('object'!=typeof _0x5501b6['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x5da4b8['newRange']=_0x1bbdf7['Range']['fromObject'](_0x5501b6['newRange'],_0x346545+0x1);}return null!=_0x5501b6['affectsData']&&(_0x5da4b8['affectsData']=Boolean(_0x5501b6['affectsData'])),null!=_0x5501b6['wasUndone']&&(_0x5da4b8['wasUndone']=Boolean(_0x5501b6['wasUndone'])),_0x5da4b8;},_0x8cd748['toObject']=function(_0x504536,_0x209805){_0x209805||(_0x209805={});var _0x5f1d56={};return _0x209805['defaults']&&(_0x5f1d56['name']='',_0x5f1d56['oldRange']=null,_0x5f1d56['newRange']=null,_0x5f1d56['affectsData']=!0x1,_0x5f1d56['wasUndone']=!0x1),null!=_0x504536['name']&&_0x504536['hasOwnProperty']('name')&&(_0x5f1d56['name']=_0x504536['name']),null!=_0x504536['oldRange']&&_0x504536['hasOwnProperty']('oldRange')&&(_0x5f1d56['oldRange']=_0x1bbdf7['Range']['toObject'](_0x504536['oldRange'],_0x209805)),null!=_0x504536['newRange']&&_0x504536['hasOwnProperty']('newRange')&&(_0x5f1d56['newRange']=_0x1bbdf7['Range']['toObject'](_0x504536['newRange'],_0x209805)),null!=_0x504536['affectsData']&&_0x504536['hasOwnProperty']('affectsData')&&(_0x5f1d56['affectsData']=_0x504536['affectsData']),null!=_0x504536['wasUndone']&&_0x504536['hasOwnProperty']('wasUndone')&&(_0x5f1d56['wasUndone']=_0x504536['wasUndone']),_0x5f1d56;},_0x8cd748['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x8cd748['getTypeUrl']=function(_0x94c36){return void 0x0===_0x94c36&&(_0x94c36='type.googleapis.com'),_0x94c36+'/MarkerOperation';},_0x8cd748;}()),_0x1bbdf7['MergeOperation']=(function(){function _0x3dbb6e(_0x22d876){if(_0x22d876){for(var _0x469d98=Object['keys'](_0x22d876),_0x55e2e8=0x0;_0x55e2e8<_0x469d98['length'];++_0x55e2e8)null!=_0x22d876[_0x469d98[_0x55e2e8]]&&'__proto__'!==_0x469d98[_0x55e2e8]&&(this[_0x469d98[_0x55e2e8]]=_0x22d876[_0x469d98[_0x55e2e8]]);}}return _0x3dbb6e['prototype']['sourcePosition']=null,_0x3dbb6e['prototype']['targetPosition']=null,_0x3dbb6e['prototype']['graveyardPosition']=null,_0x3dbb6e['prototype']['howMany']=0x0,_0x3dbb6e['prototype']['wasUndone']=!0x1,_0x3dbb6e['create']=function(_0x4cfaa5){return new _0x3dbb6e(_0x4cfaa5);},_0x3dbb6e['encode']=function(_0x49b759,_0x2dc1e6){return _0x2dc1e6||(_0x2dc1e6=_0x5db32c['create']()),null!=_0x49b759['sourcePosition']&&Object['hasOwnProperty']['call'](_0x49b759,'sourcePosition')&&_0x1bbdf7['Position']['encode'](_0x49b759['sourcePosition'],_0x2dc1e6['uint32'](0xa)['fork']())['ldelim'](),null!=_0x49b759['targetPosition']&&Object['hasOwnProperty']['call'](_0x49b759,'targetPosition')&&_0x1bbdf7['Position']['encode'](_0x49b759['targetPosition'],_0x2dc1e6['uint32'](0x12)['fork']())['ldelim'](),null!=_0x49b759['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x49b759,'graveyardPosition')&&_0x1bbdf7['Position']['encode'](_0x49b759['graveyardPosition'],_0x2dc1e6['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x49b759['howMany']&&Object['hasOwnProperty']['call'](_0x49b759,'howMany')&&_0x2dc1e6['uint32'](0x20)['uint32'](_0x49b759['howMany']),null!=_0x49b759['wasUndone']&&Object['hasOwnProperty']['call'](_0x49b759,'wasUndone')&&_0x2dc1e6['uint32'](0x28)['bool'](_0x49b759['wasUndone']),_0x2dc1e6;},_0x3dbb6e['encodeDelimited']=function(_0x538853,_0x2e03fa){return this['encode'](_0x538853,_0x2e03fa)['ldelim']();},_0x3dbb6e['decode']=function(_0x1cb0c5,_0x246f6f,_0x40b21f,_0x30bcf1){if(_0x1cb0c5 instanceof _0x1f139d||(_0x1cb0c5=_0x1f139d['create'](_0x1cb0c5)),void 0x0===_0x30bcf1&&(_0x30bcf1=0x0),_0x30bcf1>_0x1f139d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x67dace=void 0x0===_0x246f6f?_0x1cb0c5['len']:_0x1cb0c5['pos']+_0x246f6f,_0x54b2a4=new _0x1bbdf7['MergeOperation']();_0x1cb0c5['pos']<_0x67dace;){var _0x54dd4b=_0x1cb0c5['uint32']();if(_0x54dd4b===_0x40b21f)break;switch(_0x54dd4b>>>0x3){case 0x1:_0x54b2a4['sourcePosition']=_0x1bbdf7['Position']['decode'](_0x1cb0c5,_0x1cb0c5['uint32'](),void 0x0,_0x30bcf1+0x1);break;case 0x2:_0x54b2a4['targetPosition']=_0x1bbdf7['Position']['decode'](_0x1cb0c5,_0x1cb0c5['uint32'](),void 0x0,_0x30bcf1+0x1);break;case 0x3:_0x54b2a4['graveyardPosition']=_0x1bbdf7['Position']['decode'](_0x1cb0c5,_0x1cb0c5['uint32'](),void 0x0,_0x30bcf1+0x1);break;case 0x4:_0x54b2a4['howMany']=_0x1cb0c5['uint32']();break;case 0x5:_0x54b2a4['wasUndone']=_0x1cb0c5['bool']();break;default:_0x1cb0c5['skipType'](0x7&_0x54dd4b,_0x30bcf1);}}return _0x54b2a4;},_0x3dbb6e['decodeDelimited']=function(_0x29ee1a){return _0x29ee1a instanceof _0x1f139d||(_0x29ee1a=new _0x1f139d(_0x29ee1a)),this['decode'](_0x29ee1a,_0x29ee1a['uint32']());},_0x3dbb6e['verify']=function(_0x125e9a,_0xd4232b){if('object'!=typeof _0x125e9a||null===_0x125e9a)return'object\x20expected';if(void 0x0===_0xd4232b&&(_0xd4232b=0x0),_0xd4232b>_0x5aa665['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x3dbe17;if(null!=_0x125e9a['sourcePosition']&&_0x125e9a['hasOwnProperty']('sourcePosition')&&(_0x3dbe17=_0x1bbdf7['Position']['verify'](_0x125e9a['sourcePosition'],_0xd4232b+0x1)))return'sourcePosition.'+_0x3dbe17;if(null!=_0x125e9a['targetPosition']&&_0x125e9a['hasOwnProperty']('targetPosition')&&(_0x3dbe17=_0x1bbdf7['Position']['verify'](_0x125e9a['targetPosition'],_0xd4232b+0x1)))return'targetPosition.'+_0x3dbe17;if(null!=_0x125e9a['graveyardPosition']&&_0x125e9a['hasOwnProperty']('graveyardPosition')&&(_0x3dbe17=_0x1bbdf7['Position']['verify'](_0x125e9a['graveyardPosition'],_0xd4232b+0x1)))return'graveyardPosition.'+_0x3dbe17;return null!=_0x125e9a['howMany']&&_0x125e9a['hasOwnProperty']('howMany')&&!_0x5aa665['isInteger'](_0x125e9a['howMany'])?'howMany:\x20integer\x20expected':null!=_0x125e9a['wasUndone']&&_0x125e9a['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x125e9a['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x3dbb6e['fromObject']=function(_0x3e73e2,_0xfa0c69){if(_0x3e73e2 instanceof _0x1bbdf7['MergeOperation'])return _0x3e73e2;if(void 0x0===_0xfa0c69&&(_0xfa0c69=0x0),_0xfa0c69>_0x5aa665['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x105679=new _0x1bbdf7['MergeOperation']();if(null!=_0x3e73e2['sourcePosition']){if('object'!=typeof _0x3e73e2['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x105679['sourcePosition']=_0x1bbdf7['Position']['fromObject'](_0x3e73e2['sourcePosition'],_0xfa0c69+0x1);}if(null!=_0x3e73e2['targetPosition']){if('object'!=typeof _0x3e73e2['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x105679['targetPosition']=_0x1bbdf7['Position']['fromObject'](_0x3e73e2['targetPosition'],_0xfa0c69+0x1);}if(null!=_0x3e73e2['graveyardPosition']){if('object'!=typeof _0x3e73e2['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x105679['graveyardPosition']=_0x1bbdf7['Position']['fromObject'](_0x3e73e2['graveyardPosition'],_0xfa0c69+0x1);}return null!=_0x3e73e2['howMany']&&(_0x105679['howMany']=_0x3e73e2['howMany']>>>0x0),null!=_0x3e73e2['wasUndone']&&(_0x105679['wasUndone']=Boolean(_0x3e73e2['wasUndone'])),_0x105679;},_0x3dbb6e['toObject']=function(_0x57e11e,_0x17a5d9){_0x17a5d9||(_0x17a5d9={});var _0x4f456b={};return _0x17a5d9['defaults']&&(_0x4f456b['sourcePosition']=null,_0x4f456b['targetPosition']=null,_0x4f456b['graveyardPosition']=null,_0x4f456b['howMany']=0x0,_0x4f456b['wasUndone']=!0x1),null!=_0x57e11e['sourcePosition']&&_0x57e11e['hasOwnProperty']('sourcePosition')&&(_0x4f456b['sourcePosition']=_0x1bbdf7['Position']['toObject'](_0x57e11e['sourcePosition'],_0x17a5d9)),null!=_0x57e11e['targetPosition']&&_0x57e11e['hasOwnProperty']('targetPosition')&&(_0x4f456b['targetPosition']=_0x1bbdf7['Position']['toObject'](_0x57e11e['targetPosition'],_0x17a5d9)),null!=_0x57e11e['graveyardPosition']&&_0x57e11e['hasOwnProperty']('graveyardPosition')&&(_0x4f456b['graveyardPosition']=_0x1bbdf7['Position']['toObject'](_0x57e11e['graveyardPosition'],_0x17a5d9)),null!=_0x57e11e['howMany']&&_0x57e11e['hasOwnProperty']('howMany')&&(_0x4f456b['howMany']=_0x57e11e['howMany']),null!=_0x57e11e['wasUndone']&&_0x57e11e['hasOwnProperty']('wasUndone')&&(_0x4f456b['wasUndone']=_0x57e11e['wasUndone']),_0x4f456b;},_0x3dbb6e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x3dbb6e['getTypeUrl']=function(_0x100dec){return void 0x0===_0x100dec&&(_0x100dec='type.googleapis.com'),_0x100dec+'/MergeOperation';},_0x3dbb6e;}()),_0x1bbdf7['MoveOperation']=(function(){function _0x15b0a0(_0x216df1){if(_0x216df1){for(var _0x5ccd8e=Object['keys'](_0x216df1),_0x30c508=0x0;_0x30c508<_0x5ccd8e['length'];++_0x30c508)null!=_0x216df1[_0x5ccd8e[_0x30c508]]&&'__proto__'!==_0x5ccd8e[_0x30c508]&&(this[_0x5ccd8e[_0x30c508]]=_0x216df1[_0x5ccd8e[_0x30c508]]);}}return _0x15b0a0['prototype']['sourcePosition']=null,_0x15b0a0['prototype']['howMany']=0x0,_0x15b0a0['prototype']['targetPosition']=null,_0x15b0a0['prototype']['wasUndone']=!0x1,_0x15b0a0['create']=function(_0x5a94a0){return new _0x15b0a0(_0x5a94a0);},_0x15b0a0['encode']=function(_0x3ad6f5,_0x2d77fa){return _0x2d77fa||(_0x2d77fa=_0x5db32c['create']()),null!=_0x3ad6f5['sourcePosition']&&Object['hasOwnProperty']['call'](_0x3ad6f5,'sourcePosition')&&_0x1bbdf7['Position']['encode'](_0x3ad6f5['sourcePosition'],_0x2d77fa['uint32'](0xa)['fork']())['ldelim'](),null!=_0x3ad6f5['howMany']&&Object['hasOwnProperty']['call'](_0x3ad6f5,'howMany')&&_0x2d77fa['uint32'](0x10)['uint32'](_0x3ad6f5['howMany']),null!=_0x3ad6f5['targetPosition']&&Object['hasOwnProperty']['call'](_0x3ad6f5,'targetPosition')&&_0x1bbdf7['Position']['encode'](_0x3ad6f5['targetPosition'],_0x2d77fa['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x3ad6f5['wasUndone']&&Object['hasOwnProperty']['call'](_0x3ad6f5,'wasUndone')&&_0x2d77fa['uint32'](0x20)['bool'](_0x3ad6f5['wasUndone']),_0x2d77fa;},_0x15b0a0['encodeDelimited']=function(_0x4432cc,_0x1be3f1){return this['encode'](_0x4432cc,_0x1be3f1)['ldelim']();},_0x15b0a0['decode']=function(_0x5a74f9,_0x399575,_0x5f4068,_0x528216){if(_0x5a74f9 instanceof _0x1f139d||(_0x5a74f9=_0x1f139d['create'](_0x5a74f9)),void 0x0===_0x528216&&(_0x528216=0x0),_0x528216>_0x1f139d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x416502=void 0x0===_0x399575?_0x5a74f9['len']:_0x5a74f9['pos']+_0x399575,_0x574eaf=new _0x1bbdf7['MoveOperation']();_0x5a74f9['pos']<_0x416502;){var _0x3515e7=_0x5a74f9['uint32']();if(_0x3515e7===_0x5f4068)break;switch(_0x3515e7>>>0x3){case 0x1:_0x574eaf['sourcePosition']=_0x1bbdf7['Position']['decode'](_0x5a74f9,_0x5a74f9['uint32'](),void 0x0,_0x528216+0x1);break;case 0x2:_0x574eaf['howMany']=_0x5a74f9['uint32']();break;case 0x3:_0x574eaf['targetPosition']=_0x1bbdf7['Position']['decode'](_0x5a74f9,_0x5a74f9['uint32'](),void 0x0,_0x528216+0x1);break;case 0x4:_0x574eaf['wasUndone']=_0x5a74f9['bool']();break;default:_0x5a74f9['skipType'](0x7&_0x3515e7,_0x528216);}}return _0x574eaf;},_0x15b0a0['decodeDelimited']=function(_0x50e290){return _0x50e290 instanceof _0x1f139d||(_0x50e290=new _0x1f139d(_0x50e290)),this['decode'](_0x50e290,_0x50e290['uint32']());},_0x15b0a0['verify']=function(_0x4163ea,_0x59e86e){if('object'!=typeof _0x4163ea||null===_0x4163ea)return'object\x20expected';if(void 0x0===_0x59e86e&&(_0x59e86e=0x0),_0x59e86e>_0x5aa665['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x2f1f3b;if(null!=_0x4163ea['sourcePosition']&&_0x4163ea['hasOwnProperty']('sourcePosition')&&(_0x2f1f3b=_0x1bbdf7['Position']['verify'](_0x4163ea['sourcePosition'],_0x59e86e+0x1)))return'sourcePosition.'+_0x2f1f3b;if(null!=_0x4163ea['howMany']&&_0x4163ea['hasOwnProperty']('howMany')&&!_0x5aa665['isInteger'](_0x4163ea['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x4163ea['targetPosition']&&_0x4163ea['hasOwnProperty']('targetPosition')&&(_0x2f1f3b=_0x1bbdf7['Position']['verify'](_0x4163ea['targetPosition'],_0x59e86e+0x1)))return'targetPosition.'+_0x2f1f3b;return null!=_0x4163ea['wasUndone']&&_0x4163ea['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x4163ea['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x15b0a0['fromObject']=function(_0x17e0d3,_0xe1da9c){if(_0x17e0d3 instanceof _0x1bbdf7['MoveOperation'])return _0x17e0d3;if(void 0x0===_0xe1da9c&&(_0xe1da9c=0x0),_0xe1da9c>_0x5aa665['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x55ea85=new _0x1bbdf7['MoveOperation']();if(null!=_0x17e0d3['sourcePosition']){if('object'!=typeof _0x17e0d3['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x55ea85['sourcePosition']=_0x1bbdf7['Position']['fromObject'](_0x17e0d3['sourcePosition'],_0xe1da9c+0x1);}if(null!=_0x17e0d3['howMany']&&(_0x55ea85['howMany']=_0x17e0d3['howMany']>>>0x0),null!=_0x17e0d3['targetPosition']){if('object'!=typeof _0x17e0d3['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x55ea85['targetPosition']=_0x1bbdf7['Position']['fromObject'](_0x17e0d3['targetPosition'],_0xe1da9c+0x1);}return null!=_0x17e0d3['wasUndone']&&(_0x55ea85['wasUndone']=Boolean(_0x17e0d3['wasUndone'])),_0x55ea85;},_0x15b0a0['toObject']=function(_0x5b4053,_0xbc7bc7){_0xbc7bc7||(_0xbc7bc7={});var _0x3bd59b={};return _0xbc7bc7['defaults']&&(_0x3bd59b['sourcePosition']=null,_0x3bd59b['howMany']=0x0,_0x3bd59b['targetPosition']=null,_0x3bd59b['wasUndone']=!0x1),null!=_0x5b4053['sourcePosition']&&_0x5b4053['hasOwnProperty']('sourcePosition')&&(_0x3bd59b['sourcePosition']=_0x1bbdf7['Position']['toObject'](_0x5b4053['sourcePosition'],_0xbc7bc7)),null!=_0x5b4053['howMany']&&_0x5b4053['hasOwnProperty']('howMany')&&(_0x3bd59b['howMany']=_0x5b4053['howMany']),null!=_0x5b4053['targetPosition']&&_0x5b4053['hasOwnProperty']('targetPosition')&&(_0x3bd59b['targetPosition']=_0x1bbdf7['Position']['toObject'](_0x5b4053['targetPosition'],_0xbc7bc7)),null!=_0x5b4053['wasUndone']&&_0x5b4053['hasOwnProperty']('wasUndone')&&(_0x3bd59b['wasUndone']=_0x5b4053['wasUndone']),_0x3bd59b;},_0x15b0a0['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x15b0a0['getTypeUrl']=function(_0x56e815){return void 0x0===_0x56e815&&(_0x56e815='type.googleapis.com'),_0x56e815+'/MoveOperation';},_0x15b0a0;}()),_0x1bbdf7['RenameOperation']=(function(){function _0x1a0a73(_0x541016){if(_0x541016){for(var _0x456744=Object['keys'](_0x541016),_0x4e4356=0x0;_0x4e4356<_0x456744['length'];++_0x4e4356)null!=_0x541016[_0x456744[_0x4e4356]]&&'__proto__'!==_0x456744[_0x4e4356]&&(this[_0x456744[_0x4e4356]]=_0x541016[_0x456744[_0x4e4356]]);}}return _0x1a0a73['prototype']['position']=null,_0x1a0a73['prototype']['oldName']='',_0x1a0a73['prototype']['newName']='',_0x1a0a73['prototype']['wasUndone']=!0x1,_0x1a0a73['create']=function(_0x56d527){return new _0x1a0a73(_0x56d527);},_0x1a0a73['encode']=function(_0x26d204,_0x517ddd){return _0x517ddd||(_0x517ddd=_0x5db32c['create']()),null!=_0x26d204['position']&&Object['hasOwnProperty']['call'](_0x26d204,'position')&&_0x1bbdf7['Position']['encode'](_0x26d204['position'],_0x517ddd['uint32'](0xa)['fork']())['ldelim'](),null!=_0x26d204['oldName']&&Object['hasOwnProperty']['call'](_0x26d204,'oldName')&&_0x517ddd['uint32'](0x12)['string'](_0x26d204['oldName']),null!=_0x26d204['newName']&&Object['hasOwnProperty']['call'](_0x26d204,'newName')&&_0x517ddd['uint32'](0x1a)['string'](_0x26d204['newName']),null!=_0x26d204['wasUndone']&&Object['hasOwnProperty']['call'](_0x26d204,'wasUndone')&&_0x517ddd['uint32'](0x20)['bool'](_0x26d204['wasUndone']),_0x517ddd;},_0x1a0a73['encodeDelimited']=function(_0x2e4edc,_0x3fc1d8){return this['encode'](_0x2e4edc,_0x3fc1d8)['ldelim']();},_0x1a0a73['decode']=function(_0x290a19,_0x13fcdf,_0x24125f,_0x4354ce){if(_0x290a19 instanceof _0x1f139d||(_0x290a19=_0x1f139d['create'](_0x290a19)),void 0x0===_0x4354ce&&(_0x4354ce=0x0),_0x4354ce>_0x1f139d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x404b19=void 0x0===_0x13fcdf?_0x290a19['len']:_0x290a19['pos']+_0x13fcdf,_0x34d8eb=new _0x1bbdf7['RenameOperation']();_0x290a19['pos']<_0x404b19;){var _0x46b272=_0x290a19['uint32']();if(_0x46b272===_0x24125f)break;switch(_0x46b272>>>0x3){case 0x1:_0x34d8eb['position']=_0x1bbdf7['Position']['decode'](_0x290a19,_0x290a19['uint32'](),void 0x0,_0x4354ce+0x1);break;case 0x2:_0x34d8eb['oldName']=_0x290a19['string']();break;case 0x3:_0x34d8eb['newName']=_0x290a19['string']();break;case 0x4:_0x34d8eb['wasUndone']=_0x290a19['bool']();break;default:_0x290a19['skipType'](0x7&_0x46b272,_0x4354ce);}}return _0x34d8eb;},_0x1a0a73['decodeDelimited']=function(_0x57a033){return _0x57a033 instanceof _0x1f139d||(_0x57a033=new _0x1f139d(_0x57a033)),this['decode'](_0x57a033,_0x57a033['uint32']());},_0x1a0a73['verify']=function(_0x43367f,_0x3d0ff8){if('object'!=typeof _0x43367f||null===_0x43367f)return'object\x20expected';if(void 0x0===_0x3d0ff8&&(_0x3d0ff8=0x0),_0x3d0ff8>_0x5aa665['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x43367f['position']&&_0x43367f['hasOwnProperty']('position')){var _0x400982=_0x1bbdf7['Position']['verify'](_0x43367f['position'],_0x3d0ff8+0x1);if(_0x400982)return'position.'+_0x400982;}return null!=_0x43367f['oldName']&&_0x43367f['hasOwnProperty']('oldName')&&!_0x5aa665['isString'](_0x43367f['oldName'])?'oldName:\x20string\x20expected':null!=_0x43367f['newName']&&_0x43367f['hasOwnProperty']('newName')&&!_0x5aa665['isString'](_0x43367f['newName'])?'newName:\x20string\x20expected':null!=_0x43367f['wasUndone']&&_0x43367f['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x43367f['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1a0a73['fromObject']=function(_0x37e84a,_0x382c84){if(_0x37e84a instanceof _0x1bbdf7['RenameOperation'])return _0x37e84a;if(void 0x0===_0x382c84&&(_0x382c84=0x0),_0x382c84>_0x5aa665['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5c1dc2=new _0x1bbdf7['RenameOperation']();if(null!=_0x37e84a['position']){if('object'!=typeof _0x37e84a['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x5c1dc2['position']=_0x1bbdf7['Position']['fromObject'](_0x37e84a['position'],_0x382c84+0x1);}return null!=_0x37e84a['oldName']&&(_0x5c1dc2['oldName']=String(_0x37e84a['oldName'])),null!=_0x37e84a['newName']&&(_0x5c1dc2['newName']=String(_0x37e84a['newName'])),null!=_0x37e84a['wasUndone']&&(_0x5c1dc2['wasUndone']=Boolean(_0x37e84a['wasUndone'])),_0x5c1dc2;},_0x1a0a73['toObject']=function(_0x322f85,_0xcfa650){_0xcfa650||(_0xcfa650={});var _0x3813d1={};return _0xcfa650['defaults']&&(_0x3813d1['position']=null,_0x3813d1['oldName']='',_0x3813d1['newName']='',_0x3813d1['wasUndone']=!0x1),null!=_0x322f85['position']&&_0x322f85['hasOwnProperty']('position')&&(_0x3813d1['position']=_0x1bbdf7['Position']['toObject'](_0x322f85['position'],_0xcfa650)),null!=_0x322f85['oldName']&&_0x322f85['hasOwnProperty']('oldName')&&(_0x3813d1['oldName']=_0x322f85['oldName']),null!=_0x322f85['newName']&&_0x322f85['hasOwnProperty']('newName')&&(_0x3813d1['newName']=_0x322f85['newName']),null!=_0x322f85['wasUndone']&&_0x322f85['hasOwnProperty']('wasUndone')&&(_0x3813d1['wasUndone']=_0x322f85['wasUndone']),_0x3813d1;},_0x1a0a73['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x1a0a73['getTypeUrl']=function(_0x3a23f7){return void 0x0===_0x3a23f7&&(_0x3a23f7='type.googleapis.com'),_0x3a23f7+'/RenameOperation';},_0x1a0a73;}()),_0x1bbdf7['RootAttributeOperation']=(function(){function _0xcb71b8(_0x4d7b1f){if(_0x4d7b1f){for(var _0x1dac25=Object['keys'](_0x4d7b1f),_0x49a805=0x0;_0x49a805<_0x1dac25['length'];++_0x49a805)null!=_0x4d7b1f[_0x1dac25[_0x49a805]]&&'__proto__'!==_0x1dac25[_0x49a805]&&(this[_0x1dac25[_0x49a805]]=_0x4d7b1f[_0x1dac25[_0x49a805]]);}}return _0xcb71b8['prototype']['root']='',_0xcb71b8['prototype']['key']='',_0xcb71b8['prototype']['oldValueBoolean']=!0x1,_0xcb71b8['prototype']['oldValueJson']='',_0xcb71b8['prototype']['newValueBoolean']=!0x1,_0xcb71b8['prototype']['newValueJson']='',_0xcb71b8['prototype']['wasUndone']=!0x1,_0xcb71b8['create']=function(_0x438f5a){return new _0xcb71b8(_0x438f5a);},_0xcb71b8['encode']=function(_0x273f9a,_0x17599e){return _0x17599e||(_0x17599e=_0x5db32c['create']()),null!=_0x273f9a['root']&&Object['hasOwnProperty']['call'](_0x273f9a,'root')&&_0x17599e['uint32'](0xa)['string'](_0x273f9a['root']),null!=_0x273f9a['key']&&Object['hasOwnProperty']['call'](_0x273f9a,'key')&&_0x17599e['uint32'](0x12)['string'](_0x273f9a['key']),null!=_0x273f9a['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x273f9a,'oldValueBoolean')&&_0x17599e['uint32'](0x18)['bool'](_0x273f9a['oldValueBoolean']),null!=_0x273f9a['oldValueJson']&&Object['hasOwnProperty']['call'](_0x273f9a,'oldValueJson')&&_0x17599e['uint32'](0x22)['string'](_0x273f9a['oldValueJson']),null!=_0x273f9a['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x273f9a,'newValueBoolean')&&_0x17599e['uint32'](0x28)['bool'](_0x273f9a['newValueBoolean']),null!=_0x273f9a['newValueJson']&&Object['hasOwnProperty']['call'](_0x273f9a,'newValueJson')&&_0x17599e['uint32'](0x32)['string'](_0x273f9a['newValueJson']),null!=_0x273f9a['wasUndone']&&Object['hasOwnProperty']['call'](_0x273f9a,'wasUndone')&&_0x17599e['uint32'](0x38)['bool'](_0x273f9a['wasUndone']),_0x17599e;},_0xcb71b8['encodeDelimited']=function(_0x2d50cc,_0x488aff){return this['encode'](_0x2d50cc,_0x488aff)['ldelim']();},_0xcb71b8['decode']=function(_0x13182e,_0x1b5aae,_0x4925eb,_0x3859df){if(_0x13182e instanceof _0x1f139d||(_0x13182e=_0x1f139d['create'](_0x13182e)),void 0x0===_0x3859df&&(_0x3859df=0x0),_0x3859df>_0x1f139d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2146c3=void 0x0===_0x1b5aae?_0x13182e['len']:_0x13182e['pos']+_0x1b5aae,_0x2f1064=new _0x1bbdf7['RootAttributeOperation']();_0x13182e['pos']<_0x2146c3;){var _0x114bb7=_0x13182e['uint32']();if(_0x114bb7===_0x4925eb)break;switch(_0x114bb7>>>0x3){case 0x1:_0x2f1064['root']=_0x13182e['string']();break;case 0x2:_0x2f1064['key']=_0x13182e['string']();break;case 0x3:_0x2f1064['oldValueBoolean']=_0x13182e['bool']();break;case 0x4:_0x2f1064['oldValueJson']=_0x13182e['string']();break;case 0x5:_0x2f1064['newValueBoolean']=_0x13182e['bool']();break;case 0x6:_0x2f1064['newValueJson']=_0x13182e['string']();break;case 0x7:_0x2f1064['wasUndone']=_0x13182e['bool']();break;default:_0x13182e['skipType'](0x7&_0x114bb7,_0x3859df);}}return _0x2f1064;},_0xcb71b8['decodeDelimited']=function(_0x5f2200){return _0x5f2200 instanceof _0x1f139d||(_0x5f2200=new _0x1f139d(_0x5f2200)),this['decode'](_0x5f2200,_0x5f2200['uint32']());},_0xcb71b8['verify']=function(_0xd57e9e,_0x1f4ad1){return'object'!=typeof _0xd57e9e||null===_0xd57e9e?'object\x20expected':(void 0x0===_0x1f4ad1&&(_0x1f4ad1=0x0),_0x1f4ad1>_0x5aa665['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xd57e9e['root']&&_0xd57e9e['hasOwnProperty']('root')&&!_0x5aa665['isString'](_0xd57e9e['root'])?'root:\x20string\x20expected':null!=_0xd57e9e['key']&&_0xd57e9e['hasOwnProperty']('key')&&!_0x5aa665['isString'](_0xd57e9e['key'])?'key:\x20string\x20expected':null!=_0xd57e9e['oldValueBoolean']&&_0xd57e9e['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0xd57e9e['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0xd57e9e['oldValueJson']&&_0xd57e9e['hasOwnProperty']('oldValueJson')&&!_0x5aa665['isString'](_0xd57e9e['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0xd57e9e['newValueBoolean']&&_0xd57e9e['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0xd57e9e['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0xd57e9e['newValueJson']&&_0xd57e9e['hasOwnProperty']('newValueJson')&&!_0x5aa665['isString'](_0xd57e9e['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0xd57e9e['wasUndone']&&_0xd57e9e['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0xd57e9e['wasUndone']?'wasUndone:\x20boolean\x20expected':null);},_0xcb71b8['fromObject']=function(_0x28f9fa,_0x17bd1e){if(_0x28f9fa instanceof _0x1bbdf7['RootAttributeOperation'])return _0x28f9fa;if(void 0x0===_0x17bd1e&&(_0x17bd1e=0x0),_0x17bd1e>_0x5aa665['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1b0e85=new _0x1bbdf7['RootAttributeOperation']();return null!=_0x28f9fa['root']&&(_0x1b0e85['root']=String(_0x28f9fa['root'])),null!=_0x28f9fa['key']&&(_0x1b0e85['key']=String(_0x28f9fa['key'])),null!=_0x28f9fa['oldValueBoolean']&&(_0x1b0e85['oldValueBoolean']=Boolean(_0x28f9fa['oldValueBoolean'])),null!=_0x28f9fa['oldValueJson']&&(_0x1b0e85['oldValueJson']=String(_0x28f9fa['oldValueJson'])),null!=_0x28f9fa['newValueBoolean']&&(_0x1b0e85['newValueBoolean']=Boolean(_0x28f9fa['newValueBoolean'])),null!=_0x28f9fa['newValueJson']&&(_0x1b0e85['newValueJson']=String(_0x28f9fa['newValueJson'])),null!=_0x28f9fa['wasUndone']&&(_0x1b0e85['wasUndone']=Boolean(_0x28f9fa['wasUndone'])),_0x1b0e85;},_0xcb71b8['toObject']=function(_0x2f3430,_0x83cc92){_0x83cc92||(_0x83cc92={});var _0x42cca9={};return _0x83cc92['defaults']&&(_0x42cca9['root']='',_0x42cca9['key']='',_0x42cca9['oldValueBoolean']=!0x1,_0x42cca9['oldValueJson']='',_0x42cca9['newValueBoolean']=!0x1,_0x42cca9['newValueJson']='',_0x42cca9['wasUndone']=!0x1),null!=_0x2f3430['root']&&_0x2f3430['hasOwnProperty']('root')&&(_0x42cca9['root']=_0x2f3430['root']),null!=_0x2f3430['key']&&_0x2f3430['hasOwnProperty']('key')&&(_0x42cca9['key']=_0x2f3430['key']),null!=_0x2f3430['oldValueBoolean']&&_0x2f3430['hasOwnProperty']('oldValueBoolean')&&(_0x42cca9['oldValueBoolean']=_0x2f3430['oldValueBoolean']),null!=_0x2f3430['oldValueJson']&&_0x2f3430['hasOwnProperty']('oldValueJson')&&(_0x42cca9['oldValueJson']=_0x2f3430['oldValueJson']),null!=_0x2f3430['newValueBoolean']&&_0x2f3430['hasOwnProperty']('newValueBoolean')&&(_0x42cca9['newValueBoolean']=_0x2f3430['newValueBoolean']),null!=_0x2f3430['newValueJson']&&_0x2f3430['hasOwnProperty']('newValueJson')&&(_0x42cca9['newValueJson']=_0x2f3430['newValueJson']),null!=_0x2f3430['wasUndone']&&_0x2f3430['hasOwnProperty']('wasUndone')&&(_0x42cca9['wasUndone']=_0x2f3430['wasUndone']),_0x42cca9;},_0xcb71b8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0xcb71b8['getTypeUrl']=function(_0x1d8116){return void 0x0===_0x1d8116&&(_0x1d8116='type.googleapis.com'),_0x1d8116+'/RootAttributeOperation';},_0xcb71b8;}()),_0x1bbdf7['RootOperation']=(function(){function _0x5c38e1(_0xb5c17f){if(_0xb5c17f){for(var _0x162239=Object['keys'](_0xb5c17f),_0x346a41=0x0;_0x346a41<_0x162239['length'];++_0x346a41)null!=_0xb5c17f[_0x162239[_0x346a41]]&&'__proto__'!==_0x162239[_0x346a41]&&(this[_0x162239[_0x346a41]]=_0xb5c17f[_0x162239[_0x346a41]]);}}return _0x5c38e1['prototype']['rootName']='',_0x5c38e1['prototype']['elementName']='',_0x5c38e1['prototype']['isAdd']=!0x1,_0x5c38e1['prototype']['wasUndone']=!0x1,_0x5c38e1['create']=function(_0x5e6695){return new _0x5c38e1(_0x5e6695);},_0x5c38e1['encode']=function(_0x3962fb,_0x1f7766){return _0x1f7766||(_0x1f7766=_0x5db32c['create']()),null!=_0x3962fb['rootName']&&Object['hasOwnProperty']['call'](_0x3962fb,'rootName')&&_0x1f7766['uint32'](0xa)['string'](_0x3962fb['rootName']),null!=_0x3962fb['elementName']&&Object['hasOwnProperty']['call'](_0x3962fb,'elementName')&&_0x1f7766['uint32'](0x12)['string'](_0x3962fb['elementName']),null!=_0x3962fb['isAdd']&&Object['hasOwnProperty']['call'](_0x3962fb,'isAdd')&&_0x1f7766['uint32'](0x18)['bool'](_0x3962fb['isAdd']),null!=_0x3962fb['wasUndone']&&Object['hasOwnProperty']['call'](_0x3962fb,'wasUndone')&&_0x1f7766['uint32'](0x20)['bool'](_0x3962fb['wasUndone']),_0x1f7766;},_0x5c38e1['encodeDelimited']=function(_0x577a6a,_0x3f44ff){return this['encode'](_0x577a6a,_0x3f44ff)['ldelim']();},_0x5c38e1['decode']=function(_0x17cbcf,_0x24cdd0,_0x4a49b1,_0x1bdf91){if(_0x17cbcf instanceof _0x1f139d||(_0x17cbcf=_0x1f139d['create'](_0x17cbcf)),void 0x0===_0x1bdf91&&(_0x1bdf91=0x0),_0x1bdf91>_0x1f139d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x343444=void 0x0===_0x24cdd0?_0x17cbcf['len']:_0x17cbcf['pos']+_0x24cdd0,_0x57202a=new _0x1bbdf7['RootOperation']();_0x17cbcf['pos']<_0x343444;){var _0x4e505f=_0x17cbcf['uint32']();if(_0x4e505f===_0x4a49b1)break;switch(_0x4e505f>>>0x3){case 0x1:_0x57202a['rootName']=_0x17cbcf['string']();break;case 0x2:_0x57202a['elementName']=_0x17cbcf['string']();break;case 0x3:_0x57202a['isAdd']=_0x17cbcf['bool']();break;case 0x4:_0x57202a['wasUndone']=_0x17cbcf['bool']();break;default:_0x17cbcf['skipType'](0x7&_0x4e505f,_0x1bdf91);}}return _0x57202a;},_0x5c38e1['decodeDelimited']=function(_0x2f87ba){return _0x2f87ba instanceof _0x1f139d||(_0x2f87ba=new _0x1f139d(_0x2f87ba)),this['decode'](_0x2f87ba,_0x2f87ba['uint32']());},_0x5c38e1['verify']=function(_0x2aba8f,_0x592ec6){return'object'!=typeof _0x2aba8f||null===_0x2aba8f?'object\x20expected':(void 0x0===_0x592ec6&&(_0x592ec6=0x0),_0x592ec6>_0x5aa665['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2aba8f['rootName']&&_0x2aba8f['hasOwnProperty']('rootName')&&!_0x5aa665['isString'](_0x2aba8f['rootName'])?'rootName:\x20string\x20expected':null!=_0x2aba8f['elementName']&&_0x2aba8f['hasOwnProperty']('elementName')&&!_0x5aa665['isString'](_0x2aba8f['elementName'])?'elementName:\x20string\x20expected':null!=_0x2aba8f['isAdd']&&_0x2aba8f['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x2aba8f['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x2aba8f['wasUndone']&&_0x2aba8f['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x2aba8f['wasUndone']?'wasUndone:\x20boolean\x20expected':null);},_0x5c38e1['fromObject']=function(_0x24887f,_0x551a75){if(_0x24887f instanceof _0x1bbdf7['RootOperation'])return _0x24887f;if(void 0x0===_0x551a75&&(_0x551a75=0x0),_0x551a75>_0x5aa665['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x620bab=new _0x1bbdf7['RootOperation']();return null!=_0x24887f['rootName']&&(_0x620bab['rootName']=String(_0x24887f['rootName'])),null!=_0x24887f['elementName']&&(_0x620bab['elementName']=String(_0x24887f['elementName'])),null!=_0x24887f['isAdd']&&(_0x620bab['isAdd']=Boolean(_0x24887f['isAdd'])),null!=_0x24887f['wasUndone']&&(_0x620bab['wasUndone']=Boolean(_0x24887f['wasUndone'])),_0x620bab;},_0x5c38e1['toObject']=function(_0x37a9a6,_0x2cd3c5){_0x2cd3c5||(_0x2cd3c5={});var _0x510282={};return _0x2cd3c5['defaults']&&(_0x510282['rootName']='',_0x510282['elementName']='',_0x510282['isAdd']=!0x1,_0x510282['wasUndone']=!0x1),null!=_0x37a9a6['rootName']&&_0x37a9a6['hasOwnProperty']('rootName')&&(_0x510282['rootName']=_0x37a9a6['rootName']),null!=_0x37a9a6['elementName']&&_0x37a9a6['hasOwnProperty']('elementName')&&(_0x510282['elementName']=_0x37a9a6['elementName']),null!=_0x37a9a6['isAdd']&&_0x37a9a6['hasOwnProperty']('isAdd')&&(_0x510282['isAdd']=_0x37a9a6['isAdd']),null!=_0x37a9a6['wasUndone']&&_0x37a9a6['hasOwnProperty']('wasUndone')&&(_0x510282['wasUndone']=_0x37a9a6['wasUndone']),_0x510282;},_0x5c38e1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x5c38e1['getTypeUrl']=function(_0x67a310){return void 0x0===_0x67a310&&(_0x67a310='type.googleapis.com'),_0x67a310+'/RootOperation';},_0x5c38e1;}()),_0x1bbdf7['SplitOperation']=(function(){function _0x1ebd9f(_0x5db93d){if(_0x5db93d){for(var _0x4c1e44=Object['keys'](_0x5db93d),_0x596c3d=0x0;_0x596c3d<_0x4c1e44['length'];++_0x596c3d)null!=_0x5db93d[_0x4c1e44[_0x596c3d]]&&'__proto__'!==_0x4c1e44[_0x596c3d]&&(this[_0x4c1e44[_0x596c3d]]=_0x5db93d[_0x4c1e44[_0x596c3d]]);}}return _0x1ebd9f['prototype']['splitPosition']=null,_0x1ebd9f['prototype']['graveyardPosition']=null,_0x1ebd9f['prototype']['howMany']=0x0,_0x1ebd9f['prototype']['insertionPosition']=null,_0x1ebd9f['prototype']['wasUndone']=!0x1,_0x1ebd9f['create']=function(_0x22a372){return new _0x1ebd9f(_0x22a372);},_0x1ebd9f['encode']=function(_0x90b7f6,_0x4bfd1b){return _0x4bfd1b||(_0x4bfd1b=_0x5db32c['create']()),null!=_0x90b7f6['splitPosition']&&Object['hasOwnProperty']['call'](_0x90b7f6,'splitPosition')&&_0x1bbdf7['Position']['encode'](_0x90b7f6['splitPosition'],_0x4bfd1b['uint32'](0xa)['fork']())['ldelim'](),null!=_0x90b7f6['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x90b7f6,'graveyardPosition')&&_0x1bbdf7['Position']['encode'](_0x90b7f6['graveyardPosition'],_0x4bfd1b['uint32'](0x12)['fork']())['ldelim'](),null!=_0x90b7f6['howMany']&&Object['hasOwnProperty']['call'](_0x90b7f6,'howMany')&&_0x4bfd1b['uint32'](0x18)['uint32'](_0x90b7f6['howMany']),null!=_0x90b7f6['insertionPosition']&&Object['hasOwnProperty']['call'](_0x90b7f6,'insertionPosition')&&_0x1bbdf7['Position']['encode'](_0x90b7f6['insertionPosition'],_0x4bfd1b['uint32'](0x22)['fork']())['ldelim'](),null!=_0x90b7f6['wasUndone']&&Object['hasOwnProperty']['call'](_0x90b7f6,'wasUndone')&&_0x4bfd1b['uint32'](0x28)['bool'](_0x90b7f6['wasUndone']),_0x4bfd1b;},_0x1ebd9f['encodeDelimited']=function(_0x42d80e,_0x5de57a){return this['encode'](_0x42d80e,_0x5de57a)['ldelim']();},_0x1ebd9f['decode']=function(_0x253013,_0x5dc82f,_0x1289a3,_0x2da7a4){if(_0x253013 instanceof _0x1f139d||(_0x253013=_0x1f139d['create'](_0x253013)),void 0x0===_0x2da7a4&&(_0x2da7a4=0x0),_0x2da7a4>_0x1f139d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4014f9=void 0x0===_0x5dc82f?_0x253013['len']:_0x253013['pos']+_0x5dc82f,_0x3a0467=new _0x1bbdf7['SplitOperation']();_0x253013['pos']<_0x4014f9;){var _0x249026=_0x253013['uint32']();if(_0x249026===_0x1289a3)break;switch(_0x249026>>>0x3){case 0x1:_0x3a0467['splitPosition']=_0x1bbdf7['Position']['decode'](_0x253013,_0x253013['uint32'](),void 0x0,_0x2da7a4+0x1);break;case 0x2:_0x3a0467['graveyardPosition']=_0x1bbdf7['Position']['decode'](_0x253013,_0x253013['uint32'](),void 0x0,_0x2da7a4+0x1);break;case 0x3:_0x3a0467['howMany']=_0x253013['uint32']();break;case 0x4:_0x3a0467['insertionPosition']=_0x1bbdf7['Position']['decode'](_0x253013,_0x253013['uint32'](),void 0x0,_0x2da7a4+0x1);break;case 0x5:_0x3a0467['wasUndone']=_0x253013['bool']();break;default:_0x253013['skipType'](0x7&_0x249026,_0x2da7a4);}}return _0x3a0467;},_0x1ebd9f['decodeDelimited']=function(_0x8de2db){return _0x8de2db instanceof _0x1f139d||(_0x8de2db=new _0x1f139d(_0x8de2db)),this['decode'](_0x8de2db,_0x8de2db['uint32']());},_0x1ebd9f['verify']=function(_0xb7d79e,_0x5ced22){if('object'!=typeof _0xb7d79e||null===_0xb7d79e)return'object\x20expected';if(void 0x0===_0x5ced22&&(_0x5ced22=0x0),_0x5ced22>_0x5aa665['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x239c8a;if(null!=_0xb7d79e['splitPosition']&&_0xb7d79e['hasOwnProperty']('splitPosition')&&(_0x239c8a=_0x1bbdf7['Position']['verify'](_0xb7d79e['splitPosition'],_0x5ced22+0x1)))return'splitPosition.'+_0x239c8a;if(null!=_0xb7d79e['graveyardPosition']&&_0xb7d79e['hasOwnProperty']('graveyardPosition')&&(_0x239c8a=_0x1bbdf7['Position']['verify'](_0xb7d79e['graveyardPosition'],_0x5ced22+0x1)))return'graveyardPosition.'+_0x239c8a;if(null!=_0xb7d79e['howMany']&&_0xb7d79e['hasOwnProperty']('howMany')&&!_0x5aa665['isInteger'](_0xb7d79e['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0xb7d79e['insertionPosition']&&_0xb7d79e['hasOwnProperty']('insertionPosition')&&(_0x239c8a=_0x1bbdf7['Position']['verify'](_0xb7d79e['insertionPosition'],_0x5ced22+0x1)))return'insertionPosition.'+_0x239c8a;return null!=_0xb7d79e['wasUndone']&&_0xb7d79e['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0xb7d79e['wasUndone']?'wasUndone:\x20boolean\x20expected':null;},_0x1ebd9f['fromObject']=function(_0x1c4255,_0x985109){if(_0x1c4255 instanceof _0x1bbdf7['SplitOperation'])return _0x1c4255;if(void 0x0===_0x985109&&(_0x985109=0x0),_0x985109>_0x5aa665['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x263991=new _0x1bbdf7['SplitOperation']();if(null!=_0x1c4255['splitPosition']){if('object'!=typeof _0x1c4255['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x263991['splitPosition']=_0x1bbdf7['Position']['fromObject'](_0x1c4255['splitPosition'],_0x985109+0x1);}if(null!=_0x1c4255['graveyardPosition']){if('object'!=typeof _0x1c4255['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x263991['graveyardPosition']=_0x1bbdf7['Position']['fromObject'](_0x1c4255['graveyardPosition'],_0x985109+0x1);}if(null!=_0x1c4255['howMany']&&(_0x263991['howMany']=_0x1c4255['howMany']>>>0x0),null!=_0x1c4255['insertionPosition']){if('object'!=typeof _0x1c4255['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x263991['insertionPosition']=_0x1bbdf7['Position']['fromObject'](_0x1c4255['insertionPosition'],_0x985109+0x1);}return null!=_0x1c4255['wasUndone']&&(_0x263991['wasUndone']=Boolean(_0x1c4255['wasUndone'])),_0x263991;},_0x1ebd9f['toObject']=function(_0x1fec1f,_0x4aafca){_0x4aafca||(_0x4aafca={});var _0xb2a408={};return _0x4aafca['defaults']&&(_0xb2a408['splitPosition']=null,_0xb2a408['graveyardPosition']=null,_0xb2a408['howMany']=0x0,_0xb2a408['insertionPosition']=null,_0xb2a408['wasUndone']=!0x1),null!=_0x1fec1f['splitPosition']&&_0x1fec1f['hasOwnProperty']('splitPosition')&&(_0xb2a408['splitPosition']=_0x1bbdf7['Position']['toObject'](_0x1fec1f['splitPosition'],_0x4aafca)),null!=_0x1fec1f['graveyardPosition']&&_0x1fec1f['hasOwnProperty']('graveyardPosition')&&(_0xb2a408['graveyardPosition']=_0x1bbdf7['Position']['toObject'](_0x1fec1f['graveyardPosition'],_0x4aafca)),null!=_0x1fec1f['howMany']&&_0x1fec1f['hasOwnProperty']('howMany')&&(_0xb2a408['howMany']=_0x1fec1f['howMany']),null!=_0x1fec1f['insertionPosition']&&_0x1fec1f['hasOwnProperty']('insertionPosition')&&(_0xb2a408['insertionPosition']=_0x1bbdf7['Position']['toObject'](_0x1fec1f['insertionPosition'],_0x4aafca)),null!=_0x1fec1f['wasUndone']&&_0x1fec1f['hasOwnProperty']('wasUndone')&&(_0xb2a408['wasUndone']=_0x1fec1f['wasUndone']),_0xb2a408;},_0x1ebd9f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x1ebd9f['getTypeUrl']=function(_0x192c63){return void 0x0===_0x192c63&&(_0x192c63='type.googleapis.com'),_0x192c63+'/SplitOperation';},_0x1ebd9f;}()),_0x1bbdf7['Position']=(function(){function _0x38b76c(_0x449795){if(this['path']=[],_0x449795){for(var _0x58afd0=Object['keys'](_0x449795),_0x1549d9=0x0;_0x1549d9<_0x58afd0['length'];++_0x1549d9)null!=_0x449795[_0x58afd0[_0x1549d9]]&&'__proto__'!==_0x58afd0[_0x1549d9]&&(this[_0x58afd0[_0x1549d9]]=_0x449795[_0x58afd0[_0x1549d9]]);}}return _0x38b76c['prototype']['root']='',_0x38b76c['prototype']['rootMain']=!0x1,_0x38b76c['prototype']['rootGraveyard']=!0x1,_0x38b76c['prototype']['path']=_0x5aa665['emptyArray'],_0x38b76c['prototype']['stickiness']='',_0x38b76c['create']=function(_0x2f22d2){return new _0x38b76c(_0x2f22d2);},_0x38b76c['encode']=function(_0x4e4cc9,_0x982b61){if(_0x982b61||(_0x982b61=_0x5db32c['create']()),null!=_0x4e4cc9['root']&&Object['hasOwnProperty']['call'](_0x4e4cc9,'root')&&_0x982b61['uint32'](0xa)['string'](_0x4e4cc9['root']),null!=_0x4e4cc9['rootMain']&&Object['hasOwnProperty']['call'](_0x4e4cc9,'rootMain')&&_0x982b61['uint32'](0x10)['bool'](_0x4e4cc9['rootMain']),null!=_0x4e4cc9['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x4e4cc9,'rootGraveyard')&&_0x982b61['uint32'](0x18)['bool'](_0x4e4cc9['rootGraveyard']),null!=_0x4e4cc9['path']&&_0x4e4cc9['path']['length']){_0x982b61['uint32'](0x22)['fork']();for(var _0x55b98a=0x0;_0x55b98a<_0x4e4cc9['path']['length'];++_0x55b98a)_0x982b61['uint32'](_0x4e4cc9['path'][_0x55b98a]);_0x982b61['ldelim']();}return null!=_0x4e4cc9['stickiness']&&Object['hasOwnProperty']['call'](_0x4e4cc9,'stickiness')&&_0x982b61['uint32'](0x2a)['string'](_0x4e4cc9['stickiness']),_0x982b61;},_0x38b76c['encodeDelimited']=function(_0x1721e0,_0x185907){return this['encode'](_0x1721e0,_0x185907)['ldelim']();},_0x38b76c['decode']=function(_0x507e39,_0x520ff0,_0xa08a59,_0xc8bd8f){if(_0x507e39 instanceof _0x1f139d||(_0x507e39=_0x1f139d['create'](_0x507e39)),void 0x0===_0xc8bd8f&&(_0xc8bd8f=0x0),_0xc8bd8f>_0x1f139d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x34738b=void 0x0===_0x520ff0?_0x507e39['len']:_0x507e39['pos']+_0x520ff0,_0x47fd06=new _0x1bbdf7['Position']();_0x507e39['pos']<_0x34738b;){var _0x7be661=_0x507e39['uint32']();if(_0x7be661===_0xa08a59)break;switch(_0x7be661>>>0x3){case 0x1:_0x47fd06['root']=_0x507e39['string']();break;case 0x2:_0x47fd06['rootMain']=_0x507e39['bool']();break;case 0x3:_0x47fd06['rootGraveyard']=_0x507e39['bool']();break;case 0x4:if(_0x47fd06['path']&&_0x47fd06['path']['length']||(_0x47fd06['path']=[]),0x2==(0x7&_0x7be661)){for(var _0x135f7e=_0x507e39['uint32']()+_0x507e39['pos'];_0x507e39['pos']<_0x135f7e;)_0x47fd06['path']['push'](_0x507e39['uint32']());}else _0x47fd06['path']['push'](_0x507e39['uint32']());break;case 0x5:_0x47fd06['stickiness']=_0x507e39['string']();break;default:_0x507e39['skipType'](0x7&_0x7be661,_0xc8bd8f);}}return _0x47fd06;},_0x38b76c['decodeDelimited']=function(_0x267317){return _0x267317 instanceof _0x1f139d||(_0x267317=new _0x1f139d(_0x267317)),this['decode'](_0x267317,_0x267317['uint32']());},_0x38b76c['verify']=function(_0x23a57d,_0x2838e1){if('object'!=typeof _0x23a57d||null===_0x23a57d)return'object\x20expected';if(void 0x0===_0x2838e1&&(_0x2838e1=0x0),_0x2838e1>_0x5aa665['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x23a57d['root']&&_0x23a57d['hasOwnProperty']('root')&&!_0x5aa665['isString'](_0x23a57d['root']))return'root:\x20string\x20expected';if(null!=_0x23a57d['rootMain']&&_0x23a57d['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x23a57d['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x23a57d['rootGraveyard']&&_0x23a57d['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x23a57d['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x23a57d['path']&&_0x23a57d['hasOwnProperty']('path')){if(!Array['isArray'](_0x23a57d['path']))return'path:\x20array\x20expected';for(var _0x1e38a9=0x0;_0x1e38a9<_0x23a57d['path']['length'];++_0x1e38a9)if(!_0x5aa665['isInteger'](_0x23a57d['path'][_0x1e38a9]))return'path:\x20integer[]\x20expected';}return null!=_0x23a57d['stickiness']&&_0x23a57d['hasOwnProperty']('stickiness')&&!_0x5aa665['isString'](_0x23a57d['stickiness'])?'stickiness:\x20string\x20expected':null;},_0x38b76c['fromObject']=function(_0x5eccee,_0xc3cdb9){if(_0x5eccee instanceof _0x1bbdf7['Position'])return _0x5eccee;if(void 0x0===_0xc3cdb9&&(_0xc3cdb9=0x0),_0xc3cdb9>_0x5aa665['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3adeae=new _0x1bbdf7['Position']();if(null!=_0x5eccee['root']&&(_0x3adeae['root']=String(_0x5eccee['root'])),null!=_0x5eccee['rootMain']&&(_0x3adeae['rootMain']=Boolean(_0x5eccee['rootMain'])),null!=_0x5eccee['rootGraveyard']&&(_0x3adeae['rootGraveyard']=Boolean(_0x5eccee['rootGraveyard'])),_0x5eccee['path']){if(!Array['isArray'](_0x5eccee['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x3adeae['path']=[];for(var _0x255778=0x0;_0x255778<_0x5eccee['path']['length'];++_0x255778)_0x3adeae['path'][_0x255778]=_0x5eccee['path'][_0x255778]>>>0x0;}return null!=_0x5eccee['stickiness']&&(_0x3adeae['stickiness']=String(_0x5eccee['stickiness'])),_0x3adeae;},_0x38b76c['toObject']=function(_0x3c3845,_0x4a252d){_0x4a252d||(_0x4a252d={});var _0x1a442c={};if((_0x4a252d['arrays']||_0x4a252d['defaults'])&&(_0x1a442c['path']=[]),_0x4a252d['defaults']&&(_0x1a442c['root']='',_0x1a442c['rootMain']=!0x1,_0x1a442c['rootGraveyard']=!0x1,_0x1a442c['stickiness']=''),null!=_0x3c3845['root']&&_0x3c3845['hasOwnProperty']('root')&&(_0x1a442c['root']=_0x3c3845['root']),null!=_0x3c3845['rootMain']&&_0x3c3845['hasOwnProperty']('rootMain')&&(_0x1a442c['rootMain']=_0x3c3845['rootMain']),null!=_0x3c3845['rootGraveyard']&&_0x3c3845['hasOwnProperty']('rootGraveyard')&&(_0x1a442c['rootGraveyard']=_0x3c3845['rootGraveyard']),_0x3c3845['path']&&_0x3c3845['path']['length']){_0x1a442c['path']=[];for(var _0x1e45fd=0x0;_0x1e45fd<_0x3c3845['path']['length'];++_0x1e45fd)_0x1a442c['path'][_0x1e45fd]=_0x3c3845['path'][_0x1e45fd];}return null!=_0x3c3845['stickiness']&&_0x3c3845['hasOwnProperty']('stickiness')&&(_0x1a442c['stickiness']=_0x3c3845['stickiness']),_0x1a442c;},_0x38b76c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x38b76c['getTypeUrl']=function(_0x3de28c){return void 0x0===_0x3de28c&&(_0x3de28c='type.googleapis.com'),_0x3de28c+'/Position';},_0x38b76c;}()),_0x1bbdf7['Range']=(function(){function _0x3e0878(_0x497452){if(_0x497452){for(var _0x539840=Object['keys'](_0x497452),_0x560352=0x0;_0x560352<_0x539840['length'];++_0x560352)null!=_0x497452[_0x539840[_0x560352]]&&'__proto__'!==_0x539840[_0x560352]&&(this[_0x539840[_0x560352]]=_0x497452[_0x539840[_0x560352]]);}}return _0x3e0878['prototype']['start']=null,_0x3e0878['prototype']['end']=null,_0x3e0878['create']=function(_0x38291f){return new _0x3e0878(_0x38291f);},_0x3e0878['encode']=function(_0x346362,_0x2861d7){return _0x2861d7||(_0x2861d7=_0x5db32c['create']()),null!=_0x346362['start']&&Object['hasOwnProperty']['call'](_0x346362,'start')&&_0x1bbdf7['Position']['encode'](_0x346362['start'],_0x2861d7['uint32'](0xa)['fork']())['ldelim'](),null!=_0x346362['end']&&Object['hasOwnProperty']['call'](_0x346362,'end')&&_0x1bbdf7['Position']['encode'](_0x346362['end'],_0x2861d7['uint32'](0x12)['fork']())['ldelim'](),_0x2861d7;},_0x3e0878['encodeDelimited']=function(_0x5cdd82,_0x1295e0){return this['encode'](_0x5cdd82,_0x1295e0)['ldelim']();},_0x3e0878['decode']=function(_0x10d81c,_0x27068a,_0x1124bd,_0x2a24d0){if(_0x10d81c instanceof _0x1f139d||(_0x10d81c=_0x1f139d['create'](_0x10d81c)),void 0x0===_0x2a24d0&&(_0x2a24d0=0x0),_0x2a24d0>_0x1f139d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2dc7ad=void 0x0===_0x27068a?_0x10d81c['len']:_0x10d81c['pos']+_0x27068a,_0x137e3f=new _0x1bbdf7['Range']();_0x10d81c['pos']<_0x2dc7ad;){var _0x2bdd0a=_0x10d81c['uint32']();if(_0x2bdd0a===_0x1124bd)break;switch(_0x2bdd0a>>>0x3){case 0x1:_0x137e3f['start']=_0x1bbdf7['Position']['decode'](_0x10d81c,_0x10d81c['uint32'](),void 0x0,_0x2a24d0+0x1);break;case 0x2:_0x137e3f['end']=_0x1bbdf7['Position']['decode'](_0x10d81c,_0x10d81c['uint32'](),void 0x0,_0x2a24d0+0x1);break;default:_0x10d81c['skipType'](0x7&_0x2bdd0a,_0x2a24d0);}}return _0x137e3f;},_0x3e0878['decodeDelimited']=function(_0x96dd6){return _0x96dd6 instanceof _0x1f139d||(_0x96dd6=new _0x1f139d(_0x96dd6)),this['decode'](_0x96dd6,_0x96dd6['uint32']());},_0x3e0878['verify']=function(_0x15daf6,_0x3569b6){if('object'!=typeof _0x15daf6||null===_0x15daf6)return'object\x20expected';if(void 0x0===_0x3569b6&&(_0x3569b6=0x0),_0x3569b6>_0x5aa665['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x3c55e2;if(null!=_0x15daf6['start']&&_0x15daf6['hasOwnProperty']('start')&&(_0x3c55e2=_0x1bbdf7['Position']['verify'](_0x15daf6['start'],_0x3569b6+0x1)))return'start.'+_0x3c55e2;if(null!=_0x15daf6['end']&&_0x15daf6['hasOwnProperty']('end')&&(_0x3c55e2=_0x1bbdf7['Position']['verify'](_0x15daf6['end'],_0x3569b6+0x1)))return'end.'+_0x3c55e2;return null;},_0x3e0878['fromObject']=function(_0x11a126,_0x2f547f){if(_0x11a126 instanceof _0x1bbdf7['Range'])return _0x11a126;if(void 0x0===_0x2f547f&&(_0x2f547f=0x0),_0x2f547f>_0x5aa665['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1cd72=new _0x1bbdf7['Range']();if(null!=_0x11a126['start']){if('object'!=typeof _0x11a126['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x1cd72['start']=_0x1bbdf7['Position']['fromObject'](_0x11a126['start'],_0x2f547f+0x1);}if(null!=_0x11a126['end']){if('object'!=typeof _0x11a126['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x1cd72['end']=_0x1bbdf7['Position']['fromObject'](_0x11a126['end'],_0x2f547f+0x1);}return _0x1cd72;},_0x3e0878['toObject']=function(_0xedd230,_0x184de1){_0x184de1||(_0x184de1={});var _0x4fff76={};return _0x184de1['defaults']&&(_0x4fff76['start']=null,_0x4fff76['end']=null),null!=_0xedd230['start']&&_0xedd230['hasOwnProperty']('start')&&(_0x4fff76['start']=_0x1bbdf7['Position']['toObject'](_0xedd230['start'],_0x184de1)),null!=_0xedd230['end']&&_0xedd230['hasOwnProperty']('end')&&(_0x4fff76['end']=_0x1bbdf7['Position']['toObject'](_0xedd230['end'],_0x184de1)),_0x4fff76;},_0x3e0878['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x3e0878['getTypeUrl']=function(_0x334a40){return void 0x0===_0x334a40&&(_0x334a40='type.googleapis.com'),_0x334a40+'/Range';},_0x3e0878;}()),_0x1bbdf7['Element']=(function(){function _0x138b32(_0x30b5d0){if(this['children']=[],this['attributesBoolean']={},_0x30b5d0){for(var _0xb9349=Object['keys'](_0x30b5d0),_0x5139ec=0x0;_0x5139ec<_0xb9349['length'];++_0x5139ec)null!=_0x30b5d0[_0xb9349[_0x5139ec]]&&'__proto__'!==_0xb9349[_0x5139ec]&&(this[_0xb9349[_0x5139ec]]=_0x30b5d0[_0xb9349[_0x5139ec]]);}}return _0x138b32['prototype']['name']='',_0x138b32['prototype']['children']=_0x5aa665['emptyArray'],_0x138b32['prototype']['data']='',_0x138b32['prototype']['attributesBoolean']=_0x5aa665['emptyObject'],_0x138b32['prototype']['attributesJson']='',_0x138b32['create']=function(_0x3cd444){return new _0x138b32(_0x3cd444);},_0x138b32['encode']=function(_0x541636,_0x379e97){if(_0x379e97||(_0x379e97=_0x5db32c['create']()),null!=_0x541636['name']&&Object['hasOwnProperty']['call'](_0x541636,'name')&&_0x379e97['uint32'](0xa)['string'](_0x541636['name']),null!=_0x541636['children']&&_0x541636['children']['length']){for(var _0x3aea48=0x0;_0x3aea48<_0x541636['children']['length'];++_0x3aea48)_0x1bbdf7['Element']['encode'](_0x541636['children'][_0x3aea48],_0x379e97['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x541636['data']&&Object['hasOwnProperty']['call'](_0x541636,'data')&&_0x379e97['uint32'](0x1a)['string'](_0x541636['data']),null!=_0x541636['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x541636,'attributesBoolean')){var _0x3463e8=Object['keys'](_0x541636['attributesBoolean']);for(_0x3aea48=0x0;_0x3aea48<_0x3463e8['length'];++_0x3aea48)_0x379e97['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x3463e8[_0x3aea48])['uint32'](0x10)['bool'](_0x541636['attributesBoolean'][_0x3463e8[_0x3aea48]])['ldelim']();}return null!=_0x541636['attributesJson']&&Object['hasOwnProperty']['call'](_0x541636,'attributesJson')&&_0x379e97['uint32'](0x2a)['string'](_0x541636['attributesJson']),_0x379e97;},_0x138b32['encodeDelimited']=function(_0x5e14a0,_0x42834f){return this['encode'](_0x5e14a0,_0x42834f)['ldelim']();},_0x138b32['decode']=function(_0x20b3e0,_0x1486b6,_0x969c26,_0x4fb960){if(_0x20b3e0 instanceof _0x1f139d||(_0x20b3e0=_0x1f139d['create'](_0x20b3e0)),void 0x0===_0x4fb960&&(_0x4fb960=0x0),_0x4fb960>_0x1f139d['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x10dccc,_0xb2d180,_0x1a7e34=void 0x0===_0x1486b6?_0x20b3e0['len']:_0x20b3e0['pos']+_0x1486b6,_0xf7fcac=new _0x1bbdf7['Element']();_0x20b3e0['pos']<_0x1a7e34;){var _0x1b7724=_0x20b3e0['uint32']();if(_0x1b7724===_0x969c26)break;switch(_0x1b7724>>>0x3){case 0x1:_0xf7fcac['name']=_0x20b3e0['string']();break;case 0x2:_0xf7fcac['children']&&_0xf7fcac['children']['length']||(_0xf7fcac['children']=[]),_0xf7fcac['children']['push'](_0x1bbdf7['Element']['decode'](_0x20b3e0,_0x20b3e0['uint32'](),void 0x0,_0x4fb960+0x1));break;case 0x3:_0xf7fcac['data']=_0x20b3e0['string']();break;case 0x4:_0xf7fcac['attributesBoolean']===_0x5aa665['emptyObject']&&(_0xf7fcac['attributesBoolean']={});var _0x16afd5=_0x20b3e0['uint32']()+_0x20b3e0['pos'];for(_0x10dccc='',_0xb2d180=!0x1;_0x20b3e0['pos']<_0x16afd5;){var _0x44a408=_0x20b3e0['uint32']();switch(_0x44a408>>>0x3){case 0x1:_0x10dccc=_0x20b3e0['string']();break;case 0x2:_0xb2d180=_0x20b3e0['bool']();break;default:_0x20b3e0['skipType'](0x7&_0x44a408,_0x4fb960);}}'__proto__'===_0x10dccc&&_0x5aa665['makeProp'](_0xf7fcac['attributesBoolean'],_0x10dccc),_0xf7fcac['attributesBoolean'][_0x10dccc]=_0xb2d180;break;case 0x5:_0xf7fcac['attributesJson']=_0x20b3e0['string']();break;default:_0x20b3e0['skipType'](0x7&_0x1b7724,_0x4fb960);}}return _0xf7fcac;},_0x138b32['decodeDelimited']=function(_0x43418f){return _0x43418f instanceof _0x1f139d||(_0x43418f=new _0x1f139d(_0x43418f)),this['decode'](_0x43418f,_0x43418f['uint32']());},_0x138b32['verify']=function(_0x294e79,_0x3610a1){if('object'!=typeof _0x294e79||null===_0x294e79)return'object\x20expected';if(void 0x0===_0x3610a1&&(_0x3610a1=0x0),_0x3610a1>_0x5aa665['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x294e79['name']&&_0x294e79['hasOwnProperty']('name')&&!_0x5aa665['isString'](_0x294e79['name']))return'name:\x20string\x20expected';if(null!=_0x294e79['children']&&_0x294e79['hasOwnProperty']('children')){if(!Array['isArray'](_0x294e79['children']))return'children:\x20array\x20expected';for(var _0x339c82=0x0;_0x339c82<_0x294e79['children']['length'];++_0x339c82){var _0x5ed782=_0x1bbdf7['Element']['verify'](_0x294e79['children'][_0x339c82],_0x3610a1+0x1);if(_0x5ed782)return'children.'+_0x5ed782;}}if(null!=_0x294e79['data']&&_0x294e79['hasOwnProperty']('data')&&!_0x5aa665['isString'](_0x294e79['data']))return'data:\x20string\x20expected';if(null!=_0x294e79['attributesBoolean']&&_0x294e79['hasOwnProperty']('attributesBoolean')){if(!_0x5aa665['isObject'](_0x294e79['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x340266=Object['keys'](_0x294e79['attributesBoolean']);for(_0x339c82=0x0;_0x339c82<_0x340266['length'];++_0x339c82)if('boolean'!=typeof _0x294e79['attributesBoolean'][_0x340266[_0x339c82]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x294e79['attributesJson']&&_0x294e79['hasOwnProperty']('attributesJson')&&!_0x5aa665['isString'](_0x294e79['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x138b32['fromObject']=function(_0x189584,_0x5a8a8b){if(_0x189584 instanceof _0x1bbdf7['Element'])return _0x189584;if(void 0x0===_0x5a8a8b&&(_0x5a8a8b=0x0),_0x5a8a8b>_0x5aa665['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x472d6a=new _0x1bbdf7['Element']();if(null!=_0x189584['name']&&(_0x472d6a['name']=String(_0x189584['name'])),_0x189584['children']){if(!Array['isArray'](_0x189584['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x472d6a['children']=[];for(var _0x6f1678=0x0;_0x6f1678<_0x189584['children']['length'];++_0x6f1678){if('object'!=typeof _0x189584['children'][_0x6f1678])throw TypeError('.Element.children:\x20object\x20expected');_0x472d6a['children'][_0x6f1678]=_0x1bbdf7['Element']['fromObject'](_0x189584['children'][_0x6f1678],_0x5a8a8b+0x1);}}if(null!=_0x189584['data']&&(_0x472d6a['data']=String(_0x189584['data'])),_0x189584['attributesBoolean']){if('object'!=typeof _0x189584['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x472d6a['attributesBoolean']={};var _0x3a13a8=Object['keys'](_0x189584['attributesBoolean']);for(_0x6f1678=0x0;_0x6f1678<_0x3a13a8['length'];++_0x6f1678)'__proto__'===_0x3a13a8[_0x6f1678]&&_0x5aa665['makeProp'](_0x472d6a['attributesBoolean'],_0x3a13a8[_0x6f1678]),_0x472d6a['attributesBoolean'][_0x3a13a8[_0x6f1678]]=Boolean(_0x189584['attributesBoolean'][_0x3a13a8[_0x6f1678]]);}return null!=_0x189584['attributesJson']&&(_0x472d6a['attributesJson']=String(_0x189584['attributesJson'])),_0x472d6a;},_0x138b32['toObject']=function(_0x114ecc,_0x41e2ab){_0x41e2ab||(_0x41e2ab={});var _0x91e7fe,_0x29d338={};if((_0x41e2ab['arrays']||_0x41e2ab['defaults'])&&(_0x29d338['children']=[]),(_0x41e2ab['objects']||_0x41e2ab['defaults'])&&(_0x29d338['attributesBoolean']={}),_0x41e2ab['defaults']&&(_0x29d338['name']='',_0x29d338['data']='',_0x29d338['attributesJson']=''),null!=_0x114ecc['name']&&_0x114ecc['hasOwnProperty']('name')&&(_0x29d338['name']=_0x114ecc['name']),_0x114ecc['children']&&_0x114ecc['children']['length']){_0x29d338['children']=[];for(var _0x57dfeb=0x0;_0x57dfeb<_0x114ecc['children']['length'];++_0x57dfeb)_0x29d338['children'][_0x57dfeb]=_0x1bbdf7['Element']['toObject'](_0x114ecc['children'][_0x57dfeb],_0x41e2ab);}if(null!=_0x114ecc['data']&&_0x114ecc['hasOwnProperty']('data')&&(_0x29d338['data']=_0x114ecc['data']),_0x114ecc['attributesBoolean']&&(_0x91e7fe=Object['keys'](_0x114ecc['attributesBoolean']))['length']){_0x29d338['attributesBoolean']={};for(_0x57dfeb=0x0;_0x57dfeb<_0x91e7fe['length'];++_0x57dfeb)'__proto__'===_0x91e7fe[_0x57dfeb]&&_0x5aa665['makeProp'](_0x29d338['attributesBoolean'],_0x91e7fe[_0x57dfeb]),_0x29d338['attributesBoolean'][_0x91e7fe[_0x57dfeb]]=_0x114ecc['attributesBoolean'][_0x91e7fe[_0x57dfeb]];}return null!=_0x114ecc['attributesJson']&&_0x114ecc['hasOwnProperty']('attributesJson')&&(_0x29d338['attributesJson']=_0x114ecc['attributesJson']),_0x29d338;},_0x138b32['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x2418c2['util']['toJSONOptions']);},_0x138b32['getTypeUrl']=function(_0x2af615){return void 0x0===_0x2af615&&(_0x2af615='type.googleapis.com'),_0x2af615+'/Element';},_0x138b32;}()),_0x1bbdf7;})());class ProtobufFactory{['_protobufRoot'];constructor(){this['_protobufRoot']=_0x53088c;}['getDescriptor'](_0xac8d5f){return new ProtobufDescriptor(this['_protobufRoot'][_0xac8d5f]);}}class ProtobufDescriptor{['_protobuf'];constructor(_0x2eb87b){this['_protobuf']=_0x2eb87b;}['compress'](_0x38cf1a){const _0x47daf4=this['_protobuf']['verify'](_0x38cf1a);if(_0x47daf4)throw Error(_0x47daf4);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x38cf1a))['finish']();}['decompress'](_0x4ce7e7){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x4ce7e7),{'oneofs':!0x0});}}function _0xf7c99(_0x298985,_0x1f2b50){const _0x160675=_0xed69dc(_0x298985);return _0x160675['path'][_0x160675['path']['length']-0x1]+=_0x1f2b50,_0x160675;}function _0x2f40b7(_0x3053bc,_0x54f31a){return _0x3053bc['root']===_0x54f31a['root']&&dt(_0x3053bc['path'],_0x54f31a['path']);}function _0x5271f3(_0x325034){_0x3bcdbf(_0x325034,_0x2aa258=>('main'==_0x2aa258['root']?(_0x2aa258['rootMain']=!0x0,delete _0x2aa258['root']):'$graveyard'==_0x2aa258['root']&&(_0x2aa258['rootGraveyard']=!0x0,delete _0x2aa258['root']),_0x2aa258));}function _0x6f635e(_0x2ac96f){_0x3bcdbf(_0x2ac96f,_0x5f3555=>(_0x5f3555['rootMain']?(_0x5f3555['root']='main',delete _0x5f3555['rootMain']):_0x5f3555['rootGraveyard']&&(_0x5f3555['root']='$graveyard',delete _0x5f3555['rootGraveyard']),_0x5f3555));}function _0x3bcdbf(_0x5a08b8,_0x51cfcf){for(const _0x292afd in _0x5a08b8){const _0x3904b9=_0x5a08b8[_0x292afd];'nodes'!==_0x292afd&&_0xb48b69(_0x3904b9)&&(_0x3904b9['path']&&(_0x3904b9['root']||_0x3904b9['rootMain']||_0x3904b9['rootGraveyard'])?_0x5a08b8[_0x292afd]=_0x51cfcf(_0x3904b9):_0x3bcdbf(_0x3904b9,_0x51cfcf));}return _0x5a08b8;}class OperationCompressor{['_id'];['_operationName'];['_protobufDescriptor'];constructor(_0x3b60de,_0x36fe59,_0x5b3d54){this['_id']=_0x3b60de,this['_operationName']=_0x36fe59,this['_protobufDescriptor']=_0x5b3d54;}['compress'](_0x4897c7,_0xba5328){const _0x5e88d8=_0xba5328['operations'][_0xba5328['index']++];return _0x5271f3(_0x5e88d8),_0x4897c7['buffers']['push'](this['_protobufDescriptor']['compress'](_0x5e88d8)),_0x4897c7['types']['push'](this['_id']),!0x0;}['decompress'](_0x44d590,_0x5cab71){_0x5cab71['typeIndex']++;const _0x42aaea=_0x5cab71['buffers'][_0x5cab71['bufferIndex']++],_0x3c9519=this['_protobufDescriptor']['decompress'](_0x42aaea);_0x6f635e(_0x3c9519),_0x3c9519['__className']=this['_operationName'],_0x44d590['push'](_0x3c9519);}}class AttributeOperationCompressor extends OperationCompressor{['compress'](_0x1e1a57,_0x50e866){const _0x52eae7=_0x50e866['operations'][_0x50e866['index']++];return this['_serializeOneOf']('oldValue',_0x52eae7),this['_serializeOneOf']('newValue',_0x52eae7),_0x5271f3(_0x52eae7),_0x1e1a57['buffers']['push'](this['_protobufDescriptor']['compress'](_0x52eae7)),_0x1e1a57['types']['push'](this['_id']),!0x0;}['decompress'](_0x2bdc11,_0x1058b3){_0x1058b3['typeIndex']++;const _0x178f3a=_0x1058b3['buffers'][_0x1058b3['bufferIndex']++],_0x4e14c1=this['_protobufDescriptor']['decompress'](_0x178f3a);this['_deserializeOneOf']('oldValue',_0x4e14c1),this['_deserializeOneOf']('newValue',_0x4e14c1),_0x6f635e(_0x4e14c1),_0x4e14c1['__className']=this['_operationName'],_0x2bdc11['push'](_0x4e14c1);}['_serializeOneOf'](_0x120538,_0x3f4f58){const _0x574106=_0x3f4f58[_0x120538];'boolean'==typeof _0x574106?_0x3f4f58[_0x120538+'Boolean']=_0x574106:_0x3f4f58[_0x120538+'Json']=JSON['stringify'](_0x574106);}['_deserializeOneOf'](_0x83d7c7,_0x4926df){const _0x5d37a5=_0x83d7c7+'Json';_0x4926df[_0x5d37a5]?(_0x4926df[_0x83d7c7]=JSON['parse'](_0x4926df[_0x5d37a5]),delete _0x4926df[_0x5d37a5]):(_0x4926df[_0x83d7c7]=_0x4926df[_0x83d7c7+'Boolean'],delete _0x4926df[_0x83d7c7+'Boolean']);}}class InsertOperationCompressor extends OperationCompressor{['compress'](_0x4fee82,_0x2a2463){const _0x475691=_0x2a2463['operations'][_0x2a2463['index']++];return this['_serializeNodesAttributes'](_0x475691['nodes']),_0x5271f3(_0x475691),_0x4fee82['buffers']['push'](this['_protobufDescriptor']['compress'](_0x475691)),_0x4fee82['types']['push'](this['_id']),!0x0;}['decompress'](_0x417cdf,_0x278c9b){_0x278c9b['typeIndex']++;const _0x54202d=_0x278c9b['buffers'][_0x278c9b['bufferIndex']++],_0x286dbf=this['_protobufDescriptor']['decompress'](_0x54202d);_0x286dbf['nodes']||(_0x286dbf['nodes']=[]),this['_deserializeNodesAttributes'](_0x286dbf['nodes']),_0x6f635e(_0x286dbf),_0x286dbf['__className']=this['_operationName'],_0x417cdf['push'](_0x286dbf);}['_serializeNodesAttributes'](_0x44de69){for(const _0x199e63 of _0x44de69){if(_0x199e63['attributes']){const _0x1333ab=_0x199e63['attributes'];this['_areValuesBoolean'](_0x1333ab)?_0x199e63['attributesBoolean']=_0x1333ab:_0x199e63['attributesJson']=JSON['stringify'](_0x1333ab);}_0x199e63['children']&&this['_serializeNodesAttributes'](_0x199e63['children']);}}['_deserializeNodesAttributes'](_0x29eeb5){for(const _0x5b4a6f of _0x29eeb5)(_0x5b4a6f['attributesBoolean']||_0x5b4a6f['attributesJson'])&&(_0x5b4a6f['attributesBoolean']?(_0x5b4a6f['attributes']=_0x5b4a6f['attributesBoolean'],delete _0x5b4a6f['attributesBoolean']):(_0x5b4a6f['attributes']=JSON['parse'](_0x5b4a6f['attributesJson']),delete _0x5b4a6f['attributesJson'])),_0x5b4a6f['children']&&this['_deserializeNodesAttributes'](_0x5b4a6f['children']);}['_areValuesBoolean'](_0x1eecff){return Object['keys'](_0x1eecff)['every'](_0x330fb4=>'boolean'==typeof _0x1eecff[_0x330fb4]);}}class MarkerOperationCompressor extends OperationCompressor{['decompress'](_0x1beef1,_0x40b3a4){super['decompress'](_0x1beef1,_0x40b3a4);const _0x458caf=_0x1beef1[_0x1beef1['length']-0x1];_0x458caf['oldRange']||(_0x458caf['oldRange']=null),_0x458caf['newRange']||(_0x458caf['newRange']=null);}}class NoOperationCompressor extends OperationCompressor{['compress'](_0x40a0a9,_0x231351){return _0x231351['index']++,_0x40a0a9['types']['push'](this['_id']),!0x0;}['decompress'](_0x48c38b,_0x540645){_0x540645['typeIndex']++,_0x48c38b['push']({'__className':this['_operationName']});}}class AnnotationMarkerOperationCompressor extends MarkerOperationCompressor{['_omittedNamespace'];constructor(_0x4c1988,_0x33bf3c,_0x4fc3d9,_0x1a9f8e){super(_0x4c1988,_0x33bf3c,_0x4fc3d9),this['_omittedNamespace']=_0x1a9f8e+':';}['compress'](_0x4f70a1,_0x1466cf){const _0x218447=_0x1466cf['operations'][_0x1466cf['index']];return!('MarkerOperation'!=_0x218447['__className']||!_0x218447['name']['startsWith'](this['_omittedNamespace']))&&(_0x218447['name']=_0x218447['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x4f70a1,_0x1466cf),!0x0);}['decompress'](_0x2627a3,_0x125190){super['decompress'](_0x2627a3,_0x125190);const _0x572f42=_0x2627a3[_0x2627a3['length']-0x1];_0x572f42['name']=this['_omittedNamespace']+_0x572f42['name'];}}class ActionCompressor{['_id'];['_context'];constructor(_0x14716c,_0x274e2f){this['_id']=_0x14716c,this['_context']=_0x274e2f;}['compress'](_0x50cc6f,_0x1ee358){let _0x22bd82,_0x228286=_0x1ee358['operations'][_0x1ee358['index']],_0x3d3a13=_0x1ee358['operations'][_0x1ee358['index']+0x1];for(;_0x3d3a13&&this['_compareOperations'](_0x228286,_0x3d3a13);)_0x22bd82?(_0x22bd82=this['_combineNext'](_0x228286,_0x22bd82),_0x50cc6f['types']['push'](0x0)):(_0x22bd82=_0xed69dc(_0x228286),_0x50cc6f['types']['push'](this['_id'])),_0x1ee358['index']++,_0x228286=_0x1ee358['operations'][_0x1ee358['index']],_0x3d3a13=_0x1ee358['operations'][_0x1ee358['index']+0x1];return!!_0x22bd82&&(_0x22bd82=this['_combineNext'](_0x1ee358['operations'][_0x1ee358['index']++],_0x22bd82),_0x50cc6f['types']['push'](0x0),_0x50cc6f['buffers']['push'](this['_compressSingleOperation'](_0x22bd82)),!0x0);}['decompress'](_0x24fe0f,_0x5f10ae){const _0x70978e=this['_decompressSingleOperation'](_0x5f10ae);for(;0x0==_0x5f10ae['types'][_0x5f10ae['typeIndex']];)_0x5f10ae['typeIndex']++,_0x24fe0f['push'](this['_splitCurrent'](_0x70978e));_0x24fe0f['push'](_0x70978e);}}class TypingActionCompressor extends ActionCompressor{['_combineNext'](_0x53200b,_0x45a2e7){return _0x45a2e7['nodes'][0x0]['data']+=_0x53200b['nodes'][0x0]['data'],_0x45a2e7;}['_splitCurrent'](_0xdeb104){const _0x14182d=_0xed69dc(_0xdeb104),_0x100328=_0x14182d['nodes'][0x0],_0x35e82c=_0xdeb104['nodes'][0x0],_0x5e01b4=_0x35e82c['data'][Symbol['iterator']]()['next']()['value'],_0x275ec6=_0x5e01b4['length'];return _0x100328['data']=_0x5e01b4,_0x35e82c['data']=_0x35e82c['data']['substr'](_0x275ec6),_0xdeb104['position']=_0xf7c99(_0xdeb104['position'],_0x275ec6),_0x14182d;}['_compareOperations'](_0x5764c5,_0x558ba1){if(this['_checkOperation'](_0x5764c5)&&this['_checkOperation'](_0x558ba1)){const _0x1789bd=_0x5764c5['nodes'][0x0]['data']['length'],_0x485379=_0x2f40b7(_0xf7c99(_0x5764c5['position'],_0x1789bd),_0x558ba1['position']),_0x235dd1=_0x5764c5['nodes'][0x0],_0x3ac389=_0x558ba1['nodes'][0x0];return _0x485379&&this['_compareAttributes'](_0x235dd1,_0x3ac389);}return!0x1;}['_compressSingleOperation'](_0x2a4008){const _0x14a0cc={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x14a0cc,{'operations':[_0x2a4008],'index':0x0}),_0x14a0cc['buffers'][0x0];}['_decompressSingleOperation'](_0x296027){const _0x529912=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x529912,_0x296027),_0x529912[0x0];}['_checkOperation'](_0x1c94c2){return'InsertOperation'==_0x1c94c2['__className']&&0x1==_0x1c94c2['nodes']['length']&&_0x1c94c2['nodes'][0x0]['data']&&!_0x1c94c2['wasUndone']&&0x1==Array['from'](_0x1c94c2['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x225f06,_0x412c1e){const _0x50c0cf=Object['keys'](_0x225f06['attributes']||{}),_0x1d910b=Object['keys'](_0x412c1e['attributes']||{});return _0x50c0cf['length']===_0x1d910b['length']&&_0x50c0cf['every'](_0x3af42b=>_0x412c1e['attributes'][_0x3af42b]&&_0x412c1e['attributes'][_0x3af42b]===_0x225f06['attributes'][_0x3af42b]);}}class DeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x5db376,_0x3dfae5){return _0x3dfae5['howMany']++,_0x3dfae5['sourcePosition']=_0xed69dc(_0x5db376['sourcePosition']),_0x3dfae5;}['_splitCurrent'](_0x59234a){const _0x4c5bf7=_0xed69dc(_0x59234a);return _0x59234a['howMany']--,_0x4c5bf7['howMany']=0x1,_0x4c5bf7['sourcePosition']=_0xf7c99(_0x4c5bf7['sourcePosition'],_0x59234a['howMany']),_0x4c5bf7;}['_compareOperations'](_0x133a8c,_0x43d3ff){return!(!this['_checkOperation'](_0x133a8c)||!this['_checkOperation'](_0x43d3ff))&&(_0x2f40b7(_0xf7c99(_0x133a8c['sourcePosition'],-0x1),_0x43d3ff['sourcePosition'])&&_0x2f40b7(_0x133a8c['targetPosition'],_0x43d3ff['targetPosition']));}['_compressSingleOperation'](_0x44f458){const _0x124b4a={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x124b4a,{'operations':[_0x44f458],'index':0x0}),_0x124b4a['buffers'][0x0];}['_decompressSingleOperation'](_0x435c77){const _0x39efb5=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x39efb5,_0x435c77),_0x39efb5[0x0];}['_checkOperation'](_0x300aa5){return'MoveOperation'==_0x300aa5['__className']&&'$graveyard'==_0x300aa5['targetPosition']['root']&&0x1==_0x300aa5['howMany']&&!_0x300aa5['wasUndone'];}}class ForwardDeletingActionCompressor extends ActionCompressor{['_combineNext'](_0x1d409c,_0x1fc255){return _0x1fc255['howMany']++,_0x1fc255;}['_splitCurrent'](_0x294f93){const _0x29b63d=_0xed69dc(_0x294f93);return _0x29b63d['howMany']=0x1,_0x294f93['howMany']--,_0x29b63d;}['_compareOperations'](_0x50278b,_0x393f79){return!(!this['_checkOperation'](_0x50278b)||!this['_checkOperation'](_0x393f79))&&(_0x2f40b7(_0x50278b['sourcePosition'],_0x393f79['sourcePosition'])&&_0x2f40b7(_0x50278b['targetPosition'],_0x393f79['targetPosition']));}['_compressSingleOperation'](_0x3e4ea3){const _0x4db438={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x4db438,{'operations':[_0x3e4ea3],'index':0x0}),_0x4db438['buffers'][0x0];}['_decompressSingleOperation'](_0x41d01c){const _0x49717b=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x49717b,_0x41d01c),_0x49717b[0x0];}['_checkOperation'](_0x5469de){return'MoveOperation'==_0x5469de['__className']&&'$graveyard'==_0x5469de['targetPosition']['root']&&0x1==_0x5469de['howMany']&&!_0x5469de['wasUndone'];}}class UserSelectionActionCompressor extends ActionCompressor{['compress'](_0xe06cf0,_0x4c9a8a){if(!this['_compareOperations'](_0x4c9a8a['operations'][_0x4c9a8a['index']],_0x4c9a8a['operations'][_0x4c9a8a['index']+0x1]))return!0x1;const _0x4b7f0c=_0x4c9a8a['operations'][_0x4c9a8a['index']++];return _0x4b7f0c['oldRange']=null,_0x4b7f0c['newRange']&&_0x2f40b7(_0x4b7f0c['newRange']['start'],_0x4b7f0c['newRange']['end'])&&(_0x4b7f0c['newRange']['end']=null),_0x4c9a8a['index']++,_0xe06cf0['types']['push'](this['_id']),_0xe06cf0['types']['push'](0x0),_0xe06cf0['buffers']['push'](this['_compressSingleOperation'](_0x4b7f0c)),!0x0;}['decompress'](_0x5f21e4,_0x22114c){const _0x555339=this['_decompressSingleOperation'](_0x22114c);_0x555339['newRange']&&!_0x555339['newRange']['end']&&(_0x555339['newRange']['end']=_0xed69dc(_0x555339['newRange']['start']));const _0x40dddd=_0xed69dc(_0x555339);_0x40dddd['newRange']&&(_0x40dddd['newRange']['start']['stickiness']='toNone',_0x40dddd['newRange']['end']=_0xed69dc(_0x40dddd['newRange']['start'])),_0x40dddd['name']='user:position:'+_0x40dddd['name']['split'](':')[0x2],_0x22114c['typeIndex']++,_0x5f21e4['push'](_0x555339),_0x5f21e4['push'](_0x40dddd);}['_compressSingleOperation'](_0xb7e210){const _0x1fab0a={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x1fab0a,{'operations':[_0xb7e210],'index':0x0}),_0x1fab0a['buffers'][0x0];}['_decompressSingleOperation'](_0x16acb3){const _0x13bf95=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x13bf95,_0x16acb3),_0x13bf95[0x0];}['_compareOperations'](_0x3a9710,_0x4647d5){return!(!_0x3a9710||!_0x4647d5)&&('MarkerOperation'==_0x3a9710['__className']&&'MarkerOperation'==_0x4647d5['__className']&&!(!_0x3a9710['name']['startsWith']('user:')||!_0x4647d5['name']['startsWith']('user:')||_0x3a9710['name']==_0x4647d5['name']));}}class _0x3635cf{['_compressorById'];['_compressorByName'];['_protobufFactory'];constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new ProtobufFactory();const _0x37437c=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',_0x37437c,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new AnnotationMarkerOperationCompressor(0x13,'MarkerOperation',_0x37437c,'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'](_0x562c5e){if(!_0x562c5e||!_0x562c5e[0x0])throw new _0x22b56d['CKEditorError']('no-operations-provided',this);const _0x181666={'operations':_0x562c5e,'index':0x0},_0x597c4e={'types':[],'buffers':[],'baseVersion':_0x562c5e[0x0]['baseVersion']};for(;_0x181666['index']<_0x181666['operations']['length'];){if(this['_getCompressorByName']('UserSelectionAction')['compress'](_0x597c4e,_0x181666))continue;if(this['_getCompressorByName']('TypingAction')['compress'](_0x597c4e,_0x181666))continue;if(this['_getCompressorByName']('DeletingAction')['compress'](_0x597c4e,_0x181666))continue;if(this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x597c4e,_0x181666))continue;if(this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x597c4e,_0x181666))continue;if(this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x597c4e,_0x181666))continue;const _0x121525=_0x181666['operations'][_0x181666['index']]['__className'];this['_getCompressorByName'](_0x121525)['compress'](_0x597c4e,_0x181666);}return _0x597c4e;}['decompress'](_0x43fea8){const _0x524c94=[],_0x5d82b8={'types':_0x43fea8['types'],'buffers':_0x43fea8['buffers'],'baseVersion':_0x43fea8['baseVersion'],'typeIndex':0x0,'bufferIndex':0x0};for(;_0x5d82b8['typeIndex']<_0x5d82b8['types']['length'];){const _0x19fcb6=_0x5d82b8['types'][_0x5d82b8['typeIndex']],_0x20a16e=this['_compressorById']['get'](_0x19fcb6);if(!_0x20a16e)throw new _0x22b56d['CKEditorError']('decompress-compressor-not-found',this,{'type':_0x19fcb6});_0x20a16e['decompress'](_0x524c94,_0x5d82b8);}return _0x524c94['forEach']((_0xd43720,_0x58292f)=>_0xd43720['baseVersion']=_0x43fea8['baseVersion']+_0x58292f),_0x524c94;}['_getCompressorByName'](_0x345d83){return this['_compressorByName']['get'](_0x345d83);}['_registerOperationCompressor'](_0x370d37,_0x4ace5f,_0x5400c1){const _0x580b21=new _0x5400c1(_0x370d37,_0x4ace5f,this['_protobufFactory']['getDescriptor'](_0x4ace5f));this['_registerCompressor'](_0x370d37,_0x4ace5f,_0x580b21);}['_registerActionCompressor'](_0x272162,_0x2b3aed,_0x1fcd6b){const _0x13851c=new _0x1fcd6b(_0x272162,this);this['_registerCompressor'](_0x272162,_0x2b3aed,_0x13851c);}['_registerCompressor'](_0x176d4d,_0xe759df,_0x2b9d86){this['_compressorById']['set'](_0x176d4d,_0x2b9d86),this['_compressorByName']['set'](_0xe759df,_0x2b9d86);}}let _0x2f5009=0x1;class RealTimeCollaborationClient extends _0x22b56d['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,_0x548455,_0x3b6db9,_0x22b56d['PendingActions'],_0x433f5f,_0x22b56d['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 _0x5680db=this['serverHistory']['getOperations']();for(let _0x16a746=_0x5680db['length']-0x1;_0x16a746>=0x0;_0x16a746--){const _0x54c288=_0x5680db[_0x16a746];if(!this['_disconnectionOperations']['has'](_0x54c288))return _0x54c288['baseVersion']+0x1-this['_offset'];}return 0x0;}constructor(_0xe400f3){if(super(_0xe400f3),this['_offset']=0x0,this['sessionId']=null,this['serverHistory']=new _0x22b56d['History'](),this['editor']['config']['define']('collaboration',{}),this['_channelId']=this['editor']['config']['get']('collaboration.channelId'),!this['_channelId'])throw new _0x22b56d['CKEditorError']('collaboration-missing-channelid',this);const _0x387416=_0xe400f3['config']['get']('cloudServices.bundleVersion')||_0x22b56d['version'];this['_service']=new RealTimeCollaborationClient['CollaborativeEditingService'](_0x387416,this['_channelId']),this['_document']=this['editor']['model']['document'],this['_compressor']=new _0x3635cf(),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 _0x5166f5=this['editor'],_0x2ff970=_0x5166f5['plugins']['get'](_0x433f5f),_0x3d2f1d=_0x5166f5['plugins']['get'](WebSocketGateway);this['listenTo'](_0x2ff970,'getOperationAuthor',(_0x23e4b3,_0x9f98ae)=>{const _0x59bfd3=_0x9f98ae[0x0];_0x59bfd3['_authorId']&&(_0x23e4b3['return']=_0x2ff970['getUser'](_0x59bfd3['_authorId']),_0x23e4b3['stop']()),null===_0x59bfd3['_authorId']&&(_0x23e4b3['return']=null,_0x23e4b3['stop']());},{'priority':'high'}),this['listenTo'](_0x5166f5['model']['document']['selection'],'change:range',(_0x11acb3,_0xd19179)=>{_0xd19179['directChange']&&this['_refreshUserSelectionMarkers']();}),this['listenTo'](_0x5166f5['editing']['view'],'change:hasDomSelection',()=>{this['_refreshUserSelectionMarkers']();}),this['_initThrowingOnDataSet'](),_0x5166f5['model']['on']('applyOperation',(_0x1c3ae8,_0x14bf3e)=>{const _0x123d38=_0x14bf3e[0x0];_0x123d38['isDocumentOperation']&&(this['_saveOperationInBuffer'](_0x123d38),this['_shouldSendUpdate']()&&this['_sendBufferedOperationsDelayed']());}),this['_setUpDataInit'](),this['bind']('_isEditingAllowed')['to'](_0x3d2f1d,'state',this,'_hasSynchronizationProblem',(_0x592352,_0x3b626b)=>'connected'===_0x592352&&!_0x3b626b),this['on']('change:_isEditingAllowed',()=>{this['_isEditingAllowed']?_0x5166f5['disableReadOnlyMode']('rtc-offline'):_0x5166f5['enableReadOnlyMode']('rtc-offline');}),this['_isEditingAllowed']?_0x5166f5['disableReadOnlyMode']('rtc-offline'):_0x5166f5['enableReadOnlyMode']('rtc-offline'),this['set']('_isConnected',!0x1);}async['reconnect'](){const _0x3318de=this['editor']['plugins']['get'](_0x548455),_0x14f12d=this['editor']['plugins']['get'](WebSocketGateway);try{this['_isPendingUpdate']=!0x0,_0x3318de['unregister'](this['_channelId']);const _0x51aa6e=await this['_service']['reconnect'](_0x14f12d['connection'],this['lastSyncVersion']);await this['_handleReconnectionResponse'](_0x51aa6e)&&(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());const _0x3be275=await this['_service']['getConnectedSessions']();_0x3318de['register'](this['_channelId'],_0x3be275),this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}catch(_0x409a99){if(function(_0x169727){return'404'===_0x169727['code'];}(_0x409a99)&&this['sessionId'])await this['_connectAfterSessionHasBeenFlushed']();else{if(function(_0x76d1fb){return'409'===_0x76d1fb['code'];}(_0x409a99)){const _0x455abb=_0x54de7e(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'](_0x455abb);}else{if(!(_0x409a99 instanceof ReconnectionError))throw _0x409a99;this['_handleReconnectionError']();}}}}['destroy'](){const _0x1b9211=this['editor']['plugins']['get'](WebSocketGateway),_0xcfef53=this['editor']['plugins']['get'](_0x548455);this['editor']['enableReadOnlyMode']('rtc-destroyed'),_0xcfef53['channelSessions']['has'](this['_channelId'])&&_0xcfef53['unregister'](this['_channelId']),_0x1b9211['removeFromReconnectionStack'](this),this['_disconnectService'](),super['destroy']();}async['_handleReconnectionResponse'](_0x5704f7){if(this['sessionId']!==_0x5704f7['sessionId']&&this['_lastSyncedOperationId']!==_0x5704f7['lastOperationId'])throw new ReconnectionError();return this['sessionId']=_0x5704f7['sessionId'],this['_handleServerResponse']([],{..._0x5704f7,'wereChangesApplied':!0x1,'data':_0x5704f7['data']},'reconnect');}async['_connectService'](_0x3cbd99,_0x556dd1=!0x1){const {connection:_0x1c4610}=this['editor']['plugins']['get'](WebSocketGateway);RealTimeCollaborationClient['CollaborativeEditingService']['getConnectedSessions'](_0x1c4610,this['_channelId'])['then'](_0x3220e9=>this['_initSessionsHandling'](_0x3220e9))['catch'](_0xbd2b6e=>{this['_crash']('realtimecollaborationclient-init-session-connection-error',_0xbd2b6e);}),this['listenTo'](this['_service'],'operationsReceived',this['_handleReceivedOperations']['bind'](this)),this['listenTo'](this['_service'],'error',(_0x1e4a6a,_0x4130b2)=>{this['_crash']('realtimecollaborationclient-init-service-internal-error',_0x4130b2);}),this['listenTo'](this['_service'],'disconnected',()=>{this['_isConnected']=!0x1;});const _0x553e36=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x3cbd99);this['_isPendingUpdate']=!0x0;const _0x1010e5=await this['_service']['connect'](_0x1c4610,this['_compressOperations'](_0x3cbd99),_0x553e36);if(this['sessionId']=_0x1010e5['sessionId'],_0x556dd1){if(!_0x1010e5['wereChangesApplied'])return void this['_handleReconnectionError']();this['_isPendingUpdate']=!0x1,this['_clearPendingAction'](),this['serverHistory']['reset'](),this['_offset']=_0x1010e5['offset'],this['serverHistory']['version']=this['_offset'],await this['_handleServerResponse'](_0x3cbd99,_0x1010e5,'reconnection:\x20flushed\x20session');}else await this['_handleInitialConnectionData'](_0x1010e5,_0x3cbd99);this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}['_handleSendingSelectionMarkers'](){const _0x372673=this['editor']['plugins']['get'](_0x548455),_0x3c23dd=this['editor']['plugins']['get'](_0x3b6db9),_0x40abe1=_0x372673['channelSessions']['get'](this['_channelId']);_0x40abe1&&_0x40abe1['length']>0x1?_0x3c23dd['createUserMarkerOperations']():this['listenTo'](_0x372673,'sessionAdd:'+this['_channelId'],()=>{0x2===_0x372673['channelSessions']['get'](this['_channelId'])['length']&&_0x3c23dd['createUserMarkerOperations']();});}async['_handleReceivedOperations'](_0x20ab18,_0x42d505,_0x157ff0,_0x4ab8e7){if(!this['_isPendingUpdate']&&this['_document']['version']==_0x42d505){const _0xd4f510=this['_decompressOperations'](_0x157ff0,_0x4ab8e7);await this['_fetchMissingUsers'](_0xd4f510),this['_handleExternalOperations'](_0xd4f510,_0x42d505,_0x157ff0['lastOperationId'])||this['_crash']('realtimecollaborationclient-init-service-incorrect-server-operation');}}async['_connectAfterSessionHasBeenFlushed'](){this['_disconnectService']();const {locale:_0x5beb27}=this['editor'];let _0x107ab9;try{_0x107ab9=await this['_service']['getDocumentDetails']();}catch{const _0x5767c3=_0x54de7e(_0x5beb27,'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'](_0x5767c3);}const _0x57b1e=_0x107ab9['currentDocumentSession']||_0x107ab9['lastDocumentSession'];if(this['_lastSyncedOperationId']!==_0x57b1e['lastOperationId']){const _0xeef2ca=_0x54de7e(_0x5beb27,'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'](_0xeef2ca);}await this['_connectService'](this['editor']['model']['document']['history']['getOperations'](),!0x0);}['_disconnectService'](){this['_service']['disconnect'](),this['_bufferedOperations']=[],clearTimeout(this['_sendBufferedOperationsDelayId']),this['stopListening'](this['_service']);}['_initSessionsHandling'](_0x5ab9e2){const _0x2aad97=this['editor']['plugins']['get'](_0x548455);this['listenTo'](_0x2aad97,'sessionAdd:'+this['_channelId'],(_0x24e437,{session:_0x22630b})=>{if(_0x22630b['id']===_0x2aad97['mySessionId']){_0x24e437['off']();const _0x11e640=this['editor']['plugins']['has']('CommentsOnly')&&this['editor']['plugins']['get']('CommentsOnly');let _0x115a4c=_0x22630b['permissions'];_0x11e640&&_0x11e640['isEnabled']&&(_0x115a4c=_0x115a4c['filter'](_0x1245d4=>'document:write'!==_0x1245d4)),this['editor']['plugins']['get']('Permissions')['setPermissions'](_0x115a4c,this['_channelId']);}}),_0x2aad97['register'](this['_channelId'],_0x5ab9e2);}['_initThrowingOnDataSet'](){const _0x55450f=this['editor']['data']['set'];this['editor']['data']['set']=(..._0x4abaab)=>{if(!_0x4abaab[_0x4abaab['length']-0x1]['suppressErrorInCollaboration'])throw new _0x22b56d['CKEditorError']('realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration',this);_0x55450f['apply'](this['editor']['data'],_0x4abaab);};}['_setUpDataInit'](){this['editor']['data']['on']('init',(_0xa0bf02,[_0x59ee2a])=>{if(this['_document']['version'])throw new _0x22b56d['CKEditorError']('realtimecollaborationclient-init-document-already-initialized',this);_0xa0bf02['stop'](),this['_setPendingAction']();const _0x495b3d=this['editor']['config']['get']('rootsAttributes'),_0xd8e21e=this['_getOperationsFromInitData'](_0x59ee2a,_0x495b3d);0x0==_0xd8e21e['length']&&_0xd8e21e['push'](new _0x22b56d['NoOperation'](0x0)),_0xa0bf02['return']=this['_connectService'](_0xd8e21e)['then'](()=>{this['editor']['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),this['editor']['data']['fire']('ready');})['catch'](_0x2e6126=>this['_crash']('realtimecollaborationclient-init-connection-failed',_0x2e6126))['finally'](()=>this['_clearPendingAction']());},{'priority':'high'}),this['editor']['on']('loadRoot',async(_0x8b0b33,[_0x461c65,_0x167c9c])=>{_0x8b0b33['stop']();const _0x405f02=this['editor']['model']['document']['getRoot'](_0x461c65);if(!this['_knownRootNames']['has'](_0x461c65)){const _0x35b92b=_0x167c9c&&_0x167c9c['data']?_0x167c9c['data']:'',_0xf5a77d=_0x167c9c&&_0x167c9c['attributes']?_0x167c9c['attributes']:{};await this['_loadRoot'](_0x461c65,_0x35b92b,_0xf5a77d);}this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x405f02['_isLoaded']=!0x0,this['editor']['model']['document']['differ']['_bufferRootLoad'](_0x405f02);});},{'priority':'high'});}async['_fetchMissingUsers'](_0x2e233b){const _0x2fba9=this['editor']['plugins']['get'](_0x433f5f),{connection:_0xa8ab1b}=this['editor']['plugins']['get'](WebSocketGateway),_0x253ec3=new Set();for(const _0x21ace7 of _0x2e233b){const _0x378b92=_0x21ace7['_authorId'];_0x378b92&&!_0x2fba9['getUser'](_0x378b92)&&_0x253ec3['add'](_0x378b92);}if(0x0===_0x253ec3['size'])return;const _0x2ab46b=await _0x266d0f['getMany'](_0xa8ab1b,Array['from'](_0x253ec3));for(const _0xa71d5d of _0x2ab46b)_0x2fba9['getUser'](_0xa71d5d['id'])||_0x2fba9['addUser'](_0xa71d5d);}['_getOperationsFromInitData'](_0x402240,_0x30e0ed={}){const _0x33d0b7=this['editor']['model'],_0x5b11c9=[];let _0x4fe92d=0x0;const _0x509003='string'==typeof _0x402240?{'main':_0x402240}:_0x402240;for(const _0x102971 of Object['keys'](_0x509003)){if(!this['_document']['roots']['has'](_0x102971))throw new _0x22b56d['CKEditorError']('realtimecollaborationclient-init-non-existent-root',this);const _0x285c82=this['editor']['data']['parse'](_0x509003[_0x102971]),_0x3d71fc=this['_document']['getRoot'](_0x102971),_0x3c12dc=new _0x22b56d['InsertOperation'](_0x33d0b7['createPositionAt'](_0x3d71fc,0x0),_0x285c82,_0x4fe92d++);_0x5b11c9['push'](_0x3c12dc);for(const [_0x478a25,_0xc8fe73]of _0x285c82['markers']){const _0x422894=_0x33d0b7['createRange'](_0x33d0b7['createPositionFromPath'](_0x3d71fc,_0xc8fe73['start']['path']['slice']()),_0x33d0b7['createPositionFromPath'](_0x3d71fc,_0xc8fe73['end']['path']['slice']())),_0x28789e=new _0x22b56d['MarkerOperation'](_0x478a25,null,_0x422894,_0x33d0b7['markers'],!0x0,_0x4fe92d++);_0x5b11c9['push'](_0x28789e);}}if(_0x30e0ed)for(const [_0x4adccf,_0x522576]of Object['entries'](_0x30e0ed)){const _0x1b8535=_0x33d0b7['document']['getRoot'](_0x4adccf);if(!_0x1b8535)throw new _0x22b56d['CKEditorError']('multi-root-editor-root-attributes-no-root',null);for(const [_0x35350c,_0x2d251b]of Object['entries'](_0x522576))if(null!==_0x2d251b){const _0x2ea28b=new _0x22b56d['RootAttributeOperation'](_0x1b8535,_0x35350c,null,_0x2d251b,_0x4fe92d++);_0x5b11c9['push'](_0x2ea28b);}}return _0x5b11c9;}async['_loadRoot'](_0x2dff80,_0x5489d7,_0x12e4e8){this['_getOperationsFromInitData']({[_0x2dff80]:_0x5489d7},{[_0x2dff80]:_0x12e4e8})['forEach']((_0x4cf2ef,_0x5ea485)=>{_0x4cf2ef['baseVersion']=this['_document']['version']+_0x5ea485,_0x4cf2ef['_isInit']=!0x0,this['_saveOperationInBuffer'](_0x4cf2ef);}),this['_sendBufferedOperationsDelayed'](),await this['_waitUntilSynced']();}async['_handleInitialConnectionData'](_0x14e288,_0x2fae85){let _0x13d1a6;this['_offset']=_0x14e288['offset'];const _0x43faf9=_0x14e288['wereChangesApplied']&&!_0x14e288['initData'],_0x7f5083=_0x43faf9?0x0:_0x14e288['data']['baseVersion'];if(_0x2fae85['forEach'](_0x1de5a1=>{_0x1de5a1['_isInit']=!0x0,_0x1de5a1['createdAt']=_0x14e288['sessionCreatedAt'],_0x1de5a1['_authorId']=null;}),_0x43faf9)_0x13d1a6=_0x2fae85,this['_applyOperationsSet'](_0x13d1a6,_0x43faf9);else{if(_0x14e288['initData']){const _0x2e3bc3=this['_getOperationsFromInitData'](_0x14e288['initData']);this['_document']['history']['version']=-_0x2e3bc3['length'],_0x2e3bc3['forEach'](_0x9d2279=>{_0x9d2279['baseVersion']-=_0x2e3bc3['length'],_0x9d2279['createdAt']=_0x14e288['sessionCreatedAt'],_0x9d2279['_isInit']=!0x0,_0x9d2279['_authorId']=null;}),this['_applyOperationsSet'](_0x2e3bc3,!0x0),this['serverHistory']['version']=-_0x2e3bc3['length']+this['_offset'],this['_updateServerHistory'](_0x2e3bc3);}this['_document']['history']['version']=_0x7f5083,_0x13d1a6=this['_decompressOperations'](_0x14e288['data'],_0x14e288['metadata']),await this['_fetchMissingUsers'](_0x13d1a6),this['_applyOperationsSet'](_0x13d1a6,_0x43faf9);}_0x14e288['lastOperationId']&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x13d1a6,_0x14e288['lastOperationId']),this['_lastSyncedOperationId']=_0x14e288['lastOperationId']),this['serverHistory']['version']=_0x7f5083+this['_offset'],this['_updateServerHistory'](_0x13d1a6),_0x2fae85['filter'](_0x3a89e2=>{const _0x535269=this['_getAffectedRoot'](_0x3a89e2);return _0x535269&&!this['_knownRootNames']['has'](_0x535269);})['forEach']((_0x2369ef,_0x46cb73)=>{_0x2369ef['baseVersion']=this['_document']['version']+_0x46cb73,this['_saveOperationInBuffer'](_0x2369ef);}),this['_shouldSendUpdate']()?(this['_currentBufferDelay']=0x0,this['_sendBufferedOperationsDelayed'](!0x0),await this['_waitUntilSynced']()):(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());}['_crash'](_0x154c17,_0x1dfed2){const _0x28094b=_0x1dfed2&&_0x1dfed2['message'];if(_0x28094b&&_0x28094b['startsWith']('realtimecollaborationclient'))throw _0x1dfed2;const _0x42e858=this['editor']['plugins']['get'](WebSocketGateway);throw this['_isPendingUpdate']=!0x0,_0x42e858['disconnect'](),this['editor']['enableReadOnlyMode']('realtimecollaborationclient-error'),new _0x22b56d['CKEditorError'](_0x154c17,this['editor'],_0x28094b?{'originalError':_0x28094b}:void 0x0);}['_saveOperationInBuffer'](_0x592703){this['_knownOperations']['has'](_0x592703)||(this['_knownOperations']['add'](_0x592703),this['_bufferedOperations']['push'](_0x592703),this['_pendingAction']||'marker'==_0x592703['type']&&!_0x592703['affectsData']||this['_setPendingAction']());}['_sendBufferedOperationsDelayed'](_0x45a84e=!0x1){!_0x45a84e&&this['_isPendingUpdate']||(this['_isPendingUpdate']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_sendBufferedOperationsDelayId']=setTimeout(()=>{this['_sendBufferedOperations']()['then'](_0x4659a6=>{_0x4659a6&&(this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1);})['catch'](_0x37b04c=>{this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1,function(_0x35f775){return _0x35f775['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x35f775['message']['startsWith']('cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.')||_0x35f775['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}(_0x37b04c)||this['_crash'](_0x37b04c['message'],_0x37b04c);});},this['_currentBufferDelay']));}['_waitUntilSynced'](){return new Promise(_0x5581e2=>{this['on']('change:_isPendingUpdate',()=>{_0x5581e2();});});}async['_sendBufferedOperations'](){const _0x34328e=this['editor']['plugins']['get'](_0x3b6db9);if(this['_shouldSendSelectionUpdate']()&&(_0x34328e['createUserMarkerOperations'](),this['_hasSelectionChanged']=!0x1),!this['_shouldSendUpdate']())return!0x0;const _0x254421=[...this['_bufferedOperations']];for(const _0x7c5ca8 of _0x254421)_0x7c5ca8['wasUndone']=this['_document']['history']['isUndoneOperation'](_0x7c5ca8);const _0x5446af=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x254421),_0x53afd6=_0x2f5009++,_0x51ee0a=this['_compressOperations'](_0x254421),_0x2e2d3e=await this['_service']['sendOperations'](_0x51ee0a,_0x51ee0a['baseVersion'],_0x5446af);try{return await this['_handleServerResponse'](_0x254421,_0x2e2d3e,_0x53afd6);}catch(_0x4cddc9){return this['_crash']('realtimecollaborationclient-sendbufferedoperations',_0x4cddc9);}}async['_handleServerResponse'](_0x40fd55,_0x44e323,_0x12aeaf){if('error'in _0x44e323)throw _0x44e323['error'];let _0x28a4ca=!0x1;if(_0x44e323['wereChangesApplied']){_0x44e323['lastOperationId']&&(this['_lastSyncedOperationId']=_0x44e323['lastOperationId']),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x57b245=>!_0x40fd55['includes'](_0x57b245));for(const _0x11be88 of _0x40fd55)_0x11be88['createdAt']='lastOperationAcceptedAt'in _0x44e323&&_0x44e323['lastOperationAcceptedAt']||void 0x0;_0x19edbc(_0x40fd55,_0x44e323['version']-_0x40fd55['length']),this['_updateServerHistory'](_0x40fd55);const _0x358d3c=_0x40fd55['filter'](_0x419cc5=>{if(!_0x419cc5['_isInit'])return!0x1;const _0x33dc3c=this['_getAffectedRoot'](_0x419cc5);return _0x33dc3c&&!this['_knownRootNames']['has'](_0x33dc3c);});_0x19edbc(_0x358d3c,this['_document']['version']),this['_applyOperationsSet'](_0x358d3c),_0x28a4ca=!0x0,this['_currentBufferDelay']=this['_baseBufferDelay'];}else{const _0x298a2f=this['_decompressOperations'](_0x44e323['data'],_0x44e323['metadata'])['filter'](_0x40789a=>_0x40789a['baseVersion']>=this['_lastServerVersion']);_0x298a2f['forEach'](_0x3e4291=>this['_addKnownRoot'](_0x3e4291)),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x17d3eb=>!_0x17d3eb['_isInit']||!this['_knownRootNames']['has'](this['_getAffectedRoot'](_0x17d3eb))),this['_bufferedOperations']['length']&&_0x19edbc(this['_bufferedOperations'],this['_bufferedOperations'][0x0]['baseVersion']),await this['_fetchMissingUsers'](_0x298a2f),_0x28a4ca=this['_handleExternalOperations'](_0x298a2f,_0x44e323['version'],_0x44e323['lastOperationId']),this['_currentBufferDelay']=Math['round'](this['_currentBufferDelay']/0x2);}return _0x28a4ca?!this['_shouldSendUpdate']()||(this['_sendBufferedOperationsDelayed'](!0x0),!0x1):this['_crash']('realtimecollaborationclient-handleserverresponse');}['_handleExternalOperations'](_0x2cd0db,_0x554aa3,_0x1b8021){try{const _0x3fd9ea={'document':this['_document'],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4282d9,operationsB:_0x520c56,originalOperations:_0x555f28}=_0x22b56d['transformOperationSets'](_0x2cd0db,this['_bufferedOperations'],_0x3fd9ea);_0x19edbc(_0x4282d9,this['_document']['version']),_0x19edbc(_0x520c56,_0x554aa3);for(const _0x54cc6f of _0x4282d9){const _0x3b2c7b=_0x555f28['get'](_0x54cc6f);_0x54cc6f['_authorId']=_0x3b2c7b?_0x3b2c7b['_authorId']:null;}_0x1b8021&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x2cd0db,_0x1b8021),this['_lastSyncedOperationId']=_0x1b8021),this['_bufferedOperations']=[..._0x520c56],this['_applyOperationsSet'](_0x4282d9),this['_updateServerHistory'](_0x2cd0db);}catch(_0x1982ed){return console['error'](_0x1982ed),!0x1;}return!0x0;}['_applyOperationsSet'](_0x103b72,_0x56dd2e=!0x1){this['editor']['model']['enqueueChange']({'isUndoable':!0x1,'isLocal':!0x1},_0x2dc30a=>{for(const _0x178074 of _0x103b72)this['_knownOperations']['add'](_0x178074),this['_addKnownRoot'](_0x178074),_0x2dc30a['batch']['addOperation'](_0x178074),this['editor']['model']['applyOperation'](_0x178074);});}['_addKnownRoot'](_0x2ac944){const _0x2df45b=this['_getAffectedRoot'](_0x2ac944);_0x2df45b&&this['_knownRootNames']['add'](_0x2df45b);}['_getAffectedRoot'](_0x5e8972){let _0x3d4f29,_0x1495d6;switch(_0x5e8972['type']){case'insert':_0x3d4f29=_0x5e8972['position']['root'];break;case'marker':if(_0x1495d6=_0x5e8972['newRange'],!_0x1495d6)return null;_0x3d4f29=_0x1495d6['root'];break;case'addRootAttribute':_0x3d4f29=_0x5e8972['root'];break;case'addRoot':_0x3d4f29=_0x5e8972['affectedSelectable'];break;case'move':_0x3d4f29=_0x5e8972['targetPosition']['root'];break;default:return null;}return _0x3d4f29['rootName'];}['_updateServerHistory'](_0x109a6d){_0x109a6d['forEach'](_0x30b540=>{const _0x2e5102=_0x30b540['clone']();_0x2e5102['_authorId']=_0x30b540['_authorId'],_0x2e5102['_isInit']=!!_0x30b540['_isInit'],_0x2e5102['createdAt']=_0x30b540['createdAt'],_0x2e5102['baseVersion']+=this['_offset'],_0x30b540['_isDisconnection']&&this['_disconnectionOperations']['add'](_0x2e5102),this['serverHistory']['addOperation'](_0x2e5102);});}['_handleReconnectionError'](_0x164241){const _0x1d9088=this['editor']['plugins']['get']('Notification'),_0x32e41f=this['editor']['locale'];_0x164241||(_0x164241=_0x54de7e(_0x32e41f,'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.')),_0x1d9088['showWarning'](_0x164241,{'title':_0x54de7e(_0x32e41f,'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'](_0x22b56d['PendingActions'])['add'](_0x54de7e(this['editor']['locale'],'PENDING_ACTION_SENDING_DATA')));}['_clearPendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get'](_0x22b56d['PendingActions'])['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_compressOperations'](_0x117e7a){const _0x16180b=_0x117e7a['map'](_0x47232a=>_0x47232a['toJSON']());return this['_compressor']['compress'](_0x16180b);}['_decompressOperations'](_0x532bff,_0x429745){return this['_compressor']['decompress'](_0x532bff)['map']((_0x4170b6,_0x235ded)=>{const _0x259332='init'==_0x429745[_0x235ded]['type'];if('InsertOperation'==_0x4170b6['__className']){const _0x5e90a6=_0x4170b6['position']['root'];!this['_document']['getRoot'](_0x5e90a6)&&(this['_document']['createRoot']('$root',_0x5e90a6)['_isAttached']=!0x1);}const _0xeab058=_0x22b56d['OperationFactory']['fromJSON'](_0x4170b6,this['_document']);return _0xeab058['wasUndone']=_0x4170b6['wasUndone'],_0xeab058['_isInit']=_0x259332,_0xeab058['_authorId']=_0x259332?null:_0x429745[_0x235ded]['userId'],_0xeab058['_isDisconnection']='cs:removeUser'===_0x429745[_0x235ded]['type'],_0xeab058['createdAt']=_0x429745[_0x235ded]['createdAt'],_0xeab058;});}['_refreshUserSelectionMarkers'](){this['_hasSelectionChanged']=!0x0,this['_shouldSendSelectionUpdate']()?this['_sendBufferedOperationsDelayed']():this['_hasSelectionChanged']=!0x1;}['_shouldSendSelectionUpdate'](){const _0x33c1d1=this['editor']['plugins']['get'](_0x548455)['channelSessions']['get'](this['_channelId']);return!this['editor']['isReadOnly']&&!!_0x33c1d1&&_0x33c1d1['length']>0x1&&this['_hasSelectionChanged'];}['_shouldSendUpdate'](){return this['_bufferedOperations']['length']>0x0||this['_shouldSendSelectionUpdate']();}}class ReconnectionError extends Error{}function _0x19edbc(_0x5b87c6,_0x3fca28){for(const _0x514940 of _0x5b87c6)_0x514940['baseVersion']=_0x3fca28++;}class OperationIdentifier{['_ignoredOperations'];['_operationToId'];constructor(_0x40c197){this['_ignoredOperations']=_0x40c197,this['_operationToId']=new WeakMap();}['getIdOfTheLastOperation'](_0x24136f){let _0x2b7179=_0x24136f['length'];for(;_0x2b7179--;){const _0x18742b=_0x24136f[_0x2b7179];if(!this['_ignoredOperations']['has'](_0x18742b)){if(!this['_operationToId']['has'](_0x18742b)){const _0x5888ac=_0x22b56d['uid']()['slice'](0x1,0x12);this['_operationToId']['set'](_0x18742b,_0x5888ac);}return this['_operationToId']['get'](_0x18742b);}}}['setIdForTheLastOperation'](_0x2665a2,_0x14e907){if(!_0x14e907)return;let _0x3e0925=_0x2665a2['length'];for(;_0x3e0925--;){const _0x27d16e=_0x2665a2[_0x3e0925];this['_ignoredOperations']['has'](_0x27d16e)||this['_operationToId']['set'](_0x27d16e,_0x14e907);}}}class RealTimeCollaborativeEditing extends _0x22b56d['Plugin']{static get['requires'](){return[RealTimeCollaborationClient];}static get['pluginName'](){return'RealTimeCollaborativeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class CloudServicesCommentsAdapter extends _0x22b56d['ContextPlugin']{static ['CommentsService']=/* #__PURE__ -- @preserve */
((()=>CommentsService)());['_services'];static get['requires'](){return[WebSocketGateway,'CommentsRepository',_0x548455,_0x433f5f];}static get['pluginName'](){return'CloudServicesCommentsAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x133efd){super(_0x133efd),this['_services']=new Map();}async['init'](){const _0x245fde=this['context'],_0x1308e0=_0x245fde['plugins']['get']('CommentsRepository');if(_0x245fde['plugins']['get'](WebSocketGateway)['addToReconnectionStack'](this),_0x1308e0['adapter']={'addCommentThread':async({channelId:_0x3f28dc,threadId:_0xe68453,comments:_0x25c661,resolvedAt:_0x171c82,resolvedBy:_0x3a212f,context:_0x1abdb5,attributes:_0x318b41})=>{const _0x4e8de6=await this['_getService'](_0x3f28dc)['addCommentThread']({'commentThreadId':_0xe68453,'comments':_0x25c661['map'](_0x44e1e7=>function(_0x2a926a,_0xc99d2d,_0x1b6dc7){return{'commentThreadId':_0x1b6dc7,'commentId':_0x2a926a['commentId'],'userId':_0x2a926a['authorId'],'content':_0x2a926a['content'],'documentId':_0xc99d2d,'createdAt':_0x2a926a['createdAt'],'attributes':_0x2a926a['attributes']||{}};}(_0x44e1e7,_0x3f28dc,_0xe68453)),'resolvedAt':_0x171c82,'resolvedBy':_0x3a212f,'context':_0x1abdb5,'attributes':_0x318b41})['catch'](tm);return{'threadId':_0x4e8de6['commentThreadId'],'comments':_0x4e8de6['comments']};},'getCommentThread':async({channelId:_0x4cf0e3,threadId:_0x13bedc})=>{const _0x594dfc=await this['_getService'](_0x4cf0e3)['getCommentThread'](_0x13bedc)['catch'](_0x27eebf)['catch'](tm);return _0x594dfc?_0x594dfc['deletedAt']?null:(await this['_fetchMissingUsersForThreads']([_0x594dfc]),{'threadId':_0x594dfc['commentThreadId'],'comments':_0x594dfc['comments']['map'](_0x220067),'context':_0x594dfc['context'],'resolvedAt':_0x594dfc['resolvedAt'],'resolvedBy':_0x594dfc['resolvedBy'],'attributes':_0x594dfc['attributes']||{}}):null;},'updateCommentThread':async({channelId:_0x458bdc,threadId:_0x5eb61d,context:_0x371f18,unlinkedAt:_0xb1ac42,attributes:_0x187a08})=>this['_getService'](_0x458bdc)['updateCommentThread']({'commentThreadId':_0x5eb61d,'context':_0x371f18,'attributes':_0x187a08,'unlinkedAt':_0xb1ac42})['catch'](_0x27eebf)['catch'](tm),'resolveCommentThread':async({channelId:_0x4aa9b3,threadId:_0x3a1490})=>{const _0x5328c6=await this['_getService'](_0x4aa9b3)['resolveCommentThread'](_0x3a1490)['catch'](_0x27eebf)['catch'](tm);return{'threadId':_0x5328c6['commentThreadId'],'resolvedAt':_0x5328c6['resolvedAt'],'resolvedBy':_0x5328c6['resolvedBy']};},'reopenCommentThread':async({channelId:_0x42bc51,threadId:_0x30d9d4})=>this['_getService'](_0x42bc51)['reopenCommentThread'](_0x30d9d4)['catch'](_0x27eebf)['catch'](tm),'removeCommentThread':({channelId:_0x306220,threadId:_0x5c73ae})=>this['_getService'](_0x306220)['removeCommentThread'](_0x5c73ae)['catch'](_0x27eebf)['catch'](tm),'addComment':({channelId:_0x61f648,threadId:_0x1d2ffc,commentId:_0xe137a5,content:_0x444d90,attributes:_0x4b26a0})=>this['_getService'](_0x61f648)['addComment'](_0x1d2ffc,_0xe137a5,_0x444d90,_0x4b26a0)['catch'](tm),'updateComment':({channelId:_0x1f5657,threadId:_0x5cc182,commentId:_0x416c2c,content:_0x36f046,attributes:_0x562ea6})=>this['_getService'](_0x1f5657)['updateComment'](_0x5cc182,_0x416c2c,_0x36f046,_0x562ea6)['catch'](_0x27eebf)['catch'](tm),'removeComment':({channelId:_0x557ea2,threadId:_0x4cb3e2,commentId:_0x2e4e57})=>this['_getService'](_0x557ea2)['removeComment'](_0x4cb3e2,_0x2e4e57)['catch'](_0x27eebf)['catch'](tm)},_0x245fde instanceof _0x22b56d['Context']){const _0x31e672=_0x245fde['config']['get']('collaboration.channelId'),_0x22b3d4=_0x245fde['plugins']['get'](_0x548455);await this['_setUpService'](_0x31e672);const _0x47f4b7=await this['_services']['get'](_0x31e672)['getConnectedSessions']();this['listenTo'](_0x22b3d4,'sessionAdd:'+_0x31e672,(_0x24b8af,{session:_0x4a1219})=>{_0x4a1219['id']===_0x22b3d4['mySessionId']&&(_0x24b8af['off'](),this['context']['plugins']['get']('Permissions')['setPermissions'](_0x4a1219['permissions'],_0x31e672));}),_0x22b3d4['register'](_0x31e672,_0x47f4b7);}}async['_setUpService'](_0x5d9347){if(this['_services']['has'](_0x5d9347))throw new _0x22b56d['CKEditorError']('cloudservicescommentsadapter-connect-already-connected',null,{'channelId':_0x5d9347});const _0x36a95e=this['context']['plugins']['get']('CommentsRepository'),_0xa2d548=new CloudServicesCommentsAdapter['CommentsService'](_0x5d9347);this['_services']['set'](_0x5d9347,_0xa2d548),this['listenTo'](_0xa2d548,'commentThreadAdded',(_0x448a20,_0x4f6d26)=>{const {commentThreadId:_0x5b20d8,documentId:_0xc6a12,context:_0x5a64e9,attributes:_0x3252e8,resolvedAt:_0x5b43fb,resolvedBy:_0x3f65f5,comments:_0x38d6ae}=_0x4f6d26;_0x36a95e['getCommentThread'](_0x5b20d8)||_0x36a95e['addCommentThread']({'threadId':_0x5b20d8,'channelId':_0xc6a12,'comments':_0x38d6ae?_0x38d6ae['map'](_0x220067):[],'context':_0x5a64e9,'attributes':_0x3252e8,'resolvedAt':_0x5b43fb,'resolvedBy':_0x3f65f5,'isFromAdapter':!0x0});}),this['listenTo'](_0xa2d548,'commentThreadUpdated',(_0x476b96,{commentThreadId:_0x421e86,documentId:_0xb663a3,context:_0x50e0ef,unlinkedAt:_0x3c98c3,attributes:_0xa57de6})=>{_0x36a95e['getCommentThread'](_0x421e86)&&_0x36a95e['updateCommentThread']({'threadId':_0x421e86,'channelId':_0xb663a3,'context':_0x50e0ef,'unlinkedAt':_0x3c98c3,'attributes':_0xa57de6,'isFromAdapter':!0x0});}),this['listenTo'](_0xa2d548,'commentThreadResolved',(_0x56c8bd,{commentThreadId:_0x574505,resolvedBy:_0x214858,resolvedAt:_0x276fd8})=>{const _0x26979a=_0x36a95e['getCommentThread'](_0x574505);_0x26979a&&_0x26979a['resolve']({'resolvedBy':_0x214858,'resolvedAt':_0x276fd8,'isFromAdapter':!0x0});}),this['listenTo'](_0xa2d548,'commentThreadReopened',(_0x480dad,{commentThreadId:_0x1bc1c8})=>{const _0x167275=_0x36a95e['getCommentThread'](_0x1bc1c8);_0x167275&&_0x167275['reopen']({'isFromAdapter':!0x0});}),this['listenTo'](_0xa2d548,'commentThreadRemoved',(_0x2a0f55,{commentThreadId:_0x11b567})=>{const _0x152e21=_0x36a95e['getCommentThread'](_0x11b567);_0x152e21&&_0x152e21['remove']({'isFromAdapter':!0x0});}),this['listenTo'](_0xa2d548,'commentAdded',(_0x1ce847,_0x50ec3b)=>{const _0x94dd0b=_0x50ec3b['commentThreadId'],_0x5cff2b=_0x36a95e['getCommentThread'](_0x94dd0b);_0x5cff2b&&_0x5cff2b['addComment']({..._0x220067(_0x50ec3b),'isFromAdapter':!0x0});}),this['listenTo'](_0xa2d548,'commentUpdated',(_0x21331c,{commentThreadId:_0x3e3334,commentId:_0x20d04a,content:_0x5c0a2f,attributes:_0x5c41eb})=>{const _0x36f642=_0x36a95e['getCommentThread'](_0x3e3334);if(_0x36f642){const _0x38e6ed=_0x36f642['getComment'](_0x20d04a);_0x38e6ed&&_0x38e6ed['update']({'content':_0x5c0a2f,'attributes':_0x5c41eb,'isFromAdapter':!0x0});}}),this['listenTo'](_0xa2d548,'commentRemoved',(_0x4a3353,{commentThreadId:_0x24ffc8,commentId:_0x3ab268})=>{const _0x1f6f9f=_0x36a95e['getCommentThread'](_0x24ffc8);if(_0x1f6f9f){const _0x42d036=_0x1f6f9f['getComment'](_0x3ab268);_0x42d036&&_0x42d036['remove']({'isFromAdapter':!0x0});}}),await this['_connectService'](_0x5d9347);}['destroy'](){if(this['context']instanceof _0x22b56d['Context']){const _0xe47802=this['context']['config']['get']('collaboration.channelId');this['_terminateService'](_0xe47802);}}['_terminateService'](_0x5d174c){if(!this['_services']['has'](_0x5d174c))throw new _0x22b56d['CKEditorError']('cloudservicescommentsadapter-disconnect-not-exist',null,{'channelId':_0x5d174c});this['_getService'](_0x5d174c)['disconnect'](),this['_services']['delete'](_0x5d174c);}async['reconnect'](){for(const _0x3da584 of this['_services']['keys']())await this['_connectService'](_0x3da584);if(this['context']instanceof _0x22b56d['Context']){const _0xaa389e=this['context']['config']['get']('collaboration.channelId'),_0x41f47a=this['context']['plugins']['get'](_0x548455);_0x41f47a['unregister'](_0xaa389e);const _0x30a028=await this['_services']['get'](_0xaa389e)['getConnectedSessions']();_0x41f47a['register'](_0xaa389e,_0x30a028);}}async['_connectService'](_0x3a5a9c){const {connection:_0x48c0cd}=this['context']['plugins']['get'](WebSocketGateway),_0xea695d=this['context']['plugins']['get']('CommentsRepository'),_0x149738=this['_services']['get'](_0x3a5a9c),_0x3e2d6c=await _0x149738['connect'](_0x48c0cd);await this['_fetchMissingUsersForThreads'](_0x3e2d6c);const _0x219641=new Set(Array['from'](_0xea695d['getCommentThreads']({'channelId':_0x3a5a9c}),_0x2366c7=>_0x2366c7['id']));for(const _0x1b3104 of _0x3e2d6c)_0x1b3104['deletedAt']||_0x219641['delete'](_0x1b3104['commentThreadId']);for(const _0x161be7 of _0x219641)_0xea695d['getCommentThread'](_0x161be7)['remove']({'isFromAdapter':!0x0});for(const _0x133f1a of _0x3e2d6c){let _0x39a299=_0xea695d['getCommentThread'](_0x133f1a['commentThreadId']);const {commentThreadId:_0xc021a4,context:_0x555065,attributes:_0x5e76f7,resolvedBy:_0x425215,resolvedAt:_0x1af1eb,unlinkedAt:_0x30c4e4,deletedAt:_0x4903b1}=_0x133f1a;if(_0x4903b1)continue;_0x39a299||(_0x39a299=_0xea695d['addCommentThread']({'channelId':_0x3a5a9c,'threadId':_0xc021a4,'context':_0x555065,'attributes':_0x5e76f7||{},'resolvedBy':_0x425215,'resolvedAt':_0x1af1eb,'unlinkedAt':_0x30c4e4,'isFromAdapter':!0x0}));const _0x463729=new Set(Array['from'](_0x39a299['comments'],_0x5c4b54=>_0x5c4b54['id']));for(const _0x34fd01 of _0x133f1a['comments'])_0x463729['delete'](_0x34fd01['commentId']);for(const _0x4c9ba0 of _0x463729)_0x39a299['getComment'](_0x4c9ba0)['remove']({'isFromAdapter':!0x0});for(const _0x41a0eb of _0x133f1a['comments']){const _0x487b72=_0x39a299['getComment'](_0x41a0eb['commentId']);_0x487b72?_0x487b72['content']!==_0x41a0eb['content']&&_0x487b72['update']({'content':_0x41a0eb['content'],'isFromAdapter':!0x0}):_0x39a299['addComment'](Object['assign'](_0x220067(_0x41a0eb),{'isFromAdapter':!0x0}));}}}['_getService'](_0x336dd5){if(!this['_services']['has'](_0x336dd5))throw new _0x22b56d['CKEditorError']('cloudservicescommentsadapter-service-not-exist',null,{'channelId':_0x336dd5});return this['_services']['get'](_0x336dd5);}async['_fetchMissingUsersForThreads'](_0x54b3fc){const _0x15ee5b=this['context']['plugins']['get'](_0x433f5f),{connection:_0x58db1f}=this['context']['plugins']['get'](WebSocketGateway),_0x2d0322=new Set();for(const {resolvedBy:_0x3cc6a4,comments:_0x3ef4a3}of _0x54b3fc){_0x3cc6a4&&!_0x15ee5b['getUser'](_0x3cc6a4)&&_0x2d0322['add'](_0x3cc6a4);for(const {userId:_0x54e9f8}of _0x3ef4a3)_0x15ee5b['getUser'](_0x54e9f8)||_0x2d0322['add'](_0x54e9f8);}if(0x0===_0x2d0322['size'])return;const _0x4ceb68=await _0x266d0f['getMany'](_0x58db1f,Array['from'](_0x2d0322));for(const _0x1a7fa9 of _0x4ceb68)_0x15ee5b['getUser'](_0x1a7fa9['id'])||_0x15ee5b['addUser'](_0x1a7fa9);}}async function _0x27eebf(_0x4588c7){if('404'!==_0x4588c7['code'])throw _0x4588c7;}function tm(_0x37e9d5){if((_0x589216=_0x37e9d5)['message']['startsWith']('cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.')||_0x589216['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x589216['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.'))return new Promise(()=>{});var _0x589216;throw _0x37e9d5;}function _0x220067(_0x480b70){return{'threadId':_0x480b70['commentThreadId'],'commentId':_0x480b70['commentId'],'content':_0x480b70['content'],'createdAt':_0x480b70['createdAt'],'authorId':_0x480b70['userId'],'attributes':_0x480b70['attributes']||{}};}class CloudServicesTrackChangesAdapter extends _0x22b56d['Plugin']{static ['TrackChangesService']=/* #__PURE__ -- @preserve */
((()=>_0x39057f)());['_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(_0x304c62){super(_0x304c62);const _0x5381f0=this['editor']['config']['get']('collaboration.channelId');this['_bufferedRequests']=new Map(),this['_trackChangesService']=new CloudServicesTrackChangesAdapter['TrackChangesService'](_0x5381f0);}['init'](){const _0x1031ef=this['editor']['plugins']['get'](WebSocketGateway),_0x4bce20=this['editor']['plugins']['get']('TrackChangesEditing');return _0x4bce20['adapter']={'getSuggestion':async _0x37fc57=>{await this['_waitForServiceReady']();const _0x3e9faa=await this['_trackChangesService']['get'](_0x37fc57)['catch'](_0x7255c8);return await this['_fetchMissingUsersForThreads']([_0x3e9faa]),_0x3e9faa;},'addSuggestion':async({id:_0x1ffaa0,type:_0x1816f6,data:_0x5c49ef,originalSuggestionId:_0x3b4e84,attributes:_0x137adb})=>{await this['_waitForServiceReady']();const _0x239479={'id':_0x1ffaa0,'type':_0x1816f6,'data':_0x5c49ef,'originalSuggestionId':_0x3b4e84,'attributes':_0x137adb},_0xcdefbb=await this['_trackChangesService']['add'](_0x1ffaa0,_0x1816f6,_0x5c49ef,_0x3b4e84,_0x137adb)['catch'](_0x25bc20=>{if(_0x8e30fb(_0x25bc20))return new Promise(_0x4351b5=>{this['_bufferedRequests']['set'](_0x1ffaa0,{'resolve':_0x4351b5,'suggestionData':_0x239479});});throw _0x25bc20;});return this['_bufferedRequests']['delete'](_0x1ffaa0),_0xcdefbb;},'updateSuggestion':async(_0xd9a9e2,_0x3aa7ce)=>{if(await this['_waitForServiceReady'](),'open'!==_0x3aa7ce['state'])return this['_trackChangesService']['update'](_0xd9a9e2,_0x3aa7ce)['catch'](_0x7255c8);}},this['listenTo'](this['_trackChangesService'],'suggestionUpdated',(_0x2cf10f,_0x5effa9)=>{_0x4bce20['hasSuggestion'](_0x5effa9['id'])&&(_0x4bce20['getSuggestion'](_0x5effa9['id'])['attributes']=_0x5effa9['attributes']);}),this['_trackChangesService']['connect'](_0x1031ef['connection'])['then'](_0x220f45=>(_0x1031ef['addToReconnectionStack'](this),this['_fetchMissingUsersForThreads'](_0x220f45)['then'](()=>{for(const _0x1759a9 of _0x220f45){_0x4bce20['addSuggestionData'](_0x1759a9)['_saved']=!0x0;}})));}async['reconnect'](){const _0x9ed1c0=this['editor']['plugins']['get']('TrackChangesEditing'),{connection:_0x55c5b7}=this['editor']['plugins']['get'](WebSocketGateway),_0xa5ada5=await this['_trackChangesService']['connect'](_0x55c5b7);await this['_fetchMissingUsersForThreads'](_0xa5ada5);for(const {suggestionData:_0x262182,resolve:_0x4f25d1}of this['_bufferedRequests']['values']()){let _0x3f045c=_0xa5ada5['find'](_0x2e0daf=>_0x2e0daf['id']===_0x262182['id']);_0x3f045c||(_0x3f045c=await this['_trackChangesService']['add'](_0x262182['id'],_0x262182['type'],_0x262182['data'],_0x262182['originalSuggestionId'])),_0x4f25d1(_0x3f045c);}for(const _0x30e019 of _0xa5ada5)_0x9ed1c0['hasSuggestion'](_0x30e019['id'])||_0x9ed1c0['addSuggestionData'](_0x30e019);}async['_waitForServiceReady'](){this['_trackChangesService']['isConnected']||await new Promise(_0xdcd959=>{this['listenTo'](this['_trackChangesService'],'connected',_0x1b0584=>{_0x1b0584['off'](),_0xdcd959();});});}async['_fetchMissingUsersForThreads'](_0x106224){const _0x30d2f9=this['editor']['plugins']['get'](_0x433f5f),{connection:_0x2fa936}=this['editor']['plugins']['get'](WebSocketGateway),_0xeda4bb=new Set();for(const {authorId:_0x180c03}of _0x106224)_0x30d2f9['getUser'](_0x180c03)||_0xeda4bb['add'](_0x180c03);if(0x0===_0xeda4bb['size'])return;const _0x4b4c85=await _0x266d0f['getMany'](_0x2fa936,Array['from'](_0xeda4bb));for(const _0x493e27 of _0x4b4c85)_0x30d2f9['getUser'](_0x493e27['id'])||_0x30d2f9['addUser'](_0x493e27);}}function _0x7255c8(_0x437b39){if(_0x8e30fb(_0x437b39))return new Promise(()=>{});throw _0x437b39;}function _0x8e30fb(_0xe97f5f){return _0xe97f5f['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0xe97f5f['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class RealTimeCollaborativeComments extends _0x22b56d['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 _0x109e8e=this['editor']['plugins']['get'](WebSocketGateway),_0x11b6d4=this['editor']['plugins']['get']('CommentsEditing'),_0x527d43=this['editor']['plugins']['get'](CloudServicesCommentsAdapter);return this['editor']['data']['once']('ready',()=>{this['listenTo'](_0x109e8e,'change:state',(_0x48c25e,_0x223f6d,_0x516aa7)=>{_0x11b6d4['isThreadsLoadingPaused']='connected'!==_0x516aa7;});}),this['listenTo'](_0x109e8e,'change:state',(_0x35697e,_0x3e7a6d,_0xbc674f)=>{this['editor']['plugins']['get']('CommentsRepository')['switchReadOnly']('connected'!==_0xbc674f);}),_0x527d43['_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 _0x22b56d['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 _0x22b56d['Plugin']{static ['RevisionHistoryService']=/* #__PURE__ -- @preserve */
((()=>RevisionHistoryService)());['_lastRequestId'];['_revisionTracker'];['_revisionHistoryService'];['_oldOffset'];static get['requires'](){return[WebSocketGateway,RealTimeCollaborationClient,'RevisionHistory',_0x548455,_0x433f5f];}static get['pluginName'](){return'CloudServicesRevisionHistoryAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x59c819){super(_0x59c819);const _0x1f041a=this['editor']['config']['get']('collaboration.channelId');this['_lastRequestId']=null,this['_revisionTracker']=this['editor']['plugins']['get']('RevisionTracker'),this['_revisionHistoryService']=new CloudServicesRevisionHistoryAdapter['RevisionHistoryService'](_0x1f041a);}async['init'](){const _0x188a63=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x4a448c=_0x188a63['serverHistory'],_0x232a5e=this['editor']['plugins']['get'](WebSocketGateway);this['_revisionTracker']['setSource']({'history':_0x4a448c,'getLatestVersion':()=>this['_getLatestVersion'](),'getCurrentRevisionId':()=>_0x188a63['sessionId']});const _0x6bcb7c=this['editor']['config']['get']('cloudServices.bundleVersion')||_0x22b56d['version'],_0x284e5f=await EditorService['isBundleUploaded'](_0x232a5e['connection'],_0x6bcb7c);this['editor']['plugins']['get']('RevisionHistory')['adapter']={'getRevision':async({revisionId:_0x15553b})=>(await this['_waitForServiceReady'](),await this['_revisionHistoryService']['getRevision'](_0x15553b)),'updateRevisions':async _0x102401=>{await this['_waitForServiceReady']();const _0x1353a2=this['_revisionTracker']['currentRevision'];if(_0x284e5f&&0x1===_0x102401['length']&&_0x102401[0x0]['id']===_0x1353a2['id'])return _0x102401;for(const _0x336cd6 of _0x102401)_0x336cd6['id']===_0x1353a2['id']&&(_0x336cd6['isEmptyCurrent']=_0x336cd6['fromVersion']===_0x336cd6['toVersion']);return this['_revisionHistoryService']['updateRevisions'](_0x102401,this['_lastRequestId'])['then'](_0x548974=>(this['_lastRequestId']=_0x548974,_0x102401))['catch'](_0x535657=>{if(_0x3f976c(_0x535657)||'400'===_0x535657['code']&&void 0x0!==_0x535657['data']['wrongRequestId']){for(const _0x7f207f of _0x102401){!this['_revisionTracker']['repository']['getRevision'](_0x7f207f['id'])||this['_revisionTracker']['_bufferUpdate'](_0x7f207f['id'],_0x7f207f,!0x1);}if(_0x3f976c(_0x535657))throw _0x535657;return _0x102401;}throw _0x535657;});}},this['listenTo'](this['_revisionHistoryService'],'revisionsUpdated',(_0x59cf1b,{revisionsData:_0x4aa167,requestId:_0x1ec2cc})=>{Math['max'](..._0x4aa167['map'](_0x366480=>_0x366480['toVersion']))>this['_getLatestVersionFromServerOperations']()-0x1?this['_getLatestVersion']()['then'](()=>{this['_handleRevisionsUpdate'](_0x4aa167,_0x1ec2cc);}):this['_handleRevisionsUpdate'](_0x4aa167,_0x1ec2cc);});const {revisions:_0x8ae733,requestId:_0xac3193}=await this['_revisionHistoryService']['connect'](_0x232a5e['connection']);_0x232a5e['addToReconnectionStack'](this),this['_lastRequestId']=_0xac3193,await this['_fetchMissingUsers'](_0x8ae733);for(const _0x5a60e9 of _0x8ae733)this['_revisionTracker']['addRevisionData'](_0x5a60e9);this['listenTo'](_0x188a63,'change:_isConnected',(_0x40ee54,_0x233ded,_0xb438fa)=>{_0xb438fa&&(this['_oldOffset']=_0x188a63['_offset'],_0x40ee54['off']());}),this['_revisionTracker']['bind']('isEnabled')['to'](_0x232a5e,'state',_0x1044e9=>_0x1044e9===_0x46f49e);}async['reconnect'](){const _0x27962e=this['editor']['plugins']['get'](WebSocketGateway),_0x3a9fe8=this['editor']['plugins']['get'](RealTimeCollaborationClient),_0x4bcbe3=async()=>{const _0x438368=this['_revisionTracker']['currentRevision'],_0x184190=_0x438368['id'],_0x52e4db=_0x184190!==_0x3a9fe8['sessionId'];if(_0x52e4db){const _0x499553=_0x3a9fe8['_offset']-this['_oldOffset'],_0x3b000a=this['_getLatestVersionFromServerOperations']();this['_revisionTracker']['_revisionDataBuilder']['reInit']();if(_0x438368['toVersion']+_0x499553!==_0x3b000a){const _0x3a22b9=_0x438368['fromVersion']+_0x499553,_0x2b21a2=this['editor']['plugins']['get'](_0x433f5f),_0x49d749=this['_revisionTracker']['buildRevisionData']({'revision':_0x438368,'from':_0x3a22b9,'to':_0x3b000a});_0x49d749['id']=_0x438368['id'];const _0x2078a0=_0x49d749['authorsIds']['map'](_0x20318e=>_0x2b21a2['getUser'](_0x20318e));_0x438368['_update']({..._0x49d749,'authors':_0x2078a0},!0x0),this['_revisionTracker']['_bufferUpdate'](_0x438368['id'],_0x49d749,!0x0);}this['_revisionTracker']['_startingVersion']=_0x3b000a,(_0x438368['toVersion']===_0x438368['fromVersion']&&!this['_revisionTracker']['_bufferedUpdates']['has'](_0x184190)&&this['_revisionTracker']['repository']['_revisions']['remove'](_0x184190),this['_revisionTracker']['_createCurrentRevision'](_0x3b000a));}const {revisions:_0x283102,requestId:_0x1d8853}=await this['_revisionHistoryService']['reconnect'](_0x27962e['connection'],this['_lastRequestId']);_0x52e4db&&_0x283102['length']>0x0?_0x3a9fe8['_handleReconnectionError']():(await this['_fetchMissingUsers'](_0x283102),this['_handleRevisionsUpdate'](_0x283102,_0x1d8853),this['_revisionTracker']['sendBufferedUpdates']());};return _0x3a9fe8['_isConnected']?_0x4bcbe3():new Promise((_0x3a9578,_0xe338c8)=>{_0x3a9fe8['once']('change:_isConnected',()=>{_0x4bcbe3()['then'](_0x3a9578)['catch'](_0xe338c8);});});}['destroy'](){super['destroy']();}async['_waitForServiceReady'](){this['_revisionHistoryService']['isConnected']||await new Promise(_0x3ec96d=>{this['listenTo'](this['_revisionHistoryService'],'connected',_0x4a0414=>{_0x4a0414['off'](),_0x3ec96d();});});}['_getLatestVersionFromServerOperations'](){const _0x14c21d=this['editor']['plugins']['get'](RealTimeCollaborationClient)['serverHistory']['getOperations']()['reverse']();for(const _0x526364 of _0x14c21d)if('marker'!==_0x526364['type']||_0x526364['affectsData'])return _0x526364['baseVersion']+0x1;}['_getLatestVersion'](){const _0x41d9da=this['editor']['plugins']['get'](RealTimeCollaborationClient);return new Promise(_0x83c78e=>{_0x41d9da['_isPendingUpdate']?_0x41d9da['once']('change:_isPendingUpdate',()=>{_0x83c78e(this['_getLatestVersionFromServerOperations']());}):_0x83c78e(this['_getLatestVersionFromServerOperations']());});}['_handleRevisionsUpdate'](_0x5b5764,_0x39afb4){const _0x349efd=this['_revisionTracker']['repository'];this['_lastRequestId']=_0x39afb4;for(const _0x27b3ee of _0x5b5764){const _0x5c1832=_0x349efd['getRevision'](_0x27b3ee['id']);if(_0x5c1832){if((_0x27b3ee['fromVersion']||_0x27b3ee['toVersion'])&&(_0x27b3ee['diffData']=null),_0x5c1832===this['_revisionTracker']['currentRevision']){const _0x3b8bf1=Math['max'](_0x5c1832['toVersion'],_0x27b3ee['toVersion']),_0x977438=Math['max'](_0x5c1832['fromVersion'],_0x27b3ee['fromVersion']);let _0x4781f8;_0x5c1832['toVersion']===_0x27b3ee['toVersion']&&_0x5c1832['fromVersion']===_0x27b3ee['fromVersion']?(_0x4781f8=!0x0,this['_preventResendingRevisionData'](_0x27b3ee)):_0x27b3ee['toVersion']===_0x3b8bf1&&_0x27b3ee['fromVersion']===_0x977438?_0x4781f8=!0x1:(_0x5c1832['toVersion']===_0x3b8bf1&&_0x5c1832['fromVersion']===_0x977438||this['_fixRevision']({'revision':_0x5c1832,'from':_0x977438,'to':_0x3b8bf1}),_0x4781f8=!0x0),_0x4781f8&&(delete _0x27b3ee['fromVersion'],delete _0x27b3ee['toVersion'],delete _0x27b3ee['diffData'],delete _0x27b3ee['createdAt'],delete _0x27b3ee['authorsIds']);}this['_revisionTracker']['setRevisionData'](_0x27b3ee),this['_preventResendingRevisionData'](_0x27b3ee);}else this['_revisionTracker']['addRevisionData'](_0x27b3ee);}const _0x342883=_0x349efd['getRevisions']();_0x342883['reverse']();for(let _0x319dfe=0x0;_0x319dfe<_0x342883['length']-0x1;_0x319dfe++){const _0x34ae30=_0x342883[_0x319dfe],_0x39936e=_0x342883[_0x319dfe+0x1];if(_0x34ae30['fromVersion']<_0x39936e['toVersion']){const _0x323ed0=_0x39936e['toVersion'],_0x61c408=Math['max'](_0x323ed0,_0x34ae30['toVersion']);this['_fixRevision']({'revision':_0x34ae30,'from':_0x323ed0,'to':_0x61c408});}}}['_fixRevision']({revision:_0xd8e4c3,from:_0x261c95,to:_0x4d81b7}={}){const _0x2c6a3e=this['editor']['plugins']['get'](_0x433f5f),_0x32c1db=this['_revisionTracker']['buildRevisionData']({'revision':_0xd8e4c3,'from':_0x261c95,'to':_0x4d81b7});_0x32c1db['authors']=_0x32c1db['authorsIds']['map'](_0x489547=>_0x2c6a3e['getUser'](_0x489547)),_0xd8e4c3['_update'](_0x32c1db);}['_preventResendingRevisionData'](_0x2ebb9a){const _0xa48576={};_0xa48576['id']=_0x2ebb9a['id'];for(const _0x4b40ae of Object['keys'](_0x2ebb9a))'id'!==_0x4b40ae&&(_0xa48576[_0x4b40ae]=void 0x0);this['_revisionTracker']['_bufferUpdate'](_0xa48576['id'],_0xa48576,!0x0);}async['_fetchMissingUsers'](_0x125b9f){const _0x2a0115=this['editor']['plugins']['get'](_0x433f5f),{connection:_0x7a8e7}=this['editor']['plugins']['get'](WebSocketGateway),_0x11a8a4=new Set();for(const _0x5d14e7 of _0x125b9f){for(const _0x245097 of _0x5d14e7['authorsIds'])_0x507da2(_0x245097);_0x5d14e7['creatorId']&&_0x507da2(_0x5d14e7['creatorId']);}if(0x0===_0x11a8a4['size'])return;const _0x384868=await _0x266d0f['getMany'](_0x7a8e7,Array['from'](_0x11a8a4));for(const _0x5bedf6 of _0x384868)_0x2a0115['getUser'](_0x5bedf6['id'])||_0x2a0115['addUser'](_0x5bedf6);function _0x507da2(_0x4656b8){_0x2a0115['getUser'](_0x4656b8)||_0x11a8a4['add'](_0x4656b8);}}}function _0x3f976c(_0xcf3927){return _0xcf3927['message']['startsWith']('cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.')||_0xcf3927['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0xcf3927['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}class RealTimeCollaborativeRevisionHistory extends _0x22b56d['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 _0x22b56d['View']{['_collapseAt'];constructor(_0x3b0b59,_0x63234a=0x6){super(_0x3b0b59);const _0x3253dd=this['bindTemplate'];this['set']('isHidden',!0x0),this['set']('usersCount',0x0),this['_collapseAt']=_0x63234a,this['bind']('isHidden')['to'](this,'usersCount',_0x34d62a=>_0x34d62a<_0x63234a),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item',_0x3253dd['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':_0x3253dd['to']('usersCount',_0x4ffb15=>'+'+(_0x4ffb15-this['_collapseAt']+0x2)['toString']())}]}]}]});}}class PresenceInlineListView extends _0x22b56d['View']{['items'];['keystrokes'];constructor(_0xda7701){super(_0xda7701);const _0x16f656=this['bindTemplate'];this['items']=this['createCollection'](),this['keystrokes']=new _0x22b56d['KeystrokeHandler'](),this['set']({'hasPopup':!0x1,'isExpanded':!0x1}),this['setTemplate']({'tag':'div','attributes':{'aria-haspopup':_0x16f656['if']('hasPopup'),'aria-expanded':_0x16f656['to']('isExpanded',_0x53cd1b=>this['hasPopup']&&String(_0x53cd1b)),'aria-label':_0x16f656['to']('hasPopup',_0xd5df01=>_0x54de7e(_0xda7701,_0xd5df01?'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'Connected\x20users\x20list')),'role':'list','tabindex':_0x16f656['to']('hasPopup',_0x541162=>!!_0x541162&&0x0),'class':['ck','ck-presence-list__list']},'children':this['items'],'on':{'mouseenter':_0x16f656['to'](()=>this['fire']('presencelist:show')),'mouseleave':_0x16f656['to'](_0x2a8e2c=>{const _0x2a814b=_0x2a8e2c,_0x1db265=document['querySelector']('.ck-presence-list__dropdown-list'),_0x3209f9=document['querySelector']('.ck-balloon-panel_with-arrow');_0x1db265?.['contains'](_0x2a814b['relatedTarget'])||_0x3209f9?.['contains'](_0x2a814b['relatedTarget'])||this['fire']('presencelist:hide');})}}),this['on']('change:hasPopup',(_0x17d5bb,_0x7dfd6b,_0x516199)=>{this['element']&&(_0x516199?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 _0x22b56d['View']{['counterView'];['inlineListView'];constructor(_0x3ae202,_0x1dc971=0x6){super(_0x3ae202);const _0x544dfa=this['bindTemplate'];this['set']('isCollapsed',!0x0),this['counterView']=new PresenceCounterView(this['locale'],_0x1dc971),this['inlineListView']=new PresenceInlineListView(_0x3ae202),this['inlineListView']['bind']('hasPopup')['to'](this,'isCollapsed'),this['listenTo'](this['inlineListView']['items'],'change',()=>{for(const _0x467414 of this['inlineListView']['items'])_0x467414['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',_0x544dfa['if']('isCollapsed','ck-presence-list--collapsed')]},'children':[this['inlineListView']]});}}class PresenceDropdownListView extends _0x22b56d['View']{['listWrapperView'];constructor(_0x296533,_0x5411c6){super(_0x296533);const _0x26eb10=this['bindTemplate'];this['listWrapperView']=new PresenceDropdownListWrapperView(_0x296533,_0x5411c6),this['setTemplate']({'tag':'div','attributes':{'tabindex':-0x1,'role':'application','class':['ck','ck-presence-list__dropdown-list'],'aria-label':_0x54de7e(_0x296533,'Connected\x20users\x20list\x20dropdown\x20menu')},'children':[this['listWrapperView']],'on':{'mouseleave':_0x26eb10['to'](_0x4720ed=>{const _0x1f49d9=_0x4720ed,_0xf47ee7=document['querySelector']('.ck-presence-list__list'),_0xd4654e=document['querySelector']('.ck-balloon-panel_with-arrow');_0xf47ee7?.['contains'](_0x1f49d9['relatedTarget'])||_0xd4654e?.['contains'](_0x1f49d9['relatedTarget'])||this['fire']('presencelist:hide');})}});}}class PresenceDropdownListWrapperView extends _0x22b56d['ListView']{constructor(_0x3bfaca,_0x975d31){super(_0x3bfaca);const _0x35a9f7=this['bindTemplate'];this['set']('_isScrollable',!0x1),this['setTemplate']({'tag':_0x975d31?'div':'ul','attributes':{'class':['ck','ck-reset','ck-list','ck-presence-list__dropdown-list-wrapper',_0x35a9f7['if']('_isScrollable','ck-presence-list__dropdown-list-wrapper_scrollable')],'role':_0x35a9f7['to']('role'),'aria-label':_0x35a9f7['to']('ariaLabel'),'aria-labelledby':_0x35a9f7['to']('ariaLabelledBy')},'children':this['items']}),this['listenTo'](_0x22b56d['global']['window'],'resize',()=>this['checkIfScrollable']()),this['items']['on']('change',()=>this['checkIfScrollable']());}['render'](){super['render'](),this['checkIfScrollable']();}['checkIfScrollable'](){const _0x34d93d=this['element'];_0x34d93d&&(this['_isScrollable']=Math['max'](_0x34d93d['scrollHeight'],_0x34d93d['clientHeight'])>0.8*window['innerHeight']);}}class PresenceDropdownListItemView extends _0x22b56d['ListItemView']{['userView'];constructor(_0x2493e6,_0xd77bca,_0x163ddf){super(_0x2493e6);const _0x146cc9=this['bindTemplate'];this['userView']=new _0x1ab201(_0x2493e6,_0xd77bca);const _0x42700c={'tag':'li','attributes':{'class':['ck','ck-presence-list__dropdown-list-item'],'tabindex':-0x1,'role':'presentation','aria-label':_0xd77bca['name']},'children':[this['userView'],{'tag':'span','attributes':{'class':['ck','ck-user__full-name']},'children':[{'text':_0xd77bca['name']}]},{'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0xd77bca['color']['getBackgroundColorClass']()],'aria-hidden':'true'}}]};_0x163ddf&&(_0x42700c['tag']='button',_0x42700c['on']={'click':_0x146cc9['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x42700c);}['focus'](){this['element']['focus']();}}class PresenceInlineListItemView extends _0x22b56d['View']{['userView'];['markerView'];constructor(_0x16c714,_0x8ea1d5,_0x16b2f2){super(_0x16c714);const _0x388418=this['bindTemplate'];this['set']('isFocusable',!0x1),this['set']('hasTooltip',!0x0),this['set']('tooltipPosition',''),this['userView']=new _0x1ab201(_0x16c714,_0x8ea1d5),this['markerView']=new _0x4b3e6a(_0x16c714,_0x8ea1d5);const _0xc7304a=new _0x22b56d['LabelView'](_0x16c714);_0xc7304a['template']['tag']='span',_0xc7304a['text']=_0x8ea1d5['name'];const _0x39b931={'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item'],'role':'listitem','tabindex':_0x388418['to']('isFocusable',_0xc2e87d=>!!_0xc2e87d&&0x0),'aria-labelledby':_0xc7304a['id'],'data-cke-tooltip-text':this['userView']['name'],'data-cke-tooltip-position':_0x388418['to']('tooltipPosition'),'data-cke-tooltip-disabled':_0x388418['to']('hasTooltip',_0x443603=>!_0x443603),'data-cke-tooltip-class':'ck-presence-list__list-item__tooltip'},'children':[this['userView'],this['markerView'],_0xc7304a]};_0x16b2f2&&(_0x39b931['tag']='button',_0x39b931['on']={'click':_0x388418['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x39b931);}}class _0x4b3e6a extends _0x22b56d['View']{constructor(_0x36ab3f,_0x5d1d9f){super(_0x36ab3f),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x5d1d9f['color']['getBackgroundColorClass']()],'aria-hidden':'true'}});}}const _0x2e0cde={'collapseAt':0x6,'displayMe':!0x0};class PresenceListUI extends _0x22b56d['ContextPlugin']{['currentDisplayedUsers'];['balloonPanelView'];['view'];['presenceDropdownView'];['_bodyCollection']=null;static get['pluginName'](){return'PresenceListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x52a643){super(_0x52a643),this['context']['config']['define']('presenceList',_0x2e0cde);const _0x14dce2=_0x52a643['config']['get']('presenceList.collapseAt');if('number'!=typeof _0x14dce2)throw new _0x22b56d['CKEditorError']('presencelist-collapseat-invalid-format',this);if(_0x14dce2<0x1)throw new _0x22b56d['CKEditorError']('presencelist-collapseat-invalid-format',this);this['_allConnectedUsers']=this['context']['plugins']['get'](_0x548455)['allConnectedUsers'],this['set']('usersCount',0x0),this['currentDisplayedUsers']=new _0x22b56d['Collection'](),this['balloonPanelView']=new _0x22b56d['BalloonPanelView'](),this['balloonPanelView']['class']='ck\x20ck-presence-list__balloon',this['view']=this['_createView'](),this['presenceDropdownView']=void 0x0;}static get['requires'](){return[_0x548455];}['init'](){for(const _0x3dbf62 of this['_allConnectedUsers'])this['_handleUserAdd'](_0x3dbf62);this['listenTo'](this['_allConnectedUsers'],'add',(_0x37a192,_0x2db549)=>{this['_handleUserAdd'](_0x2db549);}),this['listenTo'](this['_allConnectedUsers'],'remove',(_0x80e8ac,_0x5b888e)=>{this['_handleUserRemove'](_0x5b888e);});}['_createView'](){const _0x2d56de=this['context'],_0x11a216=new PresenceListView(this['context']['locale'],this['context']['config']['get']('presenceList.collapseAt')),_0x4a3ea2=this['balloonPanelView'];if(!mt(_0x2d56de['config']['get']('presenceList.container')))throw new _0x22b56d['CKEditorError']('presencelist-missing-container',this);return _0x11a216['counterView']['bind']('usersCount')['to'](this),_0x11a216['bind']('isCollapsed')['to'](this,'usersCount',_0x2fe7cb=>{const {collapseAt:_0x2b9092}=_0x2d56de['config']['get']('presenceList'),_0x55ba0e=_0x2fe7cb>=_0x2b9092;if(_0x55ba0e&&!_0x11a216['inlineListView']['items']['find'](_0x535fda=>_0x535fda instanceof PresenceCounterView)){const _0x3491da=this['context']['config']['get']('presenceList.collapseAt')-0x1;this['currentDisplayedUsers']['length']==_0x3491da&&this['currentDisplayedUsers']['length']>0x1&&this['currentDisplayedUsers']['remove'](this['currentDisplayedUsers']['length']-0x1),_0x11a216['inlineListView']['items']['add'](_0x11a216['counterView']);}return _0x55ba0e||this['hideDropdown'](),_0x55ba0e;}),_0x11a216['inlineListView']['items']['bindTo'](this['currentDisplayedUsers'])['using'](_0x5e141=>{const _0x398e33=_0x2d56de['config']['get']('presenceList'),_0x29fc8c=new PresenceInlineListItemView(_0x2d56de['locale'],_0x5e141,!!_0x398e33['onClick']);return _0x29fc8c['bind']('hasTooltip')['to'](_0x11a216,'isCollapsed',_0x454a7c=>!_0x454a7c),_0x29fc8c['bind']('isFocusable')['to'](_0x11a216,'isCollapsed',_0x1c5df5=>!_0x1c5df5),_0x398e33['onClick']&&this['listenTo'](_0x29fc8c,'execute',()=>{this['view']['isCollapsed']||_0x398e33['onClick'](_0x5e141,_0x29fc8c['element']);}),_0x29fc8c;}),this['listenTo'](_0x11a216['inlineListView'],'presencelist:show',()=>{this['view']['isCollapsed']&&this['showDropdown']();}),this['listenTo'](_0x11a216['inlineListView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();}),_0x11a216['inlineListView']['keystrokes']['set']('Enter',(_0x1e2e42,_0x33d133)=>{this['view']['isCollapsed']&&(this['showDropdown'](),_0x33d133());}),_0x11a216['render'](),_0x4a3ea2['render'](),_0x22b56d['clickOutsideHandler']({'emitter':_0x11a216,'activator':()=>_0x4a3ea2['isVisible'],'contextElements':[_0x4a3ea2['element'],_0x11a216['inlineListView']['element']],'callback':()=>this['hideDropdown']()}),_0x2d56de['config']['get']('presenceList.container')['appendChild'](_0x11a216['element']),this['_bodyCollection']=new _0x22b56d['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_bodyCollection']['add'](this['balloonPanelView']),_0x11a216;}['_handleUserAdd'](_0x53155d){if(!this['context']['config']['get']('presenceList.displayMe')&&_0x53155d['isMe'])return;const _0x11160b=this['context']['config']['get']('presenceList.collapseAt')-0x1;for(this['usersCount']++;this['currentDisplayedUsers']['length']>=_0x11160b-(this['view']['isCollapsed']?0x1:0x0)&&this['currentDisplayedUsers']['length']>0x1;)this['currentDisplayedUsers']['remove'](0x1);const _0x131ce8=_0x53155d['isMe']?0x0:this['currentDisplayedUsers']['length'];this['currentDisplayedUsers']['add'](_0x53155d,_0x131ce8);}['_handleUserRemove'](_0x2537a7){this['usersCount']--;const {collapseAt:_0x22eb12}=this['context']['config']['get']('presenceList'),_0x2cd5a6=this['usersCount']>=_0x22eb12;if(this['currentDisplayedUsers']['get'](_0x2537a7['id']))this['currentDisplayedUsers']['remove'](_0x2537a7['id']);else{if(_0x2cd5a6&&this['currentDisplayedUsers']['length']+0x1===_0x22eb12-0x1)return;}if(this['currentDisplayedUsers']['length']+(_0x2cd5a6?0x1:0x0)<this['usersCount']){for(const _0x5798da of Array['from'](this['_allConnectedUsers'])['reverse']())if(!this['currentDisplayedUsers']['get'](_0x5798da['id'])&&(this['currentDisplayedUsers']['add'](_0x5798da,Math['min'](this['currentDisplayedUsers']['length']-(_0x2cd5a6?0x1:0x0),0x1)),this['currentDisplayedUsers']['length']+(_0x2cd5a6?0x1:0x0)===_0x22eb12-0x1))return;}}['showDropdown'](){if(this['presenceDropdownView'])return;const _0x1862f6=this['context']['config']['get']('presenceList');this['presenceDropdownView']=new PresenceDropdownListView(this['context']['locale'],!!_0x1862f6['onClick']),this['view']['inlineListView']['isExpanded']=!0x0,this['listenTo'](this['presenceDropdownView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();});const {listWrapperView:_0x332d23}=this['presenceDropdownView'];_0x332d23['items']['bindTo'](this['_allConnectedUsers'])['using'](_0x3c6136=>{if(!_0x1862f6['displayMe']&&_0x3c6136['isMe'])return null;const _0x3fafe5=new PresenceDropdownListItemView(this['context']['locale'],_0x3c6136,!!_0x1862f6['onClick']);return _0x1862f6['onClick']&&this['listenTo'](_0x3fafe5,'execute',()=>{_0x1862f6['onClick'](_0x3c6136,_0x3fafe5['element']);}),_0x3fafe5;}),this['balloonPanelView']['content']['add'](this['presenceDropdownView']),this['balloonPanelView']['pin']({'target':this['view']['inlineListView']['element']}),_0x332d23['focus'](),_0x332d23['checkIfScrollable']();const _0x31454a=(_0xcb9983,_0x53141d)=>{this['hideDropdown'](),this['view']['inlineListView']['focus'](),_0x53141d();};_0x332d23['keystrokes']['set']('Esc',_0x31454a),_0x332d23['keystrokes']['set']('Shift+Tab',_0x31454a),_0x332d23['keystrokes']['set']('Tab',(_0x1d6f8f,_0xaf7bf9)=>{!function(_0x207ede){const _0xea501d=['a','button','input','select','textarea','[tabindex]','[contenteditable]']['map'](_0x43b96d=>_0x43b96d+':not([disabled]):not([tabindex=\x22-1\x22])')['join'](','),_0x23ac02=[...document['body']['querySelectorAll'](_0xea501d)]['filter'](_0x2cc633=>_0x2cc633===document['activeElement']||_0x2cc633['offsetWidth']+_0x2cc633['offsetHeight']>0x0)['sort']((_0x555e78,_0x2ace60)=>(_0x555e78['tabIndex']||0x0)-(_0x2ace60['tabIndex']||0x0)),_0x3d440c=_0x23ac02['indexOf'](_0x207ede),_0xa4b6ae=_0x23ac02[(_0x3d440c+0x1)%_0x23ac02['length']];_0xa4b6ae&&_0xa4b6ae['focus']();}(this['view']['element']),this['hideDropdown'](),_0xaf7bf9();}),_0x332d23['focusTracker']['add'](this['view']['element']),_0x332d23['focusTracker']['on']('change:isFocused',(_0x3b6e30,_0x535956,_0x1d089e)=>{_0x1d089e||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);}}class PresenceList extends _0x22b56d['ContextPlugin']{static get['requires'](){return[_0x548455,PresenceListUI];}static get['pluginName'](){return'PresenceList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x23b50f extends/* #__PURE__ -- @preserve */
_0x22b56d['ObservableMixin'](){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x12a4e9){super(),this['id']=_0x12a4e9['id']||_0x22b56d['uid'](),this['creator']=_0x12a4e9['creator']||null,this['authors']=_0x12a4e9['authors']||[],this['diffData']=_0x12a4e9['diffData']||null,this['toVersion']=_0x12a4e9['toVersion']||0x0,this['fromVersion']=_0x12a4e9['fromVersion']||0x0,this['set']('name',_0x12a4e9['name']||''),this['set']('createdAt',_0x12a4e9['createdAt']||new Date()),this['set']('attributes',_0x12a4e9['attributes']||{});}['setName'](_0x517072){this['_update']({'name':_0x517072});}['setAttribute'](_0x58109b,_0x2bcd6b){const _0x283aea=_0xed69dc(this['attributes']);st(_0x283aea,_0x58109b,_0x2bcd6b),this['_update']({'attributes':_0x283aea});}['removeAttribute'](_0x15f17d){const _0x1232cb=_0xed69dc(this['attributes']);tt(_0x1232cb,_0x15f17d),this['_update']({'attributes':_0x1232cb});}['_update'](_0x3cac40,_0x16f826=!0x1){let _0x9ec8f4=!0x1;const _0x1c4335={'id':this['id']},_0x1764ab=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x1b2031 of _0x1764ab){const _0xc2c76e=_0x3cac40[_0x1b2031];void 0x0!==_0xc2c76e&&_0xc2c76e!==this[_0x1b2031]&&(this[_0x1b2031]=_0xc2c76e,_0x1c4335[_0x1b2031]=_0xc2c76e,_0x9ec8f4=!0x0);}_0x9ec8f4&&(_0x1c4335['authors']&&(_0x1c4335['authorsIds']=_0x1c4335['authors']['map'](_0xdd3d90=>_0xdd3d90['id']),delete _0x1c4335['authors']),this['fire']('_update',_0x1c4335,_0x16f826));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x5186a0=>_0x5186a0['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class RevisionsRepository extends _0x22b56d['Plugin']{['_revisions'];static get['requires'](){return[_0x433f5f];}static get['pluginName'](){return'RevisionsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['length'](){return this['_revisions']['length'];}constructor(_0x5f50f7){super(_0x5f50f7),this['_revisions']=new _0x22b56d['Collection']();}['afterInit'](){!async function(_0xe7e408){const _0x8c7295=_0x5470c2([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]),_0x3a8ff7=0xeb829,_0x4942f7=0x359e09b0,_0x82861d=0x359983d8^_0x4942f7,_0x1432a9=window[_0x5470c2([0x44,0x61,0x74,0x65])][_0x5470c2([0x6e,0x6f,0x77])](),_0x437bd7=_0xe7e408[_0x5470c2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x429896=new window[(_0x5470c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a04a6=>{_0x437bd7[_0x5470c2([0x6f,0x6e,0x63,0x65])](_0x5470c2([0x72,0x65,0x61,0x64,0x79]),_0x3a04a6);}),_0x1fd1f9={[_0x5470c2([0x6b,0x74,0x79])]:_0x5470c2([0x45,0x43]),[_0x5470c2([0x75,0x73,0x65])]:_0x5470c2([0x73,0x69,0x67]),[_0x5470c2([0x63,0x72,0x76])]:_0x5470c2([0x50,0x2d,0x32,0x35,0x36]),[_0x5470c2([0x78])]:_0x5470c2([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]),[_0x5470c2([0x79])]:_0x5470c2([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]),[_0x5470c2([0x61,0x6c,0x67])]:_0x5470c2([0x45,0x53,0x32,0x35,0x36])},_0x13deda=_0x437bd7[_0x5470c2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5470c2([0x67,0x65,0x74])](_0x5470c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x522cdc(){let _0xd5265c,_0x1049bf=null,_0x34221f=null;try{if(_0x13deda==_0x5470c2([0x47,0x50,0x4c]))return _0x5470c2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xd5265c=_0x491c26(),!_0xd5265c)return _0x5470c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xd5265c[_0x5470c2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x34221f=_0x219115(_0xd5265c[_0x5470c2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xd5265c[_0x5470c2([0x6a,0x74,0x69])])),await _0x3eb316()?_0x3c5201()?_0x56091e()?_0x5470c2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x410f30()?(_0xd5265c[_0x5470c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5470c2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1049bf=_0x45257e(_0x5470c2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5e3499()):_0x5470c2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5470c2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5470c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5470c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x56091e(){const _0x3c3bc7=[_0x5470c2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5470c2([0x74,0x72,0x69,0x61,0x6c])][_0x5470c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd5265c[_0x5470c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1432a9/0x3e8:0xe10*_0x82861d;return _0xd5265c[_0x5470c2([0x65,0x78,0x70])]<_0x3c3bc7;}function _0x3c5201(){const _0x273c50=_0xd5265c[_0x5470c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x273c50)return!0x1;if(_0x273c50[_0x5470c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5470c2([0x2a])))return!0x0;if(_0x273c50[_0x5470c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5470c2([0x52,0x48])))return!0x0;if(_0x273c50[_0x5470c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5470c2([0x52,0x52,0x48]))){if(_0x5b778a())return!0x0;if(_0x4666b8()||_0x5500a2())return!0x0;}return!0x1;}function _0x410f30(){const _0x16c4f9=_0xd5265c[_0x5470c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x16c4f9||0x0==_0x16c4f9[_0x5470c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4eef51}=new URL(window[_0x5470c2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x16c4f9[_0x5470c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4eef51))return!0x0;const _0x2761b5=_0x4eef51[_0x5470c2([0x73,0x70,0x6c,0x69,0x74])](_0x5470c2([0x2e]));return _0x16c4f9[_0x5470c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2035c4=>_0x2035c4[_0x5470c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5470c2([0x2a])))[_0x5470c2([0x6d,0x61,0x70])](_0x3d7bbd=>_0x3d7bbd[_0x5470c2([0x73,0x70,0x6c,0x69,0x74])](_0x5470c2([0x2e])))[_0x5470c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4f2fa1=>_0x4f2fa1[_0x5470c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2761b5[_0x5470c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5470c2([0x6d,0x61,0x70])](_0x3a25ea=>Array(_0x2761b5[_0x5470c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3a25ea[_0x5470c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5470c2([0x66,0x69,0x6c,0x6c])](_0x3a25ea[0x0]===_0x5470c2([0x2a])?_0x5470c2([0x2a]):'')[_0x5470c2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3a25ea))[_0x5470c2([0x73,0x6f,0x6d,0x65])](_0x2031b4=>_0x2761b5[_0x5470c2([0x65,0x76,0x65,0x72,0x79])]((_0x120903,_0x5f6f16)=>_0x2031b4[_0x5f6f16]===_0x120903||_0x2031b4[_0x5f6f16]===_0x5470c2([0x2a])));}function _0x5e3499(){return _0x1049bf&&_0x34221f?new window[(_0x5470c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52108e,_0x26038f)=>{_0x1049bf[_0x5470c2([0x74,0x68,0x65,0x6e])](_0x52108e,_0x26038f),_0x34221f[_0x5470c2([0x74,0x68,0x65,0x6e])](_0x357425=>{_0x357425!=_0x5470c2([0x56,0x61,0x6c,0x69,0x64])&&_0x52108e(_0x357425);},_0x26038f);}):_0x1049bf||_0x34221f||_0x5470c2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x219115(_0x2c3c58,_0x588d93){return new window[(_0x5470c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d4d68=>{if(_0x5a5b0b())return _0x3d4d68(_0x5470c2([0x56,0x61,0x6c,0x69,0x64]));_0x2c8c88(),_0x437bd7[_0x5470c2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5470c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1f5f80=!0x1;const _0x1fd991=_0x22b56d['uid']();function _0x235893(_0x774180){return!!_0x774180&&(typeof _0x774180===_0x5470c2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x774180===_0x5470c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x774180[_0x5470c2([0x74,0x68,0x65,0x6e])]===_0x5470c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x774180[_0x5470c2([0x63,0x61,0x74,0x63,0x68])]===_0x5470c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x26d3d2(_0x1da272){_0x2fdd28(_0x1da272)[_0x5470c2([0x74,0x68,0x65,0x6e])](_0x9036c=>{if(!_0x9036c||_0x9036c[_0x5470c2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5470c2([0x6f,0x6b]))return _0x5470c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4b2936(_0x1902f6(_0x1fd991+_0x588d93))!=_0x9036c[_0x5470c2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5470c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5470c2([0x56,0x61,0x6c,0x69,0x64]);})[_0x5470c2([0x74,0x68,0x65,0x6e])](_0x59ec39=>(_0x3e7a8e(),_0x59ec39),()=>{const _0x322e6f=_0x1c882c();return null==_0x322e6f?(_0x3e7a8e(),_0x5470c2([0x56,0x61,0x6c,0x69,0x64])):_0x5470c2(_0x1432a9-_0x322e6f>(0x11928db0^_0x4942f7)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5470c2([0x74,0x68,0x65,0x6e])](_0x3d4d68)[_0x5470c2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3d4d68(_0x5470c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x387cd7=0x35a8e730^_0x4942f7;function _0x3e7a8e(){const _0x370a00=_0x5470c2([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b2936(_0x1902f6(_0x2c3c58)),_0x462a23=_0x3ad28b(_0x4b2936(window[_0x5470c2([0x4d,0x61,0x74,0x68])][_0x5470c2([0x63,0x65,0x69,0x6c])](_0x1432a9/_0x387cd7)));window[_0x5470c2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5470c2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x370a00,_0x462a23);}function _0x1c882c(){const _0xca5033=_0x5470c2([0x6c,0x6c,0x63,0x74,0x2d])+_0x4b2936(_0x1902f6(_0x2c3c58)),_0x10e016=window[_0x5470c2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5470c2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xca5033);return _0x10e016?window[_0x5470c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ad28b(_0x10e016),0x10)*_0x387cd7:null;}function _0x2fdd28(_0xd5831b){return new window[(_0x5470c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x185c8b,_0x258175)=>{_0xd5831b[_0x5470c2([0x74,0x68,0x65,0x6e])](_0x185c8b,_0x258175),window[_0x5470c2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x258175,0x359fdd70^_0x4942f7);});}}_0x437bd7[_0x5470c2([0x6f,0x6e])](_0x5470c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x44b916,_0x54d3ac)=>{if(_0x54d3ac[0x0]!=_0x2c3c58)return _0x3d4d68(_0x5470c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x54d3ac[0x1]={..._0x54d3ac[0x1],[_0x5470c2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1fd991};},{[_0x5470c2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5470c2([0x68,0x69,0x67,0x68])}),_0x437bd7[_0x5470c2([0x6f,0x6e])](_0x5470c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4254bf=>{_0x235893(_0x4254bf[_0x5470c2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1f5f80=!0x0,_0x26d3d2(_0x4254bf[_0x5470c2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5470c2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5470c2([0x6c,0x6f,0x77])}),_0x429896[_0x5470c2([0x74,0x68,0x65,0x6e])](()=>{_0x1f5f80||_0x3d4d68(_0x5470c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5a5b0b(){return _0x437bd7[_0x5470c2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5470c2([0x76,0x69,0x65,0x77])][_0x5470c2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5470c2([0x61,0x75,0x74,0x6f]);}function _0x2c8c88(){_0x437bd7[_0x5470c2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5470c2([0x76,0x69,0x65,0x77])][_0x5470c2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5470c2([0x61,0x75,0x74,0x6f]);}}function _0x45257e(_0x359c41){const _0x51b947=new window[(_0x5470c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d554d=>setTimeout(_0x5d554d,0x3597377c^_0x4942f7)),_0x432dc3=_0x429896[_0x5470c2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5470c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15763e=>{const _0x615d1a=0x359e09b7^_0x4942f7,_0x43a0d5=_0xe7e408[_0x5470c2([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];function _0x31c123(){_0x43a0d5[_0x5470c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x615d1a&&_0x15763e();}_0x31c123(),_0x43a0d5[_0x5470c2([0x6f,0x6e])](_0x5470c2([0x61,0x64,0x64]),_0x31c123);})),_0x1dcd58=new window[(_0x5470c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x324eb8=>{function _0x36909a(){for(const _0xd2a908 in window)if(window[_0x5470c2([0x4e,0x75,0x6d,0x62,0x65,0x72])]['isNaN'](window[_0x5470c2([0x4e,0x75,0x6d,0x62,0x65,0x72])](_0xd2a908))&&window[_0xd2a908]==_0x3a8ff7)return _0x324eb8();_0x437bd7[_0x5470c2([0x73,0x74,0x61,0x74,0x65])]!=_0x5470c2([0x64,0x65,0x73,0x74,0x72,0x6f,0x79,0x65,0x64])&&window[_0x5470c2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x36909a,0x359e1a38^_0x4942f7);}_0x5abb9e(_0x5470c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&_0x36909a();}),_0x577cc5=[_0x51b947,_0x432dc3,_0x1dcd58];return window[_0x5470c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5470c2([0x72,0x61,0x63,0x65])](_0x577cc5)[_0x5470c2([0x74,0x68,0x65,0x6e])](()=>_0x359c41);}async function _0xb7299d(){if(await _0x429896,_0x5abb9e(_0x5470c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x17f1ae=_0xe7e408[_0x5470c2([0x67,0x65,0x74,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])](0x0),_0xbeba5a=_0xe7e408[_0x5470c2([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])](_0x17f1ae[_0x5470c2([0x69,0x64])]),_0x29c2e4=_0x59c3e6(_0x5470c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]));return await _0x29c2e4[_0x5470c2([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x17f1ae['id'],_0xbeba5a?_0xbeba5a['id']:null,!0x0),_0x29c2e4[_0x5470c2([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5470c2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x29c2e4[_0x5470c2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x29c2e4[_0x5470c2([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x40d4a,void(_0x29c2e4[_0x5470c2([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x40d4a);}if(_0x5abb9e(_0x5470c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))){const _0x5bc61e=_0x59c3e6(_0x5470c2([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]));_0x5bc61e[_0x5470c2([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5470c2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x5bc61e[_0x5470c2([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x5bc61e[_0x5470c2([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x40d4a,_0x5bc61e[_0x5470c2([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x40d4a;}_0x437bd7[_0x5470c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5470c2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x40d4a,_0x437bd7[_0x5470c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x5470c2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x40d4a,_0x437bd7[_0x5470c2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5470c2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b778a(){return _0x5abb9e(_0x5470c2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x59c3e6(_0x5470c2([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5470c2([0x73,0x74,0x61,0x74,0x65])]==_0x5470c2([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x4666b8(){return _0x5abb9e(_0x5470c2([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]));}function _0x5500a2(){return _0x5abb9e(_0x5470c2([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x598d49(_0x516599){const _0x168994=_0x5de216();_0x437bd7[_0x168994]=_0x5470c2([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])+_0x516599,_0x516599[_0x5470c2([0x65,0x6e,0x64,0x73,0x57,0x69,0x74,0x68])](_0x5470c2([0x4c,0x69,0x6d,0x69,0x74]))&&(window[_0x5de216()]=_0x3a8ff7),_0x516599!=_0x5470c2([0x56,0x61,0x6c,0x69,0x64])&&_0xb7299d();}function _0x5de216(){const _0x139ea3=window[_0x5470c2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5470c2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5470c2([0x6e,0x6f,0x77])]())[_0x5470c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5470c2([0x2e]),'');let _0x15680d=_0x5470c2([0x76]);for(let _0xa048aa=0x0;_0xa048aa<_0x139ea3[_0x5470c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa048aa+=0x2){let _0x9fb51d=window[_0x5470c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x139ea3[_0x5470c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xa048aa,_0xa048aa+0x2));_0x9fb51d>=_0x8c7295[_0x5470c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x9fb51d-=_0x8c7295[_0x5470c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x15680d+=_0x8c7295[_0x9fb51d];}return _0x15680d;}function _0x491c26(){const _0x16e335=_0x13deda[_0x5470c2([0x73,0x70,0x6c,0x69,0x74])](_0x5470c2([0x2e]));if(0x3!=_0x16e335[_0x5470c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x383882(_0x16e335[0x1]);function _0x383882(_0x2b8129){const _0x41ecee=_0x218cb5(_0x2b8129);return _0x41ecee&&_0x22eb0b()?_0x41ecee:null;function _0x22eb0b(){const _0x53f53a=_0x41ecee[_0x5470c2([0x6a,0x74,0x69])],_0x10806a=window[_0x5470c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53f53a[_0x5470c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53f53a[_0x5470c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x47db1f={..._0x41ecee,[_0x5470c2([0x6a,0x74,0x69])]:_0x53f53a[_0x5470c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x53f53a[_0x5470c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x47db1f[_0x5470c2([0x76,0x63])],_0x1902f6(_0x47db1f)==_0x10806a;}}}async function _0x3eb316(){let _0xdc2783=!0x0;try{const _0x2b6770=_0x13deda[_0x5470c2([0x73,0x70,0x6c,0x69,0x74])](_0x5470c2([0x2e])),[_0x244f6a,_0x2be68a,_0x152c7c]=_0x2b6770;return _0x3a7f7c(_0x244f6a),await _0x13766a(_0x244f6a,_0x2be68a,_0x152c7c),_0xdc2783;}catch{return!0x1;}function _0x3a7f7c(_0x26b883){const _0x412055=_0x218cb5(_0x26b883);_0x412055&&_0x412055[_0x5470c2([0x61,0x6c,0x67])]==_0x5470c2([0x45,0x53,0x32,0x35,0x36])||(_0xdc2783=!0x1);}async function _0x13766a(_0xbb6d36,_0x590048,_0x148a88){const _0x3175b7=window[_0x5470c2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5470c2([0x66,0x72,0x6f,0x6d])](_0x3fb134(_0x148a88),_0x5de9c6=>_0x5de9c6[_0x5470c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x26c76d=new window[(_0x5470c2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5470c2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xbb6d36+_0x5470c2([0x2e])+_0x590048),_0x3f6ee2=window[_0x5470c2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5470c2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3f6ee2)return;const _0x4a84b7=await _0x3f6ee2[_0x5470c2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5470c2([0x6a,0x77,0x6b]),_0x1fd1f9,{[_0x5470c2([0x6e,0x61,0x6d,0x65])]:_0x5470c2([0x45,0x43,0x44,0x53,0x41]),[_0x5470c2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5470c2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5470c2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3f6ee2[_0x5470c2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5470c2([0x6e,0x61,0x6d,0x65])]:_0x5470c2([0x45,0x43,0x44,0x53,0x41]),[_0x5470c2([0x68,0x61,0x73,0x68])]:{[_0x5470c2([0x6e,0x61,0x6d,0x65])]:_0x5470c2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4a84b7,_0x3175b7,_0x26c76d)||(_0xdc2783=!0x1);}}function _0x218cb5(_0x2a3ef0){return _0x2a3ef0[_0x5470c2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5470c2([0x65,0x79]))?JSON[_0x5470c2([0x70,0x61,0x72,0x73,0x65])](_0x3fb134(_0x2a3ef0)):null;}function _0x3fb134(_0x4387a3){return window[_0x5470c2([0x61,0x74,0x6f,0x62])](_0x4387a3[_0x5470c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5470c2([0x2b]))[_0x5470c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5470c2([0x2f])));}function _0x1902f6(_0x5e0601){let _0x41e374=0x1505;function _0x19dd95(_0x1b8344){for(let _0x321f69=0x0;_0x321f69<_0x1b8344[_0x5470c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x321f69++){const _0x43888b=_0x1b8344[_0x5470c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x321f69);_0x41e374=(_0x41e374<<0x5)+_0x41e374+_0x43888b,_0x41e374&=_0x41e374;}}function _0x54c6d8(_0x3cffb1){Array[_0x5470c2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3cffb1)?_0x3cffb1[_0x5470c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x54c6d8):_0x3cffb1&&typeof _0x3cffb1==_0x5470c2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5470c2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3cffb1)[_0x5470c2([0x73,0x6f,0x72,0x74])]()[_0x5470c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1c516e,_0x28f959])=>{_0x19dd95(_0x1c516e),_0x54c6d8(_0x28f959);}):_0x19dd95(window[_0x5470c2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3cffb1));}return _0x54c6d8(_0x5e0601),_0x41e374>>>0x0;}function _0x4b2936(_0x45df0b){return _0x45df0b[_0x5470c2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5470c2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5470c2([0x30]));}function _0x3ad28b(_0x26c719){return _0x26c719[_0x5470c2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5470c2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5470c2([0x6a,0x6f,0x69,0x6e])]('');}function _0x5abb9e(_0x5f8165){return _0x437bd7[_0x5470c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5470c2([0x68,0x61,0x73])](_0x5f8165);}function _0x59c3e6(_0x2638f7){return _0x437bd7[_0x5470c2([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5470c2([0x67,0x65,0x74])](_0x2638f7);}function _0x40d4a(){}function _0x5470c2(_0x41cc01){return _0x41cc01['map'](_0x1b9d5f=>String['fromCharCode'](_0x1b9d5f))['join']('');}_0x598d49(await _0x522cdc());}(this);}['createRevision'](_0x31d9db){const _0x3c219c=this['editor']['plugins']['get']('Users');return new _0x23b50f({'id':_0x31d9db['id'],'name':_0x31d9db['name'],'creator':_0x31d9db['creatorId']?_0x3c219c['getUser'](_0x31d9db['creatorId']):null,'diffData':_0x31d9db['diffData']||_0x31d9db['data'],'authors':_0x31d9db['authorsIds']['map'](_0x369c3b=>_0x3c219c['getUser'](_0x369c3b)),'createdAt':new Date(_0x31d9db['createdAt']),'attributes':_0x31d9db['attributes'],'fromVersion':_0x31d9db['fromVersion'],'toVersion':_0x31d9db['toVersion']});}['addRevision'](_0x301d46,_0x422501=0x0){this['_revisions']['add'](_0x301d46,_0x422501);}['getRevision'](_0xd980c0){return this['_revisions']['get'](_0xd980c0);}['getRevisions'](_0x5ce7fa={'toJSON':!0x1}){const _0x56725d=Array['from'](this['_revisions']);return _0x56725d['reverse'](),_0x5ce7fa['toJSON']?_0x56725d['map'](_0x3341f3=>_0x3341f3['toJSON']()):_0x56725d;}['getIndex'](_0x885420){return this['_revisions']['getIndex'](_0x885420);}['getEarlierVisibleRevision'](_0x1ef905){const [,_0x8b797b]=this['getRevisionsIterator'](_0x1ef905,{'direction':'earlier'});return _0x8b797b;}['getLaterVisibleRevision'](_0x317a28){const [,_0x200e55]=this['getRevisionsIterator'](_0x317a28,{'direction':'later'});return _0x200e55;}['getRevisionsInDiff'](_0x43a7f8){const _0x315c56=[];for(const _0x41e2a6 of this['getRevisionsIterator'](_0x43a7f8['newRevisionId']))if(_0x315c56['push'](_0x41e2a6),_0x41e2a6['id']===_0x43a7f8['oldRevisionId'])break;return _0x315c56;}*['getRevisionsIterator'](_0x1e2c9f,{direction:_0x1a5227='earlier',filter:_0x40cf76=()=>!0x0}={}){const _0x5e89f0='earlier'===_0x1a5227?0x1:-0x1;let _0x3444d4=this['_revisions']['get'](_0x1e2c9f),_0x54baed=this['getIndex'](_0x3444d4);for(yield _0x3444d4;_0x3444d4;){if(_0x54baed+=_0x5e89f0,_0x3444d4=this['getRevision'](_0x54baed),!_0x3444d4)return;_0x40cf76(_0x3444d4)&&(yield _0x3444d4);}}}class RevisionHistoryUtils extends _0x22b56d['Plugin']{static get['pluginName'](){return'RevisionHistoryUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_viewClassToTypeChar']=new Map([[_0x22b56d['ViewContainerElement'],'c'],[_0x22b56d['ViewAttributeElement'],'a'],[_0x22b56d['ViewEmptyElement'],'e'],[_0x22b56d['ViewRawElement'],'r'],[_0x22b56d['ViewUIElement'],'u']]);['_typeCharToViewClass']=new Map([['c',_0x22b56d['ViewContainerElement']],['a',_0x22b56d['ViewAttributeElement']],['e',_0x22b56d['ViewEmptyElement']],['r',_0x22b56d['ViewRawElement']],['u',_0x22b56d['ViewUIElement']]]);async['loadRevisionData'](_0x20db6d,_0x56a862){if(_0x20db6d['diffData']||!_0x56a862)return;const _0x4e6d45=this['editor']['config']['get']('collaboration.channelId'),_0x4579cd=await _0x56a862['getRevision']({'channelId':_0x4e6d45,'revisionId':_0x20db6d['id']});_0x20db6d['diffData']=_0x4579cd['diffData'];}['getRevisionDocumentData'](_0x175c25){const _0x1dfb1f={};for(const _0x196477 in _0x175c25['diffData']){if(_0x175c25['diffData'][_0x196477]['attachChange']&&!_0x175c25['diffData'][_0x196477]['attachChange']['isAttached'])continue;const _0x5b093e=this['_removeRevisionMarkers'](JSON['parse'](_0x175c25['diffData'][_0x196477]['insertions'])),_0x2ff6bb=this['editor']['editing']['view']['document'],_0x2f3c81=new _0x22b56d['ViewDocumentFragment'](_0x2ff6bb,_0x5b093e['map'](_0x5a7d77=>this['_getViewFromDiffObj'](_0x5a7d77,!0x1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x1dfb1f[_0x196477]=this['editor']['data']['processor']['toData'](_0x2f3c81),this['editor']['data']['processor']['useFillerType']('default');}return _0x1dfb1f;}['getRevisionRootsAttributes'](_0x16b4a3){const _0x1a4a19={};for(const _0x2eddd6 in _0x16b4a3['diffData'])_0x16b4a3['diffData'][_0x2eddd6]['attachChange']&&!_0x16b4a3['diffData'][_0x2eddd6]['attachChange']['isAttached']||(_0x1a4a19[_0x2eddd6]=_0x16b4a3['diffData'][_0x2eddd6]['attributesAfter']||{});return _0x1a4a19;}['_getTypeCharForViewElement'](_0x5f933c){return this['_viewClassToTypeChar']['get'](_0x5f933c['constructor']);}['_getViewFromDiffObj'](_0x7eab43,_0x933ce5){const _0x20ff3f=this['editor']['editing']['view']['document'];if('string'==typeof _0x7eab43)return new _0x22b56d['ViewText'](_0x20ff3f,_0x7eab43);{let _0x509c09,_0x43b7e1;_0x43b7e1='u'==_0x7eab43['type']||'r'==_0x7eab43['type']?[]:_0x7eab43['children']['map'](_0x32dd74=>this['_getViewFromDiffObj'](_0x32dd74,_0x933ce5));const _0x24e4cb=this['_typeCharToViewClass']['get'](_0x7eab43['type'])||_0x22b56d['ViewElement'],_0x134b13=this['editor']['data']['htmlProcessor']['domConverter'];if(_0x509c09=new _0x24e4cb(_0x20ff3f,_0x7eab43['name'],_0x7eab43['attributes'],_0x43b7e1),'u'==_0x7eab43['type']&&_0x7eab43['children'][0x0]){const _0x17021b=_0x7eab43['children'][0x0];if(_0x509c09['render']=function(_0x400693){const _0x2e6b5a=_0x400693['createElement']('div');return _0x2e6b5a['innerHTML']=_0x17021b,_0x2e6b5a['childNodes'][0x0];},_0x933ce5){const _0x5e6c19=new _0x22b56d['ViewDocumentFragment'](_0x20ff3f);_0x5e6c19['_appendChild'](_0x509c09);const _0x77631a=Array['from'](_0x134b13['viewChildrenToDom'](_0x5e6c19,{'bind':!0x1})),_0x3d0d77=_0x134b13['domDocument']['createElement']('div');_0x3d0d77['append'](..._0x77631a),_0x509c09=Array['from'](_0x134b13['domChildrenToView'](_0x3d0d77))[0x0];}}else{if('r'==_0x7eab43['type']&&_0x7eab43['children'][0x0]){const _0x5aa9ab=_0x7eab43['children'][0x0];if(_0x509c09['render']=function(_0x7d0633){_0x7d0633['innerHTML']=_0x5aa9ab;},_0x933ce5){const _0x1b490c=new _0x22b56d['ViewDocumentFragment'](_0x20ff3f);_0x1b490c['_appendChild'](_0x509c09);const _0x5167ef=Array['from'](_0x134b13['viewChildrenToDom'](_0x1b490c,{'bind':!0x1})),_0x4173ea=_0x134b13['domDocument']['createElement']('div');_0x4173ea['append'](..._0x5167ef);const _0x5c0b84=Array['from'](_0x134b13['domChildrenToView'](_0x4173ea));_0x5c0b84['length']>0x1?_0x509c09['_appendChild'](_0x5c0b84):_0x509c09=_0x5c0b84[0x0];}}}if(_0x7eab43['customProperties']){for(const [_0x197e28,_0x1eadbd]of _0x7eab43['customProperties'])_0x509c09['_setCustomProperty'](_0x197e28,_0x1eadbd);}const _0x79e8f9=void 0x0===_0x7eab43['fillerOffset']?null:_0x7eab43['fillerOffset'];return null!==_0x79e8f9&&(_0x509c09['getFillerOffset']=()=>_0x79e8f9),_0x509c09;}}['_makeModelFromViewString'](_0x246753){const _0x331919=JSON['parse'](_0x246753),_0x5a45bc=this['editor']['editing']['view']['document'],_0x510ca3=new _0x22b56d['ViewDocumentFragment'](_0x5a45bc,_0x331919['map'](_0x25e962=>this['_getViewFromDiffObj'](_0x25e962,!0x0)));return this['editor']['data']['toModel'](_0x510ca3);}['_removeRevisionMarkers'](_0x14bd98){return(_0x14bd98=_0x14bd98['filter'](_0x31a809=>!_0x31a809['name']||'revision-start'!==_0x31a809['name']&&'revision-end'!==_0x31a809['name']))['forEach'](_0x8e6cb4=>{'string'!=typeof _0x8e6cb4&&(_0x8e6cb4['children']=this['_removeRevisionMarkers'](_0x8e6cb4['children']),_0x8e6cb4['attributes']=_0x8e6cb4['attributes']['filter'](_0x2c4e6c=>!_0x2c4e6c[0x0]['startsWith']('data-revision-')));}),_0x14bd98;}}function _0x3008b4(_0x5640d9,_0x140124,_0x43d6c1){const t=_0x5640d9['t'];switch(_0x140124){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'},_0x43d6c1);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x43d6c1);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 _0x449e76 extends _0x22b56d['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[_0x433f5f,RevisionsRepository,RevisionHistoryUtils,_0x22b56d['PendingActions']];}constructor(_0x2d66c3){super(_0x2d66c3),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 _0x441410=_0x22b56d['uid']();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x441410},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 _0xa796a=this['repository']['getRevision'](0x0),_0x5b10d7=_0xa796a&&null===_0xa796a['creator']?_0xa796a:null;if(this['_continueCurrentRevision']=!!_0x5b10d7&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x167413=this['_source']['getCurrentRevisionId'](),_0x267a94=this['repository']['getRevision'](_0x167413);if(_0x267a94)this['_startingVersion']=_0x267a94['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x2ffd68=this['_source']['history']['_operations']['find'](_0x40c77f=>!_0x40c77f['_isInit']),_0x1f5d70=_0x2ffd68?_0x2ffd68['baseVersion']:this['_source']['history']['version'];_0xa796a?(_0xa796a['toVersion']<_0x1f5d70&&_0xa796a['_update']({'toVersion':_0x1f5d70}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x5b10d7['id'],this['_startingVersion']=_0x5b10d7['fromVersion']):(this['_startingVersion']=_0xa796a['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x1f5d70,this['_continueCurrentRevision']=!0x1);}}else _0x5b10d7&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x5b10d7['toVersion'],this['editor']['model']['document']['history']['version']),_0x5b10d7['fromVersion']===_0x5b10d7['toVersion']?(0x0!==_0x5b10d7['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x5b10d7['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x5b10d7['id'],this['_startingVersion']=_0x5b10d7['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',_0x12aa91=>!_0x12aa91),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2988c0=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x10803a;for(const _0x4f5804 in _0x2988c0){const _0x26314a=_0x4f5804,_0x45bf7d=_0x2988c0[_0x26314a];if('revisionHistoryLicenseKeyValid'==_0x45bf7d||'revisionHistoryLicenseKeyInvalid'==_0x45bf7d||'revisionHistoryLicenseKeyExpired'==_0x45bf7d||'revisionHistoryLicenseKeyDomainLimit'==_0x45bf7d||'revisionHistoryLicenseKeyNotAllowed'==_0x45bf7d||'revisionHistoryLicenseKeyEvaluationLimit'==_0x45bf7d||'revisionHistoryLicenseKeyUsageLimit'==_0x45bf7d){delete _0x2988c0[_0x26314a],_0x10803a=_0x45bf7d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'revisionHistoryLicenseKeyInvalid'==_0x10803a&&_0x2988c0['_showLicenseError']('invalid'),'revisionHistoryLicenseKeyExpired'==_0x10803a&&_0x2988c0['_showLicenseError']('expired'),'revisionHistoryLicenseKeyDomainLimit'==_0x10803a&&_0x2988c0['_showLicenseError']('domainLimit'),'revisionHistoryLicenseKeyNotAllowed'==_0x10803a&&_0x2988c0['_showLicenseError']('featureNotAllowed','RevisionHistory'),'revisionHistoryLicenseKeyEvaluationLimit'==_0x10803a&&_0x2988c0['_showLicenseError']('evaluationLimit'),'revisionHistoryLicenseKeyUsageLimit'==_0x10803a&&_0x2988c0['_showLicenseError']('usageLimit');},0x3e8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x48dc0b=this['repository']['getRevision'](0x0),_0xc11846=await this['getRevisionDocumentData'](_0x48dc0b),_0x169e9e=await this['getRevisionRootsAttributes'](_0x48dc0b);this['_replaceEditorDataWithRevisionData'](_0xc11846,_0x169e9e);}}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['setSource'](_0x3aaa56){this['_source']=_0x3aaa56;}async['update'](){const _0x301256=await this['_source']['getLatestVersion']();if(_0x301256>this['currentRevision']['toVersion']){await this['_loadState']();const _0x5c0c92=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x301256});_0x5c0c92['authors']=_0x5c0c92['authorsIds']['map'](_0x28714a=>this['editor']['plugins']['get']('Users')['getUser'](_0x28714a)),this['currentRevision']['_update'](_0x5c0c92);}}async['saveRevision'](_0x2eb84d={},_0x510686=null){const _0x2599e3=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x510686>this['currentRevision']['toVersion']&&(_0x510686=null),null===_0x510686&&(_0x510686=await this['_source']['getLatestVersion']());const _0x401a8f=this['_getFromVersion'](_0x510686),_0x2a21ad=this['buildRevisionData']({'from':_0x401a8f,'to':_0x510686});if(this['currentRevision']['toVersion']<_0x510686){const _0x31e7bb=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x510686,'to':_0x510686});_0x31e7bb['authors']=[],_0x31e7bb['authorsIds']=[],_0x31e7bb['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x31e7bb,!0x0),delete _0x31e7bb['authors'],_0x2599e3['push'](_0x31e7bb);}_0x2eb84d['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x2eb84d['name']=_0x2eb84d['name']||null,_0x2eb84d['id']=_0x2eb84d['id']||_0x22b56d['uid'](),_0x2eb84d={..._0x2eb84d,..._0x2a21ad};const _0x33a985=this['addRevisionData'](_0x2eb84d);_0x2599e3['push'](_0x2eb84d);const _0x6bd9fd=this['repository']['getIndex'](_0x33a985);if(0x0!==_0x6bd9fd){const _0x27e0ac=this['repository']['getRevision'](_0x6bd9fd-0x1);if(_0x27e0ac['fromVersion']!==_0x510686){const _0x4f445d=this['_revisionDataBuilder']['getData'](_0x510686,_0x27e0ac['toVersion']),_0x24f2f6={'id':_0x27e0ac['id'],'diffData':_0x4f445d['diffData'],'authorsIds':_0x4f445d['authorsIds'],'authors':_0x4f445d['authorsIds']['map'](_0x431156=>this['editor']['plugins']['get']('Users')['getUser'](_0x431156)),'fromVersion':_0x510686};_0x27e0ac===this['currentRevision']&&(_0x24f2f6['createdAt']=new Date(_0x2eb84d['createdAt']['getTime']()+0xa)),_0x27e0ac['_update'](_0x24f2f6,!0x0),delete _0x24f2f6['authors'],_0x2599e3['push'](_0x24f2f6);}}if(this['adapter']){for(const _0x39e3ca of _0x2599e3)this['_bufferUpdate'](_0x39e3ca['id'],_0x39e3ca,!0x0);this['sendBufferedUpdates']();}return _0x33a985;}['addRevisionData'](_0x3626ef){const _0x7c15cd=this['repository']['createRevision'](_0x3626ef);return this['adapter']&&_0x7c15cd['on']('_update',(_0x58860d,_0x5e3f67,_0x552c0d)=>{_0x552c0d||(this['_bufferUpdate'](_0x5e3f67['id'],_0x5e3f67,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x7c15cd,this['_findInsertionIndex'](_0x7c15cd)),_0x7c15cd;}async['getRevisionDocumentData'](_0x4e7c56){return await this['_utils']['loadRevisionData'](_0x4e7c56,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x4e7c56);}async['getRevisionRootsAttributes'](_0x2fa6cd){return await this['_utils']['loadRevisionData'](_0x2fa6cd,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x2fa6cd);}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x1391b6=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x47c1f6=0x0;_0x47c1f6<_0x1391b6['length'];_0x47c1f6++){const _0x259cc4=_0x1391b6[_0x47c1f6];let _0xd1ff3=!0x1;for(const _0x340302 of Object['keys'](_0x259cc4))void 0x0===_0x259cc4[_0x340302]?delete _0x259cc4[_0x340302]:'id'!==_0x340302&&(_0xd1ff3=!0x0);_0xd1ff3||(_0x1391b6[_0x47c1f6]=null);}if(_0x1391b6=_0x1391b6['filter'](_0x2c4d8f=>null!==_0x2c4d8f),!_0x1391b6['length'])return;for(let _0x43dda8=0x0;_0x43dda8<_0x1391b6['length'];_0x43dda8++){const _0x68319b=_0x1391b6[_0x43dda8];void 0x0!==_0x68319b['fromVersion']&&void 0x0===_0x68319b['toVersion']&&(_0x68319b['toVersion']=this['repository']['getRevision'](_0x68319b['id'])['toVersion']),void 0x0!==_0x68319b['toVersion']&&void 0x0===_0x68319b['fromVersion']&&(_0x68319b['fromVersion']=this['repository']['getRevision'](_0x68319b['id'])['fromVersion']);}const _0x46b16a=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x1391b6,_0x46b16a)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x5e70c8=>{if(_0x5e70c8){for(const _0x55435f of _0x5e70c8)this['setRevisionData']({'id':_0x55435f['id'],'createdAt':_0x55435f['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['buildRevisionData']({revision:_0x446ebc=null,from:_0x3263f3=null,to:_0x45a593=null}){_0x3263f3=null!==_0x3263f3?_0x3263f3:_0x446ebc['fromVersion'],_0x45a593=null!==_0x45a593?_0x45a593:_0x446ebc['toVersion'];const _0x2c6854=this['_revisionDataBuilder']['getData'](_0x3263f3,_0x45a593),_0x45565b={'diffData':_0x2c6854['diffData'],'authorsIds':_0x2c6854['authorsIds'],'fromVersion':_0x3263f3,'toVersion':_0x45a593};if(!_0x446ebc||_0x45a593!==_0x446ebc['toVersion']){const _0x117c00=_0x45a593-0x1,_0xb4334b=this['_source']['history']['getOperation'](_0x117c00);_0x45565b['createdAt']=_0xb4334b&&_0xb4334b['createdAt']||new Date();}if(this['_loadedStateData']&&_0x3263f3===this['_loadedStateData']['fromVersion']){for(const _0x3851c3 of this['_loadedStateData']['authors'])_0x45565b['authorsIds']['includes'](_0x3851c3['id'])||_0x45565b['authorsIds']['push'](_0x3851c3['id']);}return _0x45565b;}['_bufferUpdate'](_0x34bf2d,_0xa0d3ca,_0x42ca55){if(this['_bufferedUpdates']['has'](_0x34bf2d)){const _0x97cffc=this['_bufferedUpdates']['get'](_0x34bf2d);_0xa0d3ca=_0x42ca55?{..._0x97cffc,..._0xa0d3ca}:{..._0xa0d3ca,..._0x97cffc};}this['_bufferedUpdates']['set'](_0x34bf2d,_0xa0d3ca);}['setRevisionData'](_0x22e886){const _0x422052=this['repository']['getRevision'](_0x22e886['id']);if(_0x22e886['createdAt']&&(_0x22e886['createdAt']=new Date(_0x22e886['createdAt'])),_0x22e886['authorsIds']){const _0x2a0ccb=this['editor']['plugins']['get']('Users');_0x22e886['authors']=_0x22e886['authorsIds']['map'](_0x445eaa=>_0x2a0ccb['getUser'](_0x445eaa));}_0x422052['_update'](_0x22e886,!0x0);}['_createInitialRevision'](_0x1013e9){const _0x3c3183=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x3c3183)this['_initialRevisionId']=_0x3c3183['id'];else{const _0x53012e=!this['editor']['model']['document']['roots']['find'](_0x8eee36=>this['editor']['model']['hasContent'](_0x8eee36)),_0x12cf7e=this['editor']['plugins']['get']('Users')['me']['id'],_0x5da0fb=_0x3008b4(this['editor']['locale'],_0x53012e?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x1013e9,'to':_0x1013e9,'id':this['_initialRevisionId'],'name':_0x5da0fb,'creatorId':_0x12cf7e});}}['_createCurrentRevision'](_0x5bf0ef){const _0x226102=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x226102),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x5bf0ef,'to':_0x5bf0ef,'id':_0x226102,'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'](_0x3bfd10,_0xf3dad7){let _0x1608a8=this['editor']['config']['get']('initialData'),_0x346359=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x1608a8){_0x1608a8={};for(const _0x15b7ad of this['editor']['model']['document']['getRootNames']())_0x1608a8[_0x15b7ad]='';}if('string'==typeof _0x1608a8&&(_0x1608a8={'main':_0x1608a8}),void 0x0===_0x346359){_0x346359={};for(const _0x561fdf of this['editor']['model']['document']['getRootNames']())_0x346359[_0x561fdf]={};}let _0x57a79a=!0x1;const _0x308d4f=Object['keys'](_0x1608a8),_0x1927d7=Object['keys'](_0x3bfd10);for(const _0x1c56b2 of _0x308d4f){if(_0x1608a8[_0x1c56b2]!==_0x3bfd10[_0x1c56b2]&&''!==_0x1608a8[_0x1c56b2]['trim']()){_0x57a79a=!0x0;break;}if(!dt(_0x346359[_0x1c56b2],_0xf3dad7[_0x1c56b2])&&Object['keys'](_0x346359[_0x1c56b2])['length']>0x0){_0x57a79a=!0x0;break;}}_0x57a79a||(_0x57a79a=_0x1927d7['some'](_0x24f80b=>!this['editor']['model']['document']['getRoot'](_0x24f80b))),_0x57a79a&&_0x22b56d['logWarning']('editor-initial-data-replaced-with-revision-data',{'editorData':_0x1608a8,'editorRootsAttributes':_0x346359,'revisionData':_0x3bfd10,'revisionRootsAttributes':_0xf3dad7}),this['editor']['config']['set']('initialData',_0x3bfd10),this['editor']['config']['set']('rootsAttributes',_0xf3dad7);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x3aae43=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x3aae43['add'](_0x3008b4(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x35a58f){const _0x23effa=this['repository']['getRevisions']();_0x23effa['reverse']();let _0x44e7e4=0x0;for(;_0x44e7e4<_0x23effa['length'];){const _0x482448=_0x23effa[_0x44e7e4];if(_0x482448===this['currentRevision']){_0x44e7e4++;continue;}if(_0x482448['id']===this['_initialRevisionId'])break;const _0x202bd9=_0x35a58f['toVersion']-_0x482448['toVersion']||_0x35a58f['fromVersion']-_0x482448['fromVersion'];if(_0x202bd9>0x0)break;if(_0x202bd9<0x0)_0x44e7e4++;else{if(!_0x35a58f['creator']&&_0x482448['creator'])break;if(_0x482448['creator']||!_0x35a58f['creator']){if(_0x35a58f['createdAt']>_0x482448['createdAt'])break;_0x44e7e4++;}else _0x44e7e4++;}}return _0x44e7e4;}['_getFromVersion'](_0x118ce3){const _0x52df53=this['repository']['getRevisions']();_0x52df53['reverse'](),_0x52df53['shift']();const _0x309887=_0x52df53['find'](_0x2682aa=>_0x2682aa['toVersion']<=_0x118ce3)['toVersion'];return _0x309887<this['_startingVersion']?this['_startingVersion']:_0x309887;}['_makeRevision']({name:_0x52e8dd,from:_0x284612,to:_0x16387d,creatorId:_0x14cdbb,id:_0x43caae}){const _0x4cab83=this['buildRevisionData']({'from':_0x284612,'to':_0x16387d});_0x4cab83['name']=_0x52e8dd,_0x4cab83['creatorId']=_0x14cdbb,_0x4cab83['id']=_0x43caae;const _0x91a60e=this['addRevisionData'](_0x4cab83);return this['adapter']&&this['_bufferUpdate'](_0x4cab83['id'],_0x4cab83,!0x0),_0x91a60e;}['_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(_0x4f2566){this['editor']=_0x4f2566,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'](_0x315747){this['source']=_0x315747;const _0x4c4104=new Map(),_0x2165c3=new Map(),_0x22d3f5=this['editor']['model']['document']['roots']['map'](_0x19c2a7=>_0x19c2a7['rootName']);for(const _0x35a6dc of _0x22d3f5){const _0x2045bf=this['editor']['model']['document']['getRoot'](_0x35a6dc),_0x5c19f6=_0x4e9c88(_0x2045bf);_0x4c4104['set'](_0x35a6dc,_0x5c19f6),_0x2165c3['set'](_0x35a6dc,Object['fromEntries'](_0x2045bf['getAttributes']()));}const _0x257e5c=Array['from'](this['editor']['model']['markers'])['map'](_0x23a0e0=>[_0x23a0e0['name'],_0x23a0e0['getRange']()]),_0x19b8fb=this['source']['version'];this['_saveMetaData'](_0x19b8fb,_0x4c4104,_0x257e5c,_0x2165c3),this['_startingRevisionId']=this['_revisionId'];const _0xa48c7a=new Map(),_0x29b629=new Map();for(const _0x5e6ef8 of _0x22d3f5){const _0x1c78ce=_0x518212(_0x5e6ef8);_0xa48c7a['set'](_0x5e6ef8,_0x1c78ce),_0x29b629['set'](_0x5e6ef8,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0xa48c7a,[],_0x29b629);}['getData'](_0x20aedf,_0x26e0a5){if(this['_lastFrom']===_0x20aedf&&this['_lastTo']<=_0x26e0a5)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x26e0a5,!0x0);else{if(!this['_savedMetaData']['has'](_0x20aedf)){const _0x31d520=this['_getPreviousFrom'](_0x20aedf);this['_calculateMetaData'](_0x31d520,_0x20aedf,!0x1);}this['_calculateMetaData'](_0x20aedf,_0x26e0a5,!0x0);}return this['_lastFrom']=_0x20aedf,this['_lastTo']=_0x26e0a5,this['_getState']();}['loadState'](_0x425720){if(!this['_savedMetaData']['has'](_0x425720['fromVersion'])){const _0x57f471=this['_getPreviousFrom'](_0x425720['fromVersion']);this['_calculateMetaData'](_0x57f471,_0x425720['fromVersion'],!0x1);}this['_calculateMetaData'](_0x425720['fromVersion'],_0x425720['toVersion'],!0x1);const _0x3fb0c7=this['editor']['plugins']['get']('RevisionHistoryUtils');this['_reset'](),this['_lastFrom']=_0x425720['fromVersion'],this['_lastTo']=_0x425720['toVersion'];for(const _0x26e75a in _0x425720['diffData']){const _0x16067f=_0x425720['diffData'][_0x26e75a]['attachChange'],_0x363529=_0xed69dc(_0x425720['diffData'][_0x26e75a]['attributesBefore'])||{},_0x3d7367=_0x3fb0c7['_makeModelFromViewString'](_0x425720['diffData'][_0x26e75a]['deletions']);_0x3d7367['rootName']=_0x26e75a,_0x3d7367['_isAttached']=!_0x16067f||!_0x16067f['isAttached'],_0x3d7367['isAttached']=()=>_0x3d7367['_isAttached'],this['_baseRoots']['set'](_0x26e75a,_0x3d7367),this['_baseRootsAttributes']['set'](_0x26e75a,_0x363529),_0x16067f&&this['_touchedRoots']['set'](_0x26e75a,_0x16067f);const _0x85f23a=this['_makeIdsRoot'](_0x3d7367);this['_baseIdsRoots']['set'](_0x26e75a,_0x85f23a);for(const [_0x296cc8,_0x295259]of _0x3d7367['markers']){if(!_0x296cc8['startsWith']('revision:'))continue;const _0x27472e=_0x296cc8['split'](':')[0x2];for(const _0x1258fc of _0x295259['getWalker']({'singleCharacters':!0x0})){const _0x56d49e=this['_getVidAttributeName'](_0x1258fc),_0x49237a='elementEnd'==_0x1258fc['type']?_0x1258fc['previousPosition']['path']['slice'](0x0,-0x1):_0x1258fc['previousPosition']['path'],_0x3f852d=_0x85f23a['getNodeByPath'](_0x49237a)['getAttribute'](_0x56d49e);this['_touched']['set'](_0x3f852d,{'userId':_0x27472e});}_0x3d7367['markers']['delete'](_0x296cc8);}}this['_startingRevisionId']=this['_revisionId'];const _0x570949=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x527874=>!this['_touched']['has'](_0x527874));let _0x5c625a=0x0;const _0x47fd66=new Map();for(const _0x4991de in _0x425720['diffData']){const _0x527d72=_0x425720['diffData'][_0x4991de]['attachChange'],_0x58524b=_0xed69dc(_0x425720['diffData'][_0x4991de]['attributesAfter'])||{},_0x2d6b6e=_0x3fb0c7['_makeModelFromViewString'](_0x425720['diffData'][_0x4991de]['insertions']);_0x2d6b6e['rootName']=_0x4991de,_0x2d6b6e['_isAttached']=!_0x527d72||_0x527d72['isAttached'],_0x2d6b6e['isAttached']=()=>_0x2d6b6e['_isAttached'],this['_diffRoots']['set'](_0x4991de,_0x2d6b6e),this['_diffRootsAttributes']['set'](_0x4991de,_0x58524b);const _0xc5fe97=this['_makeIdsRoot'](_0x2d6b6e,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x4991de,_0xc5fe97),_0x47fd66['set'](_0x4991de,_0x2d6b6e['isAttached']()?_0x58524b:{});for(const [_0x5a8f75,_0x2cce3d]of _0x2d6b6e['markers']){if(!_0x5a8f75['startsWith']('revision:'))continue;const _0xc38349=_0x5a8f75['split'](':')[0x2];for(const _0xce865a of _0x2cce3d['getWalker']({'singleCharacters':!0x0})){const _0x5eb4f3=this['_getVidAttributeName'](_0xce865a),_0x50672a=this['_revisionId']++,_0x114077='elementEnd'==_0xce865a['type']?_0xce865a['previousPosition']['path']['slice'](0x0,-0x1):_0xce865a['previousPosition']['path'];_0xc5fe97['getNodeByPath'](_0x114077)['_setAttribute'](_0x5eb4f3,_0x50672a),this['_touched']['set'](_0x50672a,{'userId':_0xc38349});}_0x2d6b6e['markers']['delete'](_0x5a8f75);}for(const _0x2fa12e of this['editor']['model']['createRangeIn'](_0x2d6b6e)['getWalker']({'singleCharacters':!0x0})){const _0x4d264c=this['_getVidAttributeName'](_0x2fa12e),_0x39ff40='elementEnd'==_0x2fa12e['type']?_0x2fa12e['previousPosition']['path']['slice'](0x0,-0x1):_0x2fa12e['previousPosition']['path'],_0x54632b=_0xc5fe97['getNodeByPath'](_0x39ff40);_0x54632b['getAttribute'](_0x4d264c)>0x0||_0x54632b['_setAttribute'](_0x4d264c,_0x570949[_0x5c625a++]);}for(const [_0x53a003,_0xe1b5cd]of _0x2d6b6e['markers'])_0x53a003['startsWith']('revision:')||this['_markers']['set'](_0x53a003,_0xe1b5cd);}const {roots:_0x5da0cd}=this['_savedMetaData']['get'](_0x425720['fromVersion']),{roots:_0x3f0d3c}=this['_savedMetaData']['get'](_0x425720['toVersion']),_0x20c10d=_0x4e9c88(_0x5da0cd['get']('$graveyard'));this['_baseRoots']['set']('$graveyard',_0x20c10d),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x20c10d,Number['NEGATIVE_INFINITY']));const _0x202322=_0x4e9c88(_0x3f0d3c['get']('$graveyard'));this['_diffRoots']['set']('$graveyard',_0x202322),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x202322));const _0x2566a1=Array['from'](this['_diffRoots'])['map'](([_0x234077,_0x45239a])=>[_0x234077,_0x4e9c88(_0x45239a)]);this['_saveMetaData'](this['_lastTo'],_0x2566a1,this['_markers'],_0x47fd66);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_saveMetaData'](_0x4401cc,_0x5a1d6d,_0x1e8ca0,_0x238837){const _0x58fba1=new Map(_0x5a1d6d),_0x399a01=new Map(_0xed69dc(_0x238837)),_0x2b060a=new Map();for(const [_0x259f1c,_0x5040fd]of _0x1e8ca0)_0x2b060a['set'](_0x259f1c,{'start':_0x5040fd['start']['clone'](),'end':_0x5040fd['end']['clone'](),'rootName':_0x5040fd['root']['rootName']});this['_savedMetaData']['set'](_0x4401cc,{'roots':_0x58fba1,'markers':_0x2b060a,'rootsAttributes':_0x399a01});}['_removeMetaData'](_0x1f47a5){this['_savedMetaData']['delete'](_0x1f47a5);}['_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'](_0x3d6a76,_0x40ae58=null){let _0x391b6b=null;_0x3d6a76['is']('documentFragment')||(_0x391b6b=new _0x22b56d['ModelElement'](_0x3d6a76['name'],{'vid_start':null===_0x40ae58?this['_revisionId']++:_0x40ae58++}));const _0x2648cf=[];for(const _0x2a53f9 of _0x3d6a76['getChildren']())if(_0x2a53f9['is']('element')){_0x2648cf['push'](this['_makeIdsRoot'](_0x2a53f9,_0x40ae58));const _0x12b007=_0x2648cf[_0x2648cf['length']-0x1];null!==_0x40ae58&&(_0x40ae58=_0x12b007['is']('element','$text')?_0x12b007['getAttribute']('vid')+0x1:_0x12b007['getAttribute']('vid_end')+0x1);}else{for(let _0x24a8c9=0x0;_0x24a8c9<_0x2a53f9['offsetSize'];_0x24a8c9++)_0x2648cf['push'](new _0x22b56d['ModelElement']('$text',{'vid':null===_0x40ae58?this['_revisionId']++:_0x40ae58++}));}if(_0x3d6a76['is']('documentFragment')){const _0x3de693=_0x518212(_0x3d6a76['rootName']);return _0x3de693['_insertChild'](0x0,_0x2648cf),_0x3de693;}return _0x391b6b['_setAttribute']('vid_end',null===_0x40ae58?this['_revisionId']++:_0x40ae58++),_0x391b6b['_insertChild'](0x0,_0x2648cf),_0x391b6b;}['_calculateMetaData'](_0x300267,_0x59a5af,_0x20247a){this['_reset']();const {roots:_0x3f5c32,markers:_0x1d7d18,rootsAttributes:_0x102a65}=this['_savedMetaData']['get'](_0x300267);this['_baseRoots']=new Map(_0x3f5c32),this['_baseRootsAttributes']=new Map(_0xed69dc(_0x102a65));for(const [_0x5efbc0,_0x337975]of this['_baseRoots'])if('$graveyard'!==_0x5efbc0&&(this['_diffRoots']['set'](_0x5efbc0,_0x4e9c88(_0x337975)),this['_diffRootsAttributes']=new Map(_0xed69dc(_0x102a65)),_0x20247a)){const _0x5e1d68=this['_revisionId'];this['_idsRoots']['set'](_0x5efbc0,this['_makeIdsRoot'](_0x337975)),this['_baseIdsRoots']['set'](_0x5efbc0,this['_makeIdsRoot'](_0x337975,_0x5e1d68));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',_0x4e9c88(this['_baseRoots']['get']('$graveyard'))),_0x20247a&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1f4ff1,_0x241023]of _0x1d7d18){const _0x38575b=this['_baseRoots']['get'](_0x241023['rootName']),_0x29e198=this['_diffRoots']['get'](_0x241023['rootName']),_0x79b0a9=new _0x22b56d['ModelRange'](this['_fixPosition'](_0x241023['start'],_0x38575b),this['_fixPosition'](_0x241023['end'],_0x38575b)),_0x7ca2d0=this['_fixRange'](_0x79b0a9,_0x29e198);_0x38575b['markers']['set'](_0x1f4ff1,_0x79b0a9),this['_markers']['set'](_0x1f4ff1,_0x7ca2d0);}this['_applyOperations'](_0x300267,_0x59a5af,_0x20247a);}['_applyOperations'](_0x15f4f7,_0x4eb231,_0x557a2b){for(const _0x7e1538 of this['source']['getOperations'](_0x15f4f7,_0x4eb231))this['_handleOperation'](_0x7e1538,_0x557a2b);for(const _0x1861bd of this['_diffRoots']['values']())_0x1861bd['markers']['clear']();for(const [_0x804673,_0x34250a]of this['_markers']){this['_diffRoots']['get'](_0x34250a['root']['rootName'])['markers']['set'](_0x804673,_0x34250a['clone']());}const _0x2e55aa=new Map(),_0x9226e6=new Map();for(const [_0x360a1e,_0x58e416]of this['_diffRoots'])_0x2e55aa['set'](_0x360a1e,_0x4e9c88(_0x58e416)),_0x9226e6['set'](_0x360a1e,this['_diffRootsAttributes']['get'](_0x360a1e));this['_saveMetaData'](_0x4eb231,_0x2e55aa,this['_markers'],_0x9226e6);}['_getPreviousFrom'](_0x12ab4e){const _0x439bf1=Array['from'](this['_savedMetaData']['keys']());_0x439bf1['sort']((_0x31694a,_0x4ecf90)=>_0x31694a-_0x4ecf90),_0x439bf1['reverse']();for(const _0x75c79f of _0x439bf1)if(_0x75c79f<_0x12ab4e)return _0x75c79f;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x7fb5ec,_0x3a6806){const _0x4efef8=Array['from'](_0x3a6806['markers'])['map'](([_0x5c40f8,_0x5acafa])=>[_0x5c40f8,this['_fixRange'](_0x5acafa,_0x7fb5ec)]);_0x7fb5ec['markers']=new Map(_0x4efef8);}['_transformMarkers'](_0x18cc43){for(const _0x439629 of this['_markers']['values']()){const _0x162df6=_0x439629['getTransformedByOperation'](_0x18cc43),_0x3dee93=_0x22b56d['ModelRange']['_createFromRanges'](_0x162df6);_0x439629['start']=_0x3dee93['start'],_0x439629['end']=_0x3dee93['end'];}}['_handleOperation'](_0x3aab97,_0x4c8d60){if('addRoot'!=_0x3aab97['type']&&'detachRoot'!=_0x3aab97['type']){if('insert'==_0x3aab97['type']){const _0x54effd=_0x3aab97['position']['root']['rootName'];this['_diffRoots']['has'](_0x54effd)||(this['_diffRoots']['set'](_0x54effd,_0x518212(_0x54effd,!0x0)),this['_diffRootsAttributes']['set'](_0x54effd,{}),_0x4c8d60&&this['_idsRoots']['set'](_0x54effd,_0x518212(_0x54effd,!0x0)));}else{if('addRootAttribute'==_0x3aab97['type']||'removeRootAttribute'==_0x3aab97['type']||'changeRootAttribute'==_0x3aab97['type'])return void this['_handleRootAttributeOperation'](_0x3aab97);'marker'==_0x3aab97['type']&&this['_handleMarkerOperation'](_0x3aab97);}if('marker'!==_0x3aab97['type']){const _0x48c2a1=this['_cloneOperation'](_0x3aab97,this['_diffRoots']);_0x48c2a1['_execute'](),this['_transformMarkers'](_0x48c2a1);}if(_0x4c8d60)switch(_0x3aab97['type']){case'insert':this['_handleInsertOperation'](_0x3aab97);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x3aab97);break;case'merge':this['_handleMergeOperation'](_0x3aab97);break;case'split':this['_handleSplitOperation'](_0x3aab97);}}else this['_handleRootOperation'](_0x3aab97,_0x4c8d60);}['_cloneOperation'](_0x326055,_0xfb88ea){const _0x3ab800=_0x326055['clone']();return _0x3ab800['_authorId']=_0x326055['_authorId'],this['_fixOperation'](_0x3ab800,_0xfb88ea),_0x3ab800;}['_getBaseVids'](_0x4649c7){return _0x4649c7['map'](_0x1f1b05=>{const _0x1e64e0=this['_getVidAttributeName'](_0x1f1b05);return Number(_0x1f1b05['item']['getAttribute'](_0x1e64e0));});}['_generateTape'](_0x1713d9,_0x201a82){if(_0x1713d9['is']('element','$text'))_0x201a82['push']({'item':_0x1713d9,'type':'text'});else{_0x1713d9['is']('element')&&_0x201a82['push']({'item':_0x1713d9,'type':'elementStart'});for(const _0xa4841d of _0x1713d9['getChildren']())this['_generateTape'](_0xa4841d,_0x201a82);_0x1713d9['is']('element')&&_0x201a82['push']({'item':_0x1713d9,'type':'elementEnd'});}return _0x201a82;}['_getState'](){const _0x40108a=new Map(this['_touched']),_0x578771=new Map(_0x40108a),_0x1a1948=new Map(),_0x2b9d34={'insertions':{},'deletions':{}},_0x2563d2={'insertions':{},'deletions':{}},_0x43f18b=new Map(),_0x4e1789=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x4e1789['delete']('$graveyard');for(const _0x3da7ab of _0x4e1789){const _0x4ff652=this['_diffRoots']['get'](_0x3da7ab)||_0x518212(_0x3da7ab,!0x1),_0x133692=this['_baseRoots']['get'](_0x3da7ab)||_0x518212(_0x3da7ab,!0x1);_0x4ff652['isAttached']()||_0x133692['isAttached']()?(_0x2b9d34['insertions'][_0x3da7ab]=_0x4e9c88(_0x4ff652),_0x2b9d34['deletions'][_0x3da7ab]=_0x4e9c88(_0x133692),this['_copyMarkers'](_0x2b9d34['deletions'][_0x3da7ab],_0x133692),this['_copyMarkers'](_0x2b9d34['insertions'][_0x3da7ab],_0x4ff652),_0x2563d2['insertions'][_0x3da7ab]=this['_generateTape'](this['_idsRoots']['get'](_0x3da7ab),[]),_0x2563d2['deletions'][_0x3da7ab]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x3da7ab)||_0x518212(_0x3da7ab,!0x1),[])):_0x4e1789['delete'](_0x3da7ab);}for(const _0x48b108 of _0x4e1789){const _0x4c30d=_0x2563d2['insertions'][_0x48b108];for(const _0x263ef7 of _0x4c30d){const _0x5a5266=this['_getVidAttributeName'](_0x263ef7),_0x74a11e=_0x263ef7['item']['getAttribute'](_0x5a5266);_0x578771['delete'](_0x74a11e),_0x74a11e>=this['_startingRevisionId']&&_0x1a1948['set'](_0x74a11e,_0x40108a['get'](_0x74a11e));}}for(const _0x459860 of _0x4e1789){const _0x1e85d6=_0x2563d2['insertions'][_0x459860],_0xc5ce3f=this['_getBaseVids'](_0x2563d2['deletions'][_0x459860]);let _0x24aa9d=0x0;for(const _0x4efca6 of _0x1e85d6){const _0xa3879b=this['_getVidAttributeName'](_0x4efca6),_0x3a4c9b=_0x4efca6['item']['getAttribute'](_0xa3879b);if(!_0x1a1948['has'](_0x3a4c9b)&&!_0x43f18b['has'](_0x3a4c9b)){if(_0x578771['has'](_0x3a4c9b))_0x24aa9d++;else{if(_0x3a4c9b!=_0xc5ce3f[_0x24aa9d]){const _0x3e7977=_0x40108a['get'](_0x3a4c9b)||_0x40108a['get'](_0xc5ce3f[_0x24aa9d]);for(;_0x3a4c9b!=_0xc5ce3f[_0x24aa9d];)_0x578771['has'](_0xc5ce3f[_0x24aa9d])||(_0x43f18b['set'](_0xc5ce3f[_0x24aa9d],_0x3e7977),_0x40108a['set'](_0xc5ce3f[_0x24aa9d],_0x3e7977)),_0x24aa9d++;}_0x24aa9d++;}}}}for(const _0x2e9e75 of _0x4e1789){const _0x433e79=_0x2563d2['insertions'][_0x2e9e75];for(const _0x16bc03 of _0x433e79){const _0x456faa=this['_getVidAttributeName'](_0x16bc03),_0xca77e8=_0x16bc03['item']['getAttribute'](_0x456faa);if(_0x43f18b['has'](_0xca77e8)){const _0x5074f2=_0x43f18b['get'](_0xca77e8);_0x578771['has'](_0xca77e8)||_0x578771['set'](_0xca77e8,{..._0x5074f2}),_0x1a1948['set'](_0xca77e8,{..._0x5074f2});}}}for(const _0xfc8c51 of _0x578771['keys']())_0xfc8c51>=this['_startingRevisionId']&&_0x578771['delete'](_0xfc8c51);const _0x2ee7d3=new Map();for(const _0x56c92c of _0x4e1789){let _0x4548b2=_0x2563d2['insertions'][_0x56c92c];for(const _0x21a61b of _0x4548b2)if(_0x21a61b['item']['is']('element','tableCell')){const _0x468465=this['_getVidAttributeName'](_0x21a61b),_0x29b7e0=_0x21a61b['item']['getAttribute'](_0x468465);if(_0x1a1948['has'](_0x29b7e0)){const _0x5833e7=_0x21a61b['item']['parent']['parent']['getAttribute']('vid_start'),_0x768c3c=_0x2ee7d3['get'](_0x5833e7)||new Set();_0x768c3c['add'](_0x1a1948['get'](_0x29b7e0)['userId']),_0x2ee7d3['set'](_0x5833e7,_0x768c3c);}}_0x4548b2=_0x2563d2['deletions'][_0x56c92c];for(const _0x32a5c8 of _0x4548b2)if(_0x32a5c8['item']['is']('element','tableCell')){const _0x3258b4=this['_getVidAttributeName'](_0x32a5c8),_0x5ff6f5=_0x32a5c8['item']['getAttribute'](_0x3258b4);if(_0x578771['has'](_0x5ff6f5)){const _0xb78a4b=_0x32a5c8['item']['parent']['parent']['getAttribute']('vid_start'),_0x18bec3=_0x2ee7d3['get'](_0xb78a4b)||new Set();_0x18bec3['add'](_0x578771['get'](_0x5ff6f5)['userId']),_0x2ee7d3['set'](_0xb78a4b,_0x18bec3);}}for(const _0x2692a5 of _0x2ee7d3['keys']())(_0x1a1948['has'](_0x2692a5)||_0x578771['has'](_0x2692a5))&&_0x2ee7d3['delete'](_0x2692a5);}for(const _0x3afef2 of _0x4e1789){const _0x1d3da2=_0x2563d2['insertions'][_0x3afef2];let _0x2dfe98=null,_0xb3d809=null;for(const _0x683b72 of _0x1d3da2){const _0x328642=this['_getVidAttributeName'](_0x683b72),_0x415b07=_0x683b72['item']['getAttribute'](_0x328642),_0xa413f9=_0x2ee7d3['get'](_0x415b07);_0xa413f9&&'elementStart'==_0x683b72['type']&&(_0x2dfe98=Array['from'](_0xa413f9)[0x0],_0xb3d809=_0x683b72['item']['getAttribute']('vid_end')),_0x2dfe98&&(_0x578771['set'](_0x415b07,{'userId':_0x2dfe98}),_0x1a1948['set'](_0x415b07,{'userId':_0x2dfe98})),_0x415b07==_0xb3d809&&(_0x2dfe98=null,_0xb3d809=null);}}const _0x206f3a={},_0x44eb41=new Set();for(const _0x1565df of _0x4e1789){const _0x1d7b2e=_0x2b9d34['deletions'][_0x1565df],_0x22b6d7=_0x2b9d34['insertions'][_0x1565df];for(const {userId:_0x52676b}of this['_touchedMarkers']['values']())null!==_0x52676b&&_0x44eb41['add'](_0x52676b);for(const {userId:_0x566e39}of this['_touchedRoots']['values']())null!==_0x566e39&&_0x44eb41['add'](_0x566e39);this['_markChanges'](_0x22b6d7,_0x2563d2['insertions'][_0x1565df],_0x1a1948,'insertion',_0x44eb41),this['_markChanges'](_0x1d7b2e,_0x2563d2['deletions'][_0x1565df],_0x578771,'deletion',_0x44eb41),_0x206f3a[_0x1565df]={'insertions':this['_prepareViewToSave'](_0x22b6d7),'deletions':this['_prepareViewToSave'](_0x1d7b2e),'attachChange':this['_touchedRoots']['get'](_0x1565df)||null,'attributesBefore':_0xed69dc(this['_baseRootsAttributes']['get'](_0x1565df))||{},'attributesAfter':_0xed69dc(this['_diffRootsAttributes']['get'](_0x1565df))};}return{'diffData':_0x206f3a,'authorsIds':Array['from'](_0x44eb41)};}['_processRootBeforeSave'](_0xc2bd9a){for(const [,_0x3dcbcb]of _0xc2bd9a['markers']){const _0x36e0e9=_0x3dcbcb['start']['getAncestors']()['filter'](_0x4df9ff=>'tableCell'==_0x4df9ff['name']);for(const _0x4133d4 of _0x36e0e9)0x1==_0x4133d4['childCount']&&_0x4133d4['getChild'](0x0)['is']('element','paragraph')&&_0x4133d4['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x395f8c){this['_processRootBeforeSave'](_0x395f8c);const _0x20691f=this['editor']['data']['toView'](_0x395f8c,{}),_0x5f0465=Array['from'](_0x20691f['getChildren']())['map'](_0x381324=>this['_getViewJson'](_0x381324));return JSON['stringify'](_0x5f0465);}['_getViewJson'](_0x52f1ff){if(_0x52f1ff['is']('$text'))return _0x52f1ff['data'];{const _0x5676b7=this['editor']['plugins']['get']('RevisionHistoryUtils'),_0x5881f5=_0x52f1ff,_0x4e30d9=this['editor']['data']['htmlProcessor']['domConverter'],_0x1751f8={'type':_0x5676b7['_getTypeCharForViewElement'](_0x5881f5),'name':_0x5881f5['name'],'attributes':Array['from'](_0x5881f5['getAttributes']()),'children':Array['from'](_0x5881f5['getChildren']())['map'](_0x3a4be8=>this['_getViewJson'](_0x3a4be8))};if(_0x52f1ff['is']('uiElement')&&'$comment'!=_0x52f1ff['name']){const _0x3612b4=_0x52f1ff['render'](_0x4e30d9['domDocument'],_0x4e30d9);_0x1751f8['children']['push'](_0x3612b4['outerHTML']);}else{if(_0x52f1ff['is']('rawElement')){const _0x5b647e=_0x4e30d9['domDocument']['createElement'](_0x5881f5['name']);_0x52f1ff['render'](_0x5b647e,_0x4e30d9),_0x1751f8['children']['push'](_0x5b647e['innerHTML']);}}const _0x5a0ace=Array['from'](_0x5881f5['getCustomProperties']());_0x5a0ace['length']>0x0&&(_0x1751f8['customProperties']=_0x5a0ace);const _0x348664=_0x5881f5['getFillerOffset']();return null!==_0x348664&&(_0x1751f8['fillerOffset']=_0x348664),_0x1751f8;}}['_markChanges'](_0xf4b918,_0x5dce92,_0x2a56f5,_0x9e8362,_0x355062){let _0x276dcf=null,_0xc04c=null,_0x4b2755=0x0;const _0x52abbc=this['editor']['model'];for(let _0x12b2d5=0x0;_0x12b2d5<_0x5dce92['length'];_0x12b2d5++){const _0x4cc76d=this['_getVidAttributeName'](_0x5dce92[_0x12b2d5]),_0x45bae1=_0x5dce92[_0x12b2d5]['item']['getAttribute'](_0x4cc76d),_0x44d521=_0x2a56f5['get'](_0x45bae1),_0x5ebbce=_0x12b2d5==_0x5dce92['length']-0x1;(!_0x276dcf&&_0x44d521&&(_0x276dcf=_0x44d521,_0xc04c=_0x5dce92[_0x12b2d5]),_0x276dcf&&(!_0x44d521||_0x44d521['userId']!=_0x276dcf['userId']))&&(_0x30036b(_0x44d521,_0x829568(_0xc04c,_0xf4b918,_0x52abbc),_0x829568(_0x5dce92[_0x12b2d5],_0xf4b918,_0x52abbc)),_0x276dcf=_0x44d521||null,_0xc04c=_0x44d521?_0x5dce92[_0x12b2d5]:null),_0x276dcf&&_0x5ebbce&&_0x30036b(_0x44d521,_0x829568(_0xc04c,_0xf4b918,_0x52abbc),_0x129026(_0x5dce92[_0x12b2d5],_0xf4b918,_0x52abbc));}function _0x30036b(_0x1a20ab,_0x266411,_0x24c329){const _0x1586f2=_0x276dcf['userId'],_0x15559c='revision:'+_0x9e8362+':'+_0x1586f2+':'+_0x4b2755++,_0x3025ea=_0x52abbc['createRange'](_0x266411,_0x24c329);_0xf4b918['markers']['set'](_0x15559c,_0x3025ea),null!==_0x1586f2&&_0x355062['add'](_0x1586f2);}}['_getVidAttributeName'](_0x306ca9){switch(_0x306ca9['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x5981e7,_0x1b5d3a){_0x5981e7['baseVersion']=null;for(const _0x58055e in _0x5981e7){const _0x5a3bb8=_0x5981e7[_0x58055e];if(_0x5a3bb8 instanceof _0x22b56d['ModelPosition']){const _0x354987=_0x1b5d3a['get'](_0x5a3bb8['root']['rootName']);_0x5981e7[_0x58055e]=this['_fixPosition'](_0x5a3bb8,_0x354987);}if(_0x5a3bb8 instanceof _0x22b56d['ModelRange']){const _0x3ab2eb=_0x1b5d3a['get'](_0x5a3bb8['root']['rootName']);_0x5981e7[_0x58055e]=this['_fixRange'](_0x5a3bb8,_0x3ab2eb);}'root'===_0x58055e&&(_0x5981e7['root']=_0x1b5d3a['get'](_0x5981e7['root']['rootName']));}}['_fixRange'](_0x4a7614,_0x3322b7){return this['editor']['model']['createRange'](this['_fixPosition'](_0x4a7614['start'],_0x3322b7),this['_fixPosition'](_0x4a7614['end'],_0x3322b7));}['_fixPosition'](_0x1c36e1,_0x26af16){return this['editor']['model']['createPositionFromPath'](_0x26af16,_0x1c36e1['path'],_0x1c36e1['stickiness']);}['_handleInsertOperation'](_0x14b1ec){const _0x2b78ab=this['_idsRoots']['get'](_0x14b1ec['position']['root']['rootName']),_0x526db1=this['_fixPosition'](_0x14b1ec['position'],_0x2b78ab),_0x2bc612=null===_0x14b1ec['_authorId']?null:_0x14b1ec['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2321e3=_0x526db1['parent'],_0x20e60c=this['_revisionId'],_0x3d2ea8=[];for(const _0x487902 of _0x14b1ec['nodes'])if(_0x487902['is']('element'))_0x3d2ea8['push'](this['_makeIdsRoot'](_0x487902));else{for(let _0x2d1958=0x0;_0x2d1958<_0x487902['offsetSize'];_0x2d1958++)_0x3d2ea8['push'](new _0x22b56d['ModelElement']('$text',{'vid':this['_revisionId']++}));}const _0xef4eac=this['_revisionId'];for(let _0x26f59a=_0x20e60c;_0x26f59a<_0xef4eac;_0x26f59a++)this['_touched']['set'](_0x26f59a,{'userId':_0x2bc612});_0x2321e3['_insertChild'](_0x526db1['offset'],_0x3d2ea8);}['_handleMoveOperation'](_0x6970e8){(_0x6970e8=this['_cloneOperation'](_0x6970e8,this['_idsRoots']))['_execute']();const _0x51c252=null===_0x6970e8['_authorId']?null:_0x6970e8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x837197=_0x6970e8['getMovedRangeStart'](),_0x17f8e6=_0x837197['parent'],_0xcd10f5=_0x837197['offset'];!function _0x4c1ead(_0x45af29,_0x58b698,_0x179351,_0x32f465){for(let _0x24a1d6=_0x179351;_0x24a1d6<_0x32f465;_0x24a1d6++){const _0x143350=_0x58b698['getChild'](_0x24a1d6);_0x143350['is']('element','$text')?_0x45af29['set'](_0x143350['getAttribute']('vid'),{'userId':_0x51c252}):(_0x45af29['set'](_0x143350['getAttribute']('vid_start'),{'userId':_0x51c252}),_0x4c1ead(_0x45af29,_0x143350,0x0,_0x143350['childCount']),_0x45af29['set'](_0x143350['getAttribute']('vid_end'),{'userId':_0x51c252}));}}(this['_touched'],_0x17f8e6,_0xcd10f5,_0xcd10f5+_0x6970e8['howMany']);}['_handleMergeOperation'](_0x425844){const _0x28e30d=null===(_0x425844=this['_cloneOperation'](_0x425844,this['_idsRoots']))['_authorId']?null:_0x425844['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1f739e=_0x425844['targetPosition']['parent'],_0xe4e93a=_0x425844['sourcePosition']['parent'],_0x306abc=_0x1f739e['getAttribute']('vid_end'),_0x36e9e1=_0xe4e93a['getAttribute']('vid_start');_0x1f739e['_setAttribute']('vid_end',_0xe4e93a['getAttribute']('vid_end')),_0xe4e93a['_setAttribute']('vid_end',_0x306abc),this['_touched']['set'](_0x36e9e1,{'userId':_0x28e30d}),this['_touched']['set'](_0x306abc,{'userId':_0x28e30d}),_0x425844['_execute']();}['_handleSplitOperation'](_0xd84a06){const _0x2fc90f=null===(_0xd84a06=this['_cloneOperation'](_0xd84a06,this['_idsRoots']))['_authorId']?null:_0xd84a06['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3920ae=_0xd84a06['graveyardPosition'],_0xcedf33=_0xd84a06['splitPosition']['parent'];_0xd84a06['_execute']();const _0x3fd751=_0xcedf33['getAttribute']('vid_end'),_0x30599b=_0xd84a06['insertionPosition']['nodeAfter'];if(_0x3920ae){const _0x12d57c=_0x30599b['getAttribute']('vid_end'),_0x1ca8eb=_0xcedf33['getAttribute']('vid_end');_0xcedf33['_setAttribute']('vid_end',_0x12d57c),_0x30599b['_setAttribute']('vid_end',_0x1ca8eb),this['_touched']['set'](_0xcedf33['getAttribute']('vid_end'),{'userId':_0x2fc90f}),this['_touched']['set'](_0x30599b['getAttribute']('vid_start'),{'userId':_0x2fc90f});}else{const _0x2d3415=this['_revisionId']++,_0x2cd7cb=this['_revisionId']++;_0xcedf33['_setAttribute']('vid_end',_0x2d3415),_0x30599b['_setAttribute']('vid_start',_0x2cd7cb),_0x30599b['_setAttribute']('vid_end',_0x3fd751),this['_touched']['set'](_0x2d3415,{'userId':_0x2fc90f}),this['_touched']['set'](_0x2cd7cb,{'userId':_0x2fc90f});}}['_handleMarkerOperation'](_0x18cfbd){if(!_0x18cfbd['affectsData'])return;const _0x2aeca4=(_0x18cfbd=this['_cloneOperation'](_0x18cfbd,this['_diffRoots']))['oldRange']?_0x18cfbd['oldRange']['root']:null,_0x2bfbd3=_0x18cfbd['newRange']?_0x18cfbd['newRange']['root']:null;_0x2aeca4&&this['_markers']['delete'](_0x18cfbd['name']),_0x2bfbd3&&this['_markers']['set'](_0x18cfbd['name'],_0x18cfbd['newRange']['clone']());const _0x575316=null===_0x18cfbd['_authorId']?null:_0x18cfbd['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5a0b26=_0x18cfbd['name'];if(!this['_touchedMarkers']['has'](_0x5a0b26))return void this['_touchedMarkers']['set'](_0x5a0b26,{'range':_0x18cfbd['oldRange'],'userId':_0x575316});const _0x9e2a9b=this['_touchedMarkers']['get'](_0x5a0b26),_0x2e093f=_0x9e2a9b['range'],_0x314ed7=_0x18cfbd['newRange'];null==_0x2e093f&&null==_0x314ed7||_0x2e093f&&_0x314ed7&&_0x2e093f['isEqual'](_0x314ed7)?this['_touchedMarkers']['delete'](_0x18cfbd['name']):_0x9e2a9b['userId']=_0x575316;}['_handleRootOperation'](_0x5bf799,_0x65e464){this['_diffRoots']['has'](_0x5bf799['rootName'])?this['_diffRoots']['get'](_0x5bf799['rootName'])['_isAttached']=_0x5bf799['isAdd']:(this['_diffRoots']['set'](_0x5bf799['rootName'],_0x518212(_0x5bf799['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x5bf799['rootName'],{}),_0x65e464&&this['_idsRoots']['set'](_0x5bf799['rootName'],_0x518212(_0x5bf799['rootName'],!0x0)));const _0x287f27=null===_0x5bf799['_authorId']?null:_0x5bf799['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3b6cc0=this['_touchedRoots']['get'](_0x5bf799['rootName']);_0x3b6cc0&&_0x3b6cc0['userId']===_0x287f27?this['_touchedRoots']['delete'](_0x5bf799['rootName']):this['_touchedRoots']['set'](_0x5bf799['rootName'],{'userId':_0x287f27,'isAttached':_0x5bf799['isAdd']});}['_handleRootAttributeOperation'](_0x53d58b){const _0xb77b62=this['_diffRootsAttributes']['get'](_0x53d58b['root']['rootName']);null===_0x53d58b['newValue']?delete _0xb77b62[_0x53d58b['key']]:_0xb77b62[_0x53d58b['key']]=_0x53d58b['newValue'];}}function _0x4e9c88(_0x51833b){const _0x50bbbd=_0x518212(_0x51833b['rootName'],_0x51833b['isAttached']());for(const _0x4e1e1c of _0x51833b['getChildren']()){const _0x49dd79=_0x4e1e1c['_clone'](!0x0);_0x50bbbd['_appendChild'](_0x49dd79);}return _0x50bbbd;}function _0x518212(_0xfec1c,_0x2fed09=!0x0){const _0x438bb8=new _0x22b56d['ModelDocumentFragment']();return _0x438bb8['rootName']=_0xfec1c,_0x438bb8['_isAttached']=_0x2fed09,_0x438bb8['isAttached']=()=>_0x438bb8['_isAttached'],_0x438bb8;}function _0x829568(_0x37a1ab,_0x43f389,_0x19b3e5){const _0xf7960c='elementEnd'==_0x37a1ab['type']?_0x19b3e5['createPositionAt'](_0x37a1ab['item'],'end'):_0x19b3e5['createPositionBefore'](_0x37a1ab['item']);return _0x19b3e5['createPositionFromPath'](_0x43f389,_0xf7960c['path'],_0xf7960c['stickiness']);}function _0x129026(_0x3f8eb5,_0x28d31e,_0x542f09){const _0x143faa='elementStart'==_0x3f8eb5['type']?_0x542f09['createPositionAt'](_0x3f8eb5['item'],0x0):_0x542f09['createPositionAfter'](_0x3f8eb5['item']);return _0x542f09['createPositionFromPath'](_0x28d31e,_0x143faa['path'],_0x143faa['stickiness']);}class RevisionHistorySaveRevisionFormView extends/* #__PURE__ -- @preserve */
_0x22b56d['CssTransitionDisablerMixin'](_0x22b56d['View']){['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0xde4c83,_0x35790a){super(_0xde4c83),this['focusTracker']=new _0x22b56d['FocusTracker'](),this['keystrokes']=new _0x22b56d['KeystrokeHandler'](),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x35790a),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'](),_0x22b56d['submitHandler']({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x1821af=_0x9933e6=>_0x9933e6['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1821af),this['keystrokes']['set']('arrowleft',_0x1821af),this['keystrokes']['set']('arrowup',_0x1821af),this['keystrokes']['set']('arrowdown',_0x1821af);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x4f87b2){this['revisionNameInputView']['fieldView']['element']['value']=_0x4f87b2['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x4483ff){const _0x2b0fe2=new _0x22b56d['LabeledFieldView'](this['locale'],_0x22b56d['createLabeledInputText']),_0x232250=_0x2b0fe2['fieldView'];_0x232250['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x3acf7d=_0x3008b4(this['locale'],'Name\x20of\x20the\x20revision');return!_0x4483ff&&(_0x3acf7d+='\x20('+_0x3008b4(this['locale'],'optional')+')'),(_0x2b0fe2['label']=_0x3acf7d,_0x232250['on']('input',()=>{this['revisionNameInputValue']=_0x232250['element']['value']['trim']();}),_0x2b0fe2);}}class RevisionHistoryUI extends _0x22b56d['Plugin']{static get['pluginName'](){return'RevisionHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x449e76];}['_saveRevisionFormView'];['init'](){const _0x366ed2=this['editor'],_0x35836f=_0x366ed2['plugins']['get']('RevisionTracker');_0x366ed2['ui']['componentFactory']['add']('revisionHistory',_0x43b720=>{const _0x839331=_0x22b56d['createDropdown'](_0x43b720),_0x1d5bf6=_0x839331['panelView']['children'],_0x4fe640=new _0x22b56d['ListView'](_0x43b720),_0x1b514f=new _0x22b56d['ListItemView'](_0x43b720),_0x130b16=this['_createSaveRevisionButton'](_0x22b56d['ButtonView']),_0x3ca500=new _0x22b56d['ListItemView'](_0x43b720),_0x29259f=this['_createOpenRevisionButton'](_0x22b56d['ButtonView']);return _0x839331['bind']('isEnabled')['to'](_0x35836f,'isReady',_0x35836f,'isEnabled',_0x366ed2,'isReadOnly',(_0xa428f4,_0x2b524a,_0x99cb92)=>_0xa428f4&&_0x2b524a&&!_0x99cb92),_0x839331['buttonView']['set']({'icon':_0x22b56d['IconHistory'],'label':_0x3008b4(_0x43b720,'Revision\x20history'),'tooltip':!0x0}),_0x130b16['set']({'withText':!0x0,'role':'menuitem'}),_0x29259f['set']({'withText':!0x0,'role':'menuitem'}),this['listenTo'](_0x29259f,'execute',()=>{_0x839331['isOpen']=!0x1,_0x366ed2['editing']['view']['focus']();},{'priority':'low'}),_0x1b514f['children']['add'](_0x130b16),_0x3ca500['children']['add'](_0x29259f),_0x4fe640['role']='menu',_0x4fe640['items']['addMany']([_0x1b514f,_0x3ca500]),_0x1d5bf6['add'](_0x4fe640),_0x839331;}),_0x366ed2['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x1a5b8f=this['editor'],_0x2bd60a=_0x1a5b8f['locale'],_0x2a31e9=_0x1a5b8f['plugins']['get']('RevisionTracker'),_0x599876=new _0x22b56d['MenuBarMenuView'](_0x2bd60a),_0x3dc4e5=new _0x22b56d['MenuBarMenuListView'](_0x2bd60a);_0x599876['bind']('isEnabled')['to'](_0x2a31e9,'isReady',_0x2a31e9,'isEnabled',_0x1a5b8f,'isReadOnly',(_0x7179bf,_0x25bbf6,_0x17bbf1)=>_0x7179bf&&_0x25bbf6&&!_0x17bbf1),_0x599876['buttonView']['set']({'icon':_0x22b56d['IconHistory'],'label':_0x3008b4(_0x2bd60a,'Revision\x20history')});const _0x53c462=new _0x22b56d['MenuBarMenuListItemView'](_0x2bd60a,_0x599876),_0x4f4fa0=this['_createSaveRevisionButton'](_0x22b56d['MenuBarMenuListItemButtonView']);_0x4f4fa0['delegate']('execute')['to'](_0x599876),_0x53c462['children']['add'](_0x4f4fa0),_0x3dc4e5['items']['add'](_0x53c462);const _0x3b283d=new _0x22b56d['MenuBarMenuListItemView'](_0x2bd60a,_0x599876),_0x72177=this['_createOpenRevisionButton'](_0x22b56d['MenuBarMenuListItemButtonView']);return _0x72177['delegate']('execute')['to'](_0x599876),_0x3b283d['children']['add'](_0x72177),_0x3dc4e5['items']['add'](_0x3b283d),_0x599876['panelView']['children']['add'](_0x3dc4e5),_0x599876;}['_createSaveRevisionButton'](_0x2b2f54){const _0x3ca8b8=this['editor'],_0x5e9701=_0x3ca8b8['plugins']['get']('RevisionTracker'),_0x1df2ae=new _0x2b2f54(_0x3ca8b8['locale']);return _0x1df2ae['set']({'label':_0x3008b4(_0x3ca8b8['locale'],'Save\x20current\x20revision')}),_0x1df2ae['bind']('isEnabled')['to'](_0x5e9701,'isReady',_0x5e9701,'isEnabled',_0x3ca8b8,'isReadOnly',(_0x2f4f74,_0xf74dad,_0x5d7696)=>_0x2f4f74&&_0xf74dad&&!_0x5d7696),this['listenTo'](_0x1df2ae,'execute',()=>{this['_showDialog']();}),_0x1df2ae;}['_createOpenRevisionButton'](_0x51afb1){const _0x45ccce=this['editor'],_0x1a66d0=_0x45ccce['plugins']['get']('RevisionTracker'),_0x4d40be=new _0x51afb1(_0x45ccce['locale']);return _0x4d40be['set']({'label':_0x3008b4(_0x45ccce['locale'],'Open\x20revision\x20history')}),_0x4d40be['bind']('isEnabled')['to'](_0x1a66d0,'isReady',_0x45ccce,'isReadOnly',(_0x431620,_0x2a3435)=>_0x431620&&!_0x2a3435),this['listenTo'](_0x4d40be,'execute',()=>{_0x45ccce['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x4d40be;}['_showDialog'](){const _0x23f262=this['editor'],_0x43f913=_0x23f262['locale'],_0x412bc9=_0x23f262['plugins']['get']('Dialog'),_0x577da8=_0x23f262['plugins']['get']('RevisionTracker');function _0x31ae3d(_0x32e50a){_0x23f262['config']['get']('revisionHistory.requireRevisionName')&&''===_0x32e50a['revisionName']?_0x32e50a['revisionNameInputView']['errorText']=_0x3008b4(_0x43f913,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x23f262['plugins']['get'](_0x449e76)['saveRevision']({'name':_0x32e50a['revisionName']}),_0x412bc9['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x31ae3d(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x412bc9['show']({'id':'revisionSave','title':_0x3008b4(_0x43f913,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':_0x3008b4(_0x23f262['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x412bc9['hide']()},{'label':_0x3008b4(_0x23f262['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x103faa){_0x103faa['bind']('isEnabled')['to'](_0x577da8,'isReady',_0x577da8,'isEnabled',_0x23f262,'isReadOnly',(_0x19f502,_0x197c77,_0x13b6e3)=>_0x19f502&&_0x197c77&&!_0x13b6e3);},'onExecute':()=>_0x31ae3d(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x1a4659=this['editor'],_0x282e84=_0x1a4659['locale'];this['_saveRevisionFormView']=new RevisionHistorySaveRevisionFormView(_0x282e84,_0x1a4659['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class ChangeDetailsView extends _0x22b56d['View']{['changeId'];['_model'];constructor(_0x439be0,_0x884dc6){super(_0x439be0),this['_model']=_0x884dc6,this['changeId']=_0x884dc6['id'];const _0x2ee961=this['bindTemplate'],_0x3df5eb=_0x3008b4(_0x439be0,_0x884dc6['data']['isSuggestion']?'Suggested\x20by':'add'==_0x884dc6['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x884dc6['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x2ee961['to']('type',_0x7e92b4=>'ck-revision-change__'+_0x7e92b4)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x3df5eb}]},{'text':'\x20'+_0x884dc6['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class ChangeItem extends/* #__PURE__ -- @preserve */
_0x22b56d['ObservableMixin'](){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x26ad9e){super(),this['id']=_0x26ad9e['id']||_0x22b56d['uid'](),this['author']=_0x26ad9e['author'],this['type']=_0x26ad9e['type'],this['data']=_0x26ad9e['data']||{},this['rootName']=_0x26ad9e['rootName'],this['set']('createdAt',_0x26ad9e['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class _0x77d12c{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x4204f0,_0x48889d){this['newRevisionId']=_0x4204f0,this['oldRevisionId']=_0x48889d,this['changes']=new _0x22b56d['Collection']();}['_setChanges'](_0x359a96){for(const _0x3a4022 of _0x359a96)this['changes']['add'](_0x3a4022);}}class _0x1a8bd8 extends _0x22b56d['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[_0x433f5f,_0x22b56d['ContextualBalloon'],RevisionsRepository,RevisionHistoryUtils];}constructor(_0x3fcba0){super(_0x3fcba0),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',(_0x27d571,_0x5b3962,_0x480977)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x64ad96=>{for(const _0x3e17c8 of this['editor']['editing']['view']['document']['roots'])_0x480977?_0x64ad96['removeClass']('ck-editor__editable__overlay',_0x3e17c8):_0x64ad96['addClass']('ck-editor__editable__overlay',_0x3e17c8);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x35ed8b=>null!==_0x35ed8b),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x3f66a7,_0x53f833,_0x5cedf0)=>_0x3f66a7&&_0x5cedf0?_0x53f833['changes']['getIndex'](_0x5cedf0):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x282cc1,_0x3befba)=>_0x282cc1?_0x3befba['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['_balloon']=this['editor']['plugins']['get'](_0x22b56d['ContextualBalloon']);}['init'](){const _0x21b9ef=this['editor'],_0x5ef8db=new _0x1f8cca(_0x21b9ef,{'direction':'backward'}),_0x2df93f=new _0x1f8cca(_0x21b9ef,{'direction':'forward'});(_0x21b9ef['commands']['add']('showPreviousChange',_0x5ef8db),_0x21b9ef['commands']['add']('showNextChange',_0x2df93f),_0x21b9ef['commands']['add']('restoreRevision',new RestoreRevisionCommand(_0x21b9ef)),this['on']('change:numberOfChanges',()=>{_0x5ef8db['refresh'](),_0x2df93f['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x21b9ef['enableReadOnlyMode']('revision-viewer'),_0x21b9ef['plugins']['has']('WidgetToolbarRepository'))&&_0x21b9ef['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionDocumentData'](_0x543c17){return await this['_utils']['loadRevisionData'](_0x543c17,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x543c17);}async['getRevisionRootsAttributes'](_0x562ecc){return await this['_utils']['loadRevisionData'](_0x562ecc,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x562ecc);}async['compare'](_0x530b25,_0x5239b0,_0x2f419e=!0x1){if(!this['isEnabled'])return;const _0x58dd95=this['diff'],_0x296544=this['repository'],_0x58ca1e='string'==typeof _0x530b25?_0x296544['getRevision'](_0x530b25):_0x530b25,_0xb2e296='string'==typeof _0x5239b0?_0x296544['getRevision'](_0x5239b0):_0x5239b0,_0x52867a=_0x58ca1e['id'],_0x45d160=_0xb2e296?_0xb2e296['id']:null;if(!_0x2f419e&&this['diff']&&this['diff']['newRevisionId']===_0x52867a&&this['diff']['oldRevisionId']===_0x45d160)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new _0x77d12c(_0x52867a,_0x45d160);const _0xb9980b=this['_getRevisionsRange'](_0x58ca1e,_0xb2e296,!0x0)['map'](_0x2ccf68=>this['_utils']['loadRevisionData'](_0x2ccf68,this['adapter']));return _0xb9980b['push'](new Promise(_0x32477f=>{setTimeout(_0x32477f,0x14);})),Promise['all'](_0xb9980b)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x1ac8c6=this['_getDiff'](_0x52867a,_0x45d160);for(const _0x5dec45 of _0x1ac8c6['changes'])this['_changeIdToChange']['set'](_0x5dec45['id'],_0x5dec45);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x8d1bd4=>{for(const _0x308e86 of this['editor']['model']['document']['getRootNames']())_0x8d1bd4['detachRoot'](_0x308e86);for(const _0x30cf8c of Object['keys'](_0x1ac8c6['model'])){const _0x13ea2e=_0x8d1bd4['addRoot'](_0x30cf8c);for(const _0x5f01cb of Object['keys'](_0x1ac8c6['attributes'][_0x30cf8c]))_0x8d1bd4['setAttribute'](_0x5f01cb,_0x1ac8c6['attributes'][_0x30cf8c][_0x5f01cb],_0x13ea2e);_0x8d1bd4['insert'](_0x1ac8c6['model'][_0x30cf8c],_0x13ea2e,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x1ac8c6['changes'])),this['isReady']=!0x0;})['catch'](_0xcb1d8b=>{console['error'](_0xcb1d8b),this['_cleanUp'](),_0x58dd95&&(this['diff']=_0x58dd95),this['isReady']=!0x0;});}['addRevisionData'](_0x2a4551,_0x2dabfd){const _0x55b755=this['repository']['createRevision'](_0x2a4551);return _0x55b755['on']('_update',(_0x57065c,_0x2af776,_0x1ab9f3)=>_0x2dabfd(_0x2af776,_0x1ab9f3,_0x55b755)),this['repository']['addRevision'](_0x55b755),_0x55b755;}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x47f34a=>{for(const _0x2814ff of this['editor']['model']['document']['getRootNames']())_0x47f34a['detachRoot'](_0x2814ff);});}['_sortAndFilterDiffChanges'](_0x4ca055){const _0x2f79a3=[],_0x180914=new Map();for(const _0x428af9 of this['editor']['model']['document']['getRootNames']()){const _0x701156=this['editor']['editing']['view']['getDomRoot'](_0x428af9);if(!_0x701156)continue;const _0x5d6e36=_0x701156['getClientRects']()['item'](0x0);_0x5d6e36&&(_0x2f79a3['push'](_0x428af9),_0x180914['set'](_0x428af9,_0x5d6e36));}return _0x2f79a3['sort']((_0x5dd76e,_0x21c445)=>{const _0x58aa09=_0x180914['get'](_0x5dd76e),_0x4bcfc6=_0x180914['get'](_0x21c445);return _0x58aa09['y']-_0x4bcfc6['y']||_0x58aa09['x']-_0x4bcfc6['x'];}),(_0x4ca055=_0x4ca055['filter'](_0x1ddb05=>_0x2f79a3['includes'](_0x1ddb05['rootName'])))['sort']((_0x578297,_0x10e293)=>_0x2f79a3['indexOf'](_0x578297['rootName'])-_0x2f79a3['indexOf'](_0x10e293['rootName'])),_0x4ca055;}['_makeTape'](_0x4d8e53){const _0x4d8ed4=Array['from'](_0x4d8e53['markers'])['filter'](([_0x2413a0,_0x4418cc])=>_0x2413a0['startsWith']('revision:')&&!_0x4418cc['isCollapsed']),_0x322b50=Array['from'](this['editor']['model']['createRangeIn'](_0x4d8e53)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x4d8ed4['length'])for(const _0xbdf7dc of _0x322b50){const [_0x1e4ca5,_0x3dcc74]=_0x4d8ed4[0x0],[,_0x2b7db7,_0x29c4c2]=_0x1e4ca5['split'](':');if(_0x3dcc74['end']['isEqual'](_0xbdf7dc['nextPosition'])&&_0x4d8ed4['shift'](),(_0xbdf7dc['previousPosition']['isEqual'](_0x3dcc74['start'])||_0xbdf7dc['previousPosition']['isAfter'](_0x3dcc74['start']))&&('insertion'==_0x2b7db7?_0xbdf7dc['isAdded']={'userId':_0x29c4c2}:'deletion'==_0x2b7db7&&(_0xbdf7dc['isRemoved']={'userId':_0x29c4c2})),0x0==_0x4d8ed4['length'])break;}return _0x322b50;}['_refreshStartEndIndex'](_0x336062){const _0x1d1daa=new Map();for(let _0x3c1a49=0x0;_0x3c1a49<_0x336062['length'];_0x3c1a49++)'text'===_0x336062[_0x3c1a49]['type']?(_0x336062[_0x3c1a49]['item']['startIndex']=_0x3c1a49,_0x336062[_0x3c1a49]['item']['endIndex']=_0x3c1a49):('elementStart'===_0x336062[_0x3c1a49]['type']?_0x336062[_0x3c1a49]['item']['startIndex']=_0x3c1a49:'elementEnd'===_0x336062[_0x3c1a49]['type']&&(_0x336062[_0x3c1a49]['item']['endIndex']=_0x3c1a49),_0x1d1daa['set'](_0x336062[_0x3c1a49]['id'],_0x3c1a49));for(const _0x3dda04 of _0x1d1daa['values']())'elementStart'===_0x336062[_0x3dda04]['type']?_0x336062[_0x3dda04]['item']['endIndex']=_0x1d1daa['get'](_0x336062[_0x3dda04]['pairId']):'elementEnd'===_0x336062[_0x3dda04]['type']&&(_0x336062[_0x3dda04]['item']['startIndex']=_0x1d1daa['get'](_0x336062[_0x3dda04]['pairId']));}['_processTape'](_0x31b352){for(let _0x8b387e=0x0;_0x8b387e<_0x31b352['length'];_0x8b387e++){if('elementStart'===_0x31b352[_0x8b387e]['type'])_0x31b352[_0x8b387e]['item']['startIndex']=_0x8b387e;else{if('elementEnd'===_0x31b352[_0x8b387e]['type']){_0x31b352[_0x8b387e]['item']['endIndex']=_0x8b387e;const _0x39d76f=_0x31b352[_0x8b387e]['item']['startIndex'];_0x31b352[_0x39d76f]['pairId']=_0x31b352[_0x8b387e]['id'],_0x31b352[_0x8b387e]['pairId']=_0x31b352[_0x39d76f]['id'];}else _0x31b352[_0x8b387e]['item']['startIndex']=_0x8b387e,_0x31b352[_0x8b387e]['item']['endIndex']=_0x8b387e,_0x31b352[_0x8b387e]['pairId']=null;}_0x31b352[_0x8b387e]['markersStart']||(_0x31b352[_0x8b387e]['markersStart']=[],_0x31b352[_0x8b387e]['markersEnd']=[]);}}['_markInsertions'](_0x51358b,_0x32bc6c){const _0x45d2df=_0x51358b['filter'](_0x46545a=>!_0x46545a['isAdded']);for(let _0x312873=0x0;_0x312873<_0x32bc6c['length'];_0x312873++)_0x32bc6c[_0x312873]['isAdded']&&(_0x45d2df[_0x312873]['isAdded']=_0x32bc6c[_0x312873]['isAdded']);}['_getDiff'](_0x455aeb,_0x4457f3=null){const _0x43d912=this['repository']['getRevision'](_0x455aeb),_0x8b46f8=_0x4457f3?this['repository']['getRevision'](_0x4457f3):null,_0x42290b=this['_getRevisionsRange'](_0x43d912,_0x8b46f8),_0x54b0f0=_0x42290b[_0x42290b['length']-0x1],_0x3e8124=new Map(),_0x1f307d={'model':{},'attributes':{},'changes':[]},_0x4d1bd5=new Set(),_0x9f4cff=new Map();for(let _0x200e6c=_0x42290b['length']-0x1;_0x200e6c>=0x0;_0x200e6c--){const _0xf01470=_0x42290b[_0x200e6c];for(const _0x4607db of Object['keys'](_0xf01470['diffData']))if(_0xf01470['diffData'][_0x4607db]['attachChange']){const _0x9588f0=_0xf01470['diffData'][_0x4607db]['attachChange'];_0x9588f0['isAttached']?(_0x4d1bd5['add'](_0x4607db),_0x9f4cff['has'](_0x4607db)&&_0x9f4cff['get'](_0x4607db)['userId']==_0x9588f0['userId']?_0x9f4cff['delete'](_0x4607db):_0x9f4cff['set'](_0x4607db,_0x9588f0)):_0x9f4cff['has'](_0x4607db)?(_0x4d1bd5['delete'](_0x4607db),_0x9f4cff['delete'](_0x4607db)):(_0x4d1bd5['add'](_0x4607db),_0x9f4cff['set'](_0x4607db,_0x9588f0));}else _0x4d1bd5['add'](_0x4607db);}for(const _0x2204eb of _0x4d1bd5){const _0x2c38dc=_0x9f4cff['has'](_0x2204eb)&&!_0x9f4cff['get'](_0x2204eb)['isAttached'];let _0x5a4a28=_0x2c38dc?_0x42290b['length']-0x1:0x0;const _0x121b81=_0x2c38dc?-0x1:0x1;for(;_0x42290b[_0x5a4a28];){const _0x4962d9=_0x42290b[_0x5a4a28];if(_0x4962d9['diffData'][_0x2204eb]){const _0x5240a2=_0x2c38dc?_0x4962d9['diffData'][_0x2204eb]['attributesBefore']:_0x4962d9['diffData'][_0x2204eb]['attributesAfter'];_0x1f307d['attributes'][_0x2204eb]=_0x5240a2?_0xed69dc(_0x5240a2):{};break;}_0x5a4a28+=_0x121b81;}}for(const _0x5e180 of _0x42290b){_0x5e180['model']={};for(const _0x3d3b84 of _0x5e180['authors'])_0x3e8124['set'](_0x3d3b84['id'],_0x3d3b84);for(const _0x3dcab3 of _0x4d1bd5){const _0x570bf3=_0x5e180['diffData'][_0x3dcab3]?_0x5e180['diffData'][_0x3dcab3]['insertions']:'[]',_0x469ed3=_0x5e180['diffData'][_0x3dcab3]?_0x5e180['diffData'][_0x3dcab3]['deletions']:'[]';_0x5e180['model'][_0x3dcab3]={'insertions':this['_utils']['_makeModelFromViewString'](_0x570bf3),'deletions':this['_utils']['_makeModelFromViewString'](_0x469ed3)};}}for(const _0x4481ff of _0x4d1bd5){let _0x23655d=null,_0xa39dcd=0x0;const _0x50c819=new Map(Array['from'](_0x43d912['model'][_0x4481ff]['insertions']['markers'])['filter'](([_0x58411a])=>!_0x58411a['startsWith']('revision:')));let _0x581128=0x0;for(const _0x39d10a of _0x42290b){const _0x499c1a=this['_makeTape'](_0x39d10a['model'][_0x4481ff]['insertions']);_0x39d10a==_0x43d912?(_0x23655d=_0x499c1a,_0xa39dcd=_0x23655d['length'],_0x23655d['forEach'](_0xd7418b=>{_0xd7418b['id']=_0x581128++;}),this['_processTape'](_0x23655d)):this['_markInsertions'](_0x23655d,_0x499c1a);const _0x2ecaee=_0x23655d['filter'](_0x5d2215=>!_0x5d2215['isAdded'])['map'](_0x1305e4=>_0x1305e4['id']);let _0x5236f0=0x0;const _0x3f4a7f=this['_makeTape'](_0x39d10a['model'][_0x4481ff]['deletions']);_0x3f4a7f['forEach'](_0x4afe0e=>{_0x4afe0e['isRemoved']?_0x4afe0e['id']=_0xa39dcd++:_0x4afe0e['id']=_0x2ecaee[_0x5236f0++];}),this['_processTape'](_0x3f4a7f),this['_setDistance'](_0x23655d,'isAdded'),this['_setDistance'](_0x3f4a7f,'isRemoved'),_0x39d10a==_0x43d912&&this['_markMarkers'](_0x23655d,_0x50c819),_0x23655d=this['_joinTapes'](_0x23655d,_0x3f4a7f),this['_refreshStartEndIndex'](_0x23655d),this['_setDistance'](_0x23655d,'isRemoved');}_0x23655d=_0x23655d['filter'](_0x3e9aa3=>!(_0x3e9aa3['isAdded']&&_0x3e9aa3['isRemoved']));const _0x3a04a0=new Map(_0x54b0f0['model'][_0x4481ff]['deletions']['markers']),_0xe5d1e2=new Set(_0x50c819['keys']());for(const _0x72004c of _0x3a04a0['keys']())_0xe5d1e2['delete'](_0x72004c);this['_markSuggestions'](_0x23655d,_0xe5d1e2),this['_fixObsoleteTags'](_0x23655d),_0x23655d=this['_removeMissingPairs'](_0x23655d),_0x23655d=this['_markMismatchedRemovedTags'](_0x23655d),_0x23655d=this['_removeUnsupportedChanges'](_0x23655d);const {root:_0x2e97fb,changes:_0x3e6fb6}=this['_makeModelFromTape'](_0x23655d,_0x3e8124,_0x4481ff);_0x1f307d['model'][_0x4481ff]=_0x2e97fb;const _0x3dce03=_0x9f4cff['get'](_0x4481ff);if(_0x3dce03){const _0xd68a8f=_0x3e8124['get'](_0x3dce03['userId']),_0x3908c8=new ChangeItem({'author':_0xd68a8f,'type':_0x3dce03['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x4481ff});_0x3e6fb6['unshift'](_0x3908c8),_0x1f307d['attributes'][_0x4481ff]['revisionHistoryAttachChange']=_0x3908c8['id'];}_0x1f307d['changes']=_0x1f307d['changes']['concat'](_0x3e6fb6);}return _0x1f307d;}['_markMarkers'](_0x4d6ffe,_0x377be2){for(let _0x28dd63=0x0;_0x28dd63<_0x4d6ffe['length'];_0x28dd63++)for(const [_0x4e0eaa,_0xa21d34]of _0x377be2)!_0xa21d34['isCollapsed']&&_0xa21d34['start']['isEqual'](_0x4d6ffe[_0x28dd63]['previousPosition'])&&_0x4d6ffe[_0x28dd63]['markersStart']['push'](_0x4e0eaa),_0xa21d34['end']['isEqual'](_0x4d6ffe[_0x28dd63]['nextPosition'])&&_0x4d6ffe[_0x28dd63]['markersEnd']['push'](_0x4e0eaa);}['_joinTapes'](_0x50b58e,_0xda5498){let _0x30a421=[],_0x497b91=0x0,_0x5f173c=0x0;for(;_0x497b91<_0x50b58e['length']||_0x5f173c<_0xda5498['length'];){const _0xea9f38=_0x50b58e[_0x497b91]||{},_0x952122=_0xda5498[_0x5f173c]||{};if(_0xea9f38['id']==_0x952122['id'])_0x497b91++,_0x5f173c++,_0x30a421['push'](_0xea9f38);else{if(_0x952122['isRemoved']&&_0xea9f38['isAdded']){const {commonTape:_0x4daee4,iEnd:_0x12fe95,jEnd:_0x46894e}=this['_threeWayMerge'](_0x50b58e,_0x497b91,_0xda5498,_0x5f173c);_0x30a421=_0x30a421['concat'](_0x4daee4),_0x497b91=_0x12fe95,_0x5f173c=_0x46894e;}else _0x952122['isRemoved']?(_0x5f173c++,_0x30a421['push'](_0x952122)):(_0x497b91++,_0x30a421['push'](_0xea9f38));}}return _0x30a421;}['_markSuggestions'](_0xfcd6c4,_0x3d98c5){const _0x587897=[];for(let _0x400113=0x0;_0x400113<_0xfcd6c4['length'];_0x400113++){for(let _0x1aba1c=0x0;_0x1aba1c<_0xfcd6c4[_0x400113]['markersStart']['length'];_0x1aba1c++){const _0x160079=_0xfcd6c4[_0x400113]['markersStart'][_0x1aba1c];if(!_0x3d98c5['has'](_0x160079))continue;const {group:_0x16bf6c,type:_0x3f36e8,authorId:_0x4c6d6f}=_0x1a8f84(_0x160079);'revision-suggestion'!=_0x16bf6c||'insertion'!=_0x3f36e8&&'deletion'!=_0x3f36e8||(_0x587897['unshift']({'type':_0x3f36e8,'name':_0x160079,'userId':_0x4c6d6f}),_0xfcd6c4[_0x400113]['markersStart']['splice'](_0x1aba1c,0x1),_0x1aba1c--);}_0x19819e(_0xfcd6c4[_0x400113]);for(let _0x10a323=0x0;_0x10a323<_0xfcd6c4[_0x400113]['markersEnd']['length'];_0x10a323++){const _0x33340b=_0xfcd6c4[_0x400113]['markersEnd'][_0x10a323];if(!_0x3d98c5['has'](_0x33340b))continue;const {group:_0x289fbb,type:_0x24af97}=_0x1a8f84(_0x33340b);if('revision-suggestion'!=_0x289fbb||'insertion'!=_0x24af97&&'deletion'!=_0x24af97)continue;_0xfcd6c4[_0x400113]['markersEnd']['splice'](_0x10a323,0x1),_0x10a323--;const _0x5c0bc7=_0x587897['findIndex'](_0x303625=>_0x303625['name']==_0x33340b);_0x5c0bc7>-0x1&&_0x587897['splice'](_0x5c0bc7,0x1);}}function _0x1a8f84(_0x5f6d0e){const _0x245281=_0x5f6d0e['split'](':');return{'group':_0x245281[0x0],'type':_0x245281[0x1],'subType':_0x245281['length']>=0x5?_0x245281[0x2]:null,'id':_0x245281['length']<0x5?_0x245281[0x2]:_0x245281[0x3],'authorId':_0x245281['length']<0x5?_0x245281[0x3]:_0x245281[0x4],'markerCount':0x6==_0x245281['length']?_0x245281[0x5]:null};}function _0x19819e(_0x2c915c){for(let _0x46a811=0x0;_0x46a811<_0x587897['length'];_0x46a811++){if(_0x2c915c['isAdded']&&'insertion'==_0x587897[_0x46a811]['type']&&_0x2c915c['isAdded']['userId']==_0x587897[_0x46a811]['userId'])return _0x2c915c['isAddSuggestion']=_0x587897[_0x46a811],void delete _0x2c915c['isAdded'];if(!_0x2c915c['isAdded']&&!_0x2c915c['isRemoved']&&'deletion'==_0x587897[_0x46a811]['type'])return void(_0x2c915c['isRemoveSuggestion']=_0x587897[_0x46a811]);}}}['_setDistance'](_0x1a43d6,_0x54c02c){let _0x530d15=0x0,_0x42138a=!0x1;const _0x169ab9=new Map();for(const _0x37ed49 of _0x1a43d6)_0x37ed49[_0x54c02c]?_0x42138a&&(_0x530d15++,_0x42138a=!0x1):(_0x530d15++,_0x42138a=!0x0),_0x169ab9['set'](_0x37ed49['id'],_0x530d15);for(let _0x48705d=0x0;_0x48705d<_0x1a43d6['length'];_0x48705d++){if('isRemoved'==_0x54c02c&&_0x1a43d6[_0x48705d]['isAdded']||'isAdded'==_0x54c02c&&_0x1a43d6[_0x48705d]['isRemoved'])continue;if('text'==_0x1a43d6[_0x48705d]['type']){_0x1a43d6[_0x48705d]['distance']=0x0;continue;}const _0x858b69=_0x169ab9['get'](_0x1a43d6[_0x48705d]['pairId']),_0x3ca9a2=_0x169ab9['get'](_0x1a43d6[_0x48705d]['id']);_0x1a43d6[_0x48705d]['distance']=_0x858b69-_0x3ca9a2;}}['_getRevisionsRange'](_0x559852,_0x1adc89,_0x44c3ce=!0x1){const _0x91b835=[];let _0x5164f1=this['repository']['getIndex'](_0x559852),_0x5deb9d=this['repository']['getIndex'](_0x1adc89);for(-0x1==_0x5deb9d&&(_0x5deb9d=this['repository']['_revisions']['length'],_0x44c3ce=!0x1);_0x5164f1<_0x5deb9d;)_0x91b835['push'](this['repository']['getRevision'](_0x5164f1)),_0x5164f1++;return _0x44c3ce&&_0x91b835['push'](this['repository']['getRevision'](_0x5164f1)),_0x91b835;}['_threeWayMerge'](_0x219462,_0xe2d24e,_0x3b22d1,_0x49e220){const _0x26176e=this['editor']['model']['schema'];let _0x5173ff=_0xe2d24e;for(;_0x219462[_0x5173ff]&&_0x219462[_0x5173ff]['isAdded'];)_0x5173ff++;let _0x4d5cd1=_0x49e220;for(;_0x3b22d1[_0x4d5cd1]&&_0x3b22d1[_0x4d5cd1]['isRemoved'];)_0x4d5cd1++;_0x54d5c7(_0x219462,_0xe2d24e,_0x5173ff),_0x54d5c7(_0x3b22d1,_0x49e220,_0x4d5cd1);const _0x38758b=_0x3b22d1['slice'](_0x49e220,_0x4d5cd1)['concat'](_0x219462['slice'](_0xe2d24e,_0x5173ff));return _0x38758b['sort']((_0x145fd8,_0x50856d)=>_0x145fd8['side']!=_0x50856d['side']?_0x145fd8['side']-_0x50856d['side']:_0x145fd8['level']!=_0x50856d['level']?_0x145fd8['level']-_0x50856d['level']:_0x145fd8['distance']!=_0x50856d['distance']?_0x50856d['distance']-_0x145fd8['distance']:!!_0x145fd8['isAdded']!=!!_0x50856d['isAdded']?-0x1==_0x145fd8['side']||0x0==_0x145fd8['side']?_0x145fd8['isAdded']?-0x1:0x1:_0x145fd8['isAdded']?0x1:-0x1:_0x145fd8['index']-_0x50856d['index']),{'commonTape':_0x38758b,'iEnd':_0x5173ff,'jEnd':_0x4d5cd1};function _0x54d5c7(_0xcc5e6,_0x5172dc,_0x1648ca){let _0x5edf9d=-0x1,_0x213a47=Number['POSITIVE_INFINITY'],_0xcda311=!0x0;for(let _0x391783=_0x5172dc;_0x391783<_0x1648ca;_0x391783++)if(_0x26176e['isInline'](_0xcc5e6[_0x391783]['item'])||(_0xcda311=!0x1),_0xcc5e6[_0x391783]['item']['startIndex']<_0x5172dc&&(_0x5edf9d=_0x391783),_0xcc5e6[_0x391783]['item']['endIndex']>=_0x1648ca){_0x213a47=_0x391783;break;}_0xcda311&&(_0x5edf9d=_0x1648ca-0x1);for(let _0x198616=_0x5172dc;_0x198616<_0x1648ca;_0x198616++)_0xcc5e6[_0x198616]['side']=_0x198616<=_0x5edf9d?-0x1:_0x198616<_0x213a47?0x0:0x1,_0xcc5e6[_0x198616]['index']=_0x198616;let _0x3a9489=0x0;for(let _0x2994b3=_0x5172dc;_0x2994b3<=_0x5edf9d;_0x2994b3++)0x0==_0xcc5e6[_0x2994b3]['distance']?_0xcc5e6[_0x2994b3]['level']=_0x3a9489:(_0x3a9489++,_0xcc5e6[_0x2994b3]['level']=_0x3a9489,_0x3a9489++);for(let _0x34e0fe=_0x5172dc;_0x34e0fe<_0x1648ca;_0x34e0fe++)0x0==_0xcc5e6[_0x34e0fe]['side']&&(_0xcc5e6[_0x34e0fe]['level']=_0x3a9489);_0x3a9489=0x0;for(let _0x237b38=_0x1648ca-0x1;_0x237b38>=_0x213a47;_0x237b38--)0x0==_0xcc5e6[_0x237b38]['distance']?_0xcc5e6[_0x237b38]['level']=_0x3a9489:(_0x3a9489--,_0xcc5e6[_0x237b38]['level']=_0x3a9489,_0x3a9489--);}}['_fixObsoleteTags'](_0x121b70){const _0x182fdd=new Map(),_0xfdd009=this['editor']['model']['schema'];for(let _0x4c2e74=0x1;_0x4c2e74<_0x121b70['length'];_0x4c2e74++){let _0x51b15a,_0x24213a,_0x1f313e;const _0x1fed02=_0x121b70[_0x4c2e74],_0x2c1a13=_0x121b70[_0x4c2e74-0x1];if('text'==_0x1fed02['type'])continue;if(_0x1fed02['type']!=_0x2c1a13['type'])continue;if(!_0xfdd009['isBlock'](_0x2c1a13['item'])||_0xfdd009['isLimit'](_0x2c1a13['item']))continue;if(!_0xfdd009['isBlock'](_0x1fed02['item'])||_0xfdd009['isLimit'](_0x1fed02['item']))continue;if((_0x121b70[_0x4c2e74]['isAdded']||_0x121b70[_0x4c2e74]['isAddSuggestion'])&&_0x121b70[_0x4c2e74-0x1]['isRemoved'])_0x51b15a=_0x121b70[_0x4c2e74],_0x24213a=_0x121b70[_0x4c2e74-0x1],_0x1f313e=_0x4c2e74-0x1;else{if(!_0x121b70[_0x4c2e74]['isRemoved']||!_0x121b70[_0x4c2e74-0x1]['isAdded']&&!_0x121b70[_0x4c2e74-0x1]['isAddSuggestion'])continue;_0x51b15a=_0x121b70[_0x4c2e74-0x1],_0x24213a=_0x121b70[_0x4c2e74],_0x1f313e=_0x4c2e74;}const _0x3e9a70=_0x51b15a['level']==_0x24213a['level'],_0x103780=Math['abs'](_0x51b15a['level'])<Math['abs'](_0x24213a['level'])&&0x0==_0x24213a['distance'];(_0x3e9a70||_0x103780)&&(_0x182fdd['set'](_0x24213a['id'],_0x51b15a['id']),_0x121b70['splice'](_0x1f313e,0x1),_0x4c2e74--,_0x51b15a['isAdded']=!0x1);}for(let _0x30a27f=0x0;_0x30a27f<_0x121b70['length'];_0x30a27f++)_0x182fdd['has'](_0x121b70[_0x30a27f]['pairId'])&&(_0x121b70[_0x30a27f]['pairId']=_0x182fdd['get'](_0x121b70[_0x30a27f]['pairId']));}['_removeMissingPairs'](_0xa19d55){const _0xe9c622=new Set(_0xa19d55['map'](_0x93227a=>_0x93227a['id']));for(let _0x982820=0x0;_0x982820<_0xa19d55['length'];_0x982820++)_0xe9c622['has'](_0xa19d55[_0x982820]['pairId'])||0x0==_0xa19d55[_0x982820]['distance']||(_0xa19d55[_0x982820]['isIncorrect']=!0x0);return _0xa19d55['filter'](_0x3455f9=>!_0x3455f9['isIncorrect']);}['_markMismatchedRemovedTags'](_0x2afb70){const _0x289d38=new Set();for(let _0x488497=0x0;_0x488497<_0x2afb70['length'];_0x488497++){if(_0x289d38['has'](_0x2afb70[_0x488497]['id'])&&_0x2afb70[_0x488497]['isRemoved']&&(_0x2afb70[_0x488497]['isIncorrect']=!0x0),_0x2afb70[_0x488497]['isIncorrect'])continue;if(0x0==_0x2afb70[_0x488497]['distance'])continue;if('elementStart'!=_0x2afb70[_0x488497]['type'])continue;if(null==_0x2afb70[_0x488497]['pairId'])continue;let _0xb65b72=_0x488497+0x1,_0x5f4488=0x0;for(;_0x2afb70[_0xb65b72]['id']!=_0x2afb70[_0x488497]['pairId'];)'elementStart'==_0x2afb70[_0xb65b72]['type']?_0x5f4488++:'elementEnd'==_0x2afb70[_0xb65b72]['type']&&_0x5f4488--,_0xb65b72++;if(0x0!=_0x5f4488){if(_0x2afb70[_0x488497]['isRemoved'])_0x2afb70[_0x488497]['isIncorrect']=!0x0;else{for(;_0xb65b72!=_0x488497;)_0x2afb70[_0xb65b72]['isRemoved']&&0x0!=_0x2afb70[_0xb65b72]['distance']&&(_0x2afb70[_0xb65b72]['isIncorrect']=!0x0,_0x289d38['add'](_0x2afb70[_0xb65b72]['pairId'])),_0xb65b72--;}}}return _0x2afb70['filter'](_0x59513a=>!_0x59513a['isIncorrect']);}['_removeUnsupportedChanges'](_0x493f39){const _0x34635f=this['editor']['model']['schema'];for(let _0x3b2d81=0x0;_0x3b2d81<_0x493f39['length'];_0x3b2d81++){if(!(_0x493f39[_0x3b2d81]['isAdded']||_0x493f39[_0x3b2d81]['isAddSuggestion']||_0x493f39[_0x3b2d81]['isRemoved']||_0x493f39[_0x3b2d81]['isRemoveSuggestion']))continue;if(0x0==_0x493f39[_0x3b2d81]['distance'])continue;const _0xcac583=_0x493f39[_0x3b2d81]['item'];_0x34635f['isBlock'](_0xcac583)||_0x34635f['isLimit'](_0xcac583)||(_0x493f39[_0x3b2d81]['isAdded']&&delete _0x493f39[_0x3b2d81]['isAdded'],_0x493f39[_0x3b2d81]['isAddSuggestion']&&delete _0x493f39[_0x3b2d81]['isAddSuggestion'],_0x493f39[_0x3b2d81]['isRemoveSuggestion']&&delete _0x493f39[_0x3b2d81]['isRemoveSuggestion'],_0x493f39[_0x3b2d81]['isRemoved']&&(_0x493f39[_0x3b2d81]['isIncorrect']=!0x0));}return _0x493f39['filter'](_0x52c3d0=>!_0x52c3d0['isIncorrect']);}['_makeModelFromTape'](_0x4ccd55,_0x1a029f,_0x20c5b1){const _0x49dd2e=new _0x22b56d['ModelDocumentFragment'](),_0x433e83=[],_0x1be8be=new Map(),_0x4a456f=this['editor']['model'],_0x17a800=_0x4a456f['schema'],_0x59514a=[_0x49dd2e],_0x42441c={},_0x267800={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5a0249=null;const _0x4bc8e1=[0x0];for(let _0x34c9d9=0x0;_0x34c9d9<_0x4ccd55['length'];_0x34c9d9++)if('elementStart'===_0x4ccd55[_0x34c9d9]['type']){_0x4ccd55[_0x34c9d9]['previousPosition']=_0x4a456f['createPositionFromPath'](_0x49dd2e,_0x4bc8e1);const _0x38a684=new _0x22b56d['ModelElement'](_0x4ccd55[_0x34c9d9]['item']['name'],_0x4ccd55[_0x34c9d9]['item']['getAttributes']());_0x59514a[0x0]['_appendChild'](_0x38a684),_0x4bc8e1['push'](0x0),_0x59514a['unshift'](_0x38a684),_0x4ccd55[_0x34c9d9]['nextPosition']=_0x4a456f['createPositionFromPath'](_0x49dd2e,_0x4bc8e1);}else'elementEnd'===_0x4ccd55[_0x34c9d9]['type']?(_0x59514a['shift'](),_0x4ccd55[_0x34c9d9]['previousPosition']=_0x4a456f['createPositionFromPath'](_0x49dd2e,_0x4bc8e1),_0x4bc8e1['pop'](),_0x4bc8e1[_0x4bc8e1['length']-0x1]++,_0x4ccd55[_0x34c9d9]['nextPosition']=_0x4a456f['createPositionFromPath'](_0x49dd2e,_0x4bc8e1)):(_0x4ccd55[_0x34c9d9]['previousPosition']=_0x4a456f['createPositionFromPath'](_0x49dd2e,_0x4bc8e1),_0x5a0249?_0x5a0249['_data']+=_0x4ccd55[_0x34c9d9]['item']['data']:_0x5a0249=new _0x22b56d['ModelText'](_0x4ccd55[_0x34c9d9]['item']['data'],_0x4ccd55[_0x34c9d9]['item']['getAttributes']()),_0x4ccd55[_0x34c9d9+0x1]&&'text'===_0x4ccd55[_0x34c9d9+0x1]['type']&&_0x3915f3(_0x5a0249,_0x4ccd55[_0x34c9d9+0x1]['item'])||(_0x59514a[0x0]['_appendChild'](_0x5a0249),_0x5a0249=null),_0x4bc8e1[_0x4bc8e1['length']-0x1]+=_0x4ccd55[_0x34c9d9]['item']['offsetSize'],_0x4ccd55[_0x34c9d9]['nextPosition']=_0x4a456f['createPositionFromPath'](_0x49dd2e,_0x4bc8e1));for(let _0x3a9368=0x0;_0x3a9368<_0x4ccd55['length'];_0x3a9368++){const _0x1e8294=_0x4ccd55[_0x3a9368]['previousPosition'],_0x57ad40=_0x4ccd55[_0x3a9368]['nextPosition'];for(const _0x16ea8a of _0x4ccd55[_0x3a9368]['markersStart'])_0x1be8be['set'](_0x16ea8a,{'start':_0x1e8294,'end':null});_0x407bc7('isRemoveSuggestion',_0x3a9368,_0x1e8294,_0x57ad40),_0x407bc7('isAddSuggestion',_0x3a9368,_0x1e8294,_0x57ad40),_0x407bc7('isRemoved',_0x3a9368,_0x1e8294,_0x57ad40),_0x407bc7('isAdded',_0x3a9368,_0x1e8294,_0x57ad40);for(const _0x5b491e of _0x4ccd55[_0x3a9368]['markersEnd']){const _0x5927c8=_0x1be8be['get'](_0x5b491e);_0x5927c8?_0x5927c8['end']=_0x57ad40:_0x1be8be['set'](_0x5b491e,{'start':_0x57ad40,'end':_0x57ad40});}}for(const [_0x237dcd,_0x11a06d]of _0x1be8be){const _0xbda1d4=this['editor']['model']['createRange'](_0x11a06d['start'],_0x11a06d['end']);_0x49dd2e['markers']['set'](_0x237dcd,_0xbda1d4);}return _0x433e83['sort']((_0xf064f1,_0x455455)=>{const _0x55732e=_0x49dd2e['markers']['get']('revision:'+_0xf064f1['id']),_0x59c961=_0x49dd2e['markers']['get']('revision:'+_0x455455['id']);return _0x55732e['start']['isBefore'](_0x59c961['start'])?-0x1:_0x55732e['start']['isAfter'](_0x59c961['start'])?0x1:_0x55732e['end']['isBefore'](_0x59c961['end'])?-0x1:_0x55732e['end']['isAfter'](_0x59c961['end'])?0x1:'add'===_0xf064f1['type']?-0x1:0x1;}),{'root':_0x49dd2e,'changes':_0x433e83};function _0x407bc7(_0x268052,_0x2e616f,_0x5744ea,_0x1cec80){const _0x487d38=!!_0x4ccd55[_0x2e616f][_0x268052],_0x4b4c9b=_0x487d38?_0x4ccd55[_0x2e616f][_0x268052]['userId']:null,_0x288879=_0x2e616f===_0x4ccd55['length']-0x1,_0x501a31=_0x267800[_0x268052][0x0],_0x49d820=_0x17a800['isObject'](_0x4ccd55[_0x2e616f]['item']);!_0x42441c[_0x268052]&&_0x487d38?_0x42441c[_0x268052]={'start':_0x5744ea,'tapeItem':_0x4ccd55[_0x2e616f],'userId':_0x4b4c9b,'type':_0x268052}:_0x42441c[_0x268052]&&!_0x487d38?(_0x42441c[_0x268052]['end']=_0x5744ea,_0x5d559a(_0x42441c[_0x268052]),_0x42441c[_0x268052]=null):_0x42441c[_0x268052]&&_0x487d38&&_0x42441c[_0x268052]['userId']!==_0x4b4c9b&&(_0x42441c[_0x268052]['end']=_0x5744ea,_0x501a31&&_0x501a31['userId']===_0x42441c[_0x268052]['userId']||_0x5d559a(_0x42441c[_0x268052]),_0x42441c[_0x268052]={'start':_0x5744ea,'tapeItem':_0x4ccd55[_0x2e616f],'userId':_0x4b4c9b,'type':_0x268052}),_0x42441c[_0x268052]&&_0x49d820&&('elementStart'!==_0x4ccd55[_0x2e616f]['type']||_0x501a31&&_0x501a31['userId']===_0x4b4c9b||_0x267800[_0x268052]['unshift']({'userId':_0x4b4c9b,'object':_0x4ccd55[_0x2e616f]['item'],'change':_0x42441c[_0x268052]}),'elementEnd'===_0x4ccd55[_0x2e616f]['type']&&_0x501a31&&_0x501a31['object']===_0x4ccd55[_0x2e616f]['item']&&(_0x267800[_0x268052]['shift'](),_0x42441c[_0x268052]=_0x501a31['change'])),_0x42441c[_0x268052]&&_0x288879&&(_0x42441c[_0x268052]['end']=_0x1cec80,_0x5d559a(_0x42441c[_0x268052]),_0x42441c[_0x268052]=null);}function _0x5d559a({start:_0x404925,end:_0x44b615,tapeItem:_0x444a1f,userId:_0x472820,type:_0x107d17}){const _0x42b82d=_0x444a1f['item'],_0x39cf44=_0x4a456f['schema']['isBlock'](_0x42b82d)&&!_0x4a456f['schema']['isLimit'](_0x42b82d),_0x46c52d=_0x404925['nodeAfter']==_0x44b615['parent']&&_0x44b615['isAtStart'];if(_0x39cf44&&_0x46c52d)return;const _0x2a4d58=_0x4a456f['createRange'](_0x404925,_0x44b615),_0x5d5f6a=_0x1a029f['get'](_0x472820),_0x1ba563=new ChangeItem({'author':_0x5d5f6a,'type':'isAdded'==_0x107d17||'isAddSuggestion'==_0x107d17?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x107d17||'isRemoveSuggestion'==_0x107d17},'createdAt':new Date(),'rootName':_0x20c5b1});_0x433e83['push'](_0x1ba563),_0x49dd2e['markers']['set']('revision:'+_0x1ba563['id'],_0x2a4d58);}function _0x3915f3(_0x331fa4,_0x1e502d){const _0x3f0d0e=_0x331fa4['getAttributes'](),_0x5321fd=_0x1e502d['getAttributes']();for(const _0x274eda of _0x3f0d0e){if(_0x274eda[0x1]!==_0x1e502d['getAttribute'](_0x274eda[0x0]))return!0x1;_0x5321fd['next']();}return _0x5321fd['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x58718c=>{const _0x24532c=_0x58718c['markerName']['split'](':')[0x1],_0x8674a5=this['_getChangeFromId'](_0x24532c);if(!_0x8674a5)return null;const _0xf249dd='add'==_0x8674a5['type']?'insertion':'deletion',_0x32cb75=['ck-suggestion-marker','ck-suggestion-marker-'+_0xf249dd];return _0x8674a5['data']['isSuggestion']&&_0x32cb75['push']('ck-suggestion-marker-'+_0xf249dd+'-new'),this['activeChange']==_0x8674a5&&_0x32cb75['push']('ck-suggestion-marker--active'),{'classes':_0x32cb75,'attributes':{'data-change-id':_0x24532c}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x2c34c5=>{_0x2c34c5['on']('element:pre',(_0x18972e,_0x44fb5e,_0x14761d)=>{const _0x79bf3=_0x44fb5e['viewItem']['getChild'](0x0);if(!_0x79bf3||!_0x79bf3['is']('element','code'))return;if(!_0x14761d['consumable']['consume'](_0x79bf3,{'attributes':['vid_start','vid_end']}))return;const _0x1dbc95=_0x44fb5e['modelRange']['start']['nodeAfter'];_0x14761d['writer']['setAttribute']('vid_start',_0x79bf3['getAttribute']('vid_start'),_0x1dbc95),_0x14761d['writer']['setAttribute']('vid_end',_0x79bf3['getAttribute']('vid_end'),_0x1dbc95);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x5a3e05=>{_0x5a3e05['on']('element',(_0x29510e,_0x233de3,_0x48cd4a)=>{if(!_0x48cd4a['consumable']['consume'](_0x233de3['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x233de3['modelRange']['isCollapsed'])return;const _0x1ef3ea=_0x233de3['modelRange']['start']['nodeAfter'];_0x1ef3ea['hasAttribute']('vid_start')||_0x1ef3ea['hasAttribute']('vid')||(_0x48cd4a['writer']['setAttribute']('vid_start',_0x233de3['viewItem']['getAttribute']('vid_start'),_0x1ef3ea),_0x48cd4a['writer']['setAttribute']('vid_end',_0x233de3['viewItem']['getAttribute']('vid_end'),_0x1ef3ea));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x17c5ea=>_0x17c5ea['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x17256a,[,_0x11df69])=>{['vid_start','vid_end','vid']['includes'](_0x11df69)&&(_0x17256a['return']=!0x0,_0x17256a['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x5d798b=>{_0x5d798b['on']('attribute:vid',(_0x4ea02f,_0x1cdf7a,_0x56041e)=>{if('\x20'!=_0x1cdf7a['item']['data']||_0x1cdf7a['item']['parent']['maxOffset']>0x1)return;if(!_0x56041e['consumable']['consume'](_0x1cdf7a['item'],_0x4ea02f['name']))return;const _0x3b9fb2=_0x56041e['writer'],_0x493a26=_0x56041e['mapper']['toViewRange'](_0x1cdf7a['range']);_0x3b9fb2['wrap'](_0x493a26,_0x3b9fb2['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x31bcdf){const _0x4e2d20=_0x31bcdf['plugins']['get']('RevisionViewer');return(_0x17735e,_0x3d6764,_0x11a7ac)=>{const _0x1b4d98=_0x3d6764['markerName']['split'](':')[0x1],_0x4342a9=_0x4e2d20['_getChangeFromId'](_0x1b4d98);if(!_0x4342a9)return null;const _0x3ce921='add'==_0x4342a9['type']?'split':'merge';if(!_0x11a7ac['consumable']['test'](_0x3d6764['markerRange'],_0x17735e['name']))return;const _0x97b741=_0x3d6764['markerRange']['getWalker'](),_0x50e2b8=_0x3d6764['markerRange']['start'],_0x56267d=_0x31bcdf['model']['schema'];let _0x24fc1d=null,_0x778303=null,_0x2262d=!0x1,_0x122345=!0x1;for(const _0x46e112 of _0x97b741){const _0x2199c1=_0x46e112['item'];_0x2262d=_0x2262d||_0x56267d['isContent'](_0x2199c1);const _0x240698=_0x11a7ac['mapper']['toViewElement'](_0x2199c1);if(_0x240698&&_0x240698['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x46e112['type']&&(_0x56267d['isBlock'](_0x2199c1)&&!_0x56267d['isLimit'](_0x2199c1)&&(_0x2199c1['nextSibling']||_0x50e2b8['isAtEnd']?_0x24fc1d&&_0x24fc1d['parent']==_0x2199c1||(_0x24fc1d=_0x2199c1,_0x4d09ac(_0x46e112['previousPosition']),_0x122345=!0x0):_0x778303=_0x778303||_0x46e112['previousPosition']));}function _0x4d09ac(_0x4c4ba6){const _0x11356e=_0x11a7ac['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3ce921}),_0x461663=_0x11a7ac['mapper']['toViewPosition'](_0x4c4ba6);_0x4342a9['data']['isSuggestion']&&_0x11a7ac['writer']['addClass']('ck-suggestion-marker-'+_0x3ce921+'-new',_0x11356e),_0x4e2d20['activeChange']==_0x4342a9&&_0x11a7ac['writer']['addClass']('ck-suggestion-marker--active',_0x11356e),_0x11a7ac['writer']['insert'](_0x461663,_0x11356e),_0x11a7ac['mapper']['bindElementToMarker'](_0x11356e,_0x3d6764['markerName']);}_0x2262d||_0x122345||!_0x778303||_0x4d09ac(_0x778303);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x233bdd,_0x5d2251,_0x55425a)=>{const _0x5158a9=_0x55425a['mapper']['markerNameToElements'](_0x5d2251['markerName']);if(_0x5158a9){for(const _0x368b3d of _0x5158a9)(_0x368b3d['hasClass']('ck-suggestion-marker-split')||_0x368b3d['hasClass']('ck-suggestion-marker-merge'))&&(_0x55425a['mapper']['unbindElementFromMarkerName'](_0x368b3d,_0x5d2251['markerName']),_0x55425a['writer']['remove'](_0x368b3d));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x7c4d60,_0x2bebd7,_0x224365)=>{const _0x5220ee=_0x2bebd7['markerName']['split'](':')[0x1],_0x58bcef=this['_getChangeFromId'](_0x5220ee);if(!_0x58bcef)return null;const _0x36ad96='add'==_0x58bcef['type']?'split':'merge';if(_0x224365['consumable']['test'](_0x2bebd7['markerRange'],_0x7c4d60['name']))for(const _0x9a7b68 of _0x2bebd7['markerRange']['getItems']()){if(!_0x9a7b68['is']('element','softBreak'))continue;const _0xa1f922=_0x224365['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x36ad96}),_0x5c5483=_0x224365['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x9a7b68));_0x58bcef['data']['isSuggestion']&&_0x224365['writer']['addClass']('ck-suggestion-marker-'+_0x36ad96+'-new',_0xa1f922),this['activeChange']==_0x58bcef&&_0x224365['writer']['addClass']('ck-suggestion-marker--active',_0xa1f922),_0x224365['writer']['insert'](_0x5c5483,_0xa1f922),_0x224365['mapper']['bindElementToMarker'](_0xa1f922,_0x2bebd7['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x20e215=>{for(const _0x2fce35 of this['editor']['model']['document']['getRootNames']()){const _0x402ba4=this['editor']['model']['document']['getRoot'](_0x2fce35),_0x78cd6c=this['editor']['editing']['view']['document']['getRoot'](_0x2fce35);if(_0x78cd6c){const _0x5bef63=_0x402ba4['getAttribute']('revisionHistoryAttachChange');if(_0x20e215['removeAttribute']('data-change-id',_0x78cd6c),_0x20e215['removeClass']('ck-revision-history-root-add',_0x78cd6c),_0x20e215['removeClass']('ck-revision-history-root-remove',_0x78cd6c),_0x20e215['removeClass']('ck-revision-history-root--active',_0x78cd6c),_0x5bef63){const _0x4d6d03=this['_getChangeFromId'](_0x5bef63);if(!_0x4d6d03)return null;_0x20e215['setAttribute']('data-change-id',_0x5bef63,_0x78cd6c),_0x20e215['addClass']('ck-revision-history-root-'+_0x4d6d03['type'],_0x78cd6c),this['activeChange']==_0x4d6d03&&_0x20e215['addClass']('ck-revision-history-root--active',_0x78cd6c);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x5a4528=>'revision-comment:'+_0x5a4528,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x5d3062=>'revision-suggestion:'+_0x5d3062,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x46c61b=>({'name':'suggestion:'+_0x46c61b,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x58365f=>{const _0x2fe8d3=_0x58365f['markerName']['split'](':')[0x1];return'insertion'!=_0x2fe8d3&&'deletion'!=_0x2fe8d3?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x2fe8d3]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',_0x371643(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',_0x371643(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x39e6cd,_0x4d1a17,_0x4f5625)=>{const _0x20b8af=_0x4f5625['mapper']['markerNameToElements'](_0x4d1a17['markerName']);if(_0x20b8af){for(const _0x313074 of _0x20b8af)_0x313074['is']('uiElement')&&(_0x4f5625['mapper']['unbindElementFromMarkerName'](_0x313074,_0x4d1a17['markerName']),_0x4f5625['writer']['remove'](_0x313074));}},{'priority':'high'});}['_getChangeFromId'](_0x5209a7){return this['_changeIdToChange']['get'](_0x5209a7);}['_getViewForChange'](_0x5d036c){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new ChangeDetailsView(this['editor']['locale'],_0x5d036c),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x4a091c,_0xa515fd,_0x3f86f1,_0x25030e)=>{_0x25030e&&this['_balloon']['remove'](_0x25030e),_0x3f86f1&&(this['_balloon']['add']({'view':_0x3f86f1,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x47846b=this['editor']['editing'],_0x2eb3c3=this['_getChangeFromId'](_0x3f86f1['changeId']);let _0x6bd0d6;if(_0x2eb3c3['data']['isOnRoot']){const _0x2f2621=_0x47846b['view']['getDomRoot'](_0x2eb3c3['rootName']);_0x6bd0d6=Array['from'](_0x2f2621['getClientRects']());}else{const _0x4f14fb=this['editor']['model']['markers']['get']('revision:'+_0x3f86f1['changeId']);_0x6bd0d6=Array['from'](_0x47846b['mapper']['markerNameToElements'](_0x4f14fb['name']))['map'](_0x354a35=>_0x47846b['view']['domConverter']['mapViewToDom'](_0x354a35))['map'](_0x5dccbb=>Array['from'](_0x5dccbb['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x6bd0d6[0x0];return _0x6bd0d6['find'](_0x4b08b0=>_0x4b08b0['top']-0x3<=this['_activeViewTarget']['y']&&_0x4b08b0['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4b08b0['left']-0x3<=this['_activeViewTarget']['x']&&_0x4b08b0['right']+0x3>=this['_activeViewTarget']['x'])||_0x6bd0d6[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x5a0126,_0x50287b,_0x4dc0a0,_0x42b39b)=>{this['activeView']=_0x4dc0a0?this['_getViewForChange'](_0x4dc0a0):null,this['editor']['model']['change'](()=>{const _0x2a916d=this['editor']['editing'];_0x42b39b&&(_0x42b39b['data']['isOnRoot']?_0x2a916d['view']['change'](_0x1e272b=>{_0x1e272b['removeClass']('ck-revision-history-root--active',_0x2a916d['view']['document']['getRoot'](_0x42b39b['rootName']));}):_0x2a916d['reconvertMarker']('revision:'+_0x42b39b['id'])),_0x4dc0a0&&(_0x4dc0a0['data']['isOnRoot']?_0x2a916d['view']['change'](_0x476225=>{_0x476225['addClass']('ck-revision-history-root--active',_0x2a916d['view']['document']['getRoot'](_0x4dc0a0['rootName']));}):_0x2a916d['reconvertMarker']('revision:'+_0x4dc0a0['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x3c6d5e,_0x4028e7)=>{if(this['activeChange'])return;const _0x19cb22=this['_findChangeIdFromDomTarget'](_0x4028e7['target']),_0x4092c8=this['_changeIdToChange']['get'](_0x19cb22);_0x4092c8?(this['_activeViewTarget']={'x':_0x4028e7['domEvent']['x'],'y':_0x4028e7['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x4092c8)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x2dbc80,_0x5af570)=>{const _0x3c6fb5=this['_findChangeIdFromDomTarget'](_0x5af570['target']),_0x106a1d=this['_changeIdToChange']['get'](_0x3c6fb5);_0x106a1d?(this['_activeViewTarget']={'x':_0x5af570['domEvent']['x'],'y':_0x5af570['domEvent']['y']},_0x106a1d===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x106a1d):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x3c2381){do{const _0x50db0a=_0x3c2381['getAttribute']('data-change-id');if(_0x50db0a)return _0x50db0a;_0x3c2381=_0x3c2381['parent'];}while(_0x3c2381);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x291613=>{for(const _0x3ae2bf of this['editor']['model']['markers'])_0x291613['removeMarker'](_0x3ae2bf);});}}function _0x371643(_0x5f486d,_0x59869e){return(_0x6614e5,_0x46ca88,_0x1f0436)=>{if(!_0x1f0436['consumable']['test'](_0x46ca88['markerRange'],_0x6614e5['name']))return;const _0x45b624=_0x46ca88['markerRange']['getWalker'](),_0x2840d7=_0x46ca88['markerRange']['start'],_0x31c68a=_0x5f486d['model']['schema'];let _0x501bd2=null,_0x294aa4=null,_0x552def=!0x1,_0x3b2da9=!0x1;for(const _0x2c57bf of _0x45b624){const _0x1e0192=_0x2c57bf['item'];_0x552def=_0x552def||_0x31c68a['isContent'](_0x1e0192);const _0x41c3ab=_0x1f0436['mapper']['toViewElement'](_0x1e0192);if(_0x41c3ab&&_0x41c3ab['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2c57bf['type']&&(_0x31c68a['isBlock'](_0x1e0192)&&!_0x31c68a['isLimit'](_0x1e0192)&&(_0x1e0192['nextSibling']||_0x2840d7['isAtEnd']?_0x501bd2&&_0x501bd2['parent']==_0x1e0192||(_0x501bd2=_0x1e0192,_0x1f0bc5(_0x2c57bf['previousPosition']),_0x3b2da9=!0x0):_0x294aa4=_0x294aa4||_0x2c57bf['previousPosition']));}function _0x1f0bc5(_0x3ba4e8){const _0x3a398b=_0x1f0436['mapper']['toViewPosition'](_0x3ba4e8),_0x204f63=_0x1f0436['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x59869e});_0x1f0436['writer']['insert'](_0x3a398b,_0x204f63),_0x1f0436['mapper']['bindElementToMarker'](_0x204f63,_0x46ca88['markerName']);}_0x552def||_0x3b2da9||!_0x294aa4||_0x1f0bc5(_0x294aa4);};}class RestoreRevisionCommand extends _0x22b56d['Command']{constructor(_0x54b741){super(_0x54b741);const _0x13beda=_0x54b741['plugins']['get'](_0x1a8bd8);this['affectsData']=!0x1,this['listenTo'](_0x13beda,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x13beda,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x35c8f8=this['editor'],_0xef4205=_0x35c8f8['plugins']['get'](_0x1a8bd8),_0x5bf1e5=_0xef4205['isReady']?_0xef4205['diff']['newRevisionId']:null;_0x35c8f8['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x5bf1e5);}['refresh'](){const {isReady:_0xbe160,isEnabled:_0x101389,repository:_0x586b9f,diff:_0x2a49eb}=this['editor']['plugins']['get'](_0x1a8bd8),_0x468c97=_0x2a49eb&&_0x586b9f['getLaterVisibleRevision'](_0x2a49eb['newRevisionId']);this['isEnabled']=_0xbe160&&_0x101389&&Boolean(_0x468c97);}}class _0x1f8cca extends _0x22b56d['Command']{['_step'];constructor(_0x25a545,{direction:_0x15f6c3}){super(_0x25a545);const _0x25078a=_0x25a545['plugins']['get'](_0x1a8bd8);this['affectsData']=!0x1,this['_step']='forward'===_0x15f6c3?0x1:-0x1,this['listenTo'](_0x25078a,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x25078a,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x25078a,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x2222b3=this['editor'],_0x1f9e93=_0x2222b3['plugins']['get'](_0x1a8bd8),{isNavigationMode:_0x5661a5,currentChangeNumber:_0x177595}=_0x1f9e93;let _0x23b39;if(_0x1f9e93['activeChange']=_0x5661a5?_0x1f9e93['diff']['changes']['get'](_0x177595+this['_step']):_0x1f9e93['diff']['changes']['first'],_0x1f9e93['activeChange']['data']['isOnRoot'])_0x23b39=_0x2222b3['editing']['view']['getDomRoot'](_0x1f9e93['activeChange']['rootName']);else{const _0x42bcd9=_0x2222b3['model']['markers']['get']('revision:'+_0x1f9e93['activeChange']['id']);_0x23b39=_0x13ae85(_0x2222b3['editing'],_0x42bcd9);}_0x22b56d['scrollViewportToShowTarget']({'target':_0x23b39,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0xd8fca5,currentChangeNumber:_0x426a5c,numberOfChanges:_0x3e9af0,isReady:_0x9a7e94,isEnabled:_0x405bbe}=this['editor']['plugins']['get'](_0x1a8bd8);this['isEnabled']=!!(_0x405bbe&&_0x9a7e94&&_0x3e9af0)&&(!_0xd8fca5||(0x1===this['_step']?_0x426a5c<_0x3e9af0-0x1:_0x426a5c>0x0));}}class ChangesNavigationView extends _0x22b56d['View']{constructor(_0x3a4c90){super(_0x3a4c90);const _0x4476da=this['bindTemplate'],_0x2c1145=new _0x22b56d['ButtonView'](_0x3a4c90),_0x5d6d0f=new _0x22b56d['ButtonView'](_0x3a4c90);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',(_0x6d3462,_0x58c6fb)=>_0x6d3462&&_0x58c6fb>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x27e59c,_0x1c52c6,_0x2a3128,_0x3fc94d)=>{if(!_0x27e59c)return _0x3008b4(_0x3a4c90,'Loading...');if(!_0x2a3128)return _0x3008b4(_0x3a4c90,'No\x20changes');const _0x5465a6=_0x3008b4(_0x3a4c90,'NUMBER_OF_CHANGES',_0x2a3128);return _0x3fc94d?_0x3008b4(_0x3a4c90,'X_OF_Y_CHANGES',[_0x1c52c6+0x1,_0x2a3128]):_0x5465a6;}),_0x2c1145['set']({'label':_0x3008b4(_0x3a4c90,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0x22b56d['IconChevronUp']}),_0x5d6d0f['set']({'label':_0x3008b4(_0x3a4c90,'Show\x20next\x20change'),'tooltip':!0x0,'icon':_0x22b56d['IconChevronDown']}),_0x2c1145['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x5d6d0f['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x2c1145['on']('execute',()=>this['fire']('execute','backward')),_0x5d6d0f['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',_0x4476da['if']('_isStatusLabelVisible','ck-hidden',_0x361b14=>!_0x361b14)]},'children':[{'text':_0x4476da['to']('isNavigationMode',_0xd76524=>_0xd76524?_0x3008b4(_0x3a4c90,'EDIT_X_OF_Y_REVISIONS')+':\x20':_0x3008b4(_0x3a4c90,'Total')+':\x20')}]},{'text':_0x4476da['to']('_statusText')}]},new _0x22b56d['ToolbarSeparatorView'](),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x2c1145,_0x5d6d0f]}]});}}const _0x9e6665='ck-editor__editable__loading-overlay';class _0x3f09e6 extends _0x22b56d['Plugin']{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['show'](){const _0x5247bb=this['editor']['editing']['view'];_0x5247bb['change'](_0x501e20=>{for(const _0x304a4e of _0x5247bb['document']['roots'])_0x501e20['addClass'](_0x9e6665,_0x304a4e);});}['hide'](){const _0x4b7b8d=this['editor']['editing']['view'];_0x4b7b8d['change'](_0x359451=>{for(const _0x1064dd of _0x4b7b8d['document']['roots'])_0x359451['removeClass'](_0x9e6665,_0x1064dd);});}}class _0x2465b0 extends _0x22b56d['Plugin']{static get['pluginName'](){return'RevisionViewerUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x1a8bd8,_0x3f09e6];}['init'](){const _0x502c04=this['editor'],_0x11ca39=_0x502c04['plugins']['get'](_0x1a8bd8),_0x5c5579=_0x502c04['plugins']['get'](_0x3f09e6);_0x502c04['ui']['componentFactory']['add']('exitToEditing',_0x5e552d=>{const _0x558dec=new _0x22b56d['ButtonView'](_0x5e552d);return _0x558dec['set']({'label':_0x3008b4(_0x5e552d,'Back\x20to\x20editing'),'icon':_0x22b56d['IconUndo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x558dec,'execute',()=>{_0x502c04['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x558dec;}),_0x502c04['ui']['componentFactory']['add']('restoreRevision',_0x967983=>{const _0x3fa6b5=new _0x22b56d['ButtonView'](_0x967983);return _0x3fa6b5['set']({'label':_0x3008b4(_0x967983,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x3fa6b5['bind']('isEnabled')['to'](_0x502c04['commands']['get']('restoreRevision')),this['listenTo'](_0x3fa6b5,'execute',()=>_0x502c04['execute']('restoreRevision')),_0x3fa6b5;}),_0x502c04['ui']['componentFactory']['add']('changesNavigation',_0x5a7e87=>{const _0x807a14=new ChangesNavigationView(_0x5a7e87),_0x118380=_0x502c04['commands']['get']('showPreviousChange'),_0x495565=_0x502c04['commands']['get']('showNextChange');return _0x807a14['bind']('isBackwardNavigationEnabled')['to'](_0x118380,'isEnabled'),_0x807a14['bind']('isForwardNavigationEnabled')['to'](_0x495565,'isEnabled'),_0x807a14['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x11ca39),this['listenTo'](_0x807a14,'execute',(_0xa97037,_0x306c27)=>{_0x502c04['execute']('forward'===_0x306c27?'showNextChange':'showPreviousChange');}),_0x807a14;}),_0x5c5579['show'](),_0x11ca39['on']('change:isReady',(_0x297578,_0x26c073,_0x241ebd)=>{_0x241ebd?_0x5c5579['hide']():_0x5c5579['show']();});}}class _0x34906c extends _0x22b56d['LabeledFieldView']{['_resizeObserver']=null;constructor(_0x2b36dd,_0x1262ab){super(_0x2b36dd,_0x1262ab);const _0x145c9a=this['bindTemplate'];this['set']({'label':_0x3008b4(_0x2b36dd,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=_0x3008b4(_0x2b36dd,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x145c9a['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new _0x22b56d['ResizeObserver'](this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x279b88=this['fieldView']['element'];this['_tooltipString']=_0x279b88['scrollWidth']>_0x279b88['clientWidth']&&_0x279b88['value']||'';}}class RevisionAuthorView extends _0x22b56d['View']{constructor(_0x11de5f,_0x13acc2,_0x11a393){super(_0x11de5f);const _0x4f741e=new _0x22b56d['IconView']();_0x4f741e['set']({'content':_0x22b56d['IconUser'],'viewBox':'0\x200\x2011\x2010'});const _0x38858c=['ck','ck-revision-history-sidebar__revision-author'];_0x11a393&&_0x38858c['push']('ck-revision-history-sidebar__revision-author_creator');const _0x45ab56=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':_0x3008b4(_0x11de5f,_0x11a393?'Revision\x20creator':'Revision\x20author')},'children':[_0x4f741e,_0x13acc2['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x38858c},'children':_0x45ab56});}}function _0x47a93a(_0x4ee25a,_0x2ea67a){const _0x25e635=_0x4ee25a['bindTemplate'],_0x63e37e=_0x4ee25a['locale'],_0x27cd6e=_0x22b56d['createDropdown'](_0x63e37e);_0x27cd6e['panelPosition']='sw';const _0x25ac43=function(_0x647127,_0x140064){const _0x448e4c=function(_0x12d904,_0x3194cd){const _0x2c194c=_0x12d904['locale'],_0x139651={'Compare\x20against\x20selected':_0x3008b4(_0x2c194c,'Compare\x20against\x20selected'),'Name\x20this\x20revision':_0x3008b4(_0x2c194c,'Name\x20this\x20revision'),'Restore\x20this\x20revision':_0x3008b4(_0x2c194c,'Restore\x20this\x20revision')};return _0x3194cd['map'](_0x21ed0f=>{const _0xfc10f9=_0x139651[_0x21ed0f['name']];return _0xfc10f9&&_0xfc10f9!==_0x21ed0f['name']&&(_0x21ed0f['name']=_0xfc10f9),_0x21ed0f;});}(_0x647127,_0x140064),_0x43134e=new _0x22b56d['Collection']();for(const _0x5ea058 of _0x448e4c){const _0x598b21={'type':'button','model':new _0x22b56d['UIModel']({'label':_0x5ea058['name'],'class':_0x5ea058['class'],'withText':!0x0,'role':'menuitem','_action':_0x5ea058['action']})};_0x598b21['model']['bind']('isEnabled')['to'](_0x647127,'isActionsDropdownOpen',_0x521478=>'function'!=typeof _0x5ea058['isEnabled']||(!_0x521478||_0x5ea058['isEnabled'](_0x647127))),_0x43134e['add'](_0x598b21);}return _0x43134e;}(_0x4ee25a,_0x2ea67a);return _0x4ee25a['bind']('isActionsDropdownOpen')['to'](_0x27cd6e,'isOpen'),_0x27cd6e['buttonView']['set']({'label':_0x3008b4(_0x63e37e,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x22b56d['IconThreeVerticalDots']}),_0x27cd6e['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x25e635['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x25e635['to'](_0x4f2b3c=>_0x4f2b3c['stopPropagation']())}}),_0x27cd6e['on']('execute',_0x62c21b=>{_0x4ee25a['isReady']&&'function'==typeof _0x62c21b['source']['_action']&&_0x62c21b['source']['_action'](_0x4ee25a);}),_0x22b56d['addListToDropdown'](_0x27cd6e,_0x25ac43,{'role':'menu'}),_0x27cd6e['listenTo'](_0x4ee25a,'change:isActionsDropdownOpen',(_0xa52f1d,_0x315795,_0x5212df)=>{if(_0x5212df)for(const _0x1599e0 of _0x27cd6e['listView']['items']){const _0x487515=_0x1599e0['children']['first'],_0x11c8cc=_0x2ea67a['find'](_0x5b3065=>_0x5b3065['action']===_0x487515['_action'])['isVisible'];_0x1599e0['isVisible']=void 0x0===_0x11c8cc||_0x11c8cc(_0x4ee25a);}}),_0x27cd6e;}class _0x3dcfa7 extends/* #__PURE__ -- @preserve */
_0x2ef563(_0x22b56d['View']){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x5b47a3,_0xab95dc,_0x2e9e58,_0xc6fd97){super(_0x5b47a3);const _0x2f431a=this['bindTemplate'],_0x36dceb=function(_0x46c5d7,_0x4f8a04){const _0x427498=Array['from'](_0x4f8a04['authors'])['filter'](_0x581e8d=>_0x581e8d!=_0x4f8a04['creator']);return _0x4f8a04['creator']&&_0x427498['unshift'](_0x4f8a04['creator']),_0x427498['map'](_0x164ec9=>new RevisionAuthorView(_0x46c5d7,_0x164ec9,_0x164ec9==_0x4f8a04['creator']));}(_0x5b47a3,_0xab95dc);this['id']=_0xab95dc['id'],this['_revision']=_0xab95dc,this['_requireRevisionName']=_0xc6fd97,this['bind']('name','createdAt')['to'](_0xab95dc),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x348ae1=>{return _0x3e6b61=_0x5b47a3['uiLanguage'],(_0x19abd8=_0x348ae1)['toLocaleDateString'](_0x3e6b61,{'month':'long','day':'numeric'})+',\x20'+_0x19abd8['toLocaleTimeString'](_0x3e6b61,{'hour':'numeric','minute':'numeric'});var _0x3e6b61,_0x19abd8;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new _0x34906c(_0x5b47a3,_0x22b56d['createLabeledInputText']),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x1c86ac=>_0x1c86ac||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x1fc836,_0x203c30)=>_0x1fc836&&_0x203c30),this['revisionActionsView']=_0x2e9e58&&_0x2e9e58['length']?_0x47a93a(this,_0x2e9e58):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x2f431a['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x2f431a['if']('isEnabled','ck-disabled',_0x20fb9c=>!_0x20fb9c),_0x2f431a['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x2f431a['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x2f431a['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':_0x2f431a['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':_0x36dceb}]},this['revisionActionsView']],'on':{'click':_0x2f431a['to'](_0x911043=>{_0x911043['srcElement']['closest']('.ck-confirm-view')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x2c6def=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x2c6def,'change',()=>{this['_requireRevisionName']&&!_0x2c6def['value']||this['fire']('setName',{'id':this['id'],'name':_0x2c6def['value']}),_0x2c6def['value']||(_0x2c6def['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function _0x3b069f(_0x5ee919,_0x26951f){const _0x214f11=DateTime['fromJSDate'](_0x5ee919)['setLocale'](_0x26951f),_0x30a428=DateTime['local'](),_0x4d818c=_0x30a428['minus']({'days':0x1})['startOf']('day');let _0x4fcd48,_0x123d85;return _0x214f11['hasSame'](_0x30a428,'day')?(_0x4fcd48=_0x214f11['startOf']('day')['toJSDate'](),_0x123d85=_0x214f11['toRelativeCalendar']()):_0x214f11['hasSame'](_0x4d818c,'day')?(_0x4fcd48=_0x4d818c['toJSDate'](),_0x123d85=_0x214f11['toRelativeCalendar']()):_0x214f11['hasSame'](_0x30a428,'week')?(_0x4fcd48=_0x214f11['startOf']('week')['toJSDate'](),_0x123d85=_0x214f11['weekdayLong']||''):_0x214f11['hasSame'](_0x30a428,'year')?(_0x4fcd48=_0x214f11['startOf']('month')['toJSDate'](),_0x123d85=_0x214f11['monthLong']||''):(_0x4fcd48=_0x214f11['startOf']('year')['toJSDate'](),_0x123d85=String(_0x214f11['year'])),{'startDate':_0x4fcd48,'localizedPeriodName':_0x123d85};}class _0x23d245 extends _0x22b56d['View']{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x266a34,_0x3ed189,_0xfdeb6c,_0x5b0bd7){super(_0x266a34);const _0x870392=_0x3b069f(_0x3ed189,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x3ed189,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0xfdeb6c,this['_requireRevisionName']=_0x5b0bd7,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':_0x870392}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x7bcee3){const _0x4f74e8=new _0x3dcfa7(this['locale'],_0x7bcee3,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4f74e8);}['removeRevision'](_0x5bbe50){const _0x5aaf48=this['revisionViews']['find'](_0xc1e1e6=>_0xc1e1e6['id']===_0x5bbe50['id']);this['revisionViews']['remove'](_0x5aaf48);}}class _0xff2e63 extends _0x22b56d['View']{constructor(_0x195b06){super(_0x195b06);const _0x351ba1=new _0x22b56d['IconView']();_0x351ba1['content']=_0x22b56d['IconHistory'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x351ba1,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[_0x3008b4(_0x195b06,'Revision\x20history')]}]});}}class _0x207111 extends _0x22b56d['View']{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x48b482,_0x51c0e3,_0x51b9a3,_0x45f05e){super(_0x48b482);const _0x1eef0f=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x51c0e3,this['_revisionActions']=_0x51b9a3,this['_requireRevisionName']=_0x45f05e,this['on']('select',(_0x4c8587,_0x3d8261)=>{this['fire']('revisionSelected',_0x3d8261);}),this['on']('setName',(_0x197c1b,_0x2c3ed9)=>{this['fire']('revisionSetName',_0x2c3ed9);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new _0xff2e63(_0x48b482),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x1eef0f['if']('isEnabled','ck-disabled',_0x230e33=>!_0x230e33)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x5c9b2b of this['_revisions'])this['_addRevision'](_0x5c9b2b);this['_revisions']['on']('add',(_0x134ce1,_0x1d30c2)=>{this['_addRevision'](_0x1d30c2);}),this['_revisions']['on']('remove',(_0x5aaf8f,_0x4c09ec)=>{this['_removeRevision'](_0x4c09ec);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x36e6f6=>_0x36e6f6['revisionViews']['map'](_0x743d24=>_0x743d24))['flat']();}['selectRevision'](_0x2a8b9d){for(const _0x569e52 of this['revisionViews'])_0x2a8b9d&&_0x2a8b9d['id']===_0x569e52['id']?_0x569e52['select']():_0x569e52['deselect']();}['highlightRevisions'](_0x24310c){for(const _0x4e214c of this['revisionViews'])_0x24310c['some'](({id:_0x440686})=>_0x440686===_0x4e214c['id'])?_0x4e214c['highlight']():_0x4e214c['unhighlight']();}['_addRevision'](_0x2879af){const _0xeca8c5=_0x3b069f(_0x2879af['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x1ed100=this['timePeriodViews']['get'](0x0);_0x1ed100&&_0x1ed100['startDate']['getTime']()===_0xeca8c5['getTime']()||(_0x1ed100=new _0x23d245(this['locale'],_0xeca8c5,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x1ed100)),_0x1ed100['addRevision'](_0x2879af);}['_removeRevision'](_0x26b0a0){const _0x5849ce=_0x3b069f(_0x26b0a0['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x5849ce)['removeRevision'](_0x26b0a0);}['_getTimePeriodViewByStartDate'](_0x26c072){return this['timePeriodViews']['find'](_0x31da39=>_0x31da39['startDate']['getTime']()===_0x26c072['getTime']());}}class _0x14aa91 extends _0x22b56d['Plugin']{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
_0x21a348();static get['pluginName'](){return'RevisionsSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x1a8bd8];}constructor(_0x315a22){super(_0x315a22),this['_revisionViewer']=_0x315a22['plugins']['get'](_0x1a8bd8),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x450424=this['_revisionsRepository']['_revisions'],_0x26ae9d=this['_createRevisionActions'](),_0x752ceb=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new _0x207111(this['editor']['locale'],_0x450424,_0x26ae9d,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',(_0x3aa868,_0x45df78)=>{_0x45df78['revisionViews']['on']('add',(_0x340461,_0x1091f2)=>{_0x1091f2['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)),_0x752ceb['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x313675=this['_revisionsRepository']['getRevision'](0x0);if(_0x313675){const _0x588e04=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x313675['id']);this['_revisionViewer']['compare'](_0x313675,_0x588e04);}}['_handleRevisionSelected'](_0x1a11a6,_0x2d4aa8){const _0x1bf9ad=this['_revisionsRepository']['getRevision'](_0x2d4aa8['id']),_0x679fb1=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1bf9ad['id']);this['_revisionViewer']['compare'](_0x1bf9ad,_0x679fb1);}['_handleRevisionSetName'](_0x3173cc,_0x1e09ca){this['_revisionsRepository']['getRevision'](_0x1e09ca['id'])['setName'](_0x1e09ca['name']);}['_handleDiffChange'](_0x309eb2,_0x474066,_0x21d393){const _0x37931b=this['_revisionsRepository']['getRevisionsInDiff'](_0x21d393);_0x37931b['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x37931b),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x37931b[0x0]));}['_createRevisionActions'](){const _0x1ae9a7=this['editor'],_0x5558e4=_0x14aa91['availableRevisionActions'],_0x41a0cb=_0x1ae9a7['config']['get']('revisionHistory.revisionActions')||_0x14aa91['defaultRevisionActions'];if(_0x41a0cb['length'])return _0x41a0cb['map'](_0xa04aa5=>{const _0x1baede='string'==typeof _0xa04aa5?Object['assign']({},_0x5558e4[_0xa04aa5]):_0xa04aa5;return _0x1baede['action']=_0x1baede['action']['bind'](this,_0x1ae9a7),_0x1baede['isVisible']&&(_0x1baede['isVisible']=_0x1baede['isVisible']['bind'](this,_0x1ae9a7)),_0x1baede;});}}function _0x21a348(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0xe9ac3},_0x3e2560)=>{const _0x502c9c=_0xe9ac3['get'](_0x1a8bd8),_0x3b3b72=_0x502c9c['repository'];let _0xcd8772=_0x502c9c['diff']['newRevisionId'],_0x48666f=_0x3e2560['id'];_0x3b3b72['getIndex'](_0xcd8772)>_0x3b3b72['getIndex'](_0x48666f)&&([_0xcd8772,_0x48666f]=[_0x48666f,_0xcd8772]),_0x502c9c['compare'](_0xcd8772,_0x48666f);},'isVisible':({plugins:_0x44e32d},_0x39fe1b)=>{const _0x2690bf=_0x44e32d['get'](_0x1a8bd8);return!(_0x2690bf['repository']['getRevisionsInDiff'](_0x2690bf['diff'])['length']>0x2)&&!_0x39fe1b['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x403116,{id:_0x2cee21})=>{_0x403116['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2cee21);},'isVisible':({plugins:_0x271d39},_0x4e056a)=>!!_0x271d39['get'](_0x1a8bd8)['repository']['getLaterVisibleRevision'](_0x4e056a['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x17c594},{id:_0x1b3109,revisionNameView:_0x528787})=>{const _0x11874c=_0x17c594['get'](_0x1a8bd8),_0x8bdef1=_0x11874c['repository']['getEarlierVisibleRevision'](_0x1b3109);_0x11874c['compare'](_0x1b3109,_0x8bdef1),_0x528787['focus'](),_0x528787['fieldView']['select']();}}};}class RevisionViewerEditorUI extends _0x22b56d['EditorUI']{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x59307e,_0x1f2067){super(_0x59307e),this['_view']=_0x1f2067,this['_toolbarConfig']=_0x22b56d['normalizeToolbarConfig'](_0x59307e['config']['get']('toolbar')),this['_elementReplacer']=new _0x22b56d['ElementReplacer']();}get['element'](){return this['view']['element'];}['init'](_0x6a2e87){const _0x30f606=this['editor'],_0x1d7351=this['view'],_0x13b6b7=_0x30f606['editing']['view'],_0x3aa601=_0x1d7351['editable'],_0x26e807=_0x13b6b7['document']['getRoot']();_0x3aa601['name']=_0x26e807['rootName'],_0x1d7351['render']();const _0x5953a1=_0x3aa601['element'];this['setEditableElement'](_0x3aa601['name'],_0x5953a1),_0x1d7351['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x13b6b7['attachDomRoot'](_0x5953a1),this['_elementReplacer']['replace'](_0x6a2e87,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x1d738e=this['view'],_0x5d03d6=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x5d03d6['detachDomRoot'](_0x1d738e['editable']['name']),_0x1d738e['destroy']();}['_initToolbar'](){const _0x5e76ba=this['view'];_0x5e76ba['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x5e76ba['stickyPanel']['limiterElement']=_0x5e76ba['element'],_0x5e76ba['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x4ede32})=>_0x4ede32),_0x5e76ba['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x5e76ba['toolbar']);}}class RevisionViewerEditorUIView extends _0x22b56d['BoxedEditorUIView']{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x69fe0e,_0x309eaf,_0x3b25bd={}){super(_0x69fe0e),this['stickyPanel']=new _0x22b56d['StickyPanelView'](_0x69fe0e),this['toolbar']=new _0x22b56d['ToolbarView'](_0x69fe0e,{'shouldGroupWhenFull':_0x3b25bd['shouldToolbarGroupWhenFull']}),this['_editable']=new _0x22b56d['InlineEditableUIView'](_0x69fe0e,_0x309eaf);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class RevisionViewerEditor extends/* #__PURE__ -- @preserve */
_0x22b56d['ElementApiMixin'](_0x22b56d['Editor']){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x57df72,_0xf98a62){super(_0xf98a62),this['sourceElement']=_0x57df72,this['model']['document']['createRoot']();const _0x4333fb=new RevisionViewerEditorUIView(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new RevisionViewerEditorUI(this,_0x4333fb);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x254d89,_0xe8ecd9){const _0x3519ec=new this(_0x254d89,_0xe8ecd9);return await _0x3519ec['initPlugins'](),await _0x3519ec['ui']['init'](_0x254d89),await _0x3519ec['data']['init'](_0x3519ec['config']['get']('initialData')||''),_0x3519ec['fire']('ready'),_0x3519ec;}}const _0x4bb08a=['RevisionHistoryUI','RestrictedEditingMode','AIChat','AIReviewMode','AIBalloon','AIQuickActions','AIActions','AIChatShortcuts','AITranslate'];class RevisionViewerIntegration extends _0x22b56d['Plugin']{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x20ecf8){function _0x1ba296(_0x334da6){return _0x334da6['map'](_0x18015a=>String['fromCharCode'](_0x18015a))['join']('');}super(_0x20ecf8),this['result']='end',_0x20ecf8[_0x1ba296([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1ba296([0x76,0x69,0x65,0x77])][_0x1ba296([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1ba296([0x61,0x75,0x74,0x6f]),_0x20ecf8[_0x1ba296([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x1ba296([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1ba296([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x1ba296([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x1ba296([0x6f,0x6b])});}}class RevisionHistory extends _0x22b56d['Plugin']{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x449e76,RevisionHistoryUI];}constructor(_0x433956){if(super(_0x433956),!this['editor']['config']['get']('revisionHistory'))throw new _0x22b56d['CKEditorError']('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['set']('isRevisionViewerOpen',!0x1),this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0xcd14c9=>this['_showRevisionViewer']({..._0xcd14c9,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x344e8c=>this['_closeRevisionViewer'](_0x344e8c)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x25a0dc=>this['_restoreRevision'](_0x25a0dc)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x2fc420){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x2fc420;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3ee744){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3ee744);}['getRevision'](_0xe96ed8){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0xe96ed8);}['getRevisions'](_0x3dc43a){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x3dc43a||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x28a81c=this['editor'],_0x2db447=_0x44274e(_0x28a81c,_0x4bb08a),_0x363b35=_0x28a81c['plugins']['get']('RevisionTracker'),_0x101030=_0x28a81c['plugins']['get']('Users')['users'];_0x2db447['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x2db447['lazyRoots'];class RevisionViewerInit extends _0x22b56d['Plugin']{static get['requires'](){return[_0x1a8bd8,'Users'];}['init'](){const _0x2f5810=this['editor']['plugins']['get']('Users');for(const _0x40c2ec of _0x101030)_0x40c2ec['isAnonymous']||_0x2f5810['getUser'](_0x40c2ec['id'])||_0x2f5810['addUser'](_0x40c2ec);const _0x372e88=_0x363b35['repository']['getRevisions']();let _0x5e8b8a=null;const _0x535ea6=this['editor']['plugins']['get']('RevisionViewer');_0x535ea6['adapter']=_0x363b35['adapter'],_0x535ea6['bind']('isEnabled')['to'](_0x363b35),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x28a81c,'isReadOnly',_0x3890b0=>!_0x3890b0);for(const _0x1ff2be of _0x372e88){const _0x327af9=null===_0x1ff2be['creator'];if(_0x327af9&&_0x1ff2be['toVersion']===_0x1ff2be['fromVersion'])continue;const _0x104342=_0x1ff2be['toJSON']();_0x535ea6['addRevisionData'](_0x104342,(_0x3be07c,_0x345c80,_0x2be3df)=>{if(_0x327af9){if(_0x5e8b8a)_0x5e8b8a['_update'](_0x3be07c,_0x345c80);else{if(!_0x345c80){const _0x71146f=_0x2be3df['toJSON']();_0x71146f['id']=_0x22b56d['uid'](),_0x363b35['saveRevision'](_0x71146f,_0x2be3df['toVersion'])['then'](_0x20743d=>{_0x5e8b8a=_0x20743d;});}}}else _0x1ff2be['_update'](_0x3be07c,_0x345c80);});}}}return _0x2db447['plugins']['push'](RevisionViewerIntegration,_0x1a8bd8,_0x2465b0,RevisionViewerInit,_0x14aa91),_0x2db447;}['_enhanceShowRevisionViewerCallback'](){const _0x4cead9=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x1e68ee=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x1037f2=this['editor']['plugins']['get']('Autosave');await _0x1037f2['save']();}else await _0x1e68ee['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x358f6b=this['editor']['plugins']['get']('Dialog');_0x358f6b['isOpen']&&_0x358f6b['hide']();}if(this['editor']['plugins']['has']('AITabs')){const _0x3d6c2a=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x46b739 of _0x3d6c2a)_0x46b739['class']=_0x46b739['class']?_0x46b739['class']+'\x20ck-tab-panel_disabled':'ck-tab-panel_disabled';if(this['editor']['plugins']['has']('AIChat')){const _0x204122=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x204122&&_0x204122['setAttribute']('tabindex','-1');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0xde0235=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0xde0235&&_0xde0235['setAttribute']('tabindex','-1');}}const _0x3aa871=this['_getRevisionViewerEditorConfig']();return _0x4cead9(_0x3aa871)['then'](_0x47b0d8=>{return(this['_viewerEditor']=_0x47b0d8,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'),_0x47b0d8);})['catch'](_0x1ee6b5=>(console['error'](_0x1ee6b5),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x488ccb=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 _0x382288=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x3158ce of _0x382288)_0x3158ce['class']='ck-tab-panel_disabled'===_0x3158ce['class']?'':_0x3158ce['class']['replace']('\x20ck-tab-panel_disabled','');if(this['editor']['plugins']['has']('AIChat')){const _0x2f8112=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x2f8112&&_0x2f8112['removeAttribute']('tabindex');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x52cc2e=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x52cc2e&&_0x52cc2e['removeAttribute']('tabindex');}}return this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x488ccb(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x553ae5=this['editor']['plugins']['get']('Annotations');_0x553ae5['refreshVisibility'](),_0x553ae5['refreshPositioning']();}});});}['_showRevisionViewer'](_0x1bfa54){const _0x3faf30=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x4ce1c4=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x2a0538=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return RevisionViewerEditor['create'](_0x2a0538,_0x1bfa54)['then'](_0x364215=>(_0x4ce1c4['style']['display']='block',_0x3faf30['style']['display']='none',this['isRevisionViewerOpen']=!0x0,_0x364215));}['_closeRevisionViewer'](_0x21687b){const _0xa025e6=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0xa025e6['style']['display']='',this['isRevisionViewerOpen']=!0x1,_0x21687b['destroy']();}async['_restoreRevision'](_0x5664b9){const _0x53e454=this['editor'],_0x277882=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x3045a6=_0x53e454['plugins']['get']('RevisionTracker'),_0x58ecd0=_0x53e454['plugins']['get']('RevisionHistoryUtils'),_0x466ae4=_0x277882['repository']['getRevision'](_0x5664b9);let _0x2822c8,_0x5ac068,_0xcf24ee;try{await _0x58ecd0['loadRevisionData'](_0x466ae4,this['adapter']),_0x2822c8=_0x58ecd0['getRevisionDocumentData'](_0x466ae4),_0x5ac068=_0x58ecd0['getRevisionRootsAttributes'](_0x466ae4);}catch(_0x39d4b6){return void console['error'](_0x39d4b6);}_0x53e454['model']['change'](_0xc864ab=>{for(const _0x3077f6 of Array['from'](_0x53e454['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0xc864ab['removeMarker'](_0x3077f6);}),_0x277882['isReady']=!0x1,_0x53e454['model']['enqueueChange'](_0x5cd4db=>{_0x5cd4db['setSelection'](null),_0x5cd4db['removeSelectionAttribute'](_0x53e454['model']['document']['selection']['getAttributeKeys']());const _0x2c64fa=Object['keys'](_0x2822c8);for(const _0x116f7 of _0x53e454['model']['document']['roots'])'$graveyard'!=_0x116f7['rootName']&&_0x116f7['isAttached']()&&!_0x2c64fa['includes'](_0x116f7['rootName'])&&_0x5cd4db['detachRoot'](_0x116f7);for(const _0x12ecc9 of _0x2c64fa){let _0x3441d3=_0x53e454['model']['document']['getRoot'](_0x12ecc9);_0x3441d3&&_0x3441d3['isAttached']()||(_0x3441d3=_0x5cd4db['addRoot'](_0x12ecc9));const _0x1d8ff2=_0x5ac068[_0x12ecc9],_0x311610=Object['keys'](_0x1d8ff2),_0x4882f1=_0x2822c8[_0x12ecc9];for(const _0x414069 of _0x3441d3['getAttributeKeys']())_0x311610['includes'](_0x414069)||_0x5cd4db['removeAttribute'](_0x414069,_0x3441d3);for(const _0x25739e of _0x311610)_0x5cd4db['setAttribute'](_0x25739e,_0x5ac068[_0x12ecc9][_0x25739e],_0x3441d3);_0x5cd4db['remove'](_0x5cd4db['createRangeIn'](_0x3441d3)),_0x5cd4db['insert'](_0x53e454['data']['parse'](_0x4882f1,_0x3441d3),_0x3441d3,0x0);}});const _0x4803e6=_0x3008b4(_0x53e454['locale'],'Restored');if(_0x466ae4['name'])_0xcf24ee=-0x1==_0x466ae4['name']['indexOf'](_0x4803e6)?_0x4803e6+':\x20'+_0x466ae4['name']:_0x466ae4['name'];else _0xcf24ee=_0x4803e6+':\x20'+(_0x466ae4['createdAt']['toLocaleDateString'](_0x53e454['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x466ae4['createdAt']['toLocaleTimeString'](_0x53e454['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x3045a6['saveRevision']({'name':_0xcf24ee}),_0x277882['isReady']=!0x0,_0x53e454['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}class _0xbda70a extends _0x22b56d['Plugin']{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1a31ce){super(_0x1a31ce),this['_allowedCommands']=null;}['afterInit'](){const _0x243469=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x5c4108=function(_0x25ba54){let _0xb813b9=['heading4','heading5','heading6'];if(_0x25ba54){const _0x30e4b4=_0x25ba54['map'](_0x30a744=>_0x30a744['model']);_0xb813b9=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x2afc4f=>!_0x30e4b4['includes'](_0x2afc4f));}return _0xb813b9;}(this['editor']['config']['get']('heading.options')),_0x52671a=this['getDefaultCommands']()['filter'](_0x518f92=>!_0x5c4108['includes'](_0x518f92['id']));let _0x55359a=_0x52671a['filter'](_0x2c9fa1=>!_0x243469['includes'](_0x2c9fa1['commandName']));const _0x16f827=this['editor']['config']['get']('slashCommand.extraCommands');_0x16f827&&_0x16f827['length']&&(_0x55359a=_0x55359a['concat'](_0x16f827));const _0xb22ed7=this['editor']['config']['get']('template.definitions');_0xb22ed7&&_0xb22ed7['length']&&(_0x55359a=_0x55359a['concat'](function(_0x362040){return _0x362040['map'](_0x53b037=>{const {title:_0x46f77d,icon:_0x38427d,description:_0x24af49,data:_0x4fb27e}=_0x53b037,_0x24c7c9={'id':_0x1a47e3(_0x46f77d,'template'),'commandName':'insertTemplate','execute':_0x5733c9=>{_0x5733c9['execute']('insertTemplate',_0x4fb27e);},'description':_0x24af49,'icon':_0x38427d,'title':_0x46f77d};return _0x38427d&&(_0x24c7c9['isIconColorInherited']=!0x1),_0x24c7c9;});}(_0xb22ed7)));const _0x339894=this['editor']['config']['get']('style.definitions');_0x339894&&_0x339894['length']&&(_0x55359a=_0x55359a['concat'](function(_0x2288cc){return _0x2288cc['map'](_0x5c6e3e=>{const _0x2e0e16={'id':_0x1a47e3(_0x5c6e3e['name'],'style'),'commandName':'style','execute':_0x5853b4=>{_0x5853b4['execute']('style',{'styleName':_0x5c6e3e['name']});},'isEnabled':_0x46c9bd=>{const _0xc9eb75=_0x46c9bd['commands']['get']('style');return _0xc9eb75['isEnabled']&&_0xc9eb75['enabledStyles']['includes'](_0x5c6e3e['name']);},'title':_0x5c6e3e['name']};return _0x2e0e16;});}(_0x339894)));const _0x320a76=_0x55359a['filter'](_0x183c9b=>!_0x183c9b['commandName']||void 0x0!==this['editor']['commands']['get'](_0x183c9b['commandName'])),_0x352111=[];for(const _0x4d766d of _0x320a76)_0x352111['push']({'id':_0x4d766d['id'],'commandName':_0x4d766d['commandName'],'title':'function'==typeof _0x4d766d['title']?_0x4d766d['title'](this['editor']):_0x4d766d['title'],'description':_0x4d766d['description'],'icon':_0x4d766d['icon'],'isIconColorInherited':_0x4d766d['isIconColorInherited'],'aliases':_0x4d766d['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x4d766d),'execute':()=>this['_proxyExecute'](_0x4d766d)});this['_allowedCommands']=_0x352111['sort'](_0x28651b),async function(_0x3bd1b3){const _0x262bc8=_0x467918([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]),_0x3f83b8=0x305505ed,_0x3be57f=0x30528f85^_0x3f83b8,_0x50e080=window[_0x467918([0x44,0x61,0x74,0x65])][_0x467918([0x6e,0x6f,0x77])](),_0xe1cfc2=_0x3bd1b3[_0x467918([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4e7865=new window[(_0x467918([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c49fc=>{_0xe1cfc2[_0x467918([0x6f,0x6e,0x63,0x65])](_0x467918([0x72,0x65,0x61,0x64,0x79]),_0x1c49fc);}),_0x3fcfe4={[_0x467918([0x6b,0x74,0x79])]:_0x467918([0x45,0x43]),[_0x467918([0x75,0x73,0x65])]:_0x467918([0x73,0x69,0x67]),[_0x467918([0x63,0x72,0x76])]:_0x467918([0x50,0x2d,0x32,0x35,0x36]),[_0x467918([0x78])]:_0x467918([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]),[_0x467918([0x79])]:_0x467918([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]),[_0x467918([0x61,0x6c,0x67])]:_0x467918([0x45,0x53,0x32,0x35,0x36])},_0xf69d14=_0xe1cfc2[_0x467918([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x467918([0x67,0x65,0x74])](_0x467918([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d7ab1(){let _0x4879d1,_0x5873d8=null,_0x550c64=null;try{if(_0xf69d14==_0x467918([0x47,0x50,0x4c]))return _0x467918([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4879d1=_0x425810(),!_0x4879d1)return _0x467918([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4879d1[_0x467918([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x550c64=_0x4e76b7(_0x4879d1[_0x467918([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4879d1[_0x467918([0x6a,0x74,0x69])])),await _0x14eeb7()?_0x9a3970()?_0x38a9b9()?_0x467918([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x50473f()?(_0x4879d1[_0x467918([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x467918([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5873d8=_0x19b3b6(_0x467918([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e5ba7()):_0x467918([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x467918([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x467918([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x467918([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x38a9b9(){const _0xbf884b=[_0x467918([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x467918([0x74,0x72,0x69,0x61,0x6c])][_0x467918([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4879d1[_0x467918([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x50e080/0x3e8:0xe10*_0x3be57f;return _0x4879d1[_0x467918([0x65,0x78,0x70])]<_0xbf884b;}function _0x9a3970(){const _0x75922c=_0x4879d1[_0x467918([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x75922c&&(!!_0x75922c[_0x467918([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x467918([0x2a]))||(!!_0x75922c[_0x467918([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x467918([0x53,0x43]))||(!!_0x75922c[_0x467918([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x467918([0x50,0x50]))||!(!_0x75922c[_0x467918([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x467918([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x456e0f()))));}function _0x50473f(){const _0x5b5fc5=_0x4879d1[_0x467918([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5b5fc5||0x0==_0x5b5fc5[_0x467918([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x22fa1d}=new URL(window[_0x467918([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5b5fc5[_0x467918([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22fa1d))return!0x0;const _0x232f81=_0x22fa1d[_0x467918([0x73,0x70,0x6c,0x69,0x74])](_0x467918([0x2e]));return _0x5b5fc5[_0x467918([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e40d4=>_0x3e40d4[_0x467918([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x467918([0x2a])))[_0x467918([0x6d,0x61,0x70])](_0x19f04d=>_0x19f04d[_0x467918([0x73,0x70,0x6c,0x69,0x74])](_0x467918([0x2e])))[_0x467918([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f661f=>_0x2f661f[_0x467918([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x232f81[_0x467918([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x467918([0x6d,0x61,0x70])](_0x44aa56=>Array(_0x232f81[_0x467918([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x44aa56[_0x467918([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x467918([0x66,0x69,0x6c,0x6c])](_0x44aa56[0x0]===_0x467918([0x2a])?_0x467918([0x2a]):'')[_0x467918([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x44aa56))[_0x467918([0x73,0x6f,0x6d,0x65])](_0x96d858=>_0x232f81[_0x467918([0x65,0x76,0x65,0x72,0x79])]((_0x4ef524,_0x1bda45)=>_0x96d858[_0x1bda45]===_0x4ef524||_0x96d858[_0x1bda45]===_0x467918([0x2a])));}function _0x2e5ba7(){return _0x5873d8&&_0x550c64?new window[(_0x467918([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x17c86b,_0x3c5e0f)=>{_0x5873d8[_0x467918([0x74,0x68,0x65,0x6e])](_0x17c86b,_0x3c5e0f),_0x550c64[_0x467918([0x74,0x68,0x65,0x6e])](_0x3fa70b=>{_0x3fa70b!=_0x467918([0x56,0x61,0x6c,0x69,0x64])&&_0x17c86b(_0x3fa70b);},_0x3c5e0f);}):_0x5873d8||_0x550c64||_0x467918([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4e76b7(_0x4084db,_0x1073c8){return new window[(_0x467918([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xae9b74=>{if(_0x43a400())return _0xae9b74(_0x467918([0x56,0x61,0x6c,0x69,0x64]));_0x1e57bd(),_0xe1cfc2[_0x467918([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x467918([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x598f47=!0x1;const _0xd4ca68=_0x22b56d['uid']();function _0x6cea35(_0x127c3c){return!!_0x127c3c&&(typeof _0x127c3c===_0x467918([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x127c3c===_0x467918([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x127c3c[_0x467918([0x74,0x68,0x65,0x6e])]===_0x467918([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x127c3c[_0x467918([0x63,0x61,0x74,0x63,0x68])]===_0x467918([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x55e64c(_0x18ce02){_0x19fa89(_0x18ce02)[_0x467918([0x74,0x68,0x65,0x6e])](_0x42751c=>{if(!_0x42751c||_0x42751c[_0x467918([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x467918([0x6f,0x6b]))return _0x467918([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x36d2c6(_0x3cdb26(_0xd4ca68+_0x1073c8))!=_0x42751c[_0x467918([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x467918([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x467918([0x56,0x61,0x6c,0x69,0x64]);})[_0x467918([0x74,0x68,0x65,0x6e])](_0x439996=>(_0x2b607b(),_0x439996),()=>{const _0x521084=_0x58b770();return null==_0x521084?(_0x2b607b(),_0x467918([0x56,0x61,0x6c,0x69,0x64])):_0x467918(_0x50e080-_0x521084>(0x145981ed^_0x3f83b8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x467918([0x74,0x68,0x65,0x6e])](_0xae9b74)[_0x467918([0x63,0x61,0x74,0x63,0x68])](()=>{_0xae9b74(_0x467918([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4c5fcd=0x3063eb6d^_0x3f83b8;function _0x2b607b(){const _0x240e0d=_0x467918([0x6c,0x6c,0x63,0x74,0x2d])+_0x36d2c6(_0x3cdb26(_0x4084db)),_0x594e52=_0x181c55(_0x36d2c6(window[_0x467918([0x4d,0x61,0x74,0x68])][_0x467918([0x63,0x65,0x69,0x6c])](_0x50e080/_0x4c5fcd)));window[_0x467918([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x467918([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x240e0d,_0x594e52);}function _0x58b770(){const _0x1c4f7d=_0x467918([0x6c,0x6c,0x63,0x74,0x2d])+_0x36d2c6(_0x3cdb26(_0x4084db)),_0x2972f2=window[_0x467918([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x467918([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c4f7d);return _0x2972f2?window[_0x467918([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x181c55(_0x2972f2),0x10)*_0x4c5fcd:null;}function _0x19fa89(_0x3594e4){return new window[(_0x467918([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x22c33e,_0x40dce2)=>{_0x3594e4[_0x467918([0x74,0x68,0x65,0x6e])](_0x22c33e,_0x40dce2),window[_0x467918([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x40dce2,0x3054d12d^_0x3f83b8);});}}_0xe1cfc2[_0x467918([0x6f,0x6e])](_0x467918([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x39d5ba,_0x2793e6)=>{if(_0x2793e6[0x0]!=_0x4084db)return _0xae9b74(_0x467918([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2793e6[0x1]={..._0x2793e6[0x1],[_0x467918([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xd4ca68};},{[_0x467918([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x467918([0x68,0x69,0x67,0x68])}),_0xe1cfc2[_0x467918([0x6f,0x6e])](_0x467918([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x10804f=>{_0x6cea35(_0x10804f[_0x467918([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x598f47=!0x0,_0x55e64c(_0x10804f[_0x467918([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x467918([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x467918([0x6c,0x6f,0x77])}),_0x4e7865[_0x467918([0x74,0x68,0x65,0x6e])](()=>{_0x598f47||_0xae9b74(_0x467918([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x43a400(){return _0xe1cfc2[_0x467918([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x467918([0x76,0x69,0x65,0x77])][_0x467918([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x467918([0x61,0x75,0x74,0x6f]);}function _0x1e57bd(){_0xe1cfc2[_0x467918([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x467918([0x76,0x69,0x65,0x77])][_0x467918([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x467918([0x61,0x75,0x74,0x6f]);}}function _0x19b3b6(_0x1eec03){const _0x3311a7=[new window[(_0x467918([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9c9651=>setTimeout(_0x9c9651,0x305c3b21^_0x3f83b8)),_0x4e7865[_0x467918([0x74,0x68,0x65,0x6e])](()=>new window[(_0x467918([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16a613=>{let _0x73cd1b=0x0;_0xe1cfc2[_0x467918([0x6d,0x6f,0x64,0x65,0x6c])][_0x467918([0x6f,0x6e])](_0x467918([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xf0906a,_0x577094)=>{_0x577094[0x0][_0x467918([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x73cd1b++,_0x73cd1b==(0x30550005^_0x3f83b8)&&(_0x16a613(),_0xf0906a[_0x467918([0x6f,0x66,0x66])]());});}))];return window[_0x467918([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x467918([0x72,0x61,0x63,0x65])](_0x3311a7)[_0x467918([0x74,0x68,0x65,0x6e])](()=>_0x1eec03);}async function _0x41eeb0(){await _0x4e7865,_0xe1cfc2[_0x467918([0x6d,0x6f,0x64,0x65,0x6c])][_0x467918([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x338e01,_0xe1cfc2[_0x467918([0x6d,0x6f,0x64,0x65,0x6c])][_0x467918([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x338e01,_0xe1cfc2[_0x467918([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x467918([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x456e0f(){return window[_0x467918([0x67,0x6c,0x6f,0x62])]&&window[_0x467918([0x67,0x6c,0x6f,0x62])][_0x467918([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x510496(_0x5843b1){const _0x3985e5=_0x5d2ef8();_0xe1cfc2[_0x3985e5]=_0x467918([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5843b1,_0x5843b1!=_0x467918([0x56,0x61,0x6c,0x69,0x64])&&_0x41eeb0();}function _0x5d2ef8(){const _0xa40bd0=window[_0x467918([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x467918([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x467918([0x6e,0x6f,0x77])]())[_0x467918([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x467918([0x2e]),'');let _0x469c84=_0x467918([0x75]);for(let _0x3e241b=0x0;_0x3e241b<_0xa40bd0[_0x467918([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e241b+=0x2){let _0x443c1a=window[_0x467918([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xa40bd0[_0x467918([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e241b,_0x3e241b+0x2));_0x443c1a>=_0x262bc8[_0x467918([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x443c1a-=_0x262bc8[_0x467918([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x469c84+=_0x262bc8[_0x443c1a];}return _0x469c84;}function _0x425810(){const _0x592537=_0xf69d14[_0x467918([0x73,0x70,0x6c,0x69,0x74])](_0x467918([0x2e]));if(0x3!=_0x592537[_0x467918([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x19be51(_0x592537[0x1]);function _0x19be51(_0x265733){const _0x1ae0ac=_0x36b2b4(_0x265733);return _0x1ae0ac&&_0xe51a75()?_0x1ae0ac:null;function _0xe51a75(){const _0x49c170=_0x1ae0ac[_0x467918([0x6a,0x74,0x69])],_0x4b7a54=window[_0x467918([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49c170[_0x467918([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x49c170[_0x467918([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x160379={..._0x1ae0ac,[_0x467918([0x6a,0x74,0x69])]:_0x49c170[_0x467918([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x49c170[_0x467918([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x160379[_0x467918([0x76,0x63])],_0x3cdb26(_0x160379)==_0x4b7a54;}}}async function _0x14eeb7(){let _0x4f4ab7=!0x0;try{const _0x35cda0=_0xf69d14[_0x467918([0x73,0x70,0x6c,0x69,0x74])](_0x467918([0x2e])),[_0x1f2907,_0x104c32,_0x4ed46d]=_0x35cda0;return _0x21ec3d(_0x1f2907),await _0x401302(_0x1f2907,_0x104c32,_0x4ed46d),_0x4f4ab7;}catch{return!0x1;}function _0x21ec3d(_0x260008){const _0x3b81e9=_0x36b2b4(_0x260008);_0x3b81e9&&_0x3b81e9[_0x467918([0x61,0x6c,0x67])]==_0x467918([0x45,0x53,0x32,0x35,0x36])||(_0x4f4ab7=!0x1);}async function _0x401302(_0x2be2df,_0x316128,_0xf6f167){const _0x10397e=window[_0x467918([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x467918([0x66,0x72,0x6f,0x6d])](_0x2f1c68(_0xf6f167),_0x578ffb=>_0x578ffb[_0x467918([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x42f9aa=new window[(_0x467918([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x467918([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2be2df+_0x467918([0x2e])+_0x316128),_0x56db21=window[_0x467918([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x467918([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x56db21)return;const _0x38b911=await _0x56db21[_0x467918([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x467918([0x6a,0x77,0x6b]),_0x3fcfe4,{[_0x467918([0x6e,0x61,0x6d,0x65])]:_0x467918([0x45,0x43,0x44,0x53,0x41]),[_0x467918([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x467918([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x467918([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x56db21[_0x467918([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x467918([0x6e,0x61,0x6d,0x65])]:_0x467918([0x45,0x43,0x44,0x53,0x41]),[_0x467918([0x68,0x61,0x73,0x68])]:{[_0x467918([0x6e,0x61,0x6d,0x65])]:_0x467918([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x38b911,_0x10397e,_0x42f9aa)||(_0x4f4ab7=!0x1);}}function _0x36b2b4(_0x1fbc3c){return _0x1fbc3c[_0x467918([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x467918([0x65,0x79]))?JSON[_0x467918([0x70,0x61,0x72,0x73,0x65])](_0x2f1c68(_0x1fbc3c)):null;}function _0x2f1c68(_0xbcf8ef){return window[_0x467918([0x61,0x74,0x6f,0x62])](_0xbcf8ef[_0x467918([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x467918([0x2b]))[_0x467918([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x467918([0x2f])));}function _0x3cdb26(_0x88d975){let _0x222be7=0x1505;function _0x315b65(_0x29e93e){for(let _0x55130e=0x0;_0x55130e<_0x29e93e[_0x467918([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55130e++){const _0x18d623=_0x29e93e[_0x467918([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x55130e);_0x222be7=(_0x222be7<<0x5)+_0x222be7+_0x18d623,_0x222be7&=_0x222be7;}}function _0x5a753f(_0x3a1354){Array[_0x467918([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3a1354)?_0x3a1354[_0x467918([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5a753f):_0x3a1354&&typeof _0x3a1354==_0x467918([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x467918([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3a1354)[_0x467918([0x73,0x6f,0x72,0x74])]()[_0x467918([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x7319d2,_0x9dec3c])=>{_0x315b65(_0x7319d2),_0x5a753f(_0x9dec3c);}):_0x315b65(window[_0x467918([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3a1354));}return _0x5a753f(_0x88d975),_0x222be7>>>0x0;}function _0x36d2c6(_0x233eb3){return _0x233eb3[_0x467918([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x467918([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x467918([0x30]));}function _0x181c55(_0x54fd65){return _0x54fd65[_0x467918([0x73,0x70,0x6c,0x69,0x74])]('')[_0x467918([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x467918([0x6a,0x6f,0x69,0x6e])]('');}function _0x338e01(){}function _0x467918(_0x2ce766){return _0x2ce766['map'](_0x7f321c=>String['fromCharCode'](_0x7f321c))['join']('');}_0x510496(await _0x1d7ab1());}(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x5e462e=_0x4625eb=>function(_0xfaf678,_0x4b0831){const t=_0xfaf678['t'],_0x251e29=_0xfaf678['t'];switch(_0x4b0831){case'AI\x20Assistant':return _0x251e29('AI\x20Assistant');case'Block\x20quote':return _0x251e29('Block\x20quote');case'Bulleted\x20list':return _0x251e29('Bulleted\x20list');case'Insert\x20code\x20block':return _0x251e29('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x251e29('Open\x20file\x20manager');case'Insert\x20image':return _0x251e29('Insert\x20image');case'Heading\x201':return _0x251e29('Heading\x201');case'Heading\x202':return _0x251e29('Heading\x202');case'Heading\x203':return _0x251e29('Heading\x203');case'Heading\x204':return _0x251e29('Heading\x204');case'Heading\x205':return _0x251e29('Heading\x205');case'Heading\x206':return _0x251e29('Heading\x206');case'Horizontal\x20line':return _0x251e29('Horizontal\x20line');case'Insert\x20HTML':return _0x251e29('Insert\x20HTML');case'Increase\x20indent':return _0x251e29('Increase\x20indent');case'Insert\x20table':return _0x251e29('Insert\x20table');case'Table\x20of\x20contents':return _0x251e29('Table\x20of\x20contents');case'Numbered\x20list':return _0x251e29('Numbered\x20list');case'Decrease\x20indent':return _0x251e29('Decrease\x20indent');case'Paragraph':return _0x251e29('Paragraph');case'To-do\x20list':return _0x251e29('To-do\x20list');case'Create\x20a\x20block\x20quote':return t('Create\x20a\x20block\x20quote');case'Create\x20a\x20bulleted\x20list':return t('Create\x20a\x20bulleted\x20list');case'Create\x20a\x20code\x20block':return t('Create\x20a\x20code\x20block');case'Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':return t('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file');case'Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file':return t('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file');case'Create\x20a\x20heading\x20level\x201':return t('Create\x20a\x20heading\x20level\x201');case'Create\x20a\x20heading\x20level\x202':return t('Create\x20a\x20heading\x20level\x202');case'Create\x20a\x20heading\x20level\x203':return t('Create\x20a\x20heading\x20level\x203');case'Create\x20a\x20heading\x20level\x204':return t('Create\x20a\x20heading\x20level\x204');case'Create\x20a\x20heading\x20level\x205':return t('Create\x20a\x20heading\x20level\x205');case'Create\x20a\x20heading\x20level\x206':return t('Create\x20a\x20heading\x20level\x206');case'Insert\x20a\x20horizontal\x20line':return t('Insert\x20a\x20horizontal\x20line');case'Insert\x20an\x20HTML\x20snippet':return t('Insert\x20an\x20HTML\x20snippet');case'Increase\x20the\x20indentation':return t('Increase\x20the\x20indentation');case'Insert\x20Mermaid\x20diagram':return t('Insert\x20Mermaid\x20diagram');case'Insert\x20the\x20Mermaid\x20diagram':return t('Insert\x20the\x20Mermaid\x20diagram');case'Create\x20a\x20table':return t('Create\x20a\x20table');case'Insert\x20table\x20of\x20contents':return t('Insert\x20table\x20of\x20contents');case'Create\x20a\x20numbered\x20list':return t('Create\x20a\x20numbered\x20list');case'Decrease\x20the\x20indentation':return t('Decrease\x20the\x20indentation');case'Insert\x20a\x20paragraph':return t('Insert\x20a\x20paragraph');case'Create\x20a\x20to-do\x20list':return t('Create\x20a\x20to-do\x20list');case'Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content':return t('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content');case'Insert\x20an\x20emoji':return t('Insert\x20an\x20emoji');case'Insert\x20a\x20footnote':return t('Insert\x20a\x20footnote');default:return _0x4b0831;}}(this['editor']['locale'],_0x4625eb);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':_0x22b56d['IconRobotPencil'],'title':_0x5e462e('AI\x20Assistant'),'description':_0x5e462e('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0xfaad6b=>{setTimeout(()=>_0xfaad6b['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':_0x22b56d['IconQuote'],'title':_0x5e462e('Block\x20quote'),'description':_0x5e462e('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x22b56d['IconBulletedList'],'title':_0x5e462e('Bulleted\x20list'),'description':_0x5e462e('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x22b56d['IconCodeBlock'],'title':_0x5e462e('Insert\x20code\x20block'),'description':_0x5e462e('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x22b56d['IconBrowseFiles'],'title':_0x5e462e('Open\x20file\x20manager'),'description':_0x5e462e('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x22b56d['IconBrowseFiles'],'title':_0x5e462e('Insert\x20image'),'description':_0x5e462e('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':_0x22b56d['IconEmoji'],'title':_0x5e462e('Emoji'),'description':_0x5e462e('Insert\x20an\x20emoji'),'execute':_0x18936d=>{setTimeout(()=>_0x18936d['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':_0x22b56d['IconHeading1'],'title':_0x5e462e('Heading\x201'),'description':_0x5e462e('Create\x20a\x20heading\x20level\x201'),'execute':_0x4f724d=>{_0x4f724d['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x22b56d['IconHeading2'],'title':_0x5e462e('Heading\x202'),'description':_0x5e462e('Create\x20a\x20heading\x20level\x202'),'execute':_0x208bdb=>{_0x208bdb['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0x22b56d['IconHeading3'],'title':_0x5e462e('Heading\x203'),'description':_0x5e462e('Create\x20a\x20heading\x20level\x203'),'execute':_0x2d656c=>{_0x2d656c['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x22b56d['IconHeading4'],'title':_0x5e462e('Heading\x204'),'description':_0x5e462e('Create\x20a\x20heading\x20level\x204'),'execute':_0x4babea=>{_0x4babea['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0x22b56d['IconHeading5'],'title':_0x5e462e('Heading\x205'),'description':_0x5e462e('Create\x20a\x20heading\x20level\x205'),'execute':_0x75f9a0=>{_0x75f9a0['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x22b56d['IconHeading6'],'title':_0x5e462e('Heading\x206'),'description':_0x5e462e('Create\x20a\x20heading\x20level\x206'),'execute':_0x41ed5a=>{_0x41ed5a['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x22b56d['IconHorizontalLine'],'title':_0x5e462e('Horizontal\x20line'),'description':_0x5e462e('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x22b56d['IconHtml'],'title':_0x5e462e('Insert\x20HTML'),'description':_0x5e462e('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x22b56d['IconIndent'],'title':_0x5e462e('Increase\x20indent'),'description':_0x5e462e('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x5e462e('Insert\x20Mermaid\x20diagram'),'description':_0x5e462e('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x22b56d['IconTable'],'title':_0x5e462e('Insert\x20table'),'description':_0x5e462e('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0x22b56d['IconTableOfContents'],'title':_0x5e462e('Table\x20of\x20contents'),'description':_0x5e462e('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x22b56d['IconNumberedList'],'title':_0x5e462e('Numbered\x20list'),'description':_0x5e462e('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0x22b56d['IconOutdent'],'title':_0x5e462e('Decrease\x20indent'),'description':_0x5e462e('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0x22b56d['IconParagraph'],'title':_0x5e462e('Paragraph'),'description':_0x5e462e('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x22b56d['IconTodoList'],'title':_0x5e462e('To-do\x20list'),'description':_0x5e462e('Create\x20a\x20to-do\x20list')},{'id':'footnote','commandName':'insertFootnote','icon':_0x22b56d['IconFootnote'],'title':_0x5e462e('Footnote'),'description':_0x5e462e('Insert\x20a\x20footnote')}];}['_proxyIsEnabled'](_0x2b0047){return _0x2b0047['isEnabled']?_0x2b0047['isEnabled'](this['editor']):!_0x2b0047['commandName']||this['editor']['commands']['get'](_0x2b0047['commandName'])['isEnabled'];}['_proxyExecute'](_0x2a3f38){if(_0x2a3f38['execute'])_0x2a3f38['execute'](this['editor']);else{if(!_0x2a3f38['commandName'])throw new _0x22b56d['CKEditorError']('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x2a3f38});this['editor']['execute'](_0x2a3f38['commandName']);}}}function _0x28651b(_0x11e09b,_0x51b72b){return _0x11e09b['title']<_0x51b72b['title']?-0x1:_0x11e09b['title']>_0x51b72b['title']?0x1:0x0;}function _0x1a47e3(_0x8adb24,_0x5b1d0a){return _0x5b1d0a+'-'+_0x8adb24['toLowerCase']()['split']('\x20')['join']('-');}class SlashCommandEditing extends _0x22b56d['Plugin']{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0xbda70a];}['getMatchingCommands'](_0x1c19ea){const _0x3f15b8=_0x1c19ea&&_0x1c19ea['toLowerCase']();let _0x2c785c=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x2c785c=_0x2c785c['filter'](_0x692bb0=>_0x692bb0['isEnabled']()),_0x3f15b8){const _0x913b15=[],_0x61ea07=[],_0x1d07df=[],_0x1e8e62=[];for(const _0x41c6ec of _0x2c785c)_0x41c6ec['id']['toLowerCase']()['includes'](_0x3f15b8)?_0x913b15['push'](_0x41c6ec):_0x41c6ec['title']['toLowerCase']()['includes'](_0x3f15b8)?_0x61ea07['push'](_0x41c6ec):_0x41c6ec['aliases']&&_0x41c6ec['aliases']['some'](_0x16c129=>_0x16c129['toLowerCase']()['includes'](_0x3f15b8))?_0x1d07df['push'](_0x41c6ec):_0x41c6ec['description']&&_0x41c6ec['description']['toLowerCase']()['includes'](_0x3f15b8)&&_0x1e8e62['push'](_0x41c6ec);_0x2c785c=_0x913b15['concat'](_0x61ea07,_0x1d07df,_0x1e8e62);}return _0x2c785c;}}class SlashCommandButtonView extends _0x22b56d['ButtonView']{constructor(_0x4a6773,_0x53d1a4){super(_0x4a6773),this['textPartView']=this['_createTextPartView'](_0x4a6773,_0x53d1a4),void 0x0!==_0x53d1a4['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x53d1a4['isIconColorInherited']),this['set']({'icon':_0x53d1a4['icon']||_0x22b56d['IconPlay'],'withText':!0x0,'label':_0x53d1a4['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0x46babc,_0x5cc880){const _0x57312a=new _0x22b56d['View'](_0x46babc);return _0x57312a['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x5cc880['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x5cc880['description']}]}]:[this['labelView']]}),_0x57312a;}}class _0x304053 extends _0x22b56d['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x371d57){super(_0x371d57),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3254c1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1f27f2;for(const _0x1973ef in _0x3254c1){const _0x1bb71d=_0x1973ef,_0xc12e05=_0x3254c1[_0x1bb71d];if('slashCommandLicenseKeyValid'==_0xc12e05||'slashCommandLicenseKeyInvalid'==_0xc12e05||'slashCommandLicenseKeyExpired'==_0xc12e05||'slashCommandLicenseKeyDomainLimit'==_0xc12e05||'slashCommandLicenseKeyNotAllowed'==_0xc12e05||'slashCommandLicenseKeyEvaluationLimit'==_0xc12e05||'slashCommandLicenseKeyUsageLimit'==_0xc12e05){delete _0x3254c1[_0x1bb71d],_0x1f27f2=_0xc12e05,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x1f27f2&&_0x3254c1['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x1f27f2&&_0x3254c1['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x1f27f2&&_0x3254c1['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x1f27f2&&_0x3254c1['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x1f27f2&&_0x3254c1['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyUsageLimit'==_0x1f27f2&&_0x3254c1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x206ab6=this['editor'],_0x3f7cc8=this['editor']['plugins']['get']('SlashCommandEditing'),_0x231a02=_0x206ab6['config']['get']('mention.feeds');_0x231a02['push']({'marker':'/','feed':_0x26a987=>_0x3f7cc8['getMatchingCommands'](_0x26a987),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x206ab6['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x206ab6['config']['set']('mention.feeds',_0x231a02);}['_overrideMentionExecuteListener'](){const _0x47726a=this['editor'];_0x47726a['commands']['get']('mention')['on']('execute',(_0x29b9c7,_0x50dcba)=>{const _0x4cfc39=_0x50dcba[0x0],_0x8b9d51=_0x47726a['model'];'/'===_0x4cfc39['marker']&&_0x8b9d51['change'](_0x114f82=>{_0x114f82['remove'](_0x4cfc39['range']),_0x4cfc39['mention']['execute'](),_0x29b9c7['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x34a9bf){const _0x8a4188=this['editor']['locale'],_0x4b588e=new SlashCommandButtonView(_0x8a4188,_0x34a9bf);return _0x4b588e['render'](),_0x4b588e['element'];}}class _0x198432 extends _0x22b56d['Plugin']{static get['requires'](){return['Mention',SlashCommandEditing,_0x304053];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}function _0x1cd83a(_0x53d857,_0x43562c){const t=_0x53d857['t'];switch(_0x43562c){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 _0x43562c;}}function _0x4d1ec4(_0x34ae0b){const _0x450e00=_0x34ae0b['editing']['view']['document']['roots'],_0x4141c6=_0x450e00['length'];if(0x0===_0x4141c6)throw new _0x22b56d['CKEditorError']('source-editing-enhanced-editor-no-root',_0x34ae0b);if(0x1===_0x4141c6)return _0x450e00['first']['rootName'];return Array['from'](_0x34ae0b['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function _0x289503(_0x1b7c62){return _0x7f3309(_0x1b7c62['replace'](/^[\n\s]*/g,''))?_0x1b7c62['replace'](/\s+/g,''):_0x1b7c62;}function _0x7f3309(_0x12b661){return _0x12b661['startsWith']('<');}let _0x54ee00=[],_0x105b74=[];function _0x303b2e(_0x5c0ea1){if(_0x5c0ea1<0x300)return!0x1;for(let _0x18c7e4=0x0,_0x2c2233=_0x54ee00['length'];;){let _0x4d0989=_0x18c7e4+_0x2c2233>>0x1;if(_0x5c0ea1<_0x54ee00[_0x4d0989])_0x2c2233=_0x4d0989;else{if(!(_0x5c0ea1>=_0x105b74[_0x4d0989]))return!0x0;_0x18c7e4=_0x4d0989+0x1;}if(_0x18c7e4==_0x2c2233)return!0x1;}}function _0x232f80(_0x3b2661){return _0x3b2661>=0x1f1e6&&_0x3b2661<=0x1f1ff;}((()=>{let _0xd4d989='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'](_0x32fc56=>_0x32fc56?parseInt(_0x32fc56,0x24):0x1);for(let _0x3dd5b4=0x0,_0x430388=0x0;_0x3dd5b4<_0xd4d989['length'];_0x3dd5b4++)(_0x3dd5b4%0x2?_0x105b74:_0x54ee00)['push'](_0x430388+=_0xd4d989[_0x3dd5b4]);})());function _0x4b98ab(_0x11d8f4,_0x372407,_0x15397d=!0x0,_0x2d6d3a=!0x0){return(_0x15397d?_0x2dbe21:_0x575518)(_0x11d8f4,_0x372407,_0x2d6d3a);}function _0x2dbe21(_0x45fde2,_0x495203,_0x473529){if(_0x495203==_0x45fde2['length'])return _0x495203;_0x495203&&_0x590ee6(_0x45fde2['charCodeAt'](_0x495203))&&_0x24a3dd(_0x45fde2['charCodeAt'](_0x495203-0x1))&&_0x495203--;let _0x3f1bc8=_0x22c3cc(_0x45fde2,_0x495203);for(_0x495203+=_0x3e5c80(_0x3f1bc8);_0x495203<_0x45fde2['length'];){let _0x501fc6=_0x22c3cc(_0x45fde2,_0x495203);if(0x200d==_0x3f1bc8||0x200d==_0x501fc6||_0x473529&&_0x303b2e(_0x501fc6))_0x495203+=_0x3e5c80(_0x501fc6),_0x3f1bc8=_0x501fc6;else{if(!_0x232f80(_0x501fc6))break;{let _0x3ebe6e=0x0,_0x4166e3=_0x495203-0x2;for(;_0x4166e3>=0x0&&_0x232f80(_0x22c3cc(_0x45fde2,_0x4166e3));)_0x3ebe6e++,_0x4166e3-=0x2;if(_0x3ebe6e%0x2==0x0)break;_0x495203+=0x2;}}}return _0x495203;}function _0x575518(_0x1b1d75,_0x41df3f,_0x3af26a){for(;_0x41df3f>0x0;){let _0x2505b9=_0x2dbe21(_0x1b1d75,_0x41df3f-0x2,_0x3af26a);if(_0x2505b9<_0x41df3f)return _0x2505b9;_0x41df3f--;}return 0x0;}function _0x22c3cc(_0x1f65fe,_0x136c46){let _0x728a7a=_0x1f65fe['charCodeAt'](_0x136c46);if(!_0x24a3dd(_0x728a7a)||_0x136c46+0x1==_0x1f65fe['length'])return _0x728a7a;let _0x4a1feb=_0x1f65fe['charCodeAt'](_0x136c46+0x1);return _0x590ee6(_0x4a1feb)?_0x4a1feb-0xdc00+(_0x728a7a-0xd800<<0xa)+0x10000:_0x728a7a;}function _0x590ee6(_0x42d23c){return _0x42d23c>=0xdc00&&_0x42d23c<0xe000;}function _0x24a3dd(_0x39a551){return _0x39a551>=0xd800&&_0x39a551<0xdc00;}function _0x3e5c80(_0x1677cf){return _0x1677cf<0x10000?0x1:0x2;}class Text{['lineAt'](_0x152f34){if(_0x152f34<0x0||_0x152f34>this['length'])throw new RangeError('Invalid\x20position\x20'+_0x152f34+'\x20in\x20document\x20of\x20length\x20'+this['length']);return this['lineInner'](_0x152f34,!0x1,0x1,0x0);}['line'](_0x4ebd8c){if(_0x4ebd8c<0x1||_0x4ebd8c>this['lines'])throw new RangeError('Invalid\x20line\x20number\x20'+_0x4ebd8c+'\x20in\x20'+this['lines']+'-line\x20document');return this['lineInner'](_0x4ebd8c,!0x0,0x1,0x0);}['replace'](_0x372a65,_0x4516d5,_0x163c12){[_0x372a65,_0x4516d5]=_0x28cc04(this,_0x372a65,_0x4516d5);let _0x397cc4=[];return this['decompose'](0x0,_0x372a65,_0x397cc4,0x2),_0x163c12['length']&&_0x163c12['decompose'](0x0,_0x163c12['length'],_0x397cc4,0x3),this['decompose'](_0x4516d5,this['length'],_0x397cc4,0x1),TextNode['from'](_0x397cc4,this['length']-(_0x4516d5-_0x372a65)+_0x163c12['length']);}['append'](_0x75f8b6){return this['replace'](this['length'],this['length'],_0x75f8b6);}['slice'](_0xfde24,_0x20d3bf=this['length']){[_0xfde24,_0x20d3bf]=_0x28cc04(this,_0xfde24,_0x20d3bf);let _0x306148=[];return this['decompose'](_0xfde24,_0x20d3bf,_0x306148,0x0),TextNode['from'](_0x306148,_0x20d3bf-_0xfde24);}['eq'](_0x395fce){if(_0x395fce==this)return!0x0;if(_0x395fce['length']!=this['length']||_0x395fce['lines']!=this['lines'])return!0x1;let _0x257f33=this['scanIdentical'](_0x395fce,0x1),_0x282732=this['length']-this['scanIdentical'](_0x395fce,-0x1),_0x4a5825=new RawTextCursor(this),_0x1579b1=new RawTextCursor(_0x395fce);for(let _0x7d9200=_0x257f33,_0x2867e4=_0x257f33;;){if(_0x4a5825['next'](_0x7d9200),_0x1579b1['next'](_0x7d9200),_0x7d9200=0x0,_0x4a5825['lineBreak']!=_0x1579b1['lineBreak']||_0x4a5825['done']!=_0x1579b1['done']||_0x4a5825['value']!=_0x1579b1['value'])return!0x1;if(_0x2867e4+=_0x4a5825['value']['length'],_0x4a5825['done']||_0x2867e4>=_0x282732)return!0x0;}}['iter'](_0x85695e=0x1){return new RawTextCursor(this,_0x85695e);}['iterRange'](_0x242d44,_0x25fe3a=this['length']){return new PartialTextCursor(this,_0x242d44,_0x25fe3a);}['iterLines'](_0x128520,_0x1688cc){let _0x1b96d4;if(null==_0x128520)_0x1b96d4=this['iter']();else{null==_0x1688cc&&(_0x1688cc=this['lines']+0x1);let _0x499788=this['line'](_0x128520)['from'];_0x1b96d4=this['iterRange'](_0x499788,Math['max'](_0x499788,_0x1688cc==this['lines']+0x1?this['length']:_0x1688cc<=0x1?0x0:this['line'](_0x1688cc-0x1)['to']));}return new _0x1e5cc3(_0x1b96d4);}['toString'](){return this['sliceString'](0x0);}['toJSON'](){let _0x28d336=[];return this['flatten'](_0x28d336),_0x28d336;}constructor(){}static['of'](_0x35a938){if(0x0==_0x35a938['length'])throw new RangeError('A\x20document\x20must\x20have\x20at\x20least\x20one\x20line');return 0x1!=_0x35a938['length']||_0x35a938[0x0]?_0x35a938['length']<=0x20?new TextLeaf(_0x35a938):TextNode['from'](TextLeaf['split'](_0x35a938,[])):Text['empty'];}}class TextLeaf extends Text{constructor(_0x5655cb,_0x29d4de=function(_0x282e5b){let _0xdadf39=-0x1;for(let _0x6e9813 of _0x282e5b)_0xdadf39+=_0x6e9813['length']+0x1;return _0xdadf39;}(_0x5655cb)){super(),this['text']=_0x5655cb,this['length']=_0x29d4de;}get['lines'](){return this['text']['length'];}get['children'](){return null;}['lineInner'](_0x5bb37b,_0xeb73de,_0x17e3e5,_0x41992a){for(let _0x54b9cd=0x0;;_0x54b9cd++){let _0x1e47f6=this['text'][_0x54b9cd],_0x2ed869=_0x41992a+_0x1e47f6['length'];if((_0xeb73de?_0x17e3e5:_0x2ed869)>=_0x5bb37b)return new _0x2215f4(_0x41992a,_0x2ed869,_0x17e3e5,_0x1e47f6);_0x41992a=_0x2ed869+0x1,_0x17e3e5++;}}['decompose'](_0x5779a2,_0x46a98c,_0x247ece,_0x58baa5){let _0x528c00=_0x5779a2<=0x0&&_0x46a98c>=this['length']?this:new TextLeaf(_0x457189(this['text'],_0x5779a2,_0x46a98c),Math['min'](_0x46a98c,this['length'])-Math['max'](0x0,_0x5779a2));if(0x1&_0x58baa5){let _0xdbffe5=_0x247ece['pop'](),_0xdd0ad0=_0x5e2edf(_0x528c00['text'],_0xdbffe5['text']['slice'](),0x0,_0x528c00['length']);if(_0xdd0ad0['length']<=0x20)_0x247ece['push'](new TextLeaf(_0xdd0ad0,_0xdbffe5['length']+_0x528c00['length']));else{let _0x5b8764=_0xdd0ad0['length']>>0x1;_0x247ece['push'](new TextLeaf(_0xdd0ad0['slice'](0x0,_0x5b8764)),new TextLeaf(_0xdd0ad0['slice'](_0x5b8764)));}}else _0x247ece['push'](_0x528c00);}['replace'](_0x578c89,_0x17a4b3,_0x438e06){if(!(_0x438e06 instanceof TextLeaf))return super['replace'](_0x578c89,_0x17a4b3,_0x438e06);[_0x578c89,_0x17a4b3]=_0x28cc04(this,_0x578c89,_0x17a4b3);let _0x3e758d=_0x5e2edf(this['text'],_0x5e2edf(_0x438e06['text'],_0x457189(this['text'],0x0,_0x578c89)),_0x17a4b3),_0x563b6f=this['length']+_0x438e06['length']-(_0x17a4b3-_0x578c89);return _0x3e758d['length']<=0x20?new TextLeaf(_0x3e758d,_0x563b6f):TextNode['from'](TextLeaf['split'](_0x3e758d,[]),_0x563b6f);}['sliceString'](_0x24cb02,_0x33c07f=this['length'],_0x2fbdbd='\x0a'){[_0x24cb02,_0x33c07f]=_0x28cc04(this,_0x24cb02,_0x33c07f);let _0x181bfd='';for(let _0x110cd8=0x0,_0x3baf2d=0x0;_0x110cd8<=_0x33c07f&&_0x3baf2d<this['text']['length'];_0x3baf2d++){let _0x5588e3=this['text'][_0x3baf2d],_0x3c73f1=_0x110cd8+_0x5588e3['length'];_0x110cd8>_0x24cb02&&_0x3baf2d&&(_0x181bfd+=_0x2fbdbd),_0x24cb02<_0x3c73f1&&_0x33c07f>_0x110cd8&&(_0x181bfd+=_0x5588e3['slice'](Math['max'](0x0,_0x24cb02-_0x110cd8),_0x33c07f-_0x110cd8)),_0x110cd8=_0x3c73f1+0x1;}return _0x181bfd;}['flatten'](_0x5584be){for(let _0x1f09a7 of this['text'])_0x5584be['push'](_0x1f09a7);}['scanIdentical'](){return 0x0;}static['split'](_0x1f8c1c,_0x3f1848){let _0x447432=[],_0x2a8c4d=-0x1;for(let _0x3746b4 of _0x1f8c1c)_0x447432['push'](_0x3746b4),_0x2a8c4d+=_0x3746b4['length']+0x1,0x20==_0x447432['length']&&(_0x3f1848['push'](new TextLeaf(_0x447432,_0x2a8c4d)),_0x447432=[],_0x2a8c4d=-0x1);return _0x2a8c4d>-0x1&&_0x3f1848['push'](new TextLeaf(_0x447432,_0x2a8c4d)),_0x3f1848;}}class TextNode extends Text{constructor(_0x2ea16a,_0x17f50d){super(),this['children']=_0x2ea16a,this['length']=_0x17f50d,this['lines']=0x0;for(let _0x5a9c1e of _0x2ea16a)this['lines']+=_0x5a9c1e['lines'];}['lineInner'](_0x2d79d9,_0x54b599,_0x47d62f,_0x975b09){for(let _0x3dfaca=0x0;;_0x3dfaca++){let _0x5377fc=this['children'][_0x3dfaca],_0x1219e8=_0x975b09+_0x5377fc['length'],_0x5c4626=_0x47d62f+_0x5377fc['lines']-0x1;if((_0x54b599?_0x5c4626:_0x1219e8)>=_0x2d79d9)return _0x5377fc['lineInner'](_0x2d79d9,_0x54b599,_0x47d62f,_0x975b09);_0x975b09=_0x1219e8+0x1,_0x47d62f=_0x5c4626+0x1;}}['decompose'](_0xcd4695,_0x4dcf5f,_0x4f10ac,_0x385eee){for(let _0x184943=0x0,_0x66040=0x0;_0x66040<=_0x4dcf5f&&_0x184943<this['children']['length'];_0x184943++){let _0x5e81ee=this['children'][_0x184943],_0x2b3dc6=_0x66040+_0x5e81ee['length'];if(_0xcd4695<=_0x2b3dc6&&_0x4dcf5f>=_0x66040){let _0x51e8f1=_0x385eee&((_0x66040<=_0xcd4695?0x1:0x0)|(_0x2b3dc6>=_0x4dcf5f?0x2:0x0));_0x66040>=_0xcd4695&&_0x2b3dc6<=_0x4dcf5f&&!_0x51e8f1?_0x4f10ac['push'](_0x5e81ee):_0x5e81ee['decompose'](_0xcd4695-_0x66040,_0x4dcf5f-_0x66040,_0x4f10ac,_0x51e8f1);}_0x66040=_0x2b3dc6+0x1;}}['replace'](_0x5d3255,_0x483863,_0x529b72){if([_0x5d3255,_0x483863]=_0x28cc04(this,_0x5d3255,_0x483863),_0x529b72['lines']<this['lines'])for(let _0x2afb=0x0,_0x19184e=0x0;_0x2afb<this['children']['length'];_0x2afb++){let _0x2b8889=this['children'][_0x2afb],_0xf015fd=_0x19184e+_0x2b8889['length'];if(_0x5d3255>=_0x19184e&&_0x483863<=_0xf015fd){let _0xde8a5e=_0x2b8889['replace'](_0x5d3255-_0x19184e,_0x483863-_0x19184e,_0x529b72),_0xba5864=this['lines']-_0x2b8889['lines']+_0xde8a5e['lines'];if(_0xde8a5e['lines']<_0xba5864>>0x4&&_0xde8a5e['lines']>_0xba5864>>0x6){let _0x559bf8=this['children']['slice']();return _0x559bf8[_0x2afb]=_0xde8a5e,new TextNode(_0x559bf8,this['length']-(_0x483863-_0x5d3255)+_0x529b72['length']);}return super['replace'](_0x19184e,_0xf015fd,_0xde8a5e);}_0x19184e=_0xf015fd+0x1;}return super['replace'](_0x5d3255,_0x483863,_0x529b72);}['sliceString'](_0xfe1be1,_0x3a9880=this['length'],_0x59ce4f='\x0a'){[_0xfe1be1,_0x3a9880]=_0x28cc04(this,_0xfe1be1,_0x3a9880);let _0x26616c='';for(let _0x4add51=0x0,_0x423000=0x0;_0x4add51<this['children']['length']&&_0x423000<=_0x3a9880;_0x4add51++){let _0x236840=this['children'][_0x4add51],_0x141157=_0x423000+_0x236840['length'];_0x423000>_0xfe1be1&&_0x4add51&&(_0x26616c+=_0x59ce4f),_0xfe1be1<_0x141157&&_0x3a9880>_0x423000&&(_0x26616c+=_0x236840['sliceString'](_0xfe1be1-_0x423000,_0x3a9880-_0x423000,_0x59ce4f)),_0x423000=_0x141157+0x1;}return _0x26616c;}['flatten'](_0x2b0bec){for(let _0x1ce4e9 of this['children'])_0x1ce4e9['flatten'](_0x2b0bec);}['scanIdentical'](_0x5bbc4d,_0x50f54c){if(!(_0x5bbc4d instanceof TextNode))return 0x0;let _0x537660=0x0,[_0x101542,_0x5b1dca,_0xda9718,_0x4c4b7d]=_0x50f54c>0x0?[0x0,0x0,this['children']['length'],_0x5bbc4d['children']['length']]:[this['children']['length']-0x1,_0x5bbc4d['children']['length']-0x1,-0x1,-0x1];for(;;_0x101542+=_0x50f54c,_0x5b1dca+=_0x50f54c){if(_0x101542==_0xda9718||_0x5b1dca==_0x4c4b7d)return _0x537660;let _0x1e353e=this['children'][_0x101542],_0x50e0c9=_0x5bbc4d['children'][_0x5b1dca];if(_0x1e353e!=_0x50e0c9)return _0x537660+_0x1e353e['scanIdentical'](_0x50e0c9,_0x50f54c);_0x537660+=_0x1e353e['length']+0x1;}}static['from'](_0x9019d1,_0x2a733c=_0x9019d1['reduce']((_0x404675,_0x4a6c04)=>_0x404675+_0x4a6c04['length']+0x1,-0x1)){let _0x14c938=0x0;for(let _0x952a3f of _0x9019d1)_0x14c938+=_0x952a3f['lines'];if(_0x14c938<0x20){let _0x4ae12f=[];for(let _0x4d2c17 of _0x9019d1)_0x4d2c17['flatten'](_0x4ae12f);return new TextLeaf(_0x4ae12f,_0x2a733c);}let _0x42165c=Math['max'](0x20,_0x14c938>>0x5),_0x5ac977=_0x42165c<<0x1,_0x5e16b6=_0x42165c>>0x1,_0x1b6afd=[],_0x9cf23e=0x0,_0x5eff9e=-0x1,_0x3aeb98=[];function _0x5bc3db(_0x122e72){let _0x4ab231;if(_0x122e72['lines']>_0x5ac977&&_0x122e72 instanceof TextNode){for(let _0xa989cc of _0x122e72['children'])_0x5bc3db(_0xa989cc);}else _0x122e72['lines']>_0x5e16b6&&(_0x9cf23e>_0x5e16b6||!_0x9cf23e)?(_0x55b555(),_0x1b6afd['push'](_0x122e72)):_0x122e72 instanceof TextLeaf&&_0x9cf23e&&(_0x4ab231=_0x3aeb98[_0x3aeb98['length']-0x1])instanceof TextLeaf&&_0x122e72['lines']+_0x4ab231['lines']<=0x20?(_0x9cf23e+=_0x122e72['lines'],_0x5eff9e+=_0x122e72['length']+0x1,_0x3aeb98[_0x3aeb98['length']-0x1]=new TextLeaf(_0x4ab231['text']['concat'](_0x122e72['text']),_0x4ab231['length']+0x1+_0x122e72['length'])):(_0x9cf23e+_0x122e72['lines']>_0x42165c&&_0x55b555(),_0x9cf23e+=_0x122e72['lines'],_0x5eff9e+=_0x122e72['length']+0x1,_0x3aeb98['push'](_0x122e72));}function _0x55b555(){0x0!=_0x9cf23e&&(_0x1b6afd['push'](0x1==_0x3aeb98['length']?_0x3aeb98[0x0]:TextNode['from'](_0x3aeb98,_0x5eff9e)),_0x5eff9e=-0x1,_0x9cf23e=_0x3aeb98['length']=0x0);}for(let _0x41f286 of _0x9019d1)_0x5bc3db(_0x41f286);return _0x55b555(),0x1==_0x1b6afd['length']?_0x1b6afd[0x0]:new TextNode(_0x1b6afd,_0x2a733c);}}function _0x5e2edf(_0x4c72d4,_0x22574c,_0x307728=0x0,_0x5d32dd=0x3b9aca00){for(let _0x2aee3c=0x0,_0x3241f2=0x0,_0x454da6=!0x0;_0x3241f2<_0x4c72d4['length']&&_0x2aee3c<=_0x5d32dd;_0x3241f2++){let _0xb45207=_0x4c72d4[_0x3241f2],_0x2f0897=_0x2aee3c+_0xb45207['length'];_0x2f0897>=_0x307728&&(_0x2f0897>_0x5d32dd&&(_0xb45207=_0xb45207['slice'](0x0,_0x5d32dd-_0x2aee3c)),_0x2aee3c<_0x307728&&(_0xb45207=_0xb45207['slice'](_0x307728-_0x2aee3c)),_0x454da6?(_0x22574c[_0x22574c['length']-0x1]+=_0xb45207,_0x454da6=!0x1):_0x22574c['push'](_0xb45207)),_0x2aee3c=_0x2f0897+0x1;}return _0x22574c;}function _0x457189(_0x1fac05,_0x2e2208,_0x3a0427){return _0x5e2edf(_0x1fac05,[''],_0x2e2208,_0x3a0427);}Text['empty']=new TextLeaf([''],0x0);class RawTextCursor{constructor(_0x1b3829,_0x27302a=0x1){this['dir']=_0x27302a,this['done']=!0x1,this['lineBreak']=!0x1,this['value']='',this['nodes']=[_0x1b3829],this['offsets']=[_0x27302a>0x0?0x1:(_0x1b3829 instanceof TextLeaf?_0x1b3829['text']['length']:_0x1b3829['children']['length'])<<0x1];}['nextInner'](_0x27fc70,_0x2b75ae){for(this['done']=this['lineBreak']=!0x1;;){let _0x238607=this['nodes']['length']-0x1,_0x7f63e9=this['nodes'][_0x238607],_0x3b9182=this['offsets'][_0x238607],_0x2e68c8=_0x3b9182>>0x1,_0x2e5117=_0x7f63e9 instanceof TextLeaf?_0x7f63e9['text']['length']:_0x7f63e9['children']['length'];if(_0x2e68c8==(_0x2b75ae>0x0?_0x2e5117:0x0)){if(0x0==_0x238607)return this['done']=!0x0,this['value']='',this;_0x2b75ae>0x0&&this['offsets'][_0x238607-0x1]++,this['nodes']['pop'](),this['offsets']['pop']();}else{if((0x1&_0x3b9182)==(_0x2b75ae>0x0?0x0:0x1)){if(this['offsets'][_0x238607]+=_0x2b75ae,0x0==_0x27fc70)return this['lineBreak']=!0x0,this['value']='\x0a',this;_0x27fc70--;}else{if(_0x7f63e9 instanceof TextLeaf){let _0xe9b292=_0x7f63e9['text'][_0x2e68c8+(_0x2b75ae<0x0?-0x1:0x0)];if(this['offsets'][_0x238607]+=_0x2b75ae,_0xe9b292['length']>Math['max'](0x0,_0x27fc70))return this['value']=0x0==_0x27fc70?_0xe9b292:_0x2b75ae>0x0?_0xe9b292['slice'](_0x27fc70):_0xe9b292['slice'](0x0,_0xe9b292['length']-_0x27fc70),this;_0x27fc70-=_0xe9b292['length'];}else{let _0x5d6301=_0x7f63e9['children'][_0x2e68c8+(_0x2b75ae<0x0?-0x1:0x0)];_0x27fc70>_0x5d6301['length']?(_0x27fc70-=_0x5d6301['length'],this['offsets'][_0x238607]+=_0x2b75ae):(_0x2b75ae<0x0&&this['offsets'][_0x238607]--,this['nodes']['push'](_0x5d6301),this['offsets']['push'](_0x2b75ae>0x0?0x1:(_0x5d6301 instanceof TextLeaf?_0x5d6301['text']['length']:_0x5d6301['children']['length'])<<0x1));}}}}}['next'](_0x213a3e=0x0){return _0x213a3e<0x0&&(this['nextInner'](-_0x213a3e,-this['dir']),_0x213a3e=this['value']['length']),this['nextInner'](_0x213a3e,this['dir']);}}class PartialTextCursor{constructor(_0x3c58ae,_0x2cb74e,_0x5f2ab6){this['value']='',this['done']=!0x1,this['cursor']=new RawTextCursor(_0x3c58ae,_0x2cb74e>_0x5f2ab6?-0x1:0x1),this['pos']=_0x2cb74e>_0x5f2ab6?_0x3c58ae['length']:0x0,this['from']=Math['min'](_0x2cb74e,_0x5f2ab6),this['to']=Math['max'](_0x2cb74e,_0x5f2ab6);}['nextInner'](_0x1e95cf,_0x203c9b){if(_0x203c9b<0x0?this['pos']<=this['from']:this['pos']>=this['to'])return this['value']='',this['done']=!0x0,this;_0x1e95cf+=Math['max'](0x0,_0x203c9b<0x0?this['pos']-this['to']:this['from']-this['pos']);let _0x1f79a5=_0x203c9b<0x0?this['pos']-this['from']:this['to']-this['pos'];_0x1e95cf>_0x1f79a5&&(_0x1e95cf=_0x1f79a5),_0x1f79a5-=_0x1e95cf;let {value:_0x5e5017}=this['cursor']['next'](_0x1e95cf);return this['pos']+=(_0x5e5017['length']+_0x1e95cf)*_0x203c9b,this['value']=_0x5e5017['length']<=_0x1f79a5?_0x5e5017:_0x203c9b<0x0?_0x5e5017['slice'](_0x5e5017['length']-_0x1f79a5):_0x5e5017['slice'](0x0,_0x1f79a5),this['done']=!this['value'],this;}['next'](_0x2efcca=0x0){return _0x2efcca<0x0?_0x2efcca=Math['max'](_0x2efcca,this['from']-this['pos']):_0x2efcca>0x0&&(_0x2efcca=Math['min'](_0x2efcca,this['to']-this['pos'])),this['nextInner'](_0x2efcca,this['cursor']['dir']);}get['lineBreak'](){return this['cursor']['lineBreak']&&''!=this['value'];}}class _0x1e5cc3{constructor(_0x1a8a0a){this['inner']=_0x1a8a0a,this['afterBreak']=!0x0,this['value']='',this['done']=!0x1;}['next'](_0x397404=0x0){let {done:_0x901fc1,lineBreak:_0x507d92,value:_0x1435dd}=this['inner']['next'](_0x397404);return _0x901fc1&&this['afterBreak']?(this['value']='',this['afterBreak']=!0x1):_0x901fc1?(this['done']=!0x0,this['value']=''):_0x507d92?this['afterBreak']?this['value']='':(this['afterBreak']=!0x0,this['next']()):(this['value']=_0x1435dd,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']]=_0x1e5cc3['prototype'][Symbol['iterator']]=function(){return this;});let _0x2215f4=class _0x5d2b81{constructor(_0xa71740,_0x388368,_0x3cfd89,_0x5b91fd){this['from']=_0xa71740,this['to']=_0x388368,this['number']=_0x3cfd89,this['text']=_0x5b91fd;}get['length'](){return this['to']-this['from'];}};function _0x28cc04(_0x212010,_0x24c15f,_0x5a0c6a){return[_0x24c15f=Math['max'](0x0,Math['min'](_0x212010['length'],_0x24c15f)),Math['max'](_0x24c15f,Math['min'](_0x212010['length'],_0x5a0c6a))];}function _0x1570cc(_0x54f254,_0x4994d6,_0x52cc32=!0x0,_0x1ccc39=!0x0){return _0x4b98ab(_0x54f254,_0x4994d6,_0x52cc32,_0x1ccc39);}function _0x511d55(_0x1e032a,_0x278d87){let _0x53e758=_0x1e032a['charCodeAt'](_0x278d87);if(!(_0xeb3ecb=_0x53e758,_0xeb3ecb>=0xd800&&_0xeb3ecb<0xdc00&&_0x278d87+0x1!=_0x1e032a['length']))return _0x53e758;var _0xeb3ecb;let _0x4c5629=_0x1e032a['charCodeAt'](_0x278d87+0x1);return function(_0x281371){return _0x281371>=0xdc00&&_0x281371<0xe000;}(_0x4c5629)?_0x4c5629-0xdc00+(_0x53e758-0xd800<<0xa)+0x10000:_0x53e758;}function _0x4a4bdc(_0x5e62ce){return _0x5e62ce<=0xffff?String['fromCharCode'](_0x5e62ce):(_0x5e62ce-=0x10000,String['fromCharCode'](0xd800+(_0x5e62ce>>0xa),0xdc00+(0x3ff&_0x5e62ce)));}function _0x555919(_0x33127e){return _0x33127e<0x10000?0x1:0x2;}const _0x4b39c2=/\r\n?|\n/;var _0x57c239=function(_0x8140a7){return _0x8140a7[_0x8140a7['Simple']=0x0]='Simple',_0x8140a7[_0x8140a7['TrackDel']=0x1]='TrackDel',_0x8140a7[_0x8140a7['TrackBefore']=0x2]='TrackBefore',_0x8140a7[_0x8140a7['TrackAfter']=0x3]='TrackAfter',_0x8140a7;}(_0x57c239||(_0x57c239={}));class _0x384419{constructor(_0x44fa7d){this['sections']=_0x44fa7d;}get['length'](){let _0x271906=0x0;for(let _0x20ad8d=0x0;_0x20ad8d<this['sections']['length'];_0x20ad8d+=0x2)_0x271906+=this['sections'][_0x20ad8d];return _0x271906;}get['newLength'](){let _0x30aeb8=0x0;for(let _0x3a92ed=0x0;_0x3a92ed<this['sections']['length'];_0x3a92ed+=0x2){let _0xf69eda=this['sections'][_0x3a92ed+0x1];_0x30aeb8+=_0xf69eda<0x0?this['sections'][_0x3a92ed]:_0xf69eda;}return _0x30aeb8;}get['empty'](){return 0x0==this['sections']['length']||0x2==this['sections']['length']&&this['sections'][0x1]<0x0;}['iterGaps'](_0x3c9082){for(let _0x43cfdd=0x0,_0x5bc22c=0x0,_0x4b6d95=0x0;_0x43cfdd<this['sections']['length'];){let _0x15f220=this['sections'][_0x43cfdd++],_0x2661f5=this['sections'][_0x43cfdd++];_0x2661f5<0x0?(_0x3c9082(_0x5bc22c,_0x4b6d95,_0x15f220),_0x4b6d95+=_0x15f220):_0x4b6d95+=_0x2661f5,_0x5bc22c+=_0x15f220;}}['iterChangedRanges'](_0x5bac08,_0x29dddb=!0x1){_0x2af7d4(this,_0x5bac08,_0x29dddb);}get['invertedDesc'](){let _0x200f03=[];for(let _0x2f316a=0x0;_0x2f316a<this['sections']['length'];){let _0x277752=this['sections'][_0x2f316a++],_0x2ef41b=this['sections'][_0x2f316a++];_0x2ef41b<0x0?_0x200f03['push'](_0x277752,_0x2ef41b):_0x200f03['push'](_0x2ef41b,_0x277752);}return new _0x384419(_0x200f03);}['composeDesc'](_0x2db8dd){return this['empty']?_0x2db8dd:_0x2db8dd['empty']?this:_0x4d0ee7(this,_0x2db8dd);}['mapDesc'](_0x1678b5,_0xaaea11=!0x1){return _0x1678b5['empty']?this:_0x1a2184(this,_0x1678b5,_0xaaea11);}['mapPos'](_0x262c93,_0x3333e3=-0x1,_0x3daa8b=_0x57c239['Simple']){let _0x2ae85d=0x0,_0x5407af=0x0;for(let _0x5792d3=0x0;_0x5792d3<this['sections']['length'];){let _0x55110e=this['sections'][_0x5792d3++],_0x5f02a8=this['sections'][_0x5792d3++],_0x587138=_0x2ae85d+_0x55110e;if(_0x5f02a8<0x0){if(_0x587138>_0x262c93)return _0x5407af+(_0x262c93-_0x2ae85d);_0x5407af+=_0x55110e;}else{if(_0x3daa8b!=_0x57c239['Simple']&&_0x587138>=_0x262c93&&(_0x3daa8b==_0x57c239['TrackDel']&&_0x2ae85d<_0x262c93&&_0x587138>_0x262c93||_0x3daa8b==_0x57c239['TrackBefore']&&_0x2ae85d<_0x262c93||_0x3daa8b==_0x57c239['TrackAfter']&&_0x587138>_0x262c93))return null;if(_0x587138>_0x262c93||_0x587138==_0x262c93&&_0x3333e3<0x0&&!_0x55110e)return _0x262c93==_0x2ae85d||_0x3333e3<0x0?_0x5407af:_0x5407af+_0x5f02a8;_0x5407af+=_0x5f02a8;}_0x2ae85d=_0x587138;}if(_0x262c93>_0x2ae85d)throw new RangeError('Position\x20'+_0x262c93+'\x20is\x20out\x20of\x20range\x20for\x20changeset\x20of\x20length\x20'+_0x2ae85d);return _0x5407af;}['touchesRange'](_0x2041b8,_0x49ad3b=_0x2041b8){for(let _0x2158d0=0x0,_0x47d1b9=0x0;_0x2158d0<this['sections']['length']&&_0x47d1b9<=_0x49ad3b;){let _0x364d5f=_0x47d1b9+this['sections'][_0x2158d0++];if(this['sections'][_0x2158d0++]>=0x0&&_0x47d1b9<=_0x49ad3b&&_0x364d5f>=_0x2041b8)return!(_0x47d1b9<_0x2041b8&&_0x364d5f>_0x49ad3b)||'cover';_0x47d1b9=_0x364d5f;}return!0x1;}['toString'](){let _0x305c9d='';for(let _0x3f8238=0x0;_0x3f8238<this['sections']['length'];){let _0x1d6b14=this['sections'][_0x3f8238++],_0x3fd3e9=this['sections'][_0x3f8238++];_0x305c9d+=(_0x305c9d?'\x20':'')+_0x1d6b14+(_0x3fd3e9>=0x0?':'+_0x3fd3e9:'');}return _0x305c9d;}['toJSON'](){return this['sections'];}static['fromJSON'](_0x1b5725){if(!Array['isArray'](_0x1b5725)||_0x1b5725['length']%0x2||_0x1b5725['some'](_0x24e1f5=>'number'!=typeof _0x24e1f5))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeDesc');return new _0x384419(_0x1b5725);}static['create'](_0x13ff5b){return new _0x384419(_0x13ff5b);}}class ChangeSet extends _0x384419{constructor(_0x1123dc,_0x5cdbbe){super(_0x1123dc),this['inserted']=_0x5cdbbe;}['apply'](_0x5cebe4){if(this['length']!=_0x5cebe4['length'])throw new RangeError('Applying\x20change\x20set\x20to\x20a\x20document\x20with\x20the\x20wrong\x20length');return _0x2af7d4(this,(_0x5a2c54,_0x2d8b4d,_0x275250,_0x2c1271,_0x45a138)=>_0x5cebe4=_0x5cebe4['replace'](_0x275250,_0x275250+(_0x2d8b4d-_0x5a2c54),_0x45a138),!0x1),_0x5cebe4;}['mapDesc'](_0x21a37e,_0x436300=!0x1){return _0x1a2184(this,_0x21a37e,_0x436300,!0x0);}['invert'](_0x28a65c){let _0x1e29c8=this['sections']['slice'](),_0x43ede5=[];for(let _0x45e4f0=0x0,_0x57adc2=0x0;_0x45e4f0<_0x1e29c8['length'];_0x45e4f0+=0x2){let _0x1899ad=_0x1e29c8[_0x45e4f0],_0x3de44a=_0x1e29c8[_0x45e4f0+0x1];if(_0x3de44a>=0x0){_0x1e29c8[_0x45e4f0]=_0x3de44a,_0x1e29c8[_0x45e4f0+0x1]=_0x1899ad;let _0xad1fd9=_0x45e4f0>>0x1;for(;_0x43ede5['length']<_0xad1fd9;)_0x43ede5['push'](Text['empty']);_0x43ede5['push'](_0x1899ad?_0x28a65c['slice'](_0x57adc2,_0x57adc2+_0x1899ad):Text['empty']);}_0x57adc2+=_0x1899ad;}return new ChangeSet(_0x1e29c8,_0x43ede5);}['compose'](_0x4484d2){return this['empty']?_0x4484d2:_0x4484d2['empty']?this:_0x4d0ee7(this,_0x4484d2,!0x0);}['map'](_0x19fadd,_0x3414c4=!0x1){return _0x19fadd['empty']?this:_0x1a2184(this,_0x19fadd,_0x3414c4,!0x0);}['iterChanges'](_0x472600,_0x3eba1b=!0x1){_0x2af7d4(this,_0x472600,_0x3eba1b);}get['desc'](){return _0x384419['create'](this['sections']);}['filter'](_0x167c34){let _0x225e79=[],_0x3a455f=[],_0x3e6b22=[],_0x5c1b97=new SectionIter(this);t:for(let _0x2aab7b=0x0,_0x400890=0x0;;){let _0x1b2a37=_0x2aab7b==_0x167c34['length']?0x3b9aca00:_0x167c34[_0x2aab7b++];for(;_0x400890<_0x1b2a37||_0x400890==_0x1b2a37&&0x0==_0x5c1b97['len'];){if(_0x5c1b97['done'])break t;let _0x10797c=Math['min'](_0x5c1b97['len'],_0x1b2a37-_0x400890);_0x41d4f4(_0x3e6b22,_0x10797c,-0x1);let _0x502156=-0x1==_0x5c1b97['ins']?-0x1:0x0==_0x5c1b97['off']?_0x5c1b97['ins']:0x0;_0x41d4f4(_0x225e79,_0x10797c,_0x502156),_0x502156>0x0&&_0x132c9b(_0x3a455f,_0x225e79,_0x5c1b97['text']),_0x5c1b97['forward'](_0x10797c),_0x400890+=_0x10797c;}let _0x21b868=_0x167c34[_0x2aab7b++];for(;_0x400890<_0x21b868;){if(_0x5c1b97['done'])break t;let _0x45a048=Math['min'](_0x5c1b97['len'],_0x21b868-_0x400890);_0x41d4f4(_0x225e79,_0x45a048,-0x1),_0x41d4f4(_0x3e6b22,_0x45a048,-0x1==_0x5c1b97['ins']?-0x1:0x0==_0x5c1b97['off']?_0x5c1b97['ins']:0x0),_0x5c1b97['forward'](_0x45a048),_0x400890+=_0x45a048;}}return{'changes':new ChangeSet(_0x225e79,_0x3a455f),'filtered':_0x384419['create'](_0x3e6b22)};}['toJSON'](){let _0x234ba5=[];for(let _0x346654=0x0;_0x346654<this['sections']['length'];_0x346654+=0x2){let _0x3e1091=this['sections'][_0x346654],_0x1b060e=this['sections'][_0x346654+0x1];_0x1b060e<0x0?_0x234ba5['push'](_0x3e1091):0x0==_0x1b060e?_0x234ba5['push']([_0x3e1091]):_0x234ba5['push']([_0x3e1091]['concat'](this['inserted'][_0x346654>>0x1]['toJSON']()));}return _0x234ba5;}static['of'](_0x514b35,_0x4dda9a,_0x2f3187){let _0x3e8a6c=[],_0x11ca8c=[],_0x474cfa=0x0,_0x5d89a2=null;function _0x4a10e8(_0x2581d0=!0x1){if(!_0x2581d0&&!_0x3e8a6c['length'])return;_0x474cfa<_0x4dda9a&&_0x41d4f4(_0x3e8a6c,_0x4dda9a-_0x474cfa,-0x1);let _0x155999=new ChangeSet(_0x3e8a6c,_0x11ca8c);_0x5d89a2=_0x5d89a2?_0x5d89a2['compose'](_0x155999['map'](_0x5d89a2)):_0x155999,_0x3e8a6c=[],_0x11ca8c=[],_0x474cfa=0x0;}return function _0x512a6a(_0x498f70){if(Array['isArray'](_0x498f70)){for(let _0x480ed8 of _0x498f70)_0x512a6a(_0x480ed8);}else{if(_0x498f70 instanceof ChangeSet){if(_0x498f70['length']!=_0x4dda9a)throw new RangeError('Mismatched\x20change\x20set\x20length\x20(got\x20'+_0x498f70['length']+',\x20expected\x20'+_0x4dda9a+')');_0x4a10e8(),_0x5d89a2=_0x5d89a2?_0x5d89a2['compose'](_0x498f70['map'](_0x5d89a2)):_0x498f70;}else{let {from:_0x551dc5,to:_0x5329c7=_0x551dc5,insert:_0x28a606}=_0x498f70;if(_0x551dc5>_0x5329c7||_0x551dc5<0x0||_0x5329c7>_0x4dda9a)throw new RangeError('Invalid\x20change\x20range\x20'+_0x551dc5+'\x20to\x20'+_0x5329c7+'\x20(in\x20doc\x20of\x20length\x20'+_0x4dda9a+')');let _0x1483e1=_0x28a606?'string'==typeof _0x28a606?Text['of'](_0x28a606['split'](_0x2f3187||_0x4b39c2)):_0x28a606:Text['empty'],_0x3480b1=_0x1483e1['length'];if(_0x551dc5==_0x5329c7&&0x0==_0x3480b1)return;_0x551dc5<_0x474cfa&&_0x4a10e8(),_0x551dc5>_0x474cfa&&_0x41d4f4(_0x3e8a6c,_0x551dc5-_0x474cfa,-0x1),_0x41d4f4(_0x3e8a6c,_0x5329c7-_0x551dc5,_0x3480b1),_0x132c9b(_0x11ca8c,_0x3e8a6c,_0x1483e1),_0x474cfa=_0x5329c7;}}}(_0x514b35),_0x4a10e8(!_0x5d89a2),_0x5d89a2;}static['empty'](_0x52d26f){return new ChangeSet(_0x52d26f?[_0x52d26f,-0x1]:[],[]);}static['fromJSON'](_0x5d172c){if(!Array['isArray'](_0x5d172c))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');let _0x20ab26=[],_0x119d4c=[];for(let _0x18c51b=0x0;_0x18c51b<_0x5d172c['length'];_0x18c51b++){let _0x40735e=_0x5d172c[_0x18c51b];if('number'==typeof _0x40735e)_0x20ab26['push'](_0x40735e,-0x1);else{if(!Array['isArray'](_0x40735e)||'number'!=typeof _0x40735e[0x0]||_0x40735e['some']((_0x22cb40,_0x48ec84)=>_0x48ec84&&'string'!=typeof _0x22cb40))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');if(0x1==_0x40735e['length'])_0x20ab26['push'](_0x40735e[0x0],0x0);else{for(;_0x119d4c['length']<_0x18c51b;)_0x119d4c['push'](Text['empty']);_0x119d4c[_0x18c51b]=Text['of'](_0x40735e['slice'](0x1)),_0x20ab26['push'](_0x40735e[0x0],_0x119d4c[_0x18c51b]['length']);}}}return new ChangeSet(_0x20ab26,_0x119d4c);}static['createSet'](_0x9e0624,_0x220b12){return new ChangeSet(_0x9e0624,_0x220b12);}}function _0x41d4f4(_0x4939e7,_0x18f563,_0x2b1c13,_0x4059f3=!0x1){if(0x0==_0x18f563&&_0x2b1c13<=0x0)return;let _0x14b39c=_0x4939e7['length']-0x2;_0x14b39c>=0x0&&_0x2b1c13<=0x0&&_0x2b1c13==_0x4939e7[_0x14b39c+0x1]?_0x4939e7[_0x14b39c]+=_0x18f563:_0x14b39c>=0x0&&0x0==_0x18f563&&0x0==_0x4939e7[_0x14b39c]?_0x4939e7[_0x14b39c+0x1]+=_0x2b1c13:_0x4059f3?(_0x4939e7[_0x14b39c]+=_0x18f563,_0x4939e7[_0x14b39c+0x1]+=_0x2b1c13):_0x4939e7['push'](_0x18f563,_0x2b1c13);}function _0x132c9b(_0x268cba,_0x296aee,_0xbdd8fe){if(0x0==_0xbdd8fe['length'])return;let _0x5f32e7=_0x296aee['length']-0x2>>0x1;if(_0x5f32e7<_0x268cba['length'])_0x268cba[_0x268cba['length']-0x1]=_0x268cba[_0x268cba['length']-0x1]['append'](_0xbdd8fe);else{for(;_0x268cba['length']<_0x5f32e7;)_0x268cba['push'](Text['empty']);_0x268cba['push'](_0xbdd8fe);}}function _0x2af7d4(_0x2d371b,_0x4cbc59,_0x3142dd){let _0x1a50b9=_0x2d371b['inserted'];for(let _0x4ba76c=0x0,_0x1b34cf=0x0,_0x290e7d=0x0;_0x290e7d<_0x2d371b['sections']['length'];){let _0x2bd79b=_0x2d371b['sections'][_0x290e7d++],_0x3693fd=_0x2d371b['sections'][_0x290e7d++];if(_0x3693fd<0x0)_0x4ba76c+=_0x2bd79b,_0x1b34cf+=_0x2bd79b;else{let _0x522f5b=_0x4ba76c,_0x2ff55f=_0x1b34cf,_0x3e125d=Text['empty'];for(;_0x522f5b+=_0x2bd79b,_0x2ff55f+=_0x3693fd,_0x3693fd&&_0x1a50b9&&(_0x3e125d=_0x3e125d['append'](_0x1a50b9[_0x290e7d-0x2>>0x1])),!(_0x3142dd||_0x290e7d==_0x2d371b['sections']['length']||_0x2d371b['sections'][_0x290e7d+0x1]<0x0);)_0x2bd79b=_0x2d371b['sections'][_0x290e7d++],_0x3693fd=_0x2d371b['sections'][_0x290e7d++];_0x4cbc59(_0x4ba76c,_0x522f5b,_0x1b34cf,_0x2ff55f,_0x3e125d),_0x4ba76c=_0x522f5b,_0x1b34cf=_0x2ff55f;}}}function _0x1a2184(_0x1603d9,_0x482218,_0x415add,_0x3b2775=!0x1){let _0x351bfc=[],_0x2b0500=_0x3b2775?[]:null,_0x3e1b25=new SectionIter(_0x1603d9),_0x47e0ef=new SectionIter(_0x482218);for(let _0x3a2542=-0x1;;){if(_0x3e1b25['done']&&_0x47e0ef['len']||_0x47e0ef['done']&&_0x3e1b25['len'])throw new Error('Mismatched\x20change\x20set\x20lengths');if(-0x1==_0x3e1b25['ins']&&-0x1==_0x47e0ef['ins']){let _0x2fbce5=Math['min'](_0x3e1b25['len'],_0x47e0ef['len']);_0x41d4f4(_0x351bfc,_0x2fbce5,-0x1),_0x3e1b25['forward'](_0x2fbce5),_0x47e0ef['forward'](_0x2fbce5);}else{if(_0x47e0ef['ins']>=0x0&&(_0x3e1b25['ins']<0x0||_0x3a2542==_0x3e1b25['i']||0x0==_0x3e1b25['off']&&(_0x47e0ef['len']<_0x3e1b25['len']||_0x47e0ef['len']==_0x3e1b25['len']&&!_0x415add))){let _0x4dd01f=_0x47e0ef['len'];for(_0x41d4f4(_0x351bfc,_0x47e0ef['ins'],-0x1);_0x4dd01f;){let _0x5aa46c=Math['min'](_0x3e1b25['len'],_0x4dd01f);_0x3e1b25['ins']>=0x0&&_0x3a2542<_0x3e1b25['i']&&_0x3e1b25['len']<=_0x5aa46c&&(_0x41d4f4(_0x351bfc,0x0,_0x3e1b25['ins']),_0x2b0500&&_0x132c9b(_0x2b0500,_0x351bfc,_0x3e1b25['text']),_0x3a2542=_0x3e1b25['i']),_0x3e1b25['forward'](_0x5aa46c),_0x4dd01f-=_0x5aa46c;}_0x47e0ef['next']();}else{if(!(_0x3e1b25['ins']>=0x0)){if(_0x3e1b25['done']&&_0x47e0ef['done'])return _0x2b0500?ChangeSet['createSet'](_0x351bfc,_0x2b0500):_0x384419['create'](_0x351bfc);throw new Error('Mismatched\x20change\x20set\x20lengths');}{let _0x4ea6e3=0x0,_0x26831e=_0x3e1b25['len'];for(;_0x26831e;)if(-0x1==_0x47e0ef['ins']){let _0x335741=Math['min'](_0x26831e,_0x47e0ef['len']);_0x4ea6e3+=_0x335741,_0x26831e-=_0x335741,_0x47e0ef['forward'](_0x335741);}else{if(!(0x0==_0x47e0ef['ins']&&_0x47e0ef['len']<_0x26831e))break;_0x26831e-=_0x47e0ef['len'],_0x47e0ef['next']();}_0x41d4f4(_0x351bfc,_0x4ea6e3,_0x3a2542<_0x3e1b25['i']?_0x3e1b25['ins']:0x0),_0x2b0500&&_0x3a2542<_0x3e1b25['i']&&_0x132c9b(_0x2b0500,_0x351bfc,_0x3e1b25['text']),_0x3a2542=_0x3e1b25['i'],_0x3e1b25['forward'](_0x3e1b25['len']-_0x26831e);}}}}}function _0x4d0ee7(_0x4b0b0d,_0x3037c3,_0xa761ef=!0x1){let _0x3eb687=[],_0x5bbb60=_0xa761ef?[]:null,_0xf248c5=new SectionIter(_0x4b0b0d),_0x1892f5=new SectionIter(_0x3037c3);for(let _0x1b70b3=!0x1;;){if(_0xf248c5['done']&&_0x1892f5['done'])return _0x5bbb60?ChangeSet['createSet'](_0x3eb687,_0x5bbb60):_0x384419['create'](_0x3eb687);if(0x0==_0xf248c5['ins'])_0x41d4f4(_0x3eb687,_0xf248c5['len'],0x0,_0x1b70b3),_0xf248c5['next']();else{if(0x0!=_0x1892f5['len']||_0x1892f5['done']){if(_0xf248c5['done']||_0x1892f5['done'])throw new Error('Mismatched\x20change\x20set\x20lengths');{let _0x1e81e2=Math['min'](_0xf248c5['len2'],_0x1892f5['len']),_0x5abbd2=_0x3eb687['length'];if(-0x1==_0xf248c5['ins']){let _0x31c674=-0x1==_0x1892f5['ins']?-0x1:_0x1892f5['off']?0x0:_0x1892f5['ins'];_0x41d4f4(_0x3eb687,_0x1e81e2,_0x31c674,_0x1b70b3),_0x5bbb60&&_0x31c674&&_0x132c9b(_0x5bbb60,_0x3eb687,_0x1892f5['text']);}else-0x1==_0x1892f5['ins']?(_0x41d4f4(_0x3eb687,_0xf248c5['off']?0x0:_0xf248c5['len'],_0x1e81e2,_0x1b70b3),_0x5bbb60&&_0x132c9b(_0x5bbb60,_0x3eb687,_0xf248c5['textBit'](_0x1e81e2))):(_0x41d4f4(_0x3eb687,_0xf248c5['off']?0x0:_0xf248c5['len'],_0x1892f5['off']?0x0:_0x1892f5['ins'],_0x1b70b3),_0x5bbb60&&!_0x1892f5['off']&&_0x132c9b(_0x5bbb60,_0x3eb687,_0x1892f5['text']));_0x1b70b3=(_0xf248c5['ins']>_0x1e81e2||_0x1892f5['ins']>=0x0&&_0x1892f5['len']>_0x1e81e2)&&(_0x1b70b3||_0x3eb687['length']>_0x5abbd2),_0xf248c5['forward2'](_0x1e81e2),_0x1892f5['forward'](_0x1e81e2);}}else _0x41d4f4(_0x3eb687,0x0,_0x1892f5['ins'],_0x1b70b3),_0x5bbb60&&_0x132c9b(_0x5bbb60,_0x3eb687,_0x1892f5['text']),_0x1892f5['next']();}}}class SectionIter{constructor(_0x190072){this['set']=_0x190072,this['i']=0x0,this['next']();}['next'](){let {sections:_0x3afbb5}=this['set'];this['i']<_0x3afbb5['length']?(this['len']=_0x3afbb5[this['i']++],this['ins']=_0x3afbb5[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:_0x2516d4}=this['set'],_0xf97f42=this['i']-0x2>>0x1;return _0xf97f42>=_0x2516d4['length']?Text['empty']:_0x2516d4[_0xf97f42];}['textBit'](_0x1b6864){let {inserted:_0x3d2f59}=this['set'],_0x19b2a0=this['i']-0x2>>0x1;return _0x19b2a0>=_0x3d2f59['length']&&!_0x1b6864?Text['empty']:_0x3d2f59[_0x19b2a0]['slice'](this['off'],null==_0x1b6864?void 0x0:this['off']+_0x1b6864);}['forward'](_0x5cf2ec){_0x5cf2ec==this['len']?this['next']():(this['len']-=_0x5cf2ec,this['off']+=_0x5cf2ec);}['forward2'](_0xcc8a2a){-0x1==this['ins']?this['forward'](_0xcc8a2a):_0xcc8a2a==this['ins']?this['next']():(this['ins']-=_0xcc8a2a,this['off']+=_0xcc8a2a);}}class SelectionRange{constructor(_0x381ac5,_0x5ea534,_0xb745aa){this['from']=_0x381ac5,this['to']=_0x5ea534,this['flags']=_0xb745aa;}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 _0x3a556a=0x7&this['flags'];return 0x7==_0x3a556a?null:_0x3a556a;}get['goalColumn'](){let _0xe6667e=this['flags']>>0x6;return 0xffffff==_0xe6667e?void 0x0:_0xe6667e;}['map'](_0x1be358,_0x21d80c=-0x1){let _0x7ea264,_0x198421;return this['empty']?_0x7ea264=_0x198421=_0x1be358['mapPos'](this['from'],_0x21d80c):(_0x7ea264=_0x1be358['mapPos'](this['from'],0x1),_0x198421=_0x1be358['mapPos'](this['to'],-0x1)),_0x7ea264==this['from']&&_0x198421==this['to']?this:new SelectionRange(_0x7ea264,_0x198421,this['flags']);}['extend'](_0x1d190d,_0x501079=_0x1d190d){if(_0x1d190d<=this['anchor']&&_0x501079>=this['anchor'])return EditorSelection['range'](_0x1d190d,_0x501079);let _0x4f89f7=Math['abs'](_0x1d190d-this['anchor'])>Math['abs'](_0x501079-this['anchor'])?_0x1d190d:_0x501079;return EditorSelection['range'](this['anchor'],_0x4f89f7);}['eq'](_0x99ccc5,_0x1d9c62=!0x1){return!(this['anchor']!=_0x99ccc5['anchor']||this['head']!=_0x99ccc5['head']||_0x1d9c62&&this['empty']&&this['assoc']!=_0x99ccc5['assoc']);}['toJSON'](){return{'anchor':this['anchor'],'head':this['head']};}static['fromJSON'](_0x4fddf7){if(!_0x4fddf7||'number'!=typeof _0x4fddf7['anchor']||'number'!=typeof _0x4fddf7['head'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20SelectionRange');return EditorSelection['range'](_0x4fddf7['anchor'],_0x4fddf7['head']);}static['create'](_0x3cb6b7,_0x51fa70,_0x1d41c9){return new SelectionRange(_0x3cb6b7,_0x51fa70,_0x1d41c9);}}class EditorSelection{constructor(_0x56f8c3,_0x2f060e){this['ranges']=_0x56f8c3,this['mainIndex']=_0x2f060e;}['map'](_0x3dfc55,_0x19be17=-0x1){return _0x3dfc55['empty']?this:EditorSelection['create'](this['ranges']['map'](_0x565fa4=>_0x565fa4['map'](_0x3dfc55,_0x19be17)),this['mainIndex']);}['eq'](_0x175c4d,_0x58d78a=!0x1){if(this['ranges']['length']!=_0x175c4d['ranges']['length']||this['mainIndex']!=_0x175c4d['mainIndex'])return!0x1;for(let _0xed039c=0x0;_0xed039c<this['ranges']['length'];_0xed039c++)if(!this['ranges'][_0xed039c]['eq'](_0x175c4d['ranges'][_0xed039c],_0x58d78a))return!0x1;return!0x0;}get['main'](){return this['ranges'][this['mainIndex']];}['asSingle'](){return 0x1==this['ranges']['length']?this:new EditorSelection([this['main']],0x0);}['addRange'](_0x19c438,_0x478bae=!0x0){return EditorSelection['create']([_0x19c438]['concat'](this['ranges']),_0x478bae?0x0:this['mainIndex']+0x1);}['replaceRange'](_0x757e48,_0x19773a=this['mainIndex']){let _0x60b2ee=this['ranges']['slice']();return _0x60b2ee[_0x19773a]=_0x757e48,EditorSelection['create'](_0x60b2ee,this['mainIndex']);}['toJSON'](){return{'ranges':this['ranges']['map'](_0x470970=>_0x470970['toJSON']()),'main':this['mainIndex']};}static['fromJSON'](_0x105c99){if(!_0x105c99||!Array['isArray'](_0x105c99['ranges'])||'number'!=typeof _0x105c99['main']||_0x105c99['main']>=_0x105c99['ranges']['length'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorSelection');return new EditorSelection(_0x105c99['ranges']['map'](_0x48bc78=>SelectionRange['fromJSON'](_0x48bc78)),_0x105c99['main']);}static['single'](_0x3e1c49,_0x582bf4=_0x3e1c49){return new EditorSelection([EditorSelection['range'](_0x3e1c49,_0x582bf4)],0x0);}static['create'](_0x10927c,_0x573570=0x0){if(0x0==_0x10927c['length'])throw new RangeError('A\x20selection\x20needs\x20at\x20least\x20one\x20range');for(let _0x5637f1=0x0,_0x4ec20d=0x0;_0x4ec20d<_0x10927c['length'];_0x4ec20d++){let _0x4238f2=_0x10927c[_0x4ec20d];if(_0x4238f2['empty']?_0x4238f2['from']<=_0x5637f1:_0x4238f2['from']<_0x5637f1)return EditorSelection['normalized'](_0x10927c['slice'](),_0x573570);_0x5637f1=_0x4238f2['to'];}return new EditorSelection(_0x10927c,_0x573570);}static['cursor'](_0x18d28e,_0x33620f=0x0,_0x4a8326,_0x4712a6){return SelectionRange['create'](_0x18d28e,_0x18d28e,(0x0==_0x33620f?0x0:_0x33620f<0x0?0x8:0x10)|(null==_0x4a8326?0x7:Math['min'](0x6,_0x4a8326))|(null!=_0x4712a6?_0x4712a6:0xffffff)<<0x6);}static['range'](_0x292bd2,_0xa7a556,_0x45de3c,_0x1b2296){let _0x576a9a=(null!=_0x45de3c?_0x45de3c:0xffffff)<<0x6|(null==_0x1b2296?0x7:Math['min'](0x6,_0x1b2296));return _0xa7a556<_0x292bd2?SelectionRange['create'](_0xa7a556,_0x292bd2,0x30|_0x576a9a):SelectionRange['create'](_0x292bd2,_0xa7a556,(_0xa7a556>_0x292bd2?0x8:0x0)|_0x576a9a);}static['normalized'](_0x561074,_0x3c3ba5=0x0){let _0x574fb2=_0x561074[_0x3c3ba5];_0x561074['sort']((_0x20b654,_0x11d2a9)=>_0x20b654['from']-_0x11d2a9['from']),_0x3c3ba5=_0x561074['indexOf'](_0x574fb2);for(let _0x259d6b=0x1;_0x259d6b<_0x561074['length'];_0x259d6b++){let _0x436974=_0x561074[_0x259d6b],_0x5d6932=_0x561074[_0x259d6b-0x1];if(_0x436974['empty']?_0x436974['from']<=_0x5d6932['to']:_0x436974['from']<_0x5d6932['to']){let _0xedd7c8=_0x5d6932['from'],_0x3cab61=Math['max'](_0x436974['to'],_0x5d6932['to']);_0x259d6b<=_0x3c3ba5&&_0x3c3ba5--,_0x561074['splice'](--_0x259d6b,0x2,_0x436974['anchor']>_0x436974['head']?EditorSelection['range'](_0x3cab61,_0xedd7c8):EditorSelection['range'](_0xedd7c8,_0x3cab61));}}return new EditorSelection(_0x561074,_0x3c3ba5);}}function _0x1bcccb(_0xd632bf,_0x1ad0b4){for(let _0x43e573 of _0xd632bf['ranges'])if(_0x43e573['to']>_0x1ad0b4)throw new RangeError('Selection\x20points\x20outside\x20of\x20document');}let _0x157579=0x0;class Facet{constructor(_0x54ceab,_0x2de7d0,_0x1815be,_0x3230de,_0x4bb942){this['combine']=_0x54ceab,this['compareInput']=_0x2de7d0,this['compare']=_0x1815be,this['isStatic']=_0x3230de,this['id']=_0x157579++,this['default']=_0x54ceab([]),this['extensions']='function'==typeof _0x4bb942?_0x4bb942(this):_0x4bb942;}get['reader'](){return this;}static['define'](_0x7429bb={}){return new Facet(_0x7429bb['combine']||(_0x457e6a=>_0x457e6a),_0x7429bb['compareInput']||((_0x14ea43,_0x3b98bc)=>_0x14ea43===_0x3b98bc),_0x7429bb['compare']||(_0x7429bb['combine']?(_0x1ce95e,_0xf1a172)=>_0x1ce95e===_0xf1a172:_0x215a3d),!!_0x7429bb['static'],_0x7429bb['enables']);}['of'](_0x895fbb){return new FacetProvider([],this,0x0,_0x895fbb);}['compute'](_0x34c558,_0x382a11){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x34c558,this,0x1,_0x382a11);}['computeN'](_0x189cdb,_0x411cd1){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new FacetProvider(_0x189cdb,this,0x2,_0x411cd1);}['from'](_0x22c429,_0x3f6cef){return _0x3f6cef||(_0x3f6cef=_0xd454d3=>_0xd454d3),this['compute']([_0x22c429],_0x222cd9=>_0x3f6cef(_0x222cd9['field'](_0x22c429)));}}function _0x215a3d(_0x1c64cb,_0x3ff070){return _0x1c64cb==_0x3ff070||_0x1c64cb['length']==_0x3ff070['length']&&_0x1c64cb['every']((_0x2d195c,_0x1da703)=>_0x2d195c===_0x3ff070[_0x1da703]);}class FacetProvider{constructor(_0x13efbc,_0xc02d19,_0x2dd19d,_0x45a6d3){this['dependencies']=_0x13efbc,this['facet']=_0xc02d19,this['type']=_0x2dd19d,this['value']=_0x45a6d3,this['id']=_0x157579++;}['dynamicSlot'](_0x4d9217){var _0x484a77;let _0x23fd7e=this['value'],_0x44fe9f=this['facet']['compareInput'],_0x4704e1=this['id'],_0x43c8ae=_0x4d9217[_0x4704e1]>>0x1,_0x25eae5=0x2==this['type'],_0x365b49=!0x1,_0x500fb2=!0x1,_0x2fd455=[];for(let _0x4ce4f8 of this['dependencies'])'doc'==_0x4ce4f8?_0x365b49=!0x0:'selection'==_0x4ce4f8?_0x500fb2=!0x0:0x1&(null!==(_0x484a77=_0x4d9217[_0x4ce4f8['id']])&&void 0x0!==_0x484a77?_0x484a77:0x1)||_0x2fd455['push'](_0x4d9217[_0x4ce4f8['id']]);return{'create':_0x3c83ca=>(_0x3c83ca['values'][_0x43c8ae]=_0x23fd7e(_0x3c83ca),0x1),'update'(_0x7a6f6c,_0x3a4b29){if(_0x365b49&&_0x3a4b29['docChanged']||_0x500fb2&&(_0x3a4b29['docChanged']||_0x3a4b29['selection'])||_0x15e4b9(_0x7a6f6c,_0x2fd455)){let _0x26c7fc=_0x23fd7e(_0x7a6f6c);if(_0x25eae5?!_0x466bbe(_0x26c7fc,_0x7a6f6c['values'][_0x43c8ae],_0x44fe9f):!_0x44fe9f(_0x26c7fc,_0x7a6f6c['values'][_0x43c8ae]))return _0x7a6f6c['values'][_0x43c8ae]=_0x26c7fc,0x1;}return 0x0;},'reconfigure':(_0x446089,_0x573326)=>{let _0x357de6,_0x460f75=_0x573326['config']['address'][_0x4704e1];if(null!=_0x460f75){let _0x13146d=_0x4127e1(_0x573326,_0x460f75);if(this['dependencies']['every'](_0x47b996=>_0x47b996 instanceof Facet?_0x573326['facet'](_0x47b996)===_0x446089['facet'](_0x47b996):!(_0x47b996 instanceof StateField)||_0x573326['field'](_0x47b996,!0x1)==_0x446089['field'](_0x47b996,!0x1))||(_0x25eae5?_0x466bbe(_0x357de6=_0x23fd7e(_0x446089),_0x13146d,_0x44fe9f):_0x44fe9f(_0x357de6=_0x23fd7e(_0x446089),_0x13146d)))return _0x446089['values'][_0x43c8ae]=_0x13146d,0x0;}else _0x357de6=_0x23fd7e(_0x446089);return _0x446089['values'][_0x43c8ae]=_0x357de6,0x1;}};}}function _0x466bbe(_0x1f53ba,_0x251661,_0x59a9af){if(_0x1f53ba['length']!=_0x251661['length'])return!0x1;for(let _0x1eee65=0x0;_0x1eee65<_0x1f53ba['length'];_0x1eee65++)if(!_0x59a9af(_0x1f53ba[_0x1eee65],_0x251661[_0x1eee65]))return!0x1;return!0x0;}function _0x15e4b9(_0x17070f,_0x527802){let _0x37260a=!0x1;for(let _0x31e23c of _0x527802)0x1&_0x280c73(_0x17070f,_0x31e23c)&&(_0x37260a=!0x0);return _0x37260a;}function tg(_0x514b0d,_0x3ede60,_0x293e46){let _0x47e3cf=_0x293e46['map'](_0x21faa6=>_0x514b0d[_0x21faa6['id']]),_0x3f9504=_0x293e46['map'](_0x3980f4=>_0x3980f4['type']),_0x7e2ac3=_0x47e3cf['filter'](_0x29c5f4=>!(0x1&_0x29c5f4)),_0x16e5c5=_0x514b0d[_0x3ede60['id']]>>0x1;function _0x31d8e0(_0xba7a23){let _0x40e889=[];for(let _0x37fbac=0x0;_0x37fbac<_0x47e3cf['length'];_0x37fbac++){let _0x204241=_0x4127e1(_0xba7a23,_0x47e3cf[_0x37fbac]);if(0x2==_0x3f9504[_0x37fbac]){for(let _0x322f51 of _0x204241)_0x40e889['push'](_0x322f51);}else _0x40e889['push'](_0x204241);}return _0x3ede60['combine'](_0x40e889);}return{'create'(_0x12db03){for(let _0x141ed8 of _0x47e3cf)_0x280c73(_0x12db03,_0x141ed8);return _0x12db03['values'][_0x16e5c5]=_0x31d8e0(_0x12db03),0x1;},'update'(_0x222d6d,_0x38eb24){if(!_0x15e4b9(_0x222d6d,_0x7e2ac3))return 0x0;let _0x3ce994=_0x31d8e0(_0x222d6d);return _0x3ede60['compare'](_0x3ce994,_0x222d6d['values'][_0x16e5c5])?0x0:(_0x222d6d['values'][_0x16e5c5]=_0x3ce994,0x1);},'reconfigure'(_0x60de69,_0x4b99ff){let _0x1e2dd8=_0x15e4b9(_0x60de69,_0x47e3cf),_0x192825=_0x4b99ff['config']['facets'][_0x3ede60['id']],_0x1b4280=_0x4b99ff['facet'](_0x3ede60);if(_0x192825&&!_0x1e2dd8&&_0x215a3d(_0x293e46,_0x192825))return _0x60de69['values'][_0x16e5c5]=_0x1b4280,0x0;let _0x4c6456=_0x31d8e0(_0x60de69);return _0x3ede60['compare'](_0x4c6456,_0x1b4280)?(_0x60de69['values'][_0x16e5c5]=_0x1b4280,0x0):(_0x60de69['values'][_0x16e5c5]=_0x4c6456,0x1);}};}const _0x2633d7=Facet['define']({'static':!0x0});class StateField{constructor(_0x4c32c7,_0x63986f,_0x330568,_0x4a8bed,_0x53378d){this['id']=_0x4c32c7,this['createF']=_0x63986f,this['updateF']=_0x330568,this['compareF']=_0x4a8bed,this['spec']=_0x53378d,this['provides']=void 0x0;}static['define'](_0x3a5abb){let _0x187bf0=new StateField(_0x157579++,_0x3a5abb['create'],_0x3a5abb['update'],_0x3a5abb['compare']||((_0x42e162,_0x3708f8)=>_0x42e162===_0x3708f8),_0x3a5abb);return _0x3a5abb['provide']&&(_0x187bf0['provides']=_0x3a5abb['provide'](_0x187bf0)),_0x187bf0;}['create'](_0x2e8d2a){let _0x5cb80d=_0x2e8d2a['facet'](_0x2633d7)['find'](_0x52f010=>_0x52f010['field']==this);return((null==_0x5cb80d?void 0x0:_0x5cb80d['create'])||this['createF'])(_0x2e8d2a);}['slot'](_0x38ca95){let _0x3ac5cc=_0x38ca95[this['id']]>>0x1;return{'create':_0x2653f1=>(_0x2653f1['values'][_0x3ac5cc]=this['create'](_0x2653f1),0x1),'update':(_0x54b923,_0x52d877)=>{let _0x2af3ee=_0x54b923['values'][_0x3ac5cc],_0x2f7d1d=this['updateF'](_0x2af3ee,_0x52d877);return this['compareF'](_0x2af3ee,_0x2f7d1d)?0x0:(_0x54b923['values'][_0x3ac5cc]=_0x2f7d1d,0x1);},'reconfigure':(_0x1426b0,_0xffc532)=>{let _0x1f2c95,_0x14de58=_0x1426b0['facet'](_0x2633d7),_0x2f45f0=_0xffc532['facet'](_0x2633d7);return(_0x1f2c95=_0x14de58['find'](_0x35156a=>_0x35156a['field']==this))&&_0x1f2c95!=_0x2f45f0['find'](_0x3fdc04=>_0x3fdc04['field']==this)?(_0x1426b0['values'][_0x3ac5cc]=_0x1f2c95['create'](_0x1426b0),0x1):null!=_0xffc532['config']['address'][this['id']]?(_0x1426b0['values'][_0x3ac5cc]=_0xffc532['field'](this),0x0):(_0x1426b0['values'][_0x3ac5cc]=this['create'](_0x1426b0),0x1);}};}['init'](_0x249fc3){return[this,_0x2633d7['of']({'field':this,'create':_0x249fc3})];}get['extension'](){return this;}}const _0x19a486=0x4,_0x5a027f=0x3,_0x1b4467=0x2,_0x472019=0x1;function _0x29aa64(_0x285ce4){return _0x35f7aa=>new PrecExtension(_0x35f7aa,_0x285ce4);}const _0x4b04a1={'highest':_0x29aa64(0x0),'high':_0x29aa64(_0x472019),'default':_0x29aa64(_0x1b4467),'low':_0x29aa64(_0x5a027f),'lowest':_0x29aa64(_0x19a486)};class PrecExtension{constructor(_0x3ae987,_0x5cb648){this['inner']=_0x3ae987,this['prec']=_0x5cb648;}}class Compartment{['of'](_0x1b4e3a){return new CompartmentInstance(this,_0x1b4e3a);}['reconfigure'](_0x25e79a){return Compartment['reconfigure']['of']({'compartment':this,'extension':_0x25e79a});}['get'](_0x11b672){return _0x11b672['config']['compartments']['get'](this);}}class CompartmentInstance{constructor(_0x5d1211,_0x5a7e34){this['compartment']=_0x5d1211,this['inner']=_0x5a7e34;}}class Configuration{constructor(_0x51a4e8,_0x33d65d,_0x47679d,_0x4775b9,_0x28287f,_0x32311b){for(this['base']=_0x51a4e8,this['compartments']=_0x33d65d,this['dynamicSlots']=_0x47679d,this['address']=_0x4775b9,this['staticValues']=_0x28287f,this['facets']=_0x32311b,this['statusTemplate']=[];this['statusTemplate']['length']<_0x47679d['length'];)this['statusTemplate']['push'](0x0);}['staticFacet'](_0x13fcbd){let _0x59a733=this['address'][_0x13fcbd['id']];return null==_0x59a733?_0x13fcbd['default']:this['staticValues'][_0x59a733>>0x1];}static['resolve'](_0x3f1fa2,_0xb14b9e,_0x1c1103){let _0x56f40c=[],_0x3140c0=Object['create'](null),_0x184649=new Map();for(let _0xa6c26b of function(_0x3bea25,_0x1971f1,_0x294701){let _0x594145=[[],[],[],[],[]],_0x3f8571=new Map();function _0x3d735c(_0x5c374f,_0x1ef20f){let _0x1da361=_0x3f8571['get'](_0x5c374f);if(null!=_0x1da361){if(_0x1da361<=_0x1ef20f)return;let _0x5eb6ec=_0x594145[_0x1da361]['indexOf'](_0x5c374f);_0x5eb6ec>-0x1&&_0x594145[_0x1da361]['splice'](_0x5eb6ec,0x1),_0x5c374f instanceof CompartmentInstance&&_0x294701['delete'](_0x5c374f['compartment']);}if(_0x3f8571['set'](_0x5c374f,_0x1ef20f),Array['isArray'](_0x5c374f)){for(let _0x2587ab of _0x5c374f)_0x3d735c(_0x2587ab,_0x1ef20f);}else{if(_0x5c374f instanceof CompartmentInstance){if(_0x294701['has'](_0x5c374f['compartment']))throw new RangeError('Duplicate\x20use\x20of\x20compartment\x20in\x20extensions');let _0xaec3cc=_0x1971f1['get'](_0x5c374f['compartment'])||_0x5c374f['inner'];_0x294701['set'](_0x5c374f['compartment'],_0xaec3cc),_0x3d735c(_0xaec3cc,_0x1ef20f);}else{if(_0x5c374f instanceof PrecExtension)_0x3d735c(_0x5c374f['inner'],_0x5c374f['prec']);else{if(_0x5c374f instanceof StateField)_0x594145[_0x1ef20f]['push'](_0x5c374f),_0x5c374f['provides']&&_0x3d735c(_0x5c374f['provides'],_0x1ef20f);else{if(_0x5c374f instanceof FacetProvider)_0x594145[_0x1ef20f]['push'](_0x5c374f),_0x5c374f['facet']['extensions']&&_0x3d735c(_0x5c374f['facet']['extensions'],_0x1b4467);else{let _0x2a8f95=_0x5c374f['extension'];if(!_0x2a8f95)throw new Error('Unrecognized\x20extension\x20value\x20in\x20extension\x20set\x20('+_0x5c374f+').\x20This\x20sometimes\x20happens\x20because\x20multiple\x20instances\x20of\x20@codemirror/state\x20are\x20loaded,\x20breaking\x20instanceof\x20checks.');_0x3d735c(_0x2a8f95,_0x1ef20f);}}}}}}return _0x3d735c(_0x3bea25,_0x1b4467),_0x594145['reduce']((_0x7fdaea,_0x19719f)=>_0x7fdaea['concat'](_0x19719f));}(_0x3f1fa2,_0xb14b9e,_0x184649))_0xa6c26b instanceof StateField?_0x56f40c['push'](_0xa6c26b):(_0x3140c0[_0xa6c26b['facet']['id']]||(_0x3140c0[_0xa6c26b['facet']['id']]=[]))['push'](_0xa6c26b);let _0x1b7ae7=Object['create'](null),_0x418010=[],_0x383c42=[];for(let _0xaadb7a of _0x56f40c)_0x1b7ae7[_0xaadb7a['id']]=_0x383c42['length']<<0x1,_0x383c42['push'](_0x261fb4=>_0xaadb7a['slot'](_0x261fb4));let _0x227e6d=null==_0x1c1103?void 0x0:_0x1c1103['config']['facets'];for(let _0x170ab3 in _0x3140c0){let _0x5e6c03=_0x3140c0[_0x170ab3],_0x2b9dd5=_0x5e6c03[0x0]['facet'],_0x3da3ba=_0x227e6d&&_0x227e6d[_0x170ab3]||[];if(_0x5e6c03['every'](_0x207745=>0x0==_0x207745['type'])){if(_0x1b7ae7[_0x2b9dd5['id']]=_0x418010['length']<<0x1|0x1,_0x215a3d(_0x3da3ba,_0x5e6c03))_0x418010['push'](_0x1c1103['facet'](_0x2b9dd5));else{let _0x10813f=_0x2b9dd5['combine'](_0x5e6c03['map'](_0x59f086=>_0x59f086['value']));_0x418010['push'](_0x1c1103&&_0x2b9dd5['compare'](_0x10813f,_0x1c1103['facet'](_0x2b9dd5))?_0x1c1103['facet'](_0x2b9dd5):_0x10813f);}}else{for(let _0x22e602 of _0x5e6c03)0x0==_0x22e602['type']?(_0x1b7ae7[_0x22e602['id']]=_0x418010['length']<<0x1|0x1,_0x418010['push'](_0x22e602['value'])):(_0x1b7ae7[_0x22e602['id']]=_0x383c42['length']<<0x1,_0x383c42['push'](_0x58e86a=>_0x22e602['dynamicSlot'](_0x58e86a)));_0x1b7ae7[_0x2b9dd5['id']]=_0x383c42['length']<<0x1,_0x383c42['push'](_0x1ae9a8=>tg(_0x1ae9a8,_0x2b9dd5,_0x5e6c03));}}let _0x24066a=_0x383c42['map'](_0x16c00b=>_0x16c00b(_0x1b7ae7));return new Configuration(_0x3f1fa2,_0x184649,_0x24066a,_0x1b7ae7,_0x418010,_0x3140c0);}}function _0x280c73(_0x170919,_0x77af44){if(0x1&_0x77af44)return 0x2;let _0x59776b=_0x77af44>>0x1,_0x340a86=_0x170919['status'][_0x59776b];if(0x4==_0x340a86)throw new Error('Cyclic\x20dependency\x20between\x20fields\x20and/or\x20facets');if(0x2&_0x340a86)return _0x340a86;_0x170919['status'][_0x59776b]=0x4;let _0x2a7282=_0x170919['computeSlot'](_0x170919,_0x170919['config']['dynamicSlots'][_0x59776b]);return _0x170919['status'][_0x59776b]=0x2|_0x2a7282;}function _0x4127e1(_0x147eb6,_0x2013ba){return 0x1&_0x2013ba?_0x147eb6['config']['staticValues'][_0x2013ba>>0x1]:_0x147eb6['values'][_0x2013ba>>0x1];}const _0x43bc08=Facet['define'](),_0xe519b7=Facet['define']({'combine':_0x5698e3=>_0x5698e3['some'](_0x40943d=>_0x40943d),'static':!0x0}),_0x46a763=Facet['define']({'combine':_0x535cdd=>_0x535cdd['length']?_0x535cdd[0x0]:void 0x0,'static':!0x0}),_0x2ed4fa=Facet['define'](),_0x3a14c1=Facet['define'](),_0xa4e231=Facet['define'](),_0x40df7a=Facet['define']({'combine':_0x14c128=>!!_0x14c128['length']&&_0x14c128[0x0]});class Annotation{constructor(_0xe23247,_0x4146e0){this['type']=_0xe23247,this['value']=_0x4146e0;}static['define'](){return new AnnotationType();}}class AnnotationType{['of'](_0x2330e9){return new Annotation(this,_0x2330e9);}}class StateEffectType{constructor(_0x2f188d){this['map']=_0x2f188d;}['of'](_0x54dcab){return new StateEffect(this,_0x54dcab);}}class StateEffect{constructor(_0xd3595e,_0xf489f3){this['type']=_0xd3595e,this['value']=_0xf489f3;}['map'](_0x564617){let _0x2c7fe1=this['type']['map'](this['value'],_0x564617);return void 0x0===_0x2c7fe1?void 0x0:_0x2c7fe1==this['value']?this:new StateEffect(this['type'],_0x2c7fe1);}['is'](_0x4d6bf7){return this['type']==_0x4d6bf7;}static['define'](_0x1dab69={}){return new StateEffectType(_0x1dab69['map']||(_0x2656c4=>_0x2656c4));}static['mapEffects'](_0x48fc43,_0x25fa6c){if(!_0x48fc43['length'])return _0x48fc43;let _0x33a9ee=[];for(let _0x48d842 of _0x48fc43){let _0x18f98e=_0x48d842['map'](_0x25fa6c);_0x18f98e&&_0x33a9ee['push'](_0x18f98e);}return _0x33a9ee;}}StateEffect['reconfigure']=StateEffect['define'](),StateEffect['appendConfig']=StateEffect['define']();class Transaction{constructor(_0x59b1ad,_0x1620df,_0x3042fc,_0xab93b8,_0x59235c,_0x3bfac1){this['startState']=_0x59b1ad,this['changes']=_0x1620df,this['selection']=_0x3042fc,this['effects']=_0xab93b8,this['annotations']=_0x59235c,this['scrollIntoView']=_0x3bfac1,this['_doc']=null,this['_state']=null,_0x3042fc&&_0x1bcccb(_0x3042fc,_0x1620df['newLength']),_0x59235c['some'](_0x19bb26=>_0x19bb26['type']==Transaction['time'])||(this['annotations']=_0x59235c['concat'](Transaction['time']['of'](Date['now']())));}static['create'](_0x316d9b,_0x5b96c4,_0x36920e,_0xe47e98,_0x40ef4e,_0x215c02){return new Transaction(_0x316d9b,_0x5b96c4,_0x36920e,_0xe47e98,_0x40ef4e,_0x215c02);}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'](_0x56eecb){for(let _0x511e7b of this['annotations'])if(_0x511e7b['type']==_0x56eecb)return _0x511e7b['value'];}get['docChanged'](){return!this['changes']['empty'];}get['reconfigured'](){return this['startState']['config']!=this['state']['config'];}['isUserEvent'](_0x390d73){let _0x142763=this['annotation'](Transaction['userEvent']);return!(!_0x142763||!(_0x142763==_0x390d73||_0x142763['length']>_0x390d73['length']&&_0x142763['slice'](0x0,_0x390d73['length'])==_0x390d73&&'.'==_0x142763[_0x390d73['length']]));}}function _0x2ace4f(_0x5053a1,_0x2a7536){let _0x4bdbf8=[];for(let _0x16e829=0x0,_0x33600a=0x0;;){let _0x4e4677,_0x41cb94;if(_0x16e829<_0x5053a1['length']&&(_0x33600a==_0x2a7536['length']||_0x2a7536[_0x33600a]>=_0x5053a1[_0x16e829]))_0x4e4677=_0x5053a1[_0x16e829++],_0x41cb94=_0x5053a1[_0x16e829++];else{if(!(_0x33600a<_0x2a7536['length']))return _0x4bdbf8;_0x4e4677=_0x2a7536[_0x33600a++],_0x41cb94=_0x2a7536[_0x33600a++];}!_0x4bdbf8['length']||_0x4bdbf8[_0x4bdbf8['length']-0x1]<_0x4e4677?_0x4bdbf8['push'](_0x4e4677,_0x41cb94):_0x4bdbf8[_0x4bdbf8['length']-0x1]<_0x41cb94&&(_0x4bdbf8[_0x4bdbf8['length']-0x1]=_0x41cb94);}}function _0x2d7dac(_0x4a4e11,_0x20b2ad,_0x2d53b0){var _0x2267a1;let _0x265961,_0x5d4b28,_0x5d758a;return _0x2d53b0?(_0x265961=_0x20b2ad['changes'],_0x5d4b28=ChangeSet['empty'](_0x20b2ad['changes']['length']),_0x5d758a=_0x4a4e11['changes']['compose'](_0x20b2ad['changes'])):(_0x265961=_0x20b2ad['changes']['map'](_0x4a4e11['changes']),_0x5d4b28=_0x4a4e11['changes']['mapDesc'](_0x20b2ad['changes'],!0x0),_0x5d758a=_0x4a4e11['changes']['compose'](_0x265961)),{'changes':_0x5d758a,'selection':_0x20b2ad['selection']?_0x20b2ad['selection']['map'](_0x5d4b28):null===(_0x2267a1=_0x4a4e11['selection'])||void 0x0===_0x2267a1?void 0x0:_0x2267a1['map'](_0x265961),'effects':StateEffect['mapEffects'](_0x4a4e11['effects'],_0x265961)['concat'](StateEffect['mapEffects'](_0x20b2ad['effects'],_0x5d4b28)),'annotations':_0x4a4e11['annotations']['length']?_0x4a4e11['annotations']['concat'](_0x20b2ad['annotations']):_0x20b2ad['annotations'],'scrollIntoView':_0x4a4e11['scrollIntoView']||_0x20b2ad['scrollIntoView']};}function _0x2bba6e(_0x144a6f,_0x2d79e8,_0x505a0f){let _0x2bf158=_0x2d79e8['selection'],_0x5e65ec=_0x310dfd(_0x2d79e8['annotations']);return _0x2d79e8['userEvent']&&(_0x5e65ec=_0x5e65ec['concat'](Transaction['userEvent']['of'](_0x2d79e8['userEvent']))),{'changes':_0x2d79e8['changes']instanceof ChangeSet?_0x2d79e8['changes']:ChangeSet['of'](_0x2d79e8['changes']||[],_0x505a0f,_0x144a6f['facet'](_0x46a763)),'selection':_0x2bf158&&(_0x2bf158 instanceof EditorSelection?_0x2bf158:EditorSelection['single'](_0x2bf158['anchor'],_0x2bf158['head'])),'effects':_0x310dfd(_0x2d79e8['effects']),'annotations':_0x5e65ec,'scrollIntoView':!!_0x2d79e8['scrollIntoView']};}function _0x278799(_0x5e3b59,_0x3029b2,_0x4aba64){let _0x54b93d=_0x2bba6e(_0x5e3b59,_0x3029b2['length']?_0x3029b2[0x0]:{},_0x5e3b59['doc']['length']);_0x3029b2['length']&&!0x1===_0x3029b2[0x0]['filter']&&(_0x4aba64=!0x1);for(let _0xf82379=0x1;_0xf82379<_0x3029b2['length'];_0xf82379++){!0x1===_0x3029b2[_0xf82379]['filter']&&(_0x4aba64=!0x1);let _0x1b3080=!!_0x3029b2[_0xf82379]['sequential'];_0x54b93d=_0x2d7dac(_0x54b93d,_0x2bba6e(_0x5e3b59,_0x3029b2[_0xf82379],_0x1b3080?_0x54b93d['changes']['newLength']:_0x5e3b59['doc']['length']),_0x1b3080);}let _0xb2e2b9=Transaction['create'](_0x5e3b59,_0x54b93d['changes'],_0x54b93d['selection'],_0x54b93d['effects'],_0x54b93d['annotations'],_0x54b93d['scrollIntoView']);return function(_0x63eacb){let _0x26b01d=_0x63eacb['startState'],_0x56010c=_0x26b01d['facet'](_0xa4e231),_0x31bc48=_0x63eacb;for(let _0x5bc487=_0x56010c['length']-0x1;_0x5bc487>=0x0;_0x5bc487--){let _0x31e18d=_0x56010c[_0x5bc487](_0x63eacb);_0x31e18d&&Object['keys'](_0x31e18d)['length']&&(_0x31bc48=_0x2d7dac(_0x31bc48,_0x2bba6e(_0x26b01d,_0x31e18d,_0x63eacb['changes']['newLength']),!0x0));}return _0x31bc48==_0x63eacb?_0x63eacb:Transaction['create'](_0x26b01d,_0x63eacb['changes'],_0x63eacb['selection'],_0x31bc48['effects'],_0x31bc48['annotations'],_0x31bc48['scrollIntoView']);}(_0x4aba64?function(_0x4af395){let _0x184934=_0x4af395['startState'],_0x50d506=!0x0;for(let _0x1a75e9 of _0x184934['facet'](_0x2ed4fa)){let _0x4e85d7=_0x1a75e9(_0x4af395);if(!0x1===_0x4e85d7){_0x50d506=!0x1;break;}Array['isArray'](_0x4e85d7)&&(_0x50d506=!0x0===_0x50d506?_0x4e85d7:_0x2ace4f(_0x50d506,_0x4e85d7));}if(!0x0!==_0x50d506){let _0x26ebff,_0xf55e1d;if(!0x1===_0x50d506)_0xf55e1d=_0x4af395['changes']['invertedDesc'],_0x26ebff=ChangeSet['empty'](_0x184934['doc']['length']);else{let _0x4444c4=_0x4af395['changes']['filter'](_0x50d506);_0x26ebff=_0x4444c4['changes'],_0xf55e1d=_0x4444c4['filtered']['mapDesc'](_0x4444c4['changes'])['invertedDesc'];}_0x4af395=Transaction['create'](_0x184934,_0x26ebff,_0x4af395['selection']&&_0x4af395['selection']['map'](_0xf55e1d),StateEffect['mapEffects'](_0x4af395['effects'],_0xf55e1d),_0x4af395['annotations'],_0x4af395['scrollIntoView']);}let _0x305bb6=_0x184934['facet'](_0x3a14c1);for(let _0xf64f5c=_0x305bb6['length']-0x1;_0xf64f5c>=0x0;_0xf64f5c--){let _0x4c7dc0=_0x305bb6[_0xf64f5c](_0x4af395);_0x4af395=_0x4c7dc0 instanceof Transaction?_0x4c7dc0:Array['isArray'](_0x4c7dc0)&&0x1==_0x4c7dc0['length']&&_0x4c7dc0[0x0]instanceof Transaction?_0x4c7dc0[0x0]:_0x278799(_0x184934,_0x310dfd(_0x4c7dc0),!0x1);}return _0x4af395;}(_0xb2e2b9):_0xb2e2b9);}Transaction['time']=Annotation['define'](),Transaction['userEvent']=Annotation['define'](),Transaction['addToHistory']=Annotation['define'](),Transaction['remote']=Annotation['define']();const _0x38c400=[];function _0x310dfd(_0x2c124e){return null==_0x2c124e?_0x38c400:Array['isArray'](_0x2c124e)?_0x2c124e:[_0x2c124e];}var _0x40a5c6=function(_0x37c89e){return _0x37c89e[_0x37c89e['Word']=0x0]='Word',_0x37c89e[_0x37c89e['Space']=0x1]='Space',_0x37c89e[_0x37c89e['Other']=0x2]='Other',_0x37c89e;}(_0x40a5c6||(_0x40a5c6={}));const _0x38c1cc=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let _0x230dec;try{_0x230dec=new RegExp('[\x5cp{Alphabetic}\x5cp{Number}_]','u');}catch(_0x566c7a){}function _0x2ece28(_0x33d4d9){return _0x7d1fc4=>{if(!/\S/['test'](_0x7d1fc4))return _0x40a5c6['Space'];if(function(_0x372d82){if(_0x230dec)return _0x230dec['test'](_0x372d82);for(let _0x58e90b=0x0;_0x58e90b<_0x372d82['length'];_0x58e90b++){let _0x4fb0d2=_0x372d82[_0x58e90b];if(/\w/['test'](_0x4fb0d2)||_0x4fb0d2>'\u0080'&&(_0x4fb0d2['toUpperCase']()!=_0x4fb0d2['toLowerCase']()||_0x38c1cc['test'](_0x4fb0d2)))return!0x0;}return!0x1;}(_0x7d1fc4))return _0x40a5c6['Word'];for(let _0x50a45c=0x0;_0x50a45c<_0x33d4d9['length'];_0x50a45c++)if(_0x7d1fc4['indexOf'](_0x33d4d9[_0x50a45c])>-0x1)return _0x40a5c6['Word'];return _0x40a5c6['Other'];};}class EditorState{constructor(_0x411de7,_0x15a8cb,_0x48f71a,_0x5e578a,_0x375350,_0x2cf9ec){this['config']=_0x411de7,this['doc']=_0x15a8cb,this['selection']=_0x48f71a,this['values']=_0x5e578a,this['status']=_0x411de7['statusTemplate']['slice'](),this['computeSlot']=_0x375350,_0x2cf9ec&&(_0x2cf9ec['_state']=this);for(let _0x2b843c=0x0;_0x2b843c<this['config']['dynamicSlots']['length'];_0x2b843c++)_0x280c73(this,_0x2b843c<<0x1);this['computeSlot']=null;}['field'](_0x5a1d04,_0x10dc52=!0x0){let _0x2e7995=this['config']['address'][_0x5a1d04['id']];if(null!=_0x2e7995)return _0x280c73(this,_0x2e7995),_0x4127e1(this,_0x2e7995);if(_0x10dc52)throw new RangeError('Field\x20is\x20not\x20present\x20in\x20this\x20state');}['update'](..._0x3cc187){return _0x278799(this,_0x3cc187,!0x0);}['applyTransaction'](_0x201544){let _0x1f2d11,_0x43e9d9=this['config'],{base:_0x3c1185,compartments:_0x24f589}=_0x43e9d9;for(let _0x479250 of _0x201544['effects'])_0x479250['is'](Compartment['reconfigure'])?(_0x43e9d9&&(_0x24f589=new Map(),_0x43e9d9['compartments']['forEach']((_0x4835ae,_0x18d2ec)=>_0x24f589['set'](_0x18d2ec,_0x4835ae)),_0x43e9d9=null),_0x24f589['set'](_0x479250['value']['compartment'],_0x479250['value']['extension'])):_0x479250['is'](StateEffect['reconfigure'])?(_0x43e9d9=null,_0x3c1185=_0x479250['value']):_0x479250['is'](StateEffect['appendConfig'])&&(_0x43e9d9=null,_0x3c1185=_0x310dfd(_0x3c1185)['concat'](_0x479250['value']));if(_0x43e9d9)_0x1f2d11=_0x201544['startState']['values']['slice']();else _0x43e9d9=Configuration['resolve'](_0x3c1185,_0x24f589,this),_0x1f2d11=new EditorState(_0x43e9d9,this['doc'],this['selection'],_0x43e9d9['dynamicSlots']['map'](()=>null),(_0x28610a,_0x2cb8bf)=>_0x2cb8bf['reconfigure'](_0x28610a,this),null)['values'];let _0x556a02=_0x201544['startState']['facet'](_0xe519b7)?_0x201544['newSelection']:_0x201544['newSelection']['asSingle']();new EditorState(_0x43e9d9,_0x201544['newDoc'],_0x556a02,_0x1f2d11,(_0x8bdc5d,_0x31ad48)=>_0x31ad48['update'](_0x8bdc5d,_0x201544),_0x201544);}['replaceSelection'](_0x27d827){return'string'==typeof _0x27d827&&(_0x27d827=this['toText'](_0x27d827)),this['changeByRange'](_0x46586c=>({'changes':{'from':_0x46586c['from'],'to':_0x46586c['to'],'insert':_0x27d827},'range':EditorSelection['cursor'](_0x46586c['from']+_0x27d827['length'])}));}['changeByRange'](_0x5b083){let _0x51a4fc=this['selection'],_0x59d76b=_0x5b083(_0x51a4fc['ranges'][0x0]),_0x3cb61f=this['changes'](_0x59d76b['changes']),_0x36cff2=[_0x59d76b['range']],_0xf4263b=_0x310dfd(_0x59d76b['effects']);for(let _0x4e441f=0x1;_0x4e441f<_0x51a4fc['ranges']['length'];_0x4e441f++){let _0x15acf3=_0x5b083(_0x51a4fc['ranges'][_0x4e441f]),_0x2b78e9=this['changes'](_0x15acf3['changes']),_0x5d75c4=_0x2b78e9['map'](_0x3cb61f);for(let _0x5868ed=0x0;_0x5868ed<_0x4e441f;_0x5868ed++)_0x36cff2[_0x5868ed]=_0x36cff2[_0x5868ed]['map'](_0x5d75c4);let _0x5597e9=_0x3cb61f['mapDesc'](_0x2b78e9,!0x0);_0x36cff2['push'](_0x15acf3['range']['map'](_0x5597e9)),_0x3cb61f=_0x3cb61f['compose'](_0x5d75c4),_0xf4263b=StateEffect['mapEffects'](_0xf4263b,_0x5d75c4)['concat'](StateEffect['mapEffects'](_0x310dfd(_0x15acf3['effects']),_0x5597e9));}return{'changes':_0x3cb61f,'selection':EditorSelection['create'](_0x36cff2,_0x51a4fc['mainIndex']),'effects':_0xf4263b};}['changes'](_0x1999fb=[]){return _0x1999fb instanceof ChangeSet?_0x1999fb:ChangeSet['of'](_0x1999fb,this['doc']['length'],this['facet'](EditorState['lineSeparator']));}['toText'](_0x215001){return Text['of'](_0x215001['split'](this['facet'](EditorState['lineSeparator'])||_0x4b39c2));}['sliceDoc'](_0xbdcc53=0x0,_0x1f856e=this['doc']['length']){return this['doc']['sliceString'](_0xbdcc53,_0x1f856e,this['lineBreak']);}['facet'](_0x398a6d){let _0x343ec5=this['config']['address'][_0x398a6d['id']];return null==_0x343ec5?_0x398a6d['default']:(_0x280c73(this,_0x343ec5),_0x4127e1(this,_0x343ec5));}['toJSON'](_0x4ebcf4){let _0x3d636a={'doc':this['sliceDoc'](),'selection':this['selection']['toJSON']()};if(_0x4ebcf4)for(let _0x1e7939 in _0x4ebcf4){let _0x6caf8f=_0x4ebcf4[_0x1e7939];_0x6caf8f instanceof StateField&&null!=this['config']['address'][_0x6caf8f['id']]&&(_0x3d636a[_0x1e7939]=_0x6caf8f['spec']['toJSON'](this['field'](_0x4ebcf4[_0x1e7939]),this));}return _0x3d636a;}static['fromJSON'](_0x5f0697,_0x53fd24={},_0x31e5a1){if(!_0x5f0697||'string'!=typeof _0x5f0697['doc'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorState');let _0x4b149e=[];if(_0x31e5a1){for(let _0xe397ed in _0x31e5a1)if(Object['prototype']['hasOwnProperty']['call'](_0x5f0697,_0xe397ed)){let _0x151f78=_0x31e5a1[_0xe397ed],_0x984a19=_0x5f0697[_0xe397ed];_0x4b149e['push'](_0x151f78['init'](_0x89147e=>_0x151f78['spec']['fromJSON'](_0x984a19,_0x89147e)));}}return EditorState['create']({'doc':_0x5f0697['doc'],'selection':EditorSelection['fromJSON'](_0x5f0697['selection']),'extensions':_0x53fd24['extensions']?_0x4b149e['concat']([_0x53fd24['extensions']]):_0x4b149e});}static['create'](_0x30b091={}){let _0x2ebbf8=Configuration['resolve'](_0x30b091['extensions']||[],new Map()),_0x18ba92=_0x30b091['doc']instanceof Text?_0x30b091['doc']:Text['of']((_0x30b091['doc']||'')['split'](_0x2ebbf8['staticFacet'](EditorState['lineSeparator'])||_0x4b39c2)),_0x5eb199=_0x30b091['selection']?_0x30b091['selection']instanceof EditorSelection?_0x30b091['selection']:EditorSelection['single'](_0x30b091['selection']['anchor'],_0x30b091['selection']['head']):EditorSelection['single'](0x0);return _0x1bcccb(_0x5eb199,_0x18ba92['length']),_0x2ebbf8['staticFacet'](_0xe519b7)||(_0x5eb199=_0x5eb199['asSingle']()),new EditorState(_0x2ebbf8,_0x18ba92,_0x5eb199,_0x2ebbf8['dynamicSlots']['map'](()=>null),(_0x1e3fcd,_0x4a6623)=>_0x4a6623['create'](_0x1e3fcd),null);}get['tabSize'](){return this['facet'](EditorState['tabSize']);}get['lineBreak'](){return this['facet'](EditorState['lineSeparator'])||'\x0a';}get['readOnly'](){return this['facet'](_0x40df7a);}['phrase'](_0x5edbac,..._0x250b4b){for(let _0x3e6938 of this['facet'](EditorState['phrases']))if(Object['prototype']['hasOwnProperty']['call'](_0x3e6938,_0x5edbac)){_0x5edbac=_0x3e6938[_0x5edbac];break;}return _0x250b4b['length']&&(_0x5edbac=_0x5edbac['replace'](/\$(\$|\d*)/g,(_0x1fe035,_0x1ce4af)=>{if('$'==_0x1ce4af)return'$';let _0x4ba322=+(_0x1ce4af||0x1);return!_0x4ba322||_0x4ba322>_0x250b4b['length']?_0x1fe035:_0x250b4b[_0x4ba322-0x1];})),_0x5edbac;}['languageDataAt'](_0x1657b8,_0x3e2fd3,_0x34fbcd=-0x1){let _0x5cff8b=[];for(let _0x453284 of this['facet'](_0x43bc08))for(let _0x2e27ec of _0x453284(this,_0x3e2fd3,_0x34fbcd))Object['prototype']['hasOwnProperty']['call'](_0x2e27ec,_0x1657b8)&&_0x5cff8b['push'](_0x2e27ec[_0x1657b8]);return _0x5cff8b;}['charCategorizer'](_0x46199b){return _0x2ece28(this['languageDataAt']('wordChars',_0x46199b)['join'](''));}['wordAt'](_0x4ceaf8){let {text:_0x57bc2f,from:_0x3837f6,length:_0x4354d3}=this['doc']['lineAt'](_0x4ceaf8),_0x4d1233=this['charCategorizer'](_0x4ceaf8),_0xd0a013=_0x4ceaf8-_0x3837f6,_0x3e38dc=_0x4ceaf8-_0x3837f6;for(;_0xd0a013>0x0;){let _0x1acb06=_0x1570cc(_0x57bc2f,_0xd0a013,!0x1);if(_0x4d1233(_0x57bc2f['slice'](_0x1acb06,_0xd0a013))!=_0x40a5c6['Word'])break;_0xd0a013=_0x1acb06;}for(;_0x3e38dc<_0x4354d3;){let _0x4fcdd8=_0x1570cc(_0x57bc2f,_0x3e38dc);if(_0x4d1233(_0x57bc2f['slice'](_0x3e38dc,_0x4fcdd8))!=_0x40a5c6['Word'])break;_0x3e38dc=_0x4fcdd8;}return _0xd0a013==_0x3e38dc?null:EditorSelection['range'](_0xd0a013+_0x3837f6,_0x3e38dc+_0x3837f6);}}function _0x20b1bc(_0x1a932a,_0x5df25e,_0x370006={}){let _0x24d682={};for(let _0x2df47a of _0x1a932a)for(let _0x1d4a46 of Object['keys'](_0x2df47a)){let _0x3b2db0=_0x2df47a[_0x1d4a46],_0x29d387=_0x24d682[_0x1d4a46];if(void 0x0===_0x29d387)_0x24d682[_0x1d4a46]=_0x3b2db0;else{if(_0x29d387===_0x3b2db0||void 0x0===_0x3b2db0);else{if(!Object['hasOwnProperty']['call'](_0x370006,_0x1d4a46))throw new Error('Config\x20merge\x20conflict\x20for\x20field\x20'+_0x1d4a46);_0x24d682[_0x1d4a46]=_0x370006[_0x1d4a46](_0x29d387,_0x3b2db0);}}}for(let _0x3e945d in _0x5df25e)void 0x0===_0x24d682[_0x3e945d]&&(_0x24d682[_0x3e945d]=_0x5df25e[_0x3e945d]);return _0x24d682;}EditorState['allowMultipleSelections']=_0xe519b7,EditorState['tabSize']=Facet['define']({'combine':_0x308c3f=>_0x308c3f['length']?_0x308c3f[0x0]:0x4}),EditorState['lineSeparator']=_0x46a763,EditorState['readOnly']=_0x40df7a,EditorState['phrases']=Facet['define']({'compare'(_0x27f98b,_0x44c77a){let _0x3324e8=Object['keys'](_0x27f98b),_0x36d79f=Object['keys'](_0x44c77a);return _0x3324e8['length']==_0x36d79f['length']&&_0x3324e8['every'](_0xec10bd=>_0x27f98b[_0xec10bd]==_0x44c77a[_0xec10bd]);}}),EditorState['languageData']=_0x43bc08,EditorState['changeFilter']=_0x2ed4fa,EditorState['transactionFilter']=_0x3a14c1,EditorState['transactionExtender']=_0xa4e231,Compartment['reconfigure']=StateEffect['define']();class _0x3b0969{['eq'](_0x2238ea){return this==_0x2238ea;}['range'](_0x3e2f4e,_0x121da2=_0x3e2f4e){return _0x27054f['create'](_0x3e2f4e,_0x121da2,this);}}_0x3b0969['prototype']['startSide']=_0x3b0969['prototype']['endSide']=0x0,_0x3b0969['prototype']['point']=!0x1,_0x3b0969['prototype']['mapMode']=_0x57c239['TrackDel'];let _0x27054f=class _0x58426e{constructor(_0x363f3b,_0x206ebc,_0x405530){this['from']=_0x363f3b,this['to']=_0x206ebc,this['value']=_0x405530;}static['create'](_0x9901de,_0x564cac,_0x5e3f88){return new _0x58426e(_0x9901de,_0x564cac,_0x5e3f88);}};function _0x215feb(_0x1ef8d1,_0xfd7c90){return _0x1ef8d1['from']-_0xfd7c90['from']||_0x1ef8d1['value']['startSide']-_0xfd7c90['value']['startSide'];}class _0x82c6e4{constructor(_0x2bd743,_0x2f1c65,_0x43f5c3,_0x215e7b){this['from']=_0x2bd743,this['to']=_0x2f1c65,this['value']=_0x43f5c3,this['maxPoint']=_0x215e7b;}get['length'](){return this['to'][this['to']['length']-0x1];}['findIndex'](_0x13a3db,_0x2edea1,_0x2b4d82,_0xeb7793=0x0){let _0x28b894=_0x2b4d82?this['to']:this['from'];for(let _0x38e18b=_0xeb7793,_0x45fdbc=_0x28b894['length'];;){if(_0x38e18b==_0x45fdbc)return _0x38e18b;let _0x1e97f0=_0x38e18b+_0x45fdbc>>0x1,_0x96acf8=_0x28b894[_0x1e97f0]-_0x13a3db||(_0x2b4d82?this['value'][_0x1e97f0]['endSide']:this['value'][_0x1e97f0]['startSide'])-_0x2edea1;if(_0x1e97f0==_0x38e18b)return _0x96acf8>=0x0?_0x38e18b:_0x45fdbc;_0x96acf8>=0x0?_0x45fdbc=_0x1e97f0:_0x38e18b=_0x1e97f0+0x1;}}['between'](_0x163255,_0x1c7dc2,_0x1d85e4,_0x4e18a4){for(let _0xd97c0b=this['findIndex'](_0x1c7dc2,-0x3b9aca00,!0x0),_0x36a26f=this['findIndex'](_0x1d85e4,0x3b9aca00,!0x1,_0xd97c0b);_0xd97c0b<_0x36a26f;_0xd97c0b++)if(!0x1===_0x4e18a4(this['from'][_0xd97c0b]+_0x163255,this['to'][_0xd97c0b]+_0x163255,this['value'][_0xd97c0b]))return!0x1;}['map'](_0x5df1c9,_0x2d9127){let _0x4530c2=[],_0x8d66b1=[],_0xeab778=[],_0x28f483=-0x1,_0x3f6ecd=-0x1;for(let _0x38623d=0x0;_0x38623d<this['value']['length'];_0x38623d++){let _0x5c1095,_0x8d9f77,_0x40c5e3=this['value'][_0x38623d],_0x572b89=this['from'][_0x38623d]+_0x5df1c9,_0x21e898=this['to'][_0x38623d]+_0x5df1c9;if(_0x572b89==_0x21e898){let _0x3d34c4=_0x2d9127['mapPos'](_0x572b89,_0x40c5e3['startSide'],_0x40c5e3['mapMode']);if(null==_0x3d34c4)continue;if(_0x5c1095=_0x8d9f77=_0x3d34c4,_0x40c5e3['startSide']!=_0x40c5e3['endSide']&&(_0x8d9f77=_0x2d9127['mapPos'](_0x572b89,_0x40c5e3['endSide']),_0x8d9f77<_0x5c1095))continue;}else{if(_0x5c1095=_0x2d9127['mapPos'](_0x572b89,_0x40c5e3['startSide']),_0x8d9f77=_0x2d9127['mapPos'](_0x21e898,_0x40c5e3['endSide']),_0x5c1095>_0x8d9f77||_0x5c1095==_0x8d9f77&&_0x40c5e3['startSide']>0x0&&_0x40c5e3['endSide']<=0x0)continue;}(_0x8d9f77-_0x5c1095||_0x40c5e3['endSide']-_0x40c5e3['startSide'])<0x0||(_0x28f483<0x0&&(_0x28f483=_0x5c1095),_0x40c5e3['point']&&(_0x3f6ecd=Math['max'](_0x3f6ecd,_0x8d9f77-_0x5c1095)),_0x4530c2['push'](_0x40c5e3),_0x8d66b1['push'](_0x5c1095-_0x28f483),_0xeab778['push'](_0x8d9f77-_0x28f483));}return{'mapped':_0x4530c2['length']?new _0x82c6e4(_0x8d66b1,_0xeab778,_0x4530c2,_0x3f6ecd):null,'pos':_0x28f483};}}class RangeSet{constructor(_0xb2d25e,_0x2cfd75,_0x481886,_0x485fb8){this['chunkPos']=_0xb2d25e,this['chunk']=_0x2cfd75,this['nextLayer']=_0x481886,this['maxPoint']=_0x485fb8;}static['create'](_0x570946,_0x40e454,_0x307584,_0x4bdc17){return new RangeSet(_0x570946,_0x40e454,_0x307584,_0x4bdc17);}get['length'](){let _0xe2d003=this['chunk']['length']-0x1;return _0xe2d003<0x0?0x0:Math['max'](this['chunkEnd'](_0xe2d003),this['nextLayer']['length']);}get['size'](){if(this['isEmpty'])return 0x0;let _0x43dc71=this['nextLayer']['size'];for(let _0x34c6e0 of this['chunk'])_0x43dc71+=_0x34c6e0['value']['length'];return _0x43dc71;}['chunkEnd'](_0x374e96){return this['chunkPos'][_0x374e96]+this['chunk'][_0x374e96]['length'];}['update'](_0x5ecb58){let {add:_0x85016d=[],sort:_0x252d4e=!0x1,filterFrom:_0x201b86=0x0,filterTo:_0x2ab565=this['length']}=_0x5ecb58,_0x51e05f=_0x5ecb58['filter'];if(0x0==_0x85016d['length']&&!_0x51e05f)return this;if(_0x252d4e&&(_0x85016d=_0x85016d['slice']()['sort'](_0x215feb)),this['isEmpty'])return _0x85016d['length']?RangeSet['of'](_0x85016d):this;let _0x1df329=new _0x198712(this,null,-0x1)['goto'](0x0),_0x2bb973=0x0,_0x21094c=[],_0x387f0a=new RangeSetBuilder();for(;_0x1df329['value']||_0x2bb973<_0x85016d['length'];)if(_0x2bb973<_0x85016d['length']&&(_0x1df329['from']-_0x85016d[_0x2bb973]['from']||_0x1df329['startSide']-_0x85016d[_0x2bb973]['value']['startSide'])>=0x0){let _0x19b4ac=_0x85016d[_0x2bb973++];_0x387f0a['addInner'](_0x19b4ac['from'],_0x19b4ac['to'],_0x19b4ac['value'])||_0x21094c['push'](_0x19b4ac);}else 0x1==_0x1df329['rangeIndex']&&_0x1df329['chunkIndex']<this['chunk']['length']&&(_0x2bb973==_0x85016d['length']||this['chunkEnd'](_0x1df329['chunkIndex'])<_0x85016d[_0x2bb973]['from'])&&(!_0x51e05f||_0x201b86>this['chunkEnd'](_0x1df329['chunkIndex'])||_0x2ab565<this['chunkPos'][_0x1df329['chunkIndex']])&&_0x387f0a['addChunk'](this['chunkPos'][_0x1df329['chunkIndex']],this['chunk'][_0x1df329['chunkIndex']])?_0x1df329['nextChunk']():((!_0x51e05f||_0x201b86>_0x1df329['to']||_0x2ab565<_0x1df329['from']||_0x51e05f(_0x1df329['from'],_0x1df329['to'],_0x1df329['value']))&&(_0x387f0a['addInner'](_0x1df329['from'],_0x1df329['to'],_0x1df329['value'])||_0x21094c['push'](_0x27054f['create'](_0x1df329['from'],_0x1df329['to'],_0x1df329['value']))),_0x1df329['next']());return _0x387f0a['finishInner'](this['nextLayer']['isEmpty']&&!_0x21094c['length']?RangeSet['empty']:this['nextLayer']['update']({'add':_0x21094c,'filter':_0x51e05f,'filterFrom':_0x201b86,'filterTo':_0x2ab565}));}['map'](_0x4b6107){if(_0x4b6107['empty']||this['isEmpty'])return this;let _0x30b5a4=[],_0x4d56e2=[],_0x48df25=-0x1;for(let _0x5e5d26=0x0;_0x5e5d26<this['chunk']['length'];_0x5e5d26++){let _0x36bccc=this['chunkPos'][_0x5e5d26],_0xfae07a=this['chunk'][_0x5e5d26],_0x5abbf4=_0x4b6107['touchesRange'](_0x36bccc,_0x36bccc+_0xfae07a['length']);if(!0x1===_0x5abbf4)_0x48df25=Math['max'](_0x48df25,_0xfae07a['maxPoint']),_0x30b5a4['push'](_0xfae07a),_0x4d56e2['push'](_0x4b6107['mapPos'](_0x36bccc));else{if(!0x0===_0x5abbf4){let {mapped:_0x438207,pos:_0x1c0f67}=_0xfae07a['map'](_0x36bccc,_0x4b6107);_0x438207&&(_0x48df25=Math['max'](_0x48df25,_0x438207['maxPoint']),_0x30b5a4['push'](_0x438207),_0x4d56e2['push'](_0x1c0f67));}}}let _0x5a0d2d=this['nextLayer']['map'](_0x4b6107);return 0x0==_0x30b5a4['length']?_0x5a0d2d:new RangeSet(_0x4d56e2,_0x30b5a4,_0x5a0d2d||RangeSet['empty'],_0x48df25);}['between'](_0x497a03,_0x4845f5,_0x3e8a62){if(!this['isEmpty']){for(let _0x4c0faf=0x0;_0x4c0faf<this['chunk']['length'];_0x4c0faf++){let _0x4ce0ed=this['chunkPos'][_0x4c0faf],_0xcdee18=this['chunk'][_0x4c0faf];if(_0x4845f5>=_0x4ce0ed&&_0x497a03<=_0x4ce0ed+_0xcdee18['length']&&!0x1===_0xcdee18['between'](_0x4ce0ed,_0x497a03-_0x4ce0ed,_0x4845f5-_0x4ce0ed,_0x3e8a62))return;}this['nextLayer']['between'](_0x497a03,_0x4845f5,_0x3e8a62);}}['iter'](_0xa5455a=0x0){return _0x355973['from']([this])['goto'](_0xa5455a);}get['isEmpty'](){return this['nextLayer']==this;}static['iter'](_0xcced3,_0x1b45da=0x0){return _0x355973['from'](_0xcced3)['goto'](_0x1b45da);}static['compare'](_0x37d39e,_0x36a481,_0x20dda7,_0x176bf0,_0x5c2515=-0x1){let _0x135ec3=_0x37d39e['filter'](_0x6a14b5=>_0x6a14b5['maxPoint']>0x0||!_0x6a14b5['isEmpty']&&_0x6a14b5['maxPoint']>=_0x5c2515),_0x4f7e1b=_0x36a481['filter'](_0x5e585b=>_0x5e585b['maxPoint']>0x0||!_0x5e585b['isEmpty']&&_0x5e585b['maxPoint']>=_0x5c2515),_0x5a138a=_0xf62cb0(_0x135ec3,_0x4f7e1b,_0x20dda7),_0x884dcd=new _0x45353a(_0x135ec3,_0x5a138a,_0x5c2515),_0x3d7056=new _0x45353a(_0x4f7e1b,_0x5a138a,_0x5c2515);_0x20dda7['iterGaps']((_0x2eedea,_0x1ab725,_0x285858)=>_0x4d2681(_0x884dcd,_0x2eedea,_0x3d7056,_0x1ab725,_0x285858,_0x176bf0)),_0x20dda7['empty']&&0x0==_0x20dda7['length']&&_0x4d2681(_0x884dcd,0x0,_0x3d7056,0x0,0x0,_0x176bf0);}static['eq'](_0x56475f,_0x4cce66,_0x1b7092=0x0,_0x52ce10){null==_0x52ce10&&(_0x52ce10=0x3b9ac9ff);let _0x3c88fe=_0x56475f['filter'](_0xc6aa0e=>!_0xc6aa0e['isEmpty']&&_0x4cce66['indexOf'](_0xc6aa0e)<0x0),_0x4ef11d=_0x4cce66['filter'](_0x4fb159=>!_0x4fb159['isEmpty']&&_0x56475f['indexOf'](_0x4fb159)<0x0);if(_0x3c88fe['length']!=_0x4ef11d['length'])return!0x1;if(!_0x3c88fe['length'])return!0x0;let _0x379fce=_0xf62cb0(_0x3c88fe,_0x4ef11d),_0x59f709=new _0x45353a(_0x3c88fe,_0x379fce,0x0)['goto'](_0x1b7092),_0x536b5c=new _0x45353a(_0x4ef11d,_0x379fce,0x0)['goto'](_0x1b7092);for(;;){if(_0x59f709['to']!=_0x536b5c['to']||!_0x3db4d5(_0x59f709['active'],_0x536b5c['active'])||_0x59f709['point']&&(!_0x536b5c['point']||!_0x59f709['point']['eq'](_0x536b5c['point'])))return!0x1;if(_0x59f709['to']>_0x52ce10)return!0x0;_0x59f709['next'](),_0x536b5c['next']();}}static['spans'](_0x4100c6,_0x28618f,_0x45e163,_0x42c37d,_0x489efd=-0x1){let _0x4c199f=new _0x45353a(_0x4100c6,null,_0x489efd)['goto'](_0x28618f),_0x15d2d8=_0x28618f,_0x4e3c1f=_0x4c199f['openStart'];for(;;){let _0x1f11b7=Math['min'](_0x4c199f['to'],_0x45e163);if(_0x4c199f['point']){let _0x4ee378=_0x4c199f['activeForPoint'](_0x4c199f['to']),_0x52fcb8=_0x4c199f['pointFrom']<_0x28618f?_0x4ee378['length']+0x1:_0x4c199f['point']['startSide']<0x0?_0x4ee378['length']:Math['min'](_0x4ee378['length'],_0x4e3c1f);_0x42c37d['point'](_0x15d2d8,_0x1f11b7,_0x4c199f['point'],_0x4ee378,_0x52fcb8,_0x4c199f['pointRank']),_0x4e3c1f=Math['min'](_0x4c199f['openEnd'](_0x1f11b7),_0x4ee378['length']);}else _0x1f11b7>_0x15d2d8&&(_0x42c37d['span'](_0x15d2d8,_0x1f11b7,_0x4c199f['active'],_0x4e3c1f),_0x4e3c1f=_0x4c199f['openEnd'](_0x1f11b7));if(_0x4c199f['to']>_0x45e163)return _0x4e3c1f+(_0x4c199f['point']&&_0x4c199f['to']>_0x45e163?0x1:0x0);_0x15d2d8=_0x4c199f['to'],_0x4c199f['next']();}}static['of'](_0x4c11e1,_0x5127f2=!0x1){let _0x567c87=new RangeSetBuilder();for(let _0x4c42ff of _0x4c11e1 instanceof _0x27054f?[_0x4c11e1]:_0x5127f2?function(_0x3738c6){if(_0x3738c6['length']>0x1)for(let _0x5da853=_0x3738c6[0x0],_0x1c03e4=0x1;_0x1c03e4<_0x3738c6['length'];_0x1c03e4++){let _0x591527=_0x3738c6[_0x1c03e4];if(_0x215feb(_0x5da853,_0x591527)>0x0)return _0x3738c6['slice']()['sort'](_0x215feb);_0x5da853=_0x591527;}return _0x3738c6;}(_0x4c11e1):_0x4c11e1)_0x567c87['add'](_0x4c42ff['from'],_0x4c42ff['to'],_0x4c42ff['value']);return _0x567c87['finish']();}static['join'](_0x41d105){if(!_0x41d105['length'])return RangeSet['empty'];let _0xb87b99=_0x41d105[_0x41d105['length']-0x1];for(let _0x35dbf8=_0x41d105['length']-0x2;_0x35dbf8>=0x0;_0x35dbf8--)for(let _0x121464=_0x41d105[_0x35dbf8];_0x121464!=RangeSet['empty'];_0x121464=_0x121464['nextLayer'])_0xb87b99=new RangeSet(_0x121464['chunkPos'],_0x121464['chunk'],_0xb87b99,Math['max'](_0x121464['maxPoint'],_0xb87b99['maxPoint']));return _0xb87b99;}}RangeSet['empty']=new RangeSet([],[],null,-0x1),RangeSet['empty']['nextLayer']=RangeSet['empty'];class RangeSetBuilder{['finishChunk'](_0x3ae4a1){this['chunks']['push'](new _0x82c6e4(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,_0x3ae4a1&&(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'](_0x4740cd,_0x4ad1aa,_0x10194b){this['addInner'](_0x4740cd,_0x4ad1aa,_0x10194b)||(this['nextLayer']||(this['nextLayer']=new RangeSetBuilder()))['add'](_0x4740cd,_0x4ad1aa,_0x10194b);}['addInner'](_0x500d72,_0x464e5c,_0x1e77b1){let _0x288982=_0x500d72-this['lastTo']||_0x1e77b1['startSide']-this['last']['endSide'];if(_0x288982<=0x0&&(_0x500d72-this['lastFrom']||_0x1e77b1['startSide']-this['last']['startSide'])<0x0)throw new Error('Ranges\x20must\x20be\x20added\x20sorted\x20by\x20`from`\x20position\x20and\x20`startSide`');return!(_0x288982<0x0)&&(0xfa==this['from']['length']&&this['finishChunk'](!0x0),this['chunkStart']<0x0&&(this['chunkStart']=_0x500d72),this['from']['push'](_0x500d72-this['chunkStart']),this['to']['push'](_0x464e5c-this['chunkStart']),this['last']=_0x1e77b1,this['lastFrom']=_0x500d72,this['lastTo']=_0x464e5c,this['value']['push'](_0x1e77b1),_0x1e77b1['point']&&(this['maxPoint']=Math['max'](this['maxPoint'],_0x464e5c-_0x500d72)),!0x0);}['addChunk'](_0x1063c7,_0x2ed5be){if((_0x1063c7-this['lastTo']||_0x2ed5be['value'][0x0]['startSide']-this['last']['endSide'])<0x0)return!0x1;this['from']['length']&&this['finishChunk'](!0x0),this['setMaxPoint']=Math['max'](this['setMaxPoint'],_0x2ed5be['maxPoint']),this['chunks']['push'](_0x2ed5be),this['chunkPos']['push'](_0x1063c7);let _0x1fb9a5=_0x2ed5be['value']['length']-0x1;return this['last']=_0x2ed5be['value'][_0x1fb9a5],this['lastFrom']=_0x2ed5be['from'][_0x1fb9a5]+_0x1063c7,this['lastTo']=_0x2ed5be['to'][_0x1fb9a5]+_0x1063c7,!0x0;}['finish'](){return this['finishInner'](RangeSet['empty']);}['finishInner'](_0x4acba5){if(this['from']['length']&&this['finishChunk'](!0x1),0x0==this['chunks']['length'])return _0x4acba5;let _0x41809e=RangeSet['create'](this['chunkPos'],this['chunks'],this['nextLayer']?this['nextLayer']['finishInner'](_0x4acba5):_0x4acba5,this['setMaxPoint']);return this['from']=null,_0x41809e;}}function _0xf62cb0(_0x50a238,_0x301b89,_0x24f9b1){let _0x4ada68=new Map();for(let _0x200eb2 of _0x50a238)for(let _0x477faf=0x0;_0x477faf<_0x200eb2['chunk']['length'];_0x477faf++)_0x200eb2['chunk'][_0x477faf]['maxPoint']<=0x0&&_0x4ada68['set'](_0x200eb2['chunk'][_0x477faf],_0x200eb2['chunkPos'][_0x477faf]);let _0xc6089c=new Set();for(let _0x32441b of _0x301b89)for(let _0xaddd70=0x0;_0xaddd70<_0x32441b['chunk']['length'];_0xaddd70++){let _0x42dc23=_0x4ada68['get'](_0x32441b['chunk'][_0xaddd70]);null==_0x42dc23||(_0x24f9b1?_0x24f9b1['mapPos'](_0x42dc23):_0x42dc23)!=_0x32441b['chunkPos'][_0xaddd70]||(null==_0x24f9b1?void 0x0:_0x24f9b1['touchesRange'](_0x42dc23,_0x42dc23+_0x32441b['chunk'][_0xaddd70]['length']))||_0xc6089c['add'](_0x32441b['chunk'][_0xaddd70]);}return _0xc6089c;}class _0x198712{constructor(_0x3794c8,_0x4ff064,_0x596f84,_0x2e6889=0x0){this['layer']=_0x3794c8,this['skip']=_0x4ff064,this['minPoint']=_0x596f84,this['rank']=_0x2e6889;}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}get['endSide'](){return this['value']?this['value']['endSide']:0x0;}['goto'](_0x5b00c0,_0x145322=-0x3b9aca00){return this['chunkIndex']=this['rangeIndex']=0x0,this['gotoInner'](_0x5b00c0,_0x145322,!0x1),this;}['gotoInner'](_0x49e4cf,_0x140682,_0x2388d2){for(;this['chunkIndex']<this['layer']['chunk']['length'];){let _0x2b2564=this['layer']['chunk'][this['chunkIndex']];if(!(this['skip']&&this['skip']['has'](_0x2b2564)||this['layer']['chunkEnd'](this['chunkIndex'])<_0x49e4cf||_0x2b2564['maxPoint']<this['minPoint']))break;this['chunkIndex']++,_0x2388d2=!0x1;}if(this['chunkIndex']<this['layer']['chunk']['length']){let _0x12e1ee=this['layer']['chunk'][this['chunkIndex']]['findIndex'](_0x49e4cf-this['layer']['chunkPos'][this['chunkIndex']],_0x140682,!0x0);(!_0x2388d2||this['rangeIndex']<_0x12e1ee)&&this['setRangeIndex'](_0x12e1ee);}this['next']();}['forward'](_0x1367e8,_0x5338c7){(this['to']-_0x1367e8||this['endSide']-_0x5338c7)<0x0&&this['gotoInner'](_0x1367e8,_0x5338c7,!0x0);}['next'](){for(;;){if(this['chunkIndex']==this['layer']['chunk']['length']){this['from']=this['to']=0x3b9aca00,this['value']=null;break;}{let _0x28d467=this['layer']['chunkPos'][this['chunkIndex']],_0x3173b9=this['layer']['chunk'][this['chunkIndex']],_0x2107be=_0x28d467+_0x3173b9['from'][this['rangeIndex']];if(this['from']=_0x2107be,this['to']=_0x28d467+_0x3173b9['to'][this['rangeIndex']],this['value']=_0x3173b9['value'][this['rangeIndex']],this['setRangeIndex'](this['rangeIndex']+0x1),this['minPoint']<0x0||this['value']['point']&&this['to']-this['from']>=this['minPoint'])break;}}}['setRangeIndex'](_0x20dd3a){if(_0x20dd3a==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']=_0x20dd3a;}['nextChunk'](){this['chunkIndex']++,this['rangeIndex']=0x0,this['next']();}['compare'](_0x435393){return this['from']-_0x435393['from']||this['startSide']-_0x435393['startSide']||this['rank']-_0x435393['rank']||this['to']-_0x435393['to']||this['endSide']-_0x435393['endSide'];}}class _0x355973{constructor(_0x19cf10){this['heap']=_0x19cf10;}static['from'](_0x268008,_0x53b38f=null,_0xddf560=-0x1){let _0x20863f=[];for(let _0x1caa68=0x0;_0x1caa68<_0x268008['length'];_0x1caa68++)for(let _0x361648=_0x268008[_0x1caa68];!_0x361648['isEmpty'];_0x361648=_0x361648['nextLayer'])_0x361648['maxPoint']>=_0xddf560&&_0x20863f['push'](new _0x198712(_0x361648,_0x53b38f,_0xddf560,_0x1caa68));return 0x1==_0x20863f['length']?_0x20863f[0x0]:new _0x355973(_0x20863f);}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}['goto'](_0x5240b5,_0x481e11=-0x3b9aca00){for(let _0x30ec3f of this['heap'])_0x30ec3f['goto'](_0x5240b5,_0x481e11);for(let _0x544aeb=this['heap']['length']>>0x1;_0x544aeb>=0x0;_0x544aeb--)_0x356a5d(this['heap'],_0x544aeb);return this['next'](),this;}['forward'](_0x480f6b,_0x3c10fe){for(let _0x5ce786 of this['heap'])_0x5ce786['forward'](_0x480f6b,_0x3c10fe);for(let _0x1d500a=this['heap']['length']>>0x1;_0x1d500a>=0x0;_0x1d500a--)_0x356a5d(this['heap'],_0x1d500a);(this['to']-_0x480f6b||this['value']['endSide']-_0x3c10fe)<0x0&&this['next']();}['next'](){if(0x0==this['heap']['length'])this['from']=this['to']=0x3b9aca00,this['value']=null,this['rank']=-0x1;else{let _0x5caa63=this['heap'][0x0];this['from']=_0x5caa63['from'],this['to']=_0x5caa63['to'],this['value']=_0x5caa63['value'],this['rank']=_0x5caa63['rank'],_0x5caa63['value']&&_0x5caa63['next'](),_0x356a5d(this['heap'],0x0);}}}function _0x356a5d(_0x333a7e,_0x426513){for(let _0x409917=_0x333a7e[_0x426513];;){let _0x1aa163=0x1+(_0x426513<<0x1);if(_0x1aa163>=_0x333a7e['length'])break;let _0x980433=_0x333a7e[_0x1aa163];if(_0x1aa163+0x1<_0x333a7e['length']&&_0x980433['compare'](_0x333a7e[_0x1aa163+0x1])>=0x0&&(_0x980433=_0x333a7e[_0x1aa163+0x1],_0x1aa163++),_0x409917['compare'](_0x980433)<0x0)break;_0x333a7e[_0x1aa163]=_0x409917,_0x333a7e[_0x426513]=_0x980433,_0x426513=_0x1aa163;}}class _0x45353a{constructor(_0xb897a2,_0x2c694f,_0x322821){this['minPoint']=_0x322821,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']=_0x355973['from'](_0xb897a2,_0x2c694f,_0x322821);}['goto'](_0x278b7a,_0x331aec=-0x3b9aca00){return this['cursor']['goto'](_0x278b7a,_0x331aec),this['active']['length']=this['activeTo']['length']=this['activeRank']['length']=0x0,this['minActive']=-0x1,this['to']=_0x278b7a,this['endSide']=_0x331aec,this['openStart']=-0x1,this['next'](),this;}['forward'](_0x200add,_0x47c084){for(;this['minActive']>-0x1&&(this['activeTo'][this['minActive']]-_0x200add||this['active'][this['minActive']]['endSide']-_0x47c084)<0x0;)this['removeActive'](this['minActive']);this['cursor']['forward'](_0x200add,_0x47c084);}['removeActive'](_0x9c75ac){_0x3cd7da(this['active'],_0x9c75ac),_0x3cd7da(this['activeTo'],_0x9c75ac),_0x3cd7da(this['activeRank'],_0x9c75ac),this['minActive']=_0x43df83(this['active'],this['activeTo']);}['addActive'](_0x280a7){let _0x58b9d5=0x0,{value:_0x2fb6f1,to:_0x183f7c,rank:_0x3daab7}=this['cursor'];for(;_0x58b9d5<this['activeRank']['length']&&(_0x3daab7-this['activeRank'][_0x58b9d5]||_0x183f7c-this['activeTo'][_0x58b9d5])>0x0;)_0x58b9d5++;_0x2b37df(this['active'],_0x58b9d5,_0x2fb6f1),_0x2b37df(this['activeTo'],_0x58b9d5,_0x183f7c),_0x2b37df(this['activeRank'],_0x58b9d5,_0x3daab7),_0x280a7&&_0x2b37df(_0x280a7,_0x58b9d5,this['cursor']['from']),this['minActive']=_0x43df83(this['active'],this['activeTo']);}['next'](){let _0x4b4cf2=this['to'],_0x762c2b=this['point'];this['point']=null;let _0x93a535=this['openStart']<0x0?[]:null;for(;;){let _0x4464ee=this['minActive'];if(_0x4464ee>-0x1&&(this['activeTo'][_0x4464ee]-this['cursor']['from']||this['active'][_0x4464ee]['endSide']-this['cursor']['startSide'])<0x0){if(this['activeTo'][_0x4464ee]>_0x4b4cf2){this['to']=this['activeTo'][_0x4464ee],this['endSide']=this['active'][_0x4464ee]['endSide'];break;}this['removeActive'](_0x4464ee),_0x93a535&&_0x3cd7da(_0x93a535,_0x4464ee);}else{if(!this['cursor']['value']){this['to']=this['endSide']=0x3b9aca00;break;}if(this['cursor']['from']>_0x4b4cf2){this['to']=this['cursor']['from'],this['endSide']=this['cursor']['startSide'];break;}{let _0x1d9c13=this['cursor']['value'];if(_0x1d9c13['point']){if(!(_0x762c2b&&this['cursor']['to']==this['to']&&this['cursor']['from']<this['cursor']['to'])){this['point']=_0x1d9c13,this['pointFrom']=this['cursor']['from'],this['pointRank']=this['cursor']['rank'],this['to']=this['cursor']['to'],this['endSide']=_0x1d9c13['endSide'],this['cursor']['next'](),this['forward'](this['to'],this['endSide']);break;}this['cursor']['next']();}else this['addActive'](_0x93a535),this['cursor']['next']();}}}if(_0x93a535){this['openStart']=0x0;for(let _0x15c6ec=_0x93a535['length']-0x1;_0x15c6ec>=0x0&&_0x93a535[_0x15c6ec]<_0x4b4cf2;_0x15c6ec--)this['openStart']++;}}['activeForPoint'](_0x41a7c6){if(!this['active']['length'])return this['active'];let _0x8f6d82=[];for(let _0x3d2562=this['active']['length']-0x1;_0x3d2562>=0x0&&!(this['activeRank'][_0x3d2562]<this['pointRank']);_0x3d2562--)(this['activeTo'][_0x3d2562]>_0x41a7c6||this['activeTo'][_0x3d2562]==_0x41a7c6&&this['active'][_0x3d2562]['endSide']>=this['point']['endSide'])&&_0x8f6d82['push'](this['active'][_0x3d2562]);return _0x8f6d82['reverse']();}['openEnd'](_0xcdb54f){let _0x349a22=0x0;for(let _0x765a47=this['activeTo']['length']-0x1;_0x765a47>=0x0&&this['activeTo'][_0x765a47]>_0xcdb54f;_0x765a47--)_0x349a22++;return _0x349a22;}}function _0x4d2681(_0x2f4142,_0x5e1faa,_0xd40a5d,_0x40b1b9,_0x292dad,_0x2553dc){_0x2f4142['goto'](_0x5e1faa),_0xd40a5d['goto'](_0x40b1b9);let _0x51ab4e=_0x40b1b9+_0x292dad,_0x4c34c9=_0x40b1b9,_0x45917d=_0x40b1b9-_0x5e1faa;for(;;){let _0x5e0234=_0x2f4142['to']+_0x45917d-_0xd40a5d['to'],_0x399a65=_0x5e0234||_0x2f4142['endSide']-_0xd40a5d['endSide'],_0x28c5d6=_0x399a65<0x0?_0x2f4142['to']+_0x45917d:_0xd40a5d['to'],_0x394bc2=Math['min'](_0x28c5d6,_0x51ab4e);if(_0x2f4142['point']||_0xd40a5d['point']?_0x2f4142['point']&&_0xd40a5d['point']&&(_0x2f4142['point']==_0xd40a5d['point']||_0x2f4142['point']['eq'](_0xd40a5d['point']))&&_0x3db4d5(_0x2f4142['activeForPoint'](_0x2f4142['to']),_0xd40a5d['activeForPoint'](_0xd40a5d['to']))||_0x2553dc['comparePoint'](_0x4c34c9,_0x394bc2,_0x2f4142['point'],_0xd40a5d['point']):_0x394bc2>_0x4c34c9&&!_0x3db4d5(_0x2f4142['active'],_0xd40a5d['active'])&&_0x2553dc['compareRange'](_0x4c34c9,_0x394bc2,_0x2f4142['active'],_0xd40a5d['active']),_0x28c5d6>_0x51ab4e)break;(_0x5e0234||_0x2f4142['openEnd']!=_0xd40a5d['openEnd'])&&_0x2553dc['boundChange']&&_0x2553dc['boundChange'](_0x28c5d6),_0x4c34c9=_0x28c5d6,_0x399a65<=0x0&&_0x2f4142['next'](),_0x399a65>=0x0&&_0xd40a5d['next']();}}function _0x3db4d5(_0x20cc68,_0x2f3620){if(_0x20cc68['length']!=_0x2f3620['length'])return!0x1;for(let _0x361cf5=0x0;_0x361cf5<_0x20cc68['length'];_0x361cf5++)if(_0x20cc68[_0x361cf5]!=_0x2f3620[_0x361cf5]&&!_0x20cc68[_0x361cf5]['eq'](_0x2f3620[_0x361cf5]))return!0x1;return!0x0;}function _0x3cd7da(_0x2f5208,_0x16a018){for(let _0x1c6d65=_0x16a018,_0x43d196=_0x2f5208['length']-0x1;_0x1c6d65<_0x43d196;_0x1c6d65++)_0x2f5208[_0x1c6d65]=_0x2f5208[_0x1c6d65+0x1];_0x2f5208['pop']();}function _0x2b37df(_0x151379,_0x49f20c,_0x57c008){for(let _0x3259f7=_0x151379['length']-0x1;_0x3259f7>=_0x49f20c;_0x3259f7--)_0x151379[_0x3259f7+0x1]=_0x151379[_0x3259f7];_0x151379[_0x49f20c]=_0x57c008;}function _0x43df83(_0x16bd94,_0x52abc8){let _0x20188f=-0x1,_0x3b7390=0x3b9aca00;for(let _0x8bfc18=0x0;_0x8bfc18<_0x52abc8['length'];_0x8bfc18++)(_0x52abc8[_0x8bfc18]-_0x3b7390||_0x16bd94[_0x8bfc18]['endSide']-_0x16bd94[_0x20188f]['endSide'])<0x0&&(_0x20188f=_0x8bfc18,_0x3b7390=_0x52abc8[_0x8bfc18]);return _0x20188f;}function _0x43a9eb(_0x6e5b0b,_0x467967,_0x245f3a=_0x6e5b0b['length']){let _0x3cec5f=0x0;for(let _0x201162=0x0;_0x201162<_0x245f3a&&_0x201162<_0x6e5b0b['length'];)0x9==_0x6e5b0b['charCodeAt'](_0x201162)?(_0x3cec5f+=_0x467967-_0x3cec5f%_0x467967,_0x201162++):(_0x3cec5f++,_0x201162=_0x1570cc(_0x6e5b0b,_0x201162));return _0x3cec5f;}function _0x410c4e(_0x4f8f16,_0x165f88,_0x613622,_0xf9f0a8){for(let _0x395d6e=0x0,_0x5775d3=0x0;;){if(_0x5775d3>=_0x165f88)return _0x395d6e;if(_0x395d6e==_0x4f8f16['length'])break;_0x5775d3+=0x9==_0x4f8f16['charCodeAt'](_0x395d6e)?_0x613622-_0x5775d3%_0x613622:0x1,_0x395d6e=_0x1570cc(_0x4f8f16,_0x395d6e);}return!0x0===_0xf9f0a8?-0x1:_0x4f8f16['length'];}const _0x561856='undefined'==typeof Symbol?'__ͼ':Symbol['for']('ͼ'),_0x39028d='undefined'==typeof Symbol?'__styleSet'+Math['floor'](0x5f5e100*Math['random']()):Symbol('styleSet'),_0x42d5ee='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:{};class StyleModule{constructor(_0x194bca,_0x2547d8){this['rules']=[];let {finish:_0x366307}=_0x2547d8||{};function _0x35428f(_0x8d0765){return/^@/['test'](_0x8d0765)?[_0x8d0765]:_0x8d0765['split'](/,\s*/);}function _0x2c51aa(_0x41c141,_0x47076a,_0x5bbe6f,_0x544921){let _0xbaa6c7=[],_0x4e0c7b=/^@(\w+)\b/['exec'](_0x41c141[0x0]),_0x1f1787=_0x4e0c7b&&'keyframes'==_0x4e0c7b[0x1];if(_0x4e0c7b&&null==_0x47076a)return _0x5bbe6f['push'](_0x41c141[0x0]+';');for(let _0x591d24 in _0x47076a){let _0x43ec32=_0x47076a[_0x591d24];if(/&/['test'](_0x591d24))_0x2c51aa(_0x591d24['split'](/,\s*/)['map'](_0x11042a=>_0x41c141['map'](_0x18d125=>_0x11042a['replace'](/&/,_0x18d125)))['reduce']((_0x118778,_0x56341d)=>_0x118778['concat'](_0x56341d)),_0x43ec32,_0x5bbe6f);else{if(_0x43ec32&&'object'==typeof _0x43ec32){if(!_0x4e0c7b)throw new RangeError('The\x20value\x20of\x20a\x20property\x20('+_0x591d24+')\x20should\x20be\x20a\x20primitive\x20value.');_0x2c51aa(_0x35428f(_0x591d24),_0x43ec32,_0xbaa6c7,_0x1f1787);}else null!=_0x43ec32&&_0xbaa6c7['push'](_0x591d24['replace'](/_.*/,'')['replace'](/[A-Z]/g,_0x576bc1=>'-'+_0x576bc1['toLowerCase']())+':\x20'+_0x43ec32+';');}}(_0xbaa6c7['length']||_0x1f1787)&&_0x5bbe6f['push']((!_0x366307||_0x4e0c7b||_0x544921?_0x41c141:_0x41c141['map'](_0x366307))['join'](',\x20')+'\x20{'+_0xbaa6c7['join']('\x20')+'}');}for(let _0x660139 in _0x194bca)_0x2c51aa(_0x35428f(_0x660139),_0x194bca[_0x660139],this['rules']);}['getRules'](){return this['rules']['join']('\x0a');}static['newName'](){let _0x3113c8=_0x42d5ee[_0x561856]||0x1;return _0x42d5ee[_0x561856]=_0x3113c8+0x1,'ͼ'+_0x3113c8['toString'](0x24);}static['mount'](_0x4788ca,_0x33368f,_0x1a71e8){let _0x2ba1a1=_0x4788ca[_0x39028d],_0x42a1c9=_0x1a71e8&&_0x1a71e8['nonce'];_0x2ba1a1?_0x42a1c9&&_0x2ba1a1['setNonce'](_0x42a1c9):_0x2ba1a1=new StyleSet(_0x4788ca,_0x42a1c9),_0x2ba1a1['mount'](Array['isArray'](_0x33368f)?_0x33368f:[_0x33368f],_0x4788ca);}}let _0xc68626=new Map();class StyleSet{constructor(_0x16741c,_0x52693a){let _0x9921c4=_0x16741c['ownerDocument']||_0x16741c,_0x1c7bc=_0x9921c4['defaultView'];if(!_0x16741c['head']&&_0x16741c['adoptedStyleSheets']&&_0x1c7bc['CSSStyleSheet']){let _0x3011b1=_0xc68626['get'](_0x9921c4);if(_0x3011b1)return _0x16741c[_0x39028d]=_0x3011b1;this['sheet']=new _0x1c7bc['CSSStyleSheet'](),_0xc68626['set'](_0x9921c4,this);}else this['styleTag']=_0x9921c4['createElement']('style'),_0x52693a&&this['styleTag']['setAttribute']('nonce',_0x52693a);this['modules']=[],_0x16741c[_0x39028d]=this;}['mount'](_0x47b45a,_0x265c90){let _0x3b6085=this['sheet'],_0x37e192=0x0,_0x5d1387=0x0;for(let _0x3d075e=0x0;_0x3d075e<_0x47b45a['length'];_0x3d075e++){let _0x3cf45a=_0x47b45a[_0x3d075e],_0x665123=this['modules']['indexOf'](_0x3cf45a);if(_0x665123<_0x5d1387&&_0x665123>-0x1&&(this['modules']['splice'](_0x665123,0x1),_0x5d1387--,_0x665123=-0x1),-0x1==_0x665123){if(this['modules']['splice'](_0x5d1387++,0x0,_0x3cf45a),_0x3b6085){for(let _0x522ee9=0x0;_0x522ee9<_0x3cf45a['rules']['length'];_0x522ee9++)_0x3b6085['insertRule'](_0x3cf45a['rules'][_0x522ee9],_0x37e192++);}}else{for(;_0x5d1387<_0x665123;)_0x37e192+=this['modules'][_0x5d1387++]['rules']['length'];_0x37e192+=_0x3cf45a['rules']['length'],_0x5d1387++;}}if(_0x3b6085)_0x265c90['adoptedStyleSheets']['indexOf'](this['sheet'])<0x0&&(_0x265c90['adoptedStyleSheets']=[this['sheet'],..._0x265c90['adoptedStyleSheets']]);else{let _0x1adf32='';for(let _0x2d2ff9=0x0;_0x2d2ff9<this['modules']['length'];_0x2d2ff9++)_0x1adf32+=this['modules'][_0x2d2ff9]['getRules']()+'\x0a';this['styleTag']['textContent']=_0x1adf32;let _0x6b0168=_0x265c90['head']||_0x265c90;this['styleTag']['parentNode']!=_0x6b0168&&_0x6b0168['insertBefore'](this['styleTag'],_0x6b0168['firstChild']);}}['setNonce'](_0x32331c){this['styleTag']&&this['styleTag']['getAttribute']('nonce')!=_0x32331c&&this['styleTag']['setAttribute']('nonce',_0x32331c);}}for(var _0x4269c0={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'},_0xe3a6dc={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'},_0x365482='undefined'!=typeof navigator&&/Mac/['test'](navigator['platform']),_0x10d386='undefined'!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](navigator['userAgent']),_0x5610c4=0x0;_0x5610c4<0xa;_0x5610c4++)_0x4269c0[0x30+_0x5610c4]=_0x4269c0[0x60+_0x5610c4]=String(_0x5610c4);for(_0x5610c4=0x1;_0x5610c4<=0x18;_0x5610c4++)_0x4269c0[_0x5610c4+0x6f]='F'+_0x5610c4;for(_0x5610c4=0x41;_0x5610c4<=0x5a;_0x5610c4++)_0x4269c0[_0x5610c4]=String['fromCharCode'](_0x5610c4+0x20),_0xe3a6dc[_0x5610c4]=String['fromCharCode'](_0x5610c4);for(var _0x1b19e7 in _0x4269c0)_0xe3a6dc['hasOwnProperty'](_0x1b19e7)||(_0xe3a6dc[_0x1b19e7]=_0x4269c0[_0x1b19e7]);let _0x296ba1='undefined'!=typeof navigator?navigator:{'userAgent':'','vendor':'','platform':''},_0x50aa2b='undefined'!=typeof document?document:{'documentElement':{'style':{}}};const _0x1acf35=/Edge\/(\d+)/['exec'](_0x296ba1['userAgent']),_0x4c9e0b=/MSIE \d/['test'](_0x296ba1['userAgent']),_0x4ce44d=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](_0x296ba1['userAgent']),tp=!!(_0x4c9e0b||_0x4ce44d||_0x1acf35),_0x4a61c0=!tp&&/gecko\/(\d+)/i['test'](_0x296ba1['userAgent']),_0x3c3241=!tp&&/Chrome\/(\d+)/['exec'](_0x296ba1['userAgent']),_0x363e9e='webkitFontSmoothing'in _0x50aa2b['documentElement']['style'],_0x544e86=!tp&&/Apple Computer/['test'](_0x296ba1['vendor']),_0x38dff6=_0x544e86&&(/Mobile\/\w+/['test'](_0x296ba1['userAgent'])||_0x296ba1['maxTouchPoints']>0x2);var _0x7f953={'mac':_0x38dff6||/Mac/['test'](_0x296ba1['platform']),'windows':/Win/['test'](_0x296ba1['platform']),'linux':/Linux|X11/['test'](_0x296ba1['platform']),'ie':tp,'ie_version':_0x4c9e0b?_0x50aa2b['documentMode']||0x6:_0x4ce44d?+_0x4ce44d[0x1]:_0x1acf35?+_0x1acf35[0x1]:0x0,'gecko':_0x4a61c0,'gecko_version':_0x4a61c0?+(/Firefox\/(\d+)/['exec'](_0x296ba1['userAgent'])||[0x0,0x0])[0x1]:0x0,'chrome':!!_0x3c3241,'chrome_version':_0x3c3241?+_0x3c3241[0x1]:0x0,'ios':_0x38dff6,'android':/Android\b/['test'](_0x296ba1['userAgent']),'webkit_version':_0x363e9e?+(/\bAppleWebKit\/(\d+)/['exec'](_0x296ba1['userAgent'])||[0x0,0x0])[0x1]:0x0,'safari':_0x544e86,'safari_version':_0x544e86?+(/\bVersion\/(\d+(\.\d+)?)/['exec'](_0x296ba1['userAgent'])||[0x0,0x0])[0x1]:0x0,'tabSize':null!=_0x50aa2b['documentElement']['style']['tabSize']?'tab-size':'-moz-tab-size'};function _0x13fe97(_0x4c2b15){let _0x4790b2;return _0x4790b2=0xb==_0x4c2b15['nodeType']?_0x4c2b15['getSelection']?_0x4c2b15:_0x4c2b15['ownerDocument']:_0x4c2b15,_0x4790b2['getSelection']();}function _0x321be4(_0x117e40,_0x38c3f2){return!!_0x38c3f2&&(_0x117e40==_0x38c3f2||_0x117e40['contains'](0x1!=_0x38c3f2['nodeType']?_0x38c3f2['parentNode']:_0x38c3f2));}function _0x47ac0f(_0x596011,_0x584547){if(!_0x584547['anchorNode'])return!0x1;try{return _0x321be4(_0x596011,_0x584547['anchorNode']);}catch(_0x5537d5){return!0x1;}}function _0xb52415(_0x2421a2){return 0x3==_0x2421a2['nodeType']?_0x546451(_0x2421a2,0x0,_0x2421a2['nodeValue']['length'])['getClientRects']():0x1==_0x2421a2['nodeType']?_0x2421a2['getClientRects']():[];}function _0x7b2d0b(_0x14af3b,_0x1cc7de,_0x289951,_0x232f5d){return!!_0x289951&&(_0x1be25a(_0x14af3b,_0x1cc7de,_0x289951,_0x232f5d,-0x1)||_0x1be25a(_0x14af3b,_0x1cc7de,_0x289951,_0x232f5d,0x1));}function _0x10f186(_0x56ce4f){for(var _0x27280=0x0;;_0x27280++)if(!(_0x56ce4f=_0x56ce4f['previousSibling']))return _0x27280;}function _0x1e9486(_0x38a47c){return 0x1==_0x38a47c['nodeType']&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/['test'](_0x38a47c['nodeName']);}function _0x1be25a(_0x42c8e2,_0x337939,_0xf4f3ff,_0xec07b6,_0x321f29){for(;;){if(_0x42c8e2==_0xf4f3ff&&_0x337939==_0xec07b6)return!0x0;if(_0x337939==(_0x321f29<0x0?0x0:_0x1f93f4(_0x42c8e2))){if('DIV'==_0x42c8e2['nodeName'])return!0x1;let _0x3817f4=_0x42c8e2['parentNode'];if(!_0x3817f4||0x1!=_0x3817f4['nodeType'])return!0x1;_0x337939=_0x10f186(_0x42c8e2)+(_0x321f29<0x0?0x0:0x1),_0x42c8e2=_0x3817f4;}else{if(0x1!=_0x42c8e2['nodeType'])return!0x1;if(0x1==(_0x42c8e2=_0x42c8e2['childNodes'][_0x337939+(_0x321f29<0x0?-0x1:0x0)])['nodeType']&&'false'==_0x42c8e2['contentEditable'])return!0x1;_0x337939=_0x321f29<0x0?_0x1f93f4(_0x42c8e2):0x0;}}}function _0x1f93f4(_0x2338ba){return 0x3==_0x2338ba['nodeType']?_0x2338ba['nodeValue']['length']:_0x2338ba['childNodes']['length'];}function _0xccdbb2(_0x4be755,_0x21cbea){let _0x5b9d39=_0x21cbea?_0x4be755['left']:_0x4be755['right'];return{'left':_0x5b9d39,'right':_0x5b9d39,'top':_0x4be755['top'],'bottom':_0x4be755['bottom']};}function _0x37ae36(_0x4df354){let _0x5f5a94=_0x4df354['visualViewport'];return _0x5f5a94?{'left':0x0,'right':_0x5f5a94['width'],'top':0x0,'bottom':_0x5f5a94['height']}:{'left':0x0,'right':_0x4df354['innerWidth'],'top':0x0,'bottom':_0x4df354['innerHeight']};}function _0x49b6fb(_0x449103,_0x348feb){let _0x296792=_0x348feb['width']/_0x449103['offsetWidth'],_0x38e4f8=_0x348feb['height']/_0x449103['offsetHeight'];return(_0x296792>0.995&&_0x296792<1.005||!isFinite(_0x296792)||Math['abs'](_0x348feb['width']-_0x449103['offsetWidth'])<0x1)&&(_0x296792=0x1),(_0x38e4f8>0.995&&_0x38e4f8<1.005||!isFinite(_0x38e4f8)||Math['abs'](_0x348feb['height']-_0x449103['offsetHeight'])<0x1)&&(_0x38e4f8=0x1),{'scaleX':_0x296792,'scaleY':_0x38e4f8};}class DOMSelectionState{constructor(){this['anchorNode']=null,this['anchorOffset']=0x0,this['focusNode']=null,this['focusOffset']=0x0;}['eq'](_0x21a95f){return this['anchorNode']==_0x21a95f['anchorNode']&&this['anchorOffset']==_0x21a95f['anchorOffset']&&this['focusNode']==_0x21a95f['focusNode']&&this['focusOffset']==_0x21a95f['focusOffset'];}['setRange'](_0x14e64f){let {anchorNode:_0x3d3eb5,focusNode:_0x5c4b64}=_0x14e64f;this['set'](_0x3d3eb5,Math['min'](_0x14e64f['anchorOffset'],_0x3d3eb5?_0x1f93f4(_0x3d3eb5):0x0),_0x5c4b64,Math['min'](_0x14e64f['focusOffset'],_0x5c4b64?_0x1f93f4(_0x5c4b64):0x0));}['set'](_0x246242,_0x22ba08,_0x58e66a,_0x538d96){this['anchorNode']=_0x246242,this['anchorOffset']=_0x22ba08,this['focusNode']=_0x58e66a,this['focusOffset']=_0x538d96;}}let _0x3d2dad,_0xfd4fd4=null;function _0x12169d(_0x3bd5b9){if(_0x3bd5b9['setActive'])return _0x3bd5b9['setActive']();if(_0xfd4fd4)return _0x3bd5b9['focus'](_0xfd4fd4);let _0x5014e1=[];for(let _0x512afa=_0x3bd5b9;_0x512afa&&(_0x5014e1['push'](_0x512afa,_0x512afa['scrollTop'],_0x512afa['scrollLeft']),_0x512afa!=_0x512afa['ownerDocument']);_0x512afa=_0x512afa['parentNode']);if(_0x3bd5b9['focus'](null==_0xfd4fd4?{get 'preventScroll'(){return _0xfd4fd4={'preventScroll':!0x0},!0x0;}}:void 0x0),!_0xfd4fd4){_0xfd4fd4=!0x1;for(let _0x515413=0x0;_0x515413<_0x5014e1['length'];){let _0xb6968e=_0x5014e1[_0x515413++],_0x47a11b=_0x5014e1[_0x515413++],_0x139623=_0x5014e1[_0x515413++];_0xb6968e['scrollTop']!=_0x47a11b&&(_0xb6968e['scrollTop']=_0x47a11b),_0xb6968e['scrollLeft']!=_0x139623&&(_0xb6968e['scrollLeft']=_0x139623);}}}function _0x546451(_0x30cc16,_0x45475a,_0x33dd1b=_0x45475a){let _0x1568ca=_0x3d2dad||(_0x3d2dad=document['createRange']());return _0x1568ca['setEnd'](_0x30cc16,_0x33dd1b),_0x1568ca['setStart'](_0x30cc16,_0x45475a),_0x1568ca;}function _0x5d3da1(_0x2bde2e,_0xe3056f,_0x56e093,_0x25d6ca){let _0x3389d7={'key':_0xe3056f,'code':_0xe3056f,'keyCode':_0x56e093,'which':_0x56e093,'cancelable':!0x0};_0x25d6ca&&({altKey:_0x3389d7['altKey'],ctrlKey:_0x3389d7['ctrlKey'],shiftKey:_0x3389d7['shiftKey'],metaKey:_0x3389d7['metaKey']}=_0x25d6ca);let _0x5dad52=new KeyboardEvent('keydown',_0x3389d7);_0x5dad52['synthetic']=!0x0,_0x2bde2e['dispatchEvent'](_0x5dad52);let _0x182ee0=new KeyboardEvent('keyup',_0x3389d7);return _0x182ee0['synthetic']=!0x0,_0x2bde2e['dispatchEvent'](_0x182ee0),_0x5dad52['defaultPrevented']||_0x182ee0['defaultPrevented'];}function _0x1fed96(_0x591904){for(;_0x591904['attributes']['length'];)_0x591904['removeAttributeNode'](_0x591904['attributes'][0x0]);}function _0x273ce3(_0x887fe9){return _0x887fe9['scrollTop']>Math['max'](0x1,_0x887fe9['scrollHeight']-_0x887fe9['clientHeight']-0x4);}function _0x187398(_0x5bbb55,_0x480fbf){for(let _0x476795=_0x5bbb55,_0x5d40cf=_0x480fbf;;){if(0x3==_0x476795['nodeType']&&_0x5d40cf>0x0)return{'node':_0x476795,'offset':_0x5d40cf};if(0x1==_0x476795['nodeType']&&_0x5d40cf>0x0){if('false'==_0x476795['contentEditable'])return null;_0x476795=_0x476795['childNodes'][_0x5d40cf-0x1],_0x5d40cf=_0x1f93f4(_0x476795);}else{if(!_0x476795['parentNode']||_0x1e9486(_0x476795))return null;_0x5d40cf=_0x10f186(_0x476795),_0x476795=_0x476795['parentNode'];}}}function _0xa2671(_0x27cb8f,_0x353f02){for(let _0x5508a8=_0x27cb8f,_0x5f127b=_0x353f02;;){if(0x3==_0x5508a8['nodeType']&&_0x5f127b<_0x5508a8['nodeValue']['length'])return{'node':_0x5508a8,'offset':_0x5f127b};if(0x1==_0x5508a8['nodeType']&&_0x5f127b<_0x5508a8['childNodes']['length']){if('false'==_0x5508a8['contentEditable'])return null;_0x5508a8=_0x5508a8['childNodes'][_0x5f127b],_0x5f127b=0x0;}else{if(!_0x5508a8['parentNode']||_0x1e9486(_0x5508a8))return null;_0x5f127b=_0x10f186(_0x5508a8)+0x1,_0x5508a8=_0x5508a8['parentNode'];}}}_0x7f953['safari']&&_0x7f953['safari_version']>=0x1a&&(_0xfd4fd4=!0x1);class _0x42d446{constructor(_0x319c82,_0x23994c,_0x1f7079=!0x0){this['node']=_0x319c82,this['offset']=_0x23994c,this['precise']=_0x1f7079;}static['before'](_0x286b16,_0x43baaa){return new _0x42d446(_0x286b16['parentNode'],_0x10f186(_0x286b16),_0x43baaa);}static['after'](_0x352916,_0x56646d){return new _0x42d446(_0x352916['parentNode'],_0x10f186(_0x352916)+0x1,_0x56646d);}}const _0x2a173d=[];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'](_0x33f4ed){let _0x5d7bbe=this['posAtStart'];for(let _0x3141ea of this['children']){if(_0x3141ea==_0x33f4ed)return _0x5d7bbe;_0x5d7bbe+=_0x3141ea['length']+_0x3141ea['breakAfter'];}throw new RangeError('Invalid\x20child\x20in\x20posBefore');}['posAfter'](_0x2d61fb){return this['posBefore'](_0x2d61fb)+_0x2d61fb['length'];}['sync'](_0x1aa820,_0x44c7ae){if(0x2&this['flags']){let _0x41720d,_0x1f78d4=this['dom'],_0x37c5f9=null;for(let _0x2dd24e of this['children']){if(0x7&_0x2dd24e['flags']){if(!_0x2dd24e['dom']&&(_0x41720d=_0x37c5f9?_0x37c5f9['nextSibling']:_0x1f78d4['firstChild'])){let _0x4f3091=ContentView['get'](_0x41720d);(!_0x4f3091||!_0x4f3091['parent']&&_0x4f3091['canReuseDOM'](_0x2dd24e))&&_0x2dd24e['reuseDOM'](_0x41720d);}_0x2dd24e['sync'](_0x1aa820,_0x44c7ae),_0x2dd24e['flags']&=-0x8;}if(_0x41720d=_0x37c5f9?_0x37c5f9['nextSibling']:_0x1f78d4['firstChild'],_0x44c7ae&&!_0x44c7ae['written']&&_0x44c7ae['node']==_0x1f78d4&&_0x41720d!=_0x2dd24e['dom']&&(_0x44c7ae['written']=!0x0),_0x2dd24e['dom']['parentNode']==_0x1f78d4){for(;_0x41720d&&_0x41720d!=_0x2dd24e['dom'];)_0x41720d=_0x4a6750(_0x41720d);}else _0x1f78d4['insertBefore'](_0x2dd24e['dom'],_0x41720d);_0x37c5f9=_0x2dd24e['dom'];}for(_0x41720d=_0x37c5f9?_0x37c5f9['nextSibling']:_0x1f78d4['firstChild'],_0x41720d&&_0x44c7ae&&_0x44c7ae['node']==_0x1f78d4&&(_0x44c7ae['written']=!0x0);_0x41720d;)_0x41720d=_0x4a6750(_0x41720d);}else{if(0x1&this['flags']){for(let _0x3cfa9a of this['children'])0x7&_0x3cfa9a['flags']&&(_0x3cfa9a['sync'](_0x1aa820,_0x44c7ae),_0x3cfa9a['flags']&=-0x8);}}}['reuseDOM'](_0x414e4f){}['localPosFromDOM'](_0x5abac9,_0x101ebc){let _0x5a7b8b;if(_0x5abac9==this['dom'])_0x5a7b8b=this['dom']['childNodes'][_0x101ebc];else{let _0x40c307=0x0==_0x1f93f4(_0x5abac9)?0x0:0x0==_0x101ebc?-0x1:0x1;for(;;){let _0x278363=_0x5abac9['parentNode'];if(_0x278363==this['dom'])break;0x0==_0x40c307&&_0x278363['firstChild']!=_0x278363['lastChild']&&(_0x40c307=_0x5abac9==_0x278363['firstChild']?-0x1:0x1),_0x5abac9=_0x278363;}_0x5a7b8b=_0x40c307<0x0?_0x5abac9:_0x5abac9['nextSibling'];}if(_0x5a7b8b==this['dom']['firstChild'])return 0x0;for(;_0x5a7b8b&&!ContentView['get'](_0x5a7b8b);)_0x5a7b8b=_0x5a7b8b['nextSibling'];if(!_0x5a7b8b)return this['length'];for(let _0x2878fe=0x0,_0x220202=0x0;;_0x2878fe++){let _0x247346=this['children'][_0x2878fe];if(_0x247346['dom']==_0x5a7b8b)return _0x220202;_0x220202+=_0x247346['length']+_0x247346['breakAfter'];}}['domBoundsAround'](_0x341623,_0x5d75cc,_0x4af51f=0x0){let _0x25524a=-0x1,_0x470555=-0x1,_0x237d64=-0x1,_0x35a13c=-0x1;for(let _0x178d7f=0x0,_0x3d62cb=_0x4af51f,_0x2dabf9=_0x4af51f;_0x178d7f<this['children']['length'];_0x178d7f++){let _0x5488bf=this['children'][_0x178d7f],_0x36064c=_0x3d62cb+_0x5488bf['length'];if(_0x3d62cb<_0x341623&&_0x36064c>_0x5d75cc)return _0x5488bf['domBoundsAround'](_0x341623,_0x5d75cc,_0x3d62cb);if(_0x36064c>=_0x341623&&-0x1==_0x25524a&&(_0x25524a=_0x178d7f,_0x470555=_0x3d62cb),_0x3d62cb>_0x5d75cc&&_0x5488bf['dom']['parentNode']==this['dom']){_0x237d64=_0x178d7f,_0x35a13c=_0x2dabf9;break;}_0x2dabf9=_0x36064c,_0x3d62cb=_0x36064c+_0x5488bf['breakAfter'];}return{'from':_0x470555,'to':_0x35a13c<0x0?_0x4af51f+this['length']:_0x35a13c,'startDOM':(_0x25524a?this['children'][_0x25524a-0x1]['dom']['nextSibling']:null)||this['dom']['firstChild'],'endDOM':_0x237d64<this['children']['length']&&_0x237d64>=0x0?this['children'][_0x237d64]['dom']:null};}['markDirty'](_0x3d13b8=!0x1){this['flags']|=0x2,this['markParentsDirty'](_0x3d13b8);}['markParentsDirty'](_0x36c70b){for(let _0x1e21b2=this['parent'];_0x1e21b2;_0x1e21b2=_0x1e21b2['parent']){if(_0x36c70b&&(_0x1e21b2['flags']|=0x2),0x1&_0x1e21b2['flags'])return;_0x1e21b2['flags']|=0x1,_0x36c70b=!0x1;}}['setParent'](_0x3ddaa2){this['parent']!=_0x3ddaa2&&(this['parent']=_0x3ddaa2,0x7&this['flags']&&this['markParentsDirty'](!0x0));}['setDOM'](_0x3091f4){this['dom']!=_0x3091f4&&(this['dom']&&(this['dom']['cmView']=null),this['dom']=_0x3091f4,_0x3091f4['cmView']=this);}get['rootView'](){for(let _0x52e683=this;;){let _0x3ba6e3=_0x52e683['parent'];if(!_0x3ba6e3)return _0x52e683;_0x52e683=_0x3ba6e3;}}['replaceChildren'](_0x1db567,_0x7c9c72,_0x5ab807=_0x2a173d){this['markDirty']();for(let _0x535160=_0x1db567;_0x535160<_0x7c9c72;_0x535160++){let _0x7774d9=this['children'][_0x535160];_0x7774d9['parent']==this&&_0x5ab807['indexOf'](_0x7774d9)<0x0&&_0x7774d9['destroy']();}_0x5ab807['length']<0xfa?this['children']['splice'](_0x1db567,_0x7c9c72-_0x1db567,..._0x5ab807):this['children']=[]['concat'](this['children']['slice'](0x0,_0x1db567),_0x5ab807,this['children']['slice'](_0x7c9c72));for(let _0x3f676b=0x0;_0x3f676b<_0x5ab807['length'];_0x3f676b++)_0x5ab807[_0x3f676b]['setParent'](this);}['ignoreMutation'](_0x347651){return!0x1;}['ignoreEvent'](_0x2321a1){return!0x1;}['childCursor'](_0x5b95e3=this['length']){return new _0x1a53f3(this['children'],_0x5b95e3,this['children']['length']);}['childPos'](_0xcc05b3,_0x563de5=0x1){return this['childCursor']()['findPos'](_0xcc05b3,_0x563de5);}['toString'](){let _0x5173a5=this['constructor']['name']['replace']('View','');return _0x5173a5+(this['children']['length']?'('+this['children']['join']()+')':this['length']?'['+('Text'==_0x5173a5?this['text']:this['length'])+']':'')+(this['breakAfter']?'#':'');}static['get'](_0x35d543){return _0x35d543['cmView'];}get['isEditable'](){return!0x0;}get['isWidget'](){return!0x1;}get['isHidden'](){return!0x1;}['merge'](_0x3ae220,_0x3f6be4,_0x1ddb97,_0x37867c,_0x5cdfab,_0x323a82){return!0x1;}['become'](_0x43d20a){return!0x1;}['canReuseDOM'](_0x41ef88){return _0x41ef88['constructor']==this['constructor']&&!(0x8&(this['flags']|_0x41ef88['flags']));}['getSide'](){return 0x0;}['destroy'](){for(let _0x564152 of this['children'])_0x564152['parent']==this&&_0x564152['destroy']();this['parent']=null;}}function _0x4a6750(_0x813946){let _0xd34731=_0x813946['nextSibling'];return _0x813946['parentNode']['removeChild'](_0x813946),_0xd34731;}ContentView['prototype']['breakAfter']=0x0;class _0x1a53f3{constructor(_0x26a103,_0x45a644,_0x311fbe){this['children']=_0x26a103,this['pos']=_0x45a644,this['i']=_0x311fbe,this['off']=0x0;}['findPos'](_0x1f35db,_0x31c592=0x1){for(;;){if(_0x1f35db>this['pos']||_0x1f35db==this['pos']&&(_0x31c592>0x0||0x0==this['i']||this['children'][this['i']-0x1]['breakAfter']))return this['off']=_0x1f35db-this['pos'],this;let _0x4e3b01=this['children'][--this['i']];this['pos']-=_0x4e3b01['length']+_0x4e3b01['breakAfter'];}}}function _0x516a2c(_0x2a6c4e,_0x19788e,_0xb01540,_0x1ce8c2,_0x1110ea,_0x284cb6,_0x3592af,_0x3575ff,_0x2b2dab){let {children:_0x5872f2}=_0x2a6c4e,_0x171fe1=_0x5872f2['length']?_0x5872f2[_0x19788e]:null,_0x438413=_0x284cb6['length']?_0x284cb6[_0x284cb6['length']-0x1]:null,_0x39871c=_0x438413?_0x438413['breakAfter']:_0x3592af;if(!(_0x19788e==_0x1ce8c2&&_0x171fe1&&!_0x3592af&&!_0x39871c&&_0x284cb6['length']<0x2&&_0x171fe1['merge'](_0xb01540,_0x1110ea,_0x284cb6['length']?_0x438413:null,0x0==_0xb01540,_0x3575ff,_0x2b2dab))){if(_0x1ce8c2<_0x5872f2['length']){let _0x23eb84=_0x5872f2[_0x1ce8c2];_0x23eb84&&(_0x1110ea<_0x23eb84['length']||_0x23eb84['breakAfter']&&(null==_0x438413?void 0x0:_0x438413['breakAfter']))?(_0x19788e==_0x1ce8c2&&(_0x23eb84=_0x23eb84['split'](_0x1110ea),_0x1110ea=0x0),!_0x39871c&&_0x438413&&_0x23eb84['merge'](0x0,_0x1110ea,_0x438413,!0x0,0x0,_0x2b2dab)?_0x284cb6[_0x284cb6['length']-0x1]=_0x23eb84:((_0x1110ea||_0x23eb84['children']['length']&&!_0x23eb84['children'][0x0]['length'])&&_0x23eb84['merge'](0x0,_0x1110ea,null,!0x1,0x0,_0x2b2dab),_0x284cb6['push'](_0x23eb84))):(null==_0x23eb84?void 0x0:_0x23eb84['breakAfter'])&&(_0x438413?_0x438413['breakAfter']=0x1:_0x3592af=0x1),_0x1ce8c2++;}for(_0x171fe1&&(_0x171fe1['breakAfter']=_0x3592af,_0xb01540>0x0&&(!_0x3592af&&_0x284cb6['length']&&_0x171fe1['merge'](_0xb01540,_0x171fe1['length'],_0x284cb6[0x0],!0x1,_0x3575ff,0x0)?_0x171fe1['breakAfter']=_0x284cb6['shift']()['breakAfter']:(_0xb01540<_0x171fe1['length']||_0x171fe1['children']['length']&&0x0==_0x171fe1['children'][_0x171fe1['children']['length']-0x1]['length'])&&_0x171fe1['merge'](_0xb01540,_0x171fe1['length'],null,!0x1,_0x3575ff,0x0),_0x19788e++));_0x19788e<_0x1ce8c2&&_0x284cb6['length'];)if(_0x5872f2[_0x1ce8c2-0x1]['become'](_0x284cb6[_0x284cb6['length']-0x1]))_0x1ce8c2--,_0x284cb6['pop'](),_0x2b2dab=_0x284cb6['length']?0x0:_0x3575ff;else{if(!_0x5872f2[_0x19788e]['become'](_0x284cb6[0x0]))break;_0x19788e++,_0x284cb6['shift'](),_0x3575ff=_0x284cb6['length']?0x0:_0x2b2dab;}!_0x284cb6['length']&&_0x19788e&&_0x1ce8c2<_0x5872f2['length']&&!_0x5872f2[_0x19788e-0x1]['breakAfter']&&_0x5872f2[_0x1ce8c2]['merge'](0x0,0x0,_0x5872f2[_0x19788e-0x1],!0x1,_0x3575ff,_0x2b2dab)&&_0x19788e--,(_0x19788e<_0x1ce8c2||_0x284cb6['length'])&&_0x2a6c4e['replaceChildren'](_0x19788e,_0x1ce8c2,_0x284cb6);}}function _0x550899(_0x667e92,_0x334a71,_0x477723,_0x29c31c,_0xbf11ef,_0x430ef8){let _0x1b2f44=_0x667e92['childCursor'](),{i:_0x54a417,off:_0x6c12bd}=_0x1b2f44['findPos'](_0x477723,0x1),{i:_0x24e755,off:_0x53ec1e}=_0x1b2f44['findPos'](_0x334a71,-0x1),_0x2220b6=_0x334a71-_0x477723;for(let _0x305501 of _0x29c31c)_0x2220b6+=_0x305501['length'];_0x667e92['length']+=_0x2220b6,_0x516a2c(_0x667e92,_0x24e755,_0x53ec1e,_0x54a417,_0x6c12bd,_0x29c31c,0x0,_0xbf11ef,_0x430ef8);}class TextView extends ContentView{constructor(_0x36fb66){super(),this['text']=_0x36fb66;}get['length'](){return this['text']['length'];}['createDOM'](_0x223b2e){this['setDOM'](_0x223b2e||document['createTextNode'](this['text']));}['sync'](_0x50a73d,_0x4919a2){this['dom']||this['createDOM'](),this['dom']['nodeValue']!=this['text']&&(_0x4919a2&&_0x4919a2['node']==this['dom']&&(_0x4919a2['written']=!0x0),this['dom']['nodeValue']=this['text']);}['reuseDOM'](_0x33ad93){0x3==_0x33ad93['nodeType']&&this['createDOM'](_0x33ad93);}['merge'](_0x16663a,_0x571c1c,_0x516ef4){return!(0x8&this['flags']||_0x516ef4&&(!(_0x516ef4 instanceof TextView)||this['length']-(_0x571c1c-_0x16663a)+_0x516ef4['length']>0x100||0x8&_0x516ef4['flags']))&&(this['text']=this['text']['slice'](0x0,_0x16663a)+(_0x516ef4?_0x516ef4['text']:'')+this['text']['slice'](_0x571c1c),this['markDirty'](),!0x0);}['split'](_0x42d691){let _0x484ecb=new TextView(this['text']['slice'](_0x42d691));return this['text']=this['text']['slice'](0x0,_0x42d691),this['markDirty'](),_0x484ecb['flags']|=0x8&this['flags'],_0x484ecb;}['localPosFromDOM'](_0x2d0e71,_0x2d9fc1){return _0x2d0e71==this['dom']?_0x2d9fc1:_0x2d9fc1?this['text']['length']:0x0;}['domAtPos'](_0x238afa){return new _0x42d446(this['dom'],_0x238afa);}['domBoundsAround'](_0x3fea91,_0x5461a6,_0x199744){return{'from':_0x199744,'to':_0x199744+this['length'],'startDOM':this['dom'],'endDOM':this['dom']['nextSibling']};}['coordsAt'](_0x3f769e,_0x47f26e){return function(_0x412bc5,_0x397eb7,_0x236ac0){let _0x5625f0=_0x412bc5['nodeValue']['length'];_0x397eb7>_0x5625f0&&(_0x397eb7=_0x5625f0);let _0x54e1ca=_0x397eb7,_0x1f36b8=_0x397eb7,_0x6c2493=0x0;0x0==_0x397eb7&&_0x236ac0<0x0||_0x397eb7==_0x5625f0&&_0x236ac0>=0x0?_0x7f953['chrome']||_0x7f953['gecko']||(_0x397eb7?(_0x54e1ca--,_0x6c2493=0x1):_0x1f36b8<_0x5625f0&&(_0x1f36b8++,_0x6c2493=-0x1)):_0x236ac0<0x0?_0x54e1ca--:_0x1f36b8<_0x5625f0&&_0x1f36b8++;let _0x2b517b=_0x546451(_0x412bc5,_0x54e1ca,_0x1f36b8)['getClientRects']();if(!_0x2b517b['length'])return null;let _0x44aec2=_0x2b517b[(_0x6c2493?_0x6c2493<0x0:_0x236ac0>=0x0)?0x0:_0x2b517b['length']-0x1];return _0x7f953['safari']&&!_0x6c2493&&0x0==_0x44aec2['width']&&(_0x44aec2=Array['prototype']['find']['call'](_0x2b517b,_0x3b5e2a=>_0x3b5e2a['width'])||_0x44aec2),_0x6c2493?_0xccdbb2(_0x44aec2,_0x6c2493<0x0):_0x44aec2||null;}(this['dom'],_0x3f769e,_0x47f26e);}}class _0x2d7751 extends ContentView{constructor(_0x2332a9,_0x58d58f=[],_0x4000bb=0x0){super(),this['mark']=_0x2332a9,this['children']=_0x58d58f,this['length']=_0x4000bb;for(let _0x5c72af of _0x58d58f)_0x5c72af['setParent'](this);}['setAttrs'](_0x5aaecd){if(_0x1fed96(_0x5aaecd),this['mark']['class']&&(_0x5aaecd['className']=this['mark']['class']),this['mark']['attrs']){for(let _0x2aeb89 in this['mark']['attrs'])_0x5aaecd['setAttribute'](_0x2aeb89,this['mark']['attrs'][_0x2aeb89]);}return _0x5aaecd;}['canReuseDOM'](_0x2ba7aa){return super['canReuseDOM'](_0x2ba7aa)&&!(0x8&(this['flags']|_0x2ba7aa['flags']));}['reuseDOM'](_0xb8af11){_0xb8af11['nodeName']==this['mark']['tagName']['toUpperCase']()&&(this['setDOM'](_0xb8af11),this['flags']|=0x6);}['sync'](_0x29b525,_0x2d4b37){this['dom']?0x4&this['flags']&&this['setAttrs'](this['dom']):this['setDOM'](this['setAttrs'](document['createElement'](this['mark']['tagName']))),super['sync'](_0x29b525,_0x2d4b37);}['merge'](_0x1ada6d,_0x5accee,_0x3c021e,_0x20a4d3,_0x5ca448,_0x48eef0){return(!_0x3c021e||!(!(_0x3c021e instanceof _0x2d7751&&_0x3c021e['mark']['eq'](this['mark']))||_0x1ada6d&&_0x5ca448<=0x0||_0x5accee<this['length']&&_0x48eef0<=0x0))&&(_0x550899(this,_0x1ada6d,_0x5accee,_0x3c021e?_0x3c021e['children']['slice']():[],_0x5ca448-0x1,_0x48eef0-0x1),this['markDirty'](),!0x0);}['split'](_0x39f0e9){let _0x16ffc2=[],_0x2e7de9=0x0,_0x58317b=-0x1,_0x5f2384=0x0;for(let _0x584e10 of this['children']){let _0x2867c3=_0x2e7de9+_0x584e10['length'];_0x2867c3>_0x39f0e9&&_0x16ffc2['push'](_0x2e7de9<_0x39f0e9?_0x584e10['split'](_0x39f0e9-_0x2e7de9):_0x584e10),_0x58317b<0x0&&_0x2e7de9>=_0x39f0e9&&(_0x58317b=_0x5f2384),_0x2e7de9=_0x2867c3,_0x5f2384++;}let _0x3f8a4f=this['length']-_0x39f0e9;return this['length']=_0x39f0e9,_0x58317b>-0x1&&(this['children']['length']=_0x58317b,this['markDirty']()),new _0x2d7751(this['mark'],_0x16ffc2,_0x3f8a4f);}['domAtPos'](_0x1b35b4){return _0x16fb56(this,_0x1b35b4);}['coordsAt'](_0x390eb1,_0x388d9e){return _0x13d5d1(this,_0x390eb1,_0x388d9e);}}class WidgetView extends ContentView{static['create'](_0x5e1218,_0x1e058c,_0x5d3cef){return new WidgetView(_0x5e1218,_0x1e058c,_0x5d3cef);}constructor(_0x4e50d0,_0x12a784,_0x57eac6){super(),this['widget']=_0x4e50d0,this['length']=_0x12a784,this['side']=_0x57eac6,this['prevWidget']=null;}['split'](_0x5878c2){let _0x437430=WidgetView['create'](this['widget'],this['length']-_0x5878c2,this['side']);return this['length']-=_0x5878c2,_0x437430;}['sync'](_0x3ca309){this['dom']&&this['widget']['updateDOM'](this['dom'],_0x3ca309)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0x3ca309)),this['widget']['editable']||(this['dom']['contentEditable']='false'));}['getSide'](){return this['side'];}['merge'](_0x4e33e3,_0x5bf668,_0x54c55c,_0x46158d,_0x1af401,_0x5ae563){return!(_0x54c55c&&(!(_0x54c55c instanceof WidgetView&&this['widget']['compare'](_0x54c55c['widget']))||_0x4e33e3>0x0&&_0x1af401<=0x0||_0x5bf668<this['length']&&_0x5ae563<=0x0))&&(this['length']=_0x4e33e3+(_0x54c55c?_0x54c55c['length']:0x0)+(this['length']-_0x5bf668),!0x0);}['become'](_0x2a49ba){return _0x2a49ba instanceof WidgetView&&_0x2a49ba['side']==this['side']&&this['widget']['constructor']==_0x2a49ba['widget']['constructor']&&(this['widget']['compare'](_0x2a49ba['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x2a49ba['widget'],this['length']=_0x2a49ba['length'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x483065){return this['widget']['ignoreEvent'](_0x483065);}get['overrideDOMText'](){if(0x0==this['length'])return Text['empty'];let _0x4368c1=this;for(;_0x4368c1['parent'];)_0x4368c1=_0x4368c1['parent'];let {view:_0x4a63ba}=_0x4368c1,_0x1958d9=_0x4a63ba&&_0x4a63ba['state']['doc'],_0xde5e61=this['posAtStart'];return _0x1958d9?_0x1958d9['slice'](_0xde5e61,_0xde5e61+this['length']):Text['empty'];}['domAtPos'](_0x5e3840){return(this['length']?0x0==_0x5e3840:this['side']>0x0)?_0x42d446['before'](this['dom']):_0x42d446['after'](this['dom'],_0x5e3840==this['length']);}['domBoundsAround'](){return null;}['coordsAt'](_0x95363,_0x4feb80){let _0x4b08aa=this['widget']['coordsAt'](this['dom'],_0x95363,_0x4feb80);if(_0x4b08aa)return _0x4b08aa;let _0x3c49a1=this['dom']['getClientRects'](),_0x4805e9=null;if(!_0x3c49a1['length'])return null;let _0x3edf69=this['side']?this['side']<0x0:_0x95363>0x0;for(let _0x37435f=_0x3edf69?_0x3c49a1['length']-0x1:0x0;_0x4805e9=_0x3c49a1[_0x37435f],!(_0x95363>0x0?0x0==_0x37435f:_0x37435f==_0x3c49a1['length']-0x1||_0x4805e9['top']<_0x4805e9['bottom']);_0x37435f+=_0x3edf69?-0x1:0x1);return _0xccdbb2(_0x4805e9,!_0x3edf69);}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(_0x119a9a){super(),this['side']=_0x119a9a;}get['length'](){return 0x0;}['merge'](){return!0x1;}['become'](_0x834cc2){return _0x834cc2 instanceof WidgetBufferView&&_0x834cc2['side']==this['side'];}['split'](){return new WidgetBufferView(this['side']);}['sync'](){if(!this['dom']){let _0x222161=document['createElement']('img');_0x222161['className']='cm-widgetBuffer',_0x222161['setAttribute']('aria-hidden','true'),this['setDOM'](_0x222161);}}['getSide'](){return this['side'];}['domAtPos'](_0x58a834){return this['side']>0x0?_0x42d446['before'](this['dom']):_0x42d446['after'](this['dom']);}['localPosFromDOM'](){return 0x0;}['domBoundsAround'](){return null;}['coordsAt'](_0x32a06b){return this['dom']['getBoundingClientRect']();}get['overrideDOMText'](){return Text['empty'];}get['isHidden'](){return!0x0;}}function _0x16fb56(_0x2b5756,_0x10c999){let _0x10f5a0=_0x2b5756['dom'],{children:_0x5b417f}=_0x2b5756,_0x7bd499=0x0;for(let _0x2e800e=0x0;_0x7bd499<_0x5b417f['length'];_0x7bd499++){let _0x55b4a1=_0x5b417f[_0x7bd499],_0x2bd794=_0x2e800e+_0x55b4a1['length'];if(!(_0x2bd794==_0x2e800e&&_0x55b4a1['getSide']()<=0x0)){if(_0x10c999>_0x2e800e&&_0x10c999<_0x2bd794&&_0x55b4a1['dom']['parentNode']==_0x10f5a0)return _0x55b4a1['domAtPos'](_0x10c999-_0x2e800e);if(_0x10c999<=_0x2e800e)break;_0x2e800e=_0x2bd794;}}for(let _0x1af1c4=_0x7bd499;_0x1af1c4>0x0;_0x1af1c4--){let _0x3b93ec=_0x5b417f[_0x1af1c4-0x1];if(_0x3b93ec['dom']['parentNode']==_0x10f5a0)return _0x3b93ec['domAtPos'](_0x3b93ec['length']);}for(let _0x15674b=_0x7bd499;_0x15674b<_0x5b417f['length'];_0x15674b++){let _0xed881b=_0x5b417f[_0x15674b];if(_0xed881b['dom']['parentNode']==_0x10f5a0)return _0xed881b['domAtPos'](0x0);}return new _0x42d446(_0x10f5a0,0x0);}function _0x38c1bb(_0x77b07b,_0xd55ecf,_0x58dda7){let _0x419ce2,{children:_0x2e104e}=_0x77b07b;_0x58dda7>0x0&&_0xd55ecf instanceof _0x2d7751&&_0x2e104e['length']&&(_0x419ce2=_0x2e104e[_0x2e104e['length']-0x1])instanceof _0x2d7751&&_0x419ce2['mark']['eq'](_0xd55ecf['mark'])?_0x38c1bb(_0x419ce2,_0xd55ecf['children'][0x0],_0x58dda7-0x1):(_0x2e104e['push'](_0xd55ecf),_0xd55ecf['setParent'](_0x77b07b)),_0x77b07b['length']+=_0xd55ecf['length'];}function _0x13d5d1(_0x3ece78,_0x48e290,_0x3437ff){let _0x4aa316=null,_0x2d1e29=-0x1,_0x3fc6b1=null,_0x180850=-0x1;!function _0x43f7d8(_0x4b4844,_0x4d16c0){for(let _0x98d49b=0x0,_0x3e6c49=0x0;_0x98d49b<_0x4b4844['children']['length']&&_0x3e6c49<=_0x4d16c0;_0x98d49b++){let _0x5f1f7e=_0x4b4844['children'][_0x98d49b],_0x312a50=_0x3e6c49+_0x5f1f7e['length'];_0x312a50>=_0x4d16c0&&(_0x5f1f7e['children']['length']?_0x43f7d8(_0x5f1f7e,_0x4d16c0-_0x3e6c49):(!_0x3fc6b1||_0x3fc6b1['isHidden']&&(_0x3437ff>0x0||_0xfdd2db(_0x3fc6b1,_0x5f1f7e)))&&(_0x312a50>_0x4d16c0||_0x3e6c49==_0x312a50&&_0x5f1f7e['getSide']()>0x0)?(_0x3fc6b1=_0x5f1f7e,_0x180850=_0x4d16c0-_0x3e6c49):(_0x3e6c49<_0x4d16c0||_0x3e6c49==_0x312a50&&_0x5f1f7e['getSide']()<0x0&&!_0x5f1f7e['isHidden'])&&(_0x4aa316=_0x5f1f7e,_0x2d1e29=_0x4d16c0-_0x3e6c49)),_0x3e6c49=_0x312a50;}}(_0x3ece78,_0x48e290);let _0x37d4c5=(_0x3437ff<0x0?_0x4aa316:_0x3fc6b1)||_0x4aa316||_0x3fc6b1;return _0x37d4c5?_0x37d4c5['coordsAt'](Math['max'](0x0,_0x37d4c5==_0x4aa316?_0x2d1e29:_0x180850),_0x3437ff):function(_0xbea49b){let _0x326198=_0xbea49b['dom']['lastChild'];if(!_0x326198)return _0xbea49b['dom']['getBoundingClientRect']();let _0x3e3da8=_0xb52415(_0x326198);return _0x3e3da8[_0x3e3da8['length']-0x1]||null;}(_0x3ece78);}function _0xfdd2db(_0x51ae2a,_0x4e3546){let _0x57dbda=_0x51ae2a['coordsAt'](0x0,0x1),_0xd41a8b=_0x4e3546['coordsAt'](0x0,0x1);return _0x57dbda&&_0xd41a8b&&_0xd41a8b['top']<_0x57dbda['bottom'];}function _0x2e53d1(_0x44cd67,_0x44a4a0){for(let _0x11673f in _0x44cd67)'class'==_0x11673f&&_0x44a4a0['class']?_0x44a4a0['class']+='\x20'+_0x44cd67['class']:'style'==_0x11673f&&_0x44a4a0['style']?_0x44a4a0['style']+=';'+_0x44cd67['style']:_0x44a4a0[_0x11673f]=_0x44cd67[_0x11673f];return _0x44a4a0;}TextView['prototype']['children']=WidgetView['prototype']['children']=WidgetBufferView['prototype']['children']=_0x2a173d;const _0x5e10dd=Object['create'](null);function _0x3a94e9(_0x4ddb2a,_0x48c2bc,_0x42856b){if(_0x4ddb2a==_0x48c2bc)return!0x0;_0x4ddb2a||(_0x4ddb2a=_0x5e10dd),_0x48c2bc||(_0x48c2bc=_0x5e10dd);let _0x5e33a3=Object['keys'](_0x4ddb2a),_0x12a361=Object['keys'](_0x48c2bc);if(_0x5e33a3['length']-(_0x42856b&&_0x5e33a3['indexOf'](_0x42856b)>-0x1?0x1:0x0)!=_0x12a361['length']-(_0x42856b&&_0x12a361['indexOf'](_0x42856b)>-0x1?0x1:0x0))return!0x1;for(let _0x265933 of _0x5e33a3)if(_0x265933!=_0x42856b&&(-0x1==_0x12a361['indexOf'](_0x265933)||_0x4ddb2a[_0x265933]!==_0x48c2bc[_0x265933]))return!0x1;return!0x0;}function _0x2a90b6(_0x3e5830,_0x52bbe8,_0x1affba){let _0x563cd1=!0x1;if(_0x52bbe8){for(let _0x4dff7f in _0x52bbe8)_0x1affba&&_0x4dff7f in _0x1affba||(_0x563cd1=!0x0,'style'==_0x4dff7f?_0x3e5830['style']['cssText']='':_0x3e5830['removeAttribute'](_0x4dff7f));}if(_0x1affba){for(let _0x3128c9 in _0x1affba)_0x52bbe8&&_0x52bbe8[_0x3128c9]==_0x1affba[_0x3128c9]||(_0x563cd1=!0x0,'style'==_0x3128c9?_0x3e5830['style']['cssText']=_0x1affba[_0x3128c9]:_0x3e5830['setAttribute'](_0x3128c9,_0x1affba[_0x3128c9]));}return _0x563cd1;}function _0x36b3ee(_0x2410b4){let _0xb66726=Object['create'](null);for(let _0x158a58=0x0;_0x158a58<_0x2410b4['attributes']['length'];_0x158a58++){let _0x27cb28=_0x2410b4['attributes'][_0x158a58];_0xb66726[_0x27cb28['name']]=_0x27cb28['value'];}return _0xb66726;}class WidgetType{['eq'](_0x21f998){return!0x1;}['updateDOM'](_0x1c59f8,_0x368ef2){return!0x1;}['compare'](_0xff60f9){return this==_0xff60f9||this['constructor']==_0xff60f9['constructor']&&this['eq'](_0xff60f9);}get['estimatedHeight'](){return-0x1;}get['lineBreaks'](){return 0x0;}['ignoreEvent'](_0x5e7791){return!0x0;}['coordsAt'](_0x38a04e,_0x339124,_0x49edc5){return null;}get['isHidden'](){return!0x1;}get['editable'](){return!0x1;}['destroy'](_0x4ea016){}}var _0x236364=function(_0x466a9f){return _0x466a9f[_0x466a9f['Text']=0x0]='Text',_0x466a9f[_0x466a9f['WidgetBefore']=0x1]='WidgetBefore',_0x466a9f[_0x466a9f['WidgetAfter']=0x2]='WidgetAfter',_0x466a9f[_0x466a9f['WidgetRange']=0x3]='WidgetRange',_0x466a9f;}(_0x236364||(_0x236364={}));class Decoration extends _0x3b0969{constructor(_0x254dd8,_0x134ba7,_0x4bf51e,_0x27d420){super(),this['startSide']=_0x254dd8,this['endSide']=_0x134ba7,this['widget']=_0x4bf51e,this['spec']=_0x27d420;}get['heightRelevant'](){return!0x1;}static['mark'](_0x483b9e){return new MarkDecoration(_0x483b9e);}static['widget'](_0x3128d0){let _0x5f3c5e=Math['max'](-0x2710,Math['min'](0x2710,_0x3128d0['side']||0x0)),_0x6da705=!!_0x3128d0['block'];return _0x5f3c5e+=_0x6da705&&!_0x3128d0['inlineOrder']?_0x5f3c5e>0x0?0x11e1a300:-0x17d78400:_0x5f3c5e>0x0?0x5f5e100:-0x5f5e100,new PointDecoration(_0x3128d0,_0x5f3c5e,_0x5f3c5e,_0x6da705,_0x3128d0['widget']||null,!0x1);}static['replace'](_0x5820f1){let _0x1516fe,_0x442f3d,_0xcb7530=!!_0x5820f1['block'];if(_0x5820f1['isBlockGap'])_0x1516fe=-0x1dcd6500,_0x442f3d=0x17d78400;else{let {start:_0xec1537,end:_0x29eb59}=_0x331aca(_0x5820f1,_0xcb7530);_0x1516fe=(_0xec1537?_0xcb7530?-0x11e1a300:-0x1:0x1dcd6500)-0x1,_0x442f3d=0x1+(_0x29eb59?_0xcb7530?0xbebc200:0x1:-0x23c34600);}return new PointDecoration(_0x5820f1,_0x1516fe,_0x442f3d,_0xcb7530,_0x5820f1['widget']||null,!0x0);}static['line'](_0x2f3e8b){return new LineDecoration(_0x2f3e8b);}static['set'](_0x29a946,_0x4290b7=!0x1){return RangeSet['of'](_0x29a946,_0x4290b7);}['hasHeight'](){return!!this['widget']&&this['widget']['estimatedHeight']>-0x1;}}Decoration['none']=RangeSet['empty'];class MarkDecoration extends Decoration{constructor(_0x1395eb){let {start:_0x14b814,end:_0x14e632}=_0x331aca(_0x1395eb);super(_0x14b814?-0x1:0x1dcd6500,_0x14e632?0x1:-0x23c34600,null,_0x1395eb),this['tagName']=_0x1395eb['tagName']||'span',this['class']=_0x1395eb['class']||'',this['attrs']=_0x1395eb['attributes']||null;}['eq'](_0x29a947){var _0x5e3422,_0x580046;return this==_0x29a947||_0x29a947 instanceof MarkDecoration&&this['tagName']==_0x29a947['tagName']&&(this['class']||(null===(_0x5e3422=this['attrs'])||void 0x0===_0x5e3422?void 0x0:_0x5e3422['class']))==(_0x29a947['class']||(null===(_0x580046=_0x29a947['attrs'])||void 0x0===_0x580046?void 0x0:_0x580046['class']))&&_0x3a94e9(this['attrs'],_0x29a947['attrs'],'class');}['range'](_0x30e2fa,_0x5088ba=_0x30e2fa){if(_0x30e2fa>=_0x5088ba)throw new RangeError('Mark\x20decorations\x20may\x20not\x20be\x20empty');return super['range'](_0x30e2fa,_0x5088ba);}}MarkDecoration['prototype']['point']=!0x1;class LineDecoration extends Decoration{constructor(_0x3cb00f){super(-0xbebc200,-0xbebc200,null,_0x3cb00f);}['eq'](_0x520576){return _0x520576 instanceof LineDecoration&&this['spec']['class']==_0x520576['spec']['class']&&_0x3a94e9(this['spec']['attributes'],_0x520576['spec']['attributes']);}['range'](_0x5f2b4f,_0x54e447=_0x5f2b4f){if(_0x54e447!=_0x5f2b4f)throw new RangeError('Line\x20decoration\x20ranges\x20must\x20be\x20zero-length');return super['range'](_0x5f2b4f,_0x54e447);}}LineDecoration['prototype']['mapMode']=_0x57c239['TrackBefore'],LineDecoration['prototype']['point']=!0x0;class PointDecoration extends Decoration{constructor(_0x178113,_0x1f633e,_0x412046,_0x506720,_0xd159,_0x1ce956){super(_0x1f633e,_0x412046,_0xd159,_0x178113),this['block']=_0x506720,this['isReplace']=_0x1ce956,this['mapMode']=_0x506720?_0x1f633e<=0x0?_0x57c239['TrackBefore']:_0x57c239['TrackAfter']:_0x57c239['TrackDel'];}get['type'](){return this['startSide']!=this['endSide']?_0x236364['WidgetRange']:this['startSide']<=0x0?_0x236364['WidgetBefore']:_0x236364['WidgetAfter'];}get['heightRelevant'](){return this['block']||!!this['widget']&&(this['widget']['estimatedHeight']>=0x5||this['widget']['lineBreaks']>0x0);}['eq'](_0x3e727){return _0x3e727 instanceof PointDecoration&&function(_0x2c6699,_0x25dc05){return _0x2c6699==_0x25dc05||!!(_0x2c6699&&_0x25dc05&&_0x2c6699['compare'](_0x25dc05));}(this['widget'],_0x3e727['widget'])&&this['block']==_0x3e727['block']&&this['startSide']==_0x3e727['startSide']&&this['endSide']==_0x3e727['endSide'];}['range'](_0x2dd971,_0x40e62d=_0x2dd971){if(this['isReplace']&&(_0x2dd971>_0x40e62d||_0x2dd971==_0x40e62d&&this['startSide']>0x0&&this['endSide']<=0x0))throw new RangeError('Invalid\x20range\x20for\x20replacement\x20decoration');if(!this['isReplace']&&_0x40e62d!=_0x2dd971)throw new RangeError('Widget\x20decorations\x20can\x20only\x20have\x20zero-length\x20ranges');return super['range'](_0x2dd971,_0x40e62d);}}function _0x331aca(_0x315508,_0xc4bc0b=!0x1){let {inclusiveStart:_0xd5ef25,inclusiveEnd:_0xc72128}=_0x315508;return null==_0xd5ef25&&(_0xd5ef25=_0x315508['inclusive']),null==_0xc72128&&(_0xc72128=_0x315508['inclusive']),{'start':null!=_0xd5ef25?_0xd5ef25:_0xc4bc0b,'end':null!=_0xc72128?_0xc72128:_0xc4bc0b};}function _0x1c0228(_0x56a11a,_0x35e7b4,_0x50a65f,_0x4f9ace=0x0){let _0x2d9ea5=_0x50a65f['length']-0x1;_0x2d9ea5>=0x0&&_0x50a65f[_0x2d9ea5]+_0x4f9ace>=_0x56a11a?_0x50a65f[_0x2d9ea5]=Math['max'](_0x50a65f[_0x2d9ea5],_0x35e7b4):_0x50a65f['push'](_0x56a11a,_0x35e7b4);}PointDecoration['prototype']['point']=!0x0;class _0x36662d extends ContentView{constructor(){super(...arguments),this['children']=[],this['length']=0x0,this['prevAttrs']=void 0x0,this['attrs']=null,this['breakAfter']=0x0;}['merge'](_0x496444,_0x552b60,_0x47dae9,_0x25ee94,_0x257771,_0x495bb1){if(_0x47dae9){if(!(_0x47dae9 instanceof _0x36662d))return!0x1;this['dom']||_0x47dae9['transferDOM'](this);}return _0x25ee94&&this['setDeco'](_0x47dae9?_0x47dae9['attrs']:null),_0x550899(this,_0x496444,_0x552b60,_0x47dae9?_0x47dae9['children']['slice']():[],_0x257771,_0x495bb1),!0x0;}['split'](_0xbcbb8a){let _0x3e2b67=new _0x36662d();if(_0x3e2b67['breakAfter']=this['breakAfter'],0x0==this['length'])return _0x3e2b67;let {i:_0x1e6df5,off:_0x31e8ef}=this['childPos'](_0xbcbb8a);_0x31e8ef&&(_0x3e2b67['append'](this['children'][_0x1e6df5]['split'](_0x31e8ef),0x0),this['children'][_0x1e6df5]['merge'](_0x31e8ef,this['children'][_0x1e6df5]['length'],null,!0x1,0x0,0x0),_0x1e6df5++);for(let _0x338b13=_0x1e6df5;_0x338b13<this['children']['length'];_0x338b13++)_0x3e2b67['append'](this['children'][_0x338b13],0x0);for(;_0x1e6df5>0x0&&0x0==this['children'][_0x1e6df5-0x1]['length'];)this['children'][--_0x1e6df5]['destroy']();return this['children']['length']=_0x1e6df5,this['markDirty'](),this['length']=_0xbcbb8a,_0x3e2b67;}['transferDOM'](_0x2420c0){this['dom']&&(this['markDirty'](),_0x2420c0['setDOM'](this['dom']),_0x2420c0['prevAttrs']=void 0x0===this['prevAttrs']?this['attrs']:this['prevAttrs'],this['prevAttrs']=void 0x0,this['dom']=null);}['setDeco'](_0x80a6c9){_0x3a94e9(this['attrs'],_0x80a6c9)||(this['dom']&&(this['prevAttrs']=this['attrs'],this['markDirty']()),this['attrs']=_0x80a6c9);}['append'](_0x3435c5,_0x2a83e9){_0x38c1bb(this,_0x3435c5,_0x2a83e9);}['addLineDeco'](_0x41f857){let _0x35ea7e=_0x41f857['spec']['attributes'],_0x45f900=_0x41f857['spec']['class'];_0x35ea7e&&(this['attrs']=_0x2e53d1(_0x35ea7e,this['attrs']||{})),_0x45f900&&(this['attrs']=_0x2e53d1({'class':_0x45f900},this['attrs']||{}));}['domAtPos'](_0x584c60){return _0x16fb56(this,_0x584c60);}['reuseDOM'](_0x58030c){'DIV'==_0x58030c['nodeName']&&(this['setDOM'](_0x58030c),this['flags']|=0x6);}['sync'](_0x2557f7,_0x2f7fb9){var _0x20d6e7;this['dom']?0x4&this['flags']&&(_0x1fed96(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']&&(_0x2a90b6(this['dom'],this['prevAttrs'],this['attrs']),this['dom']['classList']['add']('cm-line'),this['prevAttrs']=void 0x0),super['sync'](_0x2557f7,_0x2f7fb9);let _0x100bef=this['dom']['lastChild'];for(;_0x100bef&&ContentView['get'](_0x100bef)instanceof _0x2d7751;)_0x100bef=_0x100bef['lastChild'];if(!(_0x100bef&&this['length']&&('BR'==_0x100bef['nodeName']||0x0!=(null===(_0x20d6e7=ContentView['get'](_0x100bef))||void 0x0===_0x20d6e7?void 0x0:_0x20d6e7['isEditable'])||_0x7f953['ios']&&this['children']['some'](_0x328c71=>_0x328c71 instanceof TextView)))){let _0x3789f8=document['createElement']('BR');_0x3789f8['cmIgnore']=!0x0,this['dom']['appendChild'](_0x3789f8);}}['measureTextSize'](){if(0x0==this['children']['length']||this['length']>0x14)return null;let _0x4b511c,_0x198b91=0x0;for(let _0xad06ed of this['children']){if(!(_0xad06ed instanceof TextView)||/[^ -~]/['test'](_0xad06ed['text']))return null;let _0x1e2128=_0xb52415(_0xad06ed['dom']);if(0x1!=_0x1e2128['length'])return null;_0x198b91+=_0x1e2128[0x0]['width'],_0x4b511c=_0x1e2128[0x0]['height'];}return _0x198b91?{'lineHeight':this['dom']['getBoundingClientRect']()['height'],'charWidth':_0x198b91/this['length'],'textHeight':_0x4b511c}:null;}['coordsAt'](_0x48fcd3,_0x4f9354){let _0x2da671=_0x13d5d1(this,_0x48fcd3,_0x4f9354);if(!this['children']['length']&&_0x2da671&&this['parent']){let {heightOracle:_0x6dc106}=this['parent']['view']['viewState'],_0x3fa813=_0x2da671['bottom']-_0x2da671['top'];if(Math['abs'](_0x3fa813-_0x6dc106['lineHeight'])<0x2&&_0x6dc106['textHeight']<_0x3fa813){let _0x3da86f=(_0x3fa813-_0x6dc106['textHeight'])/0x2;return{'top':_0x2da671['top']+_0x3da86f,'bottom':_0x2da671['bottom']-_0x3da86f,'left':_0x2da671['left'],'right':_0x2da671['left']};}}return _0x2da671;}['become'](_0x2e348d){return _0x2e348d instanceof _0x36662d&&0x0==this['children']['length']&&0x0==_0x2e348d['children']['length']&&_0x3a94e9(this['attrs'],_0x2e348d['attrs'])&&this['breakAfter']==_0x2e348d['breakAfter'];}['covers'](){return!0x0;}static['find'](_0x38c9f9,_0x186be0){for(let _0x34d9bf=0x0,_0x193314=0x0;_0x34d9bf<_0x38c9f9['children']['length'];_0x34d9bf++){let _0x37432c=_0x38c9f9['children'][_0x34d9bf],_0x7585ec=_0x193314+_0x37432c['length'];if(_0x7585ec>=_0x186be0){if(_0x37432c instanceof _0x36662d)return _0x37432c;if(_0x7585ec>_0x186be0)break;}_0x193314=_0x7585ec+_0x37432c['breakAfter'];}return null;}}class BlockWidgetView extends ContentView{constructor(_0x4b5698,_0x11b951,_0x11a4bf){super(),this['widget']=_0x4b5698,this['length']=_0x11b951,this['deco']=_0x11a4bf,this['breakAfter']=0x0,this['prevWidget']=null;}['merge'](_0x372fe7,_0xbb90a8,_0x23d11f,_0x58c089,_0x33bfce,_0x8ff3b6){return!(_0x23d11f&&(!(_0x23d11f instanceof BlockWidgetView&&this['widget']['compare'](_0x23d11f['widget']))||_0x372fe7>0x0&&_0x33bfce<=0x0||_0xbb90a8<this['length']&&_0x8ff3b6<=0x0))&&(this['length']=_0x372fe7+(_0x23d11f?_0x23d11f['length']:0x0)+(this['length']-_0xbb90a8),!0x0);}['domAtPos'](_0x1e9379){return 0x0==_0x1e9379?_0x42d446['before'](this['dom']):_0x42d446['after'](this['dom'],_0x1e9379==this['length']);}['split'](_0x1143b4){let _0x3b23dd=this['length']-_0x1143b4;this['length']=_0x1143b4;let _0x2d1e46=new BlockWidgetView(this['widget'],_0x3b23dd,this['deco']);return _0x2d1e46['breakAfter']=this['breakAfter'],_0x2d1e46;}get['children'](){return _0x2a173d;}['sync'](_0xc7a0f2){this['dom']&&this['widget']['updateDOM'](this['dom'],_0xc7a0f2)||(this['dom']&&this['prevWidget']&&this['prevWidget']['destroy'](this['dom']),this['prevWidget']=null,this['setDOM'](this['widget']['toDOM'](_0xc7a0f2)),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'](_0x6ced8c){return _0x6ced8c instanceof BlockWidgetView&&_0x6ced8c['widget']['constructor']==this['widget']['constructor']&&(_0x6ced8c['widget']['compare'](this['widget'])||this['markDirty'](!0x0),this['dom']&&!this['prevWidget']&&(this['prevWidget']=this['widget']),this['widget']=_0x6ced8c['widget'],this['length']=_0x6ced8c['length'],this['deco']=_0x6ced8c['deco'],this['breakAfter']=_0x6ced8c['breakAfter'],!0x0);}['ignoreMutation'](){return!0x0;}['ignoreEvent'](_0x5ef55b){return this['widget']['ignoreEvent'](_0x5ef55b);}get['isEditable'](){return!0x1;}get['isWidget'](){return!0x0;}['coordsAt'](_0x59b16c,_0x433d6b){let _0x534826=this['widget']['coordsAt'](this['dom'],_0x59b16c,_0x433d6b);return _0x534826||(this['widget']instanceof BlockGapWidget?null:_0xccdbb2(this['dom']['getBoundingClientRect'](),this['length']?0x0==_0x59b16c:_0x433d6b<=0x0));}['destroy'](){super['destroy'](),this['dom']&&this['widget']['destroy'](this['dom']);}['covers'](_0x227af8){let {startSide:_0x1028e9,endSide:_0x571980}=this['deco'];return _0x1028e9!=_0x571980&&(_0x227af8<0x0?_0x1028e9<0x0:_0x571980>0x0);}}class BlockGapWidget extends WidgetType{constructor(_0x3d4c5d){super(),this['height']=_0x3d4c5d;}['toDOM'](){let _0x5961e1=document['createElement']('div');return _0x5961e1['className']='cm-gap',this['updateDOM'](_0x5961e1),_0x5961e1;}['eq'](_0x30735d){return _0x30735d['height']==this['height'];}['updateDOM'](_0x52ba66){return _0x52ba66['style']['height']=this['height']+'px',!0x0;}get['editable'](){return!0x0;}get['estimatedHeight'](){return this['height'];}['ignoreEvent'](){return!0x1;}}class ContentBuilder{constructor(_0x4c6be3,_0x32a8df,_0x35fc16,_0x246c29){this['doc']=_0x4c6be3,this['pos']=_0x32a8df,this['end']=_0x35fc16,this['disallowBlockEffectsFor']=_0x246c29,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']=_0x4c6be3['iter'](),this['skip']=_0x32a8df;}['posCovered'](){if(0x0==this['content']['length'])return!this['breakAtStart']&&this['doc']['lineAt'](this['pos'])['from']!=this['pos'];let _0x5c9d8a=this['content'][this['content']['length']-0x1];return!(_0x5c9d8a['breakAfter']||_0x5c9d8a instanceof BlockWidgetView&&_0x5c9d8a['deco']['endSide']<0x0);}['getLine'](){return this['curLine']||(this['content']['push'](this['curLine']=new _0x36662d()),this['atCursorPos']=!0x0),this['curLine'];}['flushBuffer'](_0x9b2567=this['bufferMarks']){this['pendingBuffer']&&(this['curLine']['append'](_0x1b7554(new WidgetBufferView(-0x1),_0x9b2567),_0x9b2567['length']),this['pendingBuffer']=0x0);}['addBlockWidget'](_0x2faf07){this['flushBuffer'](),this['curLine']=null,this['content']['push'](_0x2faf07);}['finish'](_0x44557e){this['pendingBuffer']&&_0x44557e<=this['bufferMarks']['length']?this['flushBuffer']():this['pendingBuffer']=0x0,this['posCovered']()||_0x44557e&&this['content']['length']&&this['content'][this['content']['length']-0x1]instanceof BlockWidgetView||this['getLine']();}['buildText'](_0x32196f,_0x1be2ff,_0x1c6c08){for(;_0x32196f>0x0;){if(this['textOff']==this['text']['length']){let {value:_0x511042,lineBreak:_0x5b7873,done:_0x398b28}=this['cursor']['next'](this['skip']);if(this['skip']=0x0,_0x398b28)throw new Error('Ran\x20out\x20of\x20text\x20content\x20when\x20drawing\x20inline\x20views');if(_0x5b7873){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,_0x32196f--;continue;}this['text']=_0x511042,this['textOff']=0x0;}let _0x9107ad=Math['min'](this['text']['length']-this['textOff'],_0x32196f),_0x4a5112=Math['min'](_0x9107ad,0x200);this['flushBuffer'](_0x1be2ff['slice'](_0x1be2ff['length']-_0x1c6c08)),this['getLine']()['append'](_0x1b7554(new TextView(this['text']['slice'](this['textOff'],this['textOff']+_0x4a5112)),_0x1be2ff),_0x1c6c08),this['atCursorPos']=!0x0,this['textOff']+=_0x4a5112,_0x32196f-=_0x4a5112,_0x1c6c08=_0x9107ad<=_0x4a5112?0x0:_0x1be2ff['length'];}}['span'](_0x440014,_0x5801a3,_0x361b16,_0xcc4e3c){this['buildText'](_0x5801a3-_0x440014,_0x361b16,_0xcc4e3c),this['pos']=_0x5801a3,this['openStart']<0x0&&(this['openStart']=_0xcc4e3c);}['point'](_0x4fc228,_0x160f05,_0x7377e1,_0x25864e,_0x5360ba,_0x5678cf){if(this['disallowBlockEffectsFor'][_0x5678cf]&&_0x7377e1 instanceof PointDecoration){if(_0x7377e1['block'])throw new RangeError('Block\x20decorations\x20may\x20not\x20be\x20specified\x20via\x20plugins');if(_0x160f05>this['doc']['lineAt'](this['pos'])['to'])throw new RangeError('Decorations\x20that\x20replace\x20line\x20breaks\x20may\x20not\x20be\x20specified\x20via\x20plugins');}let _0x1b78f5=_0x160f05-_0x4fc228;if(_0x7377e1 instanceof PointDecoration){if(_0x7377e1['block'])_0x7377e1['startSide']>0x0&&!this['posCovered']()&&this['getLine'](),this['addBlockWidget'](new BlockWidgetView(_0x7377e1['widget']||NullWidget['block'],_0x1b78f5,_0x7377e1));else{let _0x40ce1d=WidgetView['create'](_0x7377e1['widget']||NullWidget['inline'],_0x1b78f5,_0x1b78f5?0x0:_0x7377e1['startSide']),_0x1357a2=this['atCursorPos']&&!_0x40ce1d['isEditable']&&_0x5360ba<=_0x25864e['length']&&(_0x4fc228<_0x160f05||_0x7377e1['startSide']>0x0),_0x4b23b8=!_0x40ce1d['isEditable']&&(_0x4fc228<_0x160f05||_0x5360ba>_0x25864e['length']||_0x7377e1['startSide']<=0x0),_0x90b137=this['getLine']();0x2!=this['pendingBuffer']||_0x1357a2||_0x40ce1d['isEditable']||(this['pendingBuffer']=0x0),this['flushBuffer'](_0x25864e),_0x1357a2&&(_0x90b137['append'](_0x1b7554(new WidgetBufferView(0x1),_0x25864e),_0x5360ba),_0x5360ba=_0x25864e['length']+Math['max'](0x0,_0x5360ba-_0x25864e['length'])),_0x90b137['append'](_0x1b7554(_0x40ce1d,_0x25864e),_0x5360ba),this['atCursorPos']=_0x4b23b8,this['pendingBuffer']=_0x4b23b8?_0x4fc228<_0x160f05||_0x5360ba>_0x25864e['length']?0x1:0x2:0x0,this['pendingBuffer']&&(this['bufferMarks']=_0x25864e['slice']());}}else this['doc']['lineAt'](this['pos'])['from']==this['pos']&&this['getLine']()['addLineDeco'](_0x7377e1);_0x1b78f5&&(this['textOff']+_0x1b78f5<=this['text']['length']?this['textOff']+=_0x1b78f5:(this['skip']+=_0x1b78f5-(this['text']['length']-this['textOff']),this['text']='',this['textOff']=0x0),this['pos']=_0x160f05),this['openStart']<0x0&&(this['openStart']=_0x5360ba);}static['build'](_0x151470,_0x6a011b,_0x479bda,_0x6bbac4,_0x5277ad){let _0x633d8c=new ContentBuilder(_0x151470,_0x6a011b,_0x479bda,_0x5277ad);return _0x633d8c['openEnd']=RangeSet['spans'](_0x6bbac4,_0x6a011b,_0x479bda,_0x633d8c),_0x633d8c['openStart']<0x0&&(_0x633d8c['openStart']=_0x633d8c['openEnd']),_0x633d8c['finish'](_0x633d8c['openEnd']),_0x633d8c;}}function _0x1b7554(_0x228213,_0x24f107){for(let _0x40a39f of _0x24f107)_0x228213=new _0x2d7751(_0x40a39f,[_0x228213],_0x228213['length']);return _0x228213;}class NullWidget extends WidgetType{constructor(_0x50a257){super(),this['tag']=_0x50a257;}['eq'](_0x4945a1){return _0x4945a1['tag']==this['tag'];}['toDOM'](){return document['createElement'](this['tag']);}['updateDOM'](_0x1007dc){return _0x1007dc['nodeName']['toLowerCase']()==this['tag'];}get['isHidden'](){return!0x0;}}NullWidget['inline']=new NullWidget('span'),NullWidget['block']=new NullWidget('div');var _0xdbef2e=function(_0x4f0120){return _0x4f0120[_0x4f0120['LTR']=0x0]='LTR',_0x4f0120[_0x4f0120['RTL']=0x1]='RTL',_0x4f0120;}(_0xdbef2e||(_0xdbef2e={}));const _0x51bea7=_0xdbef2e['LTR'],_0x29fa14=_0xdbef2e['RTL'];function _0x49bc77(_0x4f2337){let _0x58a0c4=[];for(let _0x5ecd23=0x0;_0x5ecd23<_0x4f2337['length'];_0x5ecd23++)_0x58a0c4['push'](0x1<<+_0x4f2337[_0x5ecd23]);return _0x58a0c4;}const _0x4eeb1b=_0x49bc77('88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008'),_0x32362a=_0x49bc77('4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333'),_0x4eca92=Object['create'](null),_0xcd7edb=[];for(let _0x49cda7 of['()','[]','{}']){let _0x4ea94d=_0x49cda7['charCodeAt'](0x0),_0x3737e0=_0x49cda7['charCodeAt'](0x1);_0x4eca92[_0x4ea94d]=_0x3737e0,_0x4eca92[_0x3737e0]=-_0x4ea94d;}function _0x1fe1d3(_0x3618a7){return _0x3618a7<=0xf7?_0x4eeb1b[_0x3618a7]:0x590<=_0x3618a7&&_0x3618a7<=0x5f4?0x2:0x600<=_0x3618a7&&_0x3618a7<=0x6f9?_0x32362a[_0x3618a7-0x600]:0x6ee<=_0x3618a7&&_0x3618a7<=0x8ac?0x4:0x2000<=_0x3618a7&&_0x3618a7<=0x200c?0x100:0xfb50<=_0x3618a7&&_0x3618a7<=0xfdff?0x4:0x1;}const tO=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class _0x427aa7{get['dir'](){return this['level']%0x2?_0x29fa14:_0x51bea7;}constructor(_0x5af54b,_0x1c17ba,_0x9e6da9){this['from']=_0x5af54b,this['to']=_0x1c17ba,this['level']=_0x9e6da9;}['side'](_0x5dc9d2,_0x109ac3){return this['dir']==_0x109ac3==_0x5dc9d2?this['to']:this['from'];}['forward'](_0x3a9de4,_0xe25613){return _0x3a9de4==(this['dir']==_0xe25613);}static['find'](_0x8068fe,_0x2eda80,_0x5264e1,_0x241df9){let _0x38f3b5=-0x1;for(let _0x2559dd=0x0;_0x2559dd<_0x8068fe['length'];_0x2559dd++){let _0x2a6513=_0x8068fe[_0x2559dd];if(_0x2a6513['from']<=_0x2eda80&&_0x2a6513['to']>=_0x2eda80){if(_0x2a6513['level']==_0x5264e1)return _0x2559dd;(_0x38f3b5<0x0||(0x0!=_0x241df9?_0x241df9<0x0?_0x2a6513['from']<_0x2eda80:_0x2a6513['to']>_0x2eda80:_0x8068fe[_0x38f3b5]['level']>_0x2a6513['level']))&&(_0x38f3b5=_0x2559dd);}}if(_0x38f3b5<0x0)throw new RangeError('Index\x20out\x20of\x20range');return _0x38f3b5;}}function _0x138e0f(_0x3da438,_0x158c30){if(_0x3da438['length']!=_0x158c30['length'])return!0x1;for(let _0xcb338d=0x0;_0xcb338d<_0x3da438['length'];_0xcb338d++){let _0x1d2702=_0x3da438[_0xcb338d],_0x4ea61d=_0x158c30[_0xcb338d];if(_0x1d2702['from']!=_0x4ea61d['from']||_0x1d2702['to']!=_0x4ea61d['to']||_0x1d2702['direction']!=_0x4ea61d['direction']||!_0x138e0f(_0x1d2702['inner'],_0x4ea61d['inner']))return!0x1;}return!0x0;}const _0x1e83e8=[];function _0x221c4e(_0x17d3d0,_0x4c045c,_0x2e6358,_0x50f8bb,_0x407504,_0x2ba708,_0x57c889){let _0x4a3623=_0x50f8bb%0x2?0x2:0x1;if(_0x50f8bb%0x2==_0x407504%0x2)for(let _0x2bdd4e=_0x4c045c,_0x1a5bfc=0x0;_0x2bdd4e<_0x2e6358;){let _0x3321fe=!0x0,_0x2b105c=!0x1;if(_0x1a5bfc==_0x2ba708['length']||_0x2bdd4e<_0x2ba708[_0x1a5bfc]['from']){let _0xcff023=_0x1e83e8[_0x2bdd4e];_0xcff023!=_0x4a3623&&(_0x3321fe=!0x1,_0x2b105c=0x10==_0xcff023);}let _0x49a840=_0x3321fe||0x1!=_0x4a3623?null:[],_0x4ea1e7=_0x3321fe?_0x50f8bb:_0x50f8bb+0x1,_0x3e37c8=_0x2bdd4e;t:for(;;)if(_0x1a5bfc<_0x2ba708['length']&&_0x3e37c8==_0x2ba708[_0x1a5bfc]['from']){if(_0x2b105c)break t;let _0x3483c2=_0x2ba708[_0x1a5bfc];if(!_0x3321fe)for(let _0x6e1618=_0x3483c2['to'],_0x4dc155=_0x1a5bfc+0x1;;){if(_0x6e1618==_0x2e6358)break t;if(!(_0x4dc155<_0x2ba708['length']&&_0x2ba708[_0x4dc155]['from']==_0x6e1618)){if(_0x1e83e8[_0x6e1618]==_0x4a3623)break t;break;}_0x6e1618=_0x2ba708[_0x4dc155++]['to'];}if(_0x1a5bfc++,_0x49a840)_0x49a840['push'](_0x3483c2);else _0x3483c2['from']>_0x2bdd4e&&_0x57c889['push'](new _0x427aa7(_0x2bdd4e,_0x3483c2['from'],_0x4ea1e7)),_0x349abc(_0x17d3d0,_0x3483c2['direction']==_0x51bea7!=!(_0x4ea1e7%0x2)?_0x50f8bb+0x1:_0x50f8bb,_0x407504,_0x3483c2['inner'],_0x3483c2['from'],_0x3483c2['to'],_0x57c889),_0x2bdd4e=_0x3483c2['to'];_0x3e37c8=_0x3483c2['to'];}else{if(_0x3e37c8==_0x2e6358||(_0x3321fe?_0x1e83e8[_0x3e37c8]!=_0x4a3623:_0x1e83e8[_0x3e37c8]==_0x4a3623))break;_0x3e37c8++;}_0x49a840?_0x221c4e(_0x17d3d0,_0x2bdd4e,_0x3e37c8,_0x50f8bb+0x1,_0x407504,_0x49a840,_0x57c889):_0x2bdd4e<_0x3e37c8&&_0x57c889['push'](new _0x427aa7(_0x2bdd4e,_0x3e37c8,_0x4ea1e7)),_0x2bdd4e=_0x3e37c8;}else for(let _0x23366a=_0x2e6358,_0x4f5ee2=_0x2ba708['length'];_0x23366a>_0x4c045c;){let _0x4ba8f4=!0x0,_0x1f30af=!0x1;if(!_0x4f5ee2||_0x23366a>_0x2ba708[_0x4f5ee2-0x1]['to']){let _0x42f0f2=_0x1e83e8[_0x23366a-0x1];_0x42f0f2!=_0x4a3623&&(_0x4ba8f4=!0x1,_0x1f30af=0x10==_0x42f0f2);}let _0x32ac65=_0x4ba8f4||0x1!=_0x4a3623?null:[],_0x11e87e=_0x4ba8f4?_0x50f8bb:_0x50f8bb+0x1,_0x160094=_0x23366a;t:for(;;)if(_0x4f5ee2&&_0x160094==_0x2ba708[_0x4f5ee2-0x1]['to']){if(_0x1f30af)break t;let _0x2558d6=_0x2ba708[--_0x4f5ee2];if(!_0x4ba8f4)for(let _0x4ff873=_0x2558d6['from'],_0x52518a=_0x4f5ee2;;){if(_0x4ff873==_0x4c045c)break t;if(!_0x52518a||_0x2ba708[_0x52518a-0x1]['to']!=_0x4ff873){if(_0x1e83e8[_0x4ff873-0x1]==_0x4a3623)break t;break;}_0x4ff873=_0x2ba708[--_0x52518a]['from'];}if(_0x32ac65)_0x32ac65['push'](_0x2558d6);else _0x2558d6['to']<_0x23366a&&_0x57c889['push'](new _0x427aa7(_0x2558d6['to'],_0x23366a,_0x11e87e)),_0x349abc(_0x17d3d0,_0x2558d6['direction']==_0x51bea7!=!(_0x11e87e%0x2)?_0x50f8bb+0x1:_0x50f8bb,_0x407504,_0x2558d6['inner'],_0x2558d6['from'],_0x2558d6['to'],_0x57c889),_0x23366a=_0x2558d6['from'];_0x160094=_0x2558d6['from'];}else{if(_0x160094==_0x4c045c||(_0x4ba8f4?_0x1e83e8[_0x160094-0x1]!=_0x4a3623:_0x1e83e8[_0x160094-0x1]==_0x4a3623))break;_0x160094--;}_0x32ac65?_0x221c4e(_0x17d3d0,_0x160094,_0x23366a,_0x50f8bb+0x1,_0x407504,_0x32ac65,_0x57c889):_0x160094<_0x23366a&&_0x57c889['push'](new _0x427aa7(_0x160094,_0x23366a,_0x11e87e)),_0x23366a=_0x160094;}}function _0x349abc(_0x1ff0e3,_0x5b58c9,_0x1c0427,_0x21245a,_0x899086,_0x4e555f,_0x1fc257){let _0x422a66=_0x5b58c9%0x2?0x2:0x1;!function(_0x2720cf,_0x44efef,_0x30cbdc,_0xa5dabc,_0x2d9195){for(let _0x24560e=0x0;_0x24560e<=_0xa5dabc['length'];_0x24560e++){let _0x3f55de=_0x24560e?_0xa5dabc[_0x24560e-0x1]['to']:_0x44efef,_0x26fac4=_0x24560e<_0xa5dabc['length']?_0xa5dabc[_0x24560e]['from']:_0x30cbdc,_0x3b4ec8=_0x24560e?0x100:_0x2d9195;for(let _0x373e78=_0x3f55de,_0x1a08c8=_0x3b4ec8,_0x185ba9=_0x3b4ec8;_0x373e78<_0x26fac4;_0x373e78++){let _0x2eec75=_0x1fe1d3(_0x2720cf['charCodeAt'](_0x373e78));0x200==_0x2eec75?_0x2eec75=_0x1a08c8:0x8==_0x2eec75&&0x4==_0x185ba9&&(_0x2eec75=0x10),_0x1e83e8[_0x373e78]=0x4==_0x2eec75?0x2:_0x2eec75,0x7&_0x2eec75&&(_0x185ba9=_0x2eec75),_0x1a08c8=_0x2eec75;}for(let _0x3d55e9=_0x3f55de,_0x3e2a89=_0x3b4ec8,_0x35cfd0=_0x3b4ec8;_0x3d55e9<_0x26fac4;_0x3d55e9++){let _0x68d3ae=_0x1e83e8[_0x3d55e9];if(0x80==_0x68d3ae)_0x3d55e9<_0x26fac4-0x1&&_0x3e2a89==_0x1e83e8[_0x3d55e9+0x1]&&0x18&_0x3e2a89?_0x68d3ae=_0x1e83e8[_0x3d55e9]=_0x3e2a89:_0x1e83e8[_0x3d55e9]=0x100;else{if(0x40==_0x68d3ae){let _0xe32313=_0x3d55e9+0x1;for(;_0xe32313<_0x26fac4&&0x40==_0x1e83e8[_0xe32313];)_0xe32313++;let _0x4d2fb8=_0x3d55e9&&0x8==_0x3e2a89||_0xe32313<_0x30cbdc&&0x8==_0x1e83e8[_0xe32313]?0x1==_0x35cfd0?0x1:0x8:0x100;for(let _0x15e20b=_0x3d55e9;_0x15e20b<_0xe32313;_0x15e20b++)_0x1e83e8[_0x15e20b]=_0x4d2fb8;_0x3d55e9=_0xe32313-0x1;}else 0x8==_0x68d3ae&&0x1==_0x35cfd0&&(_0x1e83e8[_0x3d55e9]=0x1);}_0x3e2a89=_0x68d3ae,0x7&_0x68d3ae&&(_0x35cfd0=_0x68d3ae);}}}(_0x1ff0e3,_0x899086,_0x4e555f,_0x21245a,_0x422a66),function(_0x6f86b4,_0x503ca0,_0x4980f9,_0x4ab39e,_0x2a2761){let _0x4b0515=0x1==_0x2a2761?0x2:0x1;for(let _0x2a1985=0x0,_0x48c3d4=0x0,_0x176b82=0x0;_0x2a1985<=_0x4ab39e['length'];_0x2a1985++){let _0x5796d3=_0x2a1985?_0x4ab39e[_0x2a1985-0x1]['to']:_0x503ca0,_0x2abbce=_0x2a1985<_0x4ab39e['length']?_0x4ab39e[_0x2a1985]['from']:_0x4980f9;for(let _0x4e3a2e,_0x70e6b3,_0x570bd0,_0x1ca70c=_0x5796d3;_0x1ca70c<_0x2abbce;_0x1ca70c++)if(_0x70e6b3=_0x4eca92[_0x4e3a2e=_0x6f86b4['charCodeAt'](_0x1ca70c)]){if(_0x70e6b3<0x0){for(let _0x3bf3c1=_0x48c3d4-0x3;_0x3bf3c1>=0x0;_0x3bf3c1-=0x3)if(_0xcd7edb[_0x3bf3c1+0x1]==-_0x70e6b3){let _0x581130=_0xcd7edb[_0x3bf3c1+0x2],_0x223ce4=0x2&_0x581130?_0x2a2761:0x4&_0x581130?0x1&_0x581130?_0x4b0515:_0x2a2761:0x0;_0x223ce4&&(_0x1e83e8[_0x1ca70c]=_0x1e83e8[_0xcd7edb[_0x3bf3c1]]=_0x223ce4),_0x48c3d4=_0x3bf3c1;break;}}else{if(0xbd==_0xcd7edb['length'])break;_0xcd7edb[_0x48c3d4++]=_0x1ca70c,_0xcd7edb[_0x48c3d4++]=_0x4e3a2e,_0xcd7edb[_0x48c3d4++]=_0x176b82;}}else{if(0x2==(_0x570bd0=_0x1e83e8[_0x1ca70c])||0x1==_0x570bd0){let _0x4c51cf=_0x570bd0==_0x2a2761;_0x176b82=_0x4c51cf?0x0:0x1;for(let _0x598e00=_0x48c3d4-0x3;_0x598e00>=0x0;_0x598e00-=0x3){let _0xdefe74=_0xcd7edb[_0x598e00+0x2];if(0x2&_0xdefe74)break;if(_0x4c51cf)_0xcd7edb[_0x598e00+0x2]|=0x2;else{if(0x4&_0xdefe74)break;_0xcd7edb[_0x598e00+0x2]|=0x4;}}}}}}(_0x1ff0e3,_0x899086,_0x4e555f,_0x21245a,_0x422a66),function(_0x1068e3,_0x3239d1,_0x19d8ab,_0x365fff){for(let _0x162032=0x0,_0x2ae6af=_0x365fff;_0x162032<=_0x19d8ab['length'];_0x162032++){let _0x1922b3=_0x162032?_0x19d8ab[_0x162032-0x1]['to']:_0x1068e3,_0x15fb6d=_0x162032<_0x19d8ab['length']?_0x19d8ab[_0x162032]['from']:_0x3239d1;for(let _0x1e7a3a=_0x1922b3;_0x1e7a3a<_0x15fb6d;){let _0x3a908d=_0x1e83e8[_0x1e7a3a];if(0x100==_0x3a908d){let _0xd27c4d=_0x1e7a3a+0x1;for(;;)if(_0xd27c4d==_0x15fb6d){if(_0x162032==_0x19d8ab['length'])break;_0xd27c4d=_0x19d8ab[_0x162032++]['to'],_0x15fb6d=_0x162032<_0x19d8ab['length']?_0x19d8ab[_0x162032]['from']:_0x3239d1;}else{if(0x100!=_0x1e83e8[_0xd27c4d])break;_0xd27c4d++;}let _0x4dbb9a=0x1==_0x2ae6af,_0x7d4c38=_0x4dbb9a==(0x1==(_0xd27c4d<_0x3239d1?_0x1e83e8[_0xd27c4d]:_0x365fff))?_0x4dbb9a?0x1:0x2:_0x365fff;for(let _0x256c29=_0xd27c4d,_0x3449c5=_0x162032,_0x18b885=_0x3449c5?_0x19d8ab[_0x3449c5-0x1]['to']:_0x1068e3;_0x256c29>_0x1e7a3a;)_0x256c29==_0x18b885&&(_0x256c29=_0x19d8ab[--_0x3449c5]['from'],_0x18b885=_0x3449c5?_0x19d8ab[_0x3449c5-0x1]['to']:_0x1068e3),_0x1e83e8[--_0x256c29]=_0x7d4c38;_0x1e7a3a=_0xd27c4d;}else _0x2ae6af=_0x3a908d,_0x1e7a3a++;}}}(_0x899086,_0x4e555f,_0x21245a,_0x422a66),_0x221c4e(_0x1ff0e3,_0x899086,_0x4e555f,_0x5b58c9,_0x1c0427,_0x21245a,_0x1fc257);}function _0x493120(_0x3dc05a){return[new _0x427aa7(0x0,_0x3dc05a,0x0)];}let _0xf2aabd='';function _0x111688(_0x127e89,_0x94fc4b,_0x1d1cb3,_0x3802c7,_0x1c30b9){var _0x2abee1;let _0x528e8d=_0x3802c7['head']-_0x127e89['from'],_0x622370=_0x427aa7['find'](_0x94fc4b,_0x528e8d,null!==(_0x2abee1=_0x3802c7['bidiLevel'])&&void 0x0!==_0x2abee1?_0x2abee1:-0x1,_0x3802c7['assoc']),_0x3bb530=_0x94fc4b[_0x622370],_0x21d518=_0x3bb530['side'](_0x1c30b9,_0x1d1cb3);if(_0x528e8d==_0x21d518){let _0x2d9b8d=_0x622370+=_0x1c30b9?0x1:-0x1;if(_0x2d9b8d<0x0||_0x2d9b8d>=_0x94fc4b['length'])return null;_0x3bb530=_0x94fc4b[_0x622370=_0x2d9b8d],_0x528e8d=_0x3bb530['side'](!_0x1c30b9,_0x1d1cb3),_0x21d518=_0x3bb530['side'](_0x1c30b9,_0x1d1cb3);}let _0x4a61e3=_0x1570cc(_0x127e89['text'],_0x528e8d,_0x3bb530['forward'](_0x1c30b9,_0x1d1cb3));(_0x4a61e3<_0x3bb530['from']||_0x4a61e3>_0x3bb530['to'])&&(_0x4a61e3=_0x21d518),_0xf2aabd=_0x127e89['text']['slice'](Math['min'](_0x528e8d,_0x4a61e3),Math['max'](_0x528e8d,_0x4a61e3));let _0x17673c=_0x622370==(_0x1c30b9?_0x94fc4b['length']-0x1:0x0)?null:_0x94fc4b[_0x622370+(_0x1c30b9?0x1:-0x1)];return _0x17673c&&_0x4a61e3==_0x21d518&&_0x17673c['level']+(_0x1c30b9?0x0:0x1)<_0x3bb530['level']?EditorSelection['cursor'](_0x17673c['side'](!_0x1c30b9,_0x1d1cb3)+_0x127e89['from'],_0x17673c['forward'](_0x1c30b9,_0x1d1cb3)?0x1:-0x1,_0x17673c['level']):EditorSelection['cursor'](_0x4a61e3+_0x127e89['from'],_0x3bb530['forward'](_0x1c30b9,_0x1d1cb3)?-0x1:0x1,_0x3bb530['level']);}function _0x57f0b7(_0x1be78f,_0x3af554,_0x296da9){for(let _0x3095ea=_0x3af554;_0x3095ea<_0x296da9;_0x3095ea++){let _0x28e49a=_0x1fe1d3(_0x1be78f['charCodeAt'](_0x3095ea));if(0x1==_0x28e49a)return _0x51bea7;if(0x2==_0x28e49a||0x4==_0x28e49a)return _0x29fa14;}return _0x51bea7;}const _0x5ce915=Facet['define'](),_0x2eacfc=Facet['define'](),_0x5ede89=Facet['define'](),_0x3d7bd4=Facet['define'](),_0x550001=Facet['define'](),_0x3288f9=Facet['define'](),_0x17aa97=Facet['define'](),_0xb1ccf7=Facet['define'](),_0x294303=Facet['define'](),_0x548c1d=Facet['define']({'combine':_0x54d176=>_0x54d176['some'](_0x5a0e63=>_0x5a0e63)}),_0x1cbc5d=Facet['define']({'combine':_0x4796ba=>_0x4796ba['some'](_0x21662c=>_0x21662c)}),_0x3e7e02=Facet['define']();class ScrollTarget{constructor(_0x140787,_0x305b0a='nearest',_0x2a288c='nearest',_0x11c0f9=0x5,_0x4d497e=0x5,_0x51df55=!0x1){this['range']=_0x140787,this['y']=_0x305b0a,this['x']=_0x2a288c,this['yMargin']=_0x11c0f9,this['xMargin']=_0x4d497e,this['isSnapshot']=_0x51df55;}['map'](_0x526bc9){return _0x526bc9['empty']?this:new ScrollTarget(this['range']['map'](_0x526bc9),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}['clip'](_0x5455cc){return this['range']['to']<=_0x5455cc['doc']['length']?this:new ScrollTarget(EditorSelection['cursor'](_0x5455cc['doc']['length']),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}}const _0x280aa8=StateEffect['define']({'map':(t,_0x80f977)=>t['map'](_0x80f977)}),_0x383bc1=StateEffect['define']();function _0x1922d6(_0x422a69,_0x1202d3,_0x211953){let _0x28d919=_0x422a69['facet'](_0x3d7bd4);_0x28d919['length']?_0x28d919[0x0](_0x1202d3):window['onerror']&&window['onerror'](String(_0x1202d3),_0x211953,void 0x0,void 0x0,_0x1202d3)||(_0x211953?console['error'](_0x211953+':',_0x1202d3):console['error'](_0x1202d3));}const _0x14b1c6=Facet['define']({'combine':_0xbee0bf=>!_0xbee0bf['length']||_0xbee0bf[0x0]});let _0x42ea29=0x0;const _0x10454f=Facet['define']({'combine':_0x68d8bb=>_0x68d8bb['filter']((_0x29b34c,_0x318f95)=>{for(let _0x392dc7=0x0;_0x392dc7<_0x318f95;_0x392dc7++)if(_0x68d8bb[_0x392dc7]['plugin']==_0x29b34c['plugin'])return!0x1;return!0x0;})});class _0x26068f{constructor(_0x42764c,_0x5f1291,_0x1b6b70,_0x147bf9,_0x4a1f83){this['id']=_0x42764c,this['create']=_0x5f1291,this['domEventHandlers']=_0x1b6b70,this['domEventObservers']=_0x147bf9,this['baseExtensions']=_0x4a1f83(this),this['extension']=this['baseExtensions']['concat'](_0x10454f['of']({'plugin':this,'arg':void 0x0}));}['of'](_0x3effc1){return this['baseExtensions']['concat'](_0x10454f['of']({'plugin':this,'arg':_0x3effc1}));}static['define'](_0x577836,_0x409e99){const {eventHandlers:_0x337f3c,eventObservers:_0x325c3b,provide:_0x1cd539,decorations:_0x3d351b}=_0x409e99||{};return new _0x26068f(_0x42ea29++,_0x577836,_0x337f3c,_0x325c3b,_0x1e253c=>{let _0x2c2407=[];return _0x3d351b&&_0x2c2407['push'](_0x4b35df['of'](_0x3dd234=>{let _0x1f3216=_0x3dd234['plugin'](_0x1e253c);return _0x1f3216?_0x3d351b(_0x1f3216):Decoration['none'];})),_0x1cd539&&_0x2c2407['push'](_0x1cd539(_0x1e253c)),_0x2c2407;});}static['fromClass'](_0x522ea7,_0x4fbb1b){return _0x26068f['define']((_0x16a3f2,_0x54f7c2)=>new _0x522ea7(_0x16a3f2,_0x54f7c2),_0x4fbb1b);}}class PluginInstance{constructor(_0x2f0995){this['spec']=_0x2f0995,this['mustUpdate']=null,this['value']=null;}get['plugin'](){return this['spec']&&this['spec']['plugin'];}['update'](_0xa47cef){if(this['value']){if(this['mustUpdate']){let _0x1e310a=this['mustUpdate'];if(this['mustUpdate']=null,this['value']['update'])try{this['value']['update'](_0x1e310a);}catch(_0x301e6e){if(_0x1922d6(_0x1e310a['state'],_0x301e6e,'CodeMirror\x20plugin\x20crashed'),this['value']['destroy'])try{this['value']['destroy']();}catch(_0x1452ee){}this['deactivate']();}}}else{if(this['spec'])try{this['value']=this['spec']['plugin']['create'](_0xa47cef,this['spec']['arg']);}catch(_0x5af742){_0x1922d6(_0xa47cef['state'],_0x5af742,'CodeMirror\x20plugin\x20crashed'),this['deactivate']();}}return this;}['destroy'](_0x2a79dc){var _0x5a7192;if(null===(_0x5a7192=this['value'])||void 0x0===_0x5a7192?void 0x0:_0x5a7192['destroy'])try{this['value']['destroy']();}catch(_0x56e3cb){_0x1922d6(_0x2a79dc['state'],_0x56e3cb,'CodeMirror\x20plugin\x20crashed');}}['deactivate'](){this['spec']=this['value']=null;}}const _0x4009f4=Facet['define'](),_0x3597d2=Facet['define'](),_0x4b35df=Facet['define'](),_0x13ea98=Facet['define'](),_0x4aacd4=Facet['define'](),_0x21cfdd=Facet['define']();function _0x55dd3f(_0x3bfadb,_0x16f829){let _0x115850=_0x3bfadb['state']['facet'](_0x21cfdd);if(!_0x115850['length'])return _0x115850;let _0x338902=_0x115850['map'](_0x5eb4ee=>_0x5eb4ee instanceof Function?_0x5eb4ee(_0x3bfadb):_0x5eb4ee),_0x587e09=[];return RangeSet['spans'](_0x338902,_0x16f829['from'],_0x16f829['to'],{'point'(){},'span'(_0xdc788,_0x4b4376,_0x2badd6,_0x32cfb1){let _0x1d537d=_0xdc788-_0x16f829['from'],_0x23e894=_0x4b4376-_0x16f829['from'],_0x16cb7e=_0x587e09;for(let _0x49c87e=_0x2badd6['length']-0x1;_0x49c87e>=0x0;_0x49c87e--,_0x32cfb1--){let _0xa7fc42,_0x2dc698=_0x2badd6[_0x49c87e]['spec']['bidiIsolate'];if(null==_0x2dc698&&(_0x2dc698=_0x57f0b7(_0x16f829['text'],_0x1d537d,_0x23e894)),_0x32cfb1>0x0&&_0x16cb7e['length']&&(_0xa7fc42=_0x16cb7e[_0x16cb7e['length']-0x1])['to']==_0x1d537d&&_0xa7fc42['direction']==_0x2dc698)_0xa7fc42['to']=_0x23e894,_0x16cb7e=_0xa7fc42['inner'];else{let _0x1751fb={'from':_0x1d537d,'to':_0x23e894,'direction':_0x2dc698,'inner':[]};_0x16cb7e['push'](_0x1751fb),_0x16cb7e=_0x1751fb['inner'];}}}}),_0x587e09;}const _0x523152=Facet['define']();function _0x2ad99e(_0x5bace8){let _0x149409=0x0,_0x4b47a1=0x0,_0x300168=0x0,_0x16302a=0x0;for(let _0x391477 of _0x5bace8['state']['facet'](_0x523152)){let _0x7d12ba=_0x391477(_0x5bace8);_0x7d12ba&&(null!=_0x7d12ba['left']&&(_0x149409=Math['max'](_0x149409,_0x7d12ba['left'])),null!=_0x7d12ba['right']&&(_0x4b47a1=Math['max'](_0x4b47a1,_0x7d12ba['right'])),null!=_0x7d12ba['top']&&(_0x300168=Math['max'](_0x300168,_0x7d12ba['top'])),null!=_0x7d12ba['bottom']&&(_0x16302a=Math['max'](_0x16302a,_0x7d12ba['bottom'])));}return{'left':_0x149409,'right':_0x4b47a1,'top':_0x300168,'bottom':_0x16302a};}const _0xc0ba64=Facet['define']();class _0x31ecbd{constructor(_0x32eea3,_0xa61fc4,_0x10dee8,_0x132f8c){this['fromA']=_0x32eea3,this['toA']=_0xa61fc4,this['fromB']=_0x10dee8,this['toB']=_0x132f8c;}['join'](_0x21d502){return new _0x31ecbd(Math['min'](this['fromA'],_0x21d502['fromA']),Math['max'](this['toA'],_0x21d502['toA']),Math['min'](this['fromB'],_0x21d502['fromB']),Math['max'](this['toB'],_0x21d502['toB']));}['addToSet'](_0x1b0358){let _0x579e13=_0x1b0358['length'],_0x4b3256=this;for(;_0x579e13>0x0;_0x579e13--){let _0x110704=_0x1b0358[_0x579e13-0x1];if(!(_0x110704['fromA']>_0x4b3256['toA'])){if(_0x110704['toA']<_0x4b3256['fromA'])break;_0x4b3256=_0x4b3256['join'](_0x110704),_0x1b0358['splice'](_0x579e13-0x1,0x1);}}return _0x1b0358['splice'](_0x579e13,0x0,_0x4b3256),_0x1b0358;}static['extendWithRanges'](_0xee09be,_0x1a22c4){if(0x0==_0x1a22c4['length'])return _0xee09be;let _0x53b290=[];for(let _0x5f1ec0=0x0,_0x4d6ec5=0x0,_0x39b884=0x0,_0x228784=0x0;;_0x5f1ec0++){let _0x41c044=_0x5f1ec0==_0xee09be['length']?null:_0xee09be[_0x5f1ec0],_0x6629ee=_0x39b884-_0x228784,_0x54851e=_0x41c044?_0x41c044['fromB']:0x3b9aca00;for(;_0x4d6ec5<_0x1a22c4['length']&&_0x1a22c4[_0x4d6ec5]<_0x54851e;){let _0x202d98=_0x1a22c4[_0x4d6ec5],_0x74f121=_0x1a22c4[_0x4d6ec5+0x1],_0xf07e25=Math['max'](_0x228784,_0x202d98),_0x41b225=Math['min'](_0x54851e,_0x74f121);if(_0xf07e25<=_0x41b225&&new _0x31ecbd(_0xf07e25+_0x6629ee,_0x41b225+_0x6629ee,_0xf07e25,_0x41b225)['addToSet'](_0x53b290),_0x74f121>_0x54851e)break;_0x4d6ec5+=0x2;}if(!_0x41c044)return _0x53b290;new _0x31ecbd(_0x41c044['fromA'],_0x41c044['toA'],_0x41c044['fromB'],_0x41c044['toB'])['addToSet'](_0x53b290),_0x39b884=_0x41c044['toA'],_0x228784=_0x41c044['toB'];}}}class ViewUpdate{constructor(_0x1061ec,_0x1086d4,_0x3b5bdf){this['view']=_0x1061ec,this['state']=_0x1086d4,this['transactions']=_0x3b5bdf,this['flags']=0x0,this['startState']=_0x1061ec['state'],this['changes']=ChangeSet['empty'](this['startState']['doc']['length']);for(let _0x400f66 of _0x3b5bdf)this['changes']=this['changes']['compose'](_0x400f66['changes']);let _0x4e3a4f=[];this['changes']['iterChangedRanges']((_0x276cec,_0x3dbf87,_0x3c66ed,_0x15560b)=>_0x4e3a4f['push'](new _0x31ecbd(_0x276cec,_0x3dbf87,_0x3c66ed,_0x15560b))),this['changedRanges']=_0x4e3a4f;}static['create'](_0x3df812,_0x8fb8d4,_0x4d89d7){return new ViewUpdate(_0x3df812,_0x8fb8d4,_0x4d89d7);}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'](_0xdcb5eb=>_0xdcb5eb['selection']);}get['empty'](){return 0x0==this['flags']&&0x0==this['transactions']['length'];}}class _0x38311c extends ContentView{get['length'](){return this['view']['state']['doc']['length'];}constructor(_0x1ab9d3){super(),this['view']=_0x1ab9d3,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'](_0x1ab9d3['contentDOM']),this['children']=[new _0x36662d()],this['children'][0x0]['setParent'](this),this['updateDeco'](),this['updateInner']([new _0x31ecbd(0x0,0x0,0x0,_0x1ab9d3['state']['doc']['length'])],0x0,null);}['update'](_0x5e5e05){var _0x5ea126;let _0xa7e6ff=_0x5e5e05['changedRanges'];this['minWidth']>0x0&&_0xa7e6ff['length']&&(_0xa7e6ff['every'](({fromA:_0x49e84c,toA:_0x5dde82})=>_0x5dde82<this['minWidthFrom']||_0x49e84c>this['minWidthTo'])?(this['minWidthFrom']=_0x5e5e05['changes']['mapPos'](this['minWidthFrom'],0x1),this['minWidthTo']=_0x5e5e05['changes']['mapPos'](this['minWidthTo'],0x1)):this['minWidth']=this['minWidthFrom']=this['minWidthTo']=0x0),this['updateEditContextFormatting'](_0x5e5e05);let _0x4f6d0e=-0x1;this['view']['inputState']['composing']>=0x0&&!this['view']['observer']['editContext']&&((null===(_0x5ea126=this['domChanged'])||void 0x0===_0x5ea126?void 0x0:_0x5ea126['newSel'])?_0x4f6d0e=this['domChanged']['newSel']['head']:function(_0x1a2c79,_0x3cf0ce){let _0x1948d0=!0x1;return _0x3cf0ce&&_0x1a2c79['iterChangedRanges']((_0xac01f1,_0xea140c)=>{_0xac01f1<_0x3cf0ce['to']&&_0xea140c>_0x3cf0ce['from']&&(_0x1948d0=!0x0);}),_0x1948d0;}(_0x5e5e05['changes'],this['hasComposition'])||_0x5e5e05['selectionSet']||(_0x4f6d0e=_0x5e5e05['state']['selection']['main']['head']));let _0x4a1eaf=_0x4f6d0e>-0x1?function(_0x32f511,_0x25eec4,_0xa99a17){let _0x299aaa=_0xc0327c(_0x32f511,_0xa99a17);if(!_0x299aaa)return null;let {node:_0x59382d,from:_0x4c2aa8,to:_0x52c2ee}=_0x299aaa,_0x123f94=_0x59382d['nodeValue'];if(/[\n\r]/['test'](_0x123f94))return null;if(_0x32f511['state']['doc']['sliceString'](_0x299aaa['from'],_0x299aaa['to'])!=_0x123f94)return null;let _0x54b1c4=_0x25eec4['invertedDesc'],_0xc09960=new _0x31ecbd(_0x54b1c4['mapPos'](_0x4c2aa8),_0x54b1c4['mapPos'](_0x52c2ee),_0x4c2aa8,_0x52c2ee),_0x411e47=[];for(let _0x1af929=_0x59382d['parentNode'];;_0x1af929=_0x1af929['parentNode']){let _0xaff2be=ContentView['get'](_0x1af929);if(_0xaff2be instanceof _0x2d7751)_0x411e47['push']({'node':_0x1af929,'deco':_0xaff2be['mark']});else{if(_0xaff2be instanceof _0x36662d||'DIV'==_0x1af929['nodeName']&&_0x1af929['parentNode']==_0x32f511['contentDOM'])return{'range':_0xc09960,'text':_0x59382d,'marks':_0x411e47,'line':_0x1af929};if(_0x1af929==_0x32f511['contentDOM'])return null;_0x411e47['push']({'node':_0x1af929,'deco':new MarkDecoration({'inclusive':!0x0,'attributes':_0x36b3ee(_0x1af929),'tagName':_0x1af929['tagName']['toLowerCase']()})});}}}(this['view'],_0x5e5e05['changes'],_0x4f6d0e):null;if(this['domChanged']=null,this['hasComposition']){this['markedForComposition']['clear']();let {from:_0x3d5055,to:_0x502553}=this['hasComposition'];_0xa7e6ff=new _0x31ecbd(_0x3d5055,_0x502553,_0x5e5e05['changes']['mapPos'](_0x3d5055,-0x1),_0x5e5e05['changes']['mapPos'](_0x502553,0x1))['addToSet'](_0xa7e6ff['slice']());}this['hasComposition']=_0x4a1eaf?{'from':_0x4a1eaf['range']['fromB'],'to':_0x4a1eaf['range']['toB']}:null,(_0x7f953['ie']||_0x7f953['chrome'])&&!_0x4a1eaf&&_0x5e5e05&&_0x5e5e05['state']['doc']['lines']!=_0x5e5e05['startState']['doc']['lines']&&(this['forceSelection']=!0x0);let _0x2c6e83=function(_0x2ad370,_0x4bf11c,_0x16f513){let _0x2fec31=new _0x503612();return RangeSet['compare'](_0x2ad370,_0x4bf11c,_0x16f513,_0x2fec31),_0x2fec31['changes'];}(this['decorations'],this['updateDeco'](),_0x5e5e05['changes']);return _0xa7e6ff=_0x31ecbd['extendWithRanges'](_0xa7e6ff,_0x2c6e83),!!(0x7&this['flags']||0x0!=_0xa7e6ff['length'])&&(this['updateInner'](_0xa7e6ff,_0x5e5e05['startState']['doc']['length'],_0x4a1eaf),_0x5e5e05['transactions']['length']&&(this['lastUpdate']=Date['now']()),!0x0);}['updateInner'](_0x42e5d2,_0x31a104,_0x280a77){this['view']['viewState']['mustMeasureContent']=!0x0,this['updateChildren'](_0x42e5d2,_0x31a104,_0x280a77);let {observer:_0xd53930}=this['view'];_0xd53930['ignore'](()=>{this['dom']['style']['height']=this['view']['viewState']['contentHeight']/this['view']['scaleY']+'px',this['dom']['style']['flexBasis']=this['minWidth']?this['minWidth']+'px':'';let _0x15fd2c=_0x7f953['chrome']||_0x7f953['ios']?{'node':_0xd53930['selectionRange']['focusNode'],'written':!0x1}:void 0x0;this['sync'](this['view'],_0x15fd2c),this['flags']&=-0x8,_0x15fd2c&&(_0x15fd2c['written']||_0xd53930['selectionRange']['focusNode']!=_0x15fd2c['node'])&&(this['forceSelection']=!0x0),this['dom']['style']['height']='';}),this['markedForComposition']['forEach'](_0x7a3912=>_0x7a3912['flags']&=-0x9);let _0x3b5a4a=[];if(this['view']['viewport']['from']||this['view']['viewport']['to']<this['view']['state']['doc']['length']){for(let _0x4e8cb7 of this['children'])_0x4e8cb7 instanceof BlockWidgetView&&_0x4e8cb7['widget']instanceof BlockGapWidget&&_0x3b5a4a['push'](_0x4e8cb7['dom']);}_0xd53930['updateGaps'](_0x3b5a4a);}['updateChildren'](_0x111b8f,_0x5793ec,_0x229294){let _0x4de17c=_0x229294?_0x229294['range']['addToSet'](_0x111b8f['slice']()):_0x111b8f,_0x5e6203=this['childCursor'](_0x5793ec);for(let _0x2ddc00=_0x4de17c['length']-0x1;;_0x2ddc00--){let _0x1db9db=_0x2ddc00>=0x0?_0x4de17c[_0x2ddc00]:null;if(!_0x1db9db)break;let _0xc31ad8,_0x53f1bf,_0x3f5da0,_0x6af516,{fromA:_0x492058,toA:_0x406840,fromB:_0x28cf82,toB:_0x44803f}=_0x1db9db;if(_0x229294&&_0x229294['range']['fromB']<_0x44803f&&_0x229294['range']['toB']>_0x28cf82){let _0x2d615=ContentBuilder['build'](this['view']['state']['doc'],_0x28cf82,_0x229294['range']['fromB'],this['decorations'],this['dynamicDecorationMap']),_0x5454b6=ContentBuilder['build'](this['view']['state']['doc'],_0x229294['range']['toB'],_0x44803f,this['decorations'],this['dynamicDecorationMap']);_0x53f1bf=_0x2d615['breakAtStart'],_0x3f5da0=_0x2d615['openStart'],_0x6af516=_0x5454b6['openEnd'];let _0x576593=this['compositionView'](_0x229294);_0x5454b6['breakAtStart']?_0x576593['breakAfter']=0x1:_0x5454b6['content']['length']&&_0x576593['merge'](_0x576593['length'],_0x576593['length'],_0x5454b6['content'][0x0],!0x1,_0x5454b6['openStart'],0x0)&&(_0x576593['breakAfter']=_0x5454b6['content'][0x0]['breakAfter'],_0x5454b6['content']['shift']()),_0x2d615['content']['length']&&_0x576593['merge'](0x0,0x0,_0x2d615['content'][_0x2d615['content']['length']-0x1],!0x0,0x0,_0x2d615['openEnd'])&&_0x2d615['content']['pop'](),_0xc31ad8=_0x2d615['content']['concat'](_0x576593)['concat'](_0x5454b6['content']);}else({content:_0xc31ad8,breakAtStart:_0x53f1bf,openStart:_0x3f5da0,openEnd:_0x6af516}=ContentBuilder['build'](this['view']['state']['doc'],_0x28cf82,_0x44803f,this['decorations'],this['dynamicDecorationMap']));let {i:_0x44cd21,off:_0x3eef7e}=_0x5e6203['findPos'](_0x406840,0x1),{i:_0x287e06,off:_0x5d16e6}=_0x5e6203['findPos'](_0x492058,-0x1);_0x516a2c(this,_0x287e06,_0x5d16e6,_0x44cd21,_0x3eef7e,_0xc31ad8,_0x53f1bf,_0x3f5da0,_0x6af516);}_0x229294&&this['fixCompositionDOM'](_0x229294);}['updateEditContextFormatting'](_0x5613cb){this['editContextFormatting']=this['editContextFormatting']['map'](_0x5613cb['changes']);for(let _0x430ea8 of _0x5613cb['transactions'])for(let _0x3c07c7 of _0x430ea8['effects'])_0x3c07c7['is'](_0x383bc1)&&(this['editContextFormatting']=_0x3c07c7['value']);}['compositionView'](_0x397d6c){let _0x2dc33e=new TextView(_0x397d6c['text']['nodeValue']);_0x2dc33e['flags']|=0x8;for(let {deco:_0x44db6d}of _0x397d6c['marks'])_0x2dc33e=new _0x2d7751(_0x44db6d,[_0x2dc33e],_0x2dc33e['length']);let _0x385076=new _0x36662d();return _0x385076['append'](_0x2dc33e,0x0),_0x385076;}['fixCompositionDOM'](_0x3c102c){let _0x37006a=(_0x431a0e,_0x368ddf)=>{_0x368ddf['flags']|=0x8|(_0x368ddf['children']['some'](_0x27b5ab=>0x7&_0x27b5ab['flags'])?0x1:0x0),this['markedForComposition']['add'](_0x368ddf);let _0x5838ee=ContentView['get'](_0x431a0e);_0x5838ee&&_0x5838ee!=_0x368ddf&&(_0x5838ee['dom']=null),_0x368ddf['setDOM'](_0x431a0e);},_0x2f9623=this['childPos'](_0x3c102c['range']['fromB'],0x1),_0x576497=this['children'][_0x2f9623['i']];_0x37006a(_0x3c102c['line'],_0x576497);for(let _0x31b99b=_0x3c102c['marks']['length']-0x1;_0x31b99b>=-0x1;_0x31b99b--)_0x2f9623=_0x576497['childPos'](_0x2f9623['off'],0x1),_0x576497=_0x576497['children'][_0x2f9623['i']],_0x37006a(_0x31b99b>=0x0?_0x3c102c['marks'][_0x31b99b]['node']:_0x3c102c['text'],_0x576497);}['updateSelection'](_0x25afc1=!0x1,_0x39822a=!0x1){!_0x25afc1&&this['view']['observer']['selectionRange']['focusNode']||this['view']['observer']['readSelectionRange']();let _0x555745=this['view']['root']['activeElement'],_0x3cb389=_0x555745==this['dom'],_0x31fdec=!_0x3cb389&&!(this['view']['state']['facet'](_0x14b1c6)||this['dom']['tabIndex']>-0x1)&&_0x47ac0f(this['dom'],this['view']['observer']['selectionRange'])&&!(_0x555745&&this['dom']['contains'](_0x555745));if(!(_0x3cb389||_0x39822a||_0x31fdec))return;let _0x4a4ec4=this['forceSelection'];this['forceSelection']=!0x1;let _0x2c527c=this['view']['state']['selection']['main'],_0x101e3e=this['moveToLine'](this['domAtPos'](_0x2c527c['anchor'])),_0x4a3eca=_0x2c527c['empty']?_0x101e3e:this['moveToLine'](this['domAtPos'](_0x2c527c['head']));if(_0x7f953['gecko']&&_0x2c527c['empty']&&!this['hasComposition']&&(0x1==(_0x317dd0=_0x101e3e)['node']['nodeType']&&_0x317dd0['node']['firstChild']&&(0x0==_0x317dd0['offset']||'false'==_0x317dd0['node']['childNodes'][_0x317dd0['offset']-0x1]['contentEditable'])&&(_0x317dd0['offset']==_0x317dd0['node']['childNodes']['length']||'false'==_0x317dd0['node']['childNodes'][_0x317dd0['offset']]['contentEditable']))){let _0x3f20b3=document['createTextNode']('');this['view']['observer']['ignore'](()=>_0x101e3e['node']['insertBefore'](_0x3f20b3,_0x101e3e['node']['childNodes'][_0x101e3e['offset']]||null)),_0x101e3e=_0x4a3eca=new _0x42d446(_0x3f20b3,0x0),_0x4a4ec4=!0x0;}var _0x317dd0;let _0x3cec71=this['view']['observer']['selectionRange'];!_0x4a4ec4&&_0x3cec71['focusNode']&&(_0x7b2d0b(_0x101e3e['node'],_0x101e3e['offset'],_0x3cec71['anchorNode'],_0x3cec71['anchorOffset'])&&_0x7b2d0b(_0x4a3eca['node'],_0x4a3eca['offset'],_0x3cec71['focusNode'],_0x3cec71['focusOffset'])||this['suppressWidgetCursorChange'](_0x3cec71,_0x2c527c))||(this['view']['observer']['ignore'](()=>{_0x7f953['android']&&_0x7f953['chrome']&&this['dom']['contains'](_0x3cec71['focusNode'])&&function(_0x28f899,_0x102903){for(let _0x4b1a41=_0x28f899;_0x4b1a41&&_0x4b1a41!=_0x102903;_0x4b1a41=_0x4b1a41['assignedSlot']||_0x4b1a41['parentNode'])if(0x1==_0x4b1a41['nodeType']&&'false'==_0x4b1a41['contentEditable'])return!0x0;return!0x1;}(_0x3cec71['focusNode'],this['dom'])&&(this['dom']['blur'](),this['dom']['focus']({'preventScroll':!0x0}));let _0x38a53f=_0x13fe97(this['view']['root']);if(_0x38a53f){if(_0x2c527c['empty']){if(_0x7f953['gecko']){let _0x3f8a55=function(_0x21f1bb,_0x11af32){return 0x1!=_0x21f1bb['nodeType']?0x0:(_0x11af32&&'false'==_0x21f1bb['childNodes'][_0x11af32-0x1]['contentEditable']?0x1:0x0)|(_0x11af32<_0x21f1bb['childNodes']['length']&&'false'==_0x21f1bb['childNodes'][_0x11af32]['contentEditable']?0x2:0x0);}(_0x101e3e['node'],_0x101e3e['offset']);if(_0x3f8a55&&0x3!=_0x3f8a55){let _0x15c353=(0x1==_0x3f8a55?_0x187398:_0xa2671)(_0x101e3e['node'],_0x101e3e['offset']);_0x15c353&&(_0x101e3e=new _0x42d446(_0x15c353['node'],_0x15c353['offset']));}}_0x38a53f['collapse'](_0x101e3e['node'],_0x101e3e['offset']),null!=_0x2c527c['bidiLevel']&&void 0x0!==_0x38a53f['caretBidiLevel']&&(_0x38a53f['caretBidiLevel']=_0x2c527c['bidiLevel']);}else{if(_0x38a53f['extend']){_0x38a53f['collapse'](_0x101e3e['node'],_0x101e3e['offset']);try{_0x38a53f['extend'](_0x4a3eca['node'],_0x4a3eca['offset']);}catch(_0x591a52){}}else{let _0x4c83a6=document['createRange']();_0x2c527c['anchor']>_0x2c527c['head']&&([_0x101e3e,_0x4a3eca]=[_0x4a3eca,_0x101e3e]),_0x4c83a6['setEnd'](_0x4a3eca['node'],_0x4a3eca['offset']),_0x4c83a6['setStart'](_0x101e3e['node'],_0x101e3e['offset']),_0x38a53f['removeAllRanges'](),_0x38a53f['addRange'](_0x4c83a6);}}}else;_0x31fdec&&this['view']['root']['activeElement']==this['dom']&&(this['dom']['blur'](),_0x555745&&_0x555745['focus']());}),this['view']['observer']['setSelectionRange'](_0x101e3e,_0x4a3eca)),this['impreciseAnchor']=_0x101e3e['precise']?null:new _0x42d446(_0x3cec71['anchorNode'],_0x3cec71['anchorOffset']),this['impreciseHead']=_0x4a3eca['precise']?null:new _0x42d446(_0x3cec71['focusNode'],_0x3cec71['focusOffset']);}['suppressWidgetCursorChange'](_0x44bb24,_0x1a89ef){return this['hasComposition']&&_0x1a89ef['empty']&&_0x7b2d0b(_0x44bb24['focusNode'],_0x44bb24['focusOffset'],_0x44bb24['anchorNode'],_0x44bb24['anchorOffset'])&&this['posFromDOM'](_0x44bb24['focusNode'],_0x44bb24['focusOffset'])==_0x1a89ef['head'];}['enforceCursorAssoc'](){if(this['hasComposition'])return;let {view:_0x1326a1}=this,_0xb3b0cf=_0x1326a1['state']['selection']['main'],_0x1f3828=_0x13fe97(_0x1326a1['root']),{anchorNode:_0x59ba1b,anchorOffset:_0x5c4f10}=_0x1326a1['observer']['selectionRange'];if(!(_0x1f3828&&_0xb3b0cf['empty']&&_0xb3b0cf['assoc']&&_0x1f3828['modify']))return;let _0x40079d=_0x36662d['find'](this,_0xb3b0cf['head']);if(!_0x40079d)return;let _0x58f8b1=_0x40079d['posAtStart'];if(_0xb3b0cf['head']==_0x58f8b1||_0xb3b0cf['head']==_0x58f8b1+_0x40079d['length'])return;let _0xb431cc=this['coordsAt'](_0xb3b0cf['head'],-0x1),_0x273a89=this['coordsAt'](_0xb3b0cf['head'],0x1);if(!_0xb431cc||!_0x273a89||_0xb431cc['bottom']>_0x273a89['top'])return;let _0x20bc92=this['domAtPos'](_0xb3b0cf['head']+_0xb3b0cf['assoc']);_0x1f3828['collapse'](_0x20bc92['node'],_0x20bc92['offset']),_0x1f3828['modify']('move',_0xb3b0cf['assoc']<0x0?'forward':'backward','lineboundary'),_0x1326a1['observer']['readSelectionRange']();let _0x399f3e=_0x1326a1['observer']['selectionRange'];_0x1326a1['docView']['posFromDOM'](_0x399f3e['anchorNode'],_0x399f3e['anchorOffset'])!=_0xb3b0cf['from']&&_0x1f3828['collapse'](_0x59ba1b,_0x5c4f10);}['moveToLine'](_0x5a0404){let _0x5684cd,_0x277a51=this['dom'];if(_0x5a0404['node']!=_0x277a51)return _0x5a0404;for(let _0x57a9eb=_0x5a0404['offset'];!_0x5684cd&&_0x57a9eb<_0x277a51['childNodes']['length'];_0x57a9eb++){let _0x6b4bf3=ContentView['get'](_0x277a51['childNodes'][_0x57a9eb]);_0x6b4bf3 instanceof _0x36662d&&(_0x5684cd=_0x6b4bf3['domAtPos'](0x0));}for(let _0x5d50cf=_0x5a0404['offset']-0x1;!_0x5684cd&&_0x5d50cf>=0x0;_0x5d50cf--){let _0x6f0921=ContentView['get'](_0x277a51['childNodes'][_0x5d50cf]);_0x6f0921 instanceof _0x36662d&&(_0x5684cd=_0x6f0921['domAtPos'](_0x6f0921['length']));}return _0x5684cd?new _0x42d446(_0x5684cd['node'],_0x5684cd['offset'],!0x0):_0x5a0404;}['nearest'](_0x5c1a55){for(let _0x4f1b89=_0x5c1a55;_0x4f1b89;){let _0x23be99=ContentView['get'](_0x4f1b89);if(_0x23be99&&_0x23be99['rootView']==this)return _0x23be99;_0x4f1b89=_0x4f1b89['parentNode'];}return null;}['posFromDOM'](_0x4925e1,_0x255a89){let _0x4003df=this['nearest'](_0x4925e1);if(!_0x4003df)throw new RangeError('Trying\x20to\x20find\x20position\x20for\x20a\x20DOM\x20position\x20outside\x20of\x20the\x20document');return _0x4003df['localPosFromDOM'](_0x4925e1,_0x255a89)+_0x4003df['posAtStart'];}['domAtPos'](_0x5ab039){let {i:_0x47e0bb,off:_0x164212}=this['childCursor']()['findPos'](_0x5ab039,-0x1);for(;_0x47e0bb<this['children']['length']-0x1;){let _0x30bcd3=this['children'][_0x47e0bb];if(_0x164212<_0x30bcd3['length']||_0x30bcd3 instanceof _0x36662d)break;_0x47e0bb++,_0x164212=0x0;}return this['children'][_0x47e0bb]['domAtPos'](_0x164212);}['coordsAt'](_0xb064c7,_0x12751e){let _0x5eb586=null,_0x4520cf=0x0;for(let _0x409ea9=this['length'],_0x1bb1da=this['children']['length']-0x1;_0x1bb1da>=0x0;_0x1bb1da--){let _0x4ab193=this['children'][_0x1bb1da],_0x7b3e14=_0x409ea9-_0x4ab193['breakAfter'],_0x52ddb6=_0x7b3e14-_0x4ab193['length'];if(_0x7b3e14<_0xb064c7)break;if(_0x52ddb6<=_0xb064c7&&(_0x52ddb6<_0xb064c7||_0x4ab193['covers'](-0x1))&&(_0x7b3e14>_0xb064c7||_0x4ab193['covers'](0x1))&&(!_0x5eb586||_0x4ab193 instanceof _0x36662d&&!(_0x5eb586 instanceof _0x36662d&&_0x12751e>=0x0)))_0x5eb586=_0x4ab193,_0x4520cf=_0x52ddb6;else{if(_0x5eb586&&_0x52ddb6==_0xb064c7&&_0x7b3e14==_0xb064c7&&_0x4ab193 instanceof BlockWidgetView&&Math['abs'](_0x12751e)<0x2){if(_0x4ab193['deco']['startSide']<0x0)break;_0x1bb1da&&(_0x5eb586=null);}}_0x409ea9=_0x52ddb6;}return _0x5eb586?_0x5eb586['coordsAt'](_0xb064c7-_0x4520cf,_0x12751e):null;}['coordsForChar'](_0x7d6b4c){let {i:_0x1edb6e,off:_0x17e7ae}=this['childPos'](_0x7d6b4c,0x1),_0xd42fd9=this['children'][_0x1edb6e];if(!(_0xd42fd9 instanceof _0x36662d))return null;for(;_0xd42fd9['children']['length'];){let {i:_0x30cb46,off:_0x1044e5}=_0xd42fd9['childPos'](_0x17e7ae,0x1);for(;;_0x30cb46++){if(_0x30cb46==_0xd42fd9['children']['length'])return null;if((_0xd42fd9=_0xd42fd9['children'][_0x30cb46])['length'])break;}_0x17e7ae=_0x1044e5;}if(!(_0xd42fd9 instanceof TextView))return null;let _0x497866=_0x1570cc(_0xd42fd9['text'],_0x17e7ae);if(_0x497866==_0x17e7ae)return null;let _0x221738=_0x546451(_0xd42fd9['dom'],_0x17e7ae,_0x497866)['getClientRects']();for(let _0x3be375=0x0;_0x3be375<_0x221738['length'];_0x3be375++){let _0x775eda=_0x221738[_0x3be375];if(_0x3be375==_0x221738['length']-0x1||_0x775eda['top']<_0x775eda['bottom']&&_0x775eda['left']<_0x775eda['right'])return _0x775eda;}return null;}['measureVisibleLineHeights'](_0xd38a0b){let _0x4b7f82=[],{from:_0x1d29e5,to:_0x3c798e}=_0xd38a0b,_0x5d4ebb=this['view']['contentDOM']['clientWidth'],_0x52be4c=_0x5d4ebb>Math['max'](this['view']['scrollDOM']['clientWidth'],this['minWidth'])+0x1,_0x30d712=-0x1,_0x104a2e=this['view']['textDirection']==_0xdbef2e['LTR'];for(let _0x6b607d=0x0,_0x3206c3=0x0;_0x3206c3<this['children']['length'];_0x3206c3++){let _0x425b9f=this['children'][_0x3206c3],_0x100e59=_0x6b607d+_0x425b9f['length'];if(_0x100e59>_0x3c798e)break;if(_0x6b607d>=_0x1d29e5){let _0x5ab69e=_0x425b9f['dom']['getBoundingClientRect']();if(_0x4b7f82['push'](_0x5ab69e['height']),_0x52be4c){let _0x2d2f75=_0x425b9f['dom']['lastChild'],_0x9663a4=_0x2d2f75?_0xb52415(_0x2d2f75):[];if(_0x9663a4['length']){let _0x180946=_0x9663a4[_0x9663a4['length']-0x1],_0x39314a=_0x104a2e?_0x180946['right']-_0x5ab69e['left']:_0x5ab69e['right']-_0x180946['left'];_0x39314a>_0x30d712&&(_0x30d712=_0x39314a,this['minWidth']=_0x5d4ebb,this['minWidthFrom']=_0x6b607d,this['minWidthTo']=_0x100e59);}}}_0x6b607d=_0x100e59+_0x425b9f['breakAfter'];}return _0x4b7f82;}['textDirectionAt'](_0xe1f276){let {i:_0x4f5501}=this['childPos'](_0xe1f276,0x1);return'rtl'==getComputedStyle(this['children'][_0x4f5501]['dom'])['direction']?_0xdbef2e['RTL']:_0xdbef2e['LTR'];}['measureTextSize'](){for(let _0x25d87e of this['children'])if(_0x25d87e instanceof _0x36662d){let _0x43b121=_0x25d87e['measureTextSize']();if(_0x43b121)return _0x43b121;}let _0x9bd749,_0x39ef05,_0x34fcea,_0x1b92d6=document['createElement']('div');return _0x1b92d6['className']='cm-line',_0x1b92d6['style']['width']='99999px',_0x1b92d6['style']['position']='absolute',_0x1b92d6['textContent']='abc\x20def\x20ghi\x20jkl\x20mno\x20pqr\x20stu',this['view']['observer']['ignore'](()=>{this['dom']['appendChild'](_0x1b92d6);let _0x432dd3=_0xb52415(_0x1b92d6['firstChild'])[0x0];_0x9bd749=_0x1b92d6['getBoundingClientRect']()['height'],_0x39ef05=_0x432dd3?_0x432dd3['width']/0x1b:0x7,_0x34fcea=_0x432dd3?_0x432dd3['height']:_0x9bd749,_0x1b92d6['remove']();}),{'lineHeight':_0x9bd749,'charWidth':_0x39ef05,'textHeight':_0x34fcea};}['childCursor'](_0x5c53dc=this['length']){let _0x3387a0=this['children']['length'];return _0x3387a0&&(_0x5c53dc-=this['children'][--_0x3387a0]['length']),new _0x1a53f3(this['children'],_0x5c53dc,_0x3387a0);}['computeBlockGapDeco'](){let _0x1a46b1=[],_0x50c40f=this['view']['viewState'];for(let _0x324bb3=0x0,_0x449b70=0x0;;_0x449b70++){let _0x58ab96=_0x449b70==_0x50c40f['viewports']['length']?null:_0x50c40f['viewports'][_0x449b70],_0x589ff4=_0x58ab96?_0x58ab96['from']-0x1:this['length'];if(_0x589ff4>_0x324bb3){let _0x153c68=(_0x50c40f['lineBlockAt'](_0x589ff4)['bottom']-_0x50c40f['lineBlockAt'](_0x324bb3)['top'])/this['view']['scaleY'];_0x1a46b1['push'](Decoration['replace']({'widget':new BlockGapWidget(_0x153c68),'block':!0x0,'inclusive':!0x0,'isBlockGap':!0x0})['range'](_0x324bb3,_0x589ff4));}if(!_0x58ab96)break;_0x324bb3=_0x58ab96['to']+0x1;}return Decoration['set'](_0x1a46b1);}['updateDeco'](){let _0x388963=0x1,_0x1c47ff=this['view']['state']['facet'](_0x4b35df)['map'](_0x64e919=>(this['dynamicDecorationMap'][_0x388963++]='function'==typeof _0x64e919)?_0x64e919(this['view']):_0x64e919),_0x4ffa5e=!0x1,_0x21d682=this['view']['state']['facet'](_0x13ea98)['map']((_0x33823e,_0x1b86fa)=>{let _0x113e84='function'==typeof _0x33823e;return _0x113e84&&(_0x4ffa5e=!0x0),_0x113e84?_0x33823e(this['view']):_0x33823e;});for(_0x21d682['length']&&(this['dynamicDecorationMap'][_0x388963++]=_0x4ffa5e,_0x1c47ff['push'](RangeSet['join'](_0x21d682))),this['decorations']=[this['editContextFormatting'],..._0x1c47ff,this['computeBlockGapDeco'](),this['view']['viewState']['lineGapDeco']];_0x388963<this['decorations']['length'];)this['dynamicDecorationMap'][_0x388963++]=!0x1;return this['decorations'];}['scrollIntoView'](_0x27a657){if(_0x27a657['isSnapshot']){let _0x5e3509=this['view']['viewState']['lineBlockAt'](_0x27a657['range']['head']);return this['view']['scrollDOM']['scrollTop']=_0x5e3509['top']-_0x27a657['yMargin'],void(this['view']['scrollDOM']['scrollLeft']=_0x27a657['xMargin']);}for(let _0xead1a of this['view']['state']['facet'](_0x3e7e02))try{if(_0xead1a(this['view'],_0x27a657['range'],_0x27a657))return!0x0;}catch(_0xa91752){_0x1922d6(this['view']['state'],_0xa91752,'scroll\x20handler');}let _0x2b3b63,{range:_0x1ca967}=_0x27a657,_0x1df19c=this['coordsAt'](_0x1ca967['head'],_0x1ca967['empty']?_0x1ca967['assoc']:_0x1ca967['head']>_0x1ca967['anchor']?-0x1:0x1);if(!_0x1df19c)return;!_0x1ca967['empty']&&(_0x2b3b63=this['coordsAt'](_0x1ca967['anchor'],_0x1ca967['anchor']>_0x1ca967['head']?-0x1:0x1))&&(_0x1df19c={'left':Math['min'](_0x1df19c['left'],_0x2b3b63['left']),'top':Math['min'](_0x1df19c['top'],_0x2b3b63['top']),'right':Math['max'](_0x1df19c['right'],_0x2b3b63['right']),'bottom':Math['max'](_0x1df19c['bottom'],_0x2b3b63['bottom'])});let _0x1b9404=_0x2ad99e(this['view']),_0x5b2f8e={'left':_0x1df19c['left']-_0x1b9404['left'],'top':_0x1df19c['top']-_0x1b9404['top'],'right':_0x1df19c['right']+_0x1b9404['right'],'bottom':_0x1df19c['bottom']+_0x1b9404['bottom']},{offsetWidth:_0x560414,offsetHeight:_0x5a5cf8}=this['view']['scrollDOM'];!function(_0x2f0ab2,_0x3efb3f,_0x1567f3,_0x182bea,_0x310ca6,_0x2a6833,_0x1c3055,_0xe8b432){let _0x5b0c44=_0x2f0ab2['ownerDocument'],_0xdf1d75=_0x5b0c44['defaultView']||window;for(let _0x2a4382=_0x2f0ab2,_0xfca6a9=!0x1;_0x2a4382&&!_0xfca6a9;)if(0x1==_0x2a4382['nodeType']){let _0x187811,_0x16da5d=_0x2a4382==_0x5b0c44['body'],_0x2a7d43=0x1,_0x5120e1=0x1;if(_0x16da5d)_0x187811=_0x37ae36(_0xdf1d75);else{if(/^(fixed|sticky)$/['test'](getComputedStyle(_0x2a4382)['position'])&&(_0xfca6a9=!0x0),_0x2a4382['scrollHeight']<=_0x2a4382['clientHeight']&&_0x2a4382['scrollWidth']<=_0x2a4382['clientWidth']){_0x2a4382=_0x2a4382['assignedSlot']||_0x2a4382['parentNode'];continue;}let _0x368f07=_0x2a4382['getBoundingClientRect']();({scaleX:_0x2a7d43,scaleY:_0x5120e1}=_0x49b6fb(_0x2a4382,_0x368f07),_0x187811={'left':_0x368f07['left'],'right':_0x368f07['left']+_0x2a4382['clientWidth']*_0x2a7d43,'top':_0x368f07['top'],'bottom':_0x368f07['top']+_0x2a4382['clientHeight']*_0x5120e1});}let _0x3a773c=0x0,_0x2c89e6=0x0;if('nearest'==_0x310ca6)_0x3efb3f['top']<_0x187811['top']?(_0x2c89e6=_0x3efb3f['top']-(_0x187811['top']+_0x1c3055),_0x1567f3>0x0&&_0x3efb3f['bottom']>_0x187811['bottom']+_0x2c89e6&&(_0x2c89e6=_0x3efb3f['bottom']-_0x187811['bottom']+_0x1c3055)):_0x3efb3f['bottom']>_0x187811['bottom']&&(_0x2c89e6=_0x3efb3f['bottom']-_0x187811['bottom']+_0x1c3055,_0x1567f3<0x0&&_0x3efb3f['top']-_0x2c89e6<_0x187811['top']&&(_0x2c89e6=_0x3efb3f['top']-(_0x187811['top']+_0x1c3055)));else{let _0x4a61aa=_0x3efb3f['bottom']-_0x3efb3f['top'],_0x4a6315=_0x187811['bottom']-_0x187811['top'];_0x2c89e6=('center'==_0x310ca6&&_0x4a61aa<=_0x4a6315?_0x3efb3f['top']+_0x4a61aa/0x2-_0x4a6315/0x2:'start'==_0x310ca6||'center'==_0x310ca6&&_0x1567f3<0x0?_0x3efb3f['top']-_0x1c3055:_0x3efb3f['bottom']-_0x4a6315+_0x1c3055)-_0x187811['top'];}if('nearest'==_0x182bea?_0x3efb3f['left']<_0x187811['left']?(_0x3a773c=_0x3efb3f['left']-(_0x187811['left']+_0x2a6833),_0x1567f3>0x0&&_0x3efb3f['right']>_0x187811['right']+_0x3a773c&&(_0x3a773c=_0x3efb3f['right']-_0x187811['right']+_0x2a6833)):_0x3efb3f['right']>_0x187811['right']&&(_0x3a773c=_0x3efb3f['right']-_0x187811['right']+_0x2a6833,_0x1567f3<0x0&&_0x3efb3f['left']<_0x187811['left']+_0x3a773c&&(_0x3a773c=_0x3efb3f['left']-(_0x187811['left']+_0x2a6833))):_0x3a773c=('center'==_0x182bea?_0x3efb3f['left']+(_0x3efb3f['right']-_0x3efb3f['left'])/0x2-(_0x187811['right']-_0x187811['left'])/0x2:'start'==_0x182bea==_0xe8b432?_0x3efb3f['left']-_0x2a6833:_0x3efb3f['right']-(_0x187811['right']-_0x187811['left'])+_0x2a6833)-_0x187811['left'],_0x3a773c||_0x2c89e6){if(_0x16da5d)_0xdf1d75['scrollBy'](_0x3a773c,_0x2c89e6);else{let _0x27b529=0x0,_0x4e84e0=0x0;if(_0x2c89e6){let _0x50ef0c=_0x2a4382['scrollTop'];_0x2a4382['scrollTop']+=_0x2c89e6/_0x5120e1,_0x4e84e0=(_0x2a4382['scrollTop']-_0x50ef0c)*_0x5120e1;}if(_0x3a773c){let _0x4b34b6=_0x2a4382['scrollLeft'];_0x2a4382['scrollLeft']+=_0x3a773c/_0x2a7d43,_0x27b529=(_0x2a4382['scrollLeft']-_0x4b34b6)*_0x2a7d43;}_0x3efb3f={'left':_0x3efb3f['left']-_0x27b529,'top':_0x3efb3f['top']-_0x4e84e0,'right':_0x3efb3f['right']-_0x27b529,'bottom':_0x3efb3f['bottom']-_0x4e84e0},_0x27b529&&Math['abs'](_0x27b529-_0x3a773c)<0x1&&(_0x182bea='nearest'),_0x4e84e0&&Math['abs'](_0x4e84e0-_0x2c89e6)<0x1&&(_0x310ca6='nearest');}}if(_0x16da5d)break;(_0x3efb3f['top']<_0x187811['top']||_0x3efb3f['bottom']>_0x187811['bottom']||_0x3efb3f['left']<_0x187811['left']||_0x3efb3f['right']>_0x187811['right'])&&(_0x3efb3f={'left':Math['max'](_0x3efb3f['left'],_0x187811['left']),'right':Math['min'](_0x3efb3f['right'],_0x187811['right']),'top':Math['max'](_0x3efb3f['top'],_0x187811['top']),'bottom':Math['min'](_0x3efb3f['bottom'],_0x187811['bottom'])}),_0x2a4382=_0x2a4382['assignedSlot']||_0x2a4382['parentNode'];}else{if(0xb!=_0x2a4382['nodeType'])break;_0x2a4382=_0x2a4382['host'];}}(this['view']['scrollDOM'],_0x5b2f8e,_0x1ca967['head']<_0x1ca967['anchor']?-0x1:0x1,_0x27a657['x'],_0x27a657['y'],Math['max'](Math['min'](_0x27a657['xMargin'],_0x560414),-_0x560414),Math['max'](Math['min'](_0x27a657['yMargin'],_0x5a5cf8),-_0x5a5cf8),this['view']['textDirection']==_0xdbef2e['LTR']);}}function _0xc0327c(_0x2755d3,_0xe726d0){let _0x3afc75=_0x2755d3['observer']['selectionRange'];if(!_0x3afc75['focusNode'])return null;let _0x3f6f27=_0x187398(_0x3afc75['focusNode'],_0x3afc75['focusOffset']),_0x221865=_0xa2671(_0x3afc75['focusNode'],_0x3afc75['focusOffset']),_0x369db1=_0x3f6f27||_0x221865;if(_0x221865&&_0x3f6f27&&_0x221865['node']!=_0x3f6f27['node']){let _0x3d3dfe=ContentView['get'](_0x221865['node']);if(!_0x3d3dfe||_0x3d3dfe instanceof TextView&&_0x3d3dfe['text']!=_0x221865['node']['nodeValue'])_0x369db1=_0x221865;else{if(_0x2755d3['docView']['lastCompositionAfterCursor']){let _0x1b1b23=ContentView['get'](_0x3f6f27['node']);!_0x1b1b23||_0x1b1b23 instanceof TextView&&_0x1b1b23['text']!=_0x3f6f27['node']['nodeValue']||(_0x369db1=_0x221865);}}}if(_0x2755d3['docView']['lastCompositionAfterCursor']=_0x369db1!=_0x3f6f27,!_0x369db1)return null;let _0x3406f9=_0xe726d0-_0x369db1['offset'];return{'from':_0x3406f9,'to':_0x3406f9+_0x369db1['node']['nodeValue']['length'],'node':_0x369db1['node']};}let _0x503612=class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](_0x3e9ae7,_0x531877){_0x1c0228(_0x3e9ae7,_0x531877,this['changes']);}['comparePoint'](_0x1b704e,_0x418e68){_0x1c0228(_0x1b704e,_0x418e68,this['changes']);}['boundChange'](_0x97804e){_0x1c0228(_0x97804e,_0x97804e,this['changes']);}};function _0x4e7bb8(_0x13ffd0,_0x4af8f7){return _0x4af8f7['left']>_0x13ffd0?_0x4af8f7['left']-_0x13ffd0:Math['max'](0x0,_0x13ffd0-_0x4af8f7['right']);}function _0x2cfbfb(_0x109914,_0x88506f){return _0x88506f['top']>_0x109914?_0x88506f['top']-_0x109914:Math['max'](0x0,_0x109914-_0x88506f['bottom']);}function _0x2063b8(_0xe29561,_0x5ca7bd){return _0xe29561['top']<_0x5ca7bd['bottom']-0x1&&_0xe29561['bottom']>_0x5ca7bd['top']+0x1;}function _0x1452a8(_0x2d1633,_0x4f7585){return _0x4f7585<_0x2d1633['top']?{'top':_0x4f7585,'left':_0x2d1633['left'],'right':_0x2d1633['right'],'bottom':_0x2d1633['bottom']}:_0x2d1633;}function _0x2f08c5(_0x19cc4b,_0x1cb832){return _0x1cb832>_0x19cc4b['bottom']?{'top':_0x19cc4b['top'],'left':_0x19cc4b['left'],'right':_0x19cc4b['right'],'bottom':_0x1cb832}:_0x19cc4b;}function _0x1928cd(_0x7c9bcc,_0x259c9f,_0x45673a){let _0x547447,_0x5a7c6d,_0x1a0c08,_0xb6e4e0,_0x361ff2,_0x1572bb,_0xa6b92d,_0x1c2849,_0x36030=!0x1;for(let _0xa7f281=_0x7c9bcc['firstChild'];_0xa7f281;_0xa7f281=_0xa7f281['nextSibling']){let _0x4f3d5b=_0xb52415(_0xa7f281);for(let _0x186ba7=0x0;_0x186ba7<_0x4f3d5b['length'];_0x186ba7++){let _0x56fb04=_0x4f3d5b[_0x186ba7];_0x5a7c6d&&_0x2063b8(_0x5a7c6d,_0x56fb04)&&(_0x56fb04=_0x1452a8(_0x2f08c5(_0x56fb04,_0x5a7c6d['bottom']),_0x5a7c6d['top']));let _0x29d063=_0x4e7bb8(_0x259c9f,_0x56fb04),_0x1d7839=_0x2cfbfb(_0x45673a,_0x56fb04);if(0x0==_0x29d063&&0x0==_0x1d7839)return 0x3==_0xa7f281['nodeType']?_0x4fa8e8(_0xa7f281,_0x259c9f,_0x45673a):_0x1928cd(_0xa7f281,_0x259c9f,_0x45673a);(!_0x547447||_0xb6e4e0>_0x1d7839||_0xb6e4e0==_0x1d7839&&_0x1a0c08>_0x29d063)&&(_0x547447=_0xa7f281,_0x5a7c6d=_0x56fb04,_0x1a0c08=_0x29d063,_0xb6e4e0=_0x1d7839,_0x36030=!_0x29d063||(_0x259c9f<_0x56fb04['left']?_0x186ba7>0x0:_0x186ba7<_0x4f3d5b['length']-0x1)),0x0==_0x29d063?_0x45673a>_0x56fb04['bottom']&&(!_0xa6b92d||_0xa6b92d['bottom']<_0x56fb04['bottom'])?(_0x361ff2=_0xa7f281,_0xa6b92d=_0x56fb04):_0x45673a<_0x56fb04['top']&&(!_0x1c2849||_0x1c2849['top']>_0x56fb04['top'])&&(_0x1572bb=_0xa7f281,_0x1c2849=_0x56fb04):_0xa6b92d&&_0x2063b8(_0xa6b92d,_0x56fb04)?_0xa6b92d=_0x2f08c5(_0xa6b92d,_0x56fb04['bottom']):_0x1c2849&&_0x2063b8(_0x1c2849,_0x56fb04)&&(_0x1c2849=_0x1452a8(_0x1c2849,_0x56fb04['top']));}}if(_0xa6b92d&&_0xa6b92d['bottom']>=_0x45673a?(_0x547447=_0x361ff2,_0x5a7c6d=_0xa6b92d):_0x1c2849&&_0x1c2849['top']<=_0x45673a&&(_0x547447=_0x1572bb,_0x5a7c6d=_0x1c2849),!_0x547447)return{'node':_0x7c9bcc,'offset':0x0};let _0x296784=Math['max'](_0x5a7c6d['left'],Math['min'](_0x5a7c6d['right'],_0x259c9f));return 0x3==_0x547447['nodeType']?_0x4fa8e8(_0x547447,_0x296784,_0x45673a):_0x36030&&'false'!=_0x547447['contentEditable']?_0x1928cd(_0x547447,_0x296784,_0x45673a):{'node':_0x7c9bcc,'offset':Array['prototype']['indexOf']['call'](_0x7c9bcc['childNodes'],_0x547447)+(_0x259c9f>=(_0x5a7c6d['left']+_0x5a7c6d['right'])/0x2?0x1:0x0)};}function _0x4fa8e8(_0x20ce89,_0x28274d,_0x1acd62){let _0x4293c3=_0x20ce89['nodeValue']['length'],_0x17fecb=-0x1,_0x2f6f9b=0x3b9aca00,_0x126f7b=0x0;for(let _0x3e7fc0=0x0;_0x3e7fc0<_0x4293c3;_0x3e7fc0++){let _0x12a774=_0x546451(_0x20ce89,_0x3e7fc0,_0x3e7fc0+0x1)['getClientRects']();for(let _0xf9c835=0x0;_0xf9c835<_0x12a774['length'];_0xf9c835++){let _0x2ee763=_0x12a774[_0xf9c835];if(_0x2ee763['top']==_0x2ee763['bottom'])continue;_0x126f7b||(_0x126f7b=_0x28274d-_0x2ee763['left']);let _0x27afb1=(_0x2ee763['top']>_0x1acd62?_0x2ee763['top']-_0x1acd62:_0x1acd62-_0x2ee763['bottom'])-0x1;if(_0x2ee763['left']-0x1<=_0x28274d&&_0x2ee763['right']+0x1>=_0x28274d&&_0x27afb1<_0x2f6f9b){let _0x1947a8=_0x28274d>=(_0x2ee763['left']+_0x2ee763['right'])/0x2,_0x2bfc3f=_0x1947a8;(_0x7f953['chrome']||_0x7f953['gecko'])&&(_0x546451(_0x20ce89,_0x3e7fc0)['getBoundingClientRect']()['left']==_0x2ee763['right']&&(_0x2bfc3f=!_0x1947a8));if(_0x27afb1<=0x0)return{'node':_0x20ce89,'offset':_0x3e7fc0+(_0x2bfc3f?0x1:0x0)};_0x17fecb=_0x3e7fc0+(_0x2bfc3f?0x1:0x0),_0x2f6f9b=_0x27afb1;}}}return{'node':_0x20ce89,'offset':_0x17fecb>-0x1?_0x17fecb:_0x126f7b>0x0?_0x20ce89['nodeValue']['length']:0x0};}function _0xd58b13(_0x56cc62,_0x59d23c,_0x3ade08,_0x57bbe6=-0x1){var _0xbda7cd,_0x10b296;let _0x231868,_0x30e72e=_0x56cc62['contentDOM']['getBoundingClientRect'](),_0x409ae6=_0x30e72e['top']+_0x56cc62['viewState']['paddingTop'],{docHeight:_0x4459bb}=_0x56cc62['viewState'],{x:_0x2a2c4b,y:_0xcff694}=_0x59d23c,_0x9448dc=_0xcff694-_0x409ae6;if(_0x9448dc<0x0)return 0x0;if(_0x9448dc>_0x4459bb)return _0x56cc62['state']['doc']['length'];for(let _0x3ddea7=_0x56cc62['viewState']['heightOracle']['textHeight']/0x2,_0x3952c2=!0x1;_0x231868=_0x56cc62['elementAtHeight'](_0x9448dc),_0x231868['type']!=_0x236364['Text'];)for(;_0x9448dc=_0x57bbe6>0x0?_0x231868['bottom']+_0x3ddea7:_0x231868['top']-_0x3ddea7,!(_0x9448dc>=0x0&&_0x9448dc<=_0x4459bb);){if(_0x3952c2)return _0x3ade08?null:0x0;_0x3952c2=!0x0,_0x57bbe6=-_0x57bbe6;}_0xcff694=_0x409ae6+_0x9448dc;let _0x320ea4=_0x231868['from'];if(_0x320ea4<_0x56cc62['viewport']['from'])return 0x0==_0x56cc62['viewport']['from']?0x0:_0x3ade08?null:_0x33fb84(_0x56cc62,_0x30e72e,_0x231868,_0x2a2c4b,_0xcff694);if(_0x320ea4>_0x56cc62['viewport']['to'])return _0x56cc62['viewport']['to']==_0x56cc62['state']['doc']['length']?_0x56cc62['state']['doc']['length']:_0x3ade08?null:_0x33fb84(_0x56cc62,_0x30e72e,_0x231868,_0x2a2c4b,_0xcff694);let _0xee499e=_0x56cc62['dom']['ownerDocument'],_0x5292f6=_0x56cc62['root']['elementFromPoint']?_0x56cc62['root']:_0xee499e,_0x4a886a=_0x5292f6['elementFromPoint'](_0x2a2c4b,_0xcff694);_0x4a886a&&!_0x56cc62['contentDOM']['contains'](_0x4a886a)&&(_0x4a886a=null),_0x4a886a||(_0x2a2c4b=Math['max'](_0x30e72e['left']+0x1,Math['min'](_0x30e72e['right']-0x1,_0x2a2c4b)),_0x4a886a=_0x5292f6['elementFromPoint'](_0x2a2c4b,_0xcff694),_0x4a886a&&!_0x56cc62['contentDOM']['contains'](_0x4a886a)&&(_0x4a886a=null));let _0x5c40ab,_0x1a1441=-0x1;if(_0x4a886a&&0x0!=(null===(_0xbda7cd=_0x56cc62['docView']['nearest'](_0x4a886a))||void 0x0===_0xbda7cd?void 0x0:_0xbda7cd['isEditable'])){if(_0xee499e['caretPositionFromPoint']){let _0x4b4087=_0xee499e['caretPositionFromPoint'](_0x2a2c4b,_0xcff694);_0x4b4087&&({offsetNode:_0x5c40ab,offset:_0x1a1441}=_0x4b4087);}else{if(_0xee499e['caretRangeFromPoint']){let _0x4c990b=_0xee499e['caretRangeFromPoint'](_0x2a2c4b,_0xcff694);_0x4c990b&&({startContainer:_0x5c40ab,startOffset:_0x1a1441}=_0x4c990b);}}_0x5c40ab&&(!_0x56cc62['contentDOM']['contains'](_0x5c40ab)||_0x7f953['safari']&&function(_0x2c12a1,_0x4832b9,_0x4dab31){return _0x478858(_0x2c12a1,_0x4832b9,_0x4dab31);}(_0x5c40ab,_0x1a1441,_0x2a2c4b)||_0x7f953['chrome']&&function(_0x2b968b,_0x43310a,_0x85a635){if(0x0!=_0x43310a)return _0x478858(_0x2b968b,_0x43310a,_0x85a635);for(let _0x5b2620=_0x2b968b;;){let _0xc22dd=_0x5b2620['parentNode'];if(!_0xc22dd||0x1!=_0xc22dd['nodeType']||_0xc22dd['firstChild']!=_0x5b2620)return!0x1;if(_0xc22dd['classList']['contains']('cm-line'))break;_0x5b2620=_0xc22dd;}let _0x51ca75=0x1==_0x2b968b['nodeType']?_0x2b968b['getBoundingClientRect']():_0x546451(_0x2b968b,0x0,Math['max'](_0x2b968b['nodeValue']['length'],0x1))['getBoundingClientRect']();return _0x85a635-_0x51ca75['left']>0x5;}(_0x5c40ab,_0x1a1441,_0x2a2c4b))&&(_0x5c40ab=void 0x0),_0x5c40ab&&(_0x1a1441=Math['min'](_0x1f93f4(_0x5c40ab),_0x1a1441));}if(!_0x5c40ab||!_0x56cc62['docView']['dom']['contains'](_0x5c40ab)){let _0x381f58=_0x36662d['find'](_0x56cc62['docView'],_0x320ea4);if(!_0x381f58)return _0x9448dc>_0x231868['top']+_0x231868['height']/0x2?_0x231868['to']:_0x231868['from'];({node:_0x5c40ab,offset:_0x1a1441}=_0x1928cd(_0x381f58['dom'],_0x2a2c4b,_0xcff694));}let _0x9a3e02=_0x56cc62['docView']['nearest'](_0x5c40ab);if(!_0x9a3e02)return null;if(_0x9a3e02['isWidget']&&0x1==(null===(_0x10b296=_0x9a3e02['dom'])||void 0x0===_0x10b296?void 0x0:_0x10b296['nodeType'])){let _0x138cd5=_0x9a3e02['dom']['getBoundingClientRect']();return _0x59d23c['y']<_0x138cd5['top']||_0x59d23c['y']<=_0x138cd5['bottom']&&_0x59d23c['x']<=(_0x138cd5['left']+_0x138cd5['right'])/0x2?_0x9a3e02['posAtStart']:_0x9a3e02['posAtEnd'];}return _0x9a3e02['localPosFromDOM'](_0x5c40ab,_0x1a1441)+_0x9a3e02['posAtStart'];}function _0x33fb84(_0x15c68c,_0x4f5337,_0x3e8442,_0x3b47dc,_0x27f61b){let _0x160b60=Math['round']((_0x3b47dc-_0x4f5337['left'])*_0x15c68c['defaultCharacterWidth']);if(_0x15c68c['lineWrapping']&&_0x3e8442['height']>1.5*_0x15c68c['defaultLineHeight']){let _0x2f9ea6=_0x15c68c['viewState']['heightOracle']['textHeight'];_0x160b60+=Math['floor']((_0x27f61b-_0x3e8442['top']-0.5*(_0x15c68c['defaultLineHeight']-_0x2f9ea6))/_0x2f9ea6)*_0x15c68c['viewState']['heightOracle']['lineLength'];}let _0x55120a=_0x15c68c['state']['sliceDoc'](_0x3e8442['from'],_0x3e8442['to']);return _0x3e8442['from']+_0x410c4e(_0x55120a,_0x160b60,_0x15c68c['state']['tabSize']);}function _0x478858(_0x469311,_0x5b6655,_0x4d7997){let _0x219e94,_0x115d52=_0x469311;if(0x3!=_0x469311['nodeType']||_0x5b6655!=(_0x219e94=_0x469311['nodeValue']['length']))return!0x1;for(;;){let _0x4b1c42=_0x115d52['nextSibling'];if(_0x4b1c42){if('BR'==_0x4b1c42['nodeName'])break;return!0x1;}{let _0x40ad7e=_0x115d52['parentNode'];if(!_0x40ad7e||'DIV'==_0x40ad7e['nodeName'])break;_0x115d52=_0x40ad7e;}}return _0x546451(_0x469311,_0x219e94-0x1,_0x219e94)['getBoundingClientRect']()['right']>_0x4d7997;}function _0x17e5cb(_0x4855de,_0x548160,_0x2209f7){let _0x876a34=_0x4855de['lineBlockAt'](_0x548160);if(Array['isArray'](_0x876a34['type'])){let _0x102fb3;for(let _0x53c40c of _0x876a34['type']){if(_0x53c40c['from']>_0x548160)break;if(!(_0x53c40c['to']<_0x548160)){if(_0x53c40c['from']<_0x548160&&_0x53c40c['to']>_0x548160)return _0x53c40c;_0x102fb3&&(_0x53c40c['type']!=_0x236364['Text']||_0x102fb3['type']==_0x53c40c['type']&&!(_0x2209f7<0x0?_0x53c40c['from']<_0x548160:_0x53c40c['to']>_0x548160))||(_0x102fb3=_0x53c40c);}}return _0x102fb3||_0x876a34;}return _0x876a34;}function _0x22d5a9(_0x4367ed,_0x11bec0,_0x2105ef,_0x5e2bd5){let _0x49305c=_0x4367ed['state']['doc']['lineAt'](_0x11bec0['head']),_0x235bec=_0x4367ed['bidiSpans'](_0x49305c),_0x938f29=_0x4367ed['textDirectionAt'](_0x49305c['from']);for(let _0x56ef88=_0x11bec0,_0x1a8352=null;;){let _0x8de550=_0x111688(_0x49305c,_0x235bec,_0x938f29,_0x56ef88,_0x2105ef),_0x4e63e9=_0xf2aabd;if(!_0x8de550){if(_0x49305c['number']==(_0x2105ef?_0x4367ed['state']['doc']['lines']:0x1))return _0x56ef88;_0x4e63e9='\x0a',_0x49305c=_0x4367ed['state']['doc']['line'](_0x49305c['number']+(_0x2105ef?0x1:-0x1)),_0x235bec=_0x4367ed['bidiSpans'](_0x49305c),_0x8de550=_0x4367ed['visualLineSide'](_0x49305c,!_0x2105ef);}if(_0x1a8352){if(!_0x1a8352(_0x4e63e9))return _0x56ef88;}else{if(!_0x5e2bd5)return _0x8de550;_0x1a8352=_0x5e2bd5(_0x4e63e9);}_0x56ef88=_0x8de550;}}function _0x12ef8e(_0x100ef6,_0x35c32b,_0x16e0b1){for(;;){let _0x24c7d0=0x0;for(let _0x131fbe of _0x100ef6)_0x131fbe['between'](_0x35c32b-0x1,_0x35c32b+0x1,(_0x36cb56,_0x3a3c29,_0x563bf0)=>{if(_0x35c32b>_0x36cb56&&_0x35c32b<_0x3a3c29){let _0x170e99=_0x24c7d0||_0x16e0b1||(_0x35c32b-_0x36cb56<_0x3a3c29-_0x35c32b?-0x1:0x1);_0x35c32b=_0x170e99<0x0?_0x36cb56:_0x3a3c29,_0x24c7d0=_0x170e99;}});if(!_0x24c7d0)return _0x35c32b;}}function _0x41823e(_0x372df3,_0x2bdbbc){let _0x3d9f36=null;for(let _0x2ff624=0x0;_0x2ff624<_0x2bdbbc['ranges']['length'];_0x2ff624++){let _0x13265b=_0x2bdbbc['ranges'][_0x2ff624],_0x33eeed=null;if(_0x13265b['empty']){let _0x4ee8a1=_0x12ef8e(_0x372df3,_0x13265b['from'],0x0);_0x4ee8a1!=_0x13265b['from']&&(_0x33eeed=EditorSelection['cursor'](_0x4ee8a1,-0x1));}else{let _0x5a881d=_0x12ef8e(_0x372df3,_0x13265b['from'],-0x1),_0x2deab0=_0x12ef8e(_0x372df3,_0x13265b['to'],0x1);_0x5a881d==_0x13265b['from']&&_0x2deab0==_0x13265b['to']||(_0x33eeed=EditorSelection['range'](_0x13265b['from']==_0x13265b['anchor']?_0x5a881d:_0x2deab0,_0x13265b['from']==_0x13265b['head']?_0x5a881d:_0x2deab0));}_0x33eeed&&(_0x3d9f36||(_0x3d9f36=_0x2bdbbc['ranges']['slice']()),_0x3d9f36[_0x2ff624]=_0x33eeed);}return _0x3d9f36?EditorSelection['create'](_0x3d9f36,_0x2bdbbc['mainIndex']):_0x2bdbbc;}function _0x25167c(_0x38463,_0x36ad52,_0x51648b){let _0x3e394a=_0x12ef8e(_0x38463['state']['facet'](_0x4aacd4)['map'](_0x3e3cdd=>_0x3e3cdd(_0x38463)),_0x51648b['from'],_0x36ad52['head']>_0x51648b['from']?-0x1:0x1);return _0x3e394a==_0x51648b['from']?_0x51648b:EditorSelection['cursor'](_0x3e394a,_0x3e394a<_0x51648b['from']?0x1:-0x1);}const tw='';class _0xf3d60d{constructor(_0x745881,_0x447e08){this['points']=_0x745881,this['text']='',this['lineSeparator']=_0x447e08['facet'](EditorState['lineSeparator']);}['append'](_0x484f84){this['text']+=_0x484f84;}['lineBreak'](){this['text']+=tw;}['readRange'](_0x18f3ee,_0x5b1394){if(!_0x18f3ee)return this;let _0x306ec4=_0x18f3ee['parentNode'];for(let _0x5b6a91=_0x18f3ee;;){this['findPointBefore'](_0x306ec4,_0x5b6a91);let _0x1dd380=this['text']['length'];this['readNode'](_0x5b6a91);let _0x52bf8e=_0x5b6a91['nextSibling'];if(_0x52bf8e==_0x5b1394)break;let _0x10f85c=ContentView['get'](_0x5b6a91),_0x24971e=ContentView['get'](_0x52bf8e);(_0x10f85c&&_0x24971e?_0x10f85c['breakAfter']:(_0x10f85c?_0x10f85c['breakAfter']:_0x1e9486(_0x5b6a91))||_0x1e9486(_0x52bf8e)&&('BR'!=_0x5b6a91['nodeName']||_0x5b6a91['cmIgnore'])&&this['text']['length']>_0x1dd380)&&!_0x19edef(_0x52bf8e,_0x5b1394)&&this['lineBreak'](),_0x5b6a91=_0x52bf8e;}return this['findPointBefore'](_0x306ec4,_0x5b1394),this;}['readTextNode'](_0x168519){let _0x3b518d=_0x168519['nodeValue'];for(let _0x4c4ade of this['points'])_0x4c4ade['node']==_0x168519&&(_0x4c4ade['pos']=this['text']['length']+Math['min'](_0x4c4ade['offset'],_0x3b518d['length']));for(let _0x4e1ca0=0x0,_0x307bab=this['lineSeparator']?null:/\r\n?|\n/g;;){let _0x17371b,_0x1986c8=-0x1,_0x191a74=0x1;if(this['lineSeparator']?(_0x1986c8=_0x3b518d['indexOf'](this['lineSeparator'],_0x4e1ca0),_0x191a74=this['lineSeparator']['length']):(_0x17371b=_0x307bab['exec'](_0x3b518d))&&(_0x1986c8=_0x17371b['index'],_0x191a74=_0x17371b[0x0]['length']),this['append'](_0x3b518d['slice'](_0x4e1ca0,_0x1986c8<0x0?_0x3b518d['length']:_0x1986c8)),_0x1986c8<0x0)break;if(this['lineBreak'](),_0x191a74>0x1){for(let _0x5c2fe9 of this['points'])_0x5c2fe9['node']==_0x168519&&_0x5c2fe9['pos']>this['text']['length']&&(_0x5c2fe9['pos']-=_0x191a74-0x1);}_0x4e1ca0=_0x1986c8+_0x191a74;}}['readNode'](_0x2ade41){if(_0x2ade41['cmIgnore'])return;let _0x307ceb=ContentView['get'](_0x2ade41),_0x3be6ec=_0x307ceb&&_0x307ceb['overrideDOMText'];if(null!=_0x3be6ec){this['findPointInside'](_0x2ade41,_0x3be6ec['length']);for(let _0x241aa3=_0x3be6ec['iter']();!_0x241aa3['next']()['done'];)_0x241aa3['lineBreak']?this['lineBreak']():this['append'](_0x241aa3['value']);}else 0x3==_0x2ade41['nodeType']?this['readTextNode'](_0x2ade41):'BR'==_0x2ade41['nodeName']?_0x2ade41['nextSibling']&&this['lineBreak']():0x1==_0x2ade41['nodeType']&&this['readRange'](_0x2ade41['firstChild'],null);}['findPointBefore'](_0x40a916,_0x3230d7){for(let _0x24edf4 of this['points'])_0x24edf4['node']==_0x40a916&&_0x40a916['childNodes'][_0x24edf4['offset']]==_0x3230d7&&(_0x24edf4['pos']=this['text']['length']);}['findPointInside'](_0x55c1c1,_0x537e3f){for(let _0x3f4a1b of this['points'])(0x3==_0x55c1c1['nodeType']?_0x3f4a1b['node']==_0x55c1c1:_0x55c1c1['contains'](_0x3f4a1b['node']))&&(_0x3f4a1b['pos']=this['text']['length']+(_0x58da82(_0x55c1c1,_0x3f4a1b['node'],_0x3f4a1b['offset'])?_0x537e3f:0x0));}}function _0x58da82(_0x202b34,_0x490e18,_0x18f348){for(;;){if(!_0x490e18||_0x18f348<_0x1f93f4(_0x490e18))return!0x1;if(_0x490e18==_0x202b34)return!0x0;_0x18f348=_0x10f186(_0x490e18)+0x1,_0x490e18=_0x490e18['parentNode'];}}function _0x19edef(_0x50eb0b,_0x2b8c17){let _0x59787b;for(;_0x50eb0b!=_0x2b8c17&&_0x50eb0b;_0x50eb0b=_0x50eb0b['nextSibling']){let _0x3a98c3=ContentView['get'](_0x50eb0b);if(!(null==_0x3a98c3?void 0x0:_0x3a98c3['isWidget'])&&!_0x50eb0b['cmIgnore'])return!0x1;_0x3a98c3&&(_0x59787b||(_0x59787b=[]))['push'](_0x3a98c3);}if(_0x59787b)for(let _0x8f78cd of _0x59787b){let _0x246e6d=_0x8f78cd['overrideDOMText'];if(null==_0x246e6d?void 0x0:_0x246e6d['length'])return!0x1;}return!0x0;}class DOMPoint{constructor(_0x5b2a46,_0x3a66db){this['node']=_0x5b2a46,this['offset']=_0x3a66db,this['pos']=-0x1;}}class _0x5505ea{constructor(_0x2de86e,_0x16f475,_0x5a14b9,_0x197ebd){this['typeOver']=_0x197ebd,this['bounds']=null,this['text']='',this['domChanged']=_0x16f475>-0x1;let {impreciseHead:_0x582249,impreciseAnchor:_0x4725b3}=_0x2de86e['docView'];if(_0x2de86e['state']['readOnly']&&_0x16f475>-0x1)this['newSel']=null;else{if(_0x16f475>-0x1&&(this['bounds']=_0x2de86e['docView']['domBoundsAround'](_0x16f475,_0x5a14b9,0x0))){let _0x22cb2a=_0x582249||_0x4725b3?[]:function(_0x504e88){let _0x394a8b=[];if(_0x504e88['root']['activeElement']!=_0x504e88['contentDOM'])return _0x394a8b;let {anchorNode:_0x1e4778,anchorOffset:_0x524c2d,focusNode:_0x4b0666,focusOffset:_0x3c0b9a}=_0x504e88['observer']['selectionRange'];return _0x1e4778&&(_0x394a8b['push'](new DOMPoint(_0x1e4778,_0x524c2d)),_0x4b0666==_0x1e4778&&_0x3c0b9a==_0x524c2d||_0x394a8b['push'](new DOMPoint(_0x4b0666,_0x3c0b9a))),_0x394a8b;}(_0x2de86e),_0xfffb82=new _0xf3d60d(_0x22cb2a,_0x2de86e['state']);_0xfffb82['readRange'](this['bounds']['startDOM'],this['bounds']['endDOM']),this['text']=_0xfffb82['text'],this['newSel']=function(_0x3e06d0,_0x5c0e72){if(0x0==_0x3e06d0['length'])return null;let _0x162cbc=_0x3e06d0[0x0]['pos'],_0x135a5a=0x2==_0x3e06d0['length']?_0x3e06d0[0x1]['pos']:_0x162cbc;return _0x162cbc>-0x1&&_0x135a5a>-0x1?EditorSelection['single'](_0x162cbc+_0x5c0e72,_0x135a5a+_0x5c0e72):null;}(_0x22cb2a,this['bounds']['from']);}else{let _0xf48cda=_0x2de86e['observer']['selectionRange'],_0xf8818e=_0x582249&&_0x582249['node']==_0xf48cda['focusNode']&&_0x582249['offset']==_0xf48cda['focusOffset']||!_0x321be4(_0x2de86e['contentDOM'],_0xf48cda['focusNode'])?_0x2de86e['state']['selection']['main']['head']:_0x2de86e['docView']['posFromDOM'](_0xf48cda['focusNode'],_0xf48cda['focusOffset']),_0x16e657=_0x4725b3&&_0x4725b3['node']==_0xf48cda['anchorNode']&&_0x4725b3['offset']==_0xf48cda['anchorOffset']||!_0x321be4(_0x2de86e['contentDOM'],_0xf48cda['anchorNode'])?_0x2de86e['state']['selection']['main']['anchor']:_0x2de86e['docView']['posFromDOM'](_0xf48cda['anchorNode'],_0xf48cda['anchorOffset']),_0x1ce3fa=_0x2de86e['viewport'];if((_0x7f953['ios']||_0x7f953['chrome'])&&_0x2de86e['state']['selection']['main']['empty']&&_0xf8818e!=_0x16e657&&(_0x1ce3fa['from']>0x0||_0x1ce3fa['to']<_0x2de86e['state']['doc']['length'])){let _0x516bab=Math['min'](_0xf8818e,_0x16e657),_0x3cc9e5=Math['max'](_0xf8818e,_0x16e657),_0x425fb9=_0x1ce3fa['from']-_0x516bab,_0x3b1e2c=_0x1ce3fa['to']-_0x3cc9e5;0x0!=_0x425fb9&&0x1!=_0x425fb9&&0x0!=_0x516bab||0x0!=_0x3b1e2c&&-0x1!=_0x3b1e2c&&_0x3cc9e5!=_0x2de86e['state']['doc']['length']||(_0xf8818e=0x0,_0x16e657=_0x2de86e['state']['doc']['length']);}this['newSel']=EditorSelection['single'](_0x16e657,_0xf8818e);}}}}function _0x4f3c1b(_0x202611,_0x3cb0d7){let _0x41e5ca,{newSel:_0x43230b}=_0x3cb0d7,_0x5c8e9e=_0x202611['state']['selection']['main'],_0x55cd4b=_0x202611['inputState']['lastKeyTime']>Date['now']()-0x64?_0x202611['inputState']['lastKeyCode']:-0x1;if(_0x3cb0d7['bounds']){let {from:_0x4e18ea,to:_0x36bed3}=_0x3cb0d7['bounds'],_0x46fd9a=_0x5c8e9e['from'],_0x3c6925=null;(0x8===_0x55cd4b||_0x7f953['android']&&_0x3cb0d7['text']['length']<_0x36bed3-_0x4e18ea)&&(_0x46fd9a=_0x5c8e9e['to'],_0x3c6925='end');let _0xc3042a=_0x53fa2a(_0x202611['state']['doc']['sliceString'](_0x4e18ea,_0x36bed3,tw),_0x3cb0d7['text'],_0x46fd9a-_0x4e18ea,_0x3c6925);_0xc3042a&&(_0x7f953['chrome']&&0xd==_0x55cd4b&&_0xc3042a['toB']==_0xc3042a['from']+0x2&&_0x3cb0d7['text']['slice'](_0xc3042a['from'],_0xc3042a['toB'])==tw+tw&&_0xc3042a['toB']--,_0x41e5ca={'from':_0x4e18ea+_0xc3042a['from'],'to':_0x4e18ea+_0xc3042a['toA'],'insert':Text['of'](_0x3cb0d7['text']['slice'](_0xc3042a['from'],_0xc3042a['toB'])['split'](tw))});}else _0x43230b&&(!_0x202611['hasFocus']&&_0x202611['state']['facet'](_0x14b1c6)||_0x43230b['main']['eq'](_0x5c8e9e))&&(_0x43230b=null);if(!_0x41e5ca&&!_0x43230b)return!0x1;if(!_0x41e5ca&&_0x3cb0d7['typeOver']&&!_0x5c8e9e['empty']&&_0x43230b&&_0x43230b['main']['empty']?_0x41e5ca={'from':_0x5c8e9e['from'],'to':_0x5c8e9e['to'],'insert':_0x202611['state']['doc']['slice'](_0x5c8e9e['from'],_0x5c8e9e['to'])}:(_0x7f953['mac']||_0x7f953['android'])&&_0x41e5ca&&_0x41e5ca['from']==_0x41e5ca['to']&&_0x41e5ca['from']==_0x5c8e9e['head']-0x1&&/^\. ?$/['test'](_0x41e5ca['insert']['toString']())&&'off'==_0x202611['contentDOM']['getAttribute']('autocorrect')?(_0x43230b&&0x2==_0x41e5ca['insert']['length']&&(_0x43230b=EditorSelection['single'](_0x43230b['main']['anchor']-0x1,_0x43230b['main']['head']-0x1)),_0x41e5ca={'from':_0x41e5ca['from'],'to':_0x41e5ca['to'],'insert':Text['of']([_0x41e5ca['insert']['toString']()['replace']('.','\x20')])}):_0x41e5ca&&_0x41e5ca['from']>=_0x5c8e9e['from']&&_0x41e5ca['to']<=_0x5c8e9e['to']&&(_0x41e5ca['from']!=_0x5c8e9e['from']||_0x41e5ca['to']!=_0x5c8e9e['to'])&&_0x5c8e9e['to']-_0x5c8e9e['from']-(_0x41e5ca['to']-_0x41e5ca['from'])<=0x4?_0x41e5ca={'from':_0x5c8e9e['from'],'to':_0x5c8e9e['to'],'insert':_0x202611['state']['doc']['slice'](_0x5c8e9e['from'],_0x41e5ca['from'])['append'](_0x41e5ca['insert'])['append'](_0x202611['state']['doc']['slice'](_0x41e5ca['to'],_0x5c8e9e['to']))}:_0x7f953['chrome']&&_0x41e5ca&&_0x41e5ca['from']==_0x41e5ca['to']&&_0x41e5ca['from']==_0x5c8e9e['head']&&'\x0a\x20'==_0x41e5ca['insert']['toString']()&&_0x202611['lineWrapping']&&(_0x43230b&&(_0x43230b=EditorSelection['single'](_0x43230b['main']['anchor']-0x1,_0x43230b['main']['head']-0x1)),_0x41e5ca={'from':_0x5c8e9e['from'],'to':_0x5c8e9e['to'],'insert':Text['of'](['\x20'])}),_0x41e5ca)return _0x19ee1f(_0x202611,_0x41e5ca,_0x43230b,_0x55cd4b);if(_0x43230b&&!_0x43230b['main']['eq'](_0x5c8e9e)){let _0xe6754b=!0x1,_0x764e93='select';return _0x202611['inputState']['lastSelectionTime']>Date['now']()-0x32&&('select'==_0x202611['inputState']['lastSelectionOrigin']&&(_0xe6754b=!0x0),_0x764e93=_0x202611['inputState']['lastSelectionOrigin'],'select.pointer'==_0x764e93&&(_0x43230b=_0x41823e(_0x202611['state']['facet'](_0x4aacd4)['map'](_0x22913e=>_0x22913e(_0x202611)),_0x43230b))),_0x202611['dispatch']({'selection':_0x43230b,'scrollIntoView':_0xe6754b,'userEvent':_0x764e93}),!0x0;}return!0x1;}function _0x19ee1f(_0x51a878,_0x5c2d15,_0x1c4c14,_0x4899f0=-0x1){if(_0x7f953['ios']&&_0x51a878['inputState']['flushIOSKey'](_0x5c2d15))return!0x0;let _0x4b8829=_0x51a878['state']['selection']['main'];if(_0x7f953['android']&&(_0x5c2d15['to']==_0x4b8829['to']&&(_0x5c2d15['from']==_0x4b8829['from']||_0x5c2d15['from']==_0x4b8829['from']-0x1&&'\x20'==_0x51a878['state']['sliceDoc'](_0x5c2d15['from'],_0x4b8829['from']))&&0x1==_0x5c2d15['insert']['length']&&0x2==_0x5c2d15['insert']['lines']&&_0x5d3da1(_0x51a878['contentDOM'],'Enter',0xd)||(_0x5c2d15['from']==_0x4b8829['from']-0x1&&_0x5c2d15['to']==_0x4b8829['to']&&0x0==_0x5c2d15['insert']['length']||0x8==_0x4899f0&&_0x5c2d15['insert']['length']<_0x5c2d15['to']-_0x5c2d15['from']&&_0x5c2d15['to']>_0x4b8829['head'])&&_0x5d3da1(_0x51a878['contentDOM'],'Backspace',0x8)||_0x5c2d15['from']==_0x4b8829['from']&&_0x5c2d15['to']==_0x4b8829['to']+0x1&&0x0==_0x5c2d15['insert']['length']&&_0x5d3da1(_0x51a878['contentDOM'],'Delete',0x2e)))return!0x0;let _0x557a0d,_0x51a18c=_0x5c2d15['insert']['toString']();_0x51a878['inputState']['composing']>=0x0&&_0x51a878['inputState']['composing']++;let _0x2a5538=()=>_0x557a0d||(_0x557a0d=function(_0x461a92,_0x3f26ff,_0x47867d){let _0x5ec38f,_0x173e88=_0x461a92['state'],_0x2fc36e=_0x173e88['selection']['main'],_0x258f62=-0x1;if(_0x3f26ff['from']==_0x3f26ff['to']&&_0x3f26ff['from']<_0x2fc36e['from']||_0x3f26ff['from']>_0x2fc36e['to']){let _0x43ab71=_0x3f26ff['from']<_0x2fc36e['from']?-0x1:0x1,_0x2a5569=_0x43ab71<0x0?_0x2fc36e['from']:_0x2fc36e['to'],_0x4383d8=_0x12ef8e(_0x173e88['facet'](_0x4aacd4)['map'](_0x163b33=>_0x163b33(_0x461a92)),_0x2a5569,_0x43ab71);_0x3f26ff['from']==_0x4383d8&&(_0x258f62=_0x4383d8);}if(_0x258f62>-0x1)_0x5ec38f={'changes':_0x3f26ff,'selection':EditorSelection['cursor'](_0x3f26ff['from']+_0x3f26ff['insert']['length'],-0x1)};else{if(_0x3f26ff['from']>=_0x2fc36e['from']&&_0x3f26ff['to']<=_0x2fc36e['to']&&_0x3f26ff['to']-_0x3f26ff['from']>=(_0x2fc36e['to']-_0x2fc36e['from'])/0x3&&(!_0x47867d||_0x47867d['main']['empty']&&_0x47867d['main']['from']==_0x3f26ff['from']+_0x3f26ff['insert']['length'])&&_0x461a92['inputState']['composing']<0x0){let _0x6f83=_0x2fc36e['from']<_0x3f26ff['from']?_0x173e88['sliceDoc'](_0x2fc36e['from'],_0x3f26ff['from']):'',_0x3d9630=_0x2fc36e['to']>_0x3f26ff['to']?_0x173e88['sliceDoc'](_0x3f26ff['to'],_0x2fc36e['to']):'';_0x5ec38f=_0x173e88['replaceSelection'](_0x461a92['state']['toText'](_0x6f83+_0x3f26ff['insert']['sliceString'](0x0,void 0x0,_0x461a92['state']['lineBreak'])+_0x3d9630));}else{let _0x159038=_0x173e88['changes'](_0x3f26ff),_0x4f31e1=_0x47867d&&_0x47867d['main']['to']<=_0x159038['newLength']?_0x47867d['main']:void 0x0;if(_0x173e88['selection']['ranges']['length']>0x1&&_0x461a92['inputState']['composing']>=0x0&&_0x3f26ff['to']<=_0x2fc36e['to']&&_0x3f26ff['to']>=_0x2fc36e['to']-0xa){let _0x4422aa,_0x4cf162=_0x461a92['state']['sliceDoc'](_0x3f26ff['from'],_0x3f26ff['to']),_0x3867c0=_0x47867d&&_0xc0327c(_0x461a92,_0x47867d['main']['head']);if(_0x3867c0){let _0x7f030a=_0x3f26ff['insert']['length']-(_0x3f26ff['to']-_0x3f26ff['from']);_0x4422aa={'from':_0x3867c0['from'],'to':_0x3867c0['to']-_0x7f030a};}else _0x4422aa=_0x461a92['state']['doc']['lineAt'](_0x2fc36e['head']);let _0x4a3a74=_0x2fc36e['to']-_0x3f26ff['to'],_0x24f806=_0x2fc36e['to']-_0x2fc36e['from'];_0x5ec38f=_0x173e88['changeByRange'](_0x103b2c=>{if(_0x103b2c['from']==_0x2fc36e['from']&&_0x103b2c['to']==_0x2fc36e['to'])return{'changes':_0x159038,'range':_0x4f31e1||_0x103b2c['map'](_0x159038)};let _0x515529=_0x103b2c['to']-_0x4a3a74,_0x3dfc12=_0x515529-_0x4cf162['length'];if(_0x103b2c['to']-_0x103b2c['from']!=_0x24f806||_0x461a92['state']['sliceDoc'](_0x3dfc12,_0x515529)!=_0x4cf162||_0x103b2c['to']>=_0x4422aa['from']&&_0x103b2c['from']<=_0x4422aa['to'])return{'range':_0x103b2c};let _0x297196=_0x173e88['changes']({'from':_0x3dfc12,'to':_0x515529,'insert':_0x3f26ff['insert']}),_0x4925c7=_0x103b2c['to']-_0x2fc36e['to'];return{'changes':_0x297196,'range':_0x4f31e1?EditorSelection['range'](Math['max'](0x0,_0x4f31e1['anchor']+_0x4925c7),Math['max'](0x0,_0x4f31e1['head']+_0x4925c7)):_0x103b2c['map'](_0x297196)};});}else _0x5ec38f={'changes':_0x159038,'selection':_0x4f31e1&&_0x173e88['selection']['replaceRange'](_0x4f31e1)};}}let _0x21b1d7='input.type';return(_0x461a92['composing']||_0x461a92['inputState']['compositionPendingChange']&&_0x461a92['inputState']['compositionEndedAt']>Date['now']()-0x32)&&(_0x461a92['inputState']['compositionPendingChange']=!0x1,_0x21b1d7+='.compose',_0x461a92['inputState']['compositionFirstChange']&&(_0x21b1d7+='.start',_0x461a92['inputState']['compositionFirstChange']=!0x1)),_0x173e88['update'](_0x5ec38f,{'userEvent':_0x21b1d7,'scrollIntoView':!0x0});}(_0x51a878,_0x5c2d15,_0x1c4c14));return _0x51a878['state']['facet'](_0x3288f9)['some'](_0x3c17b4=>_0x3c17b4(_0x51a878,_0x5c2d15['from'],_0x5c2d15['to'],_0x51a18c,_0x2a5538))||_0x51a878['dispatch'](_0x2a5538()),!0x0;}function _0x53fa2a(_0x1a3386,_0x5467b0,_0x292233,_0x2355de){let _0x10b389=Math['min'](_0x1a3386['length'],_0x5467b0['length']),_0x587904=0x0;for(;_0x587904<_0x10b389&&_0x1a3386['charCodeAt'](_0x587904)==_0x5467b0['charCodeAt'](_0x587904);)_0x587904++;if(_0x587904==_0x10b389&&_0x1a3386['length']==_0x5467b0['length'])return null;let _0x2d1093=_0x1a3386['length'],_0x1f17bc=_0x5467b0['length'];for(;_0x2d1093>0x0&&_0x1f17bc>0x0&&_0x1a3386['charCodeAt'](_0x2d1093-0x1)==_0x5467b0['charCodeAt'](_0x1f17bc-0x1);)_0x2d1093--,_0x1f17bc--;'end'==_0x2355de&&(_0x292233-=_0x2d1093+Math['max'](0x0,_0x587904-Math['min'](_0x2d1093,_0x1f17bc))-_0x587904);if(_0x2d1093<_0x587904&&_0x1a3386['length']<_0x5467b0['length'])_0x587904-=_0x292233<=_0x587904&&_0x292233>=_0x2d1093?_0x587904-_0x292233:0x0,_0x1f17bc=_0x587904+(_0x1f17bc-_0x2d1093),_0x2d1093=_0x587904;else _0x1f17bc<_0x587904&&(_0x587904-=_0x292233<=_0x587904&&_0x292233>=_0x1f17bc?_0x587904-_0x292233:0x0,_0x2d1093=_0x587904+(_0x2d1093-_0x1f17bc),_0x1f17bc=_0x587904);return{'from':_0x587904,'toA':_0x2d1093,'toB':_0x1f17bc};}class InputState{['setSelectionOrigin'](_0x4f64a5){this['lastSelectionOrigin']=_0x4f64a5,this['lastSelectionTime']=Date['now']();}constructor(_0x694334){this['view']=_0x694334,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']=_0x694334['hasFocus'],_0x7f953['safari']&&_0x694334['contentDOM']['addEventListener']('input',()=>null),_0x7f953['gecko']&&function(_0x2731d0){_0x235c64['has'](_0x2731d0)||(_0x235c64['add'](_0x2731d0),_0x2731d0['addEventListener']('copy',()=>{}),_0x2731d0['addEventListener']('cut',()=>{}));}(_0x694334['contentDOM']['ownerDocument']);}['handleEvent'](_0x3db94f){(function(_0x301113,_0x185661){if(!_0x185661['bubbles'])return!0x0;if(_0x185661['defaultPrevented'])return!0x1;for(let _0x619ffb,_0x1d6876=_0x185661['target'];_0x1d6876!=_0x301113['contentDOM'];_0x1d6876=_0x1d6876['parentNode'])if(!_0x1d6876||0xb==_0x1d6876['nodeType']||(_0x619ffb=ContentView['get'](_0x1d6876))&&_0x619ffb['ignoreEvent'](_0x185661))return!0x1;return!0x0;}(this['view'],_0x3db94f)&&!this['ignoreDuringComposition'](_0x3db94f)&&('keydown'==_0x3db94f['type']&&this['keydown'](_0x3db94f)||(0x0!=this['view']['updateState']?Promise['resolve']()['then'](()=>this['runHandlers'](_0x3db94f['type'],_0x3db94f)):this['runHandlers'](_0x3db94f['type'],_0x3db94f))));}['runHandlers'](_0x5e0c76,_0x37e28c){let _0x4a98fa=this['handlers'][_0x5e0c76];if(_0x4a98fa){for(let _0x401ef5 of _0x4a98fa['observers'])_0x401ef5(this['view'],_0x37e28c);for(let _0x50b549 of _0x4a98fa['handlers']){if(_0x37e28c['defaultPrevented'])break;if(_0x50b549(this['view'],_0x37e28c)){_0x37e28c['preventDefault']();break;}}}}['ensureHandlers'](_0x52c8c4){let _0x1e7b7a=_0x561afc(_0x52c8c4),_0x3625dd=this['handlers'],_0x2ee715=this['view']['contentDOM'];for(let _0x5d7c45 in _0x1e7b7a)if('scroll'!=_0x5d7c45){let _0x3739c0=!_0x1e7b7a[_0x5d7c45]['handlers']['length'],_0x10a04b=_0x3625dd[_0x5d7c45];_0x10a04b&&_0x3739c0!=!_0x10a04b['handlers']['length']&&(_0x2ee715['removeEventListener'](_0x5d7c45,this['handleEvent']),_0x10a04b=null),_0x10a04b||_0x2ee715['addEventListener'](_0x5d7c45,this['handleEvent'],{'passive':_0x3739c0});}for(let _0x22fe35 in _0x3625dd)'scroll'==_0x22fe35||_0x1e7b7a[_0x22fe35]||_0x2ee715['removeEventListener'](_0x22fe35,this['handleEvent']);this['handlers']=_0x1e7b7a;}['keydown'](_0x4ce402){if(this['lastKeyCode']=_0x4ce402['keyCode'],this['lastKeyTime']=Date['now'](),0x9==_0x4ce402['keyCode']&&this['tabFocusMode']>-0x1&&(!this['tabFocusMode']||Date['now']()<=this['tabFocusMode']))return!0x0;if(this['tabFocusMode']>0x0&&0x1b!=_0x4ce402['keyCode']&&_0x1b387d['indexOf'](_0x4ce402['keyCode'])<0x0&&(this['tabFocusMode']=-0x1),_0x7f953['android']&&_0x7f953['chrome']&&!_0x4ce402['synthetic']&&(0xd==_0x4ce402['keyCode']||0x8==_0x4ce402['keyCode']))return this['view']['observer']['delayAndroidKey'](_0x4ce402['key'],_0x4ce402['keyCode']),!0x0;let _0x136b69;return!_0x7f953['ios']||_0x4ce402['synthetic']||_0x4ce402['altKey']||_0x4ce402['metaKey']||!((_0x136b69=_0x10ada6['find'](_0x3806b4=>_0x3806b4['keyCode']==_0x4ce402['keyCode']))&&!_0x4ce402['ctrlKey']||_0x30ca57['indexOf'](_0x4ce402['key'])>-0x1&&_0x4ce402['ctrlKey']&&!_0x4ce402['shiftKey'])?(0xe5!=_0x4ce402['keyCode']&&this['view']['observer']['forceFlush'](),!0x1):(this['pendingIOSKey']=_0x136b69||_0x4ce402,setTimeout(()=>this['flushIOSKey'](),0xfa),!0x0);}['flushIOSKey'](_0x1eb6f4){let _0x421943=this['pendingIOSKey'];return!!_0x421943&&(!('Enter'==_0x421943['key']&&_0x1eb6f4&&_0x1eb6f4['from']<_0x1eb6f4['to']&&/^\S+$/['test'](_0x1eb6f4['insert']['toString']()))&&(this['pendingIOSKey']=void 0x0,_0x5d3da1(this['view']['contentDOM'],_0x421943['key'],_0x421943['keyCode'],_0x421943 instanceof KeyboardEvent?_0x421943:void 0x0)));}['ignoreDuringComposition'](_0x2aa848){return!(!/^key/['test'](_0x2aa848['type'])||_0x2aa848['synthetic'])&&(this['composing']>0x0||!!(_0x7f953['safari']&&!_0x7f953['ios']&&this['compositionPendingKey']&&Date['now']()-this['compositionEndedAt']<0x64)&&(this['compositionPendingKey']=!0x1,!0x0));}['startMouseSelection'](_0x39921d){this['mouseSelection']&&this['mouseSelection']['destroy'](),this['mouseSelection']=_0x39921d;}['update'](_0x2c1d07){this['view']['observer']['update'](_0x2c1d07),this['mouseSelection']&&this['mouseSelection']['update'](_0x2c1d07),this['draggedContent']&&_0x2c1d07['docChanged']&&(this['draggedContent']=this['draggedContent']['map'](_0x2c1d07['changes'])),_0x2c1d07['transactions']['length']&&(this['lastKeyCode']=this['lastSelectionTime']=0x0);}['destroy'](){this['mouseSelection']&&this['mouseSelection']['destroy']();}}function _0x547de1(_0x4ea1e5,_0x482724){return(_0x101c27,_0x21a4c7)=>{try{return _0x482724['call'](_0x4ea1e5,_0x21a4c7,_0x101c27);}catch(_0x46a531){_0x1922d6(_0x101c27['state'],_0x46a531);}};}function _0x561afc(_0x5209b5){let _0x418753=Object['create'](null);function _0x114f2c(_0x45c062){return _0x418753[_0x45c062]||(_0x418753[_0x45c062]={'observers':[],'handlers':[]});}for(let _0x408e8d of _0x5209b5){let _0x72ff29=_0x408e8d['spec'],_0x3c2e38=_0x72ff29&&_0x72ff29['plugin']['domEventHandlers'],_0x3047d6=_0x72ff29&&_0x72ff29['plugin']['domEventObservers'];if(_0x3c2e38)for(let _0x493e6a in _0x3c2e38){let _0x33f8ba=_0x3c2e38[_0x493e6a];_0x33f8ba&&_0x114f2c(_0x493e6a)['handlers']['push'](_0x547de1(_0x408e8d['value'],_0x33f8ba));}if(_0x3047d6)for(let _0x1b49b5 in _0x3047d6){let _0x5553d7=_0x3047d6[_0x1b49b5];_0x5553d7&&_0x114f2c(_0x1b49b5)['observers']['push'](_0x547de1(_0x408e8d['value'],_0x5553d7));}}for(let _0x258885 in _0x1daa3f)_0x114f2c(_0x258885)['handlers']['push'](_0x1daa3f[_0x258885]);for(let _0x5d39f4 in _0x1366ea)_0x114f2c(_0x5d39f4)['observers']['push'](_0x1366ea[_0x5d39f4]);return _0x418753;}const _0x10ada6=[{'key':'Backspace','keyCode':0x8,'inputType':'deleteContentBackward'},{'key':'Enter','keyCode':0xd,'inputType':'insertParagraph'},{'key':'Enter','keyCode':0xd,'inputType':'insertLineBreak'},{'key':'Delete','keyCode':0x2e,'inputType':'deleteContentForward'}],_0x30ca57='dthko',_0x1b387d=[0x10,0x11,0x12,0x14,0x5b,0x5c,0xe0,0xe1];function _0x55fdfb(_0x4777bc){return 0.7*Math['max'](0x0,_0x4777bc)+0x8;}class MouseSelection{constructor(_0x5515bf,_0x4d9013,_0x5b69ce,_0x318868){this['view']=_0x5515bf,this['startEvent']=_0x4d9013,this['style']=_0x5b69ce,this['mustSelect']=_0x318868,this['scrollSpeed']={'x':0x0,'y':0x0},this['scrolling']=-0x1,this['lastEvent']=_0x4d9013,this['scrollParents']=function(_0x2e1177){let _0x176635,_0x4ec231,_0x346397=_0x2e1177['ownerDocument'];for(let _0x2c1c2e=_0x2e1177['parentNode'];_0x2c1c2e&&!(_0x2c1c2e==_0x346397['body']||_0x176635&&_0x4ec231);)if(0x1==_0x2c1c2e['nodeType'])!_0x4ec231&&_0x2c1c2e['scrollHeight']>_0x2c1c2e['clientHeight']&&(_0x4ec231=_0x2c1c2e),!_0x176635&&_0x2c1c2e['scrollWidth']>_0x2c1c2e['clientWidth']&&(_0x176635=_0x2c1c2e),_0x2c1c2e=_0x2c1c2e['assignedSlot']||_0x2c1c2e['parentNode'];else{if(0xb!=_0x2c1c2e['nodeType'])break;_0x2c1c2e=_0x2c1c2e['host'];}return{'x':_0x176635,'y':_0x4ec231};}(_0x5515bf['contentDOM']),this['atoms']=_0x5515bf['state']['facet'](_0x4aacd4)['map'](_0xba0bb3=>_0xba0bb3(_0x5515bf));let _0x11076f=_0x5515bf['contentDOM']['ownerDocument'];_0x11076f['addEventListener']('mousemove',this['move']=this['move']['bind'](this)),_0x11076f['addEventListener']('mouseup',this['up']=this['up']['bind'](this)),this['extend']=_0x4d9013['shiftKey'],this['multiple']=_0x5515bf['state']['facet'](EditorState['allowMultipleSelections'])&&function(_0x31efb4,_0xf90209){let _0x3576bf=_0x31efb4['state']['facet'](_0x5ce915);return _0x3576bf['length']?_0x3576bf[0x0](_0xf90209):_0x7f953['mac']?_0xf90209['metaKey']:_0xf90209['ctrlKey'];}(_0x5515bf,_0x4d9013),this['dragging']=!(!function(_0x5a2c7d,_0x1b7a7e){let {main:_0x32e6e1}=_0x5a2c7d['state']['selection'];if(_0x32e6e1['empty'])return!0x1;let _0x4fe9bd=_0x13fe97(_0x5a2c7d['root']);if(!_0x4fe9bd||0x0==_0x4fe9bd['rangeCount'])return!0x0;let _0x1cf88d=_0x4fe9bd['getRangeAt'](0x0)['getClientRects']();for(let _0x5b372e=0x0;_0x5b372e<_0x1cf88d['length'];_0x5b372e++){let _0x4c2544=_0x1cf88d[_0x5b372e];if(_0x4c2544['left']<=_0x1b7a7e['clientX']&&_0x4c2544['right']>=_0x1b7a7e['clientX']&&_0x4c2544['top']<=_0x1b7a7e['clientY']&&_0x4c2544['bottom']>=_0x1b7a7e['clientY'])return!0x0;}return!0x1;}(_0x5515bf,_0x4d9013)||0x1!=_0x523abd(_0x4d9013))&&null;}['start'](_0x4670c6){!0x1===this['dragging']&&this['select'](_0x4670c6);}['move'](_0x2ebb21){if(0x0==_0x2ebb21['buttons'])return this['destroy']();if(this['dragging']||null==this['dragging']&&function(_0x3867b8,_0x129fba){return Math['max'](Math['abs'](_0x3867b8['clientX']-_0x129fba['clientX']),Math['abs'](_0x3867b8['clientY']-_0x129fba['clientY']));}(this['startEvent'],_0x2ebb21)<0xa)return;this['select'](this['lastEvent']=_0x2ebb21);let _0x36ddbe=0x0,_0x21fbaa=0x0,_0x25946b=0x0,_0x34e30b=0x0,_0x12d5a1=this['view']['win']['innerWidth'],_0x4ef5ba=this['view']['win']['innerHeight'];this['scrollParents']['x']&&({left:_0x25946b,right:_0x12d5a1}=this['scrollParents']['x']['getBoundingClientRect']()),this['scrollParents']['y']&&({top:_0x34e30b,bottom:_0x4ef5ba}=this['scrollParents']['y']['getBoundingClientRect']());let _0x397bcc=_0x2ad99e(this['view']);_0x2ebb21['clientX']-_0x397bcc['left']<=_0x25946b+0x6?_0x36ddbe=-_0x55fdfb(_0x25946b-_0x2ebb21['clientX']):_0x2ebb21['clientX']+_0x397bcc['right']>=_0x12d5a1-0x6&&(_0x36ddbe=_0x55fdfb(_0x2ebb21['clientX']-_0x12d5a1)),_0x2ebb21['clientY']-_0x397bcc['top']<=_0x34e30b+0x6?_0x21fbaa=-_0x55fdfb(_0x34e30b-_0x2ebb21['clientY']):_0x2ebb21['clientY']+_0x397bcc['bottom']>=_0x4ef5ba-0x6&&(_0x21fbaa=_0x55fdfb(_0x2ebb21['clientY']-_0x4ef5ba)),this['setScrollSpeed'](_0x36ddbe,_0x21fbaa);}['up'](_0x41d568){null==this['dragging']&&this['select'](this['lastEvent']),this['dragging']||_0x41d568['preventDefault'](),this['destroy']();}['destroy'](){this['setScrollSpeed'](0x0,0x0);let _0x285adf=this['view']['contentDOM']['ownerDocument'];_0x285adf['removeEventListener']('mousemove',this['move']),_0x285adf['removeEventListener']('mouseup',this['up']),this['view']['inputState']['mouseSelection']=this['view']['inputState']['draggedContent']=null;}['setScrollSpeed'](_0x3038f3,_0x51c2e2){this['scrollSpeed']={'x':_0x3038f3,'y':_0x51c2e2},_0x3038f3||_0x51c2e2?this['scrolling']<0x0&&(this['scrolling']=setInterval(()=>this['scroll'](),0x32)):this['scrolling']>-0x1&&(clearInterval(this['scrolling']),this['scrolling']=-0x1);}['scroll'](){let {x:_0x19eb00,y:_0xf16695}=this['scrollSpeed'];_0x19eb00&&this['scrollParents']['x']&&(this['scrollParents']['x']['scrollLeft']+=_0x19eb00,_0x19eb00=0x0),_0xf16695&&this['scrollParents']['y']&&(this['scrollParents']['y']['scrollTop']+=_0xf16695,_0xf16695=0x0),(_0x19eb00||_0xf16695)&&this['view']['win']['scrollBy'](_0x19eb00,_0xf16695),!0x1===this['dragging']&&this['select'](this['lastEvent']);}['select'](_0x2a0da0){let {view:_0x5c0f56}=this,_0x2ea09d=_0x41823e(this['atoms'],this['style']['get'](_0x2a0da0,this['extend'],this['multiple']));!this['mustSelect']&&_0x2ea09d['eq'](_0x5c0f56['state']['selection'],!0x1===this['dragging'])||this['view']['dispatch']({'selection':_0x2ea09d,'userEvent':'select.pointer'}),this['mustSelect']=!0x1;}['update'](_0x5f23b1){_0x5f23b1['transactions']['some'](_0x481f00=>_0x481f00['isUserEvent']('input.type'))?this['destroy']():this['style']['update'](_0x5f23b1)&&setTimeout(()=>this['select'](this['lastEvent']),0x14);}}const _0x1daa3f=Object['create'](null),_0x1366ea=Object['create'](null),_0x2a7022=_0x7f953['ie']&&_0x7f953['ie_version']<0xf||_0x7f953['ios']&&_0x7f953['webkit_version']<0x25c;function _0xba63d0(_0x49ecfc,_0x2fb79c,_0x297d89){for(let _0x30d6e5 of _0x49ecfc['facet'](_0x2fb79c))_0x297d89=_0x30d6e5(_0x297d89,_0x49ecfc);return _0x297d89;}function _0x174aae(_0x257b93,_0x1e4513){_0x1e4513=_0xba63d0(_0x257b93['state'],_0xb1ccf7,_0x1e4513);let _0x57430e,{state:_0x20b2aa}=_0x257b93,_0x3cb832=0x1,_0x2f360b=_0x20b2aa['toText'](_0x1e4513),_0x2b14db=_0x2f360b['lines']==_0x20b2aa['selection']['ranges']['length'];if(null!=_0x3f2331&&_0x20b2aa['selection']['ranges']['every'](_0x22a04e=>_0x22a04e['empty'])&&_0x3f2331==_0x2f360b['toString']()){let _0x2b883c=-0x1;_0x57430e=_0x20b2aa['changeByRange'](_0x493e07=>{let _0x439ad4=_0x20b2aa['doc']['lineAt'](_0x493e07['from']);if(_0x439ad4['from']==_0x2b883c)return{'range':_0x493e07};_0x2b883c=_0x439ad4['from'];let _0x17f25b=_0x20b2aa['toText']((_0x2b14db?_0x2f360b['line'](_0x3cb832++)['text']:_0x1e4513)+_0x20b2aa['lineBreak']);return{'changes':{'from':_0x439ad4['from'],'insert':_0x17f25b},'range':EditorSelection['cursor'](_0x493e07['from']+_0x17f25b['length'])};});}else _0x57430e=_0x2b14db?_0x20b2aa['changeByRange'](_0x216465=>{let _0x347831=_0x2f360b['line'](_0x3cb832++);return{'changes':{'from':_0x216465['from'],'to':_0x216465['to'],'insert':_0x347831['text']},'range':EditorSelection['cursor'](_0x216465['from']+_0x347831['length'])};}):_0x20b2aa['replaceSelection'](_0x2f360b);_0x257b93['dispatch'](_0x57430e,{'userEvent':'input.paste','scrollIntoView':!0x0});}function _0x413f2d(_0xc96e1f,_0x682c0c,_0x254a02,_0x2060f1){if(0x1==_0x2060f1)return EditorSelection['cursor'](_0x682c0c,_0x254a02);if(0x2==_0x2060f1)return function(_0x357721,_0x592eda,_0x19f246=0x1){let _0x1eba54=_0x357721['charCategorizer'](_0x592eda),_0x23a2eb=_0x357721['doc']['lineAt'](_0x592eda),_0xc920bb=_0x592eda-_0x23a2eb['from'];if(0x0==_0x23a2eb['length'])return EditorSelection['cursor'](_0x592eda);0x0==_0xc920bb?_0x19f246=0x1:_0xc920bb==_0x23a2eb['length']&&(_0x19f246=-0x1);let _0x500423=_0xc920bb,_0x3f71cd=_0xc920bb;_0x19f246<0x0?_0x500423=_0x1570cc(_0x23a2eb['text'],_0xc920bb,!0x1):_0x3f71cd=_0x1570cc(_0x23a2eb['text'],_0xc920bb);let _0x19d614=_0x1eba54(_0x23a2eb['text']['slice'](_0x500423,_0x3f71cd));for(;_0x500423>0x0;){let _0xbe9c4b=_0x1570cc(_0x23a2eb['text'],_0x500423,!0x1);if(_0x1eba54(_0x23a2eb['text']['slice'](_0xbe9c4b,_0x500423))!=_0x19d614)break;_0x500423=_0xbe9c4b;}for(;_0x3f71cd<_0x23a2eb['length'];){let _0xae1c3d=_0x1570cc(_0x23a2eb['text'],_0x3f71cd);if(_0x1eba54(_0x23a2eb['text']['slice'](_0x3f71cd,_0xae1c3d))!=_0x19d614)break;_0x3f71cd=_0xae1c3d;}return EditorSelection['range'](_0x500423+_0x23a2eb['from'],_0x3f71cd+_0x23a2eb['from']);}(_0xc96e1f['state'],_0x682c0c,_0x254a02);{let _0x55facf=_0x36662d['find'](_0xc96e1f['docView'],_0x682c0c),_0x547d5e=_0xc96e1f['state']['doc']['lineAt'](_0x55facf?_0x55facf['posAtEnd']:_0x682c0c),_0x297f63=_0x55facf?_0x55facf['posAtStart']:_0x547d5e['from'],_0x162cf3=_0x55facf?_0x55facf['posAtEnd']:_0x547d5e['to'];return _0x162cf3<_0xc96e1f['state']['doc']['length']&&_0x162cf3==_0x547d5e['to']&&_0x162cf3++,EditorSelection['range'](_0x297f63,_0x162cf3);}}_0x1366ea['scroll']=_0x32434b=>{_0x32434b['inputState']['lastScrollTop']=_0x32434b['scrollDOM']['scrollTop'],_0x32434b['inputState']['lastScrollLeft']=_0x32434b['scrollDOM']['scrollLeft'];},_0x1daa3f['keydown']=(_0xbaddea,_0x408179)=>(_0xbaddea['inputState']['setSelectionOrigin']('select'),0x1b==_0x408179['keyCode']&&0x0!=_0xbaddea['inputState']['tabFocusMode']&&(_0xbaddea['inputState']['tabFocusMode']=Date['now']()+0x7d0),!0x1),_0x1366ea['touchstart']=(_0x4986be,_0x561079)=>{_0x4986be['inputState']['lastTouchTime']=Date['now'](),_0x4986be['inputState']['setSelectionOrigin']('select.pointer');},_0x1366ea['touchmove']=_0x40e064=>{_0x40e064['inputState']['setSelectionOrigin']('select.pointer');},_0x1daa3f['mousedown']=(_0x38bd18,_0x4c9278)=>{if(_0x38bd18['observer']['flush'](),_0x38bd18['inputState']['lastTouchTime']>Date['now']()-0x7d0)return!0x1;let _0x33b981=null;for(let _0x26ed0b of _0x38bd18['state']['facet'](_0x5ede89))if(_0x33b981=_0x26ed0b(_0x38bd18,_0x4c9278),_0x33b981)break;if(_0x33b981||0x0!=_0x4c9278['button']||(_0x33b981=function(_0x53f2db,_0x126322){let _0x209f94=_0x1ccaa0(_0x53f2db,_0x126322),_0x14c9aa=_0x523abd(_0x126322),_0x362541=_0x53f2db['state']['selection'];return{'update'(_0x16788f){_0x16788f['docChanged']&&(_0x209f94['pos']=_0x16788f['changes']['mapPos'](_0x209f94['pos']),_0x362541=_0x362541['map'](_0x16788f['changes']));},'get'(_0x27fd8b,_0x3d8792,_0x4e3986){let _0x4cef33,_0x27ac91=_0x1ccaa0(_0x53f2db,_0x27fd8b),_0x13b105=_0x413f2d(_0x53f2db,_0x27ac91['pos'],_0x27ac91['bias'],_0x14c9aa);if(_0x209f94['pos']!=_0x27ac91['pos']&&!_0x3d8792){let _0x310e78=_0x413f2d(_0x53f2db,_0x209f94['pos'],_0x209f94['bias'],_0x14c9aa),_0x241349=Math['min'](_0x310e78['from'],_0x13b105['from']),_0x246ef2=Math['max'](_0x310e78['to'],_0x13b105['to']);_0x13b105=_0x241349<_0x13b105['from']?EditorSelection['range'](_0x241349,_0x246ef2):EditorSelection['range'](_0x246ef2,_0x241349);}return _0x3d8792?_0x362541['replaceRange'](_0x362541['main']['extend'](_0x13b105['from'],_0x13b105['to'])):_0x4e3986&&0x1==_0x14c9aa&&_0x362541['ranges']['length']>0x1&&(_0x4cef33=function(_0xe64418,_0x2fbeaa){for(let _0x14605d=0x0;_0x14605d<_0xe64418['ranges']['length'];_0x14605d++){let {from:_0x590119,to:_0x4d9070}=_0xe64418['ranges'][_0x14605d];if(_0x590119<=_0x2fbeaa&&_0x4d9070>=_0x2fbeaa)return EditorSelection['create'](_0xe64418['ranges']['slice'](0x0,_0x14605d)['concat'](_0xe64418['ranges']['slice'](_0x14605d+0x1)),_0xe64418['mainIndex']==_0x14605d?0x0:_0xe64418['mainIndex']-(_0xe64418['mainIndex']>_0x14605d?0x1:0x0));}return null;}(_0x362541,_0x27ac91['pos']))?_0x4cef33:_0x4e3986?_0x362541['addRange'](_0x13b105):EditorSelection['create']([_0x13b105]);}};}(_0x38bd18,_0x4c9278)),_0x33b981){let _0x2be543=!_0x38bd18['hasFocus'];_0x38bd18['inputState']['startMouseSelection'](new MouseSelection(_0x38bd18,_0x4c9278,_0x33b981,_0x2be543)),_0x2be543&&_0x38bd18['observer']['ignore'](()=>{_0x12169d(_0x38bd18['contentDOM']);let _0x22e382=_0x38bd18['root']['activeElement'];_0x22e382&&!_0x22e382['contains'](_0x38bd18['contentDOM'])&&_0x22e382['blur']();});let _0xf63495=_0x38bd18['inputState']['mouseSelection'];if(_0xf63495)return _0xf63495['start'](_0x4c9278),!0x1===_0xf63495['dragging'];}else _0x38bd18['inputState']['setSelectionOrigin']('select.pointer');return!0x1;};let _0x516537=(_0x472db0,_0x8013fd,_0x2d748e)=>_0x8013fd>=_0x2d748e['top']&&_0x8013fd<=_0x2d748e['bottom']&&_0x472db0>=_0x2d748e['left']&&_0x472db0<=_0x2d748e['right'];function _0x330248(_0x445c4c,_0x160585,_0x1190c4,_0x32200d){let _0x34368f=_0x36662d['find'](_0x445c4c['docView'],_0x160585);if(!_0x34368f)return 0x1;let _0x364e91=_0x160585-_0x34368f['posAtStart'];if(0x0==_0x364e91)return 0x1;if(_0x364e91==_0x34368f['length'])return-0x1;let _0x5385e3=_0x34368f['coordsAt'](_0x364e91,-0x1);if(_0x5385e3&&_0x516537(_0x1190c4,_0x32200d,_0x5385e3))return-0x1;let _0x3829fc=_0x34368f['coordsAt'](_0x364e91,0x1);return _0x3829fc&&_0x516537(_0x1190c4,_0x32200d,_0x3829fc)?0x1:_0x5385e3&&_0x5385e3['bottom']>=_0x32200d?-0x1:0x1;}function _0x1ccaa0(_0x45b9c4,_0x587599){let _0x3e8170=_0x45b9c4['posAtCoords']({'x':_0x587599['clientX'],'y':_0x587599['clientY']},!0x1);return{'pos':_0x3e8170,'bias':_0x330248(_0x45b9c4,_0x3e8170,_0x587599['clientX'],_0x587599['clientY'])};}const _0x2d115b=_0x7f953['ie']&&_0x7f953['ie_version']<=0xb;let _0x208e54=null,_0x9de53e=0x0,_0x2fe2af=0x0;function _0x523abd(_0x1e62af){if(!_0x2d115b)return _0x1e62af['detail'];let _0x31f023=_0x208e54,_0xa9322e=_0x2fe2af;return _0x208e54=_0x1e62af,_0x2fe2af=Date['now'](),_0x9de53e=!_0x31f023||_0xa9322e>Date['now']()-0x190&&Math['abs'](_0x31f023['clientX']-_0x1e62af['clientX'])<0x2&&Math['abs'](_0x31f023['clientY']-_0x1e62af['clientY'])<0x2?(_0x9de53e+0x1)%0x3:0x1;}function _0x37e774(_0x12a49d,_0xc2c98f,_0x5ef88f,_0x1db4af){if(!(_0x5ef88f=_0xba63d0(_0x12a49d['state'],_0xb1ccf7,_0x5ef88f)))return;let _0x4c3193=_0x12a49d['posAtCoords']({'x':_0xc2c98f['clientX'],'y':_0xc2c98f['clientY']},!0x1),{draggedContent:_0x52a6ad}=_0x12a49d['inputState'],_0x5ea3f6=_0x1db4af&&_0x52a6ad&&function(_0x5990c7,_0x1fb97d){let _0x12045f=_0x5990c7['state']['facet'](_0x2eacfc);return _0x12045f['length']?_0x12045f[0x0](_0x1fb97d):_0x7f953['mac']?!_0x1fb97d['altKey']:!_0x1fb97d['ctrlKey'];}(_0x12a49d,_0xc2c98f)?{'from':_0x52a6ad['from'],'to':_0x52a6ad['to']}:null,_0x1c983b={'from':_0x4c3193,'insert':_0x5ef88f},_0x2e270e=_0x12a49d['state']['changes'](_0x5ea3f6?[_0x5ea3f6,_0x1c983b]:_0x1c983b);_0x12a49d['focus'](),_0x12a49d['dispatch']({'changes':_0x2e270e,'selection':{'anchor':_0x2e270e['mapPos'](_0x4c3193,-0x1),'head':_0x2e270e['mapPos'](_0x4c3193,0x1)},'userEvent':_0x5ea3f6?'move.drop':'input.drop'}),_0x12a49d['inputState']['draggedContent']=null;}_0x1daa3f['dragstart']=(_0xcfcea,_0x8d4a84)=>{let {selection:{main:_0x5a3084}}=_0xcfcea['state'];if(_0x8d4a84['target']['draggable']){let _0x1a2686=_0xcfcea['docView']['nearest'](_0x8d4a84['target']);if(_0x1a2686&&_0x1a2686['isWidget']){let _0x1b42e2=_0x1a2686['posAtStart'],_0x46d9d4=_0x1b42e2+_0x1a2686['length'];(_0x1b42e2>=_0x5a3084['to']||_0x46d9d4<=_0x5a3084['from'])&&(_0x5a3084=EditorSelection['range'](_0x1b42e2,_0x46d9d4));}}let {inputState:_0x1d6fe6}=_0xcfcea;return _0x1d6fe6['mouseSelection']&&(_0x1d6fe6['mouseSelection']['dragging']=!0x0),_0x1d6fe6['draggedContent']=_0x5a3084,_0x8d4a84['dataTransfer']&&(_0x8d4a84['dataTransfer']['setData']('Text',_0xba63d0(_0xcfcea['state'],_0x294303,_0xcfcea['state']['sliceDoc'](_0x5a3084['from'],_0x5a3084['to']))),_0x8d4a84['dataTransfer']['effectAllowed']='copyMove'),!0x1;},_0x1daa3f['dragend']=_0x4c4d11=>(_0x4c4d11['inputState']['draggedContent']=null,!0x1),_0x1daa3f['drop']=(_0x2be5d5,_0x14eba2)=>{if(!_0x14eba2['dataTransfer'])return!0x1;if(_0x2be5d5['state']['readOnly'])return!0x0;let _0x5dff29=_0x14eba2['dataTransfer']['files'];if(_0x5dff29&&_0x5dff29['length']){let _0x5bd89e=Array(_0x5dff29['length']),_0xfb5152=0x0,_0x284b30=()=>{++_0xfb5152==_0x5dff29['length']&&_0x37e774(_0x2be5d5,_0x14eba2,_0x5bd89e['filter'](_0x4304a0=>null!=_0x4304a0)['join'](_0x2be5d5['state']['lineBreak']),!0x1);};for(let _0x2032a8=0x0;_0x2032a8<_0x5dff29['length'];_0x2032a8++){let _0xf5d0d5=new FileReader();_0xf5d0d5['onerror']=_0x284b30,_0xf5d0d5['onload']=()=>{/[\x00-\x08\x0e-\x1f]{2}/['test'](_0xf5d0d5['result'])||(_0x5bd89e[_0x2032a8]=_0xf5d0d5['result']),_0x284b30();},_0xf5d0d5['readAsText'](_0x5dff29[_0x2032a8]);}return!0x0;}{let _0x2a5952=_0x14eba2['dataTransfer']['getData']('Text');if(_0x2a5952)return _0x37e774(_0x2be5d5,_0x14eba2,_0x2a5952,!0x0),!0x0;}return!0x1;},_0x1daa3f['paste']=(_0x17702f,_0x40343b)=>{if(_0x17702f['state']['readOnly'])return!0x0;_0x17702f['observer']['flush']();let _0x528a78=_0x2a7022?null:_0x40343b['clipboardData'];return _0x528a78?(_0x174aae(_0x17702f,_0x528a78['getData']('text/plain')||_0x528a78['getData']('text/uri-list')),!0x0):(function(_0x1928a3){let _0x15d118=_0x1928a3['dom']['parentNode'];if(!_0x15d118)return;let _0xc74fe0=_0x15d118['appendChild'](document['createElement']('textarea'));_0xc74fe0['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0xc74fe0['focus'](),setTimeout(()=>{_0x1928a3['focus'](),_0xc74fe0['remove'](),_0x174aae(_0x1928a3,_0xc74fe0['value']);},0x32);}(_0x17702f),!0x1);};let _0x3f2331=null;_0x1daa3f['copy']=_0x1daa3f['cut']=(_0xf3ed27,_0x566eaa)=>{let {text:_0x4a85c3,ranges:_0x573d19,linewise:_0x49fda5}=function(_0x51f227){let _0x2980a2=[],_0x5df5f4=[],_0x475312=!0x1;for(let _0x4219f1 of _0x51f227['selection']['ranges'])_0x4219f1['empty']||(_0x2980a2['push'](_0x51f227['sliceDoc'](_0x4219f1['from'],_0x4219f1['to'])),_0x5df5f4['push'](_0x4219f1));if(!_0x2980a2['length']){let _0x311457=-0x1;for(let {from:_0x297012}of _0x51f227['selection']['ranges']){let _0xb9ea86=_0x51f227['doc']['lineAt'](_0x297012);_0xb9ea86['number']>_0x311457&&(_0x2980a2['push'](_0xb9ea86['text']),_0x5df5f4['push']({'from':_0xb9ea86['from'],'to':Math['min'](_0x51f227['doc']['length'],_0xb9ea86['to']+0x1)})),_0x311457=_0xb9ea86['number'];}_0x475312=!0x0;}return{'text':_0xba63d0(_0x51f227,_0x294303,_0x2980a2['join'](_0x51f227['lineBreak'])),'ranges':_0x5df5f4,'linewise':_0x475312};}(_0xf3ed27['state']);if(!_0x4a85c3&&!_0x49fda5)return!0x1;_0x3f2331=_0x49fda5?_0x4a85c3:null,'cut'!=_0x566eaa['type']||_0xf3ed27['state']['readOnly']||_0xf3ed27['dispatch']({'changes':_0x573d19,'scrollIntoView':!0x0,'userEvent':'delete.cut'});let _0x2ba103=_0x2a7022?null:_0x566eaa['clipboardData'];return _0x2ba103?(_0x2ba103['clearData'](),_0x2ba103['setData']('text/plain',_0x4a85c3),!0x0):(function(_0x34c563,_0x188c04){let _0x2e0997=_0x34c563['dom']['parentNode'];if(!_0x2e0997)return;let _0x1f2190=_0x2e0997['appendChild'](document['createElement']('textarea'));_0x1f2190['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x1f2190['value']=_0x188c04,_0x1f2190['focus'](),_0x1f2190['selectionEnd']=_0x188c04['length'],_0x1f2190['selectionStart']=0x0,setTimeout(()=>{_0x1f2190['remove'](),_0x34c563['focus']();},0x32);}(_0xf3ed27,_0x4a85c3),!0x1);};const _0x40cd1e=Annotation['define']();function _0x7dd93e(_0x50d322,_0x4340de){let _0x238608=[];for(let _0x1a2aa9 of _0x50d322['facet'](_0x17aa97)){let _0x1b4a71=_0x1a2aa9(_0x50d322,_0x4340de);_0x1b4a71&&_0x238608['push'](_0x1b4a71);}return _0x238608['length']?_0x50d322['update']({'effects':_0x238608,'annotations':_0x40cd1e['of'](!0x0)}):null;}function _0x4621f5(_0x1120f1){setTimeout(()=>{let _0x4ad224=_0x1120f1['hasFocus'];if(_0x4ad224!=_0x1120f1['inputState']['notifiedFocused']){let _0x200bc8=_0x7dd93e(_0x1120f1['state'],_0x4ad224);_0x200bc8?_0x1120f1['dispatch'](_0x200bc8):_0x1120f1['update']([]);}},0xa);}_0x1366ea['focus']=_0x347ea3=>{_0x347ea3['inputState']['lastFocusTime']=Date['now'](),_0x347ea3['scrollDOM']['scrollTop']||!_0x347ea3['inputState']['lastScrollTop']&&!_0x347ea3['inputState']['lastScrollLeft']||(_0x347ea3['scrollDOM']['scrollTop']=_0x347ea3['inputState']['lastScrollTop'],_0x347ea3['scrollDOM']['scrollLeft']=_0x347ea3['inputState']['lastScrollLeft']),_0x4621f5(_0x347ea3);},_0x1366ea['blur']=_0x204bd5=>{_0x204bd5['observer']['clearSelectionRange'](),_0x4621f5(_0x204bd5);},_0x1366ea['compositionstart']=_0x1366ea['compositionupdate']=_0x3e3d78=>{_0x3e3d78['observer']['editContext']||(null==_0x3e3d78['inputState']['compositionFirstChange']&&(_0x3e3d78['inputState']['compositionFirstChange']=!0x0),_0x3e3d78['inputState']['composing']<0x0&&(_0x3e3d78['inputState']['composing']=0x0));},_0x1366ea['compositionend']=_0x495012=>{_0x495012['observer']['editContext']||(_0x495012['inputState']['composing']=-0x1,_0x495012['inputState']['compositionEndedAt']=Date['now'](),_0x495012['inputState']['compositionPendingKey']=!0x0,_0x495012['inputState']['compositionPendingChange']=_0x495012['observer']['pendingRecords']()['length']>0x0,_0x495012['inputState']['compositionFirstChange']=null,_0x7f953['chrome']&&_0x7f953['android']?_0x495012['observer']['flushSoon']():_0x495012['inputState']['compositionPendingChange']?Promise['resolve']()['then'](()=>_0x495012['observer']['flush']()):setTimeout(()=>{_0x495012['inputState']['composing']<0x0&&_0x495012['docView']['hasComposition']&&_0x495012['update']([]);},0x32));},_0x1366ea['contextmenu']=_0x8dc089=>{_0x8dc089['inputState']['lastContextMenu']=Date['now']();},_0x1daa3f['beforeinput']=(_0x348dbb,_0x289476)=>{var _0x537b29,_0x4f941d;if('insertReplacementText'==_0x289476['inputType']&&_0x348dbb['observer']['editContext']){let _0x3e7287=null===(_0x537b29=_0x289476['dataTransfer'])||void 0x0===_0x537b29?void 0x0:_0x537b29['getData']('text/plain'),_0x3128c3=_0x289476['getTargetRanges']();if(_0x3e7287&&_0x3128c3['length']){let _0x2ee570=_0x3128c3[0x0],_0x58eb97=_0x348dbb['posAtDOM'](_0x2ee570['startContainer'],_0x2ee570['startOffset']),_0x2d3efa=_0x348dbb['posAtDOM'](_0x2ee570['endContainer'],_0x2ee570['endOffset']);return _0x19ee1f(_0x348dbb,{'from':_0x58eb97,'to':_0x2d3efa,'insert':_0x348dbb['state']['toText'](_0x3e7287)},null),!0x0;}}let _0x1f2476;if(_0x7f953['chrome']&&_0x7f953['android']&&(_0x1f2476=_0x10ada6['find'](_0x24f46f=>_0x24f46f['inputType']==_0x289476['inputType']))&&(_0x348dbb['observer']['delayAndroidKey'](_0x1f2476['key'],_0x1f2476['keyCode']),'Backspace'==_0x1f2476['key']||'Delete'==_0x1f2476['key'])){let _0x5ac6d1=(null===(_0x4f941d=window['visualViewport'])||void 0x0===_0x4f941d?void 0x0:_0x4f941d['height'])||0x0;setTimeout(()=>{var _0x522fbf;((null===(_0x522fbf=window['visualViewport'])||void 0x0===_0x522fbf?void 0x0:_0x522fbf['height'])||0x0)>_0x5ac6d1+0xa&&_0x348dbb['hasFocus']&&(_0x348dbb['contentDOM']['blur'](),_0x348dbb['focus']());},0x64);}return _0x7f953['ios']&&'deleteContentForward'==_0x289476['inputType']&&_0x348dbb['observer']['flushSoon'](),_0x7f953['safari']&&'insertText'==_0x289476['inputType']&&_0x348dbb['inputState']['composing']>=0x0&&setTimeout(()=>_0x1366ea['compositionend'](_0x348dbb,_0x289476),0x14),!0x1;};const _0x235c64=new Set(),_0x210bcf=['pre-wrap','normal','pre-line','break-spaces'];let _0xe3342c=!0x1;function _0x4c61ec(){_0xe3342c=!0x1;}class HeightOracle{constructor(_0x56ed83){this['lineWrapping']=_0x56ed83,this['doc']=Text['empty'],this['heightSamples']={},this['lineHeight']=0xe,this['charWidth']=0x7,this['textHeight']=0xe,this['lineLength']=0x1e;}['heightForGap'](_0x2b8a5e,_0x197d42){let _0x39a023=this['doc']['lineAt'](_0x197d42)['number']-this['doc']['lineAt'](_0x2b8a5e)['number']+0x1;return this['lineWrapping']&&(_0x39a023+=Math['max'](0x0,Math['ceil']((_0x197d42-_0x2b8a5e-_0x39a023*this['lineLength']*0.5)/this['lineLength']))),this['lineHeight']*_0x39a023;}['heightForLine'](_0x4e5ffc){if(!this['lineWrapping'])return this['lineHeight'];return(0x1+Math['max'](0x0,Math['ceil']((_0x4e5ffc-this['lineLength'])/Math['max'](0x1,this['lineLength']-0x5))))*this['lineHeight'];}['setDoc'](_0x42e0e5){return this['doc']=_0x42e0e5,this;}['mustRefreshForWrapping'](_0x5f3329){return _0x210bcf['indexOf'](_0x5f3329)>-0x1!=this['lineWrapping'];}['mustRefreshForHeights'](_0x4035b9){let _0x593eef=!0x1;for(let _0x265212=0x0;_0x265212<_0x4035b9['length'];_0x265212++){let _0x4a09df=_0x4035b9[_0x265212];_0x4a09df<0x0?_0x265212++:this['heightSamples'][Math['floor'](0xa*_0x4a09df)]||(_0x593eef=!0x0,this['heightSamples'][Math['floor'](0xa*_0x4a09df)]=!0x0);}return _0x593eef;}['refresh'](_0xbc9035,_0x38ebab,_0x24e726,_0xf716c,_0x30f613,_0x180632){let _0x8b8172=_0x210bcf['indexOf'](_0xbc9035)>-0x1,_0x52c880=Math['round'](_0x38ebab)!=Math['round'](this['lineHeight'])||this['lineWrapping']!=_0x8b8172;if(this['lineWrapping']=_0x8b8172,this['lineHeight']=_0x38ebab,this['charWidth']=_0x24e726,this['textHeight']=_0xf716c,this['lineLength']=_0x30f613,_0x52c880){this['heightSamples']={};for(let _0x370d5d=0x0;_0x370d5d<_0x180632['length'];_0x370d5d++){let _0x3e051e=_0x180632[_0x370d5d];_0x3e051e<0x0?_0x370d5d++:this['heightSamples'][Math['floor'](0xa*_0x3e051e)]=!0x0;}}return _0x52c880;}}class MeasuredHeights{constructor(_0x1027e1,_0x437814){this['from']=_0x1027e1,this['heights']=_0x437814,this['index']=0x0;}get['more'](){return this['index']<this['heights']['length'];}}class _0x4bfc4d{constructor(_0x10b450,_0x11c39b,_0x43ca85,_0x115f74,_0x9429f3){this['from']=_0x10b450,this['length']=_0x11c39b,this['top']=_0x43ca85,this['height']=_0x115f74,this['_content']=_0x9429f3;}get['type'](){return'number'==typeof this['_content']?_0x236364['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'](_0x10add7){let _0x347095=(Array['isArray'](this['_content'])?this['_content']:[this])['concat'](Array['isArray'](_0x10add7['_content'])?_0x10add7['_content']:[_0x10add7]);return new _0x4bfc4d(this['from'],this['length']+_0x10add7['length'],this['top'],this['height']+_0x10add7['height'],_0x347095);}}var _0x37c9dc=function(_0x776326){return _0x776326[_0x776326['ByPos']=0x0]='ByPos',_0x776326[_0x776326['ByHeight']=0x1]='ByHeight',_0x776326[_0x776326['ByPosNoHeight']=0x2]='ByPosNoHeight',_0x776326;}(_0x37c9dc||(_0x37c9dc={}));const _0x25b38d=0.001;class HeightMap{constructor(_0x3325fe,_0xc5bd8a,_0x469fbd=0x2){this['length']=_0x3325fe,this['height']=_0xc5bd8a,this['flags']=_0x469fbd;}get['outdated'](){return(0x2&this['flags'])>0x0;}set['outdated'](_0xb37793){this['flags']=(_0xb37793?0x2:0x0)|-0x3&this['flags'];}['setHeight'](_0x36dd87){this['height']!=_0x36dd87&&(Math['abs'](this['height']-_0x36dd87)>_0x25b38d&&(_0xe3342c=!0x0),this['height']=_0x36dd87);}['replace'](_0x13d3da,_0x57375b,_0x353ab8){return HeightMap['of'](_0x353ab8);}['decomposeLeft'](_0x449da1,_0x4234a4){_0x4234a4['push'](this);}['decomposeRight'](_0x25b4e6,_0x518d14){_0x518d14['push'](this);}['applyChanges'](_0x386dc2,_0x276c13,_0x193ffa,_0x54e601){let _0x4b3dda=this,_0x21cf4d=_0x193ffa['doc'];for(let _0x3cca96=_0x54e601['length']-0x1;_0x3cca96>=0x0;_0x3cca96--){let {fromA:_0x22c76f,toA:_0x157196,fromB:_0x9e793a,toB:_0x1241c5}=_0x54e601[_0x3cca96],_0x20e5e8=_0x4b3dda['lineAt'](_0x22c76f,_0x37c9dc['ByPosNoHeight'],_0x193ffa['setDoc'](_0x276c13),0x0,0x0),_0x489066=_0x20e5e8['to']>=_0x157196?_0x20e5e8:_0x4b3dda['lineAt'](_0x157196,_0x37c9dc['ByPosNoHeight'],_0x193ffa,0x0,0x0);for(_0x1241c5+=_0x489066['to']-_0x157196,_0x157196=_0x489066['to'];_0x3cca96>0x0&&_0x20e5e8['from']<=_0x54e601[_0x3cca96-0x1]['toA'];)_0x22c76f=_0x54e601[_0x3cca96-0x1]['fromA'],_0x9e793a=_0x54e601[_0x3cca96-0x1]['fromB'],_0x3cca96--,_0x22c76f<_0x20e5e8['from']&&(_0x20e5e8=_0x4b3dda['lineAt'](_0x22c76f,_0x37c9dc['ByPosNoHeight'],_0x193ffa,0x0,0x0));_0x9e793a+=_0x20e5e8['from']-_0x22c76f,_0x22c76f=_0x20e5e8['from'];let _0x1aa7f1=_0x495f1d['build'](_0x193ffa['setDoc'](_0x21cf4d),_0x386dc2,_0x9e793a,_0x1241c5);_0x4b3dda=_0x3576c8(_0x4b3dda,_0x4b3dda['replace'](_0x22c76f,_0x157196,_0x1aa7f1));}return _0x4b3dda['updateHeight'](_0x193ffa,0x0);}static['empty'](){return new HeightMapText(0x0,0x0);}static['of'](_0x562a68){if(0x1==_0x562a68['length'])return _0x562a68[0x0];let _0x2a33d8=0x0,_0x1a305d=_0x562a68['length'],_0x1679f6=0x0,_0x4f512e=0x0;for(;;)if(_0x2a33d8==_0x1a305d){if(_0x1679f6>0x2*_0x4f512e){let _0x40906b=_0x562a68[_0x2a33d8-0x1];_0x40906b['break']?_0x562a68['splice'](--_0x2a33d8,0x1,_0x40906b['left'],null,_0x40906b['right']):_0x562a68['splice'](--_0x2a33d8,0x1,_0x40906b['left'],_0x40906b['right']),_0x1a305d+=0x1+_0x40906b['break'],_0x1679f6-=_0x40906b['size'];}else{if(!(_0x4f512e>0x2*_0x1679f6))break;{let _0x10ec24=_0x562a68[_0x1a305d];_0x10ec24['break']?_0x562a68['splice'](_0x1a305d,0x1,_0x10ec24['left'],null,_0x10ec24['right']):_0x562a68['splice'](_0x1a305d,0x1,_0x10ec24['left'],_0x10ec24['right']),_0x1a305d+=0x2+_0x10ec24['break'],_0x4f512e-=_0x10ec24['size'];}}}else{if(_0x1679f6<_0x4f512e){let _0x229edb=_0x562a68[_0x2a33d8++];_0x229edb&&(_0x1679f6+=_0x229edb['size']);}else{let _0x24fe3e=_0x562a68[--_0x1a305d];_0x24fe3e&&(_0x4f512e+=_0x24fe3e['size']);}}let _0x328577=0x0;return null==_0x562a68[_0x2a33d8-0x1]?(_0x328577=0x1,_0x2a33d8--):null==_0x562a68[_0x2a33d8]&&(_0x328577=0x1,_0x1a305d++),new HeightMapBranch(HeightMap['of'](_0x562a68['slice'](0x0,_0x2a33d8)),_0x328577,HeightMap['of'](_0x562a68['slice'](_0x1a305d)));}}function _0x3576c8(_0x147d0a,_0xe358f6){return _0x147d0a==_0xe358f6?_0x147d0a:(_0x147d0a['constructor']!=_0xe358f6['constructor']&&(_0xe3342c=!0x0),_0xe358f6);}HeightMap['prototype']['size']=0x1;class HeightMapBlock extends HeightMap{constructor(_0x4f7523,_0x13b039,_0x67f31a){super(_0x4f7523,_0x13b039),this['deco']=_0x67f31a;}['blockAt'](_0x54ac21,_0x86025b,_0x552336,_0x339508){return new _0x4bfc4d(_0x339508,this['length'],_0x552336,this['height'],this['deco']||0x0);}['lineAt'](_0x2183a3,_0x44e01f,_0x2a2448,_0x15e529,_0x4be49a){return this['blockAt'](0x0,_0x2a2448,_0x15e529,_0x4be49a);}['forEachLine'](_0x21c7e9,_0x2f61d4,_0x5d8c5b,_0x35ad1e,_0x173ccd,_0x416b41){_0x21c7e9<=_0x173ccd+this['length']&&_0x2f61d4>=_0x173ccd&&_0x416b41(this['blockAt'](0x0,_0x5d8c5b,_0x35ad1e,_0x173ccd));}['updateHeight'](_0x6a6f5a,_0x27ee8b=0x0,_0x245f72=!0x1,_0x20f21a){return _0x20f21a&&_0x20f21a['from']<=_0x27ee8b&&_0x20f21a['more']&&this['setHeight'](_0x20f21a['heights'][_0x20f21a['index']++]),this['outdated']=!0x1,this;}['toString'](){return'block('+this['length']+')';}}class HeightMapText extends HeightMapBlock{constructor(_0x39647a,_0x5c6d57){super(_0x39647a,_0x5c6d57,null),this['collapsed']=0x0,this['widgetHeight']=0x0,this['breaks']=0x0;}['blockAt'](_0xd747fe,_0x477dea,_0x448970,_0x2bc06c){return new _0x4bfc4d(_0x2bc06c,this['length'],_0x448970,this['height'],this['breaks']);}['replace'](_0xd91912,_0x4bd8da,_0xc7f554){let _0x4fadbd=_0xc7f554[0x0];return 0x1==_0xc7f554['length']&&(_0x4fadbd instanceof HeightMapText||_0x4fadbd instanceof HeightMapGap&&0x4&_0x4fadbd['flags'])&&Math['abs'](this['length']-_0x4fadbd['length'])<0xa?(_0x4fadbd instanceof HeightMapGap?_0x4fadbd=new HeightMapText(_0x4fadbd['length'],this['height']):_0x4fadbd['height']=this['height'],this['outdated']||(_0x4fadbd['outdated']=!0x1),_0x4fadbd):HeightMap['of'](_0xc7f554);}['updateHeight'](_0x5d8588,_0x126ab8=0x0,_0xaf6363=!0x1,_0x1ec43c){return _0x1ec43c&&_0x1ec43c['from']<=_0x126ab8&&_0x1ec43c['more']?this['setHeight'](_0x1ec43c['heights'][_0x1ec43c['index']++]):(_0xaf6363||this['outdated'])&&this['setHeight'](Math['max'](this['widgetHeight'],_0x5d8588['heightForLine'](this['length']-this['collapsed']))+this['breaks']*_0x5d8588['lineHeight']),this['outdated']=!0x1,this;}['toString'](){return'line('+this['length']+(this['collapsed']?-this['collapsed']:'')+(this['widgetHeight']?':'+this['widgetHeight']:'')+')';}}class HeightMapGap extends HeightMap{constructor(_0x4e55f5){super(_0x4e55f5,0x0);}['heightMetrics'](_0x410a7a,_0x358b0a){let _0x14fabb,_0x58f6f6=_0x410a7a['doc']['lineAt'](_0x358b0a)['number'],_0x50f583=_0x410a7a['doc']['lineAt'](_0x358b0a+this['length'])['number'],_0x19bed8=_0x50f583-_0x58f6f6+0x1,_0x15927b=0x0;if(_0x410a7a['lineWrapping']){let _0x53e47b=Math['min'](this['height'],_0x410a7a['lineHeight']*_0x19bed8);_0x14fabb=_0x53e47b/_0x19bed8,this['length']>_0x19bed8+0x1&&(_0x15927b=(this['height']-_0x53e47b)/(this['length']-_0x19bed8-0x1));}else _0x14fabb=this['height']/_0x19bed8;return{'firstLine':_0x58f6f6,'lastLine':_0x50f583,'perLine':_0x14fabb,'perChar':_0x15927b};}['blockAt'](_0x215748,_0x2fc719,_0x36f0f7,_0x57f72c){let {firstLine:_0x6027eb,lastLine:_0x3fcdd6,perLine:_0x118b58,perChar:_0x4e9c5f}=this['heightMetrics'](_0x2fc719,_0x57f72c);if(_0x2fc719['lineWrapping']){let _0x38a7e8=_0x57f72c+(_0x215748<_0x2fc719['lineHeight']?0x0:Math['round'](Math['max'](0x0,Math['min'](0x1,(_0x215748-_0x36f0f7)/this['height']))*this['length'])),_0x36d11b=_0x2fc719['doc']['lineAt'](_0x38a7e8),_0x193ae7=_0x118b58+_0x36d11b['length']*_0x4e9c5f,_0x3dddb7=Math['max'](_0x36f0f7,_0x215748-_0x193ae7/0x2);return new _0x4bfc4d(_0x36d11b['from'],_0x36d11b['length'],_0x3dddb7,_0x193ae7,0x0);}{let _0x41742d=Math['max'](0x0,Math['min'](_0x3fcdd6-_0x6027eb,Math['floor']((_0x215748-_0x36f0f7)/_0x118b58))),{from:_0x2ad387,length:_0x358bbf}=_0x2fc719['doc']['line'](_0x6027eb+_0x41742d);return new _0x4bfc4d(_0x2ad387,_0x358bbf,_0x36f0f7+_0x118b58*_0x41742d,_0x118b58,0x0);}}['lineAt'](_0x43e04e,_0x2f4b85,_0x5c83a5,_0x1c7c85,_0x5427b8){if(_0x2f4b85==_0x37c9dc['ByHeight'])return this['blockAt'](_0x43e04e,_0x5c83a5,_0x1c7c85,_0x5427b8);if(_0x2f4b85==_0x37c9dc['ByPosNoHeight']){let {from:_0x8b1479,to:_0x4a6d5d}=_0x5c83a5['doc']['lineAt'](_0x43e04e);return new _0x4bfc4d(_0x8b1479,_0x4a6d5d-_0x8b1479,0x0,0x0,0x0);}let {firstLine:_0xc2569b,perLine:_0xe527f5,perChar:_0x54ee59}=this['heightMetrics'](_0x5c83a5,_0x5427b8),_0x12b5c2=_0x5c83a5['doc']['lineAt'](_0x43e04e),_0x1a24d6=_0xe527f5+_0x12b5c2['length']*_0x54ee59,_0x29898e=_0x12b5c2['number']-_0xc2569b,_0x185678=_0x1c7c85+_0xe527f5*_0x29898e+_0x54ee59*(_0x12b5c2['from']-_0x5427b8-_0x29898e);return new _0x4bfc4d(_0x12b5c2['from'],_0x12b5c2['length'],Math['max'](_0x1c7c85,Math['min'](_0x185678,_0x1c7c85+this['height']-_0x1a24d6)),_0x1a24d6,0x0);}['forEachLine'](_0x1baec3,_0x19070d,_0x42f616,_0x4f8adb,_0x542195,_0x4a7b5d){_0x1baec3=Math['max'](_0x1baec3,_0x542195),_0x19070d=Math['min'](_0x19070d,_0x542195+this['length']);let {firstLine:_0x3c61c9,perLine:_0xce1935,perChar:_0x34d33a}=this['heightMetrics'](_0x42f616,_0x542195);for(let _0x5d643f=_0x1baec3,_0x158af8=_0x4f8adb;_0x5d643f<=_0x19070d;){let _0x2c88d0=_0x42f616['doc']['lineAt'](_0x5d643f);if(_0x5d643f==_0x1baec3){let _0x1792c6=_0x2c88d0['number']-_0x3c61c9;_0x158af8+=_0xce1935*_0x1792c6+_0x34d33a*(_0x1baec3-_0x542195-_0x1792c6);}let _0x2cba51=_0xce1935+_0x34d33a*_0x2c88d0['length'];_0x4a7b5d(new _0x4bfc4d(_0x2c88d0['from'],_0x2c88d0['length'],_0x158af8,_0x2cba51,0x0)),_0x158af8+=_0x2cba51,_0x5d643f=_0x2c88d0['to']+0x1;}}['replace'](_0x1a2e4b,_0x5c5350,_0x4c66e3){let _0x7dd78d=this['length']-_0x5c5350;if(_0x7dd78d>0x0){let _0x43efa5=_0x4c66e3[_0x4c66e3['length']-0x1];_0x43efa5 instanceof HeightMapGap?_0x4c66e3[_0x4c66e3['length']-0x1]=new HeightMapGap(_0x43efa5['length']+_0x7dd78d):_0x4c66e3['push'](null,new HeightMapGap(_0x7dd78d-0x1));}if(_0x1a2e4b>0x0){let _0x182c06=_0x4c66e3[0x0];_0x182c06 instanceof HeightMapGap?_0x4c66e3[0x0]=new HeightMapGap(_0x1a2e4b+_0x182c06['length']):_0x4c66e3['unshift'](new HeightMapGap(_0x1a2e4b-0x1),null);}return HeightMap['of'](_0x4c66e3);}['decomposeLeft'](_0x567999,_0x29a227){_0x29a227['push'](new HeightMapGap(_0x567999-0x1),null);}['decomposeRight'](_0x57a1dd,_0x3c299f){_0x3c299f['push'](null,new HeightMapGap(this['length']-_0x57a1dd-0x1));}['updateHeight'](_0x58a556,_0x24e81b=0x0,_0x46a256=!0x1,_0x38febb){let _0x432a8c=_0x24e81b+this['length'];if(_0x38febb&&_0x38febb['from']<=_0x24e81b+this['length']&&_0x38febb['more']){let _0x41750a=[],_0x8fd319=Math['max'](_0x24e81b,_0x38febb['from']),_0x269163=-0x1;for(_0x38febb['from']>_0x24e81b&&_0x41750a['push'](new HeightMapGap(_0x38febb['from']-_0x24e81b-0x1)['updateHeight'](_0x58a556,_0x24e81b));_0x8fd319<=_0x432a8c&&_0x38febb['more'];){let _0x3687c2=_0x58a556['doc']['lineAt'](_0x8fd319)['length'];_0x41750a['length']&&_0x41750a['push'](null);let _0x4970ec=_0x38febb['heights'][_0x38febb['index']++];-0x1==_0x269163?_0x269163=_0x4970ec:Math['abs'](_0x4970ec-_0x269163)>=_0x25b38d&&(_0x269163=-0x2);let _0x1b37dd=new HeightMapText(_0x3687c2,_0x4970ec);_0x1b37dd['outdated']=!0x1,_0x41750a['push'](_0x1b37dd),_0x8fd319+=_0x3687c2+0x1;}_0x8fd319<=_0x432a8c&&_0x41750a['push'](null,new HeightMapGap(_0x432a8c-_0x8fd319)['updateHeight'](_0x58a556,_0x8fd319));let _0x295224=HeightMap['of'](_0x41750a);return(_0x269163<0x0||Math['abs'](_0x295224['height']-this['height'])>=_0x25b38d||Math['abs'](_0x269163-this['heightMetrics'](_0x58a556,_0x24e81b)['perLine'])>=_0x25b38d)&&(_0xe3342c=!0x0),_0x3576c8(this,_0x295224);}return(_0x46a256||this['outdated'])&&(this['setHeight'](_0x58a556['heightForGap'](_0x24e81b,_0x24e81b+this['length'])),this['outdated']=!0x1),this;}['toString'](){return'gap('+this['length']+')';}}class HeightMapBranch extends HeightMap{constructor(_0x58a420,_0x242667,_0x94d5b0){super(_0x58a420['length']+_0x242667+_0x94d5b0['length'],_0x58a420['height']+_0x94d5b0['height'],_0x242667|(_0x58a420['outdated']||_0x94d5b0['outdated']?0x2:0x0)),this['left']=_0x58a420,this['right']=_0x94d5b0,this['size']=_0x58a420['size']+_0x94d5b0['size'];}get['break'](){return 0x1&this['flags'];}['blockAt'](_0x183318,_0x2a7e31,_0x5204f1,_0x4ee62f){let _0x418760=_0x5204f1+this['left']['height'];return _0x183318<_0x418760?this['left']['blockAt'](_0x183318,_0x2a7e31,_0x5204f1,_0x4ee62f):this['right']['blockAt'](_0x183318,_0x2a7e31,_0x418760,_0x4ee62f+this['left']['length']+this['break']);}['lineAt'](_0x3ef9cb,_0x3bb8fd,_0x5478d5,_0x5dae75,_0x40192f){let _0x54dd79=_0x5dae75+this['left']['height'],_0x4dbf1a=_0x40192f+this['left']['length']+this['break'],_0x29c5ce=_0x3bb8fd==_0x37c9dc['ByHeight']?_0x3ef9cb<_0x54dd79:_0x3ef9cb<_0x4dbf1a,_0x209670=_0x29c5ce?this['left']['lineAt'](_0x3ef9cb,_0x3bb8fd,_0x5478d5,_0x5dae75,_0x40192f):this['right']['lineAt'](_0x3ef9cb,_0x3bb8fd,_0x5478d5,_0x54dd79,_0x4dbf1a);if(this['break']||(_0x29c5ce?_0x209670['to']<_0x4dbf1a:_0x209670['from']>_0x4dbf1a))return _0x209670;let _0x4e3ea8=_0x3bb8fd==_0x37c9dc['ByPosNoHeight']?_0x37c9dc['ByPosNoHeight']:_0x37c9dc['ByPos'];return _0x29c5ce?_0x209670['join'](this['right']['lineAt'](_0x4dbf1a,_0x4e3ea8,_0x5478d5,_0x54dd79,_0x4dbf1a)):this['left']['lineAt'](_0x4dbf1a,_0x4e3ea8,_0x5478d5,_0x5dae75,_0x40192f)['join'](_0x209670);}['forEachLine'](_0x4d4c4b,_0x5d74dc,_0x4b6585,_0x45d1c5,_0x125b37,_0x1f4856){let _0x26272a=_0x45d1c5+this['left']['height'],_0x4e1e4e=_0x125b37+this['left']['length']+this['break'];if(this['break'])_0x4d4c4b<_0x4e1e4e&&this['left']['forEachLine'](_0x4d4c4b,_0x5d74dc,_0x4b6585,_0x45d1c5,_0x125b37,_0x1f4856),_0x5d74dc>=_0x4e1e4e&&this['right']['forEachLine'](_0x4d4c4b,_0x5d74dc,_0x4b6585,_0x26272a,_0x4e1e4e,_0x1f4856);else{let _0x1ea900=this['lineAt'](_0x4e1e4e,_0x37c9dc['ByPos'],_0x4b6585,_0x45d1c5,_0x125b37);_0x4d4c4b<_0x1ea900['from']&&this['left']['forEachLine'](_0x4d4c4b,_0x1ea900['from']-0x1,_0x4b6585,_0x45d1c5,_0x125b37,_0x1f4856),_0x1ea900['to']>=_0x4d4c4b&&_0x1ea900['from']<=_0x5d74dc&&_0x1f4856(_0x1ea900),_0x5d74dc>_0x1ea900['to']&&this['right']['forEachLine'](_0x1ea900['to']+0x1,_0x5d74dc,_0x4b6585,_0x26272a,_0x4e1e4e,_0x1f4856);}}['replace'](_0x56eb80,_0x1fabcf,_0x7abbae){let _0x4026fc=this['left']['length']+this['break'];if(_0x1fabcf<_0x4026fc)return this['balanced'](this['left']['replace'](_0x56eb80,_0x1fabcf,_0x7abbae),this['right']);if(_0x56eb80>this['left']['length'])return this['balanced'](this['left'],this['right']['replace'](_0x56eb80-_0x4026fc,_0x1fabcf-_0x4026fc,_0x7abbae));let _0xea48c5=[];_0x56eb80>0x0&&this['decomposeLeft'](_0x56eb80,_0xea48c5);let _0x3f2054=_0xea48c5['length'];for(let _0x5e190f of _0x7abbae)_0xea48c5['push'](_0x5e190f);if(_0x56eb80>0x0&&_0x2504ad(_0xea48c5,_0x3f2054-0x1),_0x1fabcf<this['length']){let _0x13947b=_0xea48c5['length'];this['decomposeRight'](_0x1fabcf,_0xea48c5),_0x2504ad(_0xea48c5,_0x13947b);}return HeightMap['of'](_0xea48c5);}['decomposeLeft'](_0x1a2100,_0x4b6cc9){let _0x11bbac=this['left']['length'];if(_0x1a2100<=_0x11bbac)return this['left']['decomposeLeft'](_0x1a2100,_0x4b6cc9);_0x4b6cc9['push'](this['left']),this['break']&&(_0x11bbac++,_0x1a2100>=_0x11bbac&&_0x4b6cc9['push'](null)),_0x1a2100>_0x11bbac&&this['right']['decomposeLeft'](_0x1a2100-_0x11bbac,_0x4b6cc9);}['decomposeRight'](_0x547e26,_0x49a142){let _0x28f67c=this['left']['length'],_0x51b192=_0x28f67c+this['break'];if(_0x547e26>=_0x51b192)return this['right']['decomposeRight'](_0x547e26-_0x51b192,_0x49a142);_0x547e26<_0x28f67c&&this['left']['decomposeRight'](_0x547e26,_0x49a142),this['break']&&_0x547e26<_0x51b192&&_0x49a142['push'](null),_0x49a142['push'](this['right']);}['balanced'](_0x5df543,_0x4295ba){return _0x5df543['size']>0x2*_0x4295ba['size']||_0x4295ba['size']>0x2*_0x5df543['size']?HeightMap['of'](this['break']?[_0x5df543,null,_0x4295ba]:[_0x5df543,_0x4295ba]):(this['left']=_0x3576c8(this['left'],_0x5df543),this['right']=_0x3576c8(this['right'],_0x4295ba),this['setHeight'](_0x5df543['height']+_0x4295ba['height']),this['outdated']=_0x5df543['outdated']||_0x4295ba['outdated'],this['size']=_0x5df543['size']+_0x4295ba['size'],this['length']=_0x5df543['length']+this['break']+_0x4295ba['length'],this);}['updateHeight'](_0x26ecfb,_0x669582=0x0,_0xf9f575=!0x1,_0x13dd2d){let {left:_0x38cc67,right:_0x483835}=this,_0x4cdc81=_0x669582+_0x38cc67['length']+this['break'],_0x27bb7f=null;return _0x13dd2d&&_0x13dd2d['from']<=_0x669582+_0x38cc67['length']&&_0x13dd2d['more']?_0x27bb7f=_0x38cc67=_0x38cc67['updateHeight'](_0x26ecfb,_0x669582,_0xf9f575,_0x13dd2d):_0x38cc67['updateHeight'](_0x26ecfb,_0x669582,_0xf9f575),_0x13dd2d&&_0x13dd2d['from']<=_0x4cdc81+_0x483835['length']&&_0x13dd2d['more']?_0x27bb7f=_0x483835=_0x483835['updateHeight'](_0x26ecfb,_0x4cdc81,_0xf9f575,_0x13dd2d):_0x483835['updateHeight'](_0x26ecfb,_0x4cdc81,_0xf9f575),_0x27bb7f?this['balanced'](_0x38cc67,_0x483835):(this['height']=this['left']['height']+this['right']['height'],this['outdated']=!0x1,this);}['toString'](){return this['left']+(this['break']?'\x20':'-')+this['right'];}}function _0x2504ad(_0x3ad1a2,_0xdfca51){let _0x25604d,_0x25be46;null==_0x3ad1a2[_0xdfca51]&&(_0x25604d=_0x3ad1a2[_0xdfca51-0x1])instanceof HeightMapGap&&(_0x25be46=_0x3ad1a2[_0xdfca51+0x1])instanceof HeightMapGap&&_0x3ad1a2['splice'](_0xdfca51-0x1,0x3,new HeightMapGap(_0x25604d['length']+0x1+_0x25be46['length']));}class _0x495f1d{constructor(_0x225f6,_0x16cae3){this['pos']=_0x225f6,this['oracle']=_0x16cae3,this['nodes']=[],this['lineStart']=-0x1,this['lineEnd']=-0x1,this['covering']=null,this['writtenTo']=_0x225f6;}get['isCovered'](){return this['covering']&&this['nodes'][this['nodes']['length']-0x1]==this['covering'];}['span'](_0xb2b493,_0x100f3b){if(this['lineStart']>-0x1){let _0x34bac3=Math['min'](_0x100f3b,this['lineEnd']),_0x40845e=this['nodes'][this['nodes']['length']-0x1];_0x40845e instanceof HeightMapText?_0x40845e['length']+=_0x34bac3-this['pos']:(_0x34bac3>this['pos']||!this['isCovered'])&&this['nodes']['push'](new HeightMapText(_0x34bac3-this['pos'],-0x1)),this['writtenTo']=_0x34bac3,_0x100f3b>_0x34bac3&&(this['nodes']['push'](null),this['writtenTo']++,this['lineStart']=-0x1);}this['pos']=_0x100f3b;}['point'](_0xec419b,_0x5ec770,_0x31b83f){if(_0xec419b<_0x5ec770||_0x31b83f['heightRelevant']){let _0x69a12=_0x31b83f['widget']?_0x31b83f['widget']['estimatedHeight']:0x0,_0x2c7584=_0x31b83f['widget']?_0x31b83f['widget']['lineBreaks']:0x0;_0x69a12<0x0&&(_0x69a12=this['oracle']['lineHeight']);let _0x2519b3=_0x5ec770-_0xec419b;_0x31b83f['block']?this['addBlock'](new HeightMapBlock(_0x2519b3,_0x69a12,_0x31b83f)):(_0x2519b3||_0x2c7584||_0x69a12>=0x5)&&this['addLineDeco'](_0x69a12,_0x2c7584,_0x2519b3);}else _0x5ec770>_0xec419b&&this['span'](_0xec419b,_0x5ec770);this['lineEnd']>-0x1&&this['lineEnd']<this['pos']&&(this['lineEnd']=this['oracle']['doc']['lineAt'](this['pos'])['to']);}['enterLine'](){if(this['lineStart']>-0x1)return;let {from:_0x518e95,to:_0x2e7ecf}=this['oracle']['doc']['lineAt'](this['pos']);this['lineStart']=_0x518e95,this['lineEnd']=_0x2e7ecf,this['writtenTo']<_0x518e95&&((this['writtenTo']<_0x518e95-0x1||null==this['nodes'][this['nodes']['length']-0x1])&&this['nodes']['push'](this['blankContent'](this['writtenTo'],_0x518e95-0x1)),this['nodes']['push'](null)),this['pos']>_0x518e95&&this['nodes']['push'](new HeightMapText(this['pos']-_0x518e95,-0x1)),this['writtenTo']=this['pos'];}['blankContent'](_0x48d671,_0x21cae8){let _0x5ad4c3=new HeightMapGap(_0x21cae8-_0x48d671);return this['oracle']['doc']['lineAt'](_0x48d671)['to']==_0x21cae8&&(_0x5ad4c3['flags']|=0x4),_0x5ad4c3;}['ensureLine'](){this['enterLine']();let _0x210a84=this['nodes']['length']?this['nodes'][this['nodes']['length']-0x1]:null;if(_0x210a84 instanceof HeightMapText)return _0x210a84;let _0x9e4f9c=new HeightMapText(0x0,-0x1);return this['nodes']['push'](_0x9e4f9c),_0x9e4f9c;}['addBlock'](_0xf9126e){this['enterLine']();let _0x53a744=_0xf9126e['deco'];_0x53a744&&_0x53a744['startSide']>0x0&&!this['isCovered']&&this['ensureLine'](),this['nodes']['push'](_0xf9126e),this['writtenTo']=this['pos']=this['pos']+_0xf9126e['length'],_0x53a744&&_0x53a744['endSide']>0x0&&(this['covering']=_0xf9126e);}['addLineDeco'](_0xb01575,_0x1fff96,_0x57f0c9){let _0x3d66c4=this['ensureLine']();_0x3d66c4['length']+=_0x57f0c9,_0x3d66c4['collapsed']+=_0x57f0c9,_0x3d66c4['widgetHeight']=Math['max'](_0x3d66c4['widgetHeight'],_0xb01575),_0x3d66c4['breaks']+=_0x1fff96,this['writtenTo']=this['pos']=this['pos']+_0x57f0c9;}['finish'](_0x4a4caa){let _0x2e94e4=0x0==this['nodes']['length']?null:this['nodes'][this['nodes']['length']-0x1];!(this['lineStart']>-0x1)||_0x2e94e4 instanceof HeightMapText||this['isCovered']?(this['writtenTo']<this['pos']||null==_0x2e94e4)&&this['nodes']['push'](this['blankContent'](this['writtenTo'],this['pos'])):this['nodes']['push'](new HeightMapText(0x0,-0x1));let _0x1d4b90=_0x4a4caa;for(let _0x2d64eb of this['nodes'])_0x2d64eb instanceof HeightMapText&&_0x2d64eb['updateHeight'](this['oracle'],_0x1d4b90),_0x1d4b90+=_0x2d64eb?_0x2d64eb['length']:0x1;return this['nodes'];}static['build'](_0x4bb95e,_0x3f9f81,_0x223c8e,_0x58b259){let _0x3c6aa=new _0x495f1d(_0x223c8e,_0x4bb95e);return RangeSet['spans'](_0x3f9f81,_0x223c8e,_0x58b259,_0x3c6aa,0x0),_0x3c6aa['finish'](_0x223c8e);}}class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](){}['comparePoint'](_0x3edad2,_0x3aef77,_0x160b44,_0x33f53c){(_0x3edad2<_0x3aef77||_0x160b44&&_0x160b44['heightRelevant']||_0x33f53c&&_0x33f53c['heightRelevant'])&&_0x1c0228(_0x3edad2,_0x3aef77,this['changes'],0x5);}}function _0x572d24(_0x41bbcb,_0x4e745c){let _0x472ad3=_0x41bbcb['getBoundingClientRect'](),_0x2de4b6=_0x41bbcb['ownerDocument'],_0x428bc0=_0x2de4b6['defaultView']||window,_0x14e918=Math['max'](0x0,_0x472ad3['left']),_0x34d665=Math['min'](_0x428bc0['innerWidth'],_0x472ad3['right']),_0x1bfac4=Math['max'](0x0,_0x472ad3['top']),_0xf55a2e=Math['min'](_0x428bc0['innerHeight'],_0x472ad3['bottom']);for(let _0xfc9e75=_0x41bbcb['parentNode'];_0xfc9e75&&_0xfc9e75!=_0x2de4b6['body'];)if(0x1==_0xfc9e75['nodeType']){let _0x5e5287=_0xfc9e75,_0x349136=window['getComputedStyle'](_0x5e5287);if((_0x5e5287['scrollHeight']>_0x5e5287['clientHeight']||_0x5e5287['scrollWidth']>_0x5e5287['clientWidth'])&&'visible'!=_0x349136['overflow']){let _0x488fa3=_0x5e5287['getBoundingClientRect']();_0x14e918=Math['max'](_0x14e918,_0x488fa3['left']),_0x34d665=Math['min'](_0x34d665,_0x488fa3['right']),_0x1bfac4=Math['max'](_0x1bfac4,_0x488fa3['top']),_0xf55a2e=Math['min'](_0xfc9e75==_0x41bbcb['parentNode']?_0x428bc0['innerHeight']:_0xf55a2e,_0x488fa3['bottom']);}_0xfc9e75='absolute'==_0x349136['position']||'fixed'==_0x349136['position']?_0x5e5287['offsetParent']:_0x5e5287['parentNode'];}else{if(0xb!=_0xfc9e75['nodeType'])break;_0xfc9e75=_0xfc9e75['host'];}return{'left':_0x14e918-_0x472ad3['left'],'right':Math['max'](_0x14e918,_0x34d665)-_0x472ad3['left'],'top':_0x1bfac4-(_0x472ad3['top']+_0x4e745c),'bottom':Math['max'](_0x1bfac4,_0xf55a2e)-(_0x472ad3['top']+_0x4e745c)};}function _0x554625(_0x2f1048,_0x1ac469){let _0x354204=_0x2f1048['getBoundingClientRect']();return{'left':0x0,'right':_0x354204['right']-_0x354204['left'],'top':_0x1ac469,'bottom':_0x354204['bottom']-(_0x354204['top']+_0x1ac469)};}class _0x2778d3{constructor(_0x55a424,_0x321b51,_0x2fdbf2,_0x5946f9){this['from']=_0x55a424,this['to']=_0x321b51,this['size']=_0x2fdbf2,this['displaySize']=_0x5946f9;}static['same'](_0x7ecd5f,_0xf4072c){if(_0x7ecd5f['length']!=_0xf4072c['length'])return!0x1;for(let _0x4b986d=0x0;_0x4b986d<_0x7ecd5f['length'];_0x4b986d++){let _0x331455=_0x7ecd5f[_0x4b986d],_0x4b9c06=_0xf4072c[_0x4b986d];if(_0x331455['from']!=_0x4b9c06['from']||_0x331455['to']!=_0x4b9c06['to']||_0x331455['size']!=_0x4b9c06['size'])return!0x1;}return!0x0;}['draw'](_0x24c694,_0xf565b4){return Decoration['replace']({'widget':new LineGapWidget(this['displaySize']*(_0xf565b4?_0x24c694['scaleY']:_0x24c694['scaleX']),_0xf565b4)})['range'](this['from'],this['to']);}}class LineGapWidget extends WidgetType{constructor(_0x4da16d,_0x361abb){super(),this['size']=_0x4da16d,this['vertical']=_0x361abb;}['eq'](_0x54af05){return _0x54af05['size']==this['size']&&_0x54af05['vertical']==this['vertical'];}['toDOM'](){let _0x39da43=document['createElement']('div');return this['vertical']?_0x39da43['style']['height']=this['size']+'px':(_0x39da43['style']['width']=this['size']+'px',_0x39da43['style']['height']='2px',_0x39da43['style']['display']='inline-block'),_0x39da43;}get['estimatedHeight'](){return this['vertical']?this['size']:-0x1;}}class ViewState{constructor(_0x150d3d){this['state']=_0x150d3d,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']=_0x3c57d5,this['scrollTarget']=null,this['printing']=!0x1,this['mustMeasureContent']=!0x0,this['defaultTextDirection']=_0xdbef2e['LTR'],this['visibleRanges']=[],this['mustEnforceCursorAssoc']=!0x1;let _0x54ed03=_0x150d3d['facet'](_0x3597d2)['some'](_0x2ef796=>'function'!=typeof _0x2ef796&&'cm-lineWrapping'==_0x2ef796['class']);this['heightOracle']=new HeightOracle(_0x54ed03),this['stateDeco']=_0x150d3d['facet'](_0x4b35df)['filter'](_0x4a27d4=>'function'!=typeof _0x4a27d4),this['heightMap']=HeightMap['empty']()['applyChanges'](this['stateDeco'],Text['empty'],this['heightOracle']['setDoc'](_0x150d3d['doc']),[new _0x31ecbd(0x0,0x0,0x0,_0x150d3d['doc']['length'])]);for(let _0x13c545=0x0;_0x13c545<0x2&&(this['viewport']=this['getViewport'](0x0,null),this['updateForViewport']());_0x13c545++);this['updateViewportLines'](),this['lineGaps']=this['ensureLineGaps']([]),this['lineGapDeco']=Decoration['set'](this['lineGaps']['map'](_0x1dbb5b=>_0x1dbb5b['draw'](this,!0x1))),this['computeVisibleRanges']();}['updateForViewport'](){let _0x3e614b=[this['viewport']],{main:_0x69cf16}=this['state']['selection'];for(let _0x248ab2=0x0;_0x248ab2<=0x1;_0x248ab2++){let _0x19aac6=_0x248ab2?_0x69cf16['head']:_0x69cf16['anchor'];if(!_0x3e614b['some'](({from:_0x8c9474,to:_0x33423e})=>_0x19aac6>=_0x8c9474&&_0x19aac6<=_0x33423e)){let {from:_0x5adadc,to:_0x31bd99}=this['lineBlockAt'](_0x19aac6);_0x3e614b['push'](new Viewport(_0x5adadc,_0x31bd99));}}return this['viewports']=_0x3e614b['sort']((_0x277bc7,_0x4855b0)=>_0x277bc7['from']-_0x4855b0['from']),this['updateScaler']();}['updateScaler'](){let _0x2abcc7=this['scaler'];return this['scaler']=this['heightMap']['height']<=0x6acfc0?_0x3c57d5:new _0x1f8c79(this['heightOracle'],this['heightMap'],this['viewports']),_0x2abcc7['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,_0x172b6a=>{this['viewportLines']['push'](_0x261af7(_0x172b6a,this['scaler']));});}['update'](_0x574351,_0x17515f=null){this['state']=_0x574351['state'];let _0x239736=this['stateDeco'];this['stateDeco']=this['state']['facet'](_0x4b35df)['filter'](_0xf3d6be=>'function'!=typeof _0xf3d6be);let _0x1ff814=_0x574351['changedRanges'],_0xa9fcbd=_0x31ecbd['extendWithRanges'](_0x1ff814,function(_0x351930,_0x878fb2,_0x276ac1){let _0x1edf8d=new DecorationComparator();return RangeSet['compare'](_0x351930,_0x878fb2,_0x276ac1,_0x1edf8d,0x0),_0x1edf8d['changes'];}(_0x239736,this['stateDeco'],_0x574351?_0x574351['changes']:ChangeSet['empty'](this['state']['doc']['length']))),_0x3a4aa0=this['heightMap']['height'],_0x36e35e=this['scrolledToBottom']?null:this['scrollAnchorAt'](this['scrollTop']);_0x4c61ec(),this['heightMap']=this['heightMap']['applyChanges'](this['stateDeco'],_0x574351['startState']['doc'],this['heightOracle']['setDoc'](this['state']['doc']),_0xa9fcbd),(this['heightMap']['height']!=_0x3a4aa0||_0xe3342c)&&(_0x574351['flags']|=0x2),_0x36e35e?(this['scrollAnchorPos']=_0x574351['changes']['mapPos'](_0x36e35e['from'],-0x1),this['scrollAnchorHeight']=_0x36e35e['top']):(this['scrollAnchorPos']=-0x1,this['scrollAnchorHeight']=_0x3a4aa0);let _0x5464ab=_0xa9fcbd['length']?this['mapViewport'](this['viewport'],_0x574351['changes']):this['viewport'];(_0x17515f&&(_0x17515f['range']['head']<_0x5464ab['from']||_0x17515f['range']['head']>_0x5464ab['to'])||!this['viewportIsAppropriate'](_0x5464ab))&&(_0x5464ab=this['getViewport'](0x0,_0x17515f));let _0x3f94f1=_0x5464ab['from']!=this['viewport']['from']||_0x5464ab['to']!=this['viewport']['to'];this['viewport']=_0x5464ab,_0x574351['flags']|=this['updateForViewport'](),(_0x3f94f1||!_0x574351['changes']['empty']||0x2&_0x574351['flags'])&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](this['mapLineGaps'](this['lineGaps'],_0x574351['changes']))),_0x574351['flags']|=this['computeVisibleRanges'](_0x574351['changes']),_0x17515f&&(this['scrollTarget']=_0x17515f),!this['mustEnforceCursorAssoc']&&_0x574351['selectionSet']&&_0x574351['view']['lineWrapping']&&_0x574351['state']['selection']['main']['empty']&&_0x574351['state']['selection']['main']['assoc']&&!_0x574351['state']['facet'](_0x1cbc5d)&&(this['mustEnforceCursorAssoc']=!0x0);}['measure'](_0x374f1e){let _0x286b3f=_0x374f1e['contentDOM'],_0x1b37cc=window['getComputedStyle'](_0x286b3f),_0x1d4b09=this['heightOracle'],_0x4d0f29=_0x1b37cc['whiteSpace'];this['defaultTextDirection']='rtl'==_0x1b37cc['direction']?_0xdbef2e['RTL']:_0xdbef2e['LTR'];let _0x5f47d0=this['heightOracle']['mustRefreshForWrapping'](_0x4d0f29),_0x36c95d=_0x286b3f['getBoundingClientRect'](),_0x53d5d8=_0x5f47d0||this['mustMeasureContent']||this['contentDOMHeight']!=_0x36c95d['height'];this['contentDOMHeight']=_0x36c95d['height'],this['mustMeasureContent']=!0x1;let _0x4261cc=0x0,_0x2cbb7c=0x0;if(_0x36c95d['width']&&_0x36c95d['height']){let {scaleX:_0x539e30,scaleY:_0x451cad}=_0x49b6fb(_0x286b3f,_0x36c95d);(_0x539e30>0.005&&Math['abs'](this['scaleX']-_0x539e30)>0.005||_0x451cad>0.005&&Math['abs'](this['scaleY']-_0x451cad)>0.005)&&(this['scaleX']=_0x539e30,this['scaleY']=_0x451cad,_0x4261cc|=0x10,_0x5f47d0=_0x53d5d8=!0x0);}let _0x5279f6=(parseInt(_0x1b37cc['paddingTop'])||0x0)*this['scaleY'],_0x4d4f7b=(parseInt(_0x1b37cc['paddingBottom'])||0x0)*this['scaleY'];this['paddingTop']==_0x5279f6&&this['paddingBottom']==_0x4d4f7b||(this['paddingTop']=_0x5279f6,this['paddingBottom']=_0x4d4f7b,_0x4261cc|=0x12),this['editorWidth']!=_0x374f1e['scrollDOM']['clientWidth']&&(_0x1d4b09['lineWrapping']&&(_0x53d5d8=!0x0),this['editorWidth']=_0x374f1e['scrollDOM']['clientWidth'],_0x4261cc|=0x10);let _0x1f3d0c=_0x374f1e['scrollDOM']['scrollTop']*this['scaleY'];this['scrollTop']!=_0x1f3d0c&&(this['scrollAnchorHeight']=-0x1,this['scrollTop']=_0x1f3d0c),this['scrolledToBottom']=_0x273ce3(_0x374f1e['scrollDOM']);let _0x49144b=(this['printing']?_0x554625:_0x572d24)(_0x286b3f,this['paddingTop']),_0x4c83f0=_0x49144b['top']-this['pixelViewport']['top'],_0xd66607=_0x49144b['bottom']-this['pixelViewport']['bottom'];this['pixelViewport']=_0x49144b;let _0x399387=this['pixelViewport']['bottom']>this['pixelViewport']['top']&&this['pixelViewport']['right']>this['pixelViewport']['left'];if(_0x399387!=this['inView']&&(this['inView']=_0x399387,_0x399387&&(_0x53d5d8=!0x0)),!this['inView']&&!this['scrollTarget']&&!function(_0x589dd8){let _0x139c35=_0x589dd8['getBoundingClientRect'](),_0x55b236=_0x589dd8['ownerDocument']['defaultView']||window;return _0x139c35['left']<_0x55b236['innerWidth']&&_0x139c35['right']>0x0&&_0x139c35['top']<_0x55b236['innerHeight']&&_0x139c35['bottom']>0x0;}(_0x374f1e['dom']))return 0x0;let _0x3df42d=_0x36c95d['width'];if(this['contentDOMWidth']==_0x3df42d&&this['editorHeight']==_0x374f1e['scrollDOM']['clientHeight']||(this['contentDOMWidth']=_0x36c95d['width'],this['editorHeight']=_0x374f1e['scrollDOM']['clientHeight'],_0x4261cc|=0x10),_0x53d5d8){let _0x2430fa=_0x374f1e['docView']['measureVisibleLineHeights'](this['viewport']);if(_0x1d4b09['mustRefreshForHeights'](_0x2430fa)&&(_0x5f47d0=!0x0),_0x5f47d0||_0x1d4b09['lineWrapping']&&Math['abs'](_0x3df42d-this['contentDOMWidth'])>_0x1d4b09['charWidth']){let {lineHeight:_0x4574a3,charWidth:_0x18aa28,textHeight:_0x7b1026}=_0x374f1e['docView']['measureTextSize']();_0x5f47d0=_0x4574a3>0x0&&_0x1d4b09['refresh'](_0x4d0f29,_0x4574a3,_0x18aa28,_0x7b1026,Math['max'](0x5,_0x3df42d/_0x18aa28),_0x2430fa),_0x5f47d0&&(_0x374f1e['docView']['minWidth']=0x0,_0x4261cc|=0x10);}_0x4c83f0>0x0&&_0xd66607>0x0?_0x2cbb7c=Math['max'](_0x4c83f0,_0xd66607):_0x4c83f0<0x0&&_0xd66607<0x0&&(_0x2cbb7c=Math['min'](_0x4c83f0,_0xd66607)),_0x4c61ec();for(let _0x19f371 of this['viewports']){let _0x2c1de9=_0x19f371['from']==this['viewport']['from']?_0x2430fa:_0x374f1e['docView']['measureVisibleLineHeights'](_0x19f371);this['heightMap']=(_0x5f47d0?HeightMap['empty']()['applyChanges'](this['stateDeco'],Text['empty'],this['heightOracle'],[new _0x31ecbd(0x0,0x0,0x0,_0x374f1e['state']['doc']['length'])]):this['heightMap'])['updateHeight'](_0x1d4b09,0x0,_0x5f47d0,new MeasuredHeights(_0x19f371['from'],_0x2c1de9));}_0xe3342c&&(_0x4261cc|=0x2);}let _0x146a05=!this['viewportIsAppropriate'](this['viewport'],_0x2cbb7c)||this['scrollTarget']&&(this['scrollTarget']['range']['head']<this['viewport']['from']||this['scrollTarget']['range']['head']>this['viewport']['to']);return _0x146a05&&(0x2&_0x4261cc&&(_0x4261cc|=this['updateScaler']()),this['viewport']=this['getViewport'](_0x2cbb7c,this['scrollTarget']),_0x4261cc|=this['updateForViewport']()),(0x2&_0x4261cc||_0x146a05)&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](_0x5f47d0?[]:this['lineGaps'],_0x374f1e)),_0x4261cc|=this['computeVisibleRanges'](),this['mustEnforceCursorAssoc']&&(this['mustEnforceCursorAssoc']=!0x1,_0x374f1e['docView']['enforceCursorAssoc']()),_0x4261cc;}get['visibleTop'](){return this['scaler']['fromDOM'](this['pixelViewport']['top']);}get['visibleBottom'](){return this['scaler']['fromDOM'](this['pixelViewport']['bottom']);}['getViewport'](_0xc8f9c0,_0x56ddfe){let _0x30c682=0.5-Math['max'](-0.5,Math['min'](0.5,_0xc8f9c0/0x3e8/0x2)),_0x2c0ae3=this['heightMap'],_0x4dc859=this['heightOracle'],{visibleTop:_0x259c81,visibleBottom:_0x101ed0}=this,_0x346f8e=new Viewport(_0x2c0ae3['lineAt'](_0x259c81-0x3e8*_0x30c682,_0x37c9dc['ByHeight'],_0x4dc859,0x0,0x0)['from'],_0x2c0ae3['lineAt'](_0x101ed0+0x3e8*(0x1-_0x30c682),_0x37c9dc['ByHeight'],_0x4dc859,0x0,0x0)['to']);if(_0x56ddfe){let {head:_0x1fc3f4}=_0x56ddfe['range'];if(_0x1fc3f4<_0x346f8e['from']||_0x1fc3f4>_0x346f8e['to']){let _0x52e6a6,_0x18dbdd=Math['min'](this['editorHeight'],this['pixelViewport']['bottom']-this['pixelViewport']['top']),_0x1ca745=_0x2c0ae3['lineAt'](_0x1fc3f4,_0x37c9dc['ByPos'],_0x4dc859,0x0,0x0);_0x52e6a6='center'==_0x56ddfe['y']?(_0x1ca745['top']+_0x1ca745['bottom'])/0x2-_0x18dbdd/0x2:'start'==_0x56ddfe['y']||'nearest'==_0x56ddfe['y']&&_0x1fc3f4<_0x346f8e['from']?_0x1ca745['top']:_0x1ca745['bottom']-_0x18dbdd,_0x346f8e=new Viewport(_0x2c0ae3['lineAt'](_0x52e6a6-0x1f4,_0x37c9dc['ByHeight'],_0x4dc859,0x0,0x0)['from'],_0x2c0ae3['lineAt'](_0x52e6a6+_0x18dbdd+0x1f4,_0x37c9dc['ByHeight'],_0x4dc859,0x0,0x0)['to']);}}return _0x346f8e;}['mapViewport'](_0x463e8a,_0x2660c0){let _0x19bb00=_0x2660c0['mapPos'](_0x463e8a['from'],-0x1),_0x302db5=_0x2660c0['mapPos'](_0x463e8a['to'],0x1);return new Viewport(this['heightMap']['lineAt'](_0x19bb00,_0x37c9dc['ByPos'],this['heightOracle'],0x0,0x0)['from'],this['heightMap']['lineAt'](_0x302db5,_0x37c9dc['ByPos'],this['heightOracle'],0x0,0x0)['to']);}['viewportIsAppropriate']({from:_0x5b21f8,to:_0x4cc025},_0x19167e=0x0){if(!this['inView'])return!0x0;let {top:_0x48f585}=this['heightMap']['lineAt'](_0x5b21f8,_0x37c9dc['ByPos'],this['heightOracle'],0x0,0x0),{bottom:_0x24a2ed}=this['heightMap']['lineAt'](_0x4cc025,_0x37c9dc['ByPos'],this['heightOracle'],0x0,0x0),{visibleTop:_0x37f64b,visibleBottom:_0x37ef74}=this;return(0x0==_0x5b21f8||_0x48f585<=_0x37f64b-Math['max'](0xa,Math['min'](-_0x19167e,0xfa)))&&(_0x4cc025==this['state']['doc']['length']||_0x24a2ed>=_0x37ef74+Math['max'](0xa,Math['min'](_0x19167e,0xfa)))&&_0x48f585>_0x37f64b-0x7d0&&_0x24a2ed<_0x37ef74+0x7d0;}['mapLineGaps'](_0x4765eb,_0x21c60e){if(!_0x4765eb['length']||_0x21c60e['empty'])return _0x4765eb;let _0x1c1c27=[];for(let _0x55f6d5 of _0x4765eb)_0x21c60e['touchesRange'](_0x55f6d5['from'],_0x55f6d5['to'])||_0x1c1c27['push'](new _0x2778d3(_0x21c60e['mapPos'](_0x55f6d5['from']),_0x21c60e['mapPos'](_0x55f6d5['to']),_0x55f6d5['size'],_0x55f6d5['displaySize']));return _0x1c1c27;}['ensureLineGaps'](_0x46557c,_0x13cfb9){let _0xfb6687=this['heightOracle']['lineWrapping'],_0x2748eb=_0xfb6687?0x2710:0x7d0,_0x492c30=_0x2748eb>>0x1,_0x25717e=_0x2748eb<<0x1;if(this['defaultTextDirection']!=_0xdbef2e['LTR']&&!_0xfb6687)return[];let _0x282800=[],_0x4ddb19=(_0x2303ad,_0x5e95e0,_0xb14139,_0xa38f44)=>{if(_0x5e95e0-_0x2303ad<_0x492c30)return;let _0x4eef14=this['state']['selection']['main'],_0x1905d3=[_0x4eef14['from']];_0x4eef14['empty']||_0x1905d3['push'](_0x4eef14['to']);for(let _0x22114d of _0x1905d3)if(_0x22114d>_0x2303ad&&_0x22114d<_0x5e95e0)return _0x4ddb19(_0x2303ad,_0x22114d-0xa,_0xb14139,_0xa38f44),void _0x4ddb19(_0x22114d+0xa,_0x5e95e0,_0xb14139,_0xa38f44);let _0x47587b=function(_0x251e6a,_0x59dcb8){for(let _0x1650e9 of _0x251e6a)if(_0x59dcb8(_0x1650e9))return _0x1650e9;return;}(_0x46557c,_0x2f296a=>_0x2f296a['from']>=_0xb14139['from']&&_0x2f296a['to']<=_0xb14139['to']&&Math['abs'](_0x2f296a['from']-_0x2303ad)<_0x492c30&&Math['abs'](_0x2f296a['to']-_0x5e95e0)<_0x492c30&&!_0x1905d3['some'](_0x41a3e3=>_0x2f296a['from']<_0x41a3e3&&_0x2f296a['to']>_0x41a3e3));if(!_0x47587b){if(_0x5e95e0<_0xb14139['to']&&_0x13cfb9&&_0xfb6687&&_0x13cfb9['visibleRanges']['some'](_0x5d8dd2=>_0x5d8dd2['from']<=_0x5e95e0&&_0x5d8dd2['to']>=_0x5e95e0)){let _0xd0f68d=_0x13cfb9['moveToLineBoundary'](EditorSelection['cursor'](_0x5e95e0),!0x1,!0x0)['head'];_0xd0f68d>_0x2303ad&&(_0x5e95e0=_0xd0f68d);}let _0x418d71=this['gapSize'](_0xb14139,_0x2303ad,_0x5e95e0,_0xa38f44);_0x47587b=new _0x2778d3(_0x2303ad,_0x5e95e0,_0x418d71,_0xfb6687||_0x418d71<0x1e8480?_0x418d71:0x1e8480);}_0x282800['push'](_0x47587b);},_0x4808d3=_0x23ce26=>{if(_0x23ce26['length']<_0x25717e||_0x23ce26['type']!=_0x236364['Text'])return;let _0x44dd15=function(_0x1139d7,_0x302b04,_0x53e4ac){let _0x1ec10d=[],_0x495358=_0x1139d7,_0x225552=0x0;return RangeSet['spans'](_0x53e4ac,_0x1139d7,_0x302b04,{'span'(){},'point'(_0xe8b278,_0x5f49eb){_0xe8b278>_0x495358&&(_0x1ec10d['push']({'from':_0x495358,'to':_0xe8b278}),_0x225552+=_0xe8b278-_0x495358),_0x495358=_0x5f49eb;}},0x14),_0x495358<_0x302b04&&(_0x1ec10d['push']({'from':_0x495358,'to':_0x302b04}),_0x225552+=_0x302b04-_0x495358),{'total':_0x225552,'ranges':_0x1ec10d};}(_0x23ce26['from'],_0x23ce26['to'],this['stateDeco']);if(_0x44dd15['total']<_0x25717e)return;let _0x2d3403,_0x52b988,_0x1f086a=this['scrollTarget']?this['scrollTarget']['range']['head']:null;if(_0xfb6687){let _0x307a42,_0x4e838b,_0x1eed4a=_0x2748eb/this['heightOracle']['lineLength']*this['heightOracle']['lineHeight'];if(null!=_0x1f086a){let _0x182a1b=_0x3afadc(_0x44dd15,_0x1f086a),_0xed3d29=((this['visibleBottom']-this['visibleTop'])/0x2+_0x1eed4a)/_0x23ce26['height'];_0x307a42=_0x182a1b-_0xed3d29,_0x4e838b=_0x182a1b+_0xed3d29;}else _0x307a42=(this['visibleTop']-_0x23ce26['top']-_0x1eed4a)/_0x23ce26['height'],_0x4e838b=(this['visibleBottom']-_0x23ce26['top']+_0x1eed4a)/_0x23ce26['height'];_0x2d3403=_0x41d1df(_0x44dd15,_0x307a42),_0x52b988=_0x41d1df(_0x44dd15,_0x4e838b);}else{let _0x403311=_0x44dd15['total']*this['heightOracle']['charWidth'],_0x330dae=_0x2748eb*this['heightOracle']['charWidth'],_0x4ce2d3=0x0;if(_0x403311>0x1e8480){for(let _0x42f2dd of _0x46557c)_0x42f2dd['from']>=_0x23ce26['from']&&_0x42f2dd['from']<_0x23ce26['to']&&_0x42f2dd['size']!=_0x42f2dd['displaySize']&&_0x42f2dd['from']*this['heightOracle']['charWidth']+_0x4ce2d3<this['pixelViewport']['left']&&(_0x4ce2d3=_0x42f2dd['size']-_0x42f2dd['displaySize']);}let _0x5db2a3,_0x16c26e,_0x56f743=this['pixelViewport']['left']+_0x4ce2d3,_0x1062cb=this['pixelViewport']['right']+_0x4ce2d3;if(null!=_0x1f086a){let _0x5c2a96=_0x3afadc(_0x44dd15,_0x1f086a),_0x4fe5cd=((_0x1062cb-_0x56f743)/0x2+_0x330dae)/_0x403311;_0x5db2a3=_0x5c2a96-_0x4fe5cd,_0x16c26e=_0x5c2a96+_0x4fe5cd;}else _0x5db2a3=(_0x56f743-_0x330dae)/_0x403311,_0x16c26e=(_0x1062cb+_0x330dae)/_0x403311;_0x2d3403=_0x41d1df(_0x44dd15,_0x5db2a3),_0x52b988=_0x41d1df(_0x44dd15,_0x16c26e);}_0x2d3403>_0x23ce26['from']&&_0x4ddb19(_0x23ce26['from'],_0x2d3403,_0x23ce26,_0x44dd15),_0x52b988<_0x23ce26['to']&&_0x4ddb19(_0x52b988,_0x23ce26['to'],_0x23ce26,_0x44dd15);};for(let _0x31ea11 of this['viewportLines'])Array['isArray'](_0x31ea11['type'])?_0x31ea11['type']['forEach'](_0x4808d3):_0x4808d3(_0x31ea11);return _0x282800;}['gapSize'](_0x564a0e,_0x2383aa,_0x3b716b,_0x23212b){let _0x1d3d65=_0x3afadc(_0x23212b,_0x3b716b)-_0x3afadc(_0x23212b,_0x2383aa);return this['heightOracle']['lineWrapping']?_0x564a0e['height']*_0x1d3d65:_0x23212b['total']*this['heightOracle']['charWidth']*_0x1d3d65;}['updateLineGaps'](_0x1be32a){_0x2778d3['same'](_0x1be32a,this['lineGaps'])||(this['lineGaps']=_0x1be32a,this['lineGapDeco']=Decoration['set'](_0x1be32a['map'](_0x268d5b=>_0x268d5b['draw'](this,this['heightOracle']['lineWrapping']))));}['computeVisibleRanges'](_0x1f308f){let _0x474f22=this['stateDeco'];this['lineGaps']['length']&&(_0x474f22=_0x474f22['concat'](this['lineGapDeco']));let _0x42eec7=[];RangeSet['spans'](_0x474f22,this['viewport']['from'],this['viewport']['to'],{'span'(_0x34aee1,_0x3eebb7){_0x42eec7['push']({'from':_0x34aee1,'to':_0x3eebb7});},'point'(){}},0x14);let _0x3b761a=0x0;if(_0x42eec7['length']!=this['visibleRanges']['length'])_0x3b761a=0xc;else for(let _0xed488f=0x0;_0xed488f<_0x42eec7['length']&&!(0x8&_0x3b761a);_0xed488f++){let _0x5df639=this['visibleRanges'][_0xed488f],_0x4d745f=_0x42eec7[_0xed488f];_0x5df639['from']==_0x4d745f['from']&&_0x5df639['to']==_0x4d745f['to']||(_0x3b761a|=0x4,_0x1f308f&&_0x1f308f['mapPos'](_0x5df639['from'],-0x1)==_0x4d745f['from']&&_0x1f308f['mapPos'](_0x5df639['to'],0x1)==_0x4d745f['to']||(_0x3b761a|=0x8));}return this['visibleRanges']=_0x42eec7,_0x3b761a;}['lineBlockAt'](_0x4f2336){return _0x4f2336>=this['viewport']['from']&&_0x4f2336<=this['viewport']['to']&&this['viewportLines']['find'](_0x5e9b39=>_0x5e9b39['from']<=_0x4f2336&&_0x5e9b39['to']>=_0x4f2336)||_0x261af7(this['heightMap']['lineAt'](_0x4f2336,_0x37c9dc['ByPos'],this['heightOracle'],0x0,0x0),this['scaler']);}['lineBlockAtHeight'](_0x3f7749){return _0x3f7749>=this['viewportLines'][0x0]['top']&&_0x3f7749<=this['viewportLines'][this['viewportLines']['length']-0x1]['bottom']&&this['viewportLines']['find'](_0x5ed99d=>_0x5ed99d['top']<=_0x3f7749&&_0x5ed99d['bottom']>=_0x3f7749)||_0x261af7(this['heightMap']['lineAt'](this['scaler']['fromDOM'](_0x3f7749),_0x37c9dc['ByHeight'],this['heightOracle'],0x0,0x0),this['scaler']);}['scrollAnchorAt'](_0x9bec7f){let _0x1f280d=this['lineBlockAtHeight'](_0x9bec7f+0x8);return _0x1f280d['from']>=this['viewport']['from']||this['viewportLines'][0x0]['top']-_0x9bec7f>0xc8?_0x1f280d:this['viewportLines'][0x0];}['elementAtHeight'](_0xf5e93){return _0x261af7(this['heightMap']['blockAt'](this['scaler']['fromDOM'](_0xf5e93),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(_0x3aae12,_0x29a835){this['from']=_0x3aae12,this['to']=_0x29a835;}}function _0x41d1df({total:_0x4d4873,ranges:_0x238e3b},_0x25e466){if(_0x25e466<=0x0)return _0x238e3b[0x0]['from'];if(_0x25e466>=0x1)return _0x238e3b[_0x238e3b['length']-0x1]['to'];let _0xc38675=Math['floor'](_0x4d4873*_0x25e466);for(let _0x4675d0=0x0;;_0x4675d0++){let {from:_0x6b76a0,to:_0x38bee6}=_0x238e3b[_0x4675d0],_0x2dc86a=_0x38bee6-_0x6b76a0;if(_0xc38675<=_0x2dc86a)return _0x6b76a0+_0xc38675;_0xc38675-=_0x2dc86a;}}function _0x3afadc(_0x387168,_0x5defd7){let _0xa84602=0x0;for(let {from:_0x1d0195,to:_0x4f1762}of _0x387168['ranges']){if(_0x5defd7<=_0x4f1762){_0xa84602+=_0x5defd7-_0x1d0195;break;}_0xa84602+=_0x4f1762-_0x1d0195;}return _0xa84602/_0x387168['total'];}const _0x3c57d5={'toDOM':_0x2c9c90=>_0x2c9c90,'fromDOM':_0x304e63=>_0x304e63,'scale':0x1,'eq'(_0x2e253c){return _0x2e253c==this;}};class _0x1f8c79{constructor(_0x2282e5,_0x39735a,_0x56d3e6){let _0x2ccc11=0x0,_0x1c3177=0x0,_0x5a934d=0x0;this['viewports']=_0x56d3e6['map'](({from:_0x332272,to:_0x5a8343})=>{let _0x4c20cd=_0x39735a['lineAt'](_0x332272,_0x37c9dc['ByPos'],_0x2282e5,0x0,0x0)['top'],_0x166937=_0x39735a['lineAt'](_0x5a8343,_0x37c9dc['ByPos'],_0x2282e5,0x0,0x0)['bottom'];return _0x2ccc11+=_0x166937-_0x4c20cd,{'from':_0x332272,'to':_0x5a8343,'top':_0x4c20cd,'bottom':_0x166937,'domTop':0x0,'domBottom':0x0};}),this['scale']=(0x6acfc0-_0x2ccc11)/(_0x39735a['height']-_0x2ccc11);for(let _0x2697a1 of this['viewports'])_0x2697a1['domTop']=_0x5a934d+(_0x2697a1['top']-_0x1c3177)*this['scale'],_0x5a934d=_0x2697a1['domBottom']=_0x2697a1['domTop']+(_0x2697a1['bottom']-_0x2697a1['top']),_0x1c3177=_0x2697a1['bottom'];}['toDOM'](_0x22d48c){for(let _0x2f9177=0x0,_0x3801f9=0x0,_0x14a6f7=0x0;;_0x2f9177++){let _0x23583c=_0x2f9177<this['viewports']['length']?this['viewports'][_0x2f9177]:null;if(!_0x23583c||_0x22d48c<_0x23583c['top'])return _0x14a6f7+(_0x22d48c-_0x3801f9)*this['scale'];if(_0x22d48c<=_0x23583c['bottom'])return _0x23583c['domTop']+(_0x22d48c-_0x23583c['top']);_0x3801f9=_0x23583c['bottom'],_0x14a6f7=_0x23583c['domBottom'];}}['fromDOM'](_0x543564){for(let _0x125f49=0x0,_0x5d1bda=0x0,_0x3685bc=0x0;;_0x125f49++){let _0x3d2345=_0x125f49<this['viewports']['length']?this['viewports'][_0x125f49]:null;if(!_0x3d2345||_0x543564<_0x3d2345['domTop'])return _0x5d1bda+(_0x543564-_0x3685bc)/this['scale'];if(_0x543564<=_0x3d2345['domBottom'])return _0x3d2345['top']+(_0x543564-_0x3d2345['domTop']);_0x5d1bda=_0x3d2345['bottom'],_0x3685bc=_0x3d2345['domBottom'];}}['eq'](_0x32be51){return _0x32be51 instanceof _0x1f8c79&&(this['scale']==_0x32be51['scale']&&this['viewports']['length']==_0x32be51['viewports']['length']&&this['viewports']['every']((_0x383c05,_0x29e9b7)=>_0x383c05['from']==_0x32be51['viewports'][_0x29e9b7]['from']&&_0x383c05['to']==_0x32be51['viewports'][_0x29e9b7]['to']));}}function _0x261af7(_0x4090cb,_0x5ace97){if(0x1==_0x5ace97['scale'])return _0x4090cb;let _0x99d554=_0x5ace97['toDOM'](_0x4090cb['top']),_0x470dd4=_0x5ace97['toDOM'](_0x4090cb['bottom']);return new _0x4bfc4d(_0x4090cb['from'],_0x4090cb['length'],_0x99d554,_0x470dd4-_0x99d554,Array['isArray'](_0x4090cb['_content'])?_0x4090cb['_content']['map'](_0x160d3e=>_0x261af7(_0x160d3e,_0x5ace97)):_0x4090cb['_content']);}const _0x40bb92=Facet['define']({'combine':_0x286536=>_0x286536['join']('\x20')}),_0x29ee79=Facet['define']({'combine':_0x479537=>_0x479537['indexOf'](!0x0)>-0x1}),_0x32613d=StyleModule['newName'](),_0xdb4a2d=StyleModule['newName'](),_0x2d9161=StyleModule['newName'](),_0x1e2a99={'&light':'.'+_0xdb4a2d,'&dark':'.'+_0x2d9161};function _0x34b9ad(_0x800426,_0x46ea40,_0x40e792){return new StyleModule(_0x46ea40,{'finish':_0x313fcb=>/&/['test'](_0x313fcb)?_0x313fcb['replace'](/&\w*/,_0xe6aa1e=>{if('&'==_0xe6aa1e)return _0x800426;if(!_0x40e792||!_0x40e792[_0xe6aa1e])throw new RangeError('Unsupported\x20selector:\x20'+_0xe6aa1e);return _0x40e792[_0xe6aa1e];}):_0x800426+'\x20'+_0x313fcb});}const _0x4f0542=_0x34b9ad('.'+_0x32613d,{'&':{'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'}},_0x1e2a99),_0x29f230={'childList':!0x0,'characterData':!0x0,'subtree':!0x0,'attributes':!0x0,'characterDataOldValue':!0x0},tb=_0x7f953['ie']&&_0x7f953['ie_version']<=0xb;class _0x1c4283{constructor(_0xf4fa86){this['view']=_0xf4fa86,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']=_0xf4fa86['contentDOM'],this['observer']=new MutationObserver(_0x18c29a=>{for(let _0x141497 of _0x18c29a)this['queue']['push'](_0x141497);(_0x7f953['ie']&&_0x7f953['ie_version']<=0xb||_0x7f953['ios']&&_0xf4fa86['composing'])&&_0x18c29a['some'](_0x31c864=>'childList'==_0x31c864['type']&&_0x31c864['removedNodes']['length']||'characterData'==_0x31c864['type']&&_0x31c864['oldValue']['length']>_0x31c864['target']['nodeValue']['length'])?this['flushSoon']():this['flush']();}),!window['EditContext']||!_0x7f953['android']||!0x1===_0xf4fa86['constructor']['EDIT_CONTEXT']||_0x7f953['chrome']&&_0x7f953['chrome_version']<0x7e||(this['editContext']=new EditContextManager(_0xf4fa86),_0xf4fa86['state']['facet'](_0x14b1c6)&&(_0xf4fa86['contentDOM']['editContext']=this['editContext']['editContext'])),tb&&(this['onCharData']=_0x4caa2b=>{this['queue']['push']({'target':_0x4caa2b['target'],'type':'characterData','oldValue':_0x4caa2b['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 _0x1ceeec;(null===(_0x1ceeec=this['view']['docView'])||void 0x0===_0x1ceeec?void 0x0:_0x1ceeec['lastUpdate'])<Date['now']()-0x4b&&this['onResize']();}),this['resizeScroll']['observe'](_0xf4fa86['scrollDOM'])),this['addWindowListeners'](this['win']=_0xf4fa86['win']),this['start'](),'function'==typeof IntersectionObserver&&(this['intersection']=new IntersectionObserver(_0x5bccdc=>{this['parentCheck']<0x0&&(this['parentCheck']=setTimeout(this['listenForScroll']['bind'](this),0x3e8)),_0x5bccdc['length']>0x0&&_0x5bccdc[_0x5bccdc['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(_0x3df4b2=>{_0x3df4b2['length']>0x0&&_0x3df4b2[_0x3df4b2['length']-0x1]['intersectionRatio']>0x0&&this['onScrollChanged'](document['createEvent']('Event'));},{})),this['listenForScroll'](),this['readSelectionRange']();}['onScrollChanged'](_0x4dc3d4){this['view']['inputState']['runHandlers']('scroll',_0x4dc3d4),this['intersecting']&&this['view']['measure']();}['onScroll'](_0x3a19d5){this['intersecting']&&this['flush'](!0x1),this['editContext']&&this['view']['requestMeasure'](this['editContext']['measureReq']),this['onScrollChanged'](_0x3a19d5);}['onResize'](){this['resizeTimeout']<0x0&&(this['resizeTimeout']=setTimeout(()=>{this['resizeTimeout']=-0x1,this['view']['requestMeasure']();},0x32));}['onPrint'](_0x9649b0){('change'!=_0x9649b0['type']&&_0x9649b0['type']||_0x9649b0['matches'])&&(this['view']['viewState']['printing']=!0x0,this['view']['measure'](),setTimeout(()=>{this['view']['viewState']['printing']=!0x1,this['view']['requestMeasure']();},0x1f4));}['updateGaps'](_0x78fb4){if(this['gapIntersection']&&(_0x78fb4['length']!=this['gaps']['length']||this['gaps']['some']((_0x522bf4,_0x57440d)=>_0x522bf4!=_0x78fb4[_0x57440d]))){this['gapIntersection']['disconnect']();for(let _0x2a6fcc of _0x78fb4)this['gapIntersection']['observe'](_0x2a6fcc);this['gaps']=_0x78fb4;}}['onSelectionChange'](_0x31ab7f){let _0xb3c6c=this['selectionChanged'];if(!this['readSelectionRange']()||this['delayedAndroidKey'])return;let {view:_0x56af1f}=this,_0x10b24f=this['selectionRange'];if(_0x56af1f['state']['facet'](_0x14b1c6)?_0x56af1f['root']['activeElement']!=this['dom']:!_0x47ac0f(this['dom'],_0x10b24f))return;let _0x12648d=_0x10b24f['anchorNode']&&_0x56af1f['docView']['nearest'](_0x10b24f['anchorNode']);_0x12648d&&_0x12648d['ignoreEvent'](_0x31ab7f)?_0xb3c6c||(this['selectionChanged']=!0x1):(_0x7f953['ie']&&_0x7f953['ie_version']<=0xb||_0x7f953['android']&&_0x7f953['chrome'])&&!_0x56af1f['state']['selection']['main']['empty']&&_0x10b24f['focusNode']&&_0x7b2d0b(_0x10b24f['focusNode'],_0x10b24f['focusOffset'],_0x10b24f['anchorNode'],_0x10b24f['anchorOffset'])?this['flushSoon']():this['flush'](!0x1);}['readSelectionRange'](){let {view:_0x155297}=this,_0x288aaf=_0x13fe97(_0x155297['root']);if(!_0x288aaf)return!0x1;let _0x487054=_0x7f953['safari']&&0xb==_0x155297['root']['nodeType']&&_0x155297['root']['activeElement']==this['dom']&&function(_0x2fcb84,_0x13e4cf){if(_0x13e4cf['getComposedRanges']){let _0x48a420=_0x13e4cf['getComposedRanges'](_0x2fcb84['root'])[0x0];if(_0x48a420)return _0x544d77(_0x2fcb84,_0x48a420);}let _0x2ee8a3=null;function _0x40330a(_0x35f54c){_0x35f54c['preventDefault'](),_0x35f54c['stopImmediatePropagation'](),_0x2ee8a3=_0x35f54c['getTargetRanges']()[0x0];}return _0x2fcb84['contentDOM']['addEventListener']('beforeinput',_0x40330a,!0x0),_0x2fcb84['dom']['ownerDocument']['execCommand']('indent'),_0x2fcb84['contentDOM']['removeEventListener']('beforeinput',_0x40330a,!0x0),_0x2ee8a3?_0x544d77(_0x2fcb84,_0x2ee8a3):null;}(this['view'],_0x288aaf)||_0x288aaf;if(!_0x487054||this['selectionRange']['eq'](_0x487054))return!0x1;let _0x37e643=_0x47ac0f(this['dom'],_0x487054);return _0x37e643&&!this['selectionChanged']&&_0x155297['inputState']['lastFocusTime']>Date['now']()-0xc8&&_0x155297['inputState']['lastTouchTime']<Date['now']()-0x12c&&function(_0x40d9ec,_0x283a75){let _0x2bb61c=_0x283a75['focusNode'],_0xde80d9=_0x283a75['focusOffset'];if(!_0x2bb61c||_0x283a75['anchorNode']!=_0x2bb61c||_0x283a75['anchorOffset']!=_0xde80d9)return!0x1;for(_0xde80d9=Math['min'](_0xde80d9,_0x1f93f4(_0x2bb61c));;)if(_0xde80d9){if(0x1!=_0x2bb61c['nodeType'])return!0x1;let _0xb30aee=_0x2bb61c['childNodes'][_0xde80d9-0x1];'false'==_0xb30aee['contentEditable']?_0xde80d9--:(_0x2bb61c=_0xb30aee,_0xde80d9=_0x1f93f4(_0x2bb61c));}else{if(_0x2bb61c==_0x40d9ec)return!0x0;_0xde80d9=_0x10f186(_0x2bb61c),_0x2bb61c=_0x2bb61c['parentNode'];}}(this['dom'],_0x487054)?(this['view']['inputState']['lastFocusTime']=0x0,_0x155297['docView']['updateSelection'](),!0x1):(this['selectionRange']['setRange'](_0x487054),_0x37e643&&(this['selectionChanged']=!0x0),!0x0);}['setSelectionRange'](_0x5caed6,_0x903124){this['selectionRange']['set'](_0x5caed6['node'],_0x5caed6['offset'],_0x903124['node'],_0x903124['offset']),this['selectionChanged']=!0x1;}['clearSelectionRange'](){this['selectionRange']['set'](null,0x0,null,0x0);}['listenForScroll'](){this['parentCheck']=-0x1;let _0x2e2580=0x0,_0x4a5b2b=null;for(let _0x36ce38=this['dom'];_0x36ce38;)if(0x1==_0x36ce38['nodeType'])!_0x4a5b2b&&_0x2e2580<this['scrollTargets']['length']&&this['scrollTargets'][_0x2e2580]==_0x36ce38?_0x2e2580++:_0x4a5b2b||(_0x4a5b2b=this['scrollTargets']['slice'](0x0,_0x2e2580)),_0x4a5b2b&&_0x4a5b2b['push'](_0x36ce38),_0x36ce38=_0x36ce38['assignedSlot']||_0x36ce38['parentNode'];else{if(0xb!=_0x36ce38['nodeType'])break;_0x36ce38=_0x36ce38['host'];}if(_0x2e2580<this['scrollTargets']['length']&&!_0x4a5b2b&&(_0x4a5b2b=this['scrollTargets']['slice'](0x0,_0x2e2580)),_0x4a5b2b){for(let _0x9f94b8 of this['scrollTargets'])_0x9f94b8['removeEventListener']('scroll',this['onScroll']);for(let _0x5aafcd of this['scrollTargets']=_0x4a5b2b)_0x5aafcd['addEventListener']('scroll',this['onScroll']);}}['ignore'](_0x39c262){if(!this['active'])return _0x39c262();try{return this['stop'](),_0x39c262();}finally{this['start'](),this['clear']();}}['start'](){this['active']||(this['observer']['observe'](this['dom'],_0x29f230),tb&&this['dom']['addEventListener']('DOMCharacterDataModified',this['onCharData']),this['active']=!0x0);}['stop'](){this['active']&&(this['active']=!0x1,this['observer']['disconnect'](),tb&&this['dom']['removeEventListener']('DOMCharacterDataModified',this['onCharData']));}['clear'](){this['processRecords'](),this['queue']['length']=0x0,this['selectionChanged']=!0x1;}['delayAndroidKey'](_0x5390d7,_0x35b0e5){var _0x372721;if(!this['delayedAndroidKey']){let _0x578e85=()=>{let _0x59a23b=this['delayedAndroidKey'];_0x59a23b&&(this['clearDelayedAndroidKey'](),this['view']['inputState']['lastKeyCode']=_0x59a23b['keyCode'],this['view']['inputState']['lastKeyTime']=Date['now'](),!this['flush']()&&_0x59a23b['force']&&_0x5d3da1(this['dom'],_0x59a23b['key'],_0x59a23b['keyCode']));};this['flushingAndroidKey']=this['view']['win']['requestAnimationFrame'](_0x578e85);}this['delayedAndroidKey']&&'Enter'!=_0x5390d7||(this['delayedAndroidKey']={'key':_0x5390d7,'keyCode':_0x35b0e5,'force':this['lastChange']<Date['now']()-0x32||!!(null===(_0x372721=this['delayedAndroidKey'])||void 0x0===_0x372721?void 0x0:_0x372721['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 _0xaf38f9 of this['observer']['takeRecords']())this['queue']['push'](_0xaf38f9);return this['queue'];}['processRecords'](){let _0x1b0f83=this['pendingRecords']();_0x1b0f83['length']&&(this['queue']=[]);let _0xe8e05d=-0x1,_0x300193=-0x1,_0x4ae39e=!0x1;for(let _0x34fcda of _0x1b0f83){let _0x2e8626=this['readMutation'](_0x34fcda);_0x2e8626&&(_0x2e8626['typeOver']&&(_0x4ae39e=!0x0),-0x1==_0xe8e05d?{from:_0xe8e05d,to:_0x300193}=_0x2e8626:(_0xe8e05d=Math['min'](_0x2e8626['from'],_0xe8e05d),_0x300193=Math['max'](_0x2e8626['to'],_0x300193)));}return{'from':_0xe8e05d,'to':_0x300193,'typeOver':_0x4ae39e};}['readChange'](){let {from:_0x4c819e,to:_0x389f0a,typeOver:_0x1bfbc4}=this['processRecords'](),_0x4054fc=this['selectionChanged']&&_0x47ac0f(this['dom'],this['selectionRange']);if(_0x4c819e<0x0&&!_0x4054fc)return null;_0x4c819e>-0x1&&(this['lastChange']=Date['now']()),this['view']['inputState']['lastFocusTime']=0x0,this['selectionChanged']=!0x1;let _0x396295=new _0x5505ea(this['view'],_0x4c819e,_0x389f0a,_0x1bfbc4);return this['view']['docView']['domChanged']={'newSel':_0x396295['newSel']?_0x396295['newSel']['main']:null},_0x396295;}['flush'](_0x3254b9=!0x0){if(this['delayedFlush']>=0x0||this['delayedAndroidKey'])return!0x1;_0x3254b9&&this['readSelectionRange']();let _0x1699c1=this['readChange']();if(!_0x1699c1)return this['view']['requestMeasure'](),!0x1;let _0x558ab7=this['view']['state'],_0x36a4d4=_0x4f3c1b(this['view'],_0x1699c1);return this['view']['state']==_0x558ab7&&(_0x1699c1['domChanged']||_0x1699c1['newSel']&&!_0x1699c1['newSel']['main']['eq'](this['view']['state']['selection']['main']))&&this['view']['update']([]),_0x36a4d4;}['readMutation'](_0x13afbe){let _0x3801e6=this['view']['docView']['nearest'](_0x13afbe['target']);if(!_0x3801e6||_0x3801e6['ignoreMutation'](_0x13afbe))return null;if(_0x3801e6['markDirty']('attributes'==_0x13afbe['type']),'attributes'==_0x13afbe['type']&&(_0x3801e6['flags']|=0x4),'childList'==_0x13afbe['type']){let _0x502989=_0x1d3bc0(_0x3801e6,_0x13afbe['previousSibling']||_0x13afbe['target']['previousSibling'],-0x1),_0x266f20=_0x1d3bc0(_0x3801e6,_0x13afbe['nextSibling']||_0x13afbe['target']['nextSibling'],0x1);return{'from':_0x502989?_0x3801e6['posAfter'](_0x502989):_0x3801e6['posAtStart'],'to':_0x266f20?_0x3801e6['posBefore'](_0x266f20):_0x3801e6['posAtEnd'],'typeOver':!0x1};}return'characterData'==_0x13afbe['type']?{'from':_0x3801e6['posAtStart'],'to':_0x3801e6['posAtEnd'],'typeOver':_0x13afbe['target']['nodeValue']==_0x13afbe['oldValue']}:null;}['setWindow'](_0x2bb8a3){_0x2bb8a3!=this['win']&&(this['removeWindowListeners'](this['win']),this['win']=_0x2bb8a3,this['addWindowListeners'](this['win']));}['addWindowListeners'](_0x2b58c2){_0x2b58c2['addEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['addEventListener']?this['printQuery']['addEventListener']('change',this['onPrint']):this['printQuery']['addListener'](this['onPrint']):_0x2b58c2['addEventListener']('beforeprint',this['onPrint']),_0x2b58c2['addEventListener']('scroll',this['onScroll']),_0x2b58c2['document']['addEventListener']('selectionchange',this['onSelectionChange']);}['removeWindowListeners'](_0x526141){_0x526141['removeEventListener']('scroll',this['onScroll']),_0x526141['removeEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['removeEventListener']?this['printQuery']['removeEventListener']('change',this['onPrint']):this['printQuery']['removeListener'](this['onPrint']):_0x526141['removeEventListener']('beforeprint',this['onPrint']),_0x526141['document']['removeEventListener']('selectionchange',this['onSelectionChange']);}['update'](_0x21c187){this['editContext']&&(this['editContext']['update'](_0x21c187),_0x21c187['startState']['facet'](_0x14b1c6)!=_0x21c187['state']['facet'](_0x14b1c6)&&(_0x21c187['view']['contentDOM']['editContext']=_0x21c187['state']['facet'](_0x14b1c6)?this['editContext']['editContext']:null));}['destroy'](){var _0x49cff4,_0x489d19,_0x16bd27;this['stop'](),null===(_0x49cff4=this['intersection'])||void 0x0===_0x49cff4||_0x49cff4['disconnect'](),null===(_0x489d19=this['gapIntersection'])||void 0x0===_0x489d19||_0x489d19['disconnect'](),null===(_0x16bd27=this['resizeScroll'])||void 0x0===_0x16bd27||_0x16bd27['disconnect']();for(let _0x478a94 of this['scrollTargets'])_0x478a94['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 _0x1d3bc0(_0x831d54,_0x49cdf9,_0x3fc25d){for(;_0x49cdf9;){let _0x2c5596=ContentView['get'](_0x49cdf9);if(_0x2c5596&&_0x2c5596['parent']==_0x831d54)return _0x2c5596;let _0x1ab3d9=_0x49cdf9['parentNode'];_0x49cdf9=_0x1ab3d9!=_0x831d54['dom']?_0x1ab3d9:_0x3fc25d>0x0?_0x49cdf9['nextSibling']:_0x49cdf9['previousSibling'];}return null;}function _0x544d77(_0x15f644,_0x338b91){let _0x1a9810=_0x338b91['startContainer'],_0x360049=_0x338b91['startOffset'],_0x3615f7=_0x338b91['endContainer'],_0x19a1c1=_0x338b91['endOffset'],_0x23ef14=_0x15f644['docView']['domAtPos'](_0x15f644['state']['selection']['main']['anchor']);return _0x7b2d0b(_0x23ef14['node'],_0x23ef14['offset'],_0x3615f7,_0x19a1c1)&&([_0x1a9810,_0x360049,_0x3615f7,_0x19a1c1]=[_0x3615f7,_0x19a1c1,_0x1a9810,_0x360049]),{'anchorNode':_0x1a9810,'anchorOffset':_0x360049,'focusNode':_0x3615f7,'focusOffset':_0x19a1c1};}class EditContextManager{constructor(_0x28fd98){this['from']=0x0,this['to']=0x0,this['pendingContextChange']=null,this['handlers']=Object['create'](null),this['composing']=null,this['resetRange'](_0x28fd98['state']);let _0x46a17b=this['editContext']=new window['EditContext']({'text':_0x28fd98['state']['doc']['sliceString'](this['from'],this['to']),'selectionStart':this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x28fd98['state']['selection']['main']['anchor']))),'selectionEnd':this['toContextPos'](_0x28fd98['state']['selection']['main']['head'])});this['handlers']['textupdate']=_0x485afd=>{let _0x209cef=_0x28fd98['state']['selection']['main'],{anchor:_0x4021c2,head:_0x516f8b}=_0x209cef,_0x58af60=this['toEditorPos'](_0x485afd['updateRangeStart']),_0x47e949=this['toEditorPos'](_0x485afd['updateRangeEnd']);_0x28fd98['inputState']['composing']>=0x0&&!this['composing']&&(this['composing']={'contextBase':_0x485afd['updateRangeStart'],'editorBase':_0x58af60,'drifted':!0x1});let _0x2136c2=_0x47e949-_0x58af60>_0x485afd['text']['length'];_0x58af60==this['from']&&_0x4021c2<this['from']?_0x58af60=_0x4021c2:_0x47e949==this['to']&&_0x4021c2>this['to']&&(_0x47e949=_0x4021c2);let _0x5e6e78=_0x53fa2a(_0x28fd98['state']['sliceDoc'](_0x58af60,_0x47e949),_0x485afd['text'],(_0x2136c2?_0x209cef['from']:_0x209cef['to'])-_0x58af60,_0x2136c2?'end':null);if(!_0x5e6e78){let _0xe7d8ad=EditorSelection['single'](this['toEditorPos'](_0x485afd['selectionStart']),this['toEditorPos'](_0x485afd['selectionEnd']));return void(_0xe7d8ad['main']['eq'](_0x209cef)||_0x28fd98['dispatch']({'selection':_0xe7d8ad,'userEvent':'select'}));}let _0x51d787={'from':_0x5e6e78['from']+_0x58af60,'to':_0x5e6e78['toA']+_0x58af60,'insert':Text['of'](_0x485afd['text']['slice'](_0x5e6e78['from'],_0x5e6e78['toB'])['split']('\x0a'))};if((_0x7f953['mac']||_0x7f953['android'])&&_0x51d787['from']==_0x516f8b-0x1&&/^\. ?$/['test'](_0x485afd['text'])&&'off'==_0x28fd98['contentDOM']['getAttribute']('autocorrect')&&(_0x51d787={'from':_0x58af60,'to':_0x47e949,'insert':Text['of']([_0x485afd['text']['replace']('.','\x20')])}),this['pendingContextChange']=_0x51d787,!_0x28fd98['state']['readOnly']){let _0x1365ae=this['to']-this['from']+(_0x51d787['to']-_0x51d787['from']+_0x51d787['insert']['length']);_0x19ee1f(_0x28fd98,_0x51d787,EditorSelection['single'](this['toEditorPos'](_0x485afd['selectionStart'],_0x1365ae),this['toEditorPos'](_0x485afd['selectionEnd'],_0x1365ae)));}this['pendingContextChange']&&(this['revertPending'](_0x28fd98['state']),this['setSelection'](_0x28fd98['state'])),_0x51d787['from']<_0x51d787['to']&&!_0x51d787['insert']['length']&&_0x28fd98['inputState']['composing']>=0x0&&!/[\\p{Alphabetic}\\p{Number}_]/['test'](_0x46a17b['text']['slice'](Math['max'](0x0,_0x485afd['updateRangeStart']-0x1),Math['min'](_0x46a17b['text']['length'],_0x485afd['updateRangeStart']+0x1)))&&this['handlers']['compositionend'](_0x485afd);},this['handlers']['characterboundsupdate']=_0x497f8b=>{let _0x99b39e=[],_0x4bcbf2=null;for(let _0x549f3e=this['toEditorPos'](_0x497f8b['rangeStart']),_0x396d45=this['toEditorPos'](_0x497f8b['rangeEnd']);_0x549f3e<_0x396d45;_0x549f3e++){let _0x32e2b5=_0x28fd98['coordsForChar'](_0x549f3e);_0x4bcbf2=_0x32e2b5&&new DOMRect(_0x32e2b5['left'],_0x32e2b5['top'],_0x32e2b5['right']-_0x32e2b5['left'],_0x32e2b5['bottom']-_0x32e2b5['top'])||_0x4bcbf2||new DOMRect(),_0x99b39e['push'](_0x4bcbf2);}_0x46a17b['updateCharacterBounds'](_0x497f8b['rangeStart'],_0x99b39e);},this['handlers']['textformatupdate']=_0x374f0a=>{let _0x4b14fb=[];for(let _0x394a04 of _0x374f0a['getTextFormats']()){let _0x2a9278=_0x394a04['underlineStyle'],_0xba5dad=_0x394a04['underlineThickness'];if(!/none/i['test'](_0x2a9278)&&!/none/i['test'](_0xba5dad)){let _0x85ff69=this['toEditorPos'](_0x394a04['rangeStart']),_0xe92b6b=this['toEditorPos'](_0x394a04['rangeEnd']);if(_0x85ff69<_0xe92b6b){let _0xec2995='text-decoration:\x20underline\x20'+(/^[a-z]/['test'](_0x2a9278)?_0x2a9278+'\x20':'Dashed'==_0x2a9278?'dashed\x20':'Squiggle'==_0x2a9278?'wavy\x20':'')+(/thin/i['test'](_0xba5dad)?0x1:0x2)+'px';_0x4b14fb['push'](Decoration['mark']({'attributes':{'style':_0xec2995}})['range'](_0x85ff69,_0xe92b6b));}}}_0x28fd98['dispatch']({'effects':_0x383bc1['of'](Decoration['set'](_0x4b14fb))});},this['handlers']['compositionstart']=()=>{_0x28fd98['inputState']['composing']<0x0&&(_0x28fd98['inputState']['composing']=0x0,_0x28fd98['inputState']['compositionFirstChange']=!0x0);},this['handlers']['compositionend']=()=>{if(_0x28fd98['inputState']['composing']=-0x1,_0x28fd98['inputState']['compositionFirstChange']=null,this['composing']){let {drifted:_0x470121}=this['composing'];this['composing']=null,_0x470121&&this['reset'](_0x28fd98['state']);}};for(let _0x4703d4 in this['handlers'])_0x46a17b['addEventListener'](_0x4703d4,this['handlers'][_0x4703d4]);this['measureReq']={'read':_0x3c2933=>{this['editContext']['updateControlBounds'](_0x3c2933['contentDOM']['getBoundingClientRect']());let _0x1f157d=_0x13fe97(_0x3c2933['root']);_0x1f157d&&_0x1f157d['rangeCount']&&this['editContext']['updateSelectionBounds'](_0x1f157d['getRangeAt'](0x0)['getBoundingClientRect']());}};}['applyEdits'](_0x511bd8){let _0x5eaeff=0x0,_0x181915=!0x1,_0x49cc95=this['pendingContextChange'];return _0x511bd8['changes']['iterChanges']((_0x5c70fd,_0x23e592,_0x1741a0,_0x14a1d1,_0x486e1f)=>{if(_0x181915)return;let _0x542829=_0x486e1f['length']-(_0x23e592-_0x5c70fd);if(_0x49cc95&&_0x23e592>=_0x49cc95['to']){if(_0x49cc95['from']==_0x5c70fd&&_0x49cc95['to']==_0x23e592&&_0x49cc95['insert']['eq'](_0x486e1f))return _0x49cc95=this['pendingContextChange']=null,_0x5eaeff+=_0x542829,void(this['to']+=_0x542829);_0x49cc95=null,this['revertPending'](_0x511bd8['state']);}if(_0x5c70fd+=_0x5eaeff,(_0x23e592+=_0x5eaeff)<=this['from'])this['from']+=_0x542829,this['to']+=_0x542829;else{if(_0x5c70fd<this['to']){if(_0x5c70fd<this['from']||_0x23e592>this['to']||this['to']-this['from']+_0x486e1f['length']>0x7530)return void(_0x181915=!0x0);this['editContext']['updateText'](this['toContextPos'](_0x5c70fd),this['toContextPos'](_0x23e592),_0x486e1f['toString']()),this['to']+=_0x542829;}}_0x5eaeff+=_0x542829;}),_0x49cc95&&!_0x181915&&this['revertPending'](_0x511bd8['state']),!_0x181915;}['update'](_0xae8265){let _0x4135d1=this['pendingContextChange'],_0x1e7d56=_0xae8265['startState']['selection']['main'];this['composing']&&(this['composing']['drifted']||!_0xae8265['changes']['touchesRange'](_0x1e7d56['from'],_0x1e7d56['to'])&&_0xae8265['transactions']['some'](_0x352759=>!_0x352759['isUserEvent']('input.type')&&_0x352759['changes']['touchesRange'](this['from'],this['to'])))?(this['composing']['drifted']=!0x0,this['composing']['editorBase']=_0xae8265['changes']['mapPos'](this['composing']['editorBase'])):this['applyEdits'](_0xae8265)&&this['rangeIsValid'](_0xae8265['state'])?(_0xae8265['docChanged']||_0xae8265['selectionSet']||_0x4135d1)&&this['setSelection'](_0xae8265['state']):(this['pendingContextChange']=null,this['reset'](_0xae8265['state'])),(_0xae8265['geometryChanged']||_0xae8265['docChanged']||_0xae8265['selectionSet'])&&_0xae8265['view']['requestMeasure'](this['measureReq']);}['resetRange'](_0x5853c3){let {head:_0x14c524}=_0x5853c3['selection']['main'];this['from']=Math['max'](0x0,_0x14c524-0x2710),this['to']=Math['min'](_0x5853c3['doc']['length'],_0x14c524+0x2710);}['reset'](_0x57da8f){this['resetRange'](_0x57da8f),this['editContext']['updateText'](0x0,this['editContext']['text']['length'],_0x57da8f['doc']['sliceString'](this['from'],this['to'])),this['setSelection'](_0x57da8f);}['revertPending'](_0x5d92bc){let _0x8a7dc5=this['pendingContextChange'];this['pendingContextChange']=null,this['editContext']['updateText'](this['toContextPos'](_0x8a7dc5['from']),this['toContextPos'](_0x8a7dc5['from']+_0x8a7dc5['insert']['length']),_0x5d92bc['doc']['sliceString'](_0x8a7dc5['from'],_0x8a7dc5['to']));}['setSelection'](_0x3e7f9b){let {main:_0x13600e}=_0x3e7f9b['selection'],_0x1af8cd=this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x13600e['anchor']))),_0x38a165=this['toContextPos'](_0x13600e['head']);this['editContext']['selectionStart']==_0x1af8cd&&this['editContext']['selectionEnd']==_0x38a165||this['editContext']['updateSelection'](_0x1af8cd,_0x38a165);}['rangeIsValid'](_0x19eb61){let {head:_0x5b41cc}=_0x19eb61['selection']['main'];return!(this['from']>0x0&&_0x5b41cc-this['from']<0x1f4||this['to']<_0x19eb61['doc']['length']&&this['to']-_0x5b41cc<0x1f4||this['to']-this['from']>0x7530);}['toEditorPos'](_0x38534e,_0x4ff558=this['to']-this['from']){_0x38534e=Math['min'](_0x38534e,_0x4ff558);let _0x3e170f=this['composing'];return _0x3e170f&&_0x3e170f['drifted']?_0x3e170f['editorBase']+(_0x38534e-_0x3e170f['contextBase']):_0x38534e+this['from'];}['toContextPos'](_0x209b65){let _0x47aed2=this['composing'];return _0x47aed2&&_0x47aed2['drifted']?_0x47aed2['contextBase']+(_0x209b65-_0x47aed2['editorBase']):_0x209b65-this['from'];}['destroy'](){for(let _0xd3585 in this['handlers'])this['editContext']['removeEventListener'](_0xd3585,this['handlers'][_0xd3585]);}}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(_0x433b96={}){var _0x1e7668;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']),_0x433b96['parent']&&_0x433b96['parent']['appendChild'](this['dom']);let {dispatch:_0x1fe1b5}=_0x433b96;this['dispatchTransactions']=_0x433b96['dispatchTransactions']||_0x1fe1b5&&(_0x35e5ad=>_0x35e5ad['forEach'](_0x51a6d2=>_0x1fe1b5(_0x51a6d2,this)))||(_0x29bd2b=>this['update'](_0x29bd2b)),this['dispatch']=this['dispatch']['bind'](this),this['_root']=_0x433b96['root']||function(_0x5b968f){for(;_0x5b968f;){if(_0x5b968f&&(0x9==_0x5b968f['nodeType']||0xb==_0x5b968f['nodeType']&&_0x5b968f['host']))return _0x5b968f;_0x5b968f=_0x5b968f['assignedSlot']||_0x5b968f['parentNode'];}return null;}(_0x433b96['parent'])||document,this['viewState']=new ViewState(_0x433b96['state']||EditorState['create'](_0x433b96)),_0x433b96['scrollTo']&&_0x433b96['scrollTo']['is'](_0x280aa8)&&(this['viewState']['scrollTarget']=_0x433b96['scrollTo']['value']['clip'](this['viewState']['state'])),this['plugins']=this['state']['facet'](_0x10454f)['map'](_0x28208e=>new PluginInstance(_0x28208e));for(let _0x18ab3b of this['plugins'])_0x18ab3b['update'](this);this['observer']=new _0x1c4283(this),this['inputState']=new InputState(this),this['inputState']['ensureHandlers'](this['plugins']),this['docView']=new _0x38311c(this),this['mountStyles'](),this['updateAttrs'](),this['updateState']=0x0,this['requestMeasure'](),(null===(_0x1e7668=document['fonts'])||void 0x0===_0x1e7668?void 0x0:_0x1e7668['ready'])&&document['fonts']['ready']['then'](()=>this['requestMeasure']());}['dispatch'](..._0x508d16){let _0x2f523e=0x1==_0x508d16['length']&&_0x508d16[0x0]instanceof Transaction?_0x508d16:0x1==_0x508d16['length']&&Array['isArray'](_0x508d16[0x0])?_0x508d16[0x0]:[this['state']['update'](..._0x508d16)];this['dispatchTransactions'](_0x2f523e,this);}['update'](_0x43e816){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.update\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');let _0x2c96f2,_0x566a5b=!0x1,_0x321e6c=!0x1,_0x347427=this['state'];for(let _0x3371c1 of _0x43e816){if(_0x3371c1['startState']!=_0x347427)throw new RangeError('Trying\x20to\x20update\x20state\x20with\x20a\x20transaction\x20that\x20doesn\x27t\x20start\x20from\x20the\x20previous\x20state.');_0x347427=_0x3371c1['state'];}if(this['destroyed'])return void(this['viewState']['state']=_0x347427);let _0x2a7231=this['hasFocus'],_0x326f33=0x0,_0x179fcd=null;_0x43e816['some'](_0x5aaf04=>_0x5aaf04['annotation'](_0x40cd1e))?(this['inputState']['notifiedFocused']=_0x2a7231,_0x326f33=0x1):_0x2a7231!=this['inputState']['notifiedFocused']&&(this['inputState']['notifiedFocused']=_0x2a7231,_0x179fcd=_0x7dd93e(_0x347427,_0x2a7231),_0x179fcd||(_0x326f33=0x1));let _0x13136c=this['observer']['delayedAndroidKey'],_0x3bc0f1=null;if(_0x13136c?(this['observer']['clearDelayedAndroidKey'](),_0x3bc0f1=this['observer']['readChange'](),(_0x3bc0f1&&!this['state']['doc']['eq'](_0x347427['doc'])||!this['state']['selection']['eq'](_0x347427['selection']))&&(_0x3bc0f1=null)):this['observer']['clear'](),_0x347427['facet'](EditorState['phrases'])!=this['state']['facet'](EditorState['phrases']))return this['setState'](_0x347427);_0x2c96f2=ViewUpdate['create'](this,_0x347427,_0x43e816),_0x2c96f2['flags']|=_0x326f33;let _0xf2a5b7=this['viewState']['scrollTarget'];try{this['updateState']=0x2;for(let _0x27f60b of _0x43e816){if(_0xf2a5b7&&(_0xf2a5b7=_0xf2a5b7['map'](_0x27f60b['changes'])),_0x27f60b['scrollIntoView']){let {main:_0x250848}=_0x27f60b['state']['selection'];_0xf2a5b7=new ScrollTarget(_0x250848['empty']?_0x250848:EditorSelection['cursor'](_0x250848['head'],_0x250848['head']>_0x250848['anchor']?-0x1:0x1));}for(let _0x839a49 of _0x27f60b['effects'])_0x839a49['is'](_0x280aa8)&&(_0xf2a5b7=_0x839a49['value']['clip'](this['state']));}this['viewState']['update'](_0x2c96f2,_0xf2a5b7),this['bidiCache']=_0xfebcd4['update'](this['bidiCache'],_0x2c96f2['changes']),_0x2c96f2['empty']||(this['updatePlugins'](_0x2c96f2),this['inputState']['update'](_0x2c96f2)),_0x566a5b=this['docView']['update'](_0x2c96f2),this['state']['facet'](_0xc0ba64)!=this['styleModules']&&this['mountStyles'](),_0x321e6c=this['updateAttrs'](),this['showAnnouncements'](_0x43e816),this['docView']['updateSelection'](_0x566a5b,_0x43e816['some'](_0x5dcba8=>_0x5dcba8['isUserEvent']('select.pointer')));}finally{this['updateState']=0x0;}if(_0x2c96f2['startState']['facet'](_0x40bb92)!=_0x2c96f2['state']['facet'](_0x40bb92)&&(this['viewState']['mustMeasureContent']=!0x0),(_0x566a5b||_0x321e6c||_0xf2a5b7||this['viewState']['mustEnforceCursorAssoc']||this['viewState']['mustMeasureContent'])&&this['requestMeasure'](),_0x566a5b&&this['docViewUpdate'](),!_0x2c96f2['empty']){for(let _0x27b3ba of this['state']['facet'](_0x550001))try{_0x27b3ba(_0x2c96f2);}catch(_0x42dc7a){_0x1922d6(this['state'],_0x42dc7a,'update\x20listener');}}(_0x179fcd||_0x3bc0f1)&&Promise['resolve']()['then'](()=>{_0x179fcd&&this['state']==_0x179fcd['startState']&&this['dispatch'](_0x179fcd),_0x3bc0f1&&!_0x4f3c1b(this,_0x3bc0f1)&&_0x13136c['force']&&_0x5d3da1(this['contentDOM'],_0x13136c['key'],_0x13136c['keyCode']);});}['setState'](_0x356d42){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']=_0x356d42);this['updateState']=0x2;let _0x2bb600=this['hasFocus'];try{for(let _0x1ca3b2 of this['plugins'])_0x1ca3b2['destroy'](this);this['viewState']=new ViewState(_0x356d42),this['plugins']=_0x356d42['facet'](_0x10454f)['map'](_0x1cb500=>new PluginInstance(_0x1cb500)),this['pluginMap']['clear']();for(let _0x2a1461 of this['plugins'])_0x2a1461['update'](this);this['docView']['destroy'](),this['docView']=new _0x38311c(this),this['inputState']['ensureHandlers'](this['plugins']),this['mountStyles'](),this['updateAttrs'](),this['bidiCache']=[];}finally{this['updateState']=0x0;}_0x2bb600&&this['focus'](),this['requestMeasure']();}['updatePlugins'](_0x4d982d){let _0x3509a6=_0x4d982d['startState']['facet'](_0x10454f),_0x49d37c=_0x4d982d['state']['facet'](_0x10454f);if(_0x3509a6!=_0x49d37c){let _0x4f6cf3=[];for(let _0x2ce175 of _0x49d37c){let _0x3063ca=_0x3509a6['indexOf'](_0x2ce175);if(_0x3063ca<0x0)_0x4f6cf3['push'](new PluginInstance(_0x2ce175));else{let _0x3dc1cb=this['plugins'][_0x3063ca];_0x3dc1cb['mustUpdate']=_0x4d982d,_0x4f6cf3['push'](_0x3dc1cb);}}for(let _0x390d1f of this['plugins'])_0x390d1f['mustUpdate']!=_0x4d982d&&_0x390d1f['destroy'](this);this['plugins']=_0x4f6cf3,this['pluginMap']['clear']();}else{for(let _0x577334 of this['plugins'])_0x577334['mustUpdate']=_0x4d982d;}for(let _0x9108b2=0x0;_0x9108b2<this['plugins']['length'];_0x9108b2++)this['plugins'][_0x9108b2]['update'](this);_0x3509a6!=_0x49d37c&&this['inputState']['ensureHandlers'](this['plugins']);}['docViewUpdate'](){for(let _0x3e9a55 of this['plugins']){let _0x290b1a=_0x3e9a55['value'];if(_0x290b1a&&_0x290b1a['docViewUpdate'])try{_0x290b1a['docViewUpdate'](this);}catch(_0x27c37e){_0x1922d6(this['state'],_0x27c37e,'doc\x20view\x20update\x20listener');}}}['measure'](_0x47d811=!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,_0x47d811&&this['observer']['forceFlush']();let _0x5914ff=null,_0x2a08d8=this['scrollDOM'],_0x292080=_0x2a08d8['scrollTop']*this['scaleY'],{scrollAnchorPos:_0x34a901,scrollAnchorHeight:_0x19b3df}=this['viewState'];Math['abs'](_0x292080-this['viewState']['scrollTop'])>0x1&&(_0x19b3df=-0x1),this['viewState']['scrollAnchorHeight']=-0x1;try{for(let _0x4c751d=0x0;;_0x4c751d++){if(_0x19b3df<0x0){if(_0x273ce3(_0x2a08d8))_0x34a901=-0x1,_0x19b3df=this['viewState']['heightMap']['height'];else{let _0x39877d=this['viewState']['scrollAnchorAt'](_0x292080);_0x34a901=_0x39877d['from'],_0x19b3df=_0x39877d['top'];}}this['updateState']=0x1;let _0x2a0874=this['viewState']['measure'](this);if(!_0x2a0874&&!this['measureRequests']['length']&&null==this['viewState']['scrollTarget'])break;if(_0x4c751d>0x5){console['warn'](this['measureRequests']['length']?'Measure\x20loop\x20restarted\x20more\x20than\x205\x20times':'Viewport\x20failed\x20to\x20stabilize');break;}let _0x3548bb=[];0x4&_0x2a0874||([this['measureRequests'],_0x3548bb]=[_0x3548bb,this['measureRequests']]);let _0x5a56f8=_0x3548bb['map'](_0x8db276=>{try{return _0x8db276['read'](this);}catch(_0x125297){return _0x1922d6(this['state'],_0x125297),_0x27fe56;}}),_0x365f42=ViewUpdate['create'](this,this['state'],[]),_0x511030=!0x1;_0x365f42['flags']|=_0x2a0874,_0x5914ff?_0x5914ff['flags']|=_0x2a0874:_0x5914ff=_0x365f42,this['updateState']=0x2,_0x365f42['empty']||(this['updatePlugins'](_0x365f42),this['inputState']['update'](_0x365f42),this['updateAttrs'](),_0x511030=this['docView']['update'](_0x365f42),_0x511030&&this['docViewUpdate']());for(let _0x53fc35=0x0;_0x53fc35<_0x3548bb['length'];_0x53fc35++)if(_0x5a56f8[_0x53fc35]!=_0x27fe56)try{let _0x3eaabf=_0x3548bb[_0x53fc35];_0x3eaabf['write']&&_0x3eaabf['write'](_0x5a56f8[_0x53fc35],this);}catch(_0x52b127){_0x1922d6(this['state'],_0x52b127);}if(_0x511030&&this['docView']['updateSelection'](!0x0),!_0x365f42['viewportChanged']&&0x0==this['measureRequests']['length']){if(this['viewState']['editorHeight']){if(this['viewState']['scrollTarget']){this['docView']['scrollIntoView'](this['viewState']['scrollTarget']),this['viewState']['scrollTarget']=null,_0x19b3df=-0x1;continue;}{let _0x2b52db=(_0x34a901<0x0?this['viewState']['heightMap']['height']:this['viewState']['lineBlockAt'](_0x34a901)['top'])-_0x19b3df;if(_0x2b52db>0x1||_0x2b52db<-0x1){_0x292080+=_0x2b52db,_0x2a08d8['scrollTop']=_0x292080/this['scaleY'],_0x19b3df=-0x1;continue;}}}break;}}}finally{this['updateState']=0x0,this['measureScheduled']=-0x1;}if(_0x5914ff&&!_0x5914ff['empty']){for(let _0x2f8664 of this['state']['facet'](_0x550001))_0x2f8664(_0x5914ff);}}get['themeClasses'](){return _0x32613d+'\x20'+(this['state']['facet'](_0x29ee79)?_0x2d9161:_0xdb4a2d)+'\x20'+this['state']['facet'](_0x40bb92);}['updateAttrs'](){let _0x58518e=_0x316547(this,_0x4009f4,{'class':'cm-editor'+(this['hasFocus']?'\x20cm-focused\x20':'\x20')+this['themeClasses']}),_0x3b7341={'spellcheck':'false','autocorrect':'off','autocapitalize':'off','writingsuggestions':'false','translate':'no','contenteditable':this['state']['facet'](_0x14b1c6)?'true':'false','class':'cm-content','style':_0x7f953['tabSize']+':\x20'+this['state']['tabSize'],'role':'textbox','aria-multiline':'true'};this['state']['readOnly']&&(_0x3b7341['aria-readonly']='true'),_0x316547(this,_0x3597d2,_0x3b7341);let _0x33eb65=this['observer']['ignore'](()=>{let _0x27f93c=_0x2a90b6(this['contentDOM'],this['contentAttrs'],_0x3b7341),_0x434da6=_0x2a90b6(this['dom'],this['editorAttrs'],_0x58518e);return _0x27f93c||_0x434da6;});return this['editorAttrs']=_0x58518e,this['contentAttrs']=_0x3b7341,_0x33eb65;}['showAnnouncements'](_0x1ef9d9){let _0x52c7d9=!0x0;for(let _0x4bcee6 of _0x1ef9d9)for(let _0x4115a0 of _0x4bcee6['effects'])_0x4115a0['is'](EditorView['announce'])&&(_0x52c7d9&&(this['announceDOM']['textContent']=''),_0x52c7d9=!0x1,this['announceDOM']['appendChild'](document['createElement']('div'))['textContent']=_0x4115a0['value']);}['mountStyles'](){this['styleModules']=this['state']['facet'](_0xc0ba64);let _0xed0497=this['state']['facet'](EditorView['cspNonce']);StyleModule['mount'](this['root'],this['styleModules']['concat'](_0x4f0542)['reverse'](),_0xed0497?{'nonce':_0xed0497}: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'](_0x2ec7f1){if(this['measureScheduled']<0x0&&(this['measureScheduled']=this['win']['requestAnimationFrame'](()=>this['measure']())),_0x2ec7f1){if(this['measureRequests']['indexOf'](_0x2ec7f1)>-0x1)return;if(null!=_0x2ec7f1['key']){for(let _0x517571=0x0;_0x517571<this['measureRequests']['length'];_0x517571++)if(this['measureRequests'][_0x517571]['key']===_0x2ec7f1['key'])return void(this['measureRequests'][_0x517571]=_0x2ec7f1);}this['measureRequests']['push'](_0x2ec7f1);}}['plugin'](_0x58645f){let _0x539d3f=this['pluginMap']['get'](_0x58645f);return(void 0x0===_0x539d3f||_0x539d3f&&_0x539d3f['plugin']!=_0x58645f)&&this['pluginMap']['set'](_0x58645f,_0x539d3f=this['plugins']['find'](_0x169325=>_0x169325['plugin']==_0x58645f)||null),_0x539d3f&&_0x539d3f['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'](_0x1589bd){return this['readMeasured'](),this['viewState']['elementAtHeight'](_0x1589bd);}['lineBlockAtHeight'](_0xcf19a5){return this['readMeasured'](),this['viewState']['lineBlockAtHeight'](_0xcf19a5);}get['viewportLineBlocks'](){return this['viewState']['viewportLines'];}['lineBlockAt'](_0x267cc8){return this['viewState']['lineBlockAt'](_0x267cc8);}get['contentHeight'](){return this['viewState']['contentHeight'];}['moveByChar'](_0x52b33f,_0x50190a,_0x367387){return _0x25167c(this,_0x52b33f,_0x22d5a9(this,_0x52b33f,_0x50190a,_0x367387));}['moveByGroup'](_0x3bb79e,_0x245cd0){return _0x25167c(this,_0x3bb79e,_0x22d5a9(this,_0x3bb79e,_0x245cd0,_0x4ed3ae=>function(_0x2f98fc,_0x4579ee,_0x42f2f0){let _0x3e228a=_0x2f98fc['state']['charCategorizer'](_0x4579ee),_0x273223=_0x3e228a(_0x42f2f0);return _0x2cc2fe=>{let _0x40b13=_0x3e228a(_0x2cc2fe);return _0x273223==_0x40a5c6['Space']&&(_0x273223=_0x40b13),_0x273223==_0x40b13;};}(this,_0x3bb79e['head'],_0x4ed3ae)));}['visualLineSide'](_0x465488,_0x513f0d){let _0x1c91d1=this['bidiSpans'](_0x465488),_0x22e3f3=this['textDirectionAt'](_0x465488['from']),_0x1cde90=_0x1c91d1[_0x513f0d?_0x1c91d1['length']-0x1:0x0];return EditorSelection['cursor'](_0x1cde90['side'](_0x513f0d,_0x22e3f3)+_0x465488['from'],_0x1cde90['forward'](!_0x513f0d,_0x22e3f3)?0x1:-0x1);}['moveToLineBoundary'](_0x4828b6,_0x2fe76e,_0x819eac=!0x0){return function(_0x1d36f2,_0x22df24,_0x44b149,_0x4e5eb6){let _0x41aafe=_0x17e5cb(_0x1d36f2,_0x22df24['head'],_0x22df24['assoc']||-0x1),_0x2cd956=_0x4e5eb6&&_0x41aafe['type']==_0x236364['Text']&&(_0x1d36f2['lineWrapping']||_0x41aafe['widgetLineBreaks'])?_0x1d36f2['coordsAtPos'](_0x22df24['assoc']<0x0&&_0x22df24['head']>_0x41aafe['from']?_0x22df24['head']-0x1:_0x22df24['head']):null;if(_0x2cd956){let _0x2c4f5b=_0x1d36f2['dom']['getBoundingClientRect'](),_0x5aefec=_0x1d36f2['textDirectionAt'](_0x41aafe['from']),_0x26ccba=_0x1d36f2['posAtCoords']({'x':_0x44b149==(_0x5aefec==_0xdbef2e['LTR'])?_0x2c4f5b['right']-0x1:_0x2c4f5b['left']+0x1,'y':(_0x2cd956['top']+_0x2cd956['bottom'])/0x2});if(null!=_0x26ccba)return EditorSelection['cursor'](_0x26ccba,_0x44b149?-0x1:0x1);}return EditorSelection['cursor'](_0x44b149?_0x41aafe['to']:_0x41aafe['from'],_0x44b149?-0x1:0x1);}(this,_0x4828b6,_0x2fe76e,_0x819eac);}['moveVertically'](_0x258f6c,_0xecdbf4,_0x393cba){return _0x25167c(this,_0x258f6c,function(_0xa6a02d,_0x5dcf4d,_0x2c8abf,_0x15bfcf){let _0x42d041=_0x5dcf4d['head'],_0x5558ac=_0x2c8abf?0x1:-0x1;if(_0x42d041==(_0x2c8abf?_0xa6a02d['state']['doc']['length']:0x0))return EditorSelection['cursor'](_0x42d041,_0x5dcf4d['assoc']);let _0x2e4c95,_0x26e968=_0x5dcf4d['goalColumn'],_0x2900b0=_0xa6a02d['contentDOM']['getBoundingClientRect'](),_0x2330e4=_0xa6a02d['coordsAtPos'](_0x42d041,_0x5dcf4d['assoc']||-0x1),_0x4c39eb=_0xa6a02d['documentTop'];if(_0x2330e4)null==_0x26e968&&(_0x26e968=_0x2330e4['left']-_0x2900b0['left']),_0x2e4c95=_0x5558ac<0x0?_0x2330e4['top']:_0x2330e4['bottom'];else{let _0xeb9727=_0xa6a02d['viewState']['lineBlockAt'](_0x42d041);null==_0x26e968&&(_0x26e968=Math['min'](_0x2900b0['right']-_0x2900b0['left'],_0xa6a02d['defaultCharacterWidth']*(_0x42d041-_0xeb9727['from']))),_0x2e4c95=(_0x5558ac<0x0?_0xeb9727['top']:_0xeb9727['bottom'])+_0x4c39eb;}let _0x3c0f9d=_0x2900b0['left']+_0x26e968,_0x595e90=null!=_0x15bfcf?_0x15bfcf:_0xa6a02d['viewState']['heightOracle']['textHeight']>>0x1;for(let _0x29d716=0x0;;_0x29d716+=0xa){let _0x24545a=_0x2e4c95+(_0x595e90+_0x29d716)*_0x5558ac,_0x21165f=_0xd58b13(_0xa6a02d,{'x':_0x3c0f9d,'y':_0x24545a},!0x1,_0x5558ac);if(_0x24545a<_0x2900b0['top']||_0x24545a>_0x2900b0['bottom']||(_0x5558ac<0x0?_0x21165f<_0x42d041:_0x21165f>_0x42d041)){let _0x227e15=_0xa6a02d['docView']['coordsForChar'](_0x21165f),_0x32a6fa=!_0x227e15||_0x24545a<_0x227e15['top']?-0x1:0x1;return EditorSelection['cursor'](_0x21165f,_0x32a6fa,void 0x0,_0x26e968);}}}(this,_0x258f6c,_0xecdbf4,_0x393cba));}['domAtPos'](_0x33dec1){return this['docView']['domAtPos'](_0x33dec1);}['posAtDOM'](_0x3683e4,_0x382fa7=0x0){return this['docView']['posFromDOM'](_0x3683e4,_0x382fa7);}['posAtCoords'](_0x1664e7,_0x42dc39=!0x0){return this['readMeasured'](),_0xd58b13(this,_0x1664e7,_0x42dc39);}['coordsAtPos'](_0x5c4a5b,_0x18b0e1=0x1){this['readMeasured']();let _0x4100d2=this['docView']['coordsAt'](_0x5c4a5b,_0x18b0e1);if(!_0x4100d2||_0x4100d2['left']==_0x4100d2['right'])return _0x4100d2;let _0x1c5650=this['state']['doc']['lineAt'](_0x5c4a5b),_0x27c587=this['bidiSpans'](_0x1c5650);return _0xccdbb2(_0x4100d2,_0x27c587[_0x427aa7['find'](_0x27c587,_0x5c4a5b-_0x1c5650['from'],-0x1,_0x18b0e1)]['dir']==_0xdbef2e['LTR']==_0x18b0e1>0x0);}['coordsForChar'](_0x36a28f){return this['readMeasured'](),this['docView']['coordsForChar'](_0x36a28f);}get['defaultCharacterWidth'](){return this['viewState']['heightOracle']['charWidth'];}get['defaultLineHeight'](){return this['viewState']['heightOracle']['lineHeight'];}get['textDirection'](){return this['viewState']['defaultTextDirection'];}['textDirectionAt'](_0x5c09cc){return!this['state']['facet'](_0x548c1d)||_0x5c09cc<this['viewport']['from']||_0x5c09cc>this['viewport']['to']?this['textDirection']:(this['readMeasured'](),this['docView']['textDirectionAt'](_0x5c09cc));}get['lineWrapping'](){return this['viewState']['heightOracle']['lineWrapping'];}['bidiSpans'](_0x3d381d){if(_0x3d381d['length']>_0x3fed7f)return _0x493120(_0x3d381d['length']);let _0x257163,_0x18d9d1=this['textDirectionAt'](_0x3d381d['from']);for(let _0xbfc93c of this['bidiCache'])if(_0xbfc93c['from']==_0x3d381d['from']&&_0xbfc93c['dir']==_0x18d9d1&&(_0xbfc93c['fresh']||_0x138e0f(_0xbfc93c['isolates'],_0x257163=_0x55dd3f(this,_0x3d381d))))return _0xbfc93c['order'];_0x257163||(_0x257163=_0x55dd3f(this,_0x3d381d));let _0x5e0920=function(_0x3bf439,_0x10d14c,_0x4207e2){if(!_0x3bf439)return[new _0x427aa7(0x0,0x0,_0x10d14c==_0x29fa14?0x1:0x0)];if(_0x10d14c==_0x51bea7&&!_0x4207e2['length']&&!tO['test'](_0x3bf439))return _0x493120(_0x3bf439['length']);if(_0x4207e2['length']){for(;_0x3bf439['length']>_0x1e83e8['length'];)_0x1e83e8[_0x1e83e8['length']]=0x100;}let _0x4380a6=[],_0x5bb77b=_0x10d14c==_0x51bea7?0x0:0x1;return _0x349abc(_0x3bf439,_0x5bb77b,_0x5bb77b,_0x4207e2,0x0,_0x3bf439['length'],_0x4380a6),_0x4380a6;}(_0x3d381d['text'],_0x18d9d1,_0x257163);return this['bidiCache']['push'](new _0xfebcd4(_0x3d381d['from'],_0x3d381d['to'],_0x18d9d1,_0x257163,!0x0,_0x5e0920)),_0x5e0920;}get['hasFocus'](){var _0x503397;return(this['dom']['ownerDocument']['hasFocus']()||_0x7f953['safari']&&(null===(_0x503397=this['inputState'])||void 0x0===_0x503397?void 0x0:_0x503397['lastContextMenu'])>Date['now']()-0x7530)&&this['root']['activeElement']==this['contentDOM'];}['focus'](){this['observer']['ignore'](()=>{_0x12169d(this['contentDOM']),this['docView']['updateSelection']();});}['setRoot'](_0x32676a){this['_root']!=_0x32676a&&(this['_root']=_0x32676a,this['observer']['setWindow']((0x9==_0x32676a['nodeType']?_0x32676a:_0x32676a['ownerDocument'])['defaultView']||window),this['mountStyles']());}['destroy'](){this['root']['activeElement']==this['contentDOM']&&this['contentDOM']['blur']();for(let _0x431e28 of this['plugins'])_0x431e28['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'](_0x63ed2a,_0x16d96c={}){return _0x280aa8['of'](new ScrollTarget('number'==typeof _0x63ed2a?EditorSelection['cursor'](_0x63ed2a):_0x63ed2a,_0x16d96c['y'],_0x16d96c['x'],_0x16d96c['yMargin'],_0x16d96c['xMargin']));}['scrollSnapshot'](){let {scrollTop:_0x112e8b,scrollLeft:_0x2a711e}=this['scrollDOM'],_0xd4bb97=this['viewState']['scrollAnchorAt'](_0x112e8b);return _0x280aa8['of'](new ScrollTarget(EditorSelection['cursor'](_0xd4bb97['from']),'start','start',_0xd4bb97['top']-_0x112e8b,_0x2a711e,!0x0));}['setTabFocusMode'](_0x52c2b7){null==_0x52c2b7?this['inputState']['tabFocusMode']=this['inputState']['tabFocusMode']<0x0?0x0:-0x1:'boolean'==typeof _0x52c2b7?this['inputState']['tabFocusMode']=_0x52c2b7?0x0:-0x1:0x0!=this['inputState']['tabFocusMode']&&(this['inputState']['tabFocusMode']=Date['now']()+_0x52c2b7);}static['domEventHandlers'](_0x42f76f){return _0x26068f['define'](()=>({}),{'eventHandlers':_0x42f76f});}static['domEventObservers'](_0x589b91){return _0x26068f['define'](()=>({}),{'eventObservers':_0x589b91});}static['theme'](_0x229f69,_0x34e210){let _0x26a126=StyleModule['newName'](),_0x15346d=[_0x40bb92['of'](_0x26a126),_0xc0ba64['of'](_0x34b9ad('.'+_0x26a126,_0x229f69))];return _0x34e210&&_0x34e210['dark']&&_0x15346d['push'](_0x29ee79['of'](!0x0)),_0x15346d;}static['baseTheme'](_0x2e9ea5){return _0x4b04a1['lowest'](_0xc0ba64['of'](_0x34b9ad('.'+_0x32613d,_0x2e9ea5,_0x1e2a99)));}static['findFromDOM'](_0x5651e8){var _0x19786e;let _0x27db90=_0x5651e8['querySelector']('.cm-content'),_0x589c05=_0x27db90&&ContentView['get'](_0x27db90)||ContentView['get'](_0x5651e8);return(null===(_0x19786e=null==_0x589c05?void 0x0:_0x589c05['rootView'])||void 0x0===_0x19786e?void 0x0:_0x19786e['view'])||null;}}EditorView['styleModule']=_0xc0ba64,EditorView['inputHandler']=_0x3288f9,EditorView['clipboardInputFilter']=_0xb1ccf7,EditorView['clipboardOutputFilter']=_0x294303,EditorView['scrollHandler']=_0x3e7e02,EditorView['focusChangeEffect']=_0x17aa97,EditorView['perLineTextDirection']=_0x548c1d,EditorView['exceptionSink']=_0x3d7bd4,EditorView['updateListener']=_0x550001,EditorView['editable']=_0x14b1c6,EditorView['mouseSelectionStyle']=_0x5ede89,EditorView['dragMovesSelection']=_0x2eacfc,EditorView['clickAddsSelectionRange']=_0x5ce915,EditorView['decorations']=_0x4b35df,EditorView['outerDecorations']=_0x13ea98,EditorView['atomicRanges']=_0x4aacd4,EditorView['bidiIsolatedRanges']=_0x21cfdd,EditorView['scrollMargins']=_0x523152,EditorView['darkTheme']=_0x29ee79,EditorView['cspNonce']=Facet['define']({'combine':_0x377f84=>_0x377f84['length']?_0x377f84[0x0]:''}),EditorView['contentAttributes']=_0x3597d2,EditorView['editorAttributes']=_0x4009f4,EditorView['lineWrapping']=EditorView['contentAttributes']['of']({'class':'cm-lineWrapping'}),EditorView['announce']=StateEffect['define']();const _0x3fed7f=0x1000,_0x27fe56={};class _0xfebcd4{constructor(_0x45ae25,_0x445c1c,_0x48d8b6,_0x22d6bd,_0x4367b3,_0x28e7a6){this['from']=_0x45ae25,this['to']=_0x445c1c,this['dir']=_0x48d8b6,this['isolates']=_0x22d6bd,this['fresh']=_0x4367b3,this['order']=_0x28e7a6;}static['update'](_0x19978e,_0x5bd1b2){if(_0x5bd1b2['empty']&&!_0x19978e['some'](_0x3061a3=>_0x3061a3['fresh']))return _0x19978e;let _0x51ffe2=[],_0x47c9af=_0x19978e['length']?_0x19978e[_0x19978e['length']-0x1]['dir']:_0xdbef2e['LTR'];for(let _0x290251=Math['max'](0x0,_0x19978e['length']-0xa);_0x290251<_0x19978e['length'];_0x290251++){let _0x240e1a=_0x19978e[_0x290251];_0x240e1a['dir']!=_0x47c9af||_0x5bd1b2['touchesRange'](_0x240e1a['from'],_0x240e1a['to'])||_0x51ffe2['push'](new _0xfebcd4(_0x5bd1b2['mapPos'](_0x240e1a['from'],0x1),_0x5bd1b2['mapPos'](_0x240e1a['to'],-0x1),_0x240e1a['dir'],_0x240e1a['isolates'],!0x1,_0x240e1a['order']));}return _0x51ffe2;}}function _0x316547(_0x136020,_0x2818f5,_0x478909){for(let _0x2048fb=_0x136020['state']['facet'](_0x2818f5),_0x3c46a3=_0x2048fb['length']-0x1;_0x3c46a3>=0x0;_0x3c46a3--){let _0x347923=_0x2048fb[_0x3c46a3],_0x55856c='function'==typeof _0x347923?_0x347923(_0x136020):_0x347923;_0x55856c&&_0x2e53d1(_0x55856c,_0x478909);}return _0x478909;}const _0x13bd69=_0x7f953['mac']?'mac':_0x7f953['windows']?'win':_0x7f953['linux']?'linux':'key';function _0x19b3b3(_0x995629,_0x1d6d3b,_0x332d99){return _0x1d6d3b['altKey']&&(_0x995629='Alt-'+_0x995629),_0x1d6d3b['ctrlKey']&&(_0x995629='Ctrl-'+_0x995629),_0x1d6d3b['metaKey']&&(_0x995629='Meta-'+_0x995629),!0x1!==_0x332d99&&_0x1d6d3b['shiftKey']&&(_0x995629='Shift-'+_0x995629),_0x995629;}const _0x238860=_0x4b04a1['default'](EditorView['domEventHandlers']({'keydown':(_0x4d8dad,_0x1713a3)=>function(_0x4d93bc,_0x14d3df,_0x5e8ae8,_0x38fa2b){_0x3191af=_0x14d3df;let _0x3168e9=function(_0x2b6d0f){var _0x173677=!(_0x365482&&_0x2b6d0f['metaKey']&&_0x2b6d0f['shiftKey']&&!_0x2b6d0f['ctrlKey']&&!_0x2b6d0f['altKey']||_0x10d386&&_0x2b6d0f['shiftKey']&&_0x2b6d0f['key']&&0x1==_0x2b6d0f['key']['length']||'Unidentified'==_0x2b6d0f['key'])&&_0x2b6d0f['key']||(_0x2b6d0f['shiftKey']?_0xe3a6dc:_0x4269c0)[_0x2b6d0f['keyCode']]||_0x2b6d0f['key']||'Unidentified';return'Esc'==_0x173677&&(_0x173677='Escape'),'Del'==_0x173677&&(_0x173677='Delete'),'Left'==_0x173677&&(_0x173677='ArrowLeft'),'Up'==_0x173677&&(_0x173677='ArrowUp'),'Right'==_0x173677&&(_0x173677='ArrowRight'),'Down'==_0x173677&&(_0x173677='ArrowDown'),_0x173677;}(_0x14d3df),_0x3b7125=_0x511d55(_0x3168e9,0x0),_0x3a0d3e=_0x555919(_0x3b7125)==_0x3168e9['length']&&'\x20'!=_0x3168e9,_0x12627f='',_0x28faf2=!0x1,_0x388d8d=!0x1,_0x3835be=!0x1;_0x3bbde7&&_0x3bbde7['view']==_0x5e8ae8&&_0x3bbde7['scope']==_0x38fa2b&&(_0x12627f=_0x3bbde7['prefix']+'\x20',_0x1b387d['indexOf'](_0x14d3df['keyCode'])<0x0&&(_0x388d8d=!0x0,_0x3bbde7=null));let _0x311712,_0x8661ab,_0x22803a=new Set(),_0x2c8bb6=_0xc25b58=>{if(_0xc25b58){for(let _0x1b3544 of _0xc25b58['run'])if(!_0x22803a['has'](_0x1b3544)&&(_0x22803a['add'](_0x1b3544),_0x1b3544(_0x5e8ae8)))return _0xc25b58['stopPropagation']&&(_0x3835be=!0x0),!0x0;_0xc25b58['preventDefault']&&(_0xc25b58['stopPropagation']&&(_0x3835be=!0x0),_0x388d8d=!0x0);}return!0x1;},_0x1e4109=_0x4d93bc[_0x38fa2b];return _0x1e4109&&(_0x2c8bb6(_0x1e4109[_0x12627f+_0x19b3b3(_0x3168e9,_0x14d3df,!_0x3a0d3e)])?_0x28faf2=!0x0:!_0x3a0d3e||!(_0x14d3df['altKey']||_0x14d3df['metaKey']||_0x14d3df['ctrlKey'])||_0x7f953['windows']&&_0x14d3df['ctrlKey']&&_0x14d3df['altKey']||_0x7f953['mac']&&_0x14d3df['altKey']&&!_0x14d3df['ctrlKey']&&!_0x14d3df['metaKey']||!(_0x311712=_0x4269c0[_0x14d3df['keyCode']])||_0x311712==_0x3168e9?_0x3a0d3e&&_0x14d3df['shiftKey']&&_0x2c8bb6(_0x1e4109[_0x12627f+_0x19b3b3(_0x3168e9,_0x14d3df,!0x0)])&&(_0x28faf2=!0x0):(_0x2c8bb6(_0x1e4109[_0x12627f+_0x19b3b3(_0x311712,_0x14d3df,!0x0)])||_0x14d3df['shiftKey']&&(_0x8661ab=_0xe3a6dc[_0x14d3df['keyCode']])!=_0x3168e9&&_0x8661ab!=_0x311712&&_0x2c8bb6(_0x1e4109[_0x12627f+_0x19b3b3(_0x8661ab,_0x14d3df,!0x1)]))&&(_0x28faf2=!0x0),!_0x28faf2&&_0x2c8bb6(_0x1e4109['_any'])&&(_0x28faf2=!0x0)),_0x388d8d&&(_0x28faf2=!0x0),_0x28faf2&&_0x3835be&&_0x14d3df['stopPropagation'](),(_0x3191af=null,_0x28faf2);}(function(_0x50be1e){let _0x159175=_0x50be1e['facet'](_0x1c1feb),_0x4ca48c=_0xca4929['get'](_0x159175);return _0x4ca48c||_0xca4929['set'](_0x159175,_0x4ca48c=function(_0x14c89d,_0x63b497=_0x13bd69){let _0x2dd8cc=Object['create'](null),_0x1e920f=Object['create'](null),_0x358ce8=(_0x27705d,_0x58a1ba)=>{let _0x4179d4=_0x1e920f[_0x27705d];if(null==_0x4179d4)_0x1e920f[_0x27705d]=_0x58a1ba;else{if(_0x4179d4!=_0x58a1ba)throw new Error('Key\x20binding\x20'+_0x27705d+'\x20is\x20used\x20both\x20as\x20a\x20regular\x20binding\x20and\x20as\x20a\x20multi-stroke\x20prefix');}},_0x208a9d=(_0x4fa425,_0x135441,_0x5692a4,_0x8b2f79,_0x584cff)=>{var _0x54747c,_0x82cad;let _0x337b05=_0x2dd8cc[_0x4fa425]||(_0x2dd8cc[_0x4fa425]=Object['create'](null)),_0x5d5ac5=_0x135441['split'](/ (?!$)/)['map'](_0x1b84dd=>function(_0x2da100,_0x3c632b){const _0x1147b=_0x2da100['split'](/-(?!$)/);let _0x103c20,_0x44b4ff,_0x209788,_0x53ed48,_0x541dce=_0x1147b[_0x1147b['length']-0x1];'Space'==_0x541dce&&(_0x541dce='\x20');for(let _0x4557a9=0x0;_0x4557a9<_0x1147b['length']-0x1;++_0x4557a9){const _0x2cbcb0=_0x1147b[_0x4557a9];if(/^(cmd|meta|m)$/i['test'](_0x2cbcb0))_0x53ed48=!0x0;else{if(/^a(lt)?$/i['test'](_0x2cbcb0))_0x103c20=!0x0;else{if(/^(c|ctrl|control)$/i['test'](_0x2cbcb0))_0x44b4ff=!0x0;else{if(/^s(hift)?$/i['test'](_0x2cbcb0))_0x209788=!0x0;else{if(!/^mod$/i['test'](_0x2cbcb0))throw new Error('Unrecognized\x20modifier\x20name:\x20'+_0x2cbcb0);'mac'==_0x3c632b?_0x53ed48=!0x0:_0x44b4ff=!0x0;}}}}}return _0x103c20&&(_0x541dce='Alt-'+_0x541dce),_0x44b4ff&&(_0x541dce='Ctrl-'+_0x541dce),_0x53ed48&&(_0x541dce='Meta-'+_0x541dce),_0x209788&&(_0x541dce='Shift-'+_0x541dce),_0x541dce;}(_0x1b84dd,_0x63b497));for(let _0x4a7538=0x1;_0x4a7538<_0x5d5ac5['length'];_0x4a7538++){let _0x14320b=_0x5d5ac5['slice'](0x0,_0x4a7538)['join']('\x20');_0x358ce8(_0x14320b,!0x0),_0x337b05[_0x14320b]||(_0x337b05[_0x14320b]={'preventDefault':!0x0,'stopPropagation':!0x1,'run':[_0x24623f=>{let _0x203fcc=_0x3bbde7={'view':_0x24623f,'prefix':_0x14320b,'scope':_0x4fa425};return setTimeout(()=>{_0x3bbde7==_0x203fcc&&(_0x3bbde7=null);},_0x207ecb),!0x0;}]});}let _0x2c5f80=_0x5d5ac5['join']('\x20');_0x358ce8(_0x2c5f80,!0x1);let _0x3659b1=_0x337b05[_0x2c5f80]||(_0x337b05[_0x2c5f80]={'preventDefault':!0x1,'stopPropagation':!0x1,'run':(null===(_0x82cad=null===(_0x54747c=_0x337b05['_any'])||void 0x0===_0x54747c?void 0x0:_0x54747c['run'])||void 0x0===_0x82cad?void 0x0:_0x82cad['slice']())||[]});_0x5692a4&&_0x3659b1['run']['push'](_0x5692a4),_0x8b2f79&&(_0x3659b1['preventDefault']=!0x0),_0x584cff&&(_0x3659b1['stopPropagation']=!0x0);};for(let _0x121b92 of _0x14c89d){let _0x3ab82f=_0x121b92['scope']?_0x121b92['scope']['split']('\x20'):['editor'];if(_0x121b92['any'])for(let _0x1f73bc of _0x3ab82f){let _0x2fa244=_0x2dd8cc[_0x1f73bc]||(_0x2dd8cc[_0x1f73bc]=Object['create'](null));_0x2fa244['_any']||(_0x2fa244['_any']={'preventDefault':!0x1,'stopPropagation':!0x1,'run':[]});let {any:_0x5d2cd7}=_0x121b92;for(let _0x55a692 in _0x2fa244)_0x2fa244[_0x55a692]['run']['push'](_0x14a2eb=>_0x5d2cd7(_0x14a2eb,_0x3191af));}let _0x2a2bba=_0x121b92[_0x63b497]||_0x121b92['key'];if(_0x2a2bba){for(let _0xce3f5c of _0x3ab82f)_0x208a9d(_0xce3f5c,_0x2a2bba,_0x121b92['run'],_0x121b92['preventDefault'],_0x121b92['stopPropagation']),_0x121b92['shift']&&_0x208a9d(_0xce3f5c,'Shift-'+_0x2a2bba,_0x121b92['shift'],_0x121b92['preventDefault'],_0x121b92['stopPropagation']);}}return _0x2dd8cc;}(_0x159175['reduce']((_0x267d83,_0x1f95ed)=>_0x267d83['concat'](_0x1f95ed),[]))),_0x4ca48c;}(_0x1713a3['state']),_0x4d8dad,_0x1713a3,'editor')})),_0x1c1feb=Facet['define']({'enables':_0x238860}),_0xca4929=new WeakMap();let _0x3bbde7=null;const _0x207ecb=0xfa0;let _0x3191af=null;class RectangleMarker{constructor(_0x407842,_0x207cd4,_0x123a3f,_0x3b801e,_0x8d038a){this['className']=_0x407842,this['left']=_0x207cd4,this['top']=_0x123a3f,this['width']=_0x3b801e,this['height']=_0x8d038a;}['draw'](){let _0x5f487e=document['createElement']('div');return _0x5f487e['className']=this['className'],this['adjust'](_0x5f487e),_0x5f487e;}['update'](_0x36c040,_0x2104cf){return _0x2104cf['className']==this['className']&&(this['adjust'](_0x36c040),!0x0);}['adjust'](_0x56babe){_0x56babe['style']['left']=this['left']+'px',_0x56babe['style']['top']=this['top']+'px',null!=this['width']&&(_0x56babe['style']['width']=this['width']+'px'),_0x56babe['style']['height']=this['height']+'px';}['eq'](_0x1f3861){return this['left']==_0x1f3861['left']&&this['top']==_0x1f3861['top']&&this['width']==_0x1f3861['width']&&this['height']==_0x1f3861['height']&&this['className']==_0x1f3861['className'];}static['forRange'](_0x2c7681,_0x8772c1,_0x47ebd7){if(_0x47ebd7['empty']){let _0x429e60=_0x2c7681['coordsAtPos'](_0x47ebd7['head'],_0x47ebd7['assoc']||0x1);if(!_0x429e60)return[];let _0x130fb0=_0x4e4574(_0x2c7681);return[new RectangleMarker(_0x8772c1,_0x429e60['left']-_0x130fb0['left'],_0x429e60['top']-_0x130fb0['top'],null,_0x429e60['bottom']-_0x429e60['top'])];}return function(_0x34dbca,_0x2555e7,_0x25728c){if(_0x25728c['to']<=_0x34dbca['viewport']['from']||_0x25728c['from']>=_0x34dbca['viewport']['to'])return[];let _0x1bb319=Math['max'](_0x25728c['from'],_0x34dbca['viewport']['from']),_0x3c8b06=Math['min'](_0x25728c['to'],_0x34dbca['viewport']['to']),_0x323682=_0x34dbca['textDirection']==_0xdbef2e['LTR'],_0x408e17=_0x34dbca['contentDOM'],_0x4c6981=_0x408e17['getBoundingClientRect'](),_0x44d159=_0x4e4574(_0x34dbca),_0x350a13=_0x408e17['querySelector']('.cm-line'),_0x432e4c=_0x350a13&&window['getComputedStyle'](_0x350a13),_0x39d2c7=_0x4c6981['left']+(_0x432e4c?parseInt(_0x432e4c['paddingLeft'])+Math['min'](0x0,parseInt(_0x432e4c['textIndent'])):0x0),_0x3f99ad=_0x4c6981['right']-(_0x432e4c?parseInt(_0x432e4c['paddingRight']):0x0),_0x3b6891=_0x17e5cb(_0x34dbca,_0x1bb319,0x1),_0x5dc2f1=_0x17e5cb(_0x34dbca,_0x3c8b06,-0x1),_0x579402=_0x3b6891['type']==_0x236364['Text']?_0x3b6891:null,_0x37e2d4=_0x5dc2f1['type']==_0x236364['Text']?_0x5dc2f1:null;_0x579402&&(_0x34dbca['lineWrapping']||_0x3b6891['widgetLineBreaks'])&&(_0x579402=_0x29cc72(_0x34dbca,_0x1bb319,0x1,_0x579402)),_0x37e2d4&&(_0x34dbca['lineWrapping']||_0x5dc2f1['widgetLineBreaks'])&&(_0x37e2d4=_0x29cc72(_0x34dbca,_0x3c8b06,-0x1,_0x37e2d4));if(_0x579402&&_0x37e2d4&&_0x579402['from']==_0x37e2d4['from']&&_0x579402['to']==_0x37e2d4['to'])return _0xdf9695(_0x275fd2(_0x25728c['from'],_0x25728c['to'],_0x579402));{let _0x8da95c=_0x579402?_0x275fd2(_0x25728c['from'],null,_0x579402):_0x4185eb(_0x3b6891,!0x1),_0x1a80e3=_0x37e2d4?_0x275fd2(null,_0x25728c['to'],_0x37e2d4):_0x4185eb(_0x5dc2f1,!0x0),_0x308f58=[];return(_0x579402||_0x3b6891)['to']<(_0x37e2d4||_0x5dc2f1)['from']-(_0x579402&&_0x37e2d4?0x1:0x0)||_0x3b6891['widgetLineBreaks']>0x1&&_0x8da95c['bottom']+_0x34dbca['defaultLineHeight']/0x2<_0x1a80e3['top']?_0x308f58['push'](_0x3a02aa(_0x39d2c7,_0x8da95c['bottom'],_0x3f99ad,_0x1a80e3['top'])):_0x8da95c['bottom']<_0x1a80e3['top']&&_0x34dbca['elementAtHeight']((_0x8da95c['bottom']+_0x1a80e3['top'])/0x2)['type']==_0x236364['Text']&&(_0x8da95c['bottom']=_0x1a80e3['top']=(_0x8da95c['bottom']+_0x1a80e3['top'])/0x2),_0xdf9695(_0x8da95c)['concat'](_0x308f58)['concat'](_0xdf9695(_0x1a80e3));}function _0x3a02aa(_0x4035b3,_0x15ebcc,_0x5bc24a,_0x5bcbfd){return new RectangleMarker(_0x2555e7,_0x4035b3-_0x44d159['left'],_0x15ebcc-_0x44d159['top'],_0x5bc24a-_0x4035b3,_0x5bcbfd-_0x15ebcc);}function _0xdf9695({top:_0x38c853,bottom:_0x44bbfe,horizontal:_0x4efaf9}){let _0x202fd0=[];for(let _0x3c875e=0x0;_0x3c875e<_0x4efaf9['length'];_0x3c875e+=0x2)_0x202fd0['push'](_0x3a02aa(_0x4efaf9[_0x3c875e],_0x38c853,_0x4efaf9[_0x3c875e+0x1],_0x44bbfe));return _0x202fd0;}function _0x275fd2(_0x399203,_0x44058b,_0x57c49f){let _0x276f88=0x3b9aca00,_0x25d596=-0x3b9aca00,_0x43d6ac=[];function _0x3a1149(_0x48470e,_0x15295c,_0x18f61a,_0x18b38f,_0x3e9632){let _0x15e3b2=_0x34dbca['coordsAtPos'](_0x48470e,_0x48470e==_0x57c49f['to']?-0x2:0x2),_0x5cd92d=_0x34dbca['coordsAtPos'](_0x18f61a,_0x18f61a==_0x57c49f['from']?0x2:-0x2);_0x15e3b2&&_0x5cd92d&&(_0x276f88=Math['min'](_0x15e3b2['top'],_0x5cd92d['top'],_0x276f88),_0x25d596=Math['max'](_0x15e3b2['bottom'],_0x5cd92d['bottom'],_0x25d596),_0x3e9632==_0xdbef2e['LTR']?_0x43d6ac['push'](_0x323682&&_0x15295c?_0x39d2c7:_0x15e3b2['left'],_0x323682&&_0x18b38f?_0x3f99ad:_0x5cd92d['right']):_0x43d6ac['push'](!_0x323682&&_0x18b38f?_0x39d2c7:_0x5cd92d['left'],!_0x323682&&_0x15295c?_0x3f99ad:_0x15e3b2['right']));}let _0x594af0=null!=_0x399203?_0x399203:_0x57c49f['from'],_0x4e4bcc=null!=_0x44058b?_0x44058b:_0x57c49f['to'];for(let _0x430069 of _0x34dbca['visibleRanges'])if(_0x430069['to']>_0x594af0&&_0x430069['from']<_0x4e4bcc)for(let _0x44c73c=Math['max'](_0x430069['from'],_0x594af0),_0x3bdb0e=Math['min'](_0x430069['to'],_0x4e4bcc);;){let _0x46c4dd=_0x34dbca['state']['doc']['lineAt'](_0x44c73c);for(let _0x551917 of _0x34dbca['bidiSpans'](_0x46c4dd)){let _0x1208f2=_0x551917['from']+_0x46c4dd['from'],_0x3498a1=_0x551917['to']+_0x46c4dd['from'];if(_0x1208f2>=_0x3bdb0e)break;_0x3498a1>_0x44c73c&&_0x3a1149(Math['max'](_0x1208f2,_0x44c73c),null==_0x399203&&_0x1208f2<=_0x594af0,Math['min'](_0x3498a1,_0x3bdb0e),null==_0x44058b&&_0x3498a1>=_0x4e4bcc,_0x551917['dir']);}if(_0x44c73c=_0x46c4dd['to']+0x1,_0x44c73c>=_0x3bdb0e)break;}return 0x0==_0x43d6ac['length']&&_0x3a1149(_0x594af0,null==_0x399203,_0x4e4bcc,null==_0x44058b,_0x34dbca['textDirection']),{'top':_0x276f88,'bottom':_0x25d596,'horizontal':_0x43d6ac};}function _0x4185eb(_0x174a53,_0x368de9){let _0x2e0e24=_0x4c6981['top']+(_0x368de9?_0x174a53['top']:_0x174a53['bottom']);return{'top':_0x2e0e24,'bottom':_0x2e0e24,'horizontal':[]};}}(_0x2c7681,_0x8772c1,_0x47ebd7);}}function _0x4e4574(_0x3f0859){let _0x2f4bb3=_0x3f0859['scrollDOM']['getBoundingClientRect']();return{'left':(_0x3f0859['textDirection']==_0xdbef2e['LTR']?_0x2f4bb3['left']:_0x2f4bb3['right']-_0x3f0859['scrollDOM']['clientWidth']*_0x3f0859['scaleX'])-_0x3f0859['scrollDOM']['scrollLeft']*_0x3f0859['scaleX'],'top':_0x2f4bb3['top']-_0x3f0859['scrollDOM']['scrollTop']*_0x3f0859['scaleY']};}function _0x29cc72(_0x570002,_0x1000c2,_0x5093af,_0x1cffd3){let _0x425012=_0x570002['coordsAtPos'](_0x1000c2,0x2*_0x5093af);if(!_0x425012)return _0x1cffd3;let _0x546d6d=_0x570002['dom']['getBoundingClientRect'](),_0x551b43=(_0x425012['top']+_0x425012['bottom'])/0x2,_0x58fe04=_0x570002['posAtCoords']({'x':_0x546d6d['left']+0x1,'y':_0x551b43}),_0x5d4441=_0x570002['posAtCoords']({'x':_0x546d6d['right']-0x1,'y':_0x551b43});return null==_0x58fe04||null==_0x5d4441?_0x1cffd3:{'from':Math['max'](_0x1cffd3['from'],Math['min'](_0x58fe04,_0x5d4441)),'to':Math['min'](_0x1cffd3['to'],Math['max'](_0x58fe04,_0x5d4441))};}class _0x5aa42a{constructor(_0xd8e2da,_0x329176){this['view']=_0xd8e2da,this['layer']=_0x329176,this['drawn']=[],this['scaleX']=0x1,this['scaleY']=0x1,this['measureReq']={'read':this['measure']['bind'](this),'write':this['draw']['bind'](this)},this['dom']=_0xd8e2da['scrollDOM']['appendChild'](document['createElement']('div')),this['dom']['classList']['add']('cm-layer'),_0x329176['above']&&this['dom']['classList']['add']('cm-layer-above'),_0x329176['class']&&this['dom']['classList']['add'](_0x329176['class']),this['scale'](),this['dom']['setAttribute']('aria-hidden','true'),this['setOrder'](_0xd8e2da['state']),_0xd8e2da['requestMeasure'](this['measureReq']),_0x329176['mount']&&_0x329176['mount'](this['dom'],_0xd8e2da);}['update'](_0x506233){_0x506233['startState']['facet'](_0x589afe)!=_0x506233['state']['facet'](_0x589afe)&&this['setOrder'](_0x506233['state']),(this['layer']['update'](_0x506233,this['dom'])||_0x506233['geometryChanged'])&&(this['scale'](),_0x506233['view']['requestMeasure'](this['measureReq']));}['docViewUpdate'](_0x9cb74){!0x1!==this['layer']['updateOnDocViewUpdate']&&_0x9cb74['requestMeasure'](this['measureReq']);}['setOrder'](_0x26af4f){let _0x2e7c66=0x0,_0x144c69=_0x26af4f['facet'](_0x589afe);for(;_0x2e7c66<_0x144c69['length']&&_0x144c69[_0x2e7c66]!=this['layer'];)_0x2e7c66++;this['dom']['style']['zIndex']=String((this['layer']['above']?0x96:-0x1)-_0x2e7c66);}['measure'](){return this['layer']['markers'](this['view']);}['scale'](){let {scaleX:_0x19205e,scaleY:_0x6839d8}=this['view'];_0x19205e==this['scaleX']&&_0x6839d8==this['scaleY']||(this['scaleX']=_0x19205e,this['scaleY']=_0x6839d8,this['dom']['style']['transform']='scale('+0x1/_0x19205e+',\x20'+0x1/_0x6839d8+')');}['draw'](_0x207032){if(_0x207032['length']!=this['drawn']['length']||_0x207032['some']((_0x3d187a,_0x14f186)=>!function(_0x31d7b6,_0x1f4559){return _0x31d7b6['constructor']==_0x1f4559['constructor']&&_0x31d7b6['eq'](_0x1f4559);}(_0x3d187a,this['drawn'][_0x14f186]))){let _0x3436be=this['dom']['firstChild'],_0x55233d=0x0;for(let _0x5ee42c of _0x207032)_0x5ee42c['update']&&_0x3436be&&_0x5ee42c['constructor']&&this['drawn'][_0x55233d]['constructor']&&_0x5ee42c['update'](_0x3436be,this['drawn'][_0x55233d])?(_0x3436be=_0x3436be['nextSibling'],_0x55233d++):this['dom']['insertBefore'](_0x5ee42c['draw'](),_0x3436be);for(;_0x3436be;){let _0x272080=_0x3436be['nextSibling'];_0x3436be['remove'](),_0x3436be=_0x272080;}this['drawn']=_0x207032,_0x7f953['safari']&&_0x7f953['safari_version']>=0x1a&&(this['dom']['style']['display']=this['dom']['firstChild']?'':'none');}}['destroy'](){this['layer']['destroy']&&this['layer']['destroy'](this['dom'],this['view']),this['dom']['remove']();}}const _0x589afe=Facet['define']();function _0x1815ee(_0x1c5ac4){return[_0x26068f['define'](_0x32a325=>new _0x5aa42a(_0x32a325,_0x1c5ac4)),_0x589afe['of'](_0x1c5ac4)];}const _0x4d6056=Facet['define']({'combine':_0x22aadb=>_0x20b1bc(_0x22aadb,{'cursorBlinkRate':0x4b0,'drawRangeCursor':!0x0},{'cursorBlinkRate':(_0x15e92a,_0x3e31c3)=>Math['min'](_0x15e92a,_0x3e31c3),'drawRangeCursor':(_0x4dcaec,_0x4bb79b)=>_0x4dcaec||_0x4bb79b})});function _0x1117f8(_0x65886a={}){return[_0x4d6056['of'](_0x65886a),_0x22e723,_0x429658,_0x3e4d05,_0x1cbc5d['of'](!0x0)];}function _0x29565d(_0x1ebe8c){return _0x1ebe8c['startState']['facet'](_0x4d6056)!=_0x1ebe8c['state']['facet'](_0x4d6056);}const _0x22e723=_0x1815ee({'above':!0x0,'markers'(_0x393266){let {state:_0x8035d1}=_0x393266,_0x11f629=_0x8035d1['facet'](_0x4d6056),_0x33e065=[];for(let _0x3bc2b1 of _0x8035d1['selection']['ranges']){let _0x504756=_0x3bc2b1==_0x8035d1['selection']['main'];if(_0x3bc2b1['empty']||_0x11f629['drawRangeCursor']){let _0x53641e=_0x504756?'cm-cursor\x20cm-cursor-primary':'cm-cursor\x20cm-cursor-secondary',_0x12e39b=_0x3bc2b1['empty']?_0x3bc2b1:EditorSelection['cursor'](_0x3bc2b1['head'],_0x3bc2b1['head']>_0x3bc2b1['anchor']?-0x1:0x1);for(let _0x406128 of RectangleMarker['forRange'](_0x393266,_0x53641e,_0x12e39b))_0x33e065['push'](_0x406128);}}return _0x33e065;},'update'(_0x62d907,_0x28c2a7){_0x62d907['transactions']['some'](_0x18c9d4=>_0x18c9d4['selection'])&&(_0x28c2a7['style']['animationName']='cm-blink'==_0x28c2a7['style']['animationName']?'cm-blink2':'cm-blink');let _0x991a22=_0x29565d(_0x62d907);return _0x991a22&&_0xabe344(_0x62d907['state'],_0x28c2a7),_0x62d907['docChanged']||_0x62d907['selectionSet']||_0x991a22;},'mount'(_0x59a770,_0x253014){_0xabe344(_0x253014['state'],_0x59a770);},'class':'cm-cursorLayer'});function _0xabe344(_0x3def87,_0xb69e56){_0xb69e56['style']['animationDuration']=_0x3def87['facet'](_0x4d6056)['cursorBlinkRate']+'ms';}const _0x429658=_0x1815ee({'above':!0x1,'markers':_0x5053e1=>_0x5053e1['state']['selection']['ranges']['map'](_0x558950=>_0x558950['empty']?[]:RectangleMarker['forRange'](_0x5053e1,'cm-selectionBackground',_0x558950))['reduce']((_0x5bde2b,_0x35dbff)=>_0x5bde2b['concat'](_0x35dbff)),'update':(_0x127e94,_0x189956)=>_0x127e94['docChanged']||_0x127e94['selectionSet']||_0x127e94['viewportChanged']||_0x29565d(_0x127e94),'class':'cm-selectionLayer'}),_0x3e4d05=_0x4b04a1['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'}}}})),_0x5dc18b=StateEffect['define']({'map':(_0x14460a,_0x1d16c5)=>null==_0x14460a?null:_0x1d16c5['mapPos'](_0x14460a)}),_0x4fa5a5=StateField['define']({'create':()=>null,'update':(_0x1bd9b9,_0x592d32)=>(null!=_0x1bd9b9&&(_0x1bd9b9=_0x592d32['changes']['mapPos'](_0x1bd9b9)),_0x592d32['effects']['reduce']((_0x50f8d7,_0x4416e9)=>_0x4416e9['is'](_0x5dc18b)?_0x4416e9['value']:_0x50f8d7,_0x1bd9b9))}),_0x472eff=_0x26068f['fromClass'](class{constructor(_0x50277a){this['view']=_0x50277a,this['cursor']=null,this['measureReq']={'read':this['readPos']['bind'](this),'write':this['drawCursor']['bind'](this)};}['update'](_0x5909f7){var _0x602754;let _0x175291=_0x5909f7['state']['field'](_0x4fa5a5);null==_0x175291?null!=this['cursor']&&(null===(_0x602754=this['cursor'])||void 0x0===_0x602754||_0x602754['remove'](),this['cursor']=null):(this['cursor']||(this['cursor']=this['view']['scrollDOM']['appendChild'](document['createElement']('div')),this['cursor']['className']='cm-dropCursor'),(_0x5909f7['startState']['field'](_0x4fa5a5)!=_0x175291||_0x5909f7['docChanged']||_0x5909f7['geometryChanged'])&&this['view']['requestMeasure'](this['measureReq']));}['readPos'](){let {view:_0x1ebec5}=this,_0x145189=_0x1ebec5['state']['field'](_0x4fa5a5),_0x372277=null!=_0x145189&&_0x1ebec5['coordsAtPos'](_0x145189);if(!_0x372277)return null;let _0x179830=_0x1ebec5['scrollDOM']['getBoundingClientRect']();return{'left':_0x372277['left']-_0x179830['left']+_0x1ebec5['scrollDOM']['scrollLeft']*_0x1ebec5['scaleX'],'top':_0x372277['top']-_0x179830['top']+_0x1ebec5['scrollDOM']['scrollTop']*_0x1ebec5['scaleY'],'height':_0x372277['bottom']-_0x372277['top']};}['drawCursor'](_0x37761c){if(this['cursor']){let {scaleX:_0x278e3e,scaleY:_0x28ddb7}=this['view'];_0x37761c?(this['cursor']['style']['left']=_0x37761c['left']/_0x278e3e+'px',this['cursor']['style']['top']=_0x37761c['top']/_0x28ddb7+'px',this['cursor']['style']['height']=_0x37761c['height']/_0x28ddb7+'px'):this['cursor']['style']['left']='-100000px';}}['destroy'](){this['cursor']&&this['cursor']['remove']();}['setDropPos'](_0x3cfe31){this['view']['state']['field'](_0x4fa5a5)!=_0x3cfe31&&this['view']['dispatch']({'effects':_0x5dc18b['of'](_0x3cfe31)});}},{'eventObservers':{'dragover'(_0x288c34){this['setDropPos'](this['view']['posAtCoords']({'x':_0x288c34['clientX'],'y':_0x288c34['clientY']}));},'dragleave'(_0x4cad9a){_0x4cad9a['target']!=this['view']['contentDOM']&&this['view']['contentDOM']['contains'](_0x4cad9a['relatedTarget'])||this['setDropPos'](null);},'dragend'(){this['setDropPos'](null);},'drop'(){this['setDropPos'](null);}}});function _0x56731d(){return[_0x4fa5a5,_0x472eff];}function _0x2318fb(_0x2674f5,_0x44ace3,_0x32d261,_0x26fa0c,_0x854b55){_0x44ace3['lastIndex']=0x0;for(let _0x16ffe1,_0x5d51e=_0x2674f5['iterRange'](_0x32d261,_0x26fa0c),_0x6c003d=_0x32d261;!_0x5d51e['next']()['done'];_0x6c003d+=_0x5d51e['value']['length'])if(!_0x5d51e['lineBreak']){for(;_0x16ffe1=_0x44ace3['exec'](_0x5d51e['value']);)_0x854b55(_0x6c003d+_0x16ffe1['index'],_0x16ffe1);}}class MatchDecorator{constructor(_0x5e2936){const {regexp:_0x33e489,decoration:_0x541f75,decorate:_0x3671f6,boundary:_0x6f2d9,maxLength:_0x144746=0x3e8}=_0x5e2936;if(!_0x33e489['global'])throw new RangeError('The\x20regular\x20expression\x20given\x20to\x20MatchDecorator\x20should\x20have\x20its\x20\x27g\x27\x20flag\x20set');if(this['regexp']=_0x33e489,_0x3671f6)this['addMatch']=(_0x17d050,_0x3bb7e3,_0x108ce5,_0x5b64bf)=>_0x3671f6(_0x5b64bf,_0x108ce5,_0x108ce5+_0x17d050[0x0]['length'],_0x17d050,_0x3bb7e3);else{if('function'==typeof _0x541f75)this['addMatch']=(_0x43cd49,_0x3ed9ae,_0x1fdebb,_0x3e6321)=>{let _0x304b04=_0x541f75(_0x43cd49,_0x3ed9ae,_0x1fdebb);_0x304b04&&_0x3e6321(_0x1fdebb,_0x1fdebb+_0x43cd49[0x0]['length'],_0x304b04);};else{if(!_0x541f75)throw new RangeError('Either\x20\x27decorate\x27\x20or\x20\x27decoration\x27\x20should\x20be\x20provided\x20to\x20MatchDecorator');this['addMatch']=(_0x3740ef,_0x1c2579,_0x34aa33,_0x4abd7a)=>_0x4abd7a(_0x34aa33,_0x34aa33+_0x3740ef[0x0]['length'],_0x541f75);}}this['boundary']=_0x6f2d9,this['maxLength']=_0x144746;}['createDeco'](_0x3e1e34){let _0x12c457=new RangeSetBuilder(),_0x54527f=_0x12c457['add']['bind'](_0x12c457);for(let {from:_0xdba0ac,to:_0x319edd}of function(_0x512267,_0x6f775){let _0x447a6c=_0x512267['visibleRanges'];if(0x1==_0x447a6c['length']&&_0x447a6c[0x0]['from']==_0x512267['viewport']['from']&&_0x447a6c[0x0]['to']==_0x512267['viewport']['to'])return _0x447a6c;let _0x199980=[];for(let {from:_0x195471,to:_0x1bacec}of _0x447a6c)_0x195471=Math['max'](_0x512267['state']['doc']['lineAt'](_0x195471)['from'],_0x195471-_0x6f775),_0x1bacec=Math['min'](_0x512267['state']['doc']['lineAt'](_0x1bacec)['to'],_0x1bacec+_0x6f775),_0x199980['length']&&_0x199980[_0x199980['length']-0x1]['to']>=_0x195471?_0x199980[_0x199980['length']-0x1]['to']=_0x1bacec:_0x199980['push']({'from':_0x195471,'to':_0x1bacec});return _0x199980;}(_0x3e1e34,this['maxLength']))_0x2318fb(_0x3e1e34['state']['doc'],this['regexp'],_0xdba0ac,_0x319edd,(_0x44860e,_0x457451)=>this['addMatch'](_0x457451,_0x3e1e34,_0x44860e,_0x54527f));return _0x12c457['finish']();}['updateDeco'](_0x4f54bf,_0x4da38e){let _0x189752=0x3b9aca00,_0x38ddc7=-0x1;return _0x4f54bf['docChanged']&&_0x4f54bf['changes']['iterChanges']((_0x253157,_0x297c61,_0x44494c,_0x46bc71)=>{_0x46bc71>=_0x4f54bf['view']['viewport']['from']&&_0x44494c<=_0x4f54bf['view']['viewport']['to']&&(_0x189752=Math['min'](_0x44494c,_0x189752),_0x38ddc7=Math['max'](_0x46bc71,_0x38ddc7));}),_0x4f54bf['viewportMoved']||_0x38ddc7-_0x189752>0x3e8?this['createDeco'](_0x4f54bf['view']):_0x38ddc7>-0x1?this['updateRange'](_0x4f54bf['view'],_0x4da38e['map'](_0x4f54bf['changes']),_0x189752,_0x38ddc7):_0x4da38e;}['updateRange'](_0x3766d8,_0x3ed337,_0x220023,_0x3ecf17){for(let _0x52ea28 of _0x3766d8['visibleRanges']){let _0x3a945b=Math['max'](_0x52ea28['from'],_0x220023),_0x5d0964=Math['min'](_0x52ea28['to'],_0x3ecf17);if(_0x5d0964>=_0x3a945b){let _0xad7abe=_0x3766d8['state']['doc']['lineAt'](_0x3a945b),_0x275f5b=_0xad7abe['to']<_0x5d0964?_0x3766d8['state']['doc']['lineAt'](_0x5d0964):_0xad7abe,_0x8aff9e=Math['max'](_0x52ea28['from'],_0xad7abe['from']),_0x1e89b0=Math['min'](_0x52ea28['to'],_0x275f5b['to']);if(this['boundary']){for(;_0x3a945b>_0xad7abe['from'];_0x3a945b--)if(this['boundary']['test'](_0xad7abe['text'][_0x3a945b-0x1-_0xad7abe['from']])){_0x8aff9e=_0x3a945b;break;}for(;_0x5d0964<_0x275f5b['to'];_0x5d0964++)if(this['boundary']['test'](_0x275f5b['text'][_0x5d0964-_0x275f5b['from']])){_0x1e89b0=_0x5d0964;break;}}let _0x5ceb16,_0x986afe=[],_0x3a94d5=(_0x5aea2a,_0x7067bf,_0x116fbf)=>_0x986afe['push'](_0x116fbf['range'](_0x5aea2a,_0x7067bf));if(_0xad7abe==_0x275f5b){for(this['regexp']['lastIndex']=_0x8aff9e-_0xad7abe['from'];(_0x5ceb16=this['regexp']['exec'](_0xad7abe['text']))&&_0x5ceb16['index']<_0x1e89b0-_0xad7abe['from'];)this['addMatch'](_0x5ceb16,_0x3766d8,_0x5ceb16['index']+_0xad7abe['from'],_0x3a94d5);}else _0x2318fb(_0x3766d8['state']['doc'],this['regexp'],_0x8aff9e,_0x1e89b0,(_0x144bb9,_0x429bbf)=>this['addMatch'](_0x429bbf,_0x3766d8,_0x144bb9,_0x3a94d5));_0x3ed337=_0x3ed337['update']({'filterFrom':_0x8aff9e,'filterTo':_0x1e89b0,'filter':(_0x5c1ab6,_0x2a0441)=>_0x5c1ab6<_0x8aff9e||_0x2a0441>_0x1e89b0,'add':_0x986afe});}}return _0x3ed337;}}const _0x2e3b39=null!=/x/['unicode']?'gu':'g',_0x38220b=new RegExp('[\x00-\x08\x0a-\x1f\x7f-\u009f­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff￹-￼]',_0x2e3b39),_0xe6c30c={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 _0x783dce=null;const _0x54f682=Facet['define']({'combine'(_0x1935eb){let _0x24ed9a=_0x20b1bc(_0x1935eb,{'render':null,'specialChars':_0x38220b,'addSpecialChars':null});return(_0x24ed9a['replaceTabs']=!(function(){var _0x3fb1c6;if(null==_0x783dce&&'undefined'!=typeof document&&document['body']){let _0x5ca3f2=document['body']['style'];_0x783dce=null!=(null!==(_0x3fb1c6=_0x5ca3f2['tabSize'])&&void 0x0!==_0x3fb1c6?_0x3fb1c6:_0x5ca3f2['MozTabSize']);}return _0x783dce||!0x1;}()))&&(_0x24ed9a['specialChars']=new RegExp('\x09|'+_0x24ed9a['specialChars']['source'],_0x2e3b39)),_0x24ed9a['addSpecialChars']&&(_0x24ed9a['specialChars']=new RegExp(_0x24ed9a['specialChars']['source']+'|'+_0x24ed9a['addSpecialChars']['source'],_0x2e3b39)),_0x24ed9a;}});function _0x10d790(_0xa4628e={}){return[_0x54f682['of'](_0xa4628e),_0x577f88||(_0x577f88=_0x26068f['fromClass'](class{constructor(_0x5b9bd7){this['view']=_0x5b9bd7,this['decorations']=Decoration['none'],this['decorationCache']=Object['create'](null),this['decorator']=this['makeDecorator'](_0x5b9bd7['state']['facet'](_0x54f682)),this['decorations']=this['decorator']['createDeco'](_0x5b9bd7);}['makeDecorator'](_0x4fc816){return new MatchDecorator({'regexp':_0x4fc816['specialChars'],'decoration':(_0x159cd6,_0x2bf76b,_0x26411e)=>{let {doc:_0x2dfc63}=_0x2bf76b['state'],_0x5f3013=_0x511d55(_0x159cd6[0x0],0x0);if(0x9==_0x5f3013){let _0xf4384a=_0x2dfc63['lineAt'](_0x26411e),_0x4112e4=_0x2bf76b['state']['tabSize'],_0x29e394=_0x43a9eb(_0xf4384a['text'],_0x4112e4,_0x26411e-_0xf4384a['from']);return Decoration['replace']({'widget':new TabWidget((_0x4112e4-_0x29e394%_0x4112e4)*this['view']['defaultCharacterWidth']/this['view']['scaleX'])});}return this['decorationCache'][_0x5f3013]||(this['decorationCache'][_0x5f3013]=Decoration['replace']({'widget':new SpecialCharWidget(_0x4fc816,_0x5f3013)}));},'boundary':_0x4fc816['replaceTabs']?void 0x0:/[^]/});}['update'](_0x1be77c){let _0x5856f0=_0x1be77c['state']['facet'](_0x54f682);_0x1be77c['startState']['facet'](_0x54f682)!=_0x5856f0?(this['decorator']=this['makeDecorator'](_0x5856f0),this['decorations']=this['decorator']['createDeco'](_0x1be77c['view'])):this['decorations']=this['decorator']['updateDeco'](_0x1be77c,this['decorations']);}},{'decorations':_0x2d3573=>_0x2d3573['decorations']}))];}let _0x577f88=null;class SpecialCharWidget extends WidgetType{constructor(_0x19f4a1,_0x1fd7ce){super(),this['options']=_0x19f4a1,this['code']=_0x1fd7ce;}['eq'](_0x3998af){return _0x3998af['code']==this['code'];}['toDOM'](_0x118eed){let _0x48d6ed=function(_0x57c126){return _0x57c126>=0x20?'•':0xa==_0x57c126?'␤':String['fromCharCode'](0x2400+_0x57c126);}(this['code']),_0x462366=_0x118eed['state']['phrase']('Control\x20character')+'\x20'+(_0xe6c30c[this['code']]||'0x'+this['code']['toString'](0x10)),_0x521219=this['options']['render']&&this['options']['render'](this['code'],_0x462366,_0x48d6ed);if(_0x521219)return _0x521219;let _0x4922ac=document['createElement']('span');return _0x4922ac['textContent']=_0x48d6ed,_0x4922ac['title']=_0x462366,_0x4922ac['setAttribute']('aria-label',_0x462366),_0x4922ac['className']='cm-specialChar',_0x4922ac;}['ignoreEvent'](){return!0x1;}}class TabWidget extends WidgetType{constructor(_0x46fa4e){super(),this['width']=_0x46fa4e;}['eq'](_0x5c15a9){return _0x5c15a9['width']==this['width'];}['toDOM'](){let _0x4f1124=document['createElement']('span');return _0x4f1124['textContent']='\x09',_0x4f1124['className']='cm-tab',_0x4f1124['style']['width']=this['width']+'px',_0x4f1124;}['ignoreEvent'](){return!0x1;}}function _0x2691d8(){return _0x21e361;}const _0x37e69a=Decoration['line']({'class':'cm-activeLine'}),_0x21e361=_0x26068f['fromClass'](class{constructor(_0x101d15){this['decorations']=this['getDeco'](_0x101d15);}['update'](_0x3275db){(_0x3275db['docChanged']||_0x3275db['selectionSet'])&&(this['decorations']=this['getDeco'](_0x3275db['view']));}['getDeco'](_0x5ee4c5){let _0xe2414f=-0x1,_0x4d1871=[];for(let _0x27f85f of _0x5ee4c5['state']['selection']['ranges']){let _0x2328d7=_0x5ee4c5['lineBlockAt'](_0x27f85f['head']);_0x2328d7['from']>_0xe2414f&&(_0x4d1871['push'](_0x37e69a['range'](_0x2328d7['from'])),_0xe2414f=_0x2328d7['from']);}return Decoration['set'](_0x4d1871);}},{'decorations':_0x31618a=>_0x31618a['decorations']}),_0xef143e=0x7d0;function _0x1436dc(_0x4e4766,_0x1e7c4e){let _0x53a9a8=_0x4e4766['posAtCoords']({'x':_0x1e7c4e['clientX'],'y':_0x1e7c4e['clientY']},!0x1),_0x4aae55=_0x4e4766['state']['doc']['lineAt'](_0x53a9a8),_0x344750=_0x53a9a8-_0x4aae55['from'],_0x48a03c=_0x344750>_0xef143e?-0x1:_0x344750==_0x4aae55['length']?function(_0x167a1e,_0x3656ea){let _0x47a805=_0x167a1e['coordsAtPos'](_0x167a1e['viewport']['from']);return _0x47a805?Math['round'](Math['abs']((_0x47a805['left']-_0x3656ea)/_0x167a1e['defaultCharacterWidth'])):-0x1;}(_0x4e4766,_0x1e7c4e['clientX']):_0x43a9eb(_0x4aae55['text'],_0x4e4766['state']['tabSize'],_0x53a9a8-_0x4aae55['from']);return{'line':_0x4aae55['number'],'col':_0x48a03c,'off':_0x344750};}function _0x55cdfb(_0x206fb8,_0x409e5a){let _0xb5f9d0=_0x1436dc(_0x206fb8,_0x409e5a),_0x413a1e=_0x206fb8['state']['selection'];return _0xb5f9d0?{'update'(_0x4e0fcb){if(_0x4e0fcb['docChanged']){let _0x2a49d1=_0x4e0fcb['changes']['mapPos'](_0x4e0fcb['startState']['doc']['line'](_0xb5f9d0['line'])['from']),_0x3a4c01=_0x4e0fcb['state']['doc']['lineAt'](_0x2a49d1);_0xb5f9d0={'line':_0x3a4c01['number'],'col':_0xb5f9d0['col'],'off':Math['min'](_0xb5f9d0['off'],_0x3a4c01['length'])},_0x413a1e=_0x413a1e['map'](_0x4e0fcb['changes']);}},'get'(_0x33d535,_0x58216d,_0x2ba916){let _0x33e501=_0x1436dc(_0x206fb8,_0x33d535);if(!_0x33e501)return _0x413a1e;let _0x131d28=function(_0x59db44,_0x161d12,_0x229033){let _0x180d91=Math['min'](_0x161d12['line'],_0x229033['line']),_0x42dbf3=Math['max'](_0x161d12['line'],_0x229033['line']),_0x22c8db=[];if(_0x161d12['off']>_0xef143e||_0x229033['off']>_0xef143e||_0x161d12['col']<0x0||_0x229033['col']<0x0){let _0x4945b0=Math['min'](_0x161d12['off'],_0x229033['off']),_0x32cee9=Math['max'](_0x161d12['off'],_0x229033['off']);for(let _0x40742e=_0x180d91;_0x40742e<=_0x42dbf3;_0x40742e++){let _0x1a1f39=_0x59db44['doc']['line'](_0x40742e);_0x1a1f39['length']<=_0x32cee9&&_0x22c8db['push'](EditorSelection['range'](_0x1a1f39['from']+_0x4945b0,_0x1a1f39['to']+_0x32cee9));}}else{let _0x196486=Math['min'](_0x161d12['col'],_0x229033['col']),_0x2d7585=Math['max'](_0x161d12['col'],_0x229033['col']);for(let _0x3f84b5=_0x180d91;_0x3f84b5<=_0x42dbf3;_0x3f84b5++){let _0x339e0e=_0x59db44['doc']['line'](_0x3f84b5),_0x1b0c73=_0x410c4e(_0x339e0e['text'],_0x196486,_0x59db44['tabSize'],!0x0);if(_0x1b0c73<0x0)_0x22c8db['push'](EditorSelection['cursor'](_0x339e0e['to']));else{let _0x3f7d4a=_0x410c4e(_0x339e0e['text'],_0x2d7585,_0x59db44['tabSize']);_0x22c8db['push'](EditorSelection['range'](_0x339e0e['from']+_0x1b0c73,_0x339e0e['from']+_0x3f7d4a));}}}return _0x22c8db;}(_0x206fb8['state'],_0xb5f9d0,_0x33e501);return _0x131d28['length']?_0x2ba916?EditorSelection['create'](_0x131d28['concat'](_0x413a1e['ranges'])):EditorSelection['create'](_0x131d28):_0x413a1e;}}:null;}function _0x2da338(_0x34e790){return EditorView['mouseSelectionStyle']['of']((_0x458a5c,_0x42a9b6)=>{return(_0x5e669e=_0x42a9b6)['altKey']&&0x0==_0x5e669e['button']?_0x55cdfb(_0x458a5c,_0x42a9b6):null;var _0x5e669e;});}const _0x217e9a={'Alt':[0x12,_0x1133c4=>!!_0x1133c4['altKey']],'Control':[0x11,_0x11ef36=>!!_0x11ef36['ctrlKey']],'Shift':[0x10,_0x8e0078=>!!_0x8e0078['shiftKey']],'Meta':[0x5b,_0x57b2c3=>!!_0x57b2c3['metaKey']]},_0x41ffc3={'style':'cursor:\x20crosshair'};function _0x3139ea(_0x387f82={}){let [_0x507196,_0x23e42a]=_0x217e9a[_0x387f82['key']||'Alt'],_0x16421d=_0x26068f['fromClass'](class{constructor(_0x54f3ba){this['view']=_0x54f3ba,this['isDown']=!0x1;}['set'](_0xe3257a){this['isDown']!=_0xe3257a&&(this['isDown']=_0xe3257a,this['view']['update']([]));}},{'eventObservers':{'keydown'(_0x53b9ba){this['set'](_0x53b9ba['keyCode']==_0x507196||_0x23e42a(_0x53b9ba));},'keyup'(_0x23e013){_0x23e013['keyCode']!=_0x507196&&_0x23e42a(_0x23e013)||this['set'](!0x1);},'mousemove'(_0x4deed8){this['set'](_0x23e42a(_0x4deed8));}}});return[_0x16421d,EditorView['contentAttributes']['of'](_0xf3762d=>{var _0xa69731;return(null===(_0xa69731=_0xf3762d['plugin'](_0x16421d))||void 0x0===_0xa69731?void 0x0:_0xa69731['isDown'])?_0x41ffc3:null;})];}const _0x233e7e='-10000px';class TooltipViewManager{constructor(_0x46f330,_0x151c7d,_0x35d2c8,_0x5c3c83){this['facet']=_0x151c7d,this['createTooltipView']=_0x35d2c8,this['removeTooltipView']=_0x5c3c83,this['input']=_0x46f330['state']['facet'](_0x151c7d),this['tooltips']=this['input']['filter'](t=>t);let _0x4986a6=null;this['tooltipViews']=this['tooltips']['map'](t=>_0x4986a6=_0x35d2c8(t,_0x4986a6));}['update'](_0x46ae56,_0x3a448c){var _0x3a02a0;let _0x1825ba=_0x46ae56['state']['facet'](this['facet']),_0xc7e914=_0x1825ba['filter'](_0x258464=>_0x258464);if(_0x1825ba===this['input']){for(let t of this['tooltipViews'])t['update']&&t['update'](_0x46ae56);return!0x1;}let _0x213acd=[],_0x44838d=_0x3a448c?[]:null;for(let _0x109d4f=0x0;_0x109d4f<_0xc7e914['length'];_0x109d4f++){let _0xfd32db=_0xc7e914[_0x109d4f],_0x20d4a2=-0x1;if(_0xfd32db){for(let _0x4e5776=0x0;_0x4e5776<this['tooltips']['length'];_0x4e5776++){let _0x4b2893=this['tooltips'][_0x4e5776];_0x4b2893&&_0x4b2893['create']==_0xfd32db['create']&&(_0x20d4a2=_0x4e5776);}if(_0x20d4a2<0x0)_0x213acd[_0x109d4f]=this['createTooltipView'](_0xfd32db,_0x109d4f?_0x213acd[_0x109d4f-0x1]:null),_0x44838d&&(_0x44838d[_0x109d4f]=!!_0xfd32db['above']);else{let _0x263a7b=_0x213acd[_0x109d4f]=this['tooltipViews'][_0x20d4a2];_0x44838d&&(_0x44838d[_0x109d4f]=_0x3a448c[_0x20d4a2]),_0x263a7b['update']&&_0x263a7b['update'](_0x46ae56);}}}for(let t of this['tooltipViews'])_0x213acd['indexOf'](t)<0x0&&(this['removeTooltipView'](t),null===(_0x3a02a0=t['destroy'])||void 0x0===_0x3a02a0||_0x3a02a0['call'](t));return _0x3a448c&&(_0x44838d['forEach']((_0x5b7cc1,_0x4c5b1a)=>_0x3a448c[_0x4c5b1a]=_0x5b7cc1),_0x3a448c['length']=_0x44838d['length']),this['input']=_0x1825ba,this['tooltips']=_0xc7e914,this['tooltipViews']=_0x213acd,!0x0;}}function _0x15960f(_0x439342){let _0x1a8033=_0x439342['dom']['ownerDocument']['documentElement'];return{'top':0x0,'left':0x0,'bottom':_0x1a8033['clientHeight'],'right':_0x1a8033['clientWidth']};}const _0xae28cc=Facet['define']({'combine':_0x101789=>{var _0x3390a9,_0x413dac,_0x3d87ba;return{'position':_0x7f953['ios']?'absolute':(null===(_0x3390a9=_0x101789['find'](_0x12767c=>_0x12767c['position']))||void 0x0===_0x3390a9?void 0x0:_0x3390a9['position'])||'fixed','parent':(null===(_0x413dac=_0x101789['find'](_0x3498db=>_0x3498db['parent']))||void 0x0===_0x413dac?void 0x0:_0x413dac['parent'])||null,'tooltipSpace':(null===(_0x3d87ba=_0x101789['find'](_0x1c8a67=>_0x1c8a67['tooltipSpace']))||void 0x0===_0x3d87ba?void 0x0:_0x3d87ba['tooltipSpace'])||_0x15960f};}}),_0x147633=new WeakMap(),_0x4778ac=_0x26068f['fromClass'](class{constructor(_0x27f102){this['view']=_0x27f102,this['above']=[],this['inView']=!0x0,this['madeAbsolute']=!0x1,this['lastTransaction']=0x0,this['measureTimeout']=-0x1;let _0x3b7887=_0x27f102['state']['facet'](_0xae28cc);this['position']=_0x3b7887['position'],this['parent']=_0x3b7887['parent'],this['classes']=_0x27f102['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(_0x27f102,_0x4dfb75,(t,_0x56d109)=>this['createTooltip'](t,_0x56d109),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(_0x1b6c23=>{Date['now']()>this['lastTransaction']-0x32&&_0x1b6c23['length']>0x0&&_0x1b6c23[_0x1b6c23['length']-0x1]['intersectionRatio']<0x1&&this['measureSoon']();},{'threshold':[0x1]}):null,this['observeIntersection'](),_0x27f102['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 _0x2c390a of this['manager']['tooltipViews'])this['intersectionObserver']['observe'](_0x2c390a['dom']);}}['measureSoon'](){this['measureTimeout']<0x0&&(this['measureTimeout']=setTimeout(()=>{this['measureTimeout']=-0x1,this['maybeMeasure']();},0x32));}['update'](_0x362d9a){_0x362d9a['transactions']['length']&&(this['lastTransaction']=Date['now']());let _0x4df27e=this['manager']['update'](_0x362d9a,this['above']);_0x4df27e&&this['observeIntersection']();let _0x702b6b=_0x4df27e||_0x362d9a['geometryChanged'],_0x407bb3=_0x362d9a['state']['facet'](_0xae28cc);if(_0x407bb3['position']!=this['position']&&!this['madeAbsolute']){this['position']=_0x407bb3['position'];for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']=this['position'];_0x702b6b=!0x0;}if(_0x407bb3['parent']!=this['parent']){this['parent']&&this['container']['remove'](),this['parent']=_0x407bb3['parent'],this['createContainer']();for(let t of this['manager']['tooltipViews'])this['container']['appendChild'](t['dom']);_0x702b6b=!0x0;}else this['parent']&&this['view']['themeClasses']!=this['classes']&&(this['classes']=this['container']['className']=this['view']['themeClasses']);_0x702b6b&&this['maybeMeasure']();}['createTooltip'](_0x2581bc,_0x3b071b){let _0x34858f=_0x2581bc['create'](this['view']),_0x358c81=_0x3b071b?_0x3b071b['dom']:null;if(_0x34858f['dom']['classList']['add']('cm-tooltip'),_0x2581bc['arrow']&&!_0x34858f['dom']['querySelector']('.cm-tooltip\x20>\x20.cm-tooltip-arrow')){let _0x9db8c9=document['createElement']('div');_0x9db8c9['className']='cm-tooltip-arrow',_0x34858f['dom']['appendChild'](_0x9db8c9);}return _0x34858f['dom']['style']['position']=this['position'],_0x34858f['dom']['style']['top']=_0x233e7e,_0x34858f['dom']['style']['left']='0px',this['container']['insertBefore'](_0x34858f['dom'],_0x358c81),_0x34858f['mount']&&_0x34858f['mount'](this['view']),this['resizeObserver']&&this['resizeObserver']['observe'](_0x34858f['dom']),_0x34858f;}['destroy'](){var _0x1a3d1b,_0x54ff32,_0x2e31a3;this['view']['win']['removeEventListener']('resize',this['measureSoon']);for(let _0xe7f199 of this['manager']['tooltipViews'])_0xe7f199['dom']['remove'](),null===(_0x1a3d1b=_0xe7f199['destroy'])||void 0x0===_0x1a3d1b||_0x1a3d1b['call'](_0xe7f199);this['parent']&&this['container']['remove'](),null===(_0x54ff32=this['resizeObserver'])||void 0x0===_0x54ff32||_0x54ff32['disconnect'](),null===(_0x2e31a3=this['intersectionObserver'])||void 0x0===_0x2e31a3||_0x2e31a3['disconnect'](),clearTimeout(this['measureTimeout']);}['readMeasure'](){let _0x1607aa=0x1,_0x56ca3b=0x1,_0x2b5b46=!0x1;if('fixed'==this['position']&&this['manager']['tooltipViews']['length']){let {dom:_0x5f33bd}=this['manager']['tooltipViews'][0x0];if(_0x7f953['gecko'])_0x2b5b46=_0x5f33bd['offsetParent']!=this['container']['ownerDocument']['body'];else{if(_0x5f33bd['style']['top']==_0x233e7e&&'0px'==_0x5f33bd['style']['left']){let _0x195e07=_0x5f33bd['getBoundingClientRect']();_0x2b5b46=Math['abs'](_0x195e07['top']+0x2710)>0x1||Math['abs'](_0x195e07['left'])>0x1;}}}if(_0x2b5b46||'absolute'==this['position']){if(this['parent']){let _0x4fff10=this['parent']['getBoundingClientRect']();_0x4fff10['width']&&_0x4fff10['height']&&(_0x1607aa=_0x4fff10['width']/this['parent']['offsetWidth'],_0x56ca3b=_0x4fff10['height']/this['parent']['offsetHeight']);}else({scaleX:_0x1607aa,scaleY:_0x56ca3b}=this['view']['viewState']);}let _0x7e3991=this['view']['scrollDOM']['getBoundingClientRect'](),_0x3b73d7=_0x2ad99e(this['view']);return{'visible':{'left':_0x7e3991['left']+_0x3b73d7['left'],'top':_0x7e3991['top']+_0x3b73d7['top'],'right':_0x7e3991['right']-_0x3b73d7['right'],'bottom':_0x7e3991['bottom']-_0x3b73d7['bottom']},'parent':this['parent']?this['container']['getBoundingClientRect']():this['view']['dom']['getBoundingClientRect'](),'pos':this['manager']['tooltips']['map']((t,_0xe839a8)=>{let _0x1099dd=this['manager']['tooltipViews'][_0xe839a8];return _0x1099dd['getCoords']?_0x1099dd['getCoords'](t['pos']):this['view']['coordsAtPos'](t['pos']);}),'size':this['manager']['tooltipViews']['map'](({dom:_0x2770b1})=>_0x2770b1['getBoundingClientRect']()),'space':this['view']['state']['facet'](_0xae28cc)['tooltipSpace'](this['view']),'scaleX':_0x1607aa,'scaleY':_0x56ca3b,'makeAbsolute':_0x2b5b46};}['writeMeasure'](_0xe1de26){var _0x2c26db;if(_0xe1de26['makeAbsolute']){this['madeAbsolute']=!0x0,this['position']='absolute';for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']='absolute';}let {visible:_0x39362a,space:_0x4f27b8,scaleX:_0x550fd4,scaleY:_0x1094c8}=_0xe1de26,_0x32d0af=[];for(let _0x4777a2=0x0;_0x4777a2<this['manager']['tooltips']['length'];_0x4777a2++){let _0x12104c=this['manager']['tooltips'][_0x4777a2],_0x2757f0=this['manager']['tooltipViews'][_0x4777a2],{dom:_0x210afb}=_0x2757f0,_0xb0a322=_0xe1de26['pos'][_0x4777a2],_0x33fdf8=_0xe1de26['size'][_0x4777a2];if(!_0xb0a322||!0x1!==_0x12104c['clip']&&(_0xb0a322['bottom']<=Math['max'](_0x39362a['top'],_0x4f27b8['top'])||_0xb0a322['top']>=Math['min'](_0x39362a['bottom'],_0x4f27b8['bottom'])||_0xb0a322['right']<Math['max'](_0x39362a['left'],_0x4f27b8['left'])-0.1||_0xb0a322['left']>Math['min'](_0x39362a['right'],_0x4f27b8['right'])+0.1)){_0x210afb['style']['top']=_0x233e7e;continue;}let _0x1387af=_0x12104c['arrow']?_0x2757f0['dom']['querySelector']('.cm-tooltip-arrow'):null,_0x3e3c97=_0x1387af?0x7:0x0,_0x750910=_0x33fdf8['right']-_0x33fdf8['left'],_0x358153=null!==(_0x2c26db=_0x147633['get'](_0x2757f0))&&void 0x0!==_0x2c26db?_0x2c26db:_0x33fdf8['bottom']-_0x33fdf8['top'],_0x3a00e6=_0x2757f0['offset']||ty,_0x3eb674=this['view']['textDirection']==_0xdbef2e['LTR'],_0x355c59=_0x33fdf8['width']>_0x4f27b8['right']-_0x4f27b8['left']?_0x3eb674?_0x4f27b8['left']:_0x4f27b8['right']-_0x33fdf8['width']:_0x3eb674?Math['max'](_0x4f27b8['left'],Math['min'](_0xb0a322['left']-(_0x1387af?0xe:0x0)+_0x3a00e6['x'],_0x4f27b8['right']-_0x750910)):Math['min'](Math['max'](_0x4f27b8['left'],_0xb0a322['left']-_0x750910+(_0x1387af?0xe:0x0)-_0x3a00e6['x']),_0x4f27b8['right']-_0x750910),_0x283bd3=this['above'][_0x4777a2];!_0x12104c['strictSide']&&(_0x283bd3?_0xb0a322['top']-_0x358153-_0x3e3c97-_0x3a00e6['y']<_0x4f27b8['top']:_0xb0a322['bottom']+_0x358153+_0x3e3c97+_0x3a00e6['y']>_0x4f27b8['bottom'])&&_0x283bd3==_0x4f27b8['bottom']-_0xb0a322['bottom']>_0xb0a322['top']-_0x4f27b8['top']&&(_0x283bd3=this['above'][_0x4777a2]=!_0x283bd3);let _0x4a83e5=(_0x283bd3?_0xb0a322['top']-_0x4f27b8['top']:_0x4f27b8['bottom']-_0xb0a322['bottom'])-_0x3e3c97;if(_0x4a83e5<_0x358153&&!0x1!==_0x2757f0['resize']){if(_0x4a83e5<this['view']['defaultLineHeight']){_0x210afb['style']['top']=_0x233e7e;continue;}_0x147633['set'](_0x2757f0,_0x358153),_0x210afb['style']['height']=(_0x358153=_0x4a83e5)/_0x1094c8+'px';}else _0x210afb['style']['height']&&(_0x210afb['style']['height']='');let _0x19c99c=_0x283bd3?_0xb0a322['top']-_0x358153-_0x3e3c97-_0x3a00e6['y']:_0xb0a322['bottom']+_0x3e3c97+_0x3a00e6['y'],_0x5637f8=_0x355c59+_0x750910;if(!0x0!==_0x2757f0['overlap']){for(let _0xb22d07 of _0x32d0af)_0xb22d07['left']<_0x5637f8&&_0xb22d07['right']>_0x355c59&&_0xb22d07['top']<_0x19c99c+_0x358153&&_0xb22d07['bottom']>_0x19c99c&&(_0x19c99c=_0x283bd3?_0xb22d07['top']-_0x358153-0x2-_0x3e3c97:_0xb22d07['bottom']+_0x3e3c97+0x2);}if('absolute'==this['position']?(_0x210afb['style']['top']=(_0x19c99c-_0xe1de26['parent']['top'])/_0x1094c8+'px',_0x40efc0(_0x210afb,(_0x355c59-_0xe1de26['parent']['left'])/_0x550fd4)):(_0x210afb['style']['top']=_0x19c99c/_0x1094c8+'px',_0x40efc0(_0x210afb,_0x355c59/_0x550fd4)),_0x1387af){let _0x5cdfcf=_0xb0a322['left']+(_0x3eb674?_0x3a00e6['x']:-_0x3a00e6['x'])-(_0x355c59+0xe-0x7);_0x1387af['style']['left']=_0x5cdfcf/_0x550fd4+'px';}!0x0!==_0x2757f0['overlap']&&_0x32d0af['push']({'left':_0x355c59,'top':_0x19c99c,'right':_0x5637f8,'bottom':_0x19c99c+_0x358153}),_0x210afb['classList']['toggle']('cm-tooltip-above',_0x283bd3),_0x210afb['classList']['toggle']('cm-tooltip-below',!_0x283bd3),_0x2757f0['positioned']&&_0x2757f0['positioned'](_0xe1de26['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 _0x58cebc of this['manager']['tooltipViews'])_0x58cebc['dom']['style']['top']=_0x233e7e;}}},{'eventObservers':{'scroll'(){this['maybeMeasure']();}}});function _0x40efc0(_0x353398,_0x39130f){let _0x115326=parseInt(_0x353398['style']['left'],0xa);(isNaN(_0x115326)||Math['abs'](_0x39130f-_0x115326)>0x1)&&(_0x353398['style']['left']=_0x39130f+'px');}const _0x532681=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'}}}),ty={'x':0x0,'y':0x0},_0x4dfb75=Facet['define']({'enables':[_0x4778ac,_0x532681]});function _0xebf16d(_0x5761e5,_0x27c329){let _0x54cdc3=_0x5761e5['plugin'](_0x4778ac);if(!_0x54cdc3)return null;let _0x1b1cbf=_0x54cdc3['manager']['tooltips']['indexOf'](_0x27c329);return _0x1b1cbf<0x0?null:_0x54cdc3['manager']['tooltipViews'][_0x1b1cbf];}class GutterMarker extends _0x3b0969{['compare'](_0x4ca7c9){return this==_0x4ca7c9||this['constructor']==_0x4ca7c9['constructor']&&this['eq'](_0x4ca7c9);}['eq'](_0x311602){return!0x1;}['destroy'](_0x276bab){}}GutterMarker['prototype']['elementClass']='',GutterMarker['prototype']['toDOM']=void 0x0,GutterMarker['prototype']['mapMode']=_0x57c239['TrackBefore'],GutterMarker['prototype']['startSide']=GutterMarker['prototype']['endSide']=-0x1,GutterMarker['prototype']['point']=!0x0;const _0x467954=Facet['define'](),_0x37c8be=Facet['define'](),_0x14c42f={'class':'','renderEmptyElements':!0x1,'elementStyle':'','markers':()=>RangeSet['empty'],'lineMarker':()=>null,'widgetMarker':()=>null,'lineMarkerChange':null,'initialSpacer':null,'updateSpacer':null,'domEventHandlers':{},'side':'before'},_0x372daf=Facet['define']();function _0x345562(_0x32f6b5){return[_0x30876a(),_0x372daf['of']({..._0x14c42f,..._0x32f6b5})];}const _0x5188f2=Facet['define']({'combine':_0x589b15=>_0x589b15['some'](_0x338d33=>_0x338d33)});function _0x30876a(_0x2ee074){return[_0xbb610c];}const _0xbb610c=_0x26068f['fromClass'](class{constructor(_0x1a4723){this['view']=_0x1a4723,this['domAfter']=null,this['prevViewport']=_0x1a4723['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']=_0x1a4723['state']['facet'](_0x372daf)['map'](_0x10bc46=>new SingleGutterView(_0x1a4723,_0x10bc46)),this['fixed']=!_0x1a4723['state']['facet'](_0x5188f2);for(let _0x30c2e0 of this['gutters'])'after'==_0x30c2e0['config']['side']?this['getDOMAfter']()['appendChild'](_0x30c2e0['dom']):this['dom']['appendChild'](_0x30c2e0['dom']);this['fixed']&&(this['dom']['style']['position']='sticky'),this['syncGutters'](!0x1),_0x1a4723['scrollDOM']['insertBefore'](this['dom'],_0x1a4723['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'](_0x17cd1f){if(this['updateGutters'](_0x17cd1f)){let _0x507725=this['prevViewport'],_0x5a64e0=_0x17cd1f['view']['viewport'],_0x4d8f5e=Math['min'](_0x507725['to'],_0x5a64e0['to'])-Math['max'](_0x507725['from'],_0x5a64e0['from']);this['syncGutters'](_0x4d8f5e<0.8*(_0x5a64e0['to']-_0x5a64e0['from']));}if(_0x17cd1f['geometryChanged']){let _0x347fc6=this['view']['contentHeight']/this['view']['scaleY']+'px';this['dom']['style']['minHeight']=_0x347fc6,this['domAfter']&&(this['domAfter']['style']['minHeight']=_0x347fc6);}this['view']['state']['facet'](_0x5188f2)!=!this['fixed']&&(this['fixed']=!this['fixed'],this['dom']['style']['position']=this['fixed']?'sticky':'',this['domAfter']&&(this['domAfter']['style']['position']=this['fixed']?'sticky':'')),this['prevViewport']=_0x17cd1f['view']['viewport'];}['syncGutters'](_0x2ec5ec){let _0x479962=this['dom']['nextSibling'];_0x2ec5ec&&(this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']());let _0x3d0565=RangeSet['iter'](this['view']['state']['facet'](_0x467954),this['view']['viewport']['from']),_0x4c51f1=[],_0x3c5860=this['gutters']['map'](_0x234d9f=>new UpdateContext(_0x234d9f,this['view']['viewport'],-this['view']['documentPadding']['top']));for(let _0x4a9287 of this['view']['viewportLineBlocks'])if(_0x4c51f1['length']&&(_0x4c51f1=[]),Array['isArray'](_0x4a9287['type'])){let _0x1e22bb=!0x0;for(let _0xb894ec of _0x4a9287['type'])if(_0xb894ec['type']==_0x236364['Text']&&_0x1e22bb){_0x12b95a(_0x3d0565,_0x4c51f1,_0xb894ec['from']);for(let _0x3470f1 of _0x3c5860)_0x3470f1['line'](this['view'],_0xb894ec,_0x4c51f1);_0x1e22bb=!0x1;}else{if(_0xb894ec['widget']){for(let _0x3ed2f of _0x3c5860)_0x3ed2f['widget'](this['view'],_0xb894ec);}}}else{if(_0x4a9287['type']==_0x236364['Text']){_0x12b95a(_0x3d0565,_0x4c51f1,_0x4a9287['from']);for(let _0x3106d0 of _0x3c5860)_0x3106d0['line'](this['view'],_0x4a9287,_0x4c51f1);}else{if(_0x4a9287['widget']){for(let _0x41c56a of _0x3c5860)_0x41c56a['widget'](this['view'],_0x4a9287);}}}for(let _0x2a72cb of _0x3c5860)_0x2a72cb['finish']();_0x2ec5ec&&(this['view']['scrollDOM']['insertBefore'](this['dom'],_0x479962),this['domAfter']&&this['view']['scrollDOM']['appendChild'](this['domAfter']));}['updateGutters'](_0x566af4){let _0x297c20=_0x566af4['startState']['facet'](_0x372daf),_0x571eae=_0x566af4['state']['facet'](_0x372daf),_0x22e8e=_0x566af4['docChanged']||_0x566af4['heightChanged']||_0x566af4['viewportChanged']||!RangeSet['eq'](_0x566af4['startState']['facet'](_0x467954),_0x566af4['state']['facet'](_0x467954),_0x566af4['view']['viewport']['from'],_0x566af4['view']['viewport']['to']);if(_0x297c20==_0x571eae){for(let _0x19f319 of this['gutters'])_0x19f319['update'](_0x566af4)&&(_0x22e8e=!0x0);}else{_0x22e8e=!0x0;let _0x3b3e36=[];for(let _0x4bae79 of _0x571eae){let _0x322a8f=_0x297c20['indexOf'](_0x4bae79);_0x322a8f<0x0?_0x3b3e36['push'](new SingleGutterView(this['view'],_0x4bae79)):(this['gutters'][_0x322a8f]['update'](_0x566af4),_0x3b3e36['push'](this['gutters'][_0x322a8f]));}for(let _0x40cf0d of this['gutters'])_0x40cf0d['dom']['remove'](),_0x3b3e36['indexOf'](_0x40cf0d)<0x0&&_0x40cf0d['destroy']();for(let _0x57c6c5 of _0x3b3e36)'after'==_0x57c6c5['config']['side']?this['getDOMAfter']()['appendChild'](_0x57c6c5['dom']):this['dom']['appendChild'](_0x57c6c5['dom']);this['gutters']=_0x3b3e36;}return _0x22e8e;}['destroy'](){for(let _0x3182b3 of this['gutters'])_0x3182b3['destroy']();this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']();}},{'provide':_0x116ab8=>EditorView['scrollMargins']['of'](_0x3b2b77=>{let _0x35f3a0=_0x3b2b77['plugin'](_0x116ab8);if(!_0x35f3a0||0x0==_0x35f3a0['gutters']['length']||!_0x35f3a0['fixed'])return null;let _0x8bf97b=_0x35f3a0['dom']['offsetWidth']*_0x3b2b77['scaleX'],_0x5e5e76=_0x35f3a0['domAfter']?_0x35f3a0['domAfter']['offsetWidth']*_0x3b2b77['scaleX']:0x0;return _0x3b2b77['textDirection']==_0xdbef2e['LTR']?{'left':_0x8bf97b,'right':_0x5e5e76}:{'right':_0x8bf97b,'left':_0x5e5e76};})});function _0x22dee6(_0x291e5b){return Array['isArray'](_0x291e5b)?_0x291e5b:[_0x291e5b];}function _0x12b95a(_0x3dfc80,_0x399780,_0x1edd14){for(;_0x3dfc80['value']&&_0x3dfc80['from']<=_0x1edd14;)_0x3dfc80['from']==_0x1edd14&&_0x399780['push'](_0x3dfc80['value']),_0x3dfc80['next']();}class UpdateContext{constructor(_0x4f5f43,_0x3b2fe0,_0x5eeeb6){this['gutter']=_0x4f5f43,this['height']=_0x5eeeb6,this['i']=0x0,this['cursor']=RangeSet['iter'](_0x4f5f43['markers'],_0x3b2fe0['from']);}['addElement'](_0x556ada,_0x26eadb,_0x223730){let {gutter:_0x54f7b0}=this,_0x300169=(_0x26eadb['top']-this['height'])/_0x556ada['scaleY'],_0x4a3879=_0x26eadb['height']/_0x556ada['scaleY'];if(this['i']==_0x54f7b0['elements']['length']){let _0x21f15e=new GutterElement(_0x556ada,_0x4a3879,_0x300169,_0x223730);_0x54f7b0['elements']['push'](_0x21f15e),_0x54f7b0['dom']['appendChild'](_0x21f15e['dom']);}else _0x54f7b0['elements'][this['i']]['update'](_0x556ada,_0x4a3879,_0x300169,_0x223730);this['height']=_0x26eadb['bottom'],this['i']++;}['line'](_0x1a7fc0,_0x3133b2,_0x3ea1fe){let _0x3773d9=[];_0x12b95a(this['cursor'],_0x3773d9,_0x3133b2['from']),_0x3ea1fe['length']&&(_0x3773d9=_0x3773d9['concat'](_0x3ea1fe));let _0x466953=this['gutter']['config']['lineMarker'](_0x1a7fc0,_0x3133b2,_0x3773d9);_0x466953&&_0x3773d9['unshift'](_0x466953);let _0x5ce43b=this['gutter'];(0x0!=_0x3773d9['length']||_0x5ce43b['config']['renderEmptyElements'])&&this['addElement'](_0x1a7fc0,_0x3133b2,_0x3773d9);}['widget'](_0x2932b7,_0x41a049){let _0xfc4dc2=this['gutter']['config']['widgetMarker'](_0x2932b7,_0x41a049['widget'],_0x41a049),_0x218c50=_0xfc4dc2?[_0xfc4dc2]:null;for(let _0x4a65a5 of _0x2932b7['state']['facet'](_0x37c8be)){let _0x4623d9=_0x4a65a5(_0x2932b7,_0x41a049['widget'],_0x41a049);_0x4623d9&&(_0x218c50||(_0x218c50=[]))['push'](_0x4623d9);}_0x218c50&&this['addElement'](_0x2932b7,_0x41a049,_0x218c50);}['finish'](){let _0x4b5023=this['gutter'];for(;_0x4b5023['elements']['length']>this['i'];){let _0x54582c=_0x4b5023['elements']['pop']();_0x4b5023['dom']['removeChild'](_0x54582c['dom']),_0x54582c['destroy']();}}}class SingleGutterView{constructor(_0xcdf0b9,_0x407ea3){this['view']=_0xcdf0b9,this['config']=_0x407ea3,this['elements']=[],this['spacer']=null,this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutter'+(this['config']['class']?'\x20'+this['config']['class']:'');for(let _0x7df948 in _0x407ea3['domEventHandlers'])this['dom']['addEventListener'](_0x7df948,_0x1b938c=>{let _0xb01137,_0x20bc81=_0x1b938c['target'];if(_0x20bc81!=this['dom']&&this['dom']['contains'](_0x20bc81)){for(;_0x20bc81['parentNode']!=this['dom'];)_0x20bc81=_0x20bc81['parentNode'];let _0x17abfd=_0x20bc81['getBoundingClientRect']();_0xb01137=(_0x17abfd['top']+_0x17abfd['bottom'])/0x2;}else _0xb01137=_0x1b938c['clientY'];let _0x44e406=_0xcdf0b9['lineBlockAtHeight'](_0xb01137-_0xcdf0b9['documentTop']);_0x407ea3['domEventHandlers'][_0x7df948](_0xcdf0b9,_0x44e406,_0x1b938c)&&_0x1b938c['preventDefault']();});this['markers']=_0x22dee6(_0x407ea3['markers'](_0xcdf0b9)),_0x407ea3['initialSpacer']&&(this['spacer']=new GutterElement(_0xcdf0b9,0x0,0x0,[_0x407ea3['initialSpacer'](_0xcdf0b9)]),this['dom']['appendChild'](this['spacer']['dom']),this['spacer']['dom']['style']['cssText']+='visibility:\x20hidden;\x20pointer-events:\x20none');}['update'](_0xe1046d){let _0x1dd8cc=this['markers'];if(this['markers']=_0x22dee6(this['config']['markers'](_0xe1046d['view'])),this['spacer']&&this['config']['updateSpacer']){let _0x585918=this['config']['updateSpacer'](this['spacer']['markers'][0x0],_0xe1046d);_0x585918!=this['spacer']['markers'][0x0]&&this['spacer']['update'](_0xe1046d['view'],0x0,0x0,[_0x585918]);}let _0x1155fc=_0xe1046d['view']['viewport'];return!RangeSet['eq'](this['markers'],_0x1dd8cc,_0x1155fc['from'],_0x1155fc['to'])||!!this['config']['lineMarkerChange']&&this['config']['lineMarkerChange'](_0xe1046d);}['destroy'](){for(let _0x42ab14 of this['elements'])_0x42ab14['destroy']();}}class GutterElement{constructor(_0x3e333c,_0x327381,_0x53f241,_0x5b4850){this['height']=-0x1,this['above']=0x0,this['markers']=[],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutterElement',this['update'](_0x3e333c,_0x327381,_0x53f241,_0x5b4850);}['update'](_0x2de6c0,_0x47ee57,_0x2b2258,_0x49e6f6){this['height']!=_0x47ee57&&(this['height']=_0x47ee57,this['dom']['style']['height']=_0x47ee57+'px'),this['above']!=_0x2b2258&&(this['dom']['style']['marginTop']=(this['above']=_0x2b2258)?_0x2b2258+'px':''),function(_0x336c45,_0x51dd12){if(_0x336c45['length']!=_0x51dd12['length'])return!0x1;for(let _0x47421a=0x0;_0x47421a<_0x336c45['length'];_0x47421a++)if(!_0x336c45[_0x47421a]['compare'](_0x51dd12[_0x47421a]))return!0x1;return!0x0;}(this['markers'],_0x49e6f6)||this['setMarkers'](_0x2de6c0,_0x49e6f6);}['setMarkers'](_0x3deae5,_0x1130ba){let _0x4c1f6a='cm-gutterElement',_0x4cd925=this['dom']['firstChild'];for(let _0x5113cb=0x0,_0x8dfd90=0x0;;){let _0x3e4b57=_0x8dfd90,_0x408673=_0x5113cb<_0x1130ba['length']?_0x1130ba[_0x5113cb++]:null,_0x417816=!0x1;if(_0x408673){let _0x19e0b8=_0x408673['elementClass'];_0x19e0b8&&(_0x4c1f6a+='\x20'+_0x19e0b8);for(let _0x56a68a=_0x8dfd90;_0x56a68a<this['markers']['length'];_0x56a68a++)if(this['markers'][_0x56a68a]['compare'](_0x408673)){_0x3e4b57=_0x56a68a,_0x417816=!0x0;break;}}else _0x3e4b57=this['markers']['length'];for(;_0x8dfd90<_0x3e4b57;){let _0x369488=this['markers'][_0x8dfd90++];if(_0x369488['toDOM']){_0x369488['destroy'](_0x4cd925);let _0x1298c1=_0x4cd925['nextSibling'];_0x4cd925['remove'](),_0x4cd925=_0x1298c1;}}if(!_0x408673)break;_0x408673['toDOM']&&(_0x417816?_0x4cd925=_0x4cd925['nextSibling']:this['dom']['insertBefore'](_0x408673['toDOM'](_0x3deae5),_0x4cd925)),_0x417816&&_0x8dfd90++;}this['dom']['className']=_0x4c1f6a,this['markers']=_0x1130ba;}['destroy'](){this['setMarkers'](null,[]);}}const _0x1cdd5c=Facet['define'](),_0x3ce7d2=Facet['define'](),_0x2f2cf5=Facet['define']({'combine':_0x4ce4a3=>_0x20b1bc(_0x4ce4a3,{'formatNumber':String,'domEventHandlers':{}},{'domEventHandlers'(_0x561430,_0x47bc34){let _0x21b1b2=Object['assign']({},_0x561430);for(let _0x1af7fd in _0x47bc34){let _0x54c4f4=_0x21b1b2[_0x1af7fd],_0x49d75a=_0x47bc34[_0x1af7fd];_0x21b1b2[_0x1af7fd]=_0x54c4f4?(_0xcd74f4,_0x5d43a0,_0x25b52b)=>_0x54c4f4(_0xcd74f4,_0x5d43a0,_0x25b52b)||_0x49d75a(_0xcd74f4,_0x5d43a0,_0x25b52b):_0x49d75a;}return _0x21b1b2;}})});class _0x6b5212 extends GutterMarker{constructor(_0x38f2e4){super(),this['number']=_0x38f2e4;}['eq'](_0x1cc7b9){return this['number']==_0x1cc7b9['number'];}['toDOM'](){return document['createTextNode'](this['number']);}}function _0x3208d8(_0x3109e4,_0x54b16d){return _0x3109e4['state']['facet'](_0x2f2cf5)['formatNumber'](_0x54b16d,_0x3109e4['state']);}const _0x477d78=_0x372daf['compute']([_0x2f2cf5],_0x2cddb2=>({'class':'cm-lineNumbers','renderEmptyElements':!0x1,'markers':_0xb1b50e=>_0xb1b50e['state']['facet'](_0x1cdd5c),'lineMarker':(_0xcbce95,_0x53011f,_0x4b8d0e)=>_0x4b8d0e['some'](_0x350bf8=>_0x350bf8['toDOM'])?null:new _0x6b5212(_0x3208d8(_0xcbce95,_0xcbce95['state']['doc']['lineAt'](_0x53011f['from'])['number'])),'widgetMarker':(_0x40b034,_0x39a5ec,_0xf9ed78)=>{for(let _0x295715 of _0x40b034['state']['facet'](_0x3ce7d2)){let _0x47b04e=_0x295715(_0x40b034,_0x39a5ec,_0xf9ed78);if(_0x47b04e)return _0x47b04e;}return null;},'lineMarkerChange':_0x22c3c8=>_0x22c3c8['startState']['facet'](_0x2f2cf5)!=_0x22c3c8['state']['facet'](_0x2f2cf5),'initialSpacer':_0x58863f=>new _0x6b5212(_0x3208d8(_0x58863f,_0x8adee4(_0x58863f['state']['doc']['lines']))),'updateSpacer'(_0x4619ef,_0x42acf0){let _0x454d3a=_0x3208d8(_0x42acf0['view'],_0x8adee4(_0x42acf0['view']['state']['doc']['lines']));return _0x454d3a==_0x4619ef['number']?_0x4619ef:new _0x6b5212(_0x454d3a);},'domEventHandlers':_0x2cddb2['facet'](_0x2f2cf5)['domEventHandlers'],'side':'before'}));function _0x4cc19d(_0x15f53c={}){return[_0x2f2cf5['of'](_0x15f53c),_0x30876a(),_0x477d78];}function _0x8adee4(_0x68ff5){let _0x172e94=0x9;for(;_0x172e94<_0x68ff5;)_0x172e94=0xa*_0x172e94+0x9;return _0x172e94;}const _0x52db5c=new class extends GutterMarker{constructor(){super(...arguments),this['elementClass']='cm-activeLineGutter';}}(),_0x7feb93=_0x467954['compute'](['selection'],_0x2c28ae=>{let _0x4f3af4=[],_0x53dc87=-0x1;for(let _0x55ccf7 of _0x2c28ae['selection']['ranges']){let _0x3f21fd=_0x2c28ae['doc']['lineAt'](_0x55ccf7['head'])['from'];_0x3f21fd>_0x53dc87&&(_0x53dc87=_0x3f21fd,_0x4f3af4['push'](_0x52db5c['range'](_0x3f21fd)));}return RangeSet['of'](_0x4f3af4);});function _0x559191(){return _0x7feb93;}const _0x2141db=0x400;let _0x29197f=0x0;class _0x5d67c4{constructor(_0x21f88a,_0x5ed847){this['from']=_0x21f88a,this['to']=_0x5ed847;}}class _0x17497f{constructor(_0x3116db={}){this['id']=_0x29197f++,this['perNode']=!!_0x3116db['perNode'],this['deserialize']=_0x3116db['deserialize']||(()=>{throw new Error('This\x20node\x20type\x20doesn\x27t\x20define\x20a\x20deserialize\x20function');}),this['combine']=_0x3116db['combine']||null;}['add'](_0x5d0036){if(this['perNode'])throw new RangeError('Can\x27t\x20add\x20per-node\x20props\x20to\x20node\x20types');return'function'!=typeof _0x5d0036&&(_0x5d0036=_0x215dc9['match'](_0x5d0036)),_0x2a6e9a=>{let _0x446e02=_0x5d0036(_0x2a6e9a);return void 0x0===_0x446e02?null:[this,_0x446e02];};}}_0x17497f['closedBy']=new _0x17497f({'deserialize':_0x40dfe9=>_0x40dfe9['split']('\x20')}),_0x17497f['openedBy']=new _0x17497f({'deserialize':_0x14f283=>_0x14f283['split']('\x20')}),_0x17497f['group']=new _0x17497f({'deserialize':_0x211482=>_0x211482['split']('\x20')}),_0x17497f['isolate']=new _0x17497f({'deserialize':_0x472eb3=>{if(_0x472eb3&&'rtl'!=_0x472eb3&&'ltr'!=_0x472eb3&&'auto'!=_0x472eb3)throw new RangeError('Invalid\x20value\x20for\x20isolate:\x20'+_0x472eb3);return _0x472eb3||'auto';}}),_0x17497f['contextHash']=new _0x17497f({'perNode':!0x0}),_0x17497f['lookAhead']=new _0x17497f({'perNode':!0x0}),_0x17497f['mounted']=new _0x17497f({'perNode':!0x0});class MountedTree{constructor(_0xcf6841,_0x4e0502,_0x5cf01c){this['tree']=_0xcf6841,this['overlay']=_0x4e0502,this['parser']=_0x5cf01c;}static['get'](_0x416a1f){return _0x416a1f&&_0x416a1f['props']&&_0x416a1f['props'][_0x17497f['mounted']['id']];}}const _0x439324=Object['create'](null);class _0x215dc9{constructor(_0x58a212,_0x5e8712,_0x533b25,_0x53550e=0x0){this['name']=_0x58a212,this['props']=_0x5e8712,this['id']=_0x533b25,this['flags']=_0x53550e;}static['define'](_0x143f96){let _0x1e0f96=_0x143f96['props']&&_0x143f96['props']['length']?Object['create'](null):_0x439324,_0x2b6659=(_0x143f96['top']?0x1:0x0)|(_0x143f96['skipped']?0x2:0x0)|(_0x143f96['error']?0x4:0x0)|(null==_0x143f96['name']?0x8:0x0),_0x2fda21=new _0x215dc9(_0x143f96['name']||'',_0x1e0f96,_0x143f96['id'],_0x2b6659);if(_0x143f96['props']){for(let _0x18f3aa of _0x143f96['props'])if(Array['isArray'](_0x18f3aa)||(_0x18f3aa=_0x18f3aa(_0x2fda21)),_0x18f3aa){if(_0x18f3aa[0x0]['perNode'])throw new RangeError('Can\x27t\x20store\x20a\x20per-node\x20prop\x20on\x20a\x20node\x20type');_0x1e0f96[_0x18f3aa[0x0]['id']]=_0x18f3aa[0x1];}}return _0x2fda21;}['prop'](_0x5c7497){return this['props'][_0x5c7497['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'](_0x350b83){if('string'==typeof _0x350b83){if(this['name']==_0x350b83)return!0x0;let _0xa41984=this['prop'](_0x17497f['group']);return!!_0xa41984&&_0xa41984['indexOf'](_0x350b83)>-0x1;}return this['id']==_0x350b83;}static['match'](_0x1fcba3){let _0x431d7e=Object['create'](null);for(let _0x20c045 in _0x1fcba3)for(let _0x343e00 of _0x20c045['split']('\x20'))_0x431d7e[_0x343e00]=_0x1fcba3[_0x20c045];return _0x4d8582=>{for(let _0x3118a3=_0x4d8582['prop'](_0x17497f['group']),_0x1b2374=-0x1;_0x1b2374<(_0x3118a3?_0x3118a3['length']:0x0);_0x1b2374++){let _0x53bd3f=_0x431d7e[_0x1b2374<0x0?_0x4d8582['name']:_0x3118a3[_0x1b2374]];if(_0x53bd3f)return _0x53bd3f;}};}}_0x215dc9['none']=new _0x215dc9('',Object['create'](null),0x0,0x8);class NodeSet{constructor(_0xa0959c){this['types']=_0xa0959c;for(let _0x428bb7=0x0;_0x428bb7<_0xa0959c['length'];_0x428bb7++)if(_0xa0959c[_0x428bb7]['id']!=_0x428bb7)throw new RangeError('Node\x20type\x20ids\x20should\x20correspond\x20to\x20array\x20positions\x20when\x20creating\x20a\x20node\x20set');}['extend'](..._0x1423f7){let _0x19d52a=[];for(let _0x56977a of this['types']){let _0xfbebcc=null;for(let _0x37b434 of _0x1423f7){let _0x3ef52a=_0x37b434(_0x56977a);if(_0x3ef52a){_0xfbebcc||(_0xfbebcc=Object['assign']({},_0x56977a['props']));let _0x1b0a83=_0x3ef52a[0x1],_0x2d4828=_0x3ef52a[0x0];_0x2d4828['combine']&&_0x2d4828['id']in _0xfbebcc&&(_0x1b0a83=_0x2d4828['combine'](_0xfbebcc[_0x2d4828['id']],_0x1b0a83)),_0xfbebcc[_0x2d4828['id']]=_0x1b0a83;}}_0x19d52a['push'](_0xfbebcc?new _0x215dc9(_0x56977a['name'],_0xfbebcc,_0x56977a['id'],_0x56977a['flags']):_0x56977a);}return new NodeSet(_0x19d52a);}}const _0x43791c=new WeakMap(),_0x418f18=new WeakMap();var _0x11378c;!function(_0x158539){_0x158539[_0x158539['ExcludeBuffers']=0x1]='ExcludeBuffers',_0x158539[_0x158539['IncludeAnonymous']=0x2]='IncludeAnonymous',_0x158539[_0x158539['IgnoreMounts']=0x4]='IgnoreMounts',_0x158539[_0x158539['IgnoreOverlays']=0x8]='IgnoreOverlays';}(_0x11378c||(_0x11378c={}));class _0x3af464{constructor(_0x52cb5a,_0x3ba071,_0x15a8a9,_0x1ca086,_0x30a3c2){if(this['type']=_0x52cb5a,this['children']=_0x3ba071,this['positions']=_0x15a8a9,this['length']=_0x1ca086,this['props']=null,_0x30a3c2&&_0x30a3c2['length']){this['props']=Object['create'](null);for(let [_0x2461f7,_0x2fad6c]of _0x30a3c2)this['props']['number'==typeof _0x2461f7?_0x2461f7:_0x2461f7['id']]=_0x2fad6c;}}['toString'](){let _0x1c0c9d=MountedTree['get'](this);if(_0x1c0c9d&&!_0x1c0c9d['overlay'])return _0x1c0c9d['tree']['toString']();let _0x452388='';for(let _0x604418 of this['children']){let _0x275391=_0x604418['toString']();_0x275391&&(_0x452388&&(_0x452388+=','),_0x452388+=_0x275391);}return this['type']['name']?(/\W/['test'](this['type']['name'])&&!this['type']['isError']?JSON['stringify'](this['type']['name']):this['type']['name'])+(_0x452388['length']?'('+_0x452388+')':''):_0x452388;}['cursor'](_0x378952=0x0){return new _0x3b100b(this['topNode'],_0x378952);}['cursorAt'](_0x7ec4d1,_0x40f086=0x0,_0x56a70a=0x0){let _0x1971fd=_0x43791c['get'](this)||this['topNode'],_0x393894=new _0x3b100b(_0x1971fd);return _0x393894['moveTo'](_0x7ec4d1,_0x40f086),_0x43791c['set'](this,_0x393894['_tree']),_0x393894;}get['topNode'](){return new _0x513ba3(this,0x0,0x0,null);}['resolve'](_0x3984c7,_0x4a7fa3=0x0){let _0x24e01b=_0x5386ba(_0x43791c['get'](this)||this['topNode'],_0x3984c7,_0x4a7fa3,!0x1);return _0x43791c['set'](this,_0x24e01b),_0x24e01b;}['resolveInner'](_0x530617,_0x1c7417=0x0){let _0x25b19f=_0x5386ba(_0x418f18['get'](this)||this['topNode'],_0x530617,_0x1c7417,!0x0);return _0x418f18['set'](this,_0x25b19f),_0x25b19f;}['resolveStack'](_0x1a7b40,_0x3e3dde=0x0){return function(_0x27db55,_0x5d2548,_0x3efead){let _0x2966ab=_0x27db55['resolveInner'](_0x5d2548,_0x3efead),_0x1cb931=null;for(let _0x39195=_0x2966ab instanceof _0x513ba3?_0x2966ab:_0x2966ab['context']['parent'];_0x39195;_0x39195=_0x39195['parent'])if(_0x39195['index']<0x0){let _0xe7943=_0x39195['parent'];(_0x1cb931||(_0x1cb931=[_0x2966ab]))['push'](_0xe7943['resolve'](_0x5d2548,_0x3efead)),_0x39195=_0xe7943;}else{let _0x13182d=MountedTree['get'](_0x39195['tree']);if(_0x13182d&&_0x13182d['overlay']&&_0x13182d['overlay'][0x0]['from']<=_0x5d2548&&_0x13182d['overlay'][_0x13182d['overlay']['length']-0x1]['to']>=_0x5d2548){let _0x115c7d=new _0x513ba3(_0x13182d['tree'],_0x13182d['overlay'][0x0]['from']+_0x39195['from'],-0x1,_0x39195);(_0x1cb931||(_0x1cb931=[_0x2966ab]))['push'](_0x5386ba(_0x115c7d,_0x5d2548,_0x3efead,!0x1));}}return _0x1cb931?_0xc30759(_0x1cb931):_0x2966ab;}(this,_0x1a7b40,_0x3e3dde);}['iterate'](_0x1a2ac8){let {enter:_0x55adf6,leave:_0x43b814,from:_0x32a130=0x0,to:_0x163db2=this['length']}=_0x1a2ac8,_0x255e2d=_0x1a2ac8['mode']||0x0,_0x271f78=(_0x255e2d&_0x11378c['IncludeAnonymous'])>0x0;for(let _0x4d77cd=this['cursor'](_0x255e2d|_0x11378c['IncludeAnonymous']);;){let _0x201a0a=!0x1;if(_0x4d77cd['from']<=_0x163db2&&_0x4d77cd['to']>=_0x32a130&&(!_0x271f78&&_0x4d77cd['type']['isAnonymous']||!0x1!==_0x55adf6(_0x4d77cd))){if(_0x4d77cd['firstChild']())continue;_0x201a0a=!0x0;}for(;_0x201a0a&&_0x43b814&&(_0x271f78||!_0x4d77cd['type']['isAnonymous'])&&_0x43b814(_0x4d77cd),!_0x4d77cd['nextSibling']();){if(!_0x4d77cd['parent']())return;_0x201a0a=!0x0;}}}['prop'](_0x5d848d){return _0x5d848d['perNode']?this['props']?this['props'][_0x5d848d['id']]:void 0x0:this['type']['prop'](_0x5d848d);}get['propValues'](){let _0x843d2a=[];if(this['props']){for(let _0x516d4f in this['props'])_0x843d2a['push']([+_0x516d4f,this['props'][_0x516d4f]]);}return _0x843d2a;}['balance'](_0xc2d5d8={}){return this['children']['length']<=0x8?this:_0x3268a(_0x215dc9['none'],this['children'],this['positions'],0x0,this['children']['length'],0x0,this['length'],(_0x41bfac,_0x19e6e5,_0x15d4c5)=>new _0x3af464(this['type'],_0x41bfac,_0x19e6e5,_0x15d4c5,this['propValues']),_0xc2d5d8['makeTree']||((_0x30245c,_0x145b71,_0x374045)=>new _0x3af464(_0x215dc9['none'],_0x30245c,_0x145b71,_0x374045)));}static['build'](_0xb7c995){return function(_0x16f57c){var _0x347d24;let {buffer:_0x39df0f,nodeSet:_0x4a87e1,maxBufferLength:_0x10613c=_0x2141db,reused:_0x1b8ede=[],minRepeatType:_0x90b00d=_0x4a87e1['types']['length']}=_0x16f57c,_0x38009c=Array['isArray'](_0x39df0f)?new FlatBufferCursor(_0x39df0f,_0x39df0f['length']):_0x39df0f,_0x518b99=_0x4a87e1['types'],_0xfaf4d1=0x0,_0x163afd=0x0;function _0x10ff6d(_0x1ecd80,_0x35469d,_0x2741de,_0x1ae3b2,_0x7ae3e3,_0x55b9e8){let {id:_0x5c8f6c,start:_0x25b1ee,end:_0x4c67c3,size:_0x4dc6e1}=_0x38009c,_0x24160d=_0x163afd,_0x120fa5=_0xfaf4d1;if(_0x4dc6e1<0x0){if(_0x38009c['next'](),-0x1==_0x4dc6e1){let _0x270fbd=_0x1b8ede[_0x5c8f6c];return _0x2741de['push'](_0x270fbd),void _0x1ae3b2['push'](_0x25b1ee-_0x1ecd80);}if(-0x3==_0x4dc6e1)return void(_0xfaf4d1=_0x5c8f6c);if(-0x4==_0x4dc6e1)return void(_0x163afd=_0x5c8f6c);throw new RangeError('Unrecognized\x20record\x20size:\x20'+_0x4dc6e1);}let _0x2cb707,_0x1af38e,_0x4a205b=_0x518b99[_0x5c8f6c],_0x111c1e=_0x25b1ee-_0x1ecd80;if(_0x4c67c3-_0x25b1ee<=_0x10613c&&(_0x1af38e=_0x347bce(_0x38009c['pos']-_0x35469d,_0x7ae3e3))){let _0x2ed7c7=new Uint16Array(_0x1af38e['size']-_0x1af38e['skip']),_0x4a4aa7=_0x38009c['pos']-_0x1af38e['size'],_0x3e82ef=_0x2ed7c7['length'];for(;_0x38009c['pos']>_0x4a4aa7;)_0x3e82ef=_0x4ec80e(_0x1af38e['start'],_0x2ed7c7,_0x3e82ef);_0x2cb707=new _0x386270(_0x2ed7c7,_0x4c67c3-_0x1af38e['start'],_0x4a87e1),_0x111c1e=_0x1af38e['start']-_0x1ecd80;}else{let _0x56445b=_0x38009c['pos']-_0x4dc6e1;_0x38009c['next']();let _0x3e9ef0=[],_0x10fb36=[],_0x5eb3a8=_0x5c8f6c>=_0x90b00d?_0x5c8f6c:-0x1,_0x431a26=0x0,_0x1098e0=_0x4c67c3;for(;_0x38009c['pos']>_0x56445b;)_0x5eb3a8>=0x0&&_0x38009c['id']==_0x5eb3a8&&_0x38009c['size']>=0x0?(_0x38009c['end']<=_0x1098e0-_0x10613c&&(_0x96e5f5(_0x3e9ef0,_0x10fb36,_0x25b1ee,_0x431a26,_0x38009c['end'],_0x1098e0,_0x5eb3a8,_0x24160d,_0x120fa5),_0x431a26=_0x3e9ef0['length'],_0x1098e0=_0x38009c['end']),_0x38009c['next']()):_0x55b9e8>0x9c4?_0x50e740(_0x25b1ee,_0x56445b,_0x3e9ef0,_0x10fb36):_0x10ff6d(_0x25b1ee,_0x56445b,_0x3e9ef0,_0x10fb36,_0x5eb3a8,_0x55b9e8+0x1);if(_0x5eb3a8>=0x0&&_0x431a26>0x0&&_0x431a26<_0x3e9ef0['length']&&_0x96e5f5(_0x3e9ef0,_0x10fb36,_0x25b1ee,_0x431a26,_0x25b1ee,_0x1098e0,_0x5eb3a8,_0x24160d,_0x120fa5),_0x3e9ef0['reverse'](),_0x10fb36['reverse'](),_0x5eb3a8>-0x1&&_0x431a26>0x0){let _0x5234b8=_0x5e2178(_0x4a205b,_0x120fa5);_0x2cb707=_0x3268a(_0x4a205b,_0x3e9ef0,_0x10fb36,0x0,_0x3e9ef0['length'],0x0,_0x4c67c3-_0x25b1ee,_0x5234b8,_0x5234b8);}else _0x2cb707=_0x2d9198(_0x4a205b,_0x3e9ef0,_0x10fb36,_0x4c67c3-_0x25b1ee,_0x24160d-_0x4c67c3,_0x120fa5);}_0x2741de['push'](_0x2cb707),_0x1ae3b2['push'](_0x111c1e);}function _0x50e740(_0x30ceac,_0x44ec90,_0x57b8b0,_0xb36f49){let _0x107a74=[],_0x7f9edc=0x0,_0x3e9e00=-0x1;for(;_0x38009c['pos']>_0x44ec90;){let {id:_0x266e63,start:_0x1043cc,end:_0x290edd,size:_0x106e72}=_0x38009c;if(_0x106e72>0x4)_0x38009c['next']();else{if(_0x3e9e00>-0x1&&_0x1043cc<_0x3e9e00)break;_0x3e9e00<0x0&&(_0x3e9e00=_0x290edd-_0x10613c),_0x107a74['push'](_0x266e63,_0x1043cc,_0x290edd),_0x7f9edc++,_0x38009c['next']();}}if(_0x7f9edc){let _0x2662fd=new Uint16Array(0x4*_0x7f9edc),_0x446f05=_0x107a74[_0x107a74['length']-0x2];for(let _0x254209=_0x107a74['length']-0x3,_0x2ffaef=0x0;_0x254209>=0x0;_0x254209-=0x3)_0x2662fd[_0x2ffaef++]=_0x107a74[_0x254209],_0x2662fd[_0x2ffaef++]=_0x107a74[_0x254209+0x1]-_0x446f05,_0x2662fd[_0x2ffaef++]=_0x107a74[_0x254209+0x2]-_0x446f05,_0x2662fd[_0x2ffaef++]=_0x2ffaef;_0x57b8b0['push'](new _0x386270(_0x2662fd,_0x107a74[0x2]-_0x446f05,_0x4a87e1)),_0xb36f49['push'](_0x446f05-_0x30ceac);}}function _0x5e2178(_0x139969,_0x252204){return(_0x15232d,_0x4e1612,_0x2c6aa7)=>{let _0x4e2199,_0x5f4da2,_0x7cead9=0x0,_0x4d48b8=_0x15232d['length']-0x1;if(_0x4d48b8>=0x0&&(_0x4e2199=_0x15232d[_0x4d48b8])instanceof _0x3af464){if(!_0x4d48b8&&_0x4e2199['type']==_0x139969&&_0x4e2199['length']==_0x2c6aa7)return _0x4e2199;(_0x5f4da2=_0x4e2199['prop'](_0x17497f['lookAhead']))&&(_0x7cead9=_0x4e1612[_0x4d48b8]+_0x4e2199['length']+_0x5f4da2);}return _0x2d9198(_0x139969,_0x15232d,_0x4e1612,_0x2c6aa7,_0x7cead9,_0x252204);};}function _0x96e5f5(_0x2d17fd,_0xad0f9a,_0x2fd55a,_0x582c6d,_0x409231,_0x20a6af,_0x5b1c40,_0x4266aa,_0xb7b0c1){let _0x41166d=[],_0x3ead60=[];for(;_0x2d17fd['length']>_0x582c6d;)_0x41166d['push'](_0x2d17fd['pop']()),_0x3ead60['push'](_0xad0f9a['pop']()+_0x2fd55a-_0x409231);_0x2d17fd['push'](_0x2d9198(_0x4a87e1['types'][_0x5b1c40],_0x41166d,_0x3ead60,_0x20a6af-_0x409231,_0x4266aa-_0x20a6af,_0xb7b0c1)),_0xad0f9a['push'](_0x409231-_0x2fd55a);}function _0x2d9198(_0x53fd5c,_0x11f838,_0xc898a6,_0x2ae722,_0x3cf78e,_0x29db56,_0x5c3058){if(_0x29db56){let _0x5ee275=[_0x17497f['contextHash'],_0x29db56];_0x5c3058=_0x5c3058?[_0x5ee275]['concat'](_0x5c3058):[_0x5ee275];}if(_0x3cf78e>0x19){let _0x1a78bd=[_0x17497f['lookAhead'],_0x3cf78e];_0x5c3058=_0x5c3058?[_0x1a78bd]['concat'](_0x5c3058):[_0x1a78bd];}return new _0x3af464(_0x53fd5c,_0x11f838,_0xc898a6,_0x2ae722,_0x5c3058);}function _0x347bce(_0x26c991,_0xfd592b){let _0x44f106=_0x38009c['fork'](),_0x268a72=0x0,_0x20d0d3=0x0,_0x46cea8=0x0,_0xe05e0d=_0x44f106['end']-_0x10613c,_0x1c3e7f={'size':0x0,'start':0x0,'skip':0x0};t:for(let _0x5cbfc6=_0x44f106['pos']-_0x26c991;_0x44f106['pos']>_0x5cbfc6;){let _0x48e35c=_0x44f106['size'];if(_0x44f106['id']==_0xfd592b&&_0x48e35c>=0x0){_0x1c3e7f['size']=_0x268a72,_0x1c3e7f['start']=_0x20d0d3,_0x1c3e7f['skip']=_0x46cea8,_0x46cea8+=0x4,_0x268a72+=0x4,_0x44f106['next']();continue;}let _0x4ce653=_0x44f106['pos']-_0x48e35c;if(_0x48e35c<0x0||_0x4ce653<_0x5cbfc6||_0x44f106['start']<_0xe05e0d)break;let _0x2b6423=_0x44f106['id']>=_0x90b00d?0x4:0x0,_0x28f62c=_0x44f106['start'];for(_0x44f106['next']();_0x44f106['pos']>_0x4ce653;){if(_0x44f106['size']<0x0){if(-0x3!=_0x44f106['size'])break t;_0x2b6423+=0x4;}else _0x44f106['id']>=_0x90b00d&&(_0x2b6423+=0x4);_0x44f106['next']();}_0x20d0d3=_0x28f62c,_0x268a72+=_0x48e35c,_0x46cea8+=_0x2b6423;}return(_0xfd592b<0x0||_0x268a72==_0x26c991)&&(_0x1c3e7f['size']=_0x268a72,_0x1c3e7f['start']=_0x20d0d3,_0x1c3e7f['skip']=_0x46cea8),_0x1c3e7f['size']>0x4?_0x1c3e7f:void 0x0;}function _0x4ec80e(_0xad0265,_0x2b6899,_0x286e29){let {id:_0x2062b0,start:_0xfa2bf1,end:_0x3803cd,size:_0x320416}=_0x38009c;if(_0x38009c['next'](),_0x320416>=0x0&&_0x2062b0<_0x90b00d){let _0x2ef133=_0x286e29;if(_0x320416>0x4){let _0xe07e1e=_0x38009c['pos']-(_0x320416-0x4);for(;_0x38009c['pos']>_0xe07e1e;)_0x286e29=_0x4ec80e(_0xad0265,_0x2b6899,_0x286e29);}_0x2b6899[--_0x286e29]=_0x2ef133,_0x2b6899[--_0x286e29]=_0x3803cd-_0xad0265,_0x2b6899[--_0x286e29]=_0xfa2bf1-_0xad0265,_0x2b6899[--_0x286e29]=_0x2062b0;}else-0x3==_0x320416?_0xfaf4d1=_0x2062b0:-0x4==_0x320416&&(_0x163afd=_0x2062b0);return _0x286e29;}let _0x467dd4=[],_0x5be3d4=[];for(;_0x38009c['pos']>0x0;)_0x10ff6d(_0x16f57c['start']||0x0,_0x16f57c['bufferStart']||0x0,_0x467dd4,_0x5be3d4,-0x1,0x0);let _0x14c2ac=null!==(_0x347d24=_0x16f57c['length'])&&void 0x0!==_0x347d24?_0x347d24:_0x467dd4['length']?_0x5be3d4[0x0]+_0x467dd4[0x0]['length']:0x0;return new _0x3af464(_0x518b99[_0x16f57c['topID']],_0x467dd4['reverse'](),_0x5be3d4['reverse'](),_0x14c2ac);}(_0xb7c995);}}_0x3af464['empty']=new _0x3af464(_0x215dc9['none'],[],[],0x0);class FlatBufferCursor{constructor(_0x5ce513,_0x24e008){this['buffer']=_0x5ce513,this['index']=_0x24e008;}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 _0x386270{constructor(_0x3b44b0,_0x1e24a0,_0x549456){this['buffer']=_0x3b44b0,this['length']=_0x1e24a0,this['set']=_0x549456;}get['type'](){return _0x215dc9['none'];}['toString'](){let _0x39938c=[];for(let _0x4d3edc=0x0;_0x4d3edc<this['buffer']['length'];)_0x39938c['push'](this['childString'](_0x4d3edc)),_0x4d3edc=this['buffer'][_0x4d3edc+0x3];return _0x39938c['join'](',');}['childString'](_0x7cff17){let _0x3ffc58=this['buffer'][_0x7cff17],_0x4f2f22=this['buffer'][_0x7cff17+0x3],_0x1525d4=this['set']['types'][_0x3ffc58],_0xcf31a6=_0x1525d4['name'];if(/\W/['test'](_0xcf31a6)&&!_0x1525d4['isError']&&(_0xcf31a6=JSON['stringify'](_0xcf31a6)),_0x4f2f22==(_0x7cff17+=0x4))return _0xcf31a6;let _0x17b5e2=[];for(;_0x7cff17<_0x4f2f22;)_0x17b5e2['push'](this['childString'](_0x7cff17)),_0x7cff17=this['buffer'][_0x7cff17+0x3];return _0xcf31a6+'('+_0x17b5e2['join'](',')+')';}['findChild'](_0x5dac65,_0xf0a4eb,_0x2c7829,_0x2db8ae,_0x2c0484){let {buffer:_0x51d81d}=this,_0xcc9c4a=-0x1;for(let _0xa70ec9=_0x5dac65;_0xa70ec9!=_0xf0a4eb&&!(_0x4898ca(_0x2c0484,_0x2db8ae,_0x51d81d[_0xa70ec9+0x1],_0x51d81d[_0xa70ec9+0x2])&&(_0xcc9c4a=_0xa70ec9,_0x2c7829>0x0));_0xa70ec9=_0x51d81d[_0xa70ec9+0x3]);return _0xcc9c4a;}['slice'](_0x3920cb,_0xdb9e7d,_0xc0f335){let _0x397e54=this['buffer'],_0x4004d5=new Uint16Array(_0xdb9e7d-_0x3920cb),_0x1a2ed3=0x0;for(let _0x27f070=_0x3920cb,_0x4c0967=0x0;_0x27f070<_0xdb9e7d;){_0x4004d5[_0x4c0967++]=_0x397e54[_0x27f070++],_0x4004d5[_0x4c0967++]=_0x397e54[_0x27f070++]-_0xc0f335;let _0x3da4ff=_0x4004d5[_0x4c0967++]=_0x397e54[_0x27f070++]-_0xc0f335;_0x4004d5[_0x4c0967++]=_0x397e54[_0x27f070++]-_0x3920cb,_0x1a2ed3=Math['max'](_0x1a2ed3,_0x3da4ff);}return new _0x386270(_0x4004d5,_0x1a2ed3,this['set']);}}function _0x4898ca(_0x1a57ad,_0xc70b2d,_0x21c829,_0x537c05){switch(_0x1a57ad){case-0x2:return _0x21c829<_0xc70b2d;case-0x1:return _0x537c05>=_0xc70b2d&&_0x21c829<_0xc70b2d;case 0x0:return _0x21c829<_0xc70b2d&&_0x537c05>_0xc70b2d;case 0x1:return _0x21c829<=_0xc70b2d&&_0x537c05>_0xc70b2d;case 0x2:return _0x537c05>_0xc70b2d;case 0x4:return!0x0;}}function _0x5386ba(_0x1742ab,_0x5045da,_0x2744dd,_0x350e1d){for(var _0x28a6cd;_0x1742ab['from']==_0x1742ab['to']||(_0x2744dd<0x1?_0x1742ab['from']>=_0x5045da:_0x1742ab['from']>_0x5045da)||(_0x2744dd>-0x1?_0x1742ab['to']<=_0x5045da:_0x1742ab['to']<_0x5045da);){let _0x501441=!_0x350e1d&&_0x1742ab instanceof _0x513ba3&&_0x1742ab['index']<0x0?null:_0x1742ab['parent'];if(!_0x501441)return _0x1742ab;_0x1742ab=_0x501441;}let _0x1d4402=_0x350e1d?0x0:_0x11378c['IgnoreOverlays'];if(_0x350e1d){for(let _0x36d384=_0x1742ab,_0x4a8169=_0x36d384['parent'];_0x4a8169;_0x36d384=_0x4a8169,_0x4a8169=_0x36d384['parent'])_0x36d384 instanceof _0x513ba3&&_0x36d384['index']<0x0&&(null===(_0x28a6cd=_0x4a8169['enter'](_0x5045da,_0x2744dd,_0x1d4402))||void 0x0===_0x28a6cd?void 0x0:_0x28a6cd['from'])!=_0x36d384['from']&&(_0x1742ab=_0x4a8169);}for(;;){let _0x459268=_0x1742ab['enter'](_0x5045da,_0x2744dd,_0x1d4402);if(!_0x459268)return _0x1742ab;_0x1742ab=_0x459268;}}class _0x194b53{['cursor'](_0x3642f2=0x0){return new _0x3b100b(this,_0x3642f2);}['getChild'](_0x1e83cd,_0x428487=null,_0x169a3b=null){let _0x220604=_0x562efc(this,_0x1e83cd,_0x428487,_0x169a3b);return _0x220604['length']?_0x220604[0x0]:null;}['getChildren'](_0x5c23aa,_0x408521=null,_0x1d4254=null){return _0x562efc(this,_0x5c23aa,_0x408521,_0x1d4254);}['resolve'](_0xe1bc30,_0x199640=0x0){return _0x5386ba(this,_0xe1bc30,_0x199640,!0x1);}['resolveInner'](_0x7bb6be,_0x5e1571=0x0){return _0x5386ba(this,_0x7bb6be,_0x5e1571,!0x0);}['matchContext'](_0x6feb39){return _0x223c8a(this['parent'],_0x6feb39);}['enterUnfinishedNodesBefore'](_0x5d771b){let _0x2501f6=this['childBefore'](_0x5d771b),_0x412f08=this;for(;_0x2501f6;){let _0x43d7d9=_0x2501f6['lastChild'];if(!_0x43d7d9||_0x43d7d9['to']!=_0x2501f6['to'])break;_0x43d7d9['type']['isError']&&_0x43d7d9['from']==_0x43d7d9['to']?(_0x412f08=_0x2501f6,_0x2501f6=_0x43d7d9['prevSibling']):_0x2501f6=_0x43d7d9;}return _0x412f08;}get['node'](){return this;}get['next'](){return this['parent'];}}class _0x513ba3 extends _0x194b53{constructor(_0x1c09a1,_0x34b5cb,_0x16555c,_0x3ae67a){super(),this['_tree']=_0x1c09a1,this['from']=_0x34b5cb,this['index']=_0x16555c,this['_parent']=_0x3ae67a;}get['type'](){return this['_tree']['type'];}get['name'](){return this['_tree']['type']['name'];}get['to'](){return this['from']+this['_tree']['length'];}['nextChild'](_0x101dd6,_0x2b8702,_0x159c04,_0x1ec0ff,_0x43629e=0x0){for(let _0x36aefb=this;;){for(let {children:_0x2f0cea,positions:_0x1c0215}=_0x36aefb['_tree'],_0x52b413=_0x2b8702>0x0?_0x2f0cea['length']:-0x1;_0x101dd6!=_0x52b413;_0x101dd6+=_0x2b8702){let _0x5b823e=_0x2f0cea[_0x101dd6],_0x5d6aba=_0x1c0215[_0x101dd6]+_0x36aefb['from'];if(_0x4898ca(_0x1ec0ff,_0x159c04,_0x5d6aba,_0x5d6aba+_0x5b823e['length'])){if(_0x5b823e instanceof _0x386270){if(_0x43629e&_0x11378c['ExcludeBuffers'])continue;let _0x29bda7=_0x5b823e['findChild'](0x0,_0x5b823e['buffer']['length'],_0x2b8702,_0x159c04-_0x5d6aba,_0x1ec0ff);if(_0x29bda7>-0x1)return new _0x48aa5c(new BufferContext(_0x36aefb,_0x5b823e,_0x101dd6,_0x5d6aba),null,_0x29bda7);}else{if(_0x43629e&_0x11378c['IncludeAnonymous']||!_0x5b823e['type']['isAnonymous']||_0x20f0e6(_0x5b823e)){let _0x251483;if(!(_0x43629e&_0x11378c['IgnoreMounts'])&&(_0x251483=MountedTree['get'](_0x5b823e))&&!_0x251483['overlay'])return new _0x513ba3(_0x251483['tree'],_0x5d6aba,_0x101dd6,_0x36aefb);let _0x451f98=new _0x513ba3(_0x5b823e,_0x5d6aba,_0x101dd6,_0x36aefb);return _0x43629e&_0x11378c['IncludeAnonymous']||!_0x451f98['type']['isAnonymous']?_0x451f98:_0x451f98['nextChild'](_0x2b8702<0x0?_0x5b823e['children']['length']-0x1:0x0,_0x2b8702,_0x159c04,_0x1ec0ff);}}}}if(_0x43629e&_0x11378c['IncludeAnonymous']||!_0x36aefb['type']['isAnonymous'])return null;if(_0x101dd6=_0x36aefb['index']>=0x0?_0x36aefb['index']+_0x2b8702:_0x2b8702<0x0?-0x1:_0x36aefb['_parent']['_tree']['children']['length'],_0x36aefb=_0x36aefb['_parent'],!_0x36aefb)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'](_0x19fe9b){return this['nextChild'](0x0,0x1,_0x19fe9b,0x2);}['childBefore'](_0xb0082f){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,_0xb0082f,-0x2);}['enter'](_0x171733,_0x2192c9,_0x4159a1=0x0){let _0x1bf532;if(!(_0x4159a1&_0x11378c['IgnoreOverlays'])&&(_0x1bf532=MountedTree['get'](this['_tree']))&&_0x1bf532['overlay']){let _0x57b9ec=_0x171733-this['from'];for(let {from:_0x49d3e6,to:_0x2c8d54}of _0x1bf532['overlay'])if((_0x2192c9>0x0?_0x49d3e6<=_0x57b9ec:_0x49d3e6<_0x57b9ec)&&(_0x2192c9<0x0?_0x2c8d54>=_0x57b9ec:_0x2c8d54>_0x57b9ec))return new _0x513ba3(_0x1bf532['tree'],_0x1bf532['overlay'][0x0]['from']+this['from'],-0x1,this);}return this['nextChild'](0x0,0x1,_0x171733,_0x2192c9,_0x4159a1);}['nextSignificantParent'](){let _0x1824ad=this;for(;_0x1824ad['type']['isAnonymous']&&_0x1824ad['_parent'];)_0x1824ad=_0x1824ad['_parent'];return _0x1824ad;}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 _0x562efc(_0x192f33,_0x21fcff,_0x2a050a,_0x314cef){let _0x2943c6=_0x192f33['cursor'](),_0x208a67=[];if(!_0x2943c6['firstChild']())return _0x208a67;if(null!=_0x2a050a){for(let _0x53493a=!0x1;!_0x53493a;)if(_0x53493a=_0x2943c6['type']['is'](_0x2a050a),!_0x2943c6['nextSibling']())return _0x208a67;}for(;;){if(null!=_0x314cef&&_0x2943c6['type']['is'](_0x314cef))return _0x208a67;if(_0x2943c6['type']['is'](_0x21fcff)&&_0x208a67['push'](_0x2943c6['node']),!_0x2943c6['nextSibling']())return null==_0x314cef?_0x208a67:[];}}function _0x223c8a(_0x507e66,_0x40a009,_0x11e69a=_0x40a009['length']-0x1){for(let _0x17d838=_0x507e66;_0x11e69a>=0x0;_0x17d838=_0x17d838['parent']){if(!_0x17d838)return!0x1;if(!_0x17d838['type']['isAnonymous']){if(_0x40a009[_0x11e69a]&&_0x40a009[_0x11e69a]!=_0x17d838['name'])return!0x1;_0x11e69a--;}}return!0x0;}class BufferContext{constructor(_0x8fe010,_0x288813,_0xb272c6,_0xcba41){this['parent']=_0x8fe010,this['buffer']=_0x288813,this['index']=_0xb272c6,this['start']=_0xcba41;}}class _0x48aa5c extends _0x194b53{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(_0xba2219,_0xf1c97e,_0xac59c9){super(),this['context']=_0xba2219,this['_parent']=_0xf1c97e,this['index']=_0xac59c9,this['type']=_0xba2219['buffer']['set']['types'][_0xba2219['buffer']['buffer'][_0xac59c9]];}['child'](_0x308ffa,_0xc642a0,_0x92dc9c){let {buffer:_0x4242fc}=this['context'],_0x4e7257=_0x4242fc['findChild'](this['index']+0x4,_0x4242fc['buffer'][this['index']+0x3],_0x308ffa,_0xc642a0-this['context']['start'],_0x92dc9c);return _0x4e7257<0x0?null:new _0x48aa5c(this['context'],this,_0x4e7257);}get['firstChild'](){return this['child'](0x1,0x0,0x4);}get['lastChild'](){return this['child'](-0x1,0x0,0x4);}['childAfter'](_0xea5c6f){return this['child'](0x1,_0xea5c6f,0x2);}['childBefore'](_0x149c73){return this['child'](-0x1,_0x149c73,-0x2);}['enter'](_0x5adb49,_0x1f3a5a,_0x14cdbf=0x0){if(_0x14cdbf&_0x11378c['ExcludeBuffers'])return null;let {buffer:_0x2a61f9}=this['context'],_0x44f738=_0x2a61f9['findChild'](this['index']+0x4,_0x2a61f9['buffer'][this['index']+0x3],_0x1f3a5a>0x0?0x1:-0x1,_0x5adb49-this['context']['start'],_0x1f3a5a);return _0x44f738<0x0?null:new _0x48aa5c(this['context'],this,_0x44f738);}get['parent'](){return this['_parent']||this['context']['parent']['nextSignificantParent']();}['externalSibling'](_0x4ec249){return this['_parent']?null:this['context']['parent']['nextChild'](this['context']['index']+_0x4ec249,_0x4ec249,0x0,0x4);}get['nextSibling'](){let {buffer:_0x2f5705}=this['context'],_0x3e3d56=_0x2f5705['buffer'][this['index']+0x3];return _0x3e3d56<(this['_parent']?_0x2f5705['buffer'][this['_parent']['index']+0x3]:_0x2f5705['buffer']['length'])?new _0x48aa5c(this['context'],this['_parent'],_0x3e3d56):this['externalSibling'](0x1);}get['prevSibling'](){let {buffer:_0x1aef0c}=this['context'],_0x349d65=this['_parent']?this['_parent']['index']+0x4:0x0;return this['index']==_0x349d65?this['externalSibling'](-0x1):new _0x48aa5c(this['context'],this['_parent'],_0x1aef0c['findChild'](_0x349d65,this['index'],-0x1,0x0,0x4));}get['tree'](){return null;}['toTree'](){let _0x3fe604=[],_0xe6f5e4=[],{buffer:_0x378dee}=this['context'],_0x55f55a=this['index']+0x4,_0x2d82c6=_0x378dee['buffer'][this['index']+0x3];if(_0x2d82c6>_0x55f55a){let _0x10b2be=_0x378dee['buffer'][this['index']+0x1];_0x3fe604['push'](_0x378dee['slice'](_0x55f55a,_0x2d82c6,_0x10b2be)),_0xe6f5e4['push'](0x0);}return new _0x3af464(this['type'],_0x3fe604,_0xe6f5e4,this['to']-this['from']);}['toString'](){return this['context']['buffer']['childString'](this['index']);}}function _0xc30759(_0xd79df3){if(!_0xd79df3['length'])return null;let _0x54040c=0x0,_0x1fc822=_0xd79df3[0x0];for(let _0x356313=0x1;_0x356313<_0xd79df3['length'];_0x356313++){let _0x220163=_0xd79df3[_0x356313];(_0x220163['from']>_0x1fc822['from']||_0x220163['to']<_0x1fc822['to'])&&(_0x1fc822=_0x220163,_0x54040c=_0x356313);}let _0x1a106f=_0x1fc822 instanceof _0x513ba3&&_0x1fc822['index']<0x0?null:_0x1fc822['parent'],_0x24abce=_0xd79df3['slice']();return _0x1a106f?_0x24abce[_0x54040c]=_0x1a106f:_0x24abce['splice'](_0x54040c,0x1),new StackIterator(_0x24abce,_0x1fc822);}class StackIterator{constructor(_0x40e126,_0x5c49d3){this['heads']=_0x40e126,this['node']=_0x5c49d3;}get['next'](){return _0xc30759(this['heads']);}}class _0x3b100b{get['name'](){return this['type']['name'];}constructor(_0x443574,_0x1007ba=0x0){if(this['mode']=_0x1007ba,this['buffer']=null,this['stack']=[],this['index']=0x0,this['bufferNode']=null,_0x443574 instanceof _0x513ba3)this['yieldNode'](_0x443574);else{this['_tree']=_0x443574['context']['parent'],this['buffer']=_0x443574['context'];for(let _0x29fed=_0x443574['_parent'];_0x29fed;_0x29fed=_0x29fed['_parent'])this['stack']['unshift'](_0x29fed['index']);this['bufferNode']=_0x443574,this['yieldBuf'](_0x443574['index']);}}['yieldNode'](_0x46af80){return!!_0x46af80&&(this['_tree']=_0x46af80,this['type']=_0x46af80['type'],this['from']=_0x46af80['from'],this['to']=_0x46af80['to'],!0x0);}['yieldBuf'](_0x5f58e0,_0x57a38b){this['index']=_0x5f58e0;let {start:_0x36fa67,buffer:_0x12adf4}=this['buffer'];return this['type']=_0x57a38b||_0x12adf4['set']['types'][_0x12adf4['buffer'][_0x5f58e0]],this['from']=_0x36fa67+_0x12adf4['buffer'][_0x5f58e0+0x1],this['to']=_0x36fa67+_0x12adf4['buffer'][_0x5f58e0+0x2],!0x0;}['yield'](_0x58c39d){return!!_0x58c39d&&(_0x58c39d instanceof _0x513ba3?(this['buffer']=null,this['yieldNode'](_0x58c39d)):(this['buffer']=_0x58c39d['context'],this['yieldBuf'](_0x58c39d['index'],_0x58c39d['type'])));}['toString'](){return this['buffer']?this['buffer']['buffer']['childString'](this['index']):this['_tree']['toString']();}['enterChild'](_0x472dc4,_0x344d93,_0xe5cf4f){if(!this['buffer'])return this['yield'](this['_tree']['nextChild'](_0x472dc4<0x0?this['_tree']['_tree']['children']['length']-0x1:0x0,_0x472dc4,_0x344d93,_0xe5cf4f,this['mode']));let {buffer:_0x45e032}=this['buffer'],_0x268074=_0x45e032['findChild'](this['index']+0x4,_0x45e032['buffer'][this['index']+0x3],_0x472dc4,_0x344d93-this['buffer']['start'],_0xe5cf4f);return!(_0x268074<0x0)&&(this['stack']['push'](this['index']),this['yieldBuf'](_0x268074));}['firstChild'](){return this['enterChild'](0x1,0x0,0x4);}['lastChild'](){return this['enterChild'](-0x1,0x0,0x4);}['childAfter'](_0x71ad5f){return this['enterChild'](0x1,_0x71ad5f,0x2);}['childBefore'](_0xb3d041){return this['enterChild'](-0x1,_0xb3d041,-0x2);}['enter'](_0x479d5c,_0x46470f,_0x265a34=this['mode']){return this['buffer']?!(_0x265a34&_0x11378c['ExcludeBuffers'])&&this['enterChild'](0x1,_0x479d5c,_0x46470f):this['yield'](this['_tree']['enter'](_0x479d5c,_0x46470f,_0x265a34));}['parent'](){if(!this['buffer'])return this['yieldNode'](this['mode']&_0x11378c['IncludeAnonymous']?this['_tree']['_parent']:this['_tree']['parent']);if(this['stack']['length'])return this['yieldBuf'](this['stack']['pop']());let _0x2a2c0d=this['mode']&_0x11378c['IncludeAnonymous']?this['buffer']['parent']:this['buffer']['parent']['nextSignificantParent']();return this['buffer']=null,this['yieldNode'](_0x2a2c0d);}['sibling'](_0x4ba21b){if(!this['buffer'])return!!this['_tree']['_parent']&&this['yield'](this['_tree']['index']<0x0?null:this['_tree']['_parent']['nextChild'](this['_tree']['index']+_0x4ba21b,_0x4ba21b,0x0,0x4,this['mode']));let {buffer:_0x22de53}=this['buffer'],_0x705151=this['stack']['length']-0x1;if(_0x4ba21b<0x0){let _0x44f4d7=_0x705151<0x0?0x0:this['stack'][_0x705151]+0x4;if(this['index']!=_0x44f4d7)return this['yieldBuf'](_0x22de53['findChild'](_0x44f4d7,this['index'],-0x1,0x0,0x4));}else{let _0x293d57=_0x22de53['buffer'][this['index']+0x3];if(_0x293d57<(_0x705151<0x0?_0x22de53['buffer']['length']:_0x22de53['buffer'][this['stack'][_0x705151]+0x3]))return this['yieldBuf'](_0x293d57);}return _0x705151<0x0&&this['yield'](this['buffer']['parent']['nextChild'](this['buffer']['index']+_0x4ba21b,_0x4ba21b,0x0,0x4,this['mode']));}['nextSibling'](){return this['sibling'](0x1);}['prevSibling'](){return this['sibling'](-0x1);}['atLastNode'](_0x4b5cee){let _0x30f577,_0x7fe2d7,{buffer:_0x33d7a1}=this;if(_0x33d7a1){if(_0x4b5cee>0x0){if(this['index']<_0x33d7a1['buffer']['buffer']['length'])return!0x1;}else{for(let _0x2179a0=0x0;_0x2179a0<this['index'];_0x2179a0++)if(_0x33d7a1['buffer']['buffer'][_0x2179a0+0x3]<this['index'])return!0x1;}({index:_0x30f577,parent:_0x7fe2d7}=_0x33d7a1);}else({index:_0x30f577,_parent:_0x7fe2d7}=this['_tree']);for(;_0x7fe2d7;{index:_0x30f577,_parent:_0x7fe2d7}=_0x7fe2d7)if(_0x30f577>-0x1)for(let _0x137492=_0x30f577+_0x4b5cee,_0x32f8f7=_0x4b5cee<0x0?-0x1:_0x7fe2d7['_tree']['children']['length'];_0x137492!=_0x32f8f7;_0x137492+=_0x4b5cee){let _0x515af3=_0x7fe2d7['_tree']['children'][_0x137492];if(this['mode']&_0x11378c['IncludeAnonymous']||_0x515af3 instanceof _0x386270||!_0x515af3['type']['isAnonymous']||_0x20f0e6(_0x515af3))return!0x1;}return!0x0;}['move'](_0x3233d3,_0x3aa365){if(_0x3aa365&&this['enterChild'](_0x3233d3,0x0,0x4))return!0x0;for(;;){if(this['sibling'](_0x3233d3))return!0x0;if(this['atLastNode'](_0x3233d3)||!this['parent']())return!0x1;}}['next'](_0x4fe96a=!0x0){return this['move'](0x1,_0x4fe96a);}['prev'](_0x14776a=!0x0){return this['move'](-0x1,_0x14776a);}['moveTo'](_0x3ca6b6,_0x1b2936=0x0){for(;(this['from']==this['to']||(_0x1b2936<0x1?this['from']>=_0x3ca6b6:this['from']>_0x3ca6b6)||(_0x1b2936>-0x1?this['to']<=_0x3ca6b6:this['to']<_0x3ca6b6))&&this['parent'](););for(;this['enterChild'](0x1,_0x3ca6b6,_0x1b2936););return this;}get['node'](){if(!this['buffer'])return this['_tree'];let _0xe112f5=this['bufferNode'],_0x293ce4=null,_0x50d72f=0x0;if(_0xe112f5&&_0xe112f5['context']==this['buffer']){t:for(let _0x3e9680=this['index'],_0x1da066=this['stack']['length'];_0x1da066>=0x0;){for(let _0x35242e=_0xe112f5;_0x35242e;_0x35242e=_0x35242e['_parent'])if(_0x35242e['index']==_0x3e9680){if(_0x3e9680==this['index'])return _0x35242e;_0x293ce4=_0x35242e,_0x50d72f=_0x1da066+0x1;break t;}_0x3e9680=this['stack'][--_0x1da066];}}for(let _0x280a07=_0x50d72f;_0x280a07<this['stack']['length'];_0x280a07++)_0x293ce4=new _0x48aa5c(this['buffer'],_0x293ce4,this['stack'][_0x280a07]);return this['bufferNode']=new _0x48aa5c(this['buffer'],_0x293ce4,this['index']);}get['tree'](){return this['buffer']?null:this['_tree']['_tree'];}['iterate'](_0x4bbfeb,_0x502c53){for(let _0x5f224d=0x0;;){let _0x4f75a2=!0x1;if(this['type']['isAnonymous']||!0x1!==_0x4bbfeb(this)){if(this['firstChild']()){_0x5f224d++;continue;}this['type']['isAnonymous']||(_0x4f75a2=!0x0);}for(;;){if(_0x4f75a2&&_0x502c53&&_0x502c53(this),_0x4f75a2=this['type']['isAnonymous'],!_0x5f224d)return;if(this['nextSibling']())break;this['parent'](),_0x5f224d--,_0x4f75a2=!0x0;}}}['matchContext'](_0x134e38){if(!this['buffer'])return _0x223c8a(this['node']['parent'],_0x134e38);let {buffer:_0x26d0c6}=this['buffer'],{types:_0x45fd7b}=_0x26d0c6['set'];for(let _0x25965b=_0x134e38['length']-0x1,_0x409577=this['stack']['length']-0x1;_0x25965b>=0x0;_0x409577--){if(_0x409577<0x0)return _0x223c8a(this['_tree'],_0x134e38,_0x25965b);let _0x5c27ff=_0x45fd7b[_0x26d0c6['buffer'][this['stack'][_0x409577]]];if(!_0x5c27ff['isAnonymous']){if(_0x134e38[_0x25965b]&&_0x134e38[_0x25965b]!=_0x5c27ff['name'])return!0x1;_0x25965b--;}}return!0x0;}}function _0x20f0e6(_0xe0b472){return _0xe0b472['children']['some'](_0xafd07f=>_0xafd07f instanceof _0x386270||!_0xafd07f['type']['isAnonymous']||_0x20f0e6(_0xafd07f));}const _0x5f3375=new WeakMap();function _0x1fda5e(_0x43a57a,_0x1b4fb7){if(!_0x43a57a['isAnonymous']||_0x1b4fb7 instanceof _0x386270||_0x1b4fb7['type']!=_0x43a57a)return 0x1;let _0x636c6b=_0x5f3375['get'](_0x1b4fb7);if(null==_0x636c6b){_0x636c6b=0x1;for(let _0x5d8314 of _0x1b4fb7['children']){if(_0x5d8314['type']!=_0x43a57a||!(_0x5d8314 instanceof _0x3af464)){_0x636c6b=0x1;break;}_0x636c6b+=_0x1fda5e(_0x43a57a,_0x5d8314);}_0x5f3375['set'](_0x1b4fb7,_0x636c6b);}return _0x636c6b;}function _0x3268a(_0x273eb7,_0x26438d,_0x28482c,_0x16f4df,_0x3baba5,_0x1eb934,_0x4e03d5,_0x38470c,_0x3f902c){let _0x5552e9=0x0;for(let _0x49b0e5=_0x16f4df;_0x49b0e5<_0x3baba5;_0x49b0e5++)_0x5552e9+=_0x1fda5e(_0x273eb7,_0x26438d[_0x49b0e5]);let _0x18e7eb=Math['ceil'](1.5*_0x5552e9/0x8),_0x2843d6=[],_0x3498e9=[];return function _0x2422ee(_0x1f4028,_0x176e36,_0xed2604,_0x1965b4,_0x3df39e){for(let _0xc6228b=_0xed2604;_0xc6228b<_0x1965b4;){let _0x3112cf=_0xc6228b,_0x16d3cd=_0x176e36[_0xc6228b],_0x18ecd7=_0x1fda5e(_0x273eb7,_0x1f4028[_0xc6228b]);for(_0xc6228b++;_0xc6228b<_0x1965b4;_0xc6228b++){let _0x28657f=_0x1fda5e(_0x273eb7,_0x1f4028[_0xc6228b]);if(_0x18ecd7+_0x28657f>=_0x18e7eb)break;_0x18ecd7+=_0x28657f;}if(_0xc6228b==_0x3112cf+0x1){if(_0x18ecd7>_0x18e7eb){let _0x3c67da=_0x1f4028[_0x3112cf];_0x2422ee(_0x3c67da['children'],_0x3c67da['positions'],0x0,_0x3c67da['children']['length'],_0x176e36[_0x3112cf]+_0x3df39e);continue;}_0x2843d6['push'](_0x1f4028[_0x3112cf]);}else{let _0x5dc157=_0x176e36[_0xc6228b-0x1]+_0x1f4028[_0xc6228b-0x1]['length']-_0x16d3cd;_0x2843d6['push'](_0x3268a(_0x273eb7,_0x1f4028,_0x176e36,_0x3112cf,_0xc6228b,_0x16d3cd,_0x5dc157,null,_0x3f902c));}_0x3498e9['push'](_0x16d3cd+_0x3df39e-_0x1eb934);}}(_0x26438d,_0x28482c,_0x16f4df,_0x3baba5,0x0),(_0x38470c||_0x3f902c)(_0x2843d6,_0x3498e9,_0x4e03d5);}class _0x5ef128{constructor(){this['map']=new WeakMap();}['setBuffer'](_0xd960cb,_0xfc97c,_0x21afe9){let _0x48e669=this['map']['get'](_0xd960cb);_0x48e669||this['map']['set'](_0xd960cb,_0x48e669=new Map()),_0x48e669['set'](_0xfc97c,_0x21afe9);}['getBuffer'](_0x455335,_0x3c018){let _0x1db4bb=this['map']['get'](_0x455335);return _0x1db4bb&&_0x1db4bb['get'](_0x3c018);}['set'](_0x178221,_0x3134fb){_0x178221 instanceof _0x48aa5c?this['setBuffer'](_0x178221['context']['buffer'],_0x178221['index'],_0x3134fb):_0x178221 instanceof _0x513ba3&&this['map']['set'](_0x178221['tree'],_0x3134fb);}['get'](_0x37d4a0){return _0x37d4a0 instanceof _0x48aa5c?this['getBuffer'](_0x37d4a0['context']['buffer'],_0x37d4a0['index']):_0x37d4a0 instanceof _0x513ba3?this['map']['get'](_0x37d4a0['tree']):void 0x0;}['cursorSet'](_0x21a05d,_0x24e1da){_0x21a05d['buffer']?this['setBuffer'](_0x21a05d['buffer']['buffer'],_0x21a05d['index'],_0x24e1da):this['map']['set'](_0x21a05d['tree'],_0x24e1da);}['cursorGet'](_0x76d6dd){return _0x76d6dd['buffer']?this['getBuffer'](_0x76d6dd['buffer']['buffer'],_0x76d6dd['index']):this['map']['get'](_0x76d6dd['tree']);}}class TreeFragment{constructor(_0x24c051,_0x56679c,_0x42ab59,_0x37f80d,_0x5b02b2=!0x1,_0xc1a68e=!0x1){this['from']=_0x24c051,this['to']=_0x56679c,this['tree']=_0x42ab59,this['offset']=_0x37f80d,this['open']=(_0x5b02b2?0x1:0x0)|(_0xc1a68e?0x2:0x0);}get['openStart'](){return(0x1&this['open'])>0x0;}get['openEnd'](){return(0x2&this['open'])>0x0;}static['addTree'](_0x491cf1,_0x36a4ba=[],_0x187e8d=!0x1){let _0x1d2aa1=[new TreeFragment(0x0,_0x491cf1['length'],_0x491cf1,0x0,!0x1,_0x187e8d)];for(let _0x25152a of _0x36a4ba)_0x25152a['to']>_0x491cf1['length']&&_0x1d2aa1['push'](_0x25152a);return _0x1d2aa1;}static['applyChanges'](_0x1204c9,_0x18f926,_0x53c411=0x80){if(!_0x18f926['length'])return _0x1204c9;let _0x2f49cf=[],_0x4f4561=0x1,_0x577e83=_0x1204c9['length']?_0x1204c9[0x0]:null;for(let _0x24b421=0x0,_0x1b4c5e=0x0,_0x13aaf5=0x0;;_0x24b421++){let _0x844c6d=_0x24b421<_0x18f926['length']?_0x18f926[_0x24b421]:null,_0x1a5491=_0x844c6d?_0x844c6d['fromA']:0x3b9aca00;if(_0x1a5491-_0x1b4c5e>=_0x53c411)for(;_0x577e83&&_0x577e83['from']<_0x1a5491;){let _0x1c6355=_0x577e83;if(_0x1b4c5e>=_0x1c6355['from']||_0x1a5491<=_0x1c6355['to']||_0x13aaf5){let _0x1dc45a=Math['max'](_0x1c6355['from'],_0x1b4c5e)-_0x13aaf5,_0x366fdd=Math['min'](_0x1c6355['to'],_0x1a5491)-_0x13aaf5;_0x1c6355=_0x1dc45a>=_0x366fdd?null:new TreeFragment(_0x1dc45a,_0x366fdd,_0x1c6355['tree'],_0x1c6355['offset']+_0x13aaf5,_0x24b421>0x0,!!_0x844c6d);}if(_0x1c6355&&_0x2f49cf['push'](_0x1c6355),_0x577e83['to']>_0x1a5491)break;_0x577e83=_0x4f4561<_0x1204c9['length']?_0x1204c9[_0x4f4561++]:null;}if(!_0x844c6d)break;_0x1b4c5e=_0x844c6d['toA'],_0x13aaf5=_0x844c6d['toA']-_0x844c6d['toB'];}return _0x2f49cf;}}class _0x378e00{['startParse'](_0x686cae,_0x5c6a51,_0x734774){return'string'==typeof _0x686cae&&(_0x686cae=new StringInput(_0x686cae)),_0x734774=_0x734774?_0x734774['length']?_0x734774['map'](_0x5e279d=>new _0x5d67c4(_0x5e279d['from'],_0x5e279d['to'])):[new _0x5d67c4(0x0,0x0)]:[new _0x5d67c4(0x0,_0x686cae['length'])],this['createParse'](_0x686cae,_0x5c6a51||[],_0x734774);}['parse'](_0x2d6108,_0x354b9e,_0xc6a151){let _0x386238=this['startParse'](_0x2d6108,_0x354b9e,_0xc6a151);for(;;){let _0x368f09=_0x386238['advance']();if(_0x368f09)return _0x368f09;}}}class StringInput{constructor(_0x4e3c9d){this['string']=_0x4e3c9d;}get['length'](){return this['string']['length'];}['chunk'](_0x28fc47){return this['string']['slice'](_0x28fc47);}get['lineChunks'](){return!0x1;}['read'](_0x3c7043,_0x3c2553){return this['string']['slice'](_0x3c7043,_0x3c2553);}}function _0x4dd6b8(_0x19e753){return(_0x555596,_0x2163f2,_0xf2a592,_0x9fcb8a)=>new _0x3dcb5c(_0x555596,_0x19e753,_0x2163f2,_0xf2a592,_0x9fcb8a);}class _0xb2035b{constructor(_0x3ee65b,_0x339d83,_0x500d39,_0x37ca12,_0x1a5cc5){this['parser']=_0x3ee65b,this['parse']=_0x339d83,this['overlay']=_0x500d39,this['target']=_0x37ca12,this['from']=_0x1a5cc5;}}function _0x52d843(_0x4a348f){if(!_0x4a348f['length']||_0x4a348f['some'](_0x33661a=>_0x33661a['from']>=_0x33661a['to']))throw new RangeError('Invalid\x20inner\x20parse\x20ranges\x20given:\x20'+JSON['stringify'](_0x4a348f));}class ActiveOverlay{constructor(_0x22146a,_0x2a1865,_0x599655,_0x1cd7b6,_0x5d2df7,_0x4c4eeb,_0x5d4057){this['parser']=_0x22146a,this['predicate']=_0x2a1865,this['mounts']=_0x599655,this['index']=_0x1cd7b6,this['start']=_0x5d2df7,this['target']=_0x4c4eeb,this['prev']=_0x5d4057,this['depth']=0x0,this['ranges']=[];}}const _0x116034=new _0x17497f({'perNode':!0x0});class _0x3dcb5c{constructor(_0x3eb1ca,_0x16a0ff,_0xffcd6f,_0x34ae98,_0x31d845){this['nest']=_0x16a0ff,this['input']=_0xffcd6f,this['fragments']=_0x34ae98,this['ranges']=_0x31d845,this['inner']=[],this['innerDone']=0x0,this['baseTree']=null,this['stoppedAt']=null,this['baseParse']=_0x3eb1ca;}['advance'](){if(this['baseParse']){let _0x4bdcd1=this['baseParse']['advance']();if(!_0x4bdcd1)return null;if(this['baseParse']=null,this['baseTree']=_0x4bdcd1,this['startInner'](),null!=this['stoppedAt']){for(let _0x5e6e4d of this['inner'])_0x5e6e4d['parse']['stopAt'](this['stoppedAt']);}}if(this['innerDone']==this['inner']['length']){let _0x230097=this['baseTree'];return null!=this['stoppedAt']&&(_0x230097=new _0x3af464(_0x230097['type'],_0x230097['children'],_0x230097['positions'],_0x230097['length'],_0x230097['propValues']['concat']([[_0x116034,this['stoppedAt']]]))),_0x230097;}let _0x400527=this['inner'][this['innerDone']],_0x1bdbc3=_0x400527['parse']['advance']();if(_0x1bdbc3){this['innerDone']++;let _0xf7a092=Object['assign'](Object['create'](null),_0x400527['target']['props']);_0xf7a092[_0x17497f['mounted']['id']]=new MountedTree(_0x1bdbc3,_0x400527['overlay'],_0x400527['parser']),_0x400527['target']['props']=_0xf7a092;}return null;}get['parsedPos'](){if(this['baseParse'])return 0x0;let _0xdc0ce2=this['input']['length'];for(let _0x15fd1f=this['innerDone'];_0x15fd1f<this['inner']['length'];_0x15fd1f++)this['inner'][_0x15fd1f]['from']<_0xdc0ce2&&(_0xdc0ce2=Math['min'](_0xdc0ce2,this['inner'][_0x15fd1f]['parse']['parsedPos']));return _0xdc0ce2;}['stopAt'](_0x50f70c){if(this['stoppedAt']=_0x50f70c,this['baseParse'])this['baseParse']['stopAt'](_0x50f70c);else{for(let _0x105739=this['innerDone'];_0x105739<this['inner']['length'];_0x105739++)this['inner'][_0x105739]['parse']['stopAt'](_0x50f70c);}}['startInner'](){let _0x3edc5c=new _0x236427(this['fragments']),_0x21ec97=null,_0x5ceddd=null,_0x3ebbfb=new _0x3b100b(new _0x513ba3(this['baseTree'],this['ranges'][0x0]['from'],0x0,null),_0x11378c['IncludeAnonymous']|_0x11378c['IgnoreMounts']);t:for(let _0x57ce43,_0x1219ad;;){let _0x2d396d,_0x111baa=!0x0;if(null!=this['stoppedAt']&&_0x3ebbfb['from']>=this['stoppedAt'])_0x111baa=!0x1;else{if(_0x3edc5c['hasNode'](_0x3ebbfb)){if(_0x21ec97){let _0x1c9e08=_0x21ec97['mounts']['find'](_0x327bd0=>_0x327bd0['frag']['from']<=_0x3ebbfb['from']&&_0x327bd0['frag']['to']>=_0x3ebbfb['to']&&_0x327bd0['mount']['overlay']);if(_0x1c9e08)for(let _0x20f4be of _0x1c9e08['mount']['overlay']){let _0x5da2ef=_0x20f4be['from']+_0x1c9e08['pos'],_0x39fbc4=_0x20f4be['to']+_0x1c9e08['pos'];_0x5da2ef>=_0x3ebbfb['from']&&_0x39fbc4<=_0x3ebbfb['to']&&!_0x21ec97['ranges']['some'](_0x37e45a=>_0x37e45a['from']<_0x39fbc4&&_0x37e45a['to']>_0x5da2ef)&&_0x21ec97['ranges']['push']({'from':_0x5da2ef,'to':_0x39fbc4});}}_0x111baa=!0x1;}else{if(_0x5ceddd&&(_0x1219ad=_0x4dc256(_0x5ceddd['ranges'],_0x3ebbfb['from'],_0x3ebbfb['to'])))_0x111baa=0x2!=_0x1219ad;else{if(!_0x3ebbfb['type']['isAnonymous']&&(_0x57ce43=this['nest'](_0x3ebbfb,this['input']))&&(_0x3ebbfb['from']<_0x3ebbfb['to']||!_0x57ce43['overlay'])){_0x3ebbfb['tree']||(_0x2c56d6(_0x3ebbfb),_0x21ec97&&_0x21ec97['depth']++,_0x5ceddd&&_0x5ceddd['depth']++);let _0x33b66a=_0x3edc5c['findMounts'](_0x3ebbfb['from'],_0x57ce43['parser']);if('function'==typeof _0x57ce43['overlay'])_0x21ec97=new ActiveOverlay(_0x57ce43['parser'],_0x57ce43['overlay'],_0x33b66a,this['inner']['length'],_0x3ebbfb['from'],_0x3ebbfb['tree'],_0x21ec97);else{let _0x4dba00=_0x545a9d(this['ranges'],_0x57ce43['overlay']||(_0x3ebbfb['from']<_0x3ebbfb['to']?[new _0x5d67c4(_0x3ebbfb['from'],_0x3ebbfb['to'])]:[]));_0x4dba00['length']&&_0x52d843(_0x4dba00),!_0x4dba00['length']&&_0x57ce43['overlay']||this['inner']['push'](new _0xb2035b(_0x57ce43['parser'],_0x4dba00['length']?_0x57ce43['parser']['startParse'](this['input'],_0x256bc9(_0x33b66a,_0x4dba00),_0x4dba00):_0x57ce43['parser']['startParse'](''),_0x57ce43['overlay']?_0x57ce43['overlay']['map'](_0x48ee69=>new _0x5d67c4(_0x48ee69['from']-_0x3ebbfb['from'],_0x48ee69['to']-_0x3ebbfb['from'])):null,_0x3ebbfb['tree'],_0x4dba00['length']?_0x4dba00[0x0]['from']:_0x3ebbfb['from'])),_0x57ce43['overlay']?_0x4dba00['length']&&(_0x5ceddd={'ranges':_0x4dba00,'depth':0x0,'prev':_0x5ceddd}):_0x111baa=!0x1;}}else{if(_0x21ec97&&(_0x2d396d=_0x21ec97['predicate'](_0x3ebbfb))&&(!0x0===_0x2d396d&&(_0x2d396d=new _0x5d67c4(_0x3ebbfb['from'],_0x3ebbfb['to'])),_0x2d396d['from']<_0x2d396d['to'])){let _0x10451c=_0x21ec97['ranges']['length']-0x1;_0x10451c>=0x0&&_0x21ec97['ranges'][_0x10451c]['to']==_0x2d396d['from']?_0x21ec97['ranges'][_0x10451c]={'from':_0x21ec97['ranges'][_0x10451c]['from'],'to':_0x2d396d['to']}:_0x21ec97['ranges']['push'](_0x2d396d);}}}}}if(_0x111baa&&_0x3ebbfb['firstChild']())_0x21ec97&&_0x21ec97['depth']++,_0x5ceddd&&_0x5ceddd['depth']++;else for(;!_0x3ebbfb['nextSibling']();){if(!_0x3ebbfb['parent']())break t;if(_0x21ec97&&!--_0x21ec97['depth']){let _0x1198e8=_0x545a9d(this['ranges'],_0x21ec97['ranges']);_0x1198e8['length']&&(_0x52d843(_0x1198e8),this['inner']['splice'](_0x21ec97['index'],0x0,new _0xb2035b(_0x21ec97['parser'],_0x21ec97['parser']['startParse'](this['input'],_0x256bc9(_0x21ec97['mounts'],_0x1198e8),_0x1198e8),_0x21ec97['ranges']['map'](_0x3afcb9=>new _0x5d67c4(_0x3afcb9['from']-_0x21ec97['start'],_0x3afcb9['to']-_0x21ec97['start'])),_0x21ec97['target'],_0x1198e8[0x0]['from']))),_0x21ec97=_0x21ec97['prev'];}_0x5ceddd&&!--_0x5ceddd['depth']&&(_0x5ceddd=_0x5ceddd['prev']);}}}}function _0x4dc256(_0x30f0c1,_0x51a70d,_0x4989ce){for(let _0xb68473 of _0x30f0c1){if(_0xb68473['from']>=_0x4989ce)break;if(_0xb68473['to']>_0x51a70d)return _0xb68473['from']<=_0x51a70d&&_0xb68473['to']>=_0x4989ce?0x2:0x1;}return 0x0;}function _0x409c31(_0x574c3b,_0x5c5a83,_0x17b0db,_0x43c715,_0x3063d4,_0x46e4c0){if(_0x5c5a83<_0x17b0db){let _0x13c1e8=_0x574c3b['buffer'][_0x5c5a83+0x1];_0x43c715['push'](_0x574c3b['slice'](_0x5c5a83,_0x17b0db,_0x13c1e8)),_0x3063d4['push'](_0x13c1e8-_0x46e4c0);}}function _0x2c56d6(_0x31b5a0){let {node:_0x4aaaf6}=_0x31b5a0,_0x948958=[],_0x511bb4=_0x4aaaf6['context']['buffer'];do{_0x948958['push'](_0x31b5a0['index']),_0x31b5a0['parent']();}while(!_0x31b5a0['tree']);let _0x3f9e15=_0x31b5a0['tree'],_0x4581d8=_0x3f9e15['children']['indexOf'](_0x511bb4),_0x3473c4=_0x3f9e15['children'][_0x4581d8],_0x5e907c=_0x3473c4['buffer'],_0x55168d=[_0x4581d8];_0x3f9e15['children'][_0x4581d8]=function _0xc94ea3(_0x46d003,_0x4d066a,_0x3cf5b6,_0x2c2e10,_0x20a5dd,_0x4c1bbb){let _0x4839a8=_0x948958[_0x4c1bbb],_0x2d7376=[],_0x5831ab=[];_0x409c31(_0x3473c4,_0x46d003,_0x4839a8,_0x2d7376,_0x5831ab,_0x2c2e10);let _0x92a119=_0x5e907c[_0x4839a8+0x1],_0x30c3e1=_0x5e907c[_0x4839a8+0x2];_0x55168d['push'](_0x2d7376['length']);let _0x1ab1e9=_0x4c1bbb?_0xc94ea3(_0x4839a8+0x4,_0x5e907c[_0x4839a8+0x3],_0x3473c4['set']['types'][_0x5e907c[_0x4839a8]],_0x92a119,_0x30c3e1-_0x92a119,_0x4c1bbb-0x1):_0x4aaaf6['toTree']();return _0x2d7376['push'](_0x1ab1e9),_0x5831ab['push'](_0x92a119-_0x2c2e10),_0x409c31(_0x3473c4,_0x5e907c[_0x4839a8+0x3],_0x4d066a,_0x2d7376,_0x5831ab,_0x2c2e10),new _0x3af464(_0x3cf5b6,_0x2d7376,_0x5831ab,_0x20a5dd);}(0x0,_0x5e907c['length'],_0x215dc9['none'],0x0,_0x3473c4['length'],_0x948958['length']-0x1);for(let _0x1193b7 of _0x55168d){let _0x165a5c=_0x31b5a0['tree']['children'][_0x1193b7],_0x43317c=_0x31b5a0['tree']['positions'][_0x1193b7];_0x31b5a0['yield'](new _0x513ba3(_0x165a5c,_0x43317c+_0x31b5a0['from'],_0x1193b7,_0x31b5a0['_tree']));}}class StructureCursor{constructor(_0x433ed9,_0x38af4f){this['offset']=_0x38af4f,this['done']=!0x1,this['cursor']=_0x433ed9['cursor'](_0x11378c['IncludeAnonymous']|_0x11378c['IgnoreMounts']);}['moveTo'](_0x4273d9){let {cursor:_0x494154}=this,_0x171255=_0x4273d9-this['offset'];for(;!this['done']&&_0x494154['from']<_0x171255;)_0x494154['to']>=_0x4273d9&&_0x494154['enter'](_0x171255,0x1,_0x11378c['IgnoreOverlays']|_0x11378c['ExcludeBuffers'])||_0x494154['next'](!0x1)||(this['done']=!0x0);}['hasNode'](_0x14fc5f){if(this['moveTo'](_0x14fc5f['from']),!this['done']&&this['cursor']['from']+this['offset']==_0x14fc5f['from']&&this['cursor']['tree'])for(let _0x4f0e9f=this['cursor']['tree'];;){if(_0x4f0e9f==_0x14fc5f['tree'])return!0x0;if(!(_0x4f0e9f['children']['length']&&0x0==_0x4f0e9f['positions'][0x0]&&_0x4f0e9f['children'][0x0]instanceof _0x3af464))break;_0x4f0e9f=_0x4f0e9f['children'][0x0];}return!0x1;}}let _0x236427=class FragmentCursor{constructor(_0x4453f4){var _0x5742cd;if(this['fragments']=_0x4453f4,this['curTo']=0x0,this['fragI']=0x0,_0x4453f4['length']){let _0xb51765=this['curFrag']=_0x4453f4[0x0];this['curTo']=null!==(_0x5742cd=_0xb51765['tree']['prop'](_0x116034))&&void 0x0!==_0x5742cd?_0x5742cd:_0xb51765['to'],this['inner']=new StructureCursor(_0xb51765['tree'],-_0xb51765['offset']);}else this['curFrag']=this['inner']=null;}['hasNode'](_0x41a3ce){for(;this['curFrag']&&_0x41a3ce['from']>=this['curTo'];)this['nextFrag']();return this['curFrag']&&this['curFrag']['from']<=_0x41a3ce['from']&&this['curTo']>=_0x41a3ce['to']&&this['inner']['hasNode'](_0x41a3ce);}['nextFrag'](){var _0x5c14ce;if(this['fragI']++,this['fragI']==this['fragments']['length'])this['curFrag']=this['inner']=null;else{let _0x4d16a6=this['curFrag']=this['fragments'][this['fragI']];this['curTo']=null!==(_0x5c14ce=_0x4d16a6['tree']['prop'](_0x116034))&&void 0x0!==_0x5c14ce?_0x5c14ce:_0x4d16a6['to'],this['inner']=new StructureCursor(_0x4d16a6['tree'],-_0x4d16a6['offset']);}}['findMounts'](_0x1abb7b,_0x4aab06){var _0x5670aa;let _0x28960f=[];if(this['inner']){this['inner']['cursor']['moveTo'](_0x1abb7b,0x1);for(let _0x2ce138=this['inner']['cursor']['node'];_0x2ce138;_0x2ce138=_0x2ce138['parent']){let _0x5c8c79=null===(_0x5670aa=_0x2ce138['tree'])||void 0x0===_0x5670aa?void 0x0:_0x5670aa['prop'](_0x17497f['mounted']);if(_0x5c8c79&&_0x5c8c79['parser']==_0x4aab06)for(let _0x1b6aa5=this['fragI'];_0x1b6aa5<this['fragments']['length'];_0x1b6aa5++){let _0x10c3ee=this['fragments'][_0x1b6aa5];if(_0x10c3ee['from']>=_0x2ce138['to'])break;_0x10c3ee['tree']==this['curFrag']['tree']&&_0x28960f['push']({'frag':_0x10c3ee,'pos':_0x2ce138['from']-_0x10c3ee['offset'],'mount':_0x5c8c79});}}}return _0x28960f;}};function _0x545a9d(_0x2057ec,_0x51ab1b){let _0x4e6cc3=null,_0x1ce8ec=_0x51ab1b;for(let _0x1e76a5=0x1,_0x1ae6a5=0x0;_0x1e76a5<_0x2057ec['length'];_0x1e76a5++){let _0x969f1b=_0x2057ec[_0x1e76a5-0x1]['to'],_0x2d7496=_0x2057ec[_0x1e76a5]['from'];for(;_0x1ae6a5<_0x1ce8ec['length'];_0x1ae6a5++){let _0x43e29d=_0x1ce8ec[_0x1ae6a5];if(_0x43e29d['from']>=_0x2d7496)break;_0x43e29d['to']<=_0x969f1b||(_0x4e6cc3||(_0x1ce8ec=_0x4e6cc3=_0x51ab1b['slice']()),_0x43e29d['from']<_0x969f1b?(_0x4e6cc3[_0x1ae6a5]=new _0x5d67c4(_0x43e29d['from'],_0x969f1b),_0x43e29d['to']>_0x2d7496&&_0x4e6cc3['splice'](_0x1ae6a5+0x1,0x0,new _0x5d67c4(_0x2d7496,_0x43e29d['to']))):_0x43e29d['to']>_0x2d7496?_0x4e6cc3[_0x1ae6a5--]=new _0x5d67c4(_0x2d7496,_0x43e29d['to']):_0x4e6cc3['splice'](_0x1ae6a5--,0x1));}}return _0x1ce8ec;}function _0x2adba9(_0x210f5b,_0x45d5e5,_0x430c07,_0x4281d9){let _0x24d2b9=0x0,_0x4c5995=0x0,_0x23e830=!0x1,_0x3578a7=!0x1,_0xc3673a=-0x3b9aca00,_0x261e5f=[];for(;;){let _0x573dda=_0x24d2b9==_0x210f5b['length']?0x3b9aca00:_0x23e830?_0x210f5b[_0x24d2b9]['to']:_0x210f5b[_0x24d2b9]['from'],_0x8d844=_0x4c5995==_0x45d5e5['length']?0x3b9aca00:_0x3578a7?_0x45d5e5[_0x4c5995]['to']:_0x45d5e5[_0x4c5995]['from'];if(_0x23e830!=_0x3578a7){let _0x52a7d8=Math['max'](_0xc3673a,_0x430c07),_0x25582b=Math['min'](_0x573dda,_0x8d844,_0x4281d9);_0x52a7d8<_0x25582b&&_0x261e5f['push'](new _0x5d67c4(_0x52a7d8,_0x25582b));}if(_0xc3673a=Math['min'](_0x573dda,_0x8d844),0x3b9aca00==_0xc3673a)break;_0x573dda==_0xc3673a&&(_0x23e830?(_0x23e830=!0x1,_0x24d2b9++):_0x23e830=!0x0),_0x8d844==_0xc3673a&&(_0x3578a7?(_0x3578a7=!0x1,_0x4c5995++):_0x3578a7=!0x0);}return _0x261e5f;}function _0x256bc9(_0x515cd9,_0x1d600d){let _0x35ee24=[];for(let {pos:_0x1830c1,mount:_0x36d4b1,frag:_0xabe98a}of _0x515cd9){let _0x131b8b=_0x1830c1+(_0x36d4b1['overlay']?_0x36d4b1['overlay'][0x0]['from']:0x0),_0x5c27e1=_0x131b8b+_0x36d4b1['tree']['length'],_0x378b3c=Math['max'](_0xabe98a['from'],_0x131b8b),_0x5c8b0d=Math['min'](_0xabe98a['to'],_0x5c27e1);if(_0x36d4b1['overlay']){let _0x4aec9c=_0x2adba9(_0x1d600d,_0x36d4b1['overlay']['map'](_0x40687d=>new _0x5d67c4(_0x40687d['from']+_0x1830c1,_0x40687d['to']+_0x1830c1)),_0x378b3c,_0x5c8b0d);for(let _0x4f3e7a=0x0,_0x39fc0b=_0x378b3c;;_0x4f3e7a++){let _0x5b78e0=_0x4f3e7a==_0x4aec9c['length'],_0x5ad933=_0x5b78e0?_0x5c8b0d:_0x4aec9c[_0x4f3e7a]['from'];if(_0x5ad933>_0x39fc0b&&_0x35ee24['push'](new TreeFragment(_0x39fc0b,_0x5ad933,_0x36d4b1['tree'],-_0x131b8b,_0xabe98a['from']>=_0x39fc0b||_0xabe98a['openStart'],_0xabe98a['to']<=_0x5ad933||_0xabe98a['openEnd'])),_0x5b78e0)break;_0x39fc0b=_0x4aec9c[_0x4f3e7a]['to'];}}else _0x35ee24['push'](new TreeFragment(_0x378b3c,_0x5c8b0d,_0x36d4b1['tree'],-_0x131b8b,_0xabe98a['from']>=_0x131b8b||_0xabe98a['openStart'],_0xabe98a['to']<=_0x5c27e1||_0xabe98a['openEnd']));}return _0x35ee24;}let _0x593cc3=0x0;class _0x2e7766{constructor(_0x3e4bb4,_0x3ad36a,_0x4295ed,_0x207c04){this['name']=_0x3e4bb4,this['set']=_0x3ad36a,this['base']=_0x4295ed,this['modified']=_0x207c04,this['id']=_0x593cc3++;}['toString'](){let {name:_0x535286}=this;for(let _0x14fd55 of this['modified'])_0x14fd55['name']&&(_0x535286=_0x14fd55['name']+'('+_0x535286+')');return _0x535286;}static['define'](_0x573775,_0xad7054){let _0x2be43c='string'==typeof _0x573775?_0x573775:'?';if(_0x573775 instanceof _0x2e7766&&(_0xad7054=_0x573775),null==_0xad7054?void 0x0:_0xad7054['base'])throw new Error('Can\x20not\x20derive\x20from\x20a\x20modified\x20tag');let _0x345e78=new _0x2e7766(_0x2be43c,[],null,[]);if(_0x345e78['set']['push'](_0x345e78),_0xad7054){for(let t of _0xad7054['set'])_0x345e78['set']['push'](t);}return _0x345e78;}static['defineModifier'](_0x234941){let _0x9eb4ed=new _0x447728(_0x234941);return _0x271e51=>_0x271e51['modified']['indexOf'](_0x9eb4ed)>-0x1?_0x271e51:_0x447728['get'](_0x271e51['base']||_0x271e51,_0x271e51['modified']['concat'](_0x9eb4ed)['sort']((_0x82fd48,_0x35d449)=>_0x82fd48['id']-_0x35d449['id']));}}let _0x3de356=0x0;class _0x447728{constructor(_0x4f6ad7){this['name']=_0x4f6ad7,this['instances']=[],this['id']=_0x3de356++;}static['get'](_0x2d2930,_0xc337fc){if(!_0xc337fc['length'])return _0x2d2930;let _0x5df457=_0xc337fc[0x0]['instances']['find'](t=>t['base']==_0x2d2930&&function(_0x3ce7cb,_0x3252cf){return _0x3ce7cb['length']==_0x3252cf['length']&&_0x3ce7cb['every']((_0x1a4ad8,_0xe01c4d)=>_0x1a4ad8==_0x3252cf[_0xe01c4d]);}(_0xc337fc,t['modified']));if(_0x5df457)return _0x5df457;let _0x187be7=[],_0x4715f8=new _0x2e7766(_0x2d2930['name'],_0x187be7,_0x2d2930,_0xc337fc);for(let _0x35d262 of _0xc337fc)_0x35d262['instances']['push'](_0x4715f8);let _0x2405ab=function(_0x383ca6){let _0x275b8d=[[]];for(let _0x5da857=0x0;_0x5da857<_0x383ca6['length'];_0x5da857++)for(let _0x49a43c=0x0,_0x1ecce5=_0x275b8d['length'];_0x49a43c<_0x1ecce5;_0x49a43c++)_0x275b8d['push'](_0x275b8d[_0x49a43c]['concat'](_0x383ca6[_0x5da857]));return _0x275b8d['sort']((_0x566d40,_0x3bfd23)=>_0x3bfd23['length']-_0x566d40['length']);}(_0xc337fc);for(let _0x491f77 of _0x2d2930['set'])if(!_0x491f77['modified']['length']){for(let _0xc2698c of _0x2405ab)_0x187be7['push'](_0x447728['get'](_0x491f77,_0xc2698c));}return _0x4715f8;}}function _0x39699e(_0x36235a){let _0x122cfd=Object['create'](null);for(let _0x3b2dcf in _0x36235a){let _0x50177c=_0x36235a[_0x3b2dcf];Array['isArray'](_0x50177c)||(_0x50177c=[_0x50177c]);for(let _0x98861a of _0x3b2dcf['split']('\x20'))if(_0x98861a){let _0x4bf587=[],_0x53dfb0=0x2,_0x2098ad=_0x98861a;for(let _0x527c4e=0x0;;){if('...'==_0x2098ad&&_0x527c4e>0x0&&_0x527c4e+0x3==_0x98861a['length']){_0x53dfb0=0x1;break;}let _0x4df8b1=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/['exec'](_0x2098ad);if(!_0x4df8b1)throw new RangeError('Invalid\x20path:\x20'+_0x98861a);if(_0x4bf587['push']('*'==_0x4df8b1[0x0]?'':'\x22'==_0x4df8b1[0x0][0x0]?JSON['parse'](_0x4df8b1[0x0]):_0x4df8b1[0x0]),_0x527c4e+=_0x4df8b1[0x0]['length'],_0x527c4e==_0x98861a['length'])break;let _0x59f636=_0x98861a[_0x527c4e++];if(_0x527c4e==_0x98861a['length']&&'!'==_0x59f636){_0x53dfb0=0x0;break;}if('/'!=_0x59f636)throw new RangeError('Invalid\x20path:\x20'+_0x98861a);_0x2098ad=_0x98861a['slice'](_0x527c4e);}let _0x302482=_0x4bf587['length']-0x1,_0x315084=_0x4bf587[_0x302482];if(!_0x315084)throw new RangeError('Invalid\x20path:\x20'+_0x98861a);let _0xfb8496=new _0x362284(_0x50177c,_0x53dfb0,_0x302482>0x0?_0x4bf587['slice'](0x0,_0x302482):null);_0x122cfd[_0x315084]=_0xfb8496['sort'](_0x122cfd[_0x315084]);}}return _0x27cb79['add'](_0x122cfd);}const _0x27cb79=new _0x17497f({'combine'(_0x17b4ce,_0x44df9c){let _0x346998,_0xb5bca8,_0x26a4ef;for(;_0x17b4ce||_0x44df9c;){if(!_0x17b4ce||_0x44df9c&&_0x17b4ce['depth']>=_0x44df9c['depth']?(_0x26a4ef=_0x44df9c,_0x44df9c=_0x44df9c['next']):(_0x26a4ef=_0x17b4ce,_0x17b4ce=_0x17b4ce['next']),_0x346998&&_0x346998['mode']==_0x26a4ef['mode']&&!_0x26a4ef['context']&&!_0x346998['context'])continue;let _0x47c3aa=new _0x362284(_0x26a4ef['tags'],_0x26a4ef['mode'],_0x26a4ef['context']);_0x346998?_0x346998['next']=_0x47c3aa:_0xb5bca8=_0x47c3aa,_0x346998=_0x47c3aa;}return _0xb5bca8;}});class _0x362284{constructor(_0x35a78c,_0x4ff490,_0xc16020,_0x382dec){this['tags']=_0x35a78c,this['mode']=_0x4ff490,this['context']=_0xc16020,this['next']=_0x382dec;}get['opaque'](){return 0x0==this['mode'];}get['inherit'](){return 0x1==this['mode'];}['sort'](_0x48cdf0){return!_0x48cdf0||_0x48cdf0['depth']<this['depth']?(this['next']=_0x48cdf0,this):(_0x48cdf0['next']=this['sort'](_0x48cdf0['next']),_0x48cdf0);}get['depth'](){return this['context']?this['context']['length']:0x0;}}function _0x4b8926(_0x23ff19,_0x52914){let _0x41cc10=Object['create'](null);for(let _0x307dd3 of _0x23ff19)if(Array['isArray'](_0x307dd3['tag'])){for(let _0x32bfe4 of _0x307dd3['tag'])_0x41cc10[_0x32bfe4['id']]=_0x307dd3['class'];}else _0x41cc10[_0x307dd3['tag']['id']]=_0x307dd3['class'];let {scope:_0x4c08db,all:_0x36ac70=null}=_0x52914||{};return{'style':_0x106211=>{let _0x557cd5=_0x36ac70;for(let _0x433ef5 of _0x106211)for(let _0x338362 of _0x433ef5['set']){let _0x26d7a3=_0x41cc10[_0x338362['id']];if(_0x26d7a3){_0x557cd5=_0x557cd5?_0x557cd5+'\x20'+_0x26d7a3:_0x26d7a3;break;}}return _0x557cd5;},'scope':_0x4c08db};}function _0x55d2ff(_0x3bf38e,_0x481ae7,_0x33cb89,_0x1dc67a=0x0,_0x227f10=_0x3bf38e['length']){let _0x36bdd3=new HighlightBuilder(_0x1dc67a,Array['isArray'](_0x481ae7)?_0x481ae7:[_0x481ae7],_0x33cb89);_0x36bdd3['highlightRange'](_0x3bf38e['cursor'](),_0x1dc67a,_0x227f10,'',_0x36bdd3['highlighters']),_0x36bdd3['flush'](_0x227f10);}_0x362284['empty']=new _0x362284([],0x2,null);class HighlightBuilder{constructor(_0x730a7b,_0x1b10ab,_0x2719ee){this['at']=_0x730a7b,this['highlighters']=_0x1b10ab,this['span']=_0x2719ee,this['class']='';}['startSpan'](_0x3a6752,_0x60dec7){_0x60dec7!=this['class']&&(this['flush'](_0x3a6752),_0x3a6752>this['at']&&(this['at']=_0x3a6752),this['class']=_0x60dec7);}['flush'](_0x2e8690){_0x2e8690>this['at']&&this['class']&&this['span'](this['at'],_0x2e8690,this['class']);}['highlightRange'](_0x5965c2,_0x45ea4b,_0x57543e,_0x59a0aa,_0x4c4cb6){let {type:_0x4d48c1,from:_0x11412c,to:_0x9b61bb}=_0x5965c2;if(_0x11412c>=_0x57543e||_0x9b61bb<=_0x45ea4b)return;_0x4d48c1['isTop']&&(_0x4c4cb6=this['highlighters']['filter'](_0xd03e5d=>!_0xd03e5d['scope']||_0xd03e5d['scope'](_0x4d48c1)));let _0x2dc28b=_0x59a0aa,_0x34848b=function(_0x5b3c52){let _0x10de1c=_0x5b3c52['type']['prop'](_0x27cb79);for(;_0x10de1c&&_0x10de1c['context']&&!_0x5b3c52['matchContext'](_0x10de1c['context']);)_0x10de1c=_0x10de1c['next'];return _0x10de1c||null;}(_0x5965c2)||_0x362284['empty'],_0x4f9db8=function(_0x137896,_0x5e6ff1){let _0x5983a0=null;for(let _0x2b9327 of _0x137896){let _0x14e4ce=_0x2b9327['style'](_0x5e6ff1);_0x14e4ce&&(_0x5983a0=_0x5983a0?_0x5983a0+'\x20'+_0x14e4ce:_0x14e4ce);}return _0x5983a0;}(_0x4c4cb6,_0x34848b['tags']);if(_0x4f9db8&&(_0x2dc28b&&(_0x2dc28b+='\x20'),_0x2dc28b+=_0x4f9db8,0x1==_0x34848b['mode']&&(_0x59a0aa+=(_0x59a0aa?'\x20':'')+_0x4f9db8)),this['startSpan'](Math['max'](_0x45ea4b,_0x11412c),_0x2dc28b),_0x34848b['opaque'])return;let _0x25fe7e=_0x5965c2['tree']&&_0x5965c2['tree']['prop'](_0x17497f['mounted']);if(_0x25fe7e&&_0x25fe7e['overlay']){let _0x3b5fe7=_0x5965c2['node']['enter'](_0x25fe7e['overlay'][0x0]['from']+_0x11412c,0x1),_0x4cbe0f=this['highlighters']['filter'](_0x44e546=>!_0x44e546['scope']||_0x44e546['scope'](_0x25fe7e['tree']['type'])),_0x3cf9d0=_0x5965c2['firstChild']();for(let _0x256b98=0x0,_0xda20ee=_0x11412c;;_0x256b98++){let _0x410fe3=_0x256b98<_0x25fe7e['overlay']['length']?_0x25fe7e['overlay'][_0x256b98]:null,_0x98e1ba=_0x410fe3?_0x410fe3['from']+_0x11412c:_0x9b61bb,_0x482e13=Math['max'](_0x45ea4b,_0xda20ee),_0x393c71=Math['min'](_0x57543e,_0x98e1ba);if(_0x482e13<_0x393c71&&_0x3cf9d0){for(;_0x5965c2['from']<_0x393c71&&(this['highlightRange'](_0x5965c2,_0x482e13,_0x393c71,_0x59a0aa,_0x4c4cb6),this['startSpan'](Math['min'](_0x393c71,_0x5965c2['to']),_0x2dc28b),!(_0x5965c2['to']>=_0x98e1ba)&&_0x5965c2['nextSibling']()););}if(!_0x410fe3||_0x98e1ba>_0x57543e)break;_0xda20ee=_0x410fe3['to']+_0x11412c,_0xda20ee>_0x45ea4b&&(this['highlightRange'](_0x3b5fe7['cursor'](),Math['max'](_0x45ea4b,_0x410fe3['from']+_0x11412c),Math['min'](_0x57543e,_0xda20ee),'',_0x4cbe0f),this['startSpan'](Math['min'](_0x57543e,_0xda20ee),_0x2dc28b));}_0x3cf9d0&&_0x5965c2['parent']();}else{if(_0x5965c2['firstChild']()){_0x25fe7e&&(_0x59a0aa='');do{if(!(_0x5965c2['to']<=_0x45ea4b)){if(_0x5965c2['from']>=_0x57543e)break;this['highlightRange'](_0x5965c2,_0x45ea4b,_0x57543e,_0x59a0aa,_0x4c4cb6),this['startSpan'](Math['min'](_0x57543e,_0x5965c2['to']),_0x2dc28b);}}while(_0x5965c2['nextSibling']());_0x5965c2['parent']();}}}}const t=_0x2e7766['define'],t_=t(),_0x46264f=t(),_0x2ee0da=t(_0x46264f),_0x5f0408=t(_0x46264f),_0x7af64=t(),_0x3cffdd=t(_0x7af64),_0x4ca2de=t(_0x7af64),_0xc41a28=t(),_0x2d5105=t(_0xc41a28),_0x1549c1=t(),_0x231da1=t(),_0x4f7353=t(),_0x3136c1=t(_0x4f7353),_0x41d5b3=t(),_0x1abe46={'comment':t_,'lineComment':t(t_),'blockComment':t(t_),'docComment':t(t_),'name':_0x46264f,'variableName':t(_0x46264f),'typeName':_0x2ee0da,'tagName':t(_0x2ee0da),'propertyName':_0x5f0408,'attributeName':t(_0x5f0408),'className':t(_0x46264f),'labelName':t(_0x46264f),'namespace':t(_0x46264f),'macroName':t(_0x46264f),'literal':_0x7af64,'string':_0x3cffdd,'docString':t(_0x3cffdd),'character':t(_0x3cffdd),'attributeValue':t(_0x3cffdd),'number':_0x4ca2de,'integer':t(_0x4ca2de),'float':t(_0x4ca2de),'bool':t(_0x7af64),'regexp':t(_0x7af64),'escape':t(_0x7af64),'color':t(_0x7af64),'url':t(_0x7af64),'keyword':_0x1549c1,'self':t(_0x1549c1),'null':t(_0x1549c1),'atom':t(_0x1549c1),'unit':t(_0x1549c1),'modifier':t(_0x1549c1),'operatorKeyword':t(_0x1549c1),'controlKeyword':t(_0x1549c1),'definitionKeyword':t(_0x1549c1),'moduleKeyword':t(_0x1549c1),'operator':_0x231da1,'derefOperator':t(_0x231da1),'arithmeticOperator':t(_0x231da1),'logicOperator':t(_0x231da1),'bitwiseOperator':t(_0x231da1),'compareOperator':t(_0x231da1),'updateOperator':t(_0x231da1),'definitionOperator':t(_0x231da1),'typeOperator':t(_0x231da1),'controlOperator':t(_0x231da1),'punctuation':_0x4f7353,'separator':t(_0x4f7353),'bracket':_0x3136c1,'angleBracket':t(_0x3136c1),'squareBracket':t(_0x3136c1),'paren':t(_0x3136c1),'brace':t(_0x3136c1),'content':_0xc41a28,'heading':_0x2d5105,'heading1':t(_0x2d5105),'heading2':t(_0x2d5105),'heading3':t(_0x2d5105),'heading4':t(_0x2d5105),'heading5':t(_0x2d5105),'heading6':t(_0x2d5105),'contentSeparator':t(_0xc41a28),'list':t(_0xc41a28),'quote':t(_0xc41a28),'emphasis':t(_0xc41a28),'strong':t(_0xc41a28),'link':t(_0xc41a28),'monospace':t(_0xc41a28),'strikethrough':t(_0xc41a28),'inserted':t(),'deleted':t(),'changed':t(),'invalid':t(),'meta':_0x41d5b3,'documentMeta':t(_0x41d5b3),'annotation':t(_0x41d5b3),'processingInstruction':t(_0x41d5b3),'definition':_0x2e7766['defineModifier']('definition'),'constant':_0x2e7766['defineModifier']('constant'),'function':_0x2e7766['defineModifier']('function'),'standard':_0x2e7766['defineModifier']('standard'),'local':_0x2e7766['defineModifier']('local'),'special':_0x2e7766['defineModifier']('special')};for(let _0x12c5a6 in _0x1abe46){let _0x5d8bd0=_0x1abe46[_0x12c5a6];_0x5d8bd0 instanceof _0x2e7766&&(_0x5d8bd0['name']=_0x12c5a6);}var _0x42b4be;_0x4b8926([{'tag':_0x1abe46['link'],'class':'tok-link'},{'tag':_0x1abe46['heading'],'class':'tok-heading'},{'tag':_0x1abe46['emphasis'],'class':'tok-emphasis'},{'tag':_0x1abe46['strong'],'class':'tok-strong'},{'tag':_0x1abe46['keyword'],'class':'tok-keyword'},{'tag':_0x1abe46['atom'],'class':'tok-atom'},{'tag':_0x1abe46['bool'],'class':'tok-bool'},{'tag':_0x1abe46['url'],'class':'tok-url'},{'tag':_0x1abe46['labelName'],'class':'tok-labelName'},{'tag':_0x1abe46['inserted'],'class':'tok-inserted'},{'tag':_0x1abe46['deleted'],'class':'tok-deleted'},{'tag':_0x1abe46['literal'],'class':'tok-literal'},{'tag':_0x1abe46['string'],'class':'tok-string'},{'tag':_0x1abe46['number'],'class':'tok-number'},{'tag':[_0x1abe46['regexp'],_0x1abe46['escape'],_0x1abe46['special'](_0x1abe46['string'])],'class':'tok-string2'},{'tag':_0x1abe46['variableName'],'class':'tok-variableName'},{'tag':_0x1abe46['local'](_0x1abe46['variableName']),'class':'tok-variableName\x20tok-local'},{'tag':_0x1abe46['definition'](_0x1abe46['variableName']),'class':'tok-variableName\x20tok-definition'},{'tag':_0x1abe46['special'](_0x1abe46['variableName']),'class':'tok-variableName2'},{'tag':_0x1abe46['definition'](_0x1abe46['propertyName']),'class':'tok-propertyName\x20tok-definition'},{'tag':_0x1abe46['typeName'],'class':'tok-typeName'},{'tag':_0x1abe46['namespace'],'class':'tok-namespace'},{'tag':_0x1abe46['className'],'class':'tok-className'},{'tag':_0x1abe46['macroName'],'class':'tok-macroName'},{'tag':_0x1abe46['propertyName'],'class':'tok-propertyName'},{'tag':_0x1abe46['operator'],'class':'tok-operator'},{'tag':_0x1abe46['comment'],'class':'tok-comment'},{'tag':_0x1abe46['meta'],'class':'tok-meta'},{'tag':_0x1abe46['invalid'],'class':'tok-invalid'},{'tag':_0x1abe46['punctuation'],'class':'tok-punctuation'}]);const _0x43d9fa=new _0x17497f();function _0x5c5e1b(_0x1ad9b0){return Facet['define']({'combine':_0x1ad9b0?_0x3fd95f=>_0x3fd95f['concat'](_0x1ad9b0):void 0x0});}const _0x43d4db=new _0x17497f();class _0x235fdc{constructor(_0x30efe0,_0x5b2c7b,_0x245c98=[],_0x3fd084=''){this['data']=_0x30efe0,this['name']=_0x3fd084,EditorState['prototype']['hasOwnProperty']('tree')||Object['defineProperty'](EditorState['prototype'],'tree',{'get'(){return _0x46e40e(this);}}),this['parser']=_0x5b2c7b,this['extension']=[_0x2f42e9['of'](this),EditorState['languageData']['of']((_0x26809b,_0x14795a,_0xabb191)=>{let _0x28aa2e=_0xc8bafc(_0x26809b,_0x14795a,_0xabb191),_0x31df61=_0x28aa2e['type']['prop'](_0x43d9fa);if(!_0x31df61)return[];let _0x1f3c7f=_0x26809b['facet'](_0x31df61),_0x4c8913=_0x28aa2e['type']['prop'](_0x43d4db);if(_0x4c8913){let _0x3e15cf=_0x28aa2e['resolve'](_0x14795a-_0x28aa2e['from'],_0xabb191);for(let _0x19b421 of _0x4c8913)if(_0x19b421['test'](_0x3e15cf,_0x26809b)){let _0x5182ca=_0x26809b['facet'](_0x19b421['facet']);return'replace'==_0x19b421['type']?_0x5182ca:_0x5182ca['concat'](_0x1f3c7f);}}return _0x1f3c7f;})]['concat'](_0x245c98);}['isActiveAt'](_0x45f1b3,_0x307119,_0xd12dd5=-0x1){return _0xc8bafc(_0x45f1b3,_0x307119,_0xd12dd5)['type']['prop'](_0x43d9fa)==this['data'];}['findRegions'](_0x3b9782){let _0x5779cf=_0x3b9782['facet'](_0x2f42e9);if((null==_0x5779cf?void 0x0:_0x5779cf['data'])==this['data'])return[{'from':0x0,'to':_0x3b9782['doc']['length']}];if(!_0x5779cf||!_0x5779cf['allowsNesting'])return[];let _0x14b106=[],_0x25dbd0=(_0x356788,_0x3a6bb3)=>{if(_0x356788['prop'](_0x43d9fa)==this['data'])return void _0x14b106['push']({'from':_0x3a6bb3,'to':_0x3a6bb3+_0x356788['length']});let _0x108d30=_0x356788['prop'](_0x17497f['mounted']);if(_0x108d30){if(_0x108d30['tree']['prop'](_0x43d9fa)==this['data']){if(_0x108d30['overlay']){for(let _0x5d1126 of _0x108d30['overlay'])_0x14b106['push']({'from':_0x5d1126['from']+_0x3a6bb3,'to':_0x5d1126['to']+_0x3a6bb3});}else _0x14b106['push']({'from':_0x3a6bb3,'to':_0x3a6bb3+_0x356788['length']});return;}if(_0x108d30['overlay']){let _0x2b9a8e=_0x14b106['length'];if(_0x25dbd0(_0x108d30['tree'],_0x108d30['overlay'][0x0]['from']+_0x3a6bb3),_0x14b106['length']>_0x2b9a8e)return;}}for(let _0x4852d1=0x0;_0x4852d1<_0x356788['children']['length'];_0x4852d1++){let _0x4bc02f=_0x356788['children'][_0x4852d1];_0x4bc02f instanceof _0x3af464&&_0x25dbd0(_0x4bc02f,_0x356788['positions'][_0x4852d1]+_0x3a6bb3);}};return _0x25dbd0(_0x46e40e(_0x3b9782),0x0),_0x14b106;}get['allowsNesting'](){return!0x0;}}function _0xc8bafc(_0x519c75,_0x2b9fc0,_0x1da318){let _0x12c54d=_0x519c75['facet'](_0x2f42e9),_0x26af4c=_0x46e40e(_0x519c75)['topNode'];if(!_0x12c54d||_0x12c54d['allowsNesting']){for(let _0x23fbdf=_0x26af4c;_0x23fbdf;_0x23fbdf=_0x23fbdf['enter'](_0x2b9fc0,_0x1da318,_0x11378c['ExcludeBuffers']))_0x23fbdf['type']['isTop']&&(_0x26af4c=_0x23fbdf);}return _0x26af4c;}_0x235fdc['setState']=StateEffect['define']();class _0x502619 extends _0x235fdc{constructor(_0x8440b9,_0xf0bcaa,_0x400997){super(_0x8440b9,_0xf0bcaa,[],_0x400997),this['parser']=_0xf0bcaa;}static['define'](_0x4f2e22){let _0x10e052=_0x5c5e1b(_0x4f2e22['languageData']);return new _0x502619(_0x10e052,_0x4f2e22['parser']['configure']({'props':[_0x43d9fa['add'](_0x20a569=>_0x20a569['isTop']?_0x10e052:void 0x0)]}),_0x4f2e22['name']);}['configure'](_0x3e1450,_0xdf1467){return new _0x502619(this['data'],this['parser']['configure'](_0x3e1450),_0xdf1467||this['name']);}get['allowsNesting'](){return this['parser']['hasWrappers']();}}function _0x46e40e(_0x4ad093){let _0x4c0398=_0x4ad093['field'](_0x235fdc['state'],!0x1);return _0x4c0398?_0x4c0398['tree']:_0x3af464['empty'];}class DocInput{constructor(_0x2cf351){this['doc']=_0x2cf351,this['cursorPos']=0x0,this['string']='',this['cursor']=_0x2cf351['iter']();}get['length'](){return this['doc']['length'];}['syncTo'](_0x2bb0bc){return this['string']=this['cursor']['next'](_0x2bb0bc-this['cursorPos'])['value'],this['cursorPos']=_0x2bb0bc+this['string']['length'],this['cursorPos']-this['string']['length'];}['chunk'](_0xbf9859){return this['syncTo'](_0xbf9859),this['string'];}get['lineChunks'](){return!0x0;}['read'](_0x5918af,_0xfd493b){let _0x41d7ed=this['cursorPos']-this['string']['length'];return _0x5918af<_0x41d7ed||_0xfd493b>=this['cursorPos']?this['doc']['sliceString'](_0x5918af,_0xfd493b):this['string']['slice'](_0x5918af-_0x41d7ed,_0xfd493b-_0x41d7ed);}}let _0x3b49a1=null;class ParseContext{constructor(_0x1f9911,_0x247d42,_0x2c1960=[],_0x14f7c7,_0x4925d4,_0x56180c,_0x4849cd,_0x3ca873){this['parser']=_0x1f9911,this['state']=_0x247d42,this['fragments']=_0x2c1960,this['tree']=_0x14f7c7,this['treeLen']=_0x4925d4,this['viewport']=_0x56180c,this['skipped']=_0x4849cd,this['scheduleOn']=_0x3ca873,this['parse']=null,this['tempSkipped']=[];}static['create'](_0x2aedf6,_0x127ae1,_0xcbc5bf){return new ParseContext(_0x2aedf6,_0x127ae1,[],_0x3af464['empty'],0x0,_0xcbc5bf,[],null);}['startParse'](){return this['parser']['startParse'](new DocInput(this['state']['doc']),this['fragments']);}['work'](_0x1382f1,_0x505c8e){return null!=_0x505c8e&&_0x505c8e>=this['state']['doc']['length']&&(_0x505c8e=void 0x0),this['tree']!=_0x3af464['empty']&&this['isDone'](null!=_0x505c8e?_0x505c8e:this['state']['doc']['length'])?(this['takeTree'](),!0x0):this['withContext'](()=>{var _0xcd7376;if('number'==typeof _0x1382f1){let _0xf9972e=Date['now']()+_0x1382f1;_0x1382f1=()=>Date['now']()>_0xf9972e;}for(this['parse']||(this['parse']=this['startParse']()),null!=_0x505c8e&&(null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x505c8e)&&_0x505c8e<this['state']['doc']['length']&&this['parse']['stopAt'](_0x505c8e);;){let _0x3fa5c6=this['parse']['advance']();if(_0x3fa5c6){if(this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](_0x3fa5c6,this['fragments'],null!=this['parse']['stoppedAt'])),this['treeLen']=null!==(_0xcd7376=this['parse']['stoppedAt'])&&void 0x0!==_0xcd7376?_0xcd7376:this['state']['doc']['length'],this['tree']=_0x3fa5c6,this['parse']=null,!(this['treeLen']<(null!=_0x505c8e?_0x505c8e:this['state']['doc']['length'])))return!0x0;this['parse']=this['startParse']();}if(_0x1382f1())return!0x1;}});}['takeTree'](){let _0x3a9e76,_0x3d64d4;this['parse']&&(_0x3a9e76=this['parse']['parsedPos'])>=this['treeLen']&&((null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x3a9e76)&&this['parse']['stopAt'](_0x3a9e76),this['withContext'](()=>{for(;!(_0x3d64d4=this['parse']['advance']()););}),this['treeLen']=_0x3a9e76,this['tree']=_0x3d64d4,this['fragments']=this['withoutTempSkipped'](TreeFragment['addTree'](this['tree'],this['fragments'],!0x0)),this['parse']=null);}['withContext'](_0x1e195c){let _0x2c8f4d=_0x3b49a1;_0x3b49a1=this;try{return _0x1e195c();}finally{_0x3b49a1=_0x2c8f4d;}}['withoutTempSkipped'](_0x268ceb){for(let _0x1d8074;_0x1d8074=this['tempSkipped']['pop']();)_0x268ceb=_0x58177f(_0x268ceb,_0x1d8074['from'],_0x1d8074['to']);return _0x268ceb;}['changes'](_0x3cd1cb,_0x3d216f){let {fragments:_0xb3d757,tree:_0x1ae5fd,treeLen:_0x450a5e,viewport:_0x4a2164,skipped:_0x1a3980}=this;if(this['takeTree'](),!_0x3cd1cb['empty']){let _0x489c36=[];if(_0x3cd1cb['iterChangedRanges']((_0x84694b,_0x376b91,_0x281e75,_0x57ce3e)=>_0x489c36['push']({'fromA':_0x84694b,'toA':_0x376b91,'fromB':_0x281e75,'toB':_0x57ce3e})),_0xb3d757=TreeFragment['applyChanges'](_0xb3d757,_0x489c36),_0x1ae5fd=_0x3af464['empty'],_0x450a5e=0x0,_0x4a2164={'from':_0x3cd1cb['mapPos'](_0x4a2164['from'],-0x1),'to':_0x3cd1cb['mapPos'](_0x4a2164['to'],0x1)},this['skipped']['length']){_0x1a3980=[];for(let _0x70822a of this['skipped']){let _0x3e1597=_0x3cd1cb['mapPos'](_0x70822a['from'],0x1),_0x220481=_0x3cd1cb['mapPos'](_0x70822a['to'],-0x1);_0x3e1597<_0x220481&&_0x1a3980['push']({'from':_0x3e1597,'to':_0x220481});}}}return new ParseContext(this['parser'],_0x3d216f,_0xb3d757,_0x1ae5fd,_0x450a5e,_0x4a2164,_0x1a3980,this['scheduleOn']);}['updateViewport'](_0x584d7e){if(this['viewport']['from']==_0x584d7e['from']&&this['viewport']['to']==_0x584d7e['to'])return!0x1;this['viewport']=_0x584d7e;let _0x5726d3=this['skipped']['length'];for(let _0x154b30=0x0;_0x154b30<this['skipped']['length'];_0x154b30++){let {from:_0x2a18a6,to:_0x78278c}=this['skipped'][_0x154b30];_0x2a18a6<_0x584d7e['to']&&_0x78278c>_0x584d7e['from']&&(this['fragments']=_0x58177f(this['fragments'],_0x2a18a6,_0x78278c),this['skipped']['splice'](_0x154b30--,0x1));}return!(this['skipped']['length']>=_0x5726d3)&&(this['reset'](),!0x0);}['reset'](){this['parse']&&(this['takeTree'](),this['parse']=null);}['skipUntilInView'](_0x124258,_0x5f1b34){this['skipped']['push']({'from':_0x124258,'to':_0x5f1b34});}static['getSkippingParser'](_0x501645){return new class extends _0x378e00{['createParse'](_0x3630e5,_0x1630b3,_0x426c5c){let _0x2db2ca=_0x426c5c[0x0]['from'],_0x11cb6d=_0x426c5c[_0x426c5c['length']-0x1]['to'];return{'parsedPos':_0x2db2ca,'advance'(){let _0x58cb00=_0x3b49a1;if(_0x58cb00){for(let _0x4bcfa7 of _0x426c5c)_0x58cb00['tempSkipped']['push'](_0x4bcfa7);_0x501645&&(_0x58cb00['scheduleOn']=_0x58cb00['scheduleOn']?Promise['all']([_0x58cb00['scheduleOn'],_0x501645]):_0x501645);}return this['parsedPos']=_0x11cb6d,new _0x3af464(_0x215dc9['none'],[],[],_0x11cb6d-_0x2db2ca);},'stoppedAt':null,'stopAt'(){}};}}();}['isDone'](_0x25e99e){_0x25e99e=Math['min'](_0x25e99e,this['state']['doc']['length']);let _0x4ae56e=this['fragments'];return this['treeLen']>=_0x25e99e&&_0x4ae56e['length']&&0x0==_0x4ae56e[0x0]['from']&&_0x4ae56e[0x0]['to']>=_0x25e99e;}static['get'](){return _0x3b49a1;}}function _0x58177f(_0x4bb631,_0x1fb84c,_0x581035){return TreeFragment['applyChanges'](_0x4bb631,[{'fromA':_0x1fb84c,'toA':_0x581035,'fromB':_0x1fb84c,'toB':_0x581035}]);}class LanguageState{constructor(_0x141844){this['context']=_0x141844,this['tree']=_0x141844['tree'];}['apply'](_0x5c8441){if(!_0x5c8441['docChanged']&&this['tree']==this['context']['tree'])return this;let _0x1183ae=this['context']['changes'](_0x5c8441['changes'],_0x5c8441['state']),_0x2d90a5=this['context']['treeLen']==_0x5c8441['startState']['doc']['length']?void 0x0:Math['max'](_0x5c8441['changes']['mapPos'](this['context']['treeLen']),_0x1183ae['viewport']['to']);return _0x1183ae['work'](0x14,_0x2d90a5)||_0x1183ae['takeTree'](),new LanguageState(_0x1183ae);}static['init'](_0x2dae3e){let _0x509242=Math['min'](0xbb8,_0x2dae3e['doc']['length']),_0x3c7aa2=ParseContext['create'](_0x2dae3e['facet'](_0x2f42e9)['parser'],_0x2dae3e,{'from':0x0,'to':_0x509242});return _0x3c7aa2['work'](0x14,_0x509242)||_0x3c7aa2['takeTree'](),new LanguageState(_0x3c7aa2);}}_0x235fdc['state']=StateField['define']({'create':LanguageState['init'],'update'(_0x501a42,_0x14e014){for(let _0x252049 of _0x14e014['effects'])if(_0x252049['is'](_0x235fdc['setState']))return _0x252049['value'];return _0x14e014['startState']['facet'](_0x2f42e9)!=_0x14e014['state']['facet'](_0x2f42e9)?LanguageState['init'](_0x14e014['state']):_0x501a42['apply'](_0x14e014);}});let _0xb2763e=_0x1203e5=>{let _0x507905=setTimeout(()=>_0x1203e5(),0x1f4);return()=>clearTimeout(_0x507905);};'undefined'!=typeof requestIdleCallback&&(_0xb2763e=_0x5d55ce=>{let _0x1c57b5=-0x1,_0x233015=setTimeout(()=>{_0x1c57b5=requestIdleCallback(_0x5d55ce,{'timeout':0x190});},0x64);return()=>_0x1c57b5<0x0?clearTimeout(_0x233015):cancelIdleCallback(_0x1c57b5);});const _0x338ba8='undefined'!=typeof navigator&&(null===(_0x42b4be=navigator['scheduling'])||void 0x0===_0x42b4be?void 0x0:_0x42b4be['isInputPending'])?()=>navigator['scheduling']['isInputPending']():null,_0x50f185=_0x26068f['fromClass'](class _0x3ced07{constructor(_0x4c1940){this['view']=_0x4c1940,this['working']=null,this['workScheduled']=0x0,this['chunkEnd']=-0x1,this['chunkBudget']=-0x1,this['work']=this['work']['bind'](this),this['scheduleWork']();}['update'](_0x4c1212){let _0xcbb56b=this['view']['state']['field'](_0x235fdc['state'])['context'];(_0xcbb56b['updateViewport'](_0x4c1212['view']['viewport'])||this['view']['viewport']['to']>_0xcbb56b['treeLen'])&&this['scheduleWork'](),(_0x4c1212['docChanged']||_0x4c1212['selectionSet'])&&(this['view']['hasFocus']&&(this['chunkBudget']+=0x32),this['scheduleWork']()),this['checkAsyncSchedule'](_0xcbb56b);}['scheduleWork'](){if(this['working'])return;let {state:_0x3c7b5f}=this['view'],_0x5b9847=_0x3c7b5f['field'](_0x235fdc['state']);_0x5b9847['tree']==_0x5b9847['context']['tree']&&_0x5b9847['context']['isDone'](_0x3c7b5f['doc']['length'])||(this['working']=_0xb2763e(this['work']));}['work'](_0x58569a){this['working']=null;let _0x5f55ff=Date['now']();if(this['chunkEnd']<_0x5f55ff&&(this['chunkEnd']<0x0||this['view']['hasFocus'])&&(this['chunkEnd']=_0x5f55ff+0x7530,this['chunkBudget']=0xbb8),this['chunkBudget']<=0x0)return;let {state:_0x414cc5,viewport:{to:_0x3c9348}}=this['view'],_0x55ddc6=_0x414cc5['field'](_0x235fdc['state']);if(_0x55ddc6['tree']==_0x55ddc6['context']['tree']&&_0x55ddc6['context']['isDone'](_0x3c9348+0x186a0))return;let _0x305948=Date['now']()+Math['min'](this['chunkBudget'],0x64,_0x58569a&&!_0x338ba8?Math['max'](0x19,_0x58569a['timeRemaining']()-0x5):0x3b9aca00),_0x82d31=_0x55ddc6['context']['treeLen']<_0x3c9348&&_0x414cc5['doc']['length']>_0x3c9348+0x3e8,_0x485e74=_0x55ddc6['context']['work'](()=>_0x338ba8&&_0x338ba8()||Date['now']()>_0x305948,_0x3c9348+(_0x82d31?0x0:0x186a0));this['chunkBudget']-=Date['now']()-_0x5f55ff,(_0x485e74||this['chunkBudget']<=0x0)&&(_0x55ddc6['context']['takeTree'](),this['view']['dispatch']({'effects':_0x235fdc['setState']['of'](new LanguageState(_0x55ddc6['context']))})),this['chunkBudget']>0x0&&(!_0x485e74||_0x82d31)&&this['scheduleWork'](),this['checkAsyncSchedule'](_0x55ddc6['context']);}['checkAsyncSchedule'](_0x3c0698){_0x3c0698['scheduleOn']&&(this['workScheduled']++,_0x3c0698['scheduleOn']['then'](()=>this['scheduleWork']())['catch'](_0x417bf1=>_0x1922d6(this['view']['state'],_0x417bf1))['then'](()=>this['workScheduled']--),_0x3c0698['scheduleOn']=null);}['destroy'](){this['working']&&this['working']();}['isWorking'](){return!!(this['working']||this['workScheduled']>0x0);}},{'eventHandlers':{'focus'(){this['scheduleWork']();}}}),_0x2f42e9=Facet['define']({'combine':_0x67a710=>_0x67a710['length']?_0x67a710[0x0]:null,'enables':_0x5858a9=>[_0x235fdc['state'],_0x50f185,EditorView['contentAttributes']['compute']([_0x5858a9],_0xedd204=>{let _0x3c2f3b=_0xedd204['facet'](_0x5858a9);return _0x3c2f3b&&_0x3c2f3b['name']?{'data-language':_0x3c2f3b['name']}:{};})]});class LanguageSupport{constructor(_0x21f9b7,_0x366278=[]){this['language']=_0x21f9b7,this['support']=_0x366278,this['extension']=[_0x21f9b7,_0x366278];}}class LanguageDescription{constructor(_0x2dbe02,_0x52b743,_0x1bfd39,_0x1deeff,_0x3d64e4,_0x5c07c3=void 0x0){this['name']=_0x2dbe02,this['alias']=_0x52b743,this['extensions']=_0x1bfd39,this['filename']=_0x1deeff,this['loadFunc']=_0x3d64e4,this['support']=_0x5c07c3,this['loading']=null;}['load'](){return this['loading']||(this['loading']=this['loadFunc']()['then'](_0x3f444a=>this['support']=_0x3f444a,_0x1a4b28=>{throw this['loading']=null,_0x1a4b28;}));}static['of'](_0x24d2fc){let {load:_0x5a3793,support:_0x21a6b7}=_0x24d2fc;if(!_0x5a3793){if(!_0x21a6b7)throw new RangeError('Must\x20pass\x20either\x20\x27load\x27\x20or\x20\x27support\x27\x20to\x20LanguageDescription.of');_0x5a3793=()=>Promise['resolve'](_0x21a6b7);}return new LanguageDescription(_0x24d2fc['name'],(_0x24d2fc['alias']||[])['concat'](_0x24d2fc['name'])['map'](_0x125a6d=>_0x125a6d['toLowerCase']()),_0x24d2fc['extensions']||[],_0x24d2fc['filename'],_0x5a3793,_0x21a6b7);}static['matchFilename'](_0x3c6c49,_0x4c7a98){for(let _0x3d0555 of _0x3c6c49)if(_0x3d0555['filename']&&_0x3d0555['filename']['test'](_0x4c7a98))return _0x3d0555;let _0x4b6717=/\.([^.]+)$/['exec'](_0x4c7a98);if(_0x4b6717){for(let _0x2a60f9 of _0x3c6c49)if(_0x2a60f9['extensions']['indexOf'](_0x4b6717[0x1])>-0x1)return _0x2a60f9;}return null;}static['matchLanguageName'](_0xa0b5b4,_0xa25f28,_0x69bca9=!0x0){_0xa25f28=_0xa25f28['toLowerCase']();for(let _0xac9aff of _0xa0b5b4)if(_0xac9aff['alias']['some'](_0x146b2e=>_0x146b2e==_0xa25f28))return _0xac9aff;if(_0x69bca9){for(let _0x3e0f45 of _0xa0b5b4)for(let _0x278edf of _0x3e0f45['alias']){let _0x19193f=_0xa25f28['indexOf'](_0x278edf);if(_0x19193f>-0x1&&(_0x278edf['length']>0x2||!/\w/['test'](_0xa25f28[_0x19193f-0x1])&&!/\w/['test'](_0xa25f28[_0x19193f+_0x278edf['length']])))return _0x3e0f45;}}return null;}}const _0x5b259f=Facet['define'](),_0x2d023c=Facet['define']({'combine':_0x2f72f0=>{if(!_0x2f72f0['length'])return'\x20\x20';let _0x557872=_0x2f72f0[0x0];if(!_0x557872||/\S/['test'](_0x557872)||Array['from'](_0x557872)['some'](_0x1771bc=>_0x1771bc!=_0x557872[0x0]))throw new Error('Invalid\x20indent\x20unit:\x20'+JSON['stringify'](_0x2f72f0[0x0]));return _0x557872;}});function _0xc3ccf9(_0x7e9c59){let _0x30b678=_0x7e9c59['facet'](_0x2d023c);return 0x9==_0x30b678['charCodeAt'](0x0)?_0x7e9c59['tabSize']*_0x30b678['length']:_0x30b678['length'];}function _0x55a843(_0x2638bc,_0x4bef6c){let _0x56473b='',_0x521dd5=_0x2638bc['tabSize'],_0x13ac11=_0x2638bc['facet'](_0x2d023c)[0x0];if('\x09'==_0x13ac11){for(;_0x4bef6c>=_0x521dd5;)_0x56473b+='\x09',_0x4bef6c-=_0x521dd5;_0x13ac11='\x20';}for(let _0x1e22d4=0x0;_0x1e22d4<_0x4bef6c;_0x1e22d4++)_0x56473b+=_0x13ac11;return _0x56473b;}function _0x1b9c51(_0x583480,_0x33863f){_0x583480 instanceof EditorState&&(_0x583480=new IndentContext(_0x583480));for(let _0x394342 of _0x583480['state']['facet'](_0x5b259f)){let _0x176966=_0x394342(_0x583480,_0x33863f);if(void 0x0!==_0x176966)return _0x176966;}let _0x4330b9=_0x46e40e(_0x583480['state']);return _0x4330b9['length']>=_0x33863f?function(_0x303b59,_0x57c3ec,_0x1ed0bf){let _0x7cfab1=_0x57c3ec['resolveStack'](_0x1ed0bf),_0x4269a6=_0x57c3ec['resolveInner'](_0x1ed0bf,-0x1)['resolve'](_0x1ed0bf,0x0)['enterUnfinishedNodesBefore'](_0x1ed0bf);if(_0x4269a6!=_0x7cfab1['node']){let _0x934811=[];for(let _0x13662b=_0x4269a6;_0x13662b&&!(_0x13662b['from']<_0x7cfab1['node']['from']||_0x13662b['to']>_0x7cfab1['node']['to']||_0x13662b['from']==_0x7cfab1['node']['from']&&_0x13662b['type']==_0x7cfab1['node']['type']);_0x13662b=_0x13662b['parent'])_0x934811['push'](_0x13662b);for(let _0x2bc6a3=_0x934811['length']-0x1;_0x2bc6a3>=0x0;_0x2bc6a3--)_0x7cfab1={'node':_0x934811[_0x2bc6a3],'next':_0x7cfab1};}return _0x34c924(_0x7cfab1,_0x303b59,_0x1ed0bf);}(_0x583480,_0x4330b9,_0x33863f):null;}class IndentContext{constructor(_0xc46a6,_0x299a5e={}){this['state']=_0xc46a6,this['options']=_0x299a5e,this['unit']=_0xc3ccf9(_0xc46a6);}['lineAt'](_0x250522,_0x40a309=0x1){let _0x4f0f8b=this['state']['doc']['lineAt'](_0x250522),{simulateBreak:_0x5a0a77,simulateDoubleBreak:_0x4ec26a}=this['options'];return null!=_0x5a0a77&&_0x5a0a77>=_0x4f0f8b['from']&&_0x5a0a77<=_0x4f0f8b['to']?_0x4ec26a&&_0x5a0a77==_0x250522?{'text':'','from':_0x250522}:(_0x40a309<0x0?_0x5a0a77<_0x250522:_0x5a0a77<=_0x250522)?{'text':_0x4f0f8b['text']['slice'](_0x5a0a77-_0x4f0f8b['from']),'from':_0x5a0a77}:{'text':_0x4f0f8b['text']['slice'](0x0,_0x5a0a77-_0x4f0f8b['from']),'from':_0x4f0f8b['from']}:_0x4f0f8b;}['textAfterPos'](_0x2503da,_0xcb4b79=0x1){if(this['options']['simulateDoubleBreak']&&_0x2503da==this['options']['simulateBreak'])return'';let {text:_0x1921f1,from:_0x5b6ec3}=this['lineAt'](_0x2503da,_0xcb4b79);return _0x1921f1['slice'](_0x2503da-_0x5b6ec3,Math['min'](_0x1921f1['length'],_0x2503da+0x64-_0x5b6ec3));}['column'](_0x5a1064,_0x46c14b=0x1){let {text:_0x10aadd,from:_0x400681}=this['lineAt'](_0x5a1064,_0x46c14b),_0x49c5ba=this['countColumn'](_0x10aadd,_0x5a1064-_0x400681),_0x16195a=this['options']['overrideIndentation']?this['options']['overrideIndentation'](_0x400681):-0x1;return _0x16195a>-0x1&&(_0x49c5ba+=_0x16195a-this['countColumn'](_0x10aadd,_0x10aadd['search'](/\S|$/))),_0x49c5ba;}['countColumn'](_0x5be0dd,_0x490a2d=_0x5be0dd['length']){return _0x43a9eb(_0x5be0dd,this['state']['tabSize'],_0x490a2d);}['lineIndent'](_0x334528,_0x187727=0x1){let {text:_0x4565c4,from:_0x1862d7}=this['lineAt'](_0x334528,_0x187727),_0x3da3b6=this['options']['overrideIndentation'];if(_0x3da3b6){let _0x2c48aa=_0x3da3b6(_0x1862d7);if(_0x2c48aa>-0x1)return _0x2c48aa;}return this['countColumn'](_0x4565c4,_0x4565c4['search'](/\S|$/));}get['simulatedBreak'](){return this['options']['simulateBreak']||null;}}const _0x597aa5=new _0x17497f();function _0x34c924(_0x3c80c8,_0x4e7d0d,_0x3b1279){for(let _0x397fc8=_0x3c80c8;_0x397fc8;_0x397fc8=_0x397fc8['next']){let _0x1f469f=_0x2eea7c(_0x397fc8['node']);if(_0x1f469f)return _0x1f469f(TreeIndentContext['create'](_0x4e7d0d,_0x3b1279,_0x397fc8));}return 0x0;}function _0x2eea7c(_0x26a992){let _0xb10cf=_0x26a992['type']['prop'](_0x597aa5);if(_0xb10cf)return _0xb10cf;let _0x5d1c70,_0x41de20=_0x26a992['firstChild'];if(_0x41de20&&(_0x5d1c70=_0x41de20['type']['prop'](_0x17497f['closedBy']))){let _0x1b3be0=_0x26a992['lastChild'],_0x54a70c=_0x1b3be0&&_0x5d1c70['indexOf'](_0x1b3be0['name'])>-0x1;return _0x18da78=>_0x3de4d4(_0x18da78,!0x0,0x1,void 0x0,_0x54a70c&&!function(_0x2127eb){return _0x2127eb['pos']==_0x2127eb['options']['simulateBreak']&&_0x2127eb['options']['simulateDoubleBreak'];}(_0x18da78)?_0x1b3be0['from']:void 0x0);}return null==_0x26a992['parent']?_0x4d429f:null;}function _0x4d429f(){return 0x0;}class TreeIndentContext extends IndentContext{constructor(_0x40821f,_0x2cec9f,_0x323f30){super(_0x40821f['state'],_0x40821f['options']),this['base']=_0x40821f,this['pos']=_0x2cec9f,this['context']=_0x323f30;}get['node'](){return this['context']['node'];}static['create'](_0x6e433,_0x2873b9,_0x4bcd59){return new TreeIndentContext(_0x6e433,_0x2873b9,_0x4bcd59);}get['textAfter'](){return this['textAfterPos'](this['pos']);}get['baseIndent'](){return this['baseIndentFor'](this['node']);}['baseIndentFor'](_0x14cfc3){let _0x46dede=this['state']['doc']['lineAt'](_0x14cfc3['from']);for(;;){let _0x42722a=_0x14cfc3['resolve'](_0x46dede['from']);for(;_0x42722a['parent']&&_0x42722a['parent']['from']==_0x42722a['from'];)_0x42722a=_0x42722a['parent'];if(_0x39ce64(_0x42722a,_0x14cfc3))break;_0x46dede=this['state']['doc']['lineAt'](_0x42722a['from']);}return this['lineIndent'](_0x46dede['from']);}['continue'](){return _0x34c924(this['context']['next'],this['base'],this['pos']);}}function _0x39ce64(_0x22461a,_0x53f5e4){for(let _0xeee2b9=_0x53f5e4;_0xeee2b9;_0xeee2b9=_0xeee2b9['parent'])if(_0x22461a==_0xeee2b9)return!0x0;return!0x1;}function _0x4afe93({closing:_0x5629c7,align:_0x3e5f2f=!0x0,units:_0x2b538a=0x1}){return _0x33b2df=>_0x3de4d4(_0x33b2df,_0x3e5f2f,_0x2b538a,_0x5629c7);}function _0x3de4d4(_0xf25271,_0x20d39f,_0x828125,_0x5770f0,_0x459a05){let _0x6e5f15=_0xf25271['textAfter'],_0x443796=_0x6e5f15['match'](/^\s*/)[0x0]['length'],_0x157967=_0x5770f0&&_0x6e5f15['slice'](_0x443796,_0x443796+_0x5770f0['length'])==_0x5770f0||_0x459a05==_0xf25271['pos']+_0x443796,_0x306da5=_0x20d39f?function(_0x2f8e50){let _0x4a172f=_0x2f8e50['node'],_0x40c3f0=_0x4a172f['childAfter'](_0x4a172f['from']),_0x3354cb=_0x4a172f['lastChild'];if(!_0x40c3f0)return null;let _0x28f2f8=_0x2f8e50['options']['simulateBreak'],_0x150830=_0x2f8e50['state']['doc']['lineAt'](_0x40c3f0['from']),_0x45f12d=null==_0x28f2f8||_0x28f2f8<=_0x150830['from']?_0x150830['to']:Math['min'](_0x150830['to'],_0x28f2f8);for(let _0xbd5952=_0x40c3f0['to'];;){let _0x3cc80a=_0x4a172f['childAfter'](_0xbd5952);if(!_0x3cc80a||_0x3cc80a==_0x3354cb)return null;if(!_0x3cc80a['type']['isSkipped']){if(_0x3cc80a['from']>=_0x45f12d)return null;let _0x561b0c=/^ */['exec'](_0x150830['text']['slice'](_0x40c3f0['to']-_0x150830['from']))[0x0]['length'];return{'from':_0x40c3f0['from'],'to':_0x40c3f0['to']+_0x561b0c};}_0xbd5952=_0x3cc80a['to'];}}(_0xf25271):null;return _0x306da5?_0x157967?_0xf25271['column'](_0x306da5['from']):_0xf25271['column'](_0x306da5['to']):_0xf25271['baseIndent']+(_0x157967?0x0:_0xf25271['unit']*_0x828125);}function _0x8be96b({except:_0xc6ba6a,units:_0x159c33=0x1}={}){return _0x18b961=>{let _0x3cbafe=_0xc6ba6a&&_0xc6ba6a['test'](_0x18b961['textAfter']);return _0x18b961['baseIndent']+(_0x3cbafe?0x0:_0x159c33*_0x18b961['unit']);};}function _0x11a2ed(){return EditorState['transactionFilter']['of'](_0xde3644=>{if(!_0xde3644['docChanged']||!_0xde3644['isUserEvent']('input.type')&&!_0xde3644['isUserEvent']('input.complete'))return _0xde3644;let _0x4daa53=_0xde3644['startState']['languageDataAt']('indentOnInput',_0xde3644['startState']['selection']['main']['head']);if(!_0x4daa53['length'])return _0xde3644;let _0x524001=_0xde3644['newDoc'],{head:_0x42cfcc}=_0xde3644['newSelection']['main'],_0x4b179f=_0x524001['lineAt'](_0x42cfcc);if(_0x42cfcc>_0x4b179f['from']+0xc8)return _0xde3644;let _0x443668=_0x524001['sliceString'](_0x4b179f['from'],_0x42cfcc);if(!_0x4daa53['some'](_0xd73db1=>_0xd73db1['test'](_0x443668)))return _0xde3644;let {state:_0x1129b4}=_0xde3644,_0x1f7739=-0x1,_0x37a367=[];for(let {head:_0x29c19d}of _0x1129b4['selection']['ranges']){let _0x3205ea=_0x1129b4['doc']['lineAt'](_0x29c19d);if(_0x3205ea['from']==_0x1f7739)continue;_0x1f7739=_0x3205ea['from'];let _0xd6c336=_0x1b9c51(_0x1129b4,_0x3205ea['from']);if(null==_0xd6c336)continue;let _0x246558=/^\s*/['exec'](_0x3205ea['text'])[0x0],_0x50c7fb=_0x55a843(_0x1129b4,_0xd6c336);_0x246558!=_0x50c7fb&&_0x37a367['push']({'from':_0x3205ea['from'],'to':_0x3205ea['from']+_0x246558['length'],'insert':_0x50c7fb});}return _0x37a367['length']?[_0xde3644,{'changes':_0x37a367,'sequential':!0x0}]:_0xde3644;});}const _0x34b0d7=Facet['define'](),_0x28a548=new _0x17497f();function _0x1f24ca(_0xd525b0){let _0x596a4a=_0xd525b0['firstChild'],_0x8454f1=_0xd525b0['lastChild'];return _0x596a4a&&_0x596a4a['to']<_0x8454f1['from']?{'from':_0x596a4a['to'],'to':_0x8454f1['type']['isError']?_0xd525b0['to']:_0x8454f1['from']}:null;}function _0x54e6ff(_0xa83eeb){let _0x524934=_0xa83eeb['lastChild'];return _0x524934&&_0x524934['to']==_0xa83eeb['to']&&_0x524934['type']['isError'];}function _0x55bb71(_0x54c847,_0x30b412,_0x536c39){for(let _0x2ee4cd of _0x54c847['facet'](_0x34b0d7)){let _0x29b46f=_0x2ee4cd(_0x54c847,_0x30b412,_0x536c39);if(_0x29b46f)return _0x29b46f;}return function(_0x353fb1,_0x575af4,_0x137878){let _0x20d607=_0x46e40e(_0x353fb1);if(_0x20d607['length']<_0x137878)return null;let _0x523751=null;for(let _0x2fb3df=_0x20d607['resolveStack'](_0x137878,0x1);_0x2fb3df;_0x2fb3df=_0x2fb3df['next']){let _0x42feb1=_0x2fb3df['node'];if(_0x42feb1['to']<=_0x137878||_0x42feb1['from']>_0x137878)continue;if(_0x523751&&_0x42feb1['from']<_0x575af4)break;let _0x2754da=_0x42feb1['type']['prop'](_0x28a548);if(_0x2754da&&(_0x42feb1['to']<_0x20d607['length']-0x32||_0x20d607['length']==_0x353fb1['doc']['length']||!_0x54e6ff(_0x42feb1))){let _0x444aa4=_0x2754da(_0x42feb1,_0x353fb1);_0x444aa4&&_0x444aa4['from']<=_0x137878&&_0x444aa4['from']>=_0x575af4&&_0x444aa4['to']>_0x137878&&(_0x523751=_0x444aa4);}}return _0x523751;}(_0x54c847,_0x30b412,_0x536c39);}function _0x135d51(_0x30a5ce,_0x1f774a){let _0x3699b0=_0x1f774a['mapPos'](_0x30a5ce['from'],0x1),_0x3996fa=_0x1f774a['mapPos'](_0x30a5ce['to'],-0x1);return _0x3699b0>=_0x3996fa?void 0x0:{'from':_0x3699b0,'to':_0x3996fa};}const _0x137531=StateEffect['define']({'map':_0x135d51}),_0x53174c=StateEffect['define']({'map':_0x135d51});function _0x2ecc94(_0x3e1e86){let _0x47cd44=[];for(let {head:_0x39385d}of _0x3e1e86['state']['selection']['ranges'])_0x47cd44['some'](_0x1eb62e=>_0x1eb62e['from']<=_0x39385d&&_0x1eb62e['to']>=_0x39385d)||_0x47cd44['push'](_0x3e1e86['lineBlockAt'](_0x39385d));return _0x47cd44;}const _0x2bf798=StateField['define']({'create':()=>Decoration['none'],'update'(_0x2626a9,_0x427899){_0x427899['isUserEvent']('delete')&&_0x427899['changes']['iterChangedRanges']((_0x410fc3,_0x3bd06a)=>_0x2626a9=_0x226345(_0x2626a9,_0x410fc3,_0x3bd06a)),_0x2626a9=_0x2626a9['map'](_0x427899['changes']);for(let _0x54942e of _0x427899['effects'])if(_0x54942e['is'](_0x137531)&&!_0xd3f47b(_0x2626a9,_0x54942e['value']['from'],_0x54942e['value']['to'])){let {preparePlaceholder:_0x2e159c}=_0x427899['state']['facet'](_0x51ed74),_0x31ab9e=_0x2e159c?Decoration['replace']({'widget':new PreparedFoldWidget(_0x2e159c(_0x427899['state'],_0x54942e['value']))}):_0x1e9e22;_0x2626a9=_0x2626a9['update']({'add':[_0x31ab9e['range'](_0x54942e['value']['from'],_0x54942e['value']['to'])]});}else _0x54942e['is'](_0x53174c)&&(_0x2626a9=_0x2626a9['update']({'filter':(_0x2f292d,_0x1374e5)=>_0x54942e['value']['from']!=_0x2f292d||_0x54942e['value']['to']!=_0x1374e5,'filterFrom':_0x54942e['value']['from'],'filterTo':_0x54942e['value']['to']}));return _0x427899['selection']&&(_0x2626a9=_0x226345(_0x2626a9,_0x427899['selection']['main']['head'])),_0x2626a9;},'provide':_0x4dd2a1=>EditorView['decorations']['from'](_0x4dd2a1),'toJSON'(_0x2c55d5,_0x3d3709){let _0x528224=[];return _0x2c55d5['between'](0x0,_0x3d3709['doc']['length'],(_0x258d72,_0x1c762c)=>{_0x528224['push'](_0x258d72,_0x1c762c);}),_0x528224;},'fromJSON'(_0x49f64b){if(!Array['isArray'](_0x49f64b)||_0x49f64b['length']%0x2)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');let _0x2b6043=[];for(let _0x45d4fd=0x0;_0x45d4fd<_0x49f64b['length'];){let _0x553b3a=_0x49f64b[_0x45d4fd++],_0x5cf5ab=_0x49f64b[_0x45d4fd++];if('number'!=typeof _0x553b3a||'number'!=typeof _0x5cf5ab)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');_0x2b6043['push'](_0x1e9e22['range'](_0x553b3a,_0x5cf5ab));}return Decoration['set'](_0x2b6043,!0x0);}});function _0x226345(_0x5763bb,_0x4148cd,_0x57d95f=_0x4148cd){let _0x14136d=!0x1;return _0x5763bb['between'](_0x4148cd,_0x57d95f,(_0x2c3e96,_0x4b6cb0)=>{_0x2c3e96<_0x57d95f&&_0x4b6cb0>_0x4148cd&&(_0x14136d=!0x0);}),_0x14136d?_0x5763bb['update']({'filterFrom':_0x4148cd,'filterTo':_0x57d95f,'filter':(_0xf6bae8,_0x1d3bb0)=>_0xf6bae8>=_0x57d95f||_0x1d3bb0<=_0x4148cd}):_0x5763bb;}function _0x33d231(_0x12cf76,_0x239ea1,_0x5e4ffb){var _0x4e6fc1;let _0x4880dc=null;return null===(_0x4e6fc1=_0x12cf76['field'](_0x2bf798,!0x1))||void 0x0===_0x4e6fc1||_0x4e6fc1['between'](_0x239ea1,_0x5e4ffb,(_0x1c991d,_0x11f34f)=>{(!_0x4880dc||_0x4880dc['from']>_0x1c991d)&&(_0x4880dc={'from':_0x1c991d,'to':_0x11f34f});}),_0x4880dc;}function _0xd3f47b(_0x1420d3,_0x4cd986,_0x51fd2b){let _0x17dc3b=!0x1;return _0x1420d3['between'](_0x4cd986,_0x4cd986,(_0x117fc3,_0x8a39df)=>{_0x117fc3==_0x4cd986&&_0x8a39df==_0x51fd2b&&(_0x17dc3b=!0x0);}),_0x17dc3b;}function tv(_0x3fe630,_0x517cc5){return _0x3fe630['field'](_0x2bf798,!0x1)?_0x517cc5:_0x517cc5['concat'](StateEffect['appendConfig']['of'](_0x2d32b0()));}function _0x202d8a(_0x16c5d0,_0xa99ab8,_0x9cc513=!0x0){let _0x50dee4=_0x16c5d0['state']['doc']['lineAt'](_0xa99ab8['from'])['number'],_0x503fc6=_0x16c5d0['state']['doc']['lineAt'](_0xa99ab8['to'])['number'];return EditorView['announce']['of'](_0x16c5d0['state']['phrase'](_0x9cc513?'Folded\x20lines':'Unfolded\x20lines')+'\x20'+_0x50dee4+'\x20'+_0x16c5d0['state']['phrase']('to')+'\x20'+_0x503fc6+'.');}const _0x1cf0ca=[{'key':'Ctrl-Shift-[','mac':'Cmd-Alt-[','run':_0x425308=>{for(let _0x368166 of _0x2ecc94(_0x425308)){let _0x15eb2d=_0x55bb71(_0x425308['state'],_0x368166['from'],_0x368166['to']);if(_0x15eb2d)return _0x425308['dispatch']({'effects':tv(_0x425308['state'],[_0x137531['of'](_0x15eb2d),_0x202d8a(_0x425308,_0x15eb2d)])}),!0x0;}return!0x1;}},{'key':'Ctrl-Shift-]','mac':'Cmd-Alt-]','run':_0x222d45=>{if(!_0x222d45['state']['field'](_0x2bf798,!0x1))return!0x1;let _0x29ebc0=[];for(let _0x4d49ff of _0x2ecc94(_0x222d45)){let _0xcb0ee=_0x33d231(_0x222d45['state'],_0x4d49ff['from'],_0x4d49ff['to']);_0xcb0ee&&_0x29ebc0['push'](_0x53174c['of'](_0xcb0ee),_0x202d8a(_0x222d45,_0xcb0ee,!0x1));}return _0x29ebc0['length']&&_0x222d45['dispatch']({'effects':_0x29ebc0}),_0x29ebc0['length']>0x0;}},{'key':'Ctrl-Alt-[','run':_0xfb95a5=>{let {state:_0x49af2c}=_0xfb95a5,_0x36ed57=[];for(let _0x1f8215=0x0;_0x1f8215<_0x49af2c['doc']['length'];){let _0x239412=_0xfb95a5['lineBlockAt'](_0x1f8215),_0x27ba73=_0x55bb71(_0x49af2c,_0x239412['from'],_0x239412['to']);_0x27ba73&&_0x36ed57['push'](_0x137531['of'](_0x27ba73)),_0x1f8215=(_0x27ba73?_0xfb95a5['lineBlockAt'](_0x27ba73['to']):_0x239412)['to']+0x1;}return _0x36ed57['length']&&_0xfb95a5['dispatch']({'effects':tv(_0xfb95a5['state'],_0x36ed57)}),!!_0x36ed57['length'];}},{'key':'Ctrl-Alt-]','run':_0x154b1b=>{let _0x1d9aa0=_0x154b1b['state']['field'](_0x2bf798,!0x1);if(!_0x1d9aa0||!_0x1d9aa0['size'])return!0x1;let _0x272e4f=[];return _0x1d9aa0['between'](0x0,_0x154b1b['state']['doc']['length'],(_0x2a2615,_0x4292c5)=>{_0x272e4f['push'](_0x53174c['of']({'from':_0x2a2615,'to':_0x4292c5}));}),_0x154b1b['dispatch']({'effects':_0x272e4f}),!0x0;}}],_0x4b1aa2={'placeholderDOM':null,'preparePlaceholder':null,'placeholderText':'…'},_0x51ed74=Facet['define']({'combine':_0x2877bb=>_0x20b1bc(_0x2877bb,_0x4b1aa2)});function _0x2d32b0(_0x1074ca){return[_0x2bf798,_0x2b4919];}function _0x47d294(_0x275099,_0x4acb24){let {state:_0x1a4a10}=_0x275099,_0x5e47fa=_0x1a4a10['facet'](_0x51ed74),_0x757e57=_0x18a038=>{let _0x478de7=_0x275099['lineBlockAt'](_0x275099['posAtDOM'](_0x18a038['target'])),_0x1378e8=_0x33d231(_0x275099['state'],_0x478de7['from'],_0x478de7['to']);_0x1378e8&&_0x275099['dispatch']({'effects':_0x53174c['of'](_0x1378e8)}),_0x18a038['preventDefault']();};if(_0x5e47fa['placeholderDOM'])return _0x5e47fa['placeholderDOM'](_0x275099,_0x757e57,_0x4acb24);let _0x396ce6=document['createElement']('span');return _0x396ce6['textContent']=_0x5e47fa['placeholderText'],_0x396ce6['setAttribute']('aria-label',_0x1a4a10['phrase']('folded\x20code')),_0x396ce6['title']=_0x1a4a10['phrase']('unfold'),_0x396ce6['className']='cm-foldPlaceholder',_0x396ce6['onclick']=_0x757e57,_0x396ce6;}const _0x1e9e22=Decoration['replace']({'widget':new class extends WidgetType{['toDOM'](_0x343acd){return _0x47d294(_0x343acd,null);}}()});class PreparedFoldWidget extends WidgetType{constructor(_0x3515d2){super(),this['value']=_0x3515d2;}['eq'](_0x2d51a1){return this['value']==_0x2d51a1['value'];}['toDOM'](_0x97160e){return _0x47d294(_0x97160e,this['value']);}}const _0x3a0c97={'openText':'⌄','closedText':'›','markerDOM':null,'domEventHandlers':{},'foldingChanged':()=>!0x1};class _0x5efdc3 extends GutterMarker{constructor(_0x4f60e1,_0x1b7a65){super(),this['config']=_0x4f60e1,this['open']=_0x1b7a65;}['eq'](_0x484764){return this['config']==_0x484764['config']&&this['open']==_0x484764['open'];}['toDOM'](_0x50eddf){if(this['config']['markerDOM'])return this['config']['markerDOM'](this['open']);let _0x42fb88=document['createElement']('span');return _0x42fb88['textContent']=this['open']?this['config']['openText']:this['config']['closedText'],_0x42fb88['title']=_0x50eddf['state']['phrase'](this['open']?'Fold\x20line':'Unfold\x20line'),_0x42fb88;}}function _0x43623a(_0x343a27={}){let _0x52f573={..._0x3a0c97,..._0x343a27},_0x2d2b71=new _0x5efdc3(_0x52f573,!0x0),_0x4ae06f=new _0x5efdc3(_0x52f573,!0x1),_0x57b147=_0x26068f['fromClass'](class{constructor(_0x16d557){this['from']=_0x16d557['viewport']['from'],this['markers']=this['buildMarkers'](_0x16d557);}['update'](_0x2246e0){(_0x2246e0['docChanged']||_0x2246e0['viewportChanged']||_0x2246e0['startState']['facet'](_0x2f42e9)!=_0x2246e0['state']['facet'](_0x2f42e9)||_0x2246e0['startState']['field'](_0x2bf798,!0x1)!=_0x2246e0['state']['field'](_0x2bf798,!0x1)||_0x46e40e(_0x2246e0['startState'])!=_0x46e40e(_0x2246e0['state'])||_0x52f573['foldingChanged'](_0x2246e0))&&(this['markers']=this['buildMarkers'](_0x2246e0['view']));}['buildMarkers'](_0x509940){let _0x579e0e=new RangeSetBuilder();for(let _0x37d668 of _0x509940['viewportLineBlocks']){let _0x41eb50=_0x33d231(_0x509940['state'],_0x37d668['from'],_0x37d668['to'])?_0x4ae06f:_0x55bb71(_0x509940['state'],_0x37d668['from'],_0x37d668['to'])?_0x2d2b71:null;_0x41eb50&&_0x579e0e['add'](_0x37d668['from'],_0x37d668['from'],_0x41eb50);}return _0x579e0e['finish']();}}),{domEventHandlers:_0x892786}=_0x52f573;return[_0x57b147,_0x345562({'class':'cm-foldGutter','markers'(_0x3751a5){var _0x144f24;return(null===(_0x144f24=_0x3751a5['plugin'](_0x57b147))||void 0x0===_0x144f24?void 0x0:_0x144f24['markers'])||RangeSet['empty'];},'initialSpacer':()=>new _0x5efdc3(_0x52f573,!0x1),'domEventHandlers':{..._0x892786,'click':(_0x2b6e06,_0x5d766f,_0x2b07d0)=>{if(_0x892786['click']&&_0x892786['click'](_0x2b6e06,_0x5d766f,_0x2b07d0))return!0x0;let _0x1c5f91=_0x33d231(_0x2b6e06['state'],_0x5d766f['from'],_0x5d766f['to']);if(_0x1c5f91)return _0x2b6e06['dispatch']({'effects':_0x53174c['of'](_0x1c5f91)}),!0x0;let _0x17f316=_0x55bb71(_0x2b6e06['state'],_0x5d766f['from'],_0x5d766f['to']);return!!_0x17f316&&(_0x2b6e06['dispatch']({'effects':_0x137531['of'](_0x17f316)}),!0x0);}}}),_0x2d32b0()];}const _0x2b4919=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(_0x47498a,_0x52c5dd){let _0x5831ea;function _0xb74c8a(_0x1ae2f3){let _0x4a401e=StyleModule['newName']();return(_0x5831ea||(_0x5831ea=Object['create'](null)))['.'+_0x4a401e]=_0x1ae2f3,_0x4a401e;}this['specs']=_0x47498a;const _0x3de540='string'==typeof _0x52c5dd['all']?_0x52c5dd['all']:_0x52c5dd['all']?_0xb74c8a(_0x52c5dd['all']):void 0x0,_0x517d40=_0x52c5dd['scope'];this['scope']=_0x517d40 instanceof _0x235fdc?_0x4969c2=>_0x4969c2['prop'](_0x43d9fa)==_0x517d40['data']:_0x517d40?_0x1ae293=>_0x1ae293==_0x517d40:void 0x0,this['style']=_0x4b8926(_0x47498a['map'](_0x2624b9=>({'tag':_0x2624b9['tag'],'class':_0x2624b9['class']||_0xb74c8a(Object['assign']({},_0x2624b9,{'tag':null}))})),{'all':_0x3de540})['style'],this['module']=_0x5831ea?new StyleModule(_0x5831ea):null,this['themeType']=_0x52c5dd['themeType'];}static['define'](_0x1f1713,_0x23ac86){return new HighlightStyle(_0x1f1713,_0x23ac86||{});}}const _0x41d89b=Facet['define'](),_0x27e978=Facet['define']({'combine':_0xfafab7=>_0xfafab7['length']?[_0xfafab7[0x0]]:null});function _0x30df00(_0x4fee98){let _0x2eb2d3=_0x4fee98['facet'](_0x41d89b);return _0x2eb2d3['length']?_0x2eb2d3:_0x4fee98['facet'](_0x27e978);}function _0x5eef91(_0x18590b,_0x5d5d97){let _0x39f92f,_0x34a22c=[_0xbe52c5];return _0x18590b instanceof HighlightStyle&&(_0x18590b['module']&&_0x34a22c['push'](EditorView['styleModule']['of'](_0x18590b['module'])),_0x39f92f=_0x18590b['themeType']),(null==_0x5d5d97?void 0x0:_0x5d5d97['fallback'])?_0x34a22c['push'](_0x27e978['of'](_0x18590b)):_0x39f92f?_0x34a22c['push'](_0x41d89b['computeN']([EditorView['darkTheme']],_0x170d61=>_0x170d61['facet'](EditorView['darkTheme'])==('dark'==_0x39f92f)?[_0x18590b]:[])):_0x34a22c['push'](_0x41d89b['of'](_0x18590b)),_0x34a22c;}class TreeHighlighter{constructor(_0x5957cd){this['markCache']=Object['create'](null),this['tree']=_0x46e40e(_0x5957cd['state']),this['decorations']=this['buildDeco'](_0x5957cd,_0x30df00(_0x5957cd['state'])),this['decoratedTo']=_0x5957cd['viewport']['to'];}['update'](_0x3e4854){let _0x4f5a77=_0x46e40e(_0x3e4854['state']),_0x2f5eb5=_0x30df00(_0x3e4854['state']),_0x588a3c=_0x2f5eb5!=_0x30df00(_0x3e4854['startState']),{viewport:_0x2ae24d}=_0x3e4854['view'],_0x32026b=_0x3e4854['changes']['mapPos'](this['decoratedTo'],0x1);_0x4f5a77['length']<_0x2ae24d['to']&&!_0x588a3c&&_0x4f5a77['type']==this['tree']['type']&&_0x32026b>=_0x2ae24d['to']?(this['decorations']=this['decorations']['map'](_0x3e4854['changes']),this['decoratedTo']=_0x32026b):(_0x4f5a77!=this['tree']||_0x3e4854['viewportChanged']||_0x588a3c)&&(this['tree']=_0x4f5a77,this['decorations']=this['buildDeco'](_0x3e4854['view'],_0x2f5eb5),this['decoratedTo']=_0x2ae24d['to']);}['buildDeco'](_0x50b4fe,_0xd1725c){if(!_0xd1725c||!this['tree']['length'])return Decoration['none'];let _0x298e77=new RangeSetBuilder();for(let {from:_0x245d36,to:_0x1faca9}of _0x50b4fe['visibleRanges'])_0x55d2ff(this['tree'],_0xd1725c,(_0x9eee45,_0x4a6cfe,_0x1fa5f7)=>{_0x298e77['add'](_0x9eee45,_0x4a6cfe,this['markCache'][_0x1fa5f7]||(this['markCache'][_0x1fa5f7]=Decoration['mark']({'class':_0x1fa5f7})));},_0x245d36,_0x1faca9);return _0x298e77['finish']();}}const _0xbe52c5=_0x4b04a1['high'](_0x26068f['fromClass'](TreeHighlighter,{'decorations':_0x374d8c=>_0x374d8c['decorations']})),_0x294afa=HighlightStyle['define']([{'tag':_0x1abe46['meta'],'color':'#404740'},{'tag':_0x1abe46['link'],'textDecoration':'underline'},{'tag':_0x1abe46['heading'],'textDecoration':'underline','fontWeight':'bold'},{'tag':_0x1abe46['emphasis'],'fontStyle':'italic'},{'tag':_0x1abe46['strong'],'fontWeight':'bold'},{'tag':_0x1abe46['strikethrough'],'textDecoration':'line-through'},{'tag':_0x1abe46['keyword'],'color':'#708'},{'tag':[_0x1abe46['atom'],_0x1abe46['bool'],_0x1abe46['url'],_0x1abe46['contentSeparator'],_0x1abe46['labelName']],'color':'#219'},{'tag':[_0x1abe46['literal'],_0x1abe46['inserted']],'color':'#164'},{'tag':[_0x1abe46['string'],_0x1abe46['deleted']],'color':'#a11'},{'tag':[_0x1abe46['regexp'],_0x1abe46['escape'],_0x1abe46['special'](_0x1abe46['string'])],'color':'#e40'},{'tag':_0x1abe46['definition'](_0x1abe46['variableName']),'color':'#00f'},{'tag':_0x1abe46['local'](_0x1abe46['variableName']),'color':'#30a'},{'tag':[_0x1abe46['typeName'],_0x1abe46['namespace']],'color':'#085'},{'tag':_0x1abe46['className'],'color':'#167'},{'tag':[_0x1abe46['special'](_0x1abe46['variableName']),_0x1abe46['macroName']],'color':'#256'},{'tag':_0x1abe46['definition'](_0x1abe46['propertyName']),'color':'#00c'},{'tag':_0x1abe46['comment'],'color':'#940'},{'tag':_0x1abe46['invalid'],'color':'#f00'}]),_0x49b723=EditorView['baseTheme']({'&.cm-focused\x20.cm-matchingBracket':{'backgroundColor':'#328c8252'},'&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bb555544'}}),_0x5361d7='()[]{}',_0x1480cb=Facet['define']({'combine':_0x2be726=>_0x20b1bc(_0x2be726,{'afterCursor':!0x0,'brackets':_0x5361d7,'maxScanDistance':0x2710,'renderMatch':_0x50d98c})}),_0x3734f3=Decoration['mark']({'class':'cm-matchingBracket'}),_0x1e7a54=Decoration['mark']({'class':'cm-nonmatchingBracket'});function _0x50d98c(_0x5449bf){let _0x1b9e74=[],_0x5ad43f=_0x5449bf['matched']?_0x3734f3:_0x1e7a54;return _0x1b9e74['push'](_0x5ad43f['range'](_0x5449bf['start']['from'],_0x5449bf['start']['to'])),_0x5449bf['end']&&_0x1b9e74['push'](_0x5ad43f['range'](_0x5449bf['end']['from'],_0x5449bf['end']['to'])),_0x1b9e74;}const _0x15e690=StateField['define']({'create':()=>Decoration['none'],'update'(_0x5da127,_0x57ec2e){if(!_0x57ec2e['docChanged']&&!_0x57ec2e['selection'])return _0x5da127;let _0x4199a9=[],_0x326270=_0x57ec2e['state']['facet'](_0x1480cb);for(let _0x4041b7 of _0x57ec2e['state']['selection']['ranges']){if(!_0x4041b7['empty'])continue;let _0x5dd0eb=_0x2008fd(_0x57ec2e['state'],_0x4041b7['head'],-0x1,_0x326270)||_0x4041b7['head']>0x0&&_0x2008fd(_0x57ec2e['state'],_0x4041b7['head']-0x1,0x1,_0x326270)||_0x326270['afterCursor']&&(_0x2008fd(_0x57ec2e['state'],_0x4041b7['head'],0x1,_0x326270)||_0x4041b7['head']<_0x57ec2e['state']['doc']['length']&&_0x2008fd(_0x57ec2e['state'],_0x4041b7['head']+0x1,-0x1,_0x326270));_0x5dd0eb&&(_0x4199a9=_0x4199a9['concat'](_0x326270['renderMatch'](_0x5dd0eb,_0x57ec2e['state'])));}return Decoration['set'](_0x4199a9,!0x0);},'provide':_0x5d6d1d=>EditorView['decorations']['from'](_0x5d6d1d)}),_0x5b041a=[_0x15e690,_0x49b723];function _0x2628c2(_0x367e72={}){return[_0x1480cb['of'](_0x367e72),_0x5b041a];}const _0x4c2f8a=new _0x17497f();function _0x4acf90(_0x2c0cc4,_0x51b895,_0x85ff14){let _0x577c36=_0x2c0cc4['prop'](_0x51b895<0x0?_0x17497f['openedBy']:_0x17497f['closedBy']);if(_0x577c36)return _0x577c36;if(0x1==_0x2c0cc4['name']['length']){let _0x4d7570=_0x85ff14['indexOf'](_0x2c0cc4['name']);if(_0x4d7570>-0x1&&_0x4d7570%0x2==(_0x51b895<0x0?0x1:0x0))return[_0x85ff14[_0x4d7570+_0x51b895]];}return null;}function _0x51ce8e(_0x3002b0){let _0x1d2207=_0x3002b0['type']['prop'](_0x4c2f8a);return _0x1d2207?_0x1d2207(_0x3002b0['node']):_0x3002b0;}function _0x2008fd(_0x5a68da,_0x446705,_0x48c70f,_0x457b68={}){let _0x2fb720=_0x457b68['maxScanDistance']||0x2710,_0x1563d5=_0x457b68['brackets']||_0x5361d7,_0x43e470=_0x46e40e(_0x5a68da),_0x2ae6f0=_0x43e470['resolveInner'](_0x446705,_0x48c70f);for(let _0x704dcc=_0x2ae6f0;_0x704dcc;_0x704dcc=_0x704dcc['parent']){let _0x189fb3=_0x4acf90(_0x704dcc['type'],_0x48c70f,_0x1563d5);if(_0x189fb3&&_0x704dcc['from']<_0x704dcc['to']){let _0x55ca69=_0x51ce8e(_0x704dcc);if(_0x55ca69&&(_0x48c70f>0x0?_0x446705>=_0x55ca69['from']&&_0x446705<_0x55ca69['to']:_0x446705>_0x55ca69['from']&&_0x446705<=_0x55ca69['to']))return _0x5a56a6(_0x5a68da,_0x446705,_0x48c70f,_0x704dcc,_0x55ca69,_0x189fb3,_0x1563d5);}}return function(_0x3d32c2,_0x5a96e8,_0x4d0c79,_0x3bb0d2,_0x1f99d4,_0x42e754,_0x26b151){let _0x5608a4=_0x4d0c79<0x0?_0x3d32c2['sliceDoc'](_0x5a96e8-0x1,_0x5a96e8):_0x3d32c2['sliceDoc'](_0x5a96e8,_0x5a96e8+0x1),_0x55f6ee=_0x26b151['indexOf'](_0x5608a4);if(_0x55f6ee<0x0||_0x55f6ee%0x2==0x0!=_0x4d0c79>0x0)return null;let _0x3b91c4={'from':_0x4d0c79<0x0?_0x5a96e8-0x1:_0x5a96e8,'to':_0x4d0c79>0x0?_0x5a96e8+0x1:_0x5a96e8},_0x30ec85=_0x3d32c2['doc']['iterRange'](_0x5a96e8,_0x4d0c79>0x0?_0x3d32c2['doc']['length']:0x0),_0x5ef851=0x0;for(let _0xdb0c8e=0x0;!_0x30ec85['next']()['done']&&_0xdb0c8e<=_0x42e754;){let _0x3a0bf0=_0x30ec85['value'];_0x4d0c79<0x0&&(_0xdb0c8e+=_0x3a0bf0['length']);let _0x381a91=_0x5a96e8+_0xdb0c8e*_0x4d0c79;for(let _0x2b7f2a=_0x4d0c79>0x0?0x0:_0x3a0bf0['length']-0x1,_0x11c84f=_0x4d0c79>0x0?_0x3a0bf0['length']:-0x1;_0x2b7f2a!=_0x11c84f;_0x2b7f2a+=_0x4d0c79){let _0xc89359=_0x26b151['indexOf'](_0x3a0bf0[_0x2b7f2a]);if(!(_0xc89359<0x0||_0x3bb0d2['resolveInner'](_0x381a91+_0x2b7f2a,0x1)['type']!=_0x1f99d4)){if(_0xc89359%0x2==0x0==_0x4d0c79>0x0)_0x5ef851++;else{if(0x1==_0x5ef851)return{'start':_0x3b91c4,'end':{'from':_0x381a91+_0x2b7f2a,'to':_0x381a91+_0x2b7f2a+0x1},'matched':_0xc89359>>0x1==_0x55f6ee>>0x1};_0x5ef851--;}}}_0x4d0c79>0x0&&(_0xdb0c8e+=_0x3a0bf0['length']);}return _0x30ec85['done']?{'start':_0x3b91c4,'matched':!0x1}:null;}(_0x5a68da,_0x446705,_0x48c70f,_0x43e470,_0x2ae6f0['type'],_0x2fb720,_0x1563d5);}function _0x5a56a6(_0x10faa6,_0x5dd7a2,_0xa6f0c7,_0x578434,_0x13f9f0,_0x47f784,_0x195358){let _0x35e3fc=_0x578434['parent'],_0x539f62={'from':_0x13f9f0['from'],'to':_0x13f9f0['to']},_0x14cf41=0x0,_0x16c9da=null==_0x35e3fc?void 0x0:_0x35e3fc['cursor']();if(_0x16c9da&&(_0xa6f0c7<0x0?_0x16c9da['childBefore'](_0x578434['from']):_0x16c9da['childAfter'](_0x578434['to'])))do{if(_0xa6f0c7<0x0?_0x16c9da['to']<=_0x578434['from']:_0x16c9da['from']>=_0x578434['to']){if(0x0==_0x14cf41&&_0x47f784['indexOf'](_0x16c9da['type']['name'])>-0x1&&_0x16c9da['from']<_0x16c9da['to']){let _0x418756=_0x51ce8e(_0x16c9da);return{'start':_0x539f62,'end':_0x418756?{'from':_0x418756['from'],'to':_0x418756['to']}:void 0x0,'matched':!0x0};}if(_0x4acf90(_0x16c9da['type'],_0xa6f0c7,_0x195358))_0x14cf41++;else{if(_0x4acf90(_0x16c9da['type'],-_0xa6f0c7,_0x195358)){if(0x0==_0x14cf41){let _0x497f61=_0x51ce8e(_0x16c9da);return{'start':_0x539f62,'end':_0x497f61&&_0x497f61['from']<_0x497f61['to']?{'from':_0x497f61['from'],'to':_0x497f61['to']}:void 0x0,'matched':!0x1};}_0x14cf41--;}}}}while(_0xa6f0c7<0x0?_0x16c9da['prevSibling']():_0x16c9da['nextSibling']());return{'start':_0x539f62,'matched':!0x1};}const _0x1070e5=Object['create'](null),_0x56c1cd=[_0x215dc9['none']],_0x4d07fb=[],_0x9ed0df=Object['create'](null),_0x52f15c=Object['create'](null);for(let [_0x586ce7,_0x334218]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']])_0x52f15c[_0x586ce7]=_0x24ea68(_0x1070e5,_0x334218);function _0x70ad56(_0x361182,_0x1cb59a){_0x4d07fb['indexOf'](_0x361182)>-0x1||(_0x4d07fb['push'](_0x361182),console['warn'](_0x1cb59a));}function _0x24ea68(_0x4f8865,_0xa23537){let _0x3533f4=[];for(let _0x36104c of _0xa23537['split']('\x20')){let _0x4cb0e0=[];for(let _0x57b898 of _0x36104c['split']('.')){let _0x91da59=_0x4f8865[_0x57b898]||_0x1abe46[_0x57b898];_0x91da59?'function'==typeof _0x91da59?_0x4cb0e0['length']?_0x4cb0e0=_0x4cb0e0['map'](_0x91da59):_0x70ad56(_0x57b898,'Modifier\x20'+_0x57b898+'\x20used\x20at\x20start\x20of\x20tag'):_0x4cb0e0['length']?_0x70ad56(_0x57b898,'Tag\x20'+_0x57b898+'\x20used\x20as\x20modifier'):_0x4cb0e0=Array['isArray'](_0x91da59)?_0x91da59:[_0x91da59]:_0x70ad56(_0x57b898,'Unknown\x20highlighting\x20tag\x20'+_0x57b898);}for(let _0x533bd3 of _0x4cb0e0)_0x3533f4['push'](_0x533bd3);}if(!_0x3533f4['length'])return 0x0;let _0xbb675a=_0xa23537['replace'](/ /g,'_'),_0x3ef1e3=_0xbb675a+'\x20'+_0x3533f4['map'](t=>t['id']),_0x2ddd41=_0x9ed0df[_0x3ef1e3];if(_0x2ddd41)return _0x2ddd41['id'];let _0x46fbf1=_0x9ed0df[_0x3ef1e3]=_0x215dc9['define']({'id':_0x56c1cd['length'],'name':_0xbb675a,'props':[_0x39699e({[_0xbb675a]:_0x3533f4})]});return _0x56c1cd['push'](_0x46fbf1),_0x46fbf1['id'];}_0xdbef2e['RTL'],_0xdbef2e['LTR'];function _0x382982(_0x3e4a8f,_0x2e15d6){return({state:_0x557215,dispatch:_0x402049})=>{if(_0x557215['readOnly'])return!0x1;let _0x516d2e=_0x3e4a8f(_0x2e15d6,_0x557215);return!!_0x516d2e&&(_0x402049(_0x557215['update'](_0x516d2e)),!0x0);};}const _0x50ebb4=_0x382982(_0x31009f,0x0),_0x3bdde5=_0x382982(_0x31a240,0x0),_0x1dd104=_0x382982((_0x57b27a,_0x5ab282)=>_0x31a240(_0x57b27a,_0x5ab282,function(_0x2b9a61){let _0x222b74=[];for(let _0x1ec224 of _0x2b9a61['selection']['ranges']){let _0x3ab56f=_0x2b9a61['doc']['lineAt'](_0x1ec224['from']),_0x463eae=_0x1ec224['to']<=_0x3ab56f['to']?_0x3ab56f:_0x2b9a61['doc']['lineAt'](_0x1ec224['to']);_0x463eae['from']>_0x3ab56f['from']&&_0x463eae['from']==_0x1ec224['to']&&(_0x463eae=_0x1ec224['to']==_0x3ab56f['to']+0x1?_0x3ab56f:_0x2b9a61['doc']['lineAt'](_0x1ec224['to']-0x1));let _0x268cdb=_0x222b74['length']-0x1;_0x268cdb>=0x0&&_0x222b74[_0x268cdb]['to']>_0x3ab56f['from']?_0x222b74[_0x268cdb]['to']=_0x463eae['to']:_0x222b74['push']({'from':_0x3ab56f['from']+/^\s*/['exec'](_0x3ab56f['text'])[0x0]['length'],'to':_0x463eae['to']});}return _0x222b74;}(_0x5ab282)),0x0);function _0x1fb591(_0x472f5d,_0x52a30b){let _0x16855d=_0x472f5d['languageDataAt']('commentTokens',_0x52a30b,0x1);return _0x16855d['length']?_0x16855d[0x0]:{};}const _0x5399df=0x32;function _0x31a240(_0x493f7a,_0x2f0725,_0x14aa7b=_0x2f0725['selection']['ranges']){let _0x5f2592=_0x14aa7b['map'](_0x51d28c=>_0x1fb591(_0x2f0725,_0x51d28c['from'])['block']);if(!_0x5f2592['every'](_0x154d3b=>_0x154d3b))return null;let _0x2f802f=_0x14aa7b['map']((_0xbbc72,_0x32b488)=>function(_0x3dffb6,{open:_0x377f90,close:_0x32c652},_0xd5a3db,_0x255b0a){let _0x27f5e7,_0x570df8,_0x2ba510=_0x3dffb6['sliceDoc'](_0xd5a3db-_0x5399df,_0xd5a3db),_0x22c2aa=_0x3dffb6['sliceDoc'](_0x255b0a,_0x255b0a+_0x5399df),_0x43d52b=/\s*$/['exec'](_0x2ba510)[0x0]['length'],_0x415032=/^\s*/['exec'](_0x22c2aa)[0x0]['length'],_0xadcb6f=_0x2ba510['length']-_0x43d52b;if(_0x2ba510['slice'](_0xadcb6f-_0x377f90['length'],_0xadcb6f)==_0x377f90&&_0x22c2aa['slice'](_0x415032,_0x415032+_0x32c652['length'])==_0x32c652)return{'open':{'pos':_0xd5a3db-_0x43d52b,'margin':_0x43d52b&&0x1},'close':{'pos':_0x255b0a+_0x415032,'margin':_0x415032&&0x1}};_0x255b0a-_0xd5a3db<=0x2*_0x5399df?_0x27f5e7=_0x570df8=_0x3dffb6['sliceDoc'](_0xd5a3db,_0x255b0a):(_0x27f5e7=_0x3dffb6['sliceDoc'](_0xd5a3db,_0xd5a3db+_0x5399df),_0x570df8=_0x3dffb6['sliceDoc'](_0x255b0a-_0x5399df,_0x255b0a));let _0xffabf2=/^\s*/['exec'](_0x27f5e7)[0x0]['length'],_0x2108ea=/\s*$/['exec'](_0x570df8)[0x0]['length'],_0x4c8bd0=_0x570df8['length']-_0x2108ea-_0x32c652['length'];return _0x27f5e7['slice'](_0xffabf2,_0xffabf2+_0x377f90['length'])==_0x377f90&&_0x570df8['slice'](_0x4c8bd0,_0x4c8bd0+_0x32c652['length'])==_0x32c652?{'open':{'pos':_0xd5a3db+_0xffabf2+_0x377f90['length'],'margin':/\s/['test'](_0x27f5e7['charAt'](_0xffabf2+_0x377f90['length']))?0x1:0x0},'close':{'pos':_0x255b0a-_0x2108ea-_0x32c652['length'],'margin':/\s/['test'](_0x570df8['charAt'](_0x4c8bd0-0x1))?0x1:0x0}}:null;}(_0x2f0725,_0x5f2592[_0x32b488],_0xbbc72['from'],_0xbbc72['to']));if(0x2!=_0x493f7a&&!_0x2f802f['every'](_0x24bc7f=>_0x24bc7f))return{'changes':_0x2f0725['changes'](_0x14aa7b['map']((_0xcebc01,_0x41d064)=>_0x2f802f[_0x41d064]?[]:[{'from':_0xcebc01['from'],'insert':_0x5f2592[_0x41d064]['open']+'\x20'},{'from':_0xcebc01['to'],'insert':'\x20'+_0x5f2592[_0x41d064]['close']}]))};if(0x1!=_0x493f7a&&_0x2f802f['some'](_0x6ea159=>_0x6ea159)){let _0x3eae8c=[];for(let _0xa98b6,_0x375641=0x0;_0x375641<_0x2f802f['length'];_0x375641++)if(_0xa98b6=_0x2f802f[_0x375641]){let _0x27f495=_0x5f2592[_0x375641],{open:_0x30b724,close:_0x35cd3d}=_0xa98b6;_0x3eae8c['push']({'from':_0x30b724['pos']-_0x27f495['open']['length'],'to':_0x30b724['pos']+_0x30b724['margin']},{'from':_0x35cd3d['pos']-_0x35cd3d['margin'],'to':_0x35cd3d['pos']+_0x27f495['close']['length']});}return{'changes':_0x3eae8c};}return null;}function _0x31009f(_0x78a89,_0x46a610,_0xc0cd77=_0x46a610['selection']['ranges']){let _0x8db420=[],_0x426e95=-0x1;for(let {from:_0x48a043,to:_0x183dbf}of _0xc0cd77){let _0xc1c210=_0x8db420['length'],_0x5dcae9=0x3b9aca00,_0x5026a7=_0x1fb591(_0x46a610,_0x48a043)['line'];if(_0x5026a7){for(let _0x4f680e=_0x48a043;_0x4f680e<=_0x183dbf;){let _0x3f87e0=_0x46a610['doc']['lineAt'](_0x4f680e);if(_0x3f87e0['from']>_0x426e95&&(_0x48a043==_0x183dbf||_0x183dbf>_0x3f87e0['from'])){_0x426e95=_0x3f87e0['from'];let _0x3cead6=/^\s*/['exec'](_0x3f87e0['text'])[0x0]['length'],_0x5a2795=_0x3cead6==_0x3f87e0['length'],_0x3c82d4=_0x3f87e0['text']['slice'](_0x3cead6,_0x3cead6+_0x5026a7['length'])==_0x5026a7?_0x3cead6:-0x1;_0x3cead6<_0x3f87e0['text']['length']&&_0x3cead6<_0x5dcae9&&(_0x5dcae9=_0x3cead6),_0x8db420['push']({'line':_0x3f87e0,'comment':_0x3c82d4,'token':_0x5026a7,'indent':_0x3cead6,'empty':_0x5a2795,'single':!0x1});}_0x4f680e=_0x3f87e0['to']+0x1;}if(_0x5dcae9<0x3b9aca00){for(let _0x53527c=_0xc1c210;_0x53527c<_0x8db420['length'];_0x53527c++)_0x8db420[_0x53527c]['indent']<_0x8db420[_0x53527c]['line']['text']['length']&&(_0x8db420[_0x53527c]['indent']=_0x5dcae9);}_0x8db420['length']==_0xc1c210+0x1&&(_0x8db420[_0xc1c210]['single']=!0x0);}}if(0x2!=_0x78a89&&_0x8db420['some'](_0x216e0a=>_0x216e0a['comment']<0x0&&(!_0x216e0a['empty']||_0x216e0a['single']))){let _0xa8eab5=[];for(let {line:_0x5d2435,token:_0x5d25a5,indent:_0x47853e,empty:_0x1621bc,single:_0x2860d1}of _0x8db420)!_0x2860d1&&_0x1621bc||_0xa8eab5['push']({'from':_0x5d2435['from']+_0x47853e,'insert':_0x5d25a5+'\x20'});let _0xfe14ae=_0x46a610['changes'](_0xa8eab5);return{'changes':_0xfe14ae,'selection':_0x46a610['selection']['map'](_0xfe14ae,0x1)};}if(0x1!=_0x78a89&&_0x8db420['some'](_0x115701=>_0x115701['comment']>=0x0)){let _0x55900c=[];for(let {line:_0x3016f1,comment:_0x2b9f43,token:_0x5263d9}of _0x8db420)if(_0x2b9f43>=0x0){let _0x21fc1c=_0x3016f1['from']+_0x2b9f43,_0x236bd8=_0x21fc1c+_0x5263d9['length'];'\x20'==_0x3016f1['text'][_0x236bd8-_0x3016f1['from']]&&_0x236bd8++,_0x55900c['push']({'from':_0x21fc1c,'to':_0x236bd8});}return{'changes':_0x55900c};}return null;}const _0x36e385=Annotation['define'](),_0x24d8a7=Annotation['define'](),_0xdda40f=Facet['define'](),_0x8d749f=Facet['define']({'combine':_0x441898=>_0x20b1bc(_0x441898,{'minDepth':0x64,'newGroupDelay':0x1f4,'joinToEvent':(_0xc0b218,_0x577824)=>_0x577824},{'minDepth':Math['max'],'newGroupDelay':Math['min'],'joinToEvent':(_0x52c655,_0x3e3207)=>(_0x2a39d7,_0x1de891)=>_0x52c655(_0x2a39d7,_0x1de891)||_0x3e3207(_0x2a39d7,_0x1de891)})}),_0x580fee=StateField['define']({'create':()=>HistoryState['empty'],'update'(_0x326802,_0x281845){let _0x401d86=_0x281845['state']['facet'](_0x8d749f),_0x3f6044=_0x281845['annotation'](_0x36e385);if(_0x3f6044){let _0x1c0e36=HistEvent['fromTransaction'](_0x281845,_0x3f6044['selection']),_0x416467=_0x3f6044['side'],_0x53547f=0x0==_0x416467?_0x326802['undone']:_0x326802['done'];return _0x53547f=_0x1c0e36?_0x293f3b(_0x53547f,_0x53547f['length'],_0x401d86['minDepth'],_0x1c0e36):_0x17cb00(_0x53547f,_0x281845['startState']['selection']),new HistoryState(0x0==_0x416467?_0x3f6044['rest']:_0x53547f,0x0==_0x416467?_0x53547f:_0x3f6044['rest']);}let _0x4d52d2=_0x281845['annotation'](_0x24d8a7);if('full'!=_0x4d52d2&&'before'!=_0x4d52d2||(_0x326802=_0x326802['isolate']()),!0x1===_0x281845['annotation'](Transaction['addToHistory']))return _0x281845['changes']['empty']?_0x326802:_0x326802['addMapping'](_0x281845['changes']['desc']);let _0x8ab507=HistEvent['fromTransaction'](_0x281845),_0x51639d=_0x281845['annotation'](Transaction['time']),_0xe8135=_0x281845['annotation'](Transaction['userEvent']);return _0x8ab507?_0x326802=_0x326802['addChanges'](_0x8ab507,_0x51639d,_0xe8135,_0x401d86,_0x281845):_0x281845['selection']&&(_0x326802=_0x326802['addSelection'](_0x281845['startState']['selection'],_0x51639d,_0xe8135,_0x401d86['newGroupDelay'])),'full'!=_0x4d52d2&&'after'!=_0x4d52d2||(_0x326802=_0x326802['isolate']()),_0x326802;},'toJSON':_0x2dae16=>({'done':_0x2dae16['done']['map'](_0x562df8=>_0x562df8['toJSON']()),'undone':_0x2dae16['undone']['map'](_0x4a13b3=>_0x4a13b3['toJSON']())}),'fromJSON':_0x25397d=>new HistoryState(_0x25397d['done']['map'](HistEvent['fromJSON']),_0x25397d['undone']['map'](HistEvent['fromJSON']))});function _0x3caef9(_0x365cde={}){return[_0x580fee,_0x8d749f['of'](_0x365cde),EditorView['domEventHandlers']({'beforeinput'(_0x1ce73b,_0x4c1412){let _0x119075='historyUndo'==_0x1ce73b['inputType']?_0x1fa0dd:'historyRedo'==_0x1ce73b['inputType']?tT:null;return!!_0x119075&&(_0x1ce73b['preventDefault'](),_0x119075(_0x4c1412));}})];}function _0x101079(_0x2e7ce6,_0x1500f6){return function({state:_0x1b8d56,dispatch:_0x27025c}){if(!_0x1500f6&&_0x1b8d56['readOnly'])return!0x1;let _0xe8742b=_0x1b8d56['field'](_0x580fee,!0x1);if(!_0xe8742b)return!0x1;let _0x4e65f3=_0xe8742b['pop'](_0x2e7ce6,_0x1b8d56,_0x1500f6);return!!_0x4e65f3&&(_0x27025c(_0x4e65f3),!0x0);};}const _0x1fa0dd=_0x101079(0x0,!0x1),tT=_0x101079(0x1,!0x1),_0x3a63b8=_0x101079(0x0,!0x0),_0x2fadd5=_0x101079(0x1,!0x0);class HistEvent{constructor(_0x5a959c,_0x46399a,_0x3d0843,_0x5eae79,_0x4d2842){this['changes']=_0x5a959c,this['effects']=_0x46399a,this['mapped']=_0x3d0843,this['startSelection']=_0x5eae79,this['selectionsAfter']=_0x4d2842;}['setSelAfter'](_0x54d9c5){return new HistEvent(this['changes'],this['effects'],this['mapped'],this['startSelection'],_0x54d9c5);}['toJSON'](){var _0x56edf1,_0x1ec3a9,_0x8f71f5;return{'changes':null===(_0x56edf1=this['changes'])||void 0x0===_0x56edf1?void 0x0:_0x56edf1['toJSON'](),'mapped':null===(_0x1ec3a9=this['mapped'])||void 0x0===_0x1ec3a9?void 0x0:_0x1ec3a9['toJSON'](),'startSelection':null===(_0x8f71f5=this['startSelection'])||void 0x0===_0x8f71f5?void 0x0:_0x8f71f5['toJSON'](),'selectionsAfter':this['selectionsAfter']['map'](_0x44c290=>_0x44c290['toJSON']())};}static['fromJSON'](_0x1d36fd){return new HistEvent(_0x1d36fd['changes']&&ChangeSet['fromJSON'](_0x1d36fd['changes']),[],_0x1d36fd['mapped']&&_0x384419['fromJSON'](_0x1d36fd['mapped']),_0x1d36fd['startSelection']&&EditorSelection['fromJSON'](_0x1d36fd['startSelection']),_0x1d36fd['selectionsAfter']['map'](EditorSelection['fromJSON']));}static['fromTransaction'](_0x3dcdec,_0x4b2436){let _0x4ecdb7=_0x2ae93a;for(let _0x45b863 of _0x3dcdec['startState']['facet'](_0xdda40f)){let _0x42d453=_0x45b863(_0x3dcdec);_0x42d453['length']&&(_0x4ecdb7=_0x4ecdb7['concat'](_0x42d453));}return!_0x4ecdb7['length']&&_0x3dcdec['changes']['empty']?null:new HistEvent(_0x3dcdec['changes']['invert'](_0x3dcdec['startState']['doc']),_0x4ecdb7,void 0x0,_0x4b2436||_0x3dcdec['startState']['selection'],_0x2ae93a);}static['selection'](_0x506df3){return new HistEvent(void 0x0,_0x2ae93a,void 0x0,void 0x0,_0x506df3);}}function _0x293f3b(_0x13b363,_0x1b7e6b,_0x41fccc,_0x4fdb52){let _0x31881a=_0x1b7e6b+0x1>_0x41fccc+0x14?_0x1b7e6b-_0x41fccc-0x1:0x0,_0x1f5fad=_0x13b363['slice'](_0x31881a,_0x1b7e6b);return _0x1f5fad['push'](_0x4fdb52),_0x1f5fad;}function _0x31ab1d(_0x544734,_0x4ae090){return _0x544734['length']?_0x4ae090['length']?_0x544734['concat'](_0x4ae090):_0x544734:_0x4ae090;}const _0x2ae93a=[],_0x55d5ce=0xc8;function _0x17cb00(_0x5e82a6,_0x590c9c){if(_0x5e82a6['length']){let _0x34539b=_0x5e82a6[_0x5e82a6['length']-0x1],_0x3929a5=_0x34539b['selectionsAfter']['slice'](Math['max'](0x0,_0x34539b['selectionsAfter']['length']-_0x55d5ce));return _0x3929a5['length']&&_0x3929a5[_0x3929a5['length']-0x1]['eq'](_0x590c9c)?_0x5e82a6:(_0x3929a5['push'](_0x590c9c),_0x293f3b(_0x5e82a6,_0x5e82a6['length']-0x1,0x3b9aca00,_0x34539b['setSelAfter'](_0x3929a5)));}return[HistEvent['selection']([_0x590c9c])];}function _0x409e7c(_0xaac84b){let _0x285d16=_0xaac84b[_0xaac84b['length']-0x1],_0x262c85=_0xaac84b['slice']();return _0x262c85[_0xaac84b['length']-0x1]=_0x285d16['setSelAfter'](_0x285d16['selectionsAfter']['slice'](0x0,_0x285d16['selectionsAfter']['length']-0x1)),_0x262c85;}function _0x11365a(_0x345c1a,_0x173857){if(!_0x345c1a['length'])return _0x345c1a;let _0x53a2b1=_0x345c1a['length'],_0x22c728=_0x2ae93a;for(;_0x53a2b1;){let _0x33a32e=_0x3c3838(_0x345c1a[_0x53a2b1-0x1],_0x173857,_0x22c728);if(_0x33a32e['changes']&&!_0x33a32e['changes']['empty']||_0x33a32e['effects']['length']){let _0x29bcac=_0x345c1a['slice'](0x0,_0x53a2b1);return _0x29bcac[_0x53a2b1-0x1]=_0x33a32e,_0x29bcac;}_0x173857=_0x33a32e['mapped'],_0x53a2b1--,_0x22c728=_0x33a32e['selectionsAfter'];}return _0x22c728['length']?[HistEvent['selection'](_0x22c728)]:_0x2ae93a;}function _0x3c3838(_0x144211,_0x3487c0,_0x156237){let _0x29e62a=_0x31ab1d(_0x144211['selectionsAfter']['length']?_0x144211['selectionsAfter']['map'](_0x3bc83b=>_0x3bc83b['map'](_0x3487c0)):_0x2ae93a,_0x156237);if(!_0x144211['changes'])return HistEvent['selection'](_0x29e62a);let _0x5ed2aa=_0x144211['changes']['map'](_0x3487c0),_0x405807=_0x3487c0['mapDesc'](_0x144211['changes'],!0x0),_0x3d1cf0=_0x144211['mapped']?_0x144211['mapped']['composeDesc'](_0x405807):_0x405807;return new HistEvent(_0x5ed2aa,StateEffect['mapEffects'](_0x144211['effects'],_0x3487c0),_0x3d1cf0,_0x144211['startSelection']['map'](_0x405807),_0x29e62a);}const _0x4894bf=/^(input\.type|delete)($|\.)/;class HistoryState{constructor(_0x459bbe,_0x580881,_0x2ba395=0x0,_0x5456e2=void 0x0){this['done']=_0x459bbe,this['undone']=_0x580881,this['prevTime']=_0x2ba395,this['prevUserEvent']=_0x5456e2;}['isolate'](){return this['prevTime']?new HistoryState(this['done'],this['undone']):this;}['addChanges'](_0xa861a,_0xa1623f,_0x2012e1,_0x126708,_0x4662cd){let _0x4ecd2a=this['done'],_0x336a4e=_0x4ecd2a[_0x4ecd2a['length']-0x1];return _0x4ecd2a=_0x336a4e&&_0x336a4e['changes']&&!_0x336a4e['changes']['empty']&&_0xa861a['changes']&&(!_0x2012e1||_0x4894bf['test'](_0x2012e1))&&(!_0x336a4e['selectionsAfter']['length']&&_0xa1623f-this['prevTime']<_0x126708['newGroupDelay']&&_0x126708['joinToEvent'](_0x4662cd,function(_0x2cb495,_0x29b8ed){let _0x4c7f8b=[],_0x5721aa=!0x1;return _0x2cb495['iterChangedRanges']((_0x26741e,t)=>_0x4c7f8b['push'](_0x26741e,t)),_0x29b8ed['iterChangedRanges']((_0x55153b,_0x23775c,_0x2f60f6,t)=>{for(let _0x109426=0x0;_0x109426<_0x4c7f8b['length'];){let _0x2b1890=_0x4c7f8b[_0x109426++],_0x19a4ec=_0x4c7f8b[_0x109426++];t>=_0x2b1890&&_0x2f60f6<=_0x19a4ec&&(_0x5721aa=!0x0);}}),_0x5721aa;}(_0x336a4e['changes'],_0xa861a['changes']))||'input.type.compose'==_0x2012e1)?_0x293f3b(_0x4ecd2a,_0x4ecd2a['length']-0x1,_0x126708['minDepth'],new HistEvent(_0xa861a['changes']['compose'](_0x336a4e['changes']),_0x31ab1d(StateEffect['mapEffects'](_0xa861a['effects'],_0x336a4e['changes']),_0x336a4e['effects']),_0x336a4e['mapped'],_0x336a4e['startSelection'],_0x2ae93a)):_0x293f3b(_0x4ecd2a,_0x4ecd2a['length'],_0x126708['minDepth'],_0xa861a),new HistoryState(_0x4ecd2a,_0x2ae93a,_0xa1623f,_0x2012e1);}['addSelection'](_0x5b7db9,_0x219443,_0x29eb88,_0x5dc057){let _0x4e0d38=this['done']['length']?this['done'][this['done']['length']-0x1]['selectionsAfter']:_0x2ae93a;return _0x4e0d38['length']>0x0&&_0x219443-this['prevTime']<_0x5dc057&&_0x29eb88==this['prevUserEvent']&&_0x29eb88&&/^select($|\.)/['test'](_0x29eb88)&&function(_0x39350e,_0x25fc77){return _0x39350e['ranges']['length']==_0x25fc77['ranges']['length']&&0x0===_0x39350e['ranges']['filter']((_0x3d725f,_0x2589dc)=>_0x3d725f['empty']!=_0x25fc77['ranges'][_0x2589dc]['empty'])['length'];}(_0x4e0d38[_0x4e0d38['length']-0x1],_0x5b7db9)?this:new HistoryState(_0x17cb00(this['done'],_0x5b7db9),this['undone'],_0x219443,_0x29eb88);}['addMapping'](_0x48e549){return new HistoryState(_0x11365a(this['done'],_0x48e549),_0x11365a(this['undone'],_0x48e549),this['prevTime'],this['prevUserEvent']);}['pop'](_0x50c6be,_0x14c7b4,_0x37230b){let _0x89ae47=0x0==_0x50c6be?this['done']:this['undone'];if(0x0==_0x89ae47['length'])return null;let _0x7b6e95=_0x89ae47[_0x89ae47['length']-0x1],_0x31c557=_0x7b6e95['selectionsAfter'][0x0]||_0x14c7b4['selection'];if(_0x37230b&&_0x7b6e95['selectionsAfter']['length'])return _0x14c7b4['update']({'selection':_0x7b6e95['selectionsAfter'][_0x7b6e95['selectionsAfter']['length']-0x1],'annotations':_0x36e385['of']({'side':_0x50c6be,'rest':_0x409e7c(_0x89ae47),'selection':_0x31c557}),'userEvent':0x0==_0x50c6be?'select.undo':'select.redo','scrollIntoView':!0x0});if(_0x7b6e95['changes']){let _0x509cfa=0x1==_0x89ae47['length']?_0x2ae93a:_0x89ae47['slice'](0x0,_0x89ae47['length']-0x1);return _0x7b6e95['mapped']&&(_0x509cfa=_0x11365a(_0x509cfa,_0x7b6e95['mapped'])),_0x14c7b4['update']({'changes':_0x7b6e95['changes'],'selection':_0x7b6e95['startSelection'],'effects':_0x7b6e95['effects'],'annotations':_0x36e385['of']({'side':_0x50c6be,'rest':_0x509cfa,'selection':_0x31c557}),'filter':!0x1,'userEvent':0x0==_0x50c6be?'undo':'redo','scrollIntoView':!0x0});}return null;}}HistoryState['empty']=new HistoryState(_0x2ae93a,_0x2ae93a);const _0x5f578a=[{'key':'Mod-z','run':_0x1fa0dd,'preventDefault':!0x0},{'key':'Mod-y','mac':'Mod-Shift-z','run':tT,'preventDefault':!0x0},{'linux':'Ctrl-Shift-z','run':tT,'preventDefault':!0x0},{'key':'Mod-u','run':_0x3a63b8,'preventDefault':!0x0},{'key':'Alt-u','mac':'Mod-Shift-u','run':_0x2fadd5,'preventDefault':!0x0}];function _0x2d2c38(_0x3e0ca5,_0x32aada){return EditorSelection['create'](_0x3e0ca5['ranges']['map'](_0x32aada),_0x3e0ca5['mainIndex']);}function _0x31e580(_0x21e096,_0x34fd7a){return _0x21e096['update']({'selection':_0x34fd7a,'scrollIntoView':!0x0,'userEvent':'select'});}function _0x2b303c({state:_0x2ff46c,dispatch:_0x592b70},_0x1b4633){let _0x422172=_0x2d2c38(_0x2ff46c['selection'],_0x1b4633);return!_0x422172['eq'](_0x2ff46c['selection'],!0x0)&&(_0x592b70(_0x31e580(_0x2ff46c,_0x422172)),!0x0);}function _0x4aae32(_0x4b0114,_0x54f16f){return EditorSelection['cursor'](_0x54f16f?_0x4b0114['to']:_0x4b0114['from']);}function _0x50d622(_0x43a0f8,_0x49e8e9){return _0x2b303c(_0x43a0f8,_0x58124a=>_0x58124a['empty']?_0x43a0f8['moveByChar'](_0x58124a,_0x49e8e9):_0x4aae32(_0x58124a,_0x49e8e9));}function _0x44f74d(_0x104dc7){return _0x104dc7['textDirectionAt'](_0x104dc7['state']['selection']['main']['head'])==_0xdbef2e['LTR'];}const _0x340526=_0x41bb84=>_0x50d622(_0x41bb84,!_0x44f74d(_0x41bb84)),_0x48e40d=_0x4cf6a2=>_0x50d622(_0x4cf6a2,_0x44f74d(_0x4cf6a2));function _0x3521cf(_0x1c1cf2,_0x2582e1){return _0x2b303c(_0x1c1cf2,_0x392f31=>_0x392f31['empty']?_0x1c1cf2['moveByGroup'](_0x392f31,_0x2582e1):_0x4aae32(_0x392f31,_0x2582e1));}function _0x135502(_0x562f08,_0x50566f,_0x1be0bd){if(_0x50566f['type']['prop'](_0x1be0bd))return!0x0;let _0x47a84c=_0x50566f['to']-_0x50566f['from'];return _0x47a84c&&(_0x47a84c>0x2||/[^\s,.;:]/['test'](_0x562f08['sliceDoc'](_0x50566f['from'],_0x50566f['to'])))||_0x50566f['firstChild'];}function _0x45930d(_0x29a445,_0x3c1164,_0x236e7f){let _0x3495b1,_0x4e5f63,_0x3519ca=_0x46e40e(_0x29a445)['resolveInner'](_0x3c1164['head']),_0x51fd72=_0x236e7f?_0x17497f['closedBy']:_0x17497f['openedBy'];for(let _0x40de4f=_0x3c1164['head'];;){let _0x2e89a5=_0x236e7f?_0x3519ca['childAfter'](_0x40de4f):_0x3519ca['childBefore'](_0x40de4f);if(!_0x2e89a5)break;_0x135502(_0x29a445,_0x2e89a5,_0x51fd72)?_0x3519ca=_0x2e89a5:_0x40de4f=_0x236e7f?_0x2e89a5['to']:_0x2e89a5['from'];}return _0x4e5f63=_0x3519ca['type']['prop'](_0x51fd72)&&(_0x3495b1=_0x236e7f?_0x2008fd(_0x29a445,_0x3519ca['from'],0x1):_0x2008fd(_0x29a445,_0x3519ca['to'],-0x1))&&_0x3495b1['matched']?_0x236e7f?_0x3495b1['end']['to']:_0x3495b1['end']['from']:_0x236e7f?_0x3519ca['to']:_0x3519ca['from'],EditorSelection['cursor'](_0x4e5f63,_0x236e7f?-0x1:0x1);}function _0x3dba7a(_0x4cbb42,_0x1424c2){return _0x2b303c(_0x4cbb42,_0x3efd4b=>{if(!_0x3efd4b['empty'])return _0x4aae32(_0x3efd4b,_0x1424c2);let _0x2316c8=_0x4cbb42['moveVertically'](_0x3efd4b,_0x1424c2);return _0x2316c8['head']!=_0x3efd4b['head']?_0x2316c8:_0x4cbb42['moveToLineBoundary'](_0x3efd4b,_0x1424c2);});}const _0x5934d1=_0x3b3ae2=>_0x3dba7a(_0x3b3ae2,!0x1),_0x2b58cb=_0x21b1be=>_0x3dba7a(_0x21b1be,!0x0);function _0x5c8f86(_0x510c74){let _0xe08538,_0x5619ec=_0x510c74['scrollDOM']['clientHeight']<_0x510c74['scrollDOM']['scrollHeight']-0x2,_0x32ec2a=0x0,_0x42750f=0x0;if(_0x5619ec){for(let _0x17e13c of _0x510c74['state']['facet'](EditorView['scrollMargins'])){let _0x1cdc7e=_0x17e13c(_0x510c74);(null==_0x1cdc7e?void 0x0:_0x1cdc7e['top'])&&(_0x32ec2a=Math['max'](null==_0x1cdc7e?void 0x0:_0x1cdc7e['top'],_0x32ec2a)),(null==_0x1cdc7e?void 0x0:_0x1cdc7e['bottom'])&&(_0x42750f=Math['max'](null==_0x1cdc7e?void 0x0:_0x1cdc7e['bottom'],_0x42750f));}_0xe08538=_0x510c74['scrollDOM']['clientHeight']-_0x32ec2a-_0x42750f;}else _0xe08538=(_0x510c74['dom']['ownerDocument']['defaultView']||window)['innerHeight'];return{'marginTop':_0x32ec2a,'marginBottom':_0x42750f,'selfScroll':_0x5619ec,'height':Math['max'](_0x510c74['defaultLineHeight'],_0xe08538-0x5)};}function _0x6f15f4(_0x16f6ac,_0x3e55d6){let _0x3f0cd2,_0x65bf68=_0x5c8f86(_0x16f6ac),{state:_0x29d956}=_0x16f6ac,_0x3a1293=_0x2d2c38(_0x29d956['selection'],_0x1fb219=>_0x1fb219['empty']?_0x16f6ac['moveVertically'](_0x1fb219,_0x3e55d6,_0x65bf68['height']):_0x4aae32(_0x1fb219,_0x3e55d6));if(_0x3a1293['eq'](_0x29d956['selection']))return!0x1;if(_0x65bf68['selfScroll']){let _0x10be96=_0x16f6ac['coordsAtPos'](_0x29d956['selection']['main']['head']),_0x551c74=_0x16f6ac['scrollDOM']['getBoundingClientRect'](),_0x11e18b=_0x551c74['top']+_0x65bf68['marginTop'],_0x405122=_0x551c74['bottom']-_0x65bf68['marginBottom'];_0x10be96&&_0x10be96['top']>_0x11e18b&&_0x10be96['bottom']<_0x405122&&(_0x3f0cd2=EditorView['scrollIntoView'](_0x3a1293['main']['head'],{'y':'start','yMargin':_0x10be96['top']-_0x11e18b}));}return _0x16f6ac['dispatch'](_0x31e580(_0x29d956,_0x3a1293),{'effects':_0x3f0cd2}),!0x0;}const _0x2c36bd=_0x213f11=>_0x6f15f4(_0x213f11,!0x1),_0x400eee=_0x53f8b6=>_0x6f15f4(_0x53f8b6,!0x0);function _0x2e3def(_0x934bc0,_0x42a866,_0x4e058d){let _0x12a7a8=_0x934bc0['lineBlockAt'](_0x42a866['head']),_0x41e84f=_0x934bc0['moveToLineBoundary'](_0x42a866,_0x4e058d);if(_0x41e84f['head']==_0x42a866['head']&&_0x41e84f['head']!=(_0x4e058d?_0x12a7a8['to']:_0x12a7a8['from'])&&(_0x41e84f=_0x934bc0['moveToLineBoundary'](_0x42a866,_0x4e058d,!0x1)),!_0x4e058d&&_0x41e84f['head']==_0x12a7a8['from']&&_0x12a7a8['length']){let _0xac6a67=/^\s*/['exec'](_0x934bc0['state']['sliceDoc'](_0x12a7a8['from'],Math['min'](_0x12a7a8['from']+0x64,_0x12a7a8['to'])))[0x0]['length'];_0xac6a67&&_0x42a866['head']!=_0x12a7a8['from']+_0xac6a67&&(_0x41e84f=EditorSelection['cursor'](_0x12a7a8['from']+_0xac6a67));}return _0x41e84f;}function _0x58d8d5(_0x4b3285,_0x5a6c1a){let _0x4c03ca=_0x2d2c38(_0x4b3285['state']['selection'],_0x18663e=>{let _0x648a4d=_0x5a6c1a(_0x18663e);return EditorSelection['range'](_0x18663e['anchor'],_0x648a4d['head'],_0x648a4d['goalColumn'],_0x648a4d['bidiLevel']||void 0x0);});return!_0x4c03ca['eq'](_0x4b3285['state']['selection'])&&(_0x4b3285['dispatch'](_0x31e580(_0x4b3285['state'],_0x4c03ca)),!0x0);}function _0x5234b5(_0x1f2c5c,_0x4d9814){return _0x58d8d5(_0x1f2c5c,_0xe84bea=>_0x1f2c5c['moveByChar'](_0xe84bea,_0x4d9814));}const _0x1aae53=_0x1b4c38=>_0x5234b5(_0x1b4c38,!_0x44f74d(_0x1b4c38)),_0x1ef159=_0x29c072=>_0x5234b5(_0x29c072,_0x44f74d(_0x29c072));function _0x43f20e(_0x1f49bf,_0x37fa4f){return _0x58d8d5(_0x1f49bf,_0x311e5b=>_0x1f49bf['moveByGroup'](_0x311e5b,_0x37fa4f));}function _0x3f1cbf(_0x5c010d,_0x1346c3){return _0x58d8d5(_0x5c010d,_0x9144f9=>_0x5c010d['moveVertically'](_0x9144f9,_0x1346c3));}const _0x4c118d=_0x23ae03=>_0x3f1cbf(_0x23ae03,!0x1),_0x4762be=_0x949367=>_0x3f1cbf(_0x949367,!0x0);function _0x3cac87(_0x2c14ea,_0x17dc14){return _0x58d8d5(_0x2c14ea,_0x50275a=>_0x2c14ea['moveVertically'](_0x50275a,_0x17dc14,_0x5c8f86(_0x2c14ea)['height']));}const _0x3d5da0=_0x13de55=>_0x3cac87(_0x13de55,!0x1),_0x5832ad=_0x59c609=>_0x3cac87(_0x59c609,!0x0),_0x211ff2=({state:_0x18a64b,dispatch:_0x3ff7bb})=>(_0x3ff7bb(_0x31e580(_0x18a64b,{'anchor':0x0})),!0x0),_0x410847=({state:_0x280b3d,dispatch:_0x4f6cb8})=>(_0x4f6cb8(_0x31e580(_0x280b3d,{'anchor':_0x280b3d['doc']['length']})),!0x0),_0x12872c=({state:_0x3e7434,dispatch:_0x185a2b})=>(_0x185a2b(_0x31e580(_0x3e7434,{'anchor':_0x3e7434['selection']['main']['anchor'],'head':0x0})),!0x0),_0x54dedb=({state:_0x4f6fbd,dispatch:_0x4c28f5})=>(_0x4c28f5(_0x31e580(_0x4f6fbd,{'anchor':_0x4f6fbd['selection']['main']['anchor'],'head':_0x4f6fbd['doc']['length']})),!0x0);function _0x575141(_0x31edb3,_0x570e90){if(_0x31edb3['state']['readOnly'])return!0x1;let _0x31080f='delete.selection',{state:_0x8207c}=_0x31edb3,_0x9a56a=_0x8207c['changeByRange'](_0x848715=>{let {from:_0x17566b,to:_0x33af92}=_0x848715;if(_0x17566b==_0x33af92){let _0x21912c=_0x570e90(_0x848715);_0x21912c<_0x17566b?(_0x31080f='delete.backward',_0x21912c=_0x470133(_0x31edb3,_0x21912c,!0x1)):_0x21912c>_0x17566b&&(_0x31080f='delete.forward',_0x21912c=_0x470133(_0x31edb3,_0x21912c,!0x0)),_0x17566b=Math['min'](_0x17566b,_0x21912c),_0x33af92=Math['max'](_0x33af92,_0x21912c);}else _0x17566b=_0x470133(_0x31edb3,_0x17566b,!0x1),_0x33af92=_0x470133(_0x31edb3,_0x33af92,!0x0);return _0x17566b==_0x33af92?{'range':_0x848715}:{'changes':{'from':_0x17566b,'to':_0x33af92},'range':EditorSelection['cursor'](_0x17566b,_0x17566b<_0x848715['head']?-0x1:0x1)};});return!_0x9a56a['changes']['empty']&&(_0x31edb3['dispatch'](_0x8207c['update'](_0x9a56a,{'scrollIntoView':!0x0,'userEvent':_0x31080f,'effects':'delete.selection'==_0x31080f?EditorView['announce']['of'](_0x8207c['phrase']('Selection\x20deleted')):void 0x0})),!0x0);}function _0x470133(_0x2adb40,_0x144381,_0x1e611f){if(_0x2adb40 instanceof EditorView){for(let _0x182fbf of _0x2adb40['state']['facet'](EditorView['atomicRanges'])['map'](_0x255f13=>_0x255f13(_0x2adb40)))_0x182fbf['between'](_0x144381,_0x144381,(_0x2d70fe,_0x1f6f19)=>{_0x2d70fe<_0x144381&&_0x1f6f19>_0x144381&&(_0x144381=_0x1e611f?_0x1f6f19:_0x2d70fe);});}return _0x144381;}const _0x1ce555=(_0x212d93,_0x1da088,_0x1d3733)=>_0x575141(_0x212d93,_0x16cba0=>{let _0x4ffd06,_0x4d7a24,_0x4c3285=_0x16cba0['from'],{state:_0x367f9f}=_0x212d93,_0x213ec1=_0x367f9f['doc']['lineAt'](_0x4c3285);if(_0x1d3733&&!_0x1da088&&_0x4c3285>_0x213ec1['from']&&_0x4c3285<_0x213ec1['from']+0xc8&&!/[^ \t]/['test'](_0x4ffd06=_0x213ec1['text']['slice'](0x0,_0x4c3285-_0x213ec1['from']))){if('\x09'==_0x4ffd06[_0x4ffd06['length']-0x1])return _0x4c3285-0x1;let _0x195938=_0x43a9eb(_0x4ffd06,_0x367f9f['tabSize'])%_0xc3ccf9(_0x367f9f)||_0xc3ccf9(_0x367f9f);for(let _0x2ea505=0x0;_0x2ea505<_0x195938&&'\x20'==_0x4ffd06[_0x4ffd06['length']-0x1-_0x2ea505];_0x2ea505++)_0x4c3285--;_0x4d7a24=_0x4c3285;}else _0x4d7a24=_0x1570cc(_0x213ec1['text'],_0x4c3285-_0x213ec1['from'],_0x1da088,_0x1da088)+_0x213ec1['from'],_0x4d7a24==_0x4c3285&&_0x213ec1['number']!=(_0x1da088?_0x367f9f['doc']['lines']:0x1)?_0x4d7a24+=_0x1da088?0x1:-0x1:!_0x1da088&&/[\ufe00-\ufe0f]/['test'](_0x213ec1['text']['slice'](_0x4d7a24-_0x213ec1['from'],_0x4c3285-_0x213ec1['from']))&&(_0x4d7a24=_0x1570cc(_0x213ec1['text'],_0x4d7a24-_0x213ec1['from'],!0x1,!0x1)+_0x213ec1['from']);return _0x4d7a24;}),_0x195bf1=_0x30aedd=>_0x1ce555(_0x30aedd,!0x1,!0x0),_0x29d2f7=_0x112623=>_0x1ce555(_0x112623,!0x0,!0x1),_0x58d070=(_0x2816d8,_0x2e72da)=>_0x575141(_0x2816d8,_0xe28cc6=>{let _0x34b75f=_0xe28cc6['head'],{state:_0x5039a1}=_0x2816d8,_0x47d169=_0x5039a1['doc']['lineAt'](_0x34b75f),_0x4e9d40=_0x5039a1['charCategorizer'](_0x34b75f);for(let _0x205474=null;;){if(_0x34b75f==(_0x2e72da?_0x47d169['to']:_0x47d169['from'])){_0x34b75f==_0xe28cc6['head']&&_0x47d169['number']!=(_0x2e72da?_0x5039a1['doc']['lines']:0x1)&&(_0x34b75f+=_0x2e72da?0x1:-0x1);break;}let _0x15b541=_0x1570cc(_0x47d169['text'],_0x34b75f-_0x47d169['from'],_0x2e72da)+_0x47d169['from'],_0x1624f4=_0x47d169['text']['slice'](Math['min'](_0x34b75f,_0x15b541)-_0x47d169['from'],Math['max'](_0x34b75f,_0x15b541)-_0x47d169['from']),_0x5455ad=_0x4e9d40(_0x1624f4);if(null!=_0x205474&&_0x5455ad!=_0x205474)break;'\x20'==_0x1624f4&&_0x34b75f==_0xe28cc6['head']||(_0x205474=_0x5455ad),_0x34b75f=_0x15b541;}return _0x34b75f;}),tE=_0x3238b4=>_0x58d070(_0x3238b4,!0x1);function _0x212d02(_0x31fe92){let _0x5088e8=[],_0x57e26f=-0x1;for(let _0x5f5095 of _0x31fe92['selection']['ranges']){let _0x4d08e3=_0x31fe92['doc']['lineAt'](_0x5f5095['from']),_0x368f14=_0x31fe92['doc']['lineAt'](_0x5f5095['to']);if(_0x5f5095['empty']||_0x5f5095['to']!=_0x368f14['from']||(_0x368f14=_0x31fe92['doc']['lineAt'](_0x5f5095['to']-0x1)),_0x57e26f>=_0x4d08e3['number']){let _0x1ae9ee=_0x5088e8[_0x5088e8['length']-0x1];_0x1ae9ee['to']=_0x368f14['to'],_0x1ae9ee['ranges']['push'](_0x5f5095);}else _0x5088e8['push']({'from':_0x4d08e3['from'],'to':_0x368f14['to'],'ranges':[_0x5f5095]});_0x57e26f=_0x368f14['number']+0x1;}return _0x5088e8;}function _0x20b52d(_0x3da390,_0x361c41,_0x4a186b){if(_0x3da390['readOnly'])return!0x1;let _0x46a4ea=[],_0x316b39=[];for(let _0x59ae32 of _0x212d02(_0x3da390)){if(_0x4a186b?_0x59ae32['to']==_0x3da390['doc']['length']:0x0==_0x59ae32['from'])continue;let _0x1dcb05=_0x3da390['doc']['lineAt'](_0x4a186b?_0x59ae32['to']+0x1:_0x59ae32['from']-0x1),_0x4ca3fd=_0x1dcb05['length']+0x1;if(_0x4a186b){_0x46a4ea['push']({'from':_0x59ae32['to'],'to':_0x1dcb05['to']},{'from':_0x59ae32['from'],'insert':_0x1dcb05['text']+_0x3da390['lineBreak']});for(let _0x5a8c60 of _0x59ae32['ranges'])_0x316b39['push'](EditorSelection['range'](Math['min'](_0x3da390['doc']['length'],_0x5a8c60['anchor']+_0x4ca3fd),Math['min'](_0x3da390['doc']['length'],_0x5a8c60['head']+_0x4ca3fd)));}else{_0x46a4ea['push']({'from':_0x1dcb05['from'],'to':_0x59ae32['from']},{'from':_0x59ae32['to'],'insert':_0x3da390['lineBreak']+_0x1dcb05['text']});for(let _0x4f777f of _0x59ae32['ranges'])_0x316b39['push'](EditorSelection['range'](_0x4f777f['anchor']-_0x4ca3fd,_0x4f777f['head']-_0x4ca3fd));}}return!!_0x46a4ea['length']&&(_0x361c41(_0x3da390['update']({'changes':_0x46a4ea,'scrollIntoView':!0x0,'selection':EditorSelection['create'](_0x316b39,_0x3da390['selection']['mainIndex']),'userEvent':'move.line'})),!0x0);}function _0x4dfb4a(_0x3ddb2b,_0xb26b6,_0x153f2f){if(_0x3ddb2b['readOnly'])return!0x1;let _0x78dd23=[];for(let _0x368e53 of _0x212d02(_0x3ddb2b))_0x153f2f?_0x78dd23['push']({'from':_0x368e53['from'],'insert':_0x3ddb2b['doc']['slice'](_0x368e53['from'],_0x368e53['to'])+_0x3ddb2b['lineBreak']}):_0x78dd23['push']({'from':_0x368e53['to'],'insert':_0x3ddb2b['lineBreak']+_0x3ddb2b['doc']['slice'](_0x368e53['from'],_0x368e53['to'])});return _0xb26b6(_0x3ddb2b['update']({'changes':_0x78dd23,'scrollIntoView':!0x0,'userEvent':'input.copyline'})),!0x0;}const _0x3538ac=_0x1e0702(!0x1),_0x2164f7=_0x1e0702(!0x0);function _0x1e0702(_0x4659b8){return({state:_0x316281,dispatch:_0x1856d8})=>{if(_0x316281['readOnly'])return!0x1;let _0x43a27d=_0x316281['changeByRange'](_0x35607e=>{let {from:_0x4af4de,to:_0x1fd9cd}=_0x35607e,_0x521491=_0x316281['doc']['lineAt'](_0x4af4de),_0x329fbc=!_0x4659b8&&_0x4af4de==_0x1fd9cd&&function(_0x17607e,_0xd9aa64){if(/\(\)|\[\]|\{\}/['test'](_0x17607e['sliceDoc'](_0xd9aa64-0x1,_0xd9aa64+0x1)))return{'from':_0xd9aa64,'to':_0xd9aa64};let _0x2d052c,_0x8e3815=_0x46e40e(_0x17607e)['resolveInner'](_0xd9aa64),_0x126cb6=_0x8e3815['childBefore'](_0xd9aa64),_0x237bc7=_0x8e3815['childAfter'](_0xd9aa64);return _0x126cb6&&_0x237bc7&&_0x126cb6['to']<=_0xd9aa64&&_0x237bc7['from']>=_0xd9aa64&&(_0x2d052c=_0x126cb6['type']['prop'](_0x17497f['closedBy']))&&_0x2d052c['indexOf'](_0x237bc7['name'])>-0x1&&_0x17607e['doc']['lineAt'](_0x126cb6['to'])['from']==_0x17607e['doc']['lineAt'](_0x237bc7['from'])['from']&&!/\S/['test'](_0x17607e['sliceDoc'](_0x126cb6['to'],_0x237bc7['from']))?{'from':_0x126cb6['to'],'to':_0x237bc7['from']}:null;}(_0x316281,_0x4af4de);_0x4659b8&&(_0x4af4de=_0x1fd9cd=(_0x1fd9cd<=_0x521491['to']?_0x521491:_0x316281['doc']['lineAt'](_0x1fd9cd))['to']);let _0x346b48=new IndentContext(_0x316281,{'simulateBreak':_0x4af4de,'simulateDoubleBreak':!!_0x329fbc}),_0x5a3fbb=_0x1b9c51(_0x346b48,_0x4af4de);for(null==_0x5a3fbb&&(_0x5a3fbb=_0x43a9eb(/^\s*/['exec'](_0x316281['doc']['lineAt'](_0x4af4de)['text'])[0x0],_0x316281['tabSize']));_0x1fd9cd<_0x521491['to']&&/\s/['test'](_0x521491['text'][_0x1fd9cd-_0x521491['from']]);)_0x1fd9cd++;_0x329fbc?{from:_0x4af4de,to:_0x1fd9cd}=_0x329fbc:_0x4af4de>_0x521491['from']&&_0x4af4de<_0x521491['from']+0x64&&!/\S/['test'](_0x521491['text']['slice'](0x0,_0x4af4de))&&(_0x4af4de=_0x521491['from']);let _0x2cbe1f=['',_0x55a843(_0x316281,_0x5a3fbb)];return _0x329fbc&&_0x2cbe1f['push'](_0x55a843(_0x316281,_0x346b48['lineIndent'](_0x521491['from'],-0x1))),{'changes':{'from':_0x4af4de,'to':_0x1fd9cd,'insert':Text['of'](_0x2cbe1f)},'range':EditorSelection['cursor'](_0x4af4de+0x1+_0x2cbe1f[0x1]['length'])};});return _0x1856d8(_0x316281['update'](_0x43a27d,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;};}function _0x4cf336(_0xc9f8ff,_0x45a626){let _0x45d70d=-0x1;return _0xc9f8ff['changeByRange'](_0x51d84e=>{let _0xbcab11=[];for(let _0x5a7b7f=_0x51d84e['from'];_0x5a7b7f<=_0x51d84e['to'];){let _0x42ed84=_0xc9f8ff['doc']['lineAt'](_0x5a7b7f);_0x42ed84['number']>_0x45d70d&&(_0x51d84e['empty']||_0x51d84e['to']>_0x42ed84['from'])&&(_0x45a626(_0x42ed84,_0xbcab11,_0x51d84e),_0x45d70d=_0x42ed84['number']),_0x5a7b7f=_0x42ed84['to']+0x1;}let _0x410129=_0xc9f8ff['changes'](_0xbcab11);return{'changes':_0xbcab11,'range':EditorSelection['range'](_0x410129['mapPos'](_0x51d84e['anchor'],0x1),_0x410129['mapPos'](_0x51d84e['head'],0x1))};});}const _0x1863ad=({state:_0x3b0d67,dispatch:_0x1cd57c})=>!_0x3b0d67['readOnly']&&(_0x1cd57c(_0x3b0d67['update'](_0x4cf336(_0x3b0d67,(_0x14ed45,_0x2c9cf4)=>{_0x2c9cf4['push']({'from':_0x14ed45['from'],'insert':_0x3b0d67['facet'](_0x2d023c)});}),{'userEvent':'input.indent'})),!0x0),_0xbaf2f1=({state:_0x281b28,dispatch:_0x13b311})=>!_0x281b28['readOnly']&&(_0x13b311(_0x281b28['update'](_0x4cf336(_0x281b28,(_0x208cc0,_0x1f21e5)=>{let _0x705d23=/^\s*/['exec'](_0x208cc0['text'])[0x0];if(!_0x705d23)return;let _0x198b9a=_0x43a9eb(_0x705d23,_0x281b28['tabSize']),_0x2bea91=0x0,_0xde9932=_0x55a843(_0x281b28,Math['max'](0x0,_0x198b9a-_0xc3ccf9(_0x281b28)));for(;_0x2bea91<_0x705d23['length']&&_0x2bea91<_0xde9932['length']&&_0x705d23['charCodeAt'](_0x2bea91)==_0xde9932['charCodeAt'](_0x2bea91);)_0x2bea91++;_0x1f21e5['push']({'from':_0x208cc0['from']+_0x2bea91,'to':_0x208cc0['from']+_0x705d23['length'],'insert':_0xde9932['slice'](_0x2bea91)});}),{'userEvent':'delete.dedent'})),!0x0),_0x330ecb=_0x4a34a2=>(_0x4a34a2['setTabFocusMode'](),!0x0),_0xc41f6e=[{'key':'Ctrl-b','run':_0x340526,'shift':_0x1aae53,'preventDefault':!0x0},{'key':'Ctrl-f','run':_0x48e40d,'shift':_0x1ef159},{'key':'Ctrl-p','run':_0x5934d1,'shift':_0x4c118d},{'key':'Ctrl-n','run':_0x2b58cb,'shift':_0x4762be},{'key':'Ctrl-a','run':_0x4598a2=>_0x2b303c(_0x4598a2,_0x532457=>EditorSelection['cursor'](_0x4598a2['lineBlockAt'](_0x532457['head'])['from'],0x1)),'shift':_0x1f68cf=>_0x58d8d5(_0x1f68cf,_0x475704=>EditorSelection['cursor'](_0x1f68cf['lineBlockAt'](_0x475704['head'])['from']))},{'key':'Ctrl-e','run':_0x135c1f=>_0x2b303c(_0x135c1f,_0x5d178f=>EditorSelection['cursor'](_0x135c1f['lineBlockAt'](_0x5d178f['head'])['to'],-0x1)),'shift':_0x19a1a1=>_0x58d8d5(_0x19a1a1,_0x1e3202=>EditorSelection['cursor'](_0x19a1a1['lineBlockAt'](_0x1e3202['head'])['to']))},{'key':'Ctrl-d','run':_0x29d2f7},{'key':'Ctrl-h','run':_0x195bf1},{'key':'Ctrl-k','run':_0xc1c786=>_0x575141(_0xc1c786,_0x7cfef8=>{let _0xf18f32=_0xc1c786['lineBlockAt'](_0x7cfef8['head'])['to'];return _0x7cfef8['head']<_0xf18f32?_0xf18f32:Math['min'](_0xc1c786['state']['doc']['length'],_0x7cfef8['head']+0x1);})},{'key':'Ctrl-Alt-h','run':tE},{'key':'Ctrl-o','run':({state:_0x46dab7,dispatch:_0x137fed})=>{if(_0x46dab7['readOnly'])return!0x1;let _0x3a5f05=_0x46dab7['changeByRange'](_0x2b025d=>({'changes':{'from':_0x2b025d['from'],'to':_0x2b025d['to'],'insert':Text['of'](['',''])},'range':EditorSelection['cursor'](_0x2b025d['from'])}));return _0x137fed(_0x46dab7['update'](_0x3a5f05,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;}},{'key':'Ctrl-t','run':({state:_0x116fe8,dispatch:_0x1e9616})=>{if(_0x116fe8['readOnly'])return!0x1;let _0x5e2fde=_0x116fe8['changeByRange'](_0x193869=>{if(!_0x193869['empty']||0x0==_0x193869['from']||_0x193869['from']==_0x116fe8['doc']['length'])return{'range':_0x193869};let _0x3b2fe7=_0x193869['from'],_0x210667=_0x116fe8['doc']['lineAt'](_0x3b2fe7),_0x28bac0=_0x3b2fe7==_0x210667['from']?_0x3b2fe7-0x1:_0x1570cc(_0x210667['text'],_0x3b2fe7-_0x210667['from'],!0x1)+_0x210667['from'],_0x410aed=_0x3b2fe7==_0x210667['to']?_0x3b2fe7+0x1:_0x1570cc(_0x210667['text'],_0x3b2fe7-_0x210667['from'],!0x0)+_0x210667['from'];return{'changes':{'from':_0x28bac0,'to':_0x410aed,'insert':_0x116fe8['doc']['slice'](_0x3b2fe7,_0x410aed)['append'](_0x116fe8['doc']['slice'](_0x28bac0,_0x3b2fe7))},'range':EditorSelection['cursor'](_0x410aed)};});return!_0x5e2fde['changes']['empty']&&(_0x1e9616(_0x116fe8['update'](_0x5e2fde,{'scrollIntoView':!0x0,'userEvent':'move.character'})),!0x0);}},{'key':'Ctrl-v','run':_0x400eee}],_0x3afa16=[{'key':'ArrowLeft','run':_0x340526,'shift':_0x1aae53,'preventDefault':!0x0},{'key':'Mod-ArrowLeft','mac':'Alt-ArrowLeft','run':_0x44e1d9=>_0x3521cf(_0x44e1d9,!_0x44f74d(_0x44e1d9)),'shift':_0x132766=>_0x43f20e(_0x132766,!_0x44f74d(_0x132766)),'preventDefault':!0x0},{'mac':'Cmd-ArrowLeft','run':_0x10f8f4=>_0x2b303c(_0x10f8f4,_0x551453=>_0x2e3def(_0x10f8f4,_0x551453,!_0x44f74d(_0x10f8f4))),'shift':_0x3b6707=>_0x58d8d5(_0x3b6707,_0x2c6a38=>_0x2e3def(_0x3b6707,_0x2c6a38,!_0x44f74d(_0x3b6707))),'preventDefault':!0x0},{'key':'ArrowRight','run':_0x48e40d,'shift':_0x1ef159,'preventDefault':!0x0},{'key':'Mod-ArrowRight','mac':'Alt-ArrowRight','run':_0x255a56=>_0x3521cf(_0x255a56,_0x44f74d(_0x255a56)),'shift':_0x11c465=>_0x43f20e(_0x11c465,_0x44f74d(_0x11c465)),'preventDefault':!0x0},{'mac':'Cmd-ArrowRight','run':_0x30033a=>_0x2b303c(_0x30033a,_0x350a68=>_0x2e3def(_0x30033a,_0x350a68,_0x44f74d(_0x30033a))),'shift':_0x3fab8b=>_0x58d8d5(_0x3fab8b,_0x53fe8f=>_0x2e3def(_0x3fab8b,_0x53fe8f,_0x44f74d(_0x3fab8b))),'preventDefault':!0x0},{'key':'ArrowUp','run':_0x5934d1,'shift':_0x4c118d,'preventDefault':!0x0},{'mac':'Cmd-ArrowUp','run':_0x211ff2,'shift':_0x12872c},{'mac':'Ctrl-ArrowUp','run':_0x2c36bd,'shift':_0x3d5da0},{'key':'ArrowDown','run':_0x2b58cb,'shift':_0x4762be,'preventDefault':!0x0},{'mac':'Cmd-ArrowDown','run':_0x410847,'shift':_0x54dedb},{'mac':'Ctrl-ArrowDown','run':_0x400eee,'shift':_0x5832ad},{'key':'PageUp','run':_0x2c36bd,'shift':_0x3d5da0},{'key':'PageDown','run':_0x400eee,'shift':_0x5832ad},{'key':'Home','run':_0x215b66=>_0x2b303c(_0x215b66,_0x29d7d4=>_0x2e3def(_0x215b66,_0x29d7d4,!0x1)),'shift':_0x5bf1c5=>_0x58d8d5(_0x5bf1c5,_0x51164b=>_0x2e3def(_0x5bf1c5,_0x51164b,!0x1)),'preventDefault':!0x0},{'key':'Mod-Home','run':_0x211ff2,'shift':_0x12872c},{'key':'End','run':_0x204a6c=>_0x2b303c(_0x204a6c,_0xfd5b81=>_0x2e3def(_0x204a6c,_0xfd5b81,!0x0)),'shift':_0x18f844=>_0x58d8d5(_0x18f844,_0x341812=>_0x2e3def(_0x18f844,_0x341812,!0x0)),'preventDefault':!0x0},{'key':'Mod-End','run':_0x410847,'shift':_0x54dedb},{'key':'Enter','run':_0x3538ac,'shift':_0x3538ac},{'key':'Mod-a','run':({state:_0x359a99,dispatch:_0xc154e5})=>(_0xc154e5(_0x359a99['update']({'selection':{'anchor':0x0,'head':_0x359a99['doc']['length']},'userEvent':'select'})),!0x0)},{'key':'Backspace','run':_0x195bf1,'shift':_0x195bf1},{'key':'Delete','run':_0x29d2f7},{'key':'Mod-Backspace','mac':'Alt-Backspace','run':tE},{'key':'Mod-Delete','mac':'Alt-Delete','run':_0x49cc4e=>_0x58d070(_0x49cc4e,!0x0)},{'mac':'Mod-Backspace','run':_0x497c56=>_0x575141(_0x497c56,_0x341cd4=>{let _0x332efc=_0x497c56['moveToLineBoundary'](_0x341cd4,!0x1)['head'];return _0x341cd4['head']>_0x332efc?_0x332efc:Math['max'](0x0,_0x341cd4['head']-0x1);})},{'mac':'Mod-Delete','run':_0x5c1120=>_0x575141(_0x5c1120,_0x46a31d=>{let _0x4020ff=_0x5c1120['moveToLineBoundary'](_0x46a31d,!0x0)['head'];return _0x46a31d['head']<_0x4020ff?_0x4020ff:Math['min'](_0x5c1120['state']['doc']['length'],_0x46a31d['head']+0x1);})}]['concat'](_0xc41f6e['map'](_0x15e810=>({'mac':_0x15e810['key'],'run':_0x15e810['run'],'shift':_0x15e810['shift']}))),_0x4de7ec=[{'key':'Alt-ArrowLeft','mac':'Ctrl-ArrowLeft','run':_0x1f0260=>_0x2b303c(_0x1f0260,_0x24f10d=>_0x45930d(_0x1f0260['state'],_0x24f10d,!_0x44f74d(_0x1f0260))),'shift':_0x427f6e=>_0x58d8d5(_0x427f6e,_0x51d595=>_0x45930d(_0x427f6e['state'],_0x51d595,!_0x44f74d(_0x427f6e)))},{'key':'Alt-ArrowRight','mac':'Ctrl-ArrowRight','run':_0x3e7ccb=>_0x2b303c(_0x3e7ccb,_0x52573c=>_0x45930d(_0x3e7ccb['state'],_0x52573c,_0x44f74d(_0x3e7ccb))),'shift':_0x47e1ed=>_0x58d8d5(_0x47e1ed,_0x33d24a=>_0x45930d(_0x47e1ed['state'],_0x33d24a,_0x44f74d(_0x47e1ed)))},{'key':'Alt-ArrowUp','run':({state:_0x4958a0,dispatch:_0x253619})=>_0x20b52d(_0x4958a0,_0x253619,!0x1)},{'key':'Shift-Alt-ArrowUp','run':({state:_0x474c3c,dispatch:_0x3e51a4})=>_0x4dfb4a(_0x474c3c,_0x3e51a4,!0x1)},{'key':'Alt-ArrowDown','run':({state:_0x5cdba7,dispatch:_0x2fba6f})=>_0x20b52d(_0x5cdba7,_0x2fba6f,!0x0)},{'key':'Shift-Alt-ArrowDown','run':({state:_0x50ecdf,dispatch:_0x56ca32})=>_0x4dfb4a(_0x50ecdf,_0x56ca32,!0x0)},{'key':'Escape','run':({state:_0x2e5ecf,dispatch:_0xf52621})=>{let _0x215f09=_0x2e5ecf['selection'],_0x1c3b7c=null;return _0x215f09['ranges']['length']>0x1?_0x1c3b7c=EditorSelection['create']([_0x215f09['main']]):_0x215f09['main']['empty']||(_0x1c3b7c=EditorSelection['create']([EditorSelection['cursor'](_0x215f09['main']['head'])])),!!_0x1c3b7c&&(_0xf52621(_0x31e580(_0x2e5ecf,_0x1c3b7c)),!0x0);}},{'key':'Mod-Enter','run':_0x2164f7},{'key':'Alt-l','mac':'Ctrl-l','run':({state:_0x1bb685,dispatch:_0x586a6e})=>{let _0x578b8d=_0x212d02(_0x1bb685)['map'](({from:_0x10ec77,to:_0x33ac22})=>EditorSelection['range'](_0x10ec77,Math['min'](_0x33ac22+0x1,_0x1bb685['doc']['length'])));return _0x586a6e(_0x1bb685['update']({'selection':EditorSelection['create'](_0x578b8d),'userEvent':'select'})),!0x0;}},{'key':'Mod-i','run':({state:_0x3e8293,dispatch:_0x43fa1d})=>{let _0x5ac93f=_0x2d2c38(_0x3e8293['selection'],_0x1a683e=>{let _0x405d11=_0x46e40e(_0x3e8293),_0x594ab9=_0x405d11['resolveStack'](_0x1a683e['from'],0x1);if(_0x1a683e['empty']){let _0x16f2be=_0x405d11['resolveStack'](_0x1a683e['from'],-0x1);_0x16f2be['node']['from']>=_0x594ab9['node']['from']&&_0x16f2be['node']['to']<=_0x594ab9['node']['to']&&(_0x594ab9=_0x16f2be);}for(let _0x18d0b6=_0x594ab9;_0x18d0b6;_0x18d0b6=_0x18d0b6['next']){let {node:_0x2e504c}=_0x18d0b6;if((_0x2e504c['from']<_0x1a683e['from']&&_0x2e504c['to']>=_0x1a683e['to']||_0x2e504c['to']>_0x1a683e['to']&&_0x2e504c['from']<=_0x1a683e['from'])&&_0x18d0b6['next'])return EditorSelection['range'](_0x2e504c['to'],_0x2e504c['from']);}return _0x1a683e;});return!_0x5ac93f['eq'](_0x3e8293['selection'])&&(_0x43fa1d(_0x31e580(_0x3e8293,_0x5ac93f)),!0x0);},'preventDefault':!0x0},{'key':'Mod-[','run':_0xbaf2f1},{'key':'Mod-]','run':_0x1863ad},{'key':'Mod-Alt-\x5c','run':({state:_0x2a66a1,dispatch:_0x43620e})=>{if(_0x2a66a1['readOnly'])return!0x1;let _0x3f7a9f=Object['create'](null),_0x2b6498=new IndentContext(_0x2a66a1,{'overrideIndentation':_0x1c1ebe=>{let _0x12d7bb=_0x3f7a9f[_0x1c1ebe];return null==_0x12d7bb?-0x1:_0x12d7bb;}}),_0x51f03f=_0x4cf336(_0x2a66a1,(_0x18b520,_0x1820e0,_0x459edc)=>{let _0x178176=_0x1b9c51(_0x2b6498,_0x18b520['from']);if(null==_0x178176)return;/\S/['test'](_0x18b520['text'])||(_0x178176=0x0);let _0x347596=/^\s*/['exec'](_0x18b520['text'])[0x0],_0xd8f2af=_0x55a843(_0x2a66a1,_0x178176);(_0x347596!=_0xd8f2af||_0x459edc['from']<_0x18b520['from']+_0x347596['length'])&&(_0x3f7a9f[_0x18b520['from']]=_0x178176,_0x1820e0['push']({'from':_0x18b520['from'],'to':_0x18b520['from']+_0x347596['length'],'insert':_0xd8f2af}));});return _0x51f03f['changes']['empty']||_0x43620e(_0x2a66a1['update'](_0x51f03f,{'userEvent':'indent'})),!0x0;}},{'key':'Shift-Mod-k','run':_0x1042e8=>{if(_0x1042e8['state']['readOnly'])return!0x1;let {state:_0x3639f0}=_0x1042e8,_0x1e2424=_0x3639f0['changes'](_0x212d02(_0x3639f0)['map'](({from:_0x25783b,to:_0x2a3933})=>(_0x25783b>0x0?_0x25783b--:_0x2a3933<_0x3639f0['doc']['length']&&_0x2a3933++,{'from':_0x25783b,'to':_0x2a3933}))),_0x234c1c=_0x2d2c38(_0x3639f0['selection'],_0x544af7=>{let _0x446b1f;if(_0x1042e8['lineWrapping']){let _0x43f8d1=_0x1042e8['lineBlockAt'](_0x544af7['head']),_0x36a3ae=_0x1042e8['coordsAtPos'](_0x544af7['head'],_0x544af7['assoc']||0x1);_0x36a3ae&&(_0x446b1f=_0x43f8d1['bottom']+_0x1042e8['documentTop']-_0x36a3ae['bottom']+_0x1042e8['defaultLineHeight']/0x2);}return _0x1042e8['moveVertically'](_0x544af7,!0x0,_0x446b1f);})['map'](_0x1e2424);return _0x1042e8['dispatch']({'changes':_0x1e2424,'selection':_0x234c1c,'scrollIntoView':!0x0,'userEvent':'delete.line'}),!0x0;}},{'key':'Shift-Mod-\x5c','run':({state:_0x1ecf30,dispatch:_0x1b21ea})=>function(_0x11efb8,_0x4ab518){let _0x34a18e=!0x1,_0x5cbce8=_0x2d2c38(_0x11efb8['selection'],_0x568764=>{let _0x43dbef=_0x2008fd(_0x11efb8,_0x568764['head'],-0x1)||_0x2008fd(_0x11efb8,_0x568764['head'],0x1)||_0x568764['head']>0x0&&_0x2008fd(_0x11efb8,_0x568764['head']-0x1,0x1)||_0x568764['head']<_0x11efb8['doc']['length']&&_0x2008fd(_0x11efb8,_0x568764['head']+0x1,-0x1);if(!_0x43dbef||!_0x43dbef['end'])return _0x568764;_0x34a18e=!0x0;let _0x1ccaa7=_0x43dbef['start']['from']==_0x568764['head']?_0x43dbef['end']['to']:_0x43dbef['end']['from'];return EditorSelection['cursor'](_0x1ccaa7);});return!!_0x34a18e&&(_0x4ab518(_0x31e580(_0x11efb8,_0x5cbce8)),!0x0);}(_0x1ecf30,_0x1b21ea)},{'key':'Mod-/','run':_0x558756=>{let {state:_0x53b9ec}=_0x558756,_0x179a03=_0x53b9ec['doc']['lineAt'](_0x53b9ec['selection']['main']['from']),_0x126b2f=_0x1fb591(_0x558756['state'],_0x179a03['from']);return _0x126b2f['line']?_0x50ebb4(_0x558756):!!_0x126b2f['block']&&_0x1dd104(_0x558756);}},{'key':'Alt-A','run':_0x3bdde5},{'key':'Ctrl-m','mac':'Shift-Alt-m','run':_0x330ecb}]['concat'](_0x3afa16);class CompletionContext{constructor(_0x321048,_0x37f75a,_0x1f6ae7,_0x35ec36){this['state']=_0x321048,this['pos']=_0x37f75a,this['explicit']=_0x1f6ae7,this['view']=_0x35ec36,this['abortListeners']=[],this['abortOnDocChange']=!0x1;}['tokenBefore'](_0x237783){let _0x17f966=_0x46e40e(this['state'])['resolveInner'](this['pos'],-0x1);for(;_0x17f966&&_0x237783['indexOf'](_0x17f966['name'])<0x0;)_0x17f966=_0x17f966['parent'];return _0x17f966?{'from':_0x17f966['from'],'to':this['pos'],'text':this['state']['sliceDoc'](_0x17f966['from'],this['pos']),'type':_0x17f966['type']}:null;}['matchBefore'](_0x3a592d){let _0x2327ac=this['state']['doc']['lineAt'](this['pos']),_0x113b59=Math['max'](_0x2327ac['from'],this['pos']-0xfa),_0x5e1ccc=_0x2327ac['text']['slice'](_0x113b59-_0x2327ac['from'],this['pos']-_0x2327ac['from']),_0x1df04e=_0x5e1ccc['search'](_0x396143(_0x3a592d,!0x1));return _0x1df04e<0x0?null:{'from':_0x113b59+_0x1df04e,'to':this['pos'],'text':_0x5e1ccc['slice'](_0x1df04e)};}get['aborted'](){return null==this['abortListeners'];}['addEventListener'](_0x231196,_0x3303e9,_0x8a63d7){'abort'==_0x231196&&this['abortListeners']&&(this['abortListeners']['push'](_0x3303e9),_0x8a63d7&&_0x8a63d7['onDocChange']&&(this['abortOnDocChange']=!0x0));}}function _0x1b5dd5(_0x2e92a3){let _0x16cd8c=Object['keys'](_0x2e92a3)['join'](''),_0x388e9d=/\w/['test'](_0x16cd8c);return _0x388e9d&&(_0x16cd8c=_0x16cd8c['replace'](/\w/g,'')),'['+(_0x388e9d?'\x5cw':'')+_0x16cd8c['replace'](/[^\w\s]/g,'\x5c$&')+']';}function _0x3cc968(_0xb66a65){let _0x21f244=_0xb66a65['map'](_0x47f9b1=>'string'==typeof _0x47f9b1?{'label':_0x47f9b1}:_0x47f9b1),[_0x592f12,_0x329f59]=_0x21f244['every'](_0x20da26=>/^\w+$/['test'](_0x20da26['label']))?[/\w*$/,/\w+$/]:function(_0x3a7a6a){let _0x14da69=Object['create'](null),_0x53af6a=Object['create'](null);for(let {label:_0x2ce5b8}of _0x3a7a6a){_0x14da69[_0x2ce5b8[0x0]]=!0x0;for(let _0x348431=0x1;_0x348431<_0x2ce5b8['length'];_0x348431++)_0x53af6a[_0x2ce5b8[_0x348431]]=!0x0;}let _0x436188=_0x1b5dd5(_0x14da69)+_0x1b5dd5(_0x53af6a)+'*$';return[new RegExp('^'+_0x436188),new RegExp(_0x436188)];}(_0x21f244);return _0x2926c1=>{let _0x12ed9e=_0x2926c1['matchBefore'](_0x329f59);return _0x12ed9e||_0x2926c1['explicit']?{'from':_0x12ed9e?_0x12ed9e['from']:_0x2926c1['pos'],'options':_0x21f244,'validFor':_0x592f12}:null;};}class Option{constructor(_0x593ebc,_0x309e84,_0x42c4ba,_0x244a3f){this['completion']=_0x593ebc,this['source']=_0x309e84,this['match']=_0x42c4ba,this['score']=_0x244a3f;}}function _0x5d3009(_0x425391){return _0x425391['selection']['main']['from'];}function _0x396143(_0x511af2,_0x511959){var _0x19c6c6;let {source:_0x3231c5}=_0x511af2,_0x2a97dd=_0x511959&&'^'!=_0x3231c5[0x0],_0x2b6cae='$'!=_0x3231c5[_0x3231c5['length']-0x1];return _0x2a97dd||_0x2b6cae?new RegExp((_0x2a97dd?'^':'')+'(?:'+_0x3231c5+')'+(_0x2b6cae?'$':''),null!==(_0x19c6c6=_0x511af2['flags'])&&void 0x0!==_0x19c6c6?_0x19c6c6:_0x511af2['ignoreCase']?'i':''):_0x511af2;}const _0x5e2ab1=Annotation['define']();function _0x50902b(_0x4a612d,_0x47c671,_0x2f3ec7,_0x26edd){let {main:_0x410608}=_0x4a612d['selection'],_0x5b863a=_0x2f3ec7-_0x410608['from'],_0x2b2d35=_0x26edd-_0x410608['from'];return{..._0x4a612d['changeByRange'](_0x1c9aae=>{if(_0x1c9aae!=_0x410608&&_0x2f3ec7!=_0x26edd&&_0x4a612d['sliceDoc'](_0x1c9aae['from']+_0x5b863a,_0x1c9aae['from']+_0x2b2d35)!=_0x4a612d['sliceDoc'](_0x2f3ec7,_0x26edd))return{'range':_0x1c9aae};let _0x2ec88f=_0x4a612d['toText'](_0x47c671);return{'changes':{'from':_0x1c9aae['from']+_0x5b863a,'to':_0x26edd==_0x410608['from']?_0x1c9aae['to']:_0x1c9aae['from']+_0x2b2d35,'insert':_0x2ec88f},'range':EditorSelection['cursor'](_0x1c9aae['from']+_0x5b863a+_0x2ec88f['length'])};}),'scrollIntoView':!0x0,'userEvent':'input.complete'};}const _0x548751=new WeakMap();function _0x5b70d5(_0x55ef32){if(!Array['isArray'](_0x55ef32))return _0x55ef32;let _0x568abc=_0x548751['get'](_0x55ef32);return _0x568abc||_0x548751['set'](_0x55ef32,_0x568abc=_0x3cc968(_0x55ef32)),_0x568abc;}const _0x3d1367=StateEffect['define'](),_0x2c7d45=StateEffect['define']();class FuzzyMatcher{constructor(_0x37e552){this['pattern']=_0x37e552,this['chars']=[],this['folded']=[],this['any']=[],this['precise']=[],this['byWord']=[],this['score']=0x0,this['matched']=[];for(let _0x4934a8=0x0;_0x4934a8<_0x37e552['length'];){let _0x3a86ee=_0x511d55(_0x37e552,_0x4934a8),_0x3dae8f=_0x555919(_0x3a86ee);this['chars']['push'](_0x3a86ee);let _0x31f47d=_0x37e552['slice'](_0x4934a8,_0x4934a8+_0x3dae8f),_0x1198c9=_0x31f47d['toUpperCase']();this['folded']['push'](_0x511d55(_0x1198c9==_0x31f47d?_0x31f47d['toLowerCase']():_0x1198c9,0x0)),_0x4934a8+=_0x3dae8f;}this['astral']=_0x37e552['length']!=this['chars']['length'];}['ret'](_0xef25f0,_0x1654fc){return this['score']=_0xef25f0,this['matched']=_0x1654fc,this;}['match'](_0x2c89f1){if(0x0==this['pattern']['length'])return this['ret'](-0x64,[]);if(_0x2c89f1['length']<this['pattern']['length'])return null;let {chars:_0x1e2fbb,folded:_0x216536,any:_0x5432f0,precise:_0x54ef87,byWord:_0x5ec7a4}=this;if(0x1==_0x1e2fbb['length']){let _0xaf742e=_0x511d55(_0x2c89f1,0x0),_0xcc86f3=_0x555919(_0xaf742e),_0x3bef66=_0xcc86f3==_0x2c89f1['length']?0x0:-0x64;if(_0xaf742e==_0x1e2fbb[0x0]);else{if(_0xaf742e!=_0x216536[0x0])return null;_0x3bef66+=-0xc8;}return this['ret'](_0x3bef66,[0x0,_0xcc86f3]);}let _0x42ef25=_0x2c89f1['indexOf'](this['pattern']);if(0x0==_0x42ef25)return this['ret'](_0x2c89f1['length']==this['pattern']['length']?0x0:-0x64,[0x0,this['pattern']['length']]);let _0x2b61d5=_0x1e2fbb['length'],_0xf23f6d=0x0;if(_0x42ef25<0x0){for(let _0x20c044=0x0,_0x515be8=Math['min'](_0x2c89f1['length'],0xc8);_0x20c044<_0x515be8&&_0xf23f6d<_0x2b61d5;){let _0x111f04=_0x511d55(_0x2c89f1,_0x20c044);_0x111f04!=_0x1e2fbb[_0xf23f6d]&&_0x111f04!=_0x216536[_0xf23f6d]||(_0x5432f0[_0xf23f6d++]=_0x20c044),_0x20c044+=_0x555919(_0x111f04);}if(_0xf23f6d<_0x2b61d5)return null;}let _0x4dad2f=0x0,_0x2eb016=0x0,_0x58909c=!0x1,_0x3a6be5=0x0,_0x338c4f=-0x1,_0x1a026e=-0x1,_0x4bad2a=/[a-z]/['test'](_0x2c89f1),_0x13cadd=!0x0;for(let _0xbc35e9=0x0,_0x3a841d=Math['min'](_0x2c89f1['length'],0xc8),_0x12bafb=0x0;_0xbc35e9<_0x3a841d&&_0x2eb016<_0x2b61d5;){let _0x4a9022=_0x511d55(_0x2c89f1,_0xbc35e9);_0x42ef25<0x0&&(_0x4dad2f<_0x2b61d5&&_0x4a9022==_0x1e2fbb[_0x4dad2f]&&(_0x54ef87[_0x4dad2f++]=_0xbc35e9),_0x3a6be5<_0x2b61d5&&(_0x4a9022==_0x1e2fbb[_0x3a6be5]||_0x4a9022==_0x216536[_0x3a6be5]?(0x0==_0x3a6be5&&(_0x338c4f=_0xbc35e9),_0x1a026e=_0xbc35e9+0x1,_0x3a6be5++):_0x3a6be5=0x0));let _0x27a2dc,_0x1243c0=_0x4a9022<0xff?_0x4a9022>=0x30&&_0x4a9022<=0x39||_0x4a9022>=0x61&&_0x4a9022<=0x7a?0x2:_0x4a9022>=0x41&&_0x4a9022<=0x5a?0x1:0x0:(_0x27a2dc=_0x4a4bdc(_0x4a9022))!=_0x27a2dc['toLowerCase']()?0x1:_0x27a2dc!=_0x27a2dc['toUpperCase']()?0x2:0x0;(!_0xbc35e9||0x1==_0x1243c0&&_0x4bad2a||0x0==_0x12bafb&&0x0!=_0x1243c0)&&(_0x1e2fbb[_0x2eb016]==_0x4a9022||_0x216536[_0x2eb016]==_0x4a9022&&(_0x58909c=!0x0)?_0x5ec7a4[_0x2eb016++]=_0xbc35e9:_0x5ec7a4['length']&&(_0x13cadd=!0x1)),_0x12bafb=_0x1243c0,_0xbc35e9+=_0x555919(_0x4a9022);}return _0x2eb016==_0x2b61d5&&0x0==_0x5ec7a4[0x0]&&_0x13cadd?this['result']((_0x58909c?-0xc8:0x0)-0x64,_0x5ec7a4,_0x2c89f1):_0x3a6be5==_0x2b61d5&&0x0==_0x338c4f?this['ret'](-0xc8-_0x2c89f1['length']+(_0x1a026e==_0x2c89f1['length']?0x0:-0x64),[0x0,_0x1a026e]):_0x42ef25>-0x1?this['ret'](-0x2bc-_0x2c89f1['length'],[_0x42ef25,_0x42ef25+this['pattern']['length']]):_0x3a6be5==_0x2b61d5?this['ret'](-0x384-_0x2c89f1['length'],[_0x338c4f,_0x1a026e]):_0x2eb016==_0x2b61d5?this['result']((_0x58909c?-0xc8:0x0)-0x64-0x2bc+(_0x13cadd?0x0:-0x44c),_0x5ec7a4,_0x2c89f1):0x2==_0x1e2fbb['length']?null:this['result']((_0x5432f0[0x0]?-0x2bc:0x0)-0xc8-0x44c,_0x5432f0,_0x2c89f1);}['result'](_0xc33289,_0xb42f2f,_0x4afab5){let _0x51981e=[],_0x20cba8=0x0;for(let _0x47bba9 of _0xb42f2f){let _0x21b7fe=_0x47bba9+(this['astral']?_0x555919(_0x511d55(_0x4afab5,_0x47bba9)):0x1);_0x20cba8&&_0x51981e[_0x20cba8-0x1]==_0x47bba9?_0x51981e[_0x20cba8-0x1]=_0x21b7fe:(_0x51981e[_0x20cba8++]=_0x47bba9,_0x51981e[_0x20cba8++]=_0x21b7fe);}return this['ret'](_0xc33289-_0x4afab5['length'],_0x51981e);}}class StrictMatcher{constructor(_0x5e888f){this['pattern']=_0x5e888f,this['matched']=[],this['score']=0x0,this['folded']=_0x5e888f['toLowerCase']();}['match'](_0x4a815d){if(_0x4a815d['length']<this['pattern']['length'])return null;let _0x35556f=_0x4a815d['slice'](0x0,this['pattern']['length']),_0x1a72c1=_0x35556f==this['pattern']?0x0:_0x35556f['toLowerCase']()==this['folded']?-0xc8:null;return null==_0x1a72c1?null:(this['matched']=[0x0,_0x35556f['length']],this['score']=_0x1a72c1+(_0x4a815d['length']==this['pattern']['length']?0x0:-0x64),this);}}const _0x3ef286=Facet['define']({'combine':_0x32d7d5=>_0x20b1bc(_0x32d7d5,{'activateOnTyping':!0x0,'activateOnCompletion':()=>!0x1,'activateOnTypingDelay':0x64,'selectOnOpen':!0x0,'override':null,'closeOnBlur':!0x0,'maxRenderedOptions':0x64,'defaultKeymap':!0x0,'tooltipClass':()=>'','optionClass':()=>'','aboveCursor':!0x1,'icons':!0x0,'addToOptions':[],'positionInfo':_0x346418,'filterStrict':!0x1,'compareCompletions':(_0x19ac18,_0xdfeb98)=>_0x19ac18['label']['localeCompare'](_0xdfeb98['label']),'interactionDelay':0x4b,'updateSyncTime':0x64},{'defaultKeymap':(_0x28bc68,_0x13aeed)=>_0x28bc68&&_0x13aeed,'closeOnBlur':(_0x5c7542,_0x18ec47)=>_0x5c7542&&_0x18ec47,'icons':(_0x12f64b,_0xb11025)=>_0x12f64b&&_0xb11025,'tooltipClass':(_0x5b97e1,_0x468fff)=>_0x2640d8=>_0x26c708(_0x5b97e1(_0x2640d8),_0x468fff(_0x2640d8)),'optionClass':(_0x113637,_0x551ab8)=>_0x470957=>_0x26c708(_0x113637(_0x470957),_0x551ab8(_0x470957)),'addToOptions':(_0x557d23,_0x5e6436)=>_0x557d23['concat'](_0x5e6436),'filterStrict':(_0x7b2b7d,_0x2cb992)=>_0x7b2b7d||_0x2cb992})});function _0x26c708(_0x5ed73e,_0x404d2a){return _0x5ed73e?_0x404d2a?_0x5ed73e+'\x20'+_0x404d2a:_0x5ed73e:_0x404d2a;}function _0x346418(_0x23f717,_0x504321,_0x1f02b3,_0x277e75,_0x4b031e,_0x1805c7){let _0x1a961f,_0x476406,_0x4675e7=_0x23f717['textDirection']==_0xdbef2e['RTL'],_0x70f6ef=_0x4675e7,_0x31ca30=!0x1,_0x712a1c='top',_0xc09d52=_0x504321['left']-_0x4b031e['left'],_0x436399=_0x4b031e['right']-_0x504321['right'],_0x3491af=_0x277e75['right']-_0x277e75['left'],_0x3fb287=_0x277e75['bottom']-_0x277e75['top'];if(_0x70f6ef&&_0xc09d52<Math['min'](_0x3491af,_0x436399)?_0x70f6ef=!0x1:!_0x70f6ef&&_0x436399<Math['min'](_0x3491af,_0xc09d52)&&(_0x70f6ef=!0x0),_0x3491af<=(_0x70f6ef?_0xc09d52:_0x436399))_0x1a961f=Math['max'](_0x4b031e['top'],Math['min'](_0x1f02b3['top'],_0x4b031e['bottom']-_0x3fb287))-_0x504321['top'],_0x476406=Math['min'](0x190,_0x70f6ef?_0xc09d52:_0x436399);else{_0x31ca30=!0x0,_0x476406=Math['min'](0x190,(_0x4675e7?_0x504321['right']:_0x4b031e['right']-_0x504321['left'])-0x1e);let _0x17a40b=_0x4b031e['bottom']-_0x504321['bottom'];_0x17a40b>=_0x3fb287||_0x17a40b>_0x504321['top']?_0x1a961f=_0x1f02b3['bottom']-_0x504321['top']:(_0x712a1c='bottom',_0x1a961f=_0x504321['bottom']-_0x1f02b3['top']);}return{'style':_0x712a1c+':\x20'+_0x1a961f/((_0x504321['bottom']-_0x504321['top'])/_0x1805c7['offsetHeight'])+'px;\x20max-width:\x20'+_0x476406/((_0x504321['right']-_0x504321['left'])/_0x1805c7['offsetWidth'])+'px','class':'cm-completionInfo-'+(_0x31ca30?_0x4675e7?'left-narrow':'right-narrow':_0x70f6ef?'left':'right')};}function _0x3fad65(_0x11735a,_0x4997a3,_0x234960){if(_0x11735a<=_0x234960)return{'from':0x0,'to':_0x11735a};if(_0x4997a3<0x0&&(_0x4997a3=0x0),_0x4997a3<=_0x11735a>>0x1){let _0x592d52=Math['floor'](_0x4997a3/_0x234960);return{'from':_0x592d52*_0x234960,'to':(_0x592d52+0x1)*_0x234960};}let _0x54d707=Math['floor']((_0x11735a-_0x4997a3)/_0x234960);return{'from':_0x11735a-(_0x54d707+0x1)*_0x234960,'to':_0x11735a-_0x54d707*_0x234960};}class CompletionTooltip{constructor(_0x2ecc59,_0x29a908,_0x59a906){this['view']=_0x2ecc59,this['stateField']=_0x29a908,this['applyCompletion']=_0x59a906,this['info']=null,this['infoDestroy']=null,this['placeInfoReq']={'read':()=>this['measureInfo'](),'write':_0x54e2c5=>this['placeInfo'](_0x54e2c5),'key':this},this['space']=null,this['currentClass']='';let _0xfc4a5e=_0x2ecc59['state']['field'](_0x29a908),{options:_0xd61b81,selected:_0x4ef331}=_0xfc4a5e['open'],_0x1a0f3d=_0x2ecc59['state']['facet'](_0x3ef286);this['optionContent']=function(_0x3a7a7b){let _0x5b8f9a=_0x3a7a7b['addToOptions']['slice']();return _0x3a7a7b['icons']&&_0x5b8f9a['push']({'render'(_0x3c40b6){let _0x5a5775=document['createElement']('div');return _0x5a5775['classList']['add']('cm-completionIcon'),_0x3c40b6['type']&&_0x5a5775['classList']['add'](..._0x3c40b6['type']['split'](/\s+/g)['map'](_0xaf8b57=>'cm-completionIcon-'+_0xaf8b57)),_0x5a5775['setAttribute']('aria-hidden','true'),_0x5a5775;},'position':0x14}),_0x5b8f9a['push']({'render'(_0x3a3e4b,_0x15a62d,_0x26b8e2,_0x146773){let _0x33b5bd=document['createElement']('span');_0x33b5bd['className']='cm-completionLabel';let _0x302999=_0x3a3e4b['displayLabel']||_0x3a3e4b['label'],_0x5bd1ff=0x0;for(let _0x4a172c=0x0;_0x4a172c<_0x146773['length'];){let _0x324a73=_0x146773[_0x4a172c++],_0x4df80a=_0x146773[_0x4a172c++];_0x324a73>_0x5bd1ff&&_0x33b5bd['appendChild'](document['createTextNode'](_0x302999['slice'](_0x5bd1ff,_0x324a73)));let _0x25cae8=_0x33b5bd['appendChild'](document['createElement']('span'));_0x25cae8['appendChild'](document['createTextNode'](_0x302999['slice'](_0x324a73,_0x4df80a))),_0x25cae8['className']='cm-completionMatchedText',_0x5bd1ff=_0x4df80a;}return _0x5bd1ff<_0x302999['length']&&_0x33b5bd['appendChild'](document['createTextNode'](_0x302999['slice'](_0x5bd1ff))),_0x33b5bd;},'position':0x32},{'render'(_0x112272){if(!_0x112272['detail'])return null;let _0x2e6fb8=document['createElement']('span');return _0x2e6fb8['className']='cm-completionDetail',_0x2e6fb8['textContent']=_0x112272['detail'],_0x2e6fb8;},'position':0x50}),_0x5b8f9a['sort']((_0x533d27,_0x302e61)=>_0x533d27['position']-_0x302e61['position'])['map'](_0x48fd47=>_0x48fd47['render']);}(_0x1a0f3d),this['optionClass']=_0x1a0f3d['optionClass'],this['tooltipClass']=_0x1a0f3d['tooltipClass'],this['range']=_0x3fad65(_0xd61b81['length'],_0x4ef331,_0x1a0f3d['maxRenderedOptions']),this['dom']=document['createElement']('div'),this['dom']['className']='cm-tooltip-autocomplete',this['updateTooltipClass'](_0x2ecc59['state']),this['dom']['addEventListener']('mousedown',_0xc821a9=>{let {options:_0x142941}=_0x2ecc59['state']['field'](_0x29a908)['open'];for(let _0x3756f9,_0x3d5b7e=_0xc821a9['target'];_0x3d5b7e&&_0x3d5b7e!=this['dom'];_0x3d5b7e=_0x3d5b7e['parentNode'])if('LI'==_0x3d5b7e['nodeName']&&(_0x3756f9=/-(\d+)$/['exec'](_0x3d5b7e['id']))&&+_0x3756f9[0x1]<_0x142941['length'])return this['applyCompletion'](_0x2ecc59,_0x142941[+_0x3756f9[0x1]]),void _0xc821a9['preventDefault']();}),this['dom']['addEventListener']('focusout',_0x3f8700=>{let _0x5a7e99=_0x2ecc59['state']['field'](this['stateField'],!0x1);_0x5a7e99&&_0x5a7e99['tooltip']&&_0x2ecc59['state']['facet'](_0x3ef286)['closeOnBlur']&&_0x3f8700['relatedTarget']!=_0x2ecc59['contentDOM']&&_0x2ecc59['dispatch']({'effects':_0x2c7d45['of'](null)});}),this['showOptions'](_0xd61b81,_0xfc4a5e['id']);}['mount'](){this['updateSel']();}['showOptions'](_0xe5d700,_0x495df2){this['list']&&this['list']['remove'](),this['list']=this['dom']['appendChild'](this['createListBox'](_0xe5d700,_0x495df2,this['range'])),this['list']['addEventListener']('scroll',()=>{this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);});}['update'](_0x349be8){var _0x4f2d27;let _0x49a514=_0x349be8['state']['field'](this['stateField']),_0x19c0f0=_0x349be8['startState']['field'](this['stateField']);if(this['updateTooltipClass'](_0x349be8['state']),_0x49a514!=_0x19c0f0){let {options:_0x3605f8,selected:_0x37cd7c,disabled:_0x4a8310}=_0x49a514['open'];_0x19c0f0['open']&&_0x19c0f0['open']['options']==_0x3605f8||(this['range']=_0x3fad65(_0x3605f8['length'],_0x37cd7c,_0x349be8['state']['facet'](_0x3ef286)['maxRenderedOptions']),this['showOptions'](_0x3605f8,_0x49a514['id'])),this['updateSel'](),_0x4a8310!=(null===(_0x4f2d27=_0x19c0f0['open'])||void 0x0===_0x4f2d27?void 0x0:_0x4f2d27['disabled'])&&this['dom']['classList']['toggle']('cm-tooltip-autocomplete-disabled',!!_0x4a8310);}}['updateTooltipClass'](_0x17b16c){let _0x80bd85=this['tooltipClass'](_0x17b16c);if(_0x80bd85!=this['currentClass']){for(let _0xc9d1f3 of this['currentClass']['split']('\x20'))_0xc9d1f3&&this['dom']['classList']['remove'](_0xc9d1f3);for(let _0x20f4ad of _0x80bd85['split']('\x20'))_0x20f4ad&&this['dom']['classList']['add'](_0x20f4ad);this['currentClass']=_0x80bd85;}}['positioned'](_0x3501cf){this['space']=_0x3501cf,this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);}['updateSel'](){let _0x5354f7=this['view']['state']['field'](this['stateField']),_0x2b8850=_0x5354f7['open'];(_0x2b8850['selected']>-0x1&&_0x2b8850['selected']<this['range']['from']||_0x2b8850['selected']>=this['range']['to'])&&(this['range']=_0x3fad65(_0x2b8850['options']['length'],_0x2b8850['selected'],this['view']['state']['facet'](_0x3ef286)['maxRenderedOptions']),this['showOptions'](_0x2b8850['options'],_0x5354f7['id']));let _0x4c5de0=this['updateSelectedOption'](_0x2b8850['selected']);if(_0x4c5de0){this['destroyInfo']();let {completion:_0x558595}=_0x2b8850['options'][_0x2b8850['selected']],{info:_0x431354}=_0x558595;if(!_0x431354)return;let _0x1add97='string'==typeof _0x431354?document['createTextNode'](_0x431354):_0x431354(_0x558595);if(!_0x1add97)return;'then'in _0x1add97?_0x1add97['then'](_0xfa79d2=>{_0xfa79d2&&this['view']['state']['field'](this['stateField'],!0x1)==_0x5354f7&&this['addInfoPane'](_0xfa79d2,_0x558595);})['catch'](_0x717138=>_0x1922d6(this['view']['state'],_0x717138,'completion\x20info')):(this['addInfoPane'](_0x1add97,_0x558595),_0x4c5de0['setAttribute']('aria-describedby',this['info']['id']));}}['addInfoPane'](_0x48495d,_0x6c4152){this['destroyInfo']();let _0x45ce90=this['info']=document['createElement']('div');if(_0x45ce90['className']='cm-tooltip\x20cm-completionInfo',_0x45ce90['id']='cm-completionInfo-'+Math['floor'](0xffff*Math['random']())['toString'](0x10),null!=_0x48495d['nodeType'])_0x45ce90['appendChild'](_0x48495d),this['infoDestroy']=null;else{let {dom:_0x37e286,destroy:_0x2b5d6a}=_0x48495d;_0x45ce90['appendChild'](_0x37e286),this['infoDestroy']=_0x2b5d6a||null;}this['dom']['appendChild'](_0x45ce90),this['view']['requestMeasure'](this['placeInfoReq']);}['updateSelectedOption'](_0x43554b){let _0x4a9214=null;for(let _0x12c03f=this['list']['firstChild'],_0x14984e=this['range']['from'];_0x12c03f;_0x12c03f=_0x12c03f['nextSibling'],_0x14984e++)'LI'==_0x12c03f['nodeName']&&_0x12c03f['id']?_0x14984e==_0x43554b?_0x12c03f['hasAttribute']('aria-selected')||(_0x12c03f['setAttribute']('aria-selected','true'),_0x4a9214=_0x12c03f):_0x12c03f['hasAttribute']('aria-selected')&&(_0x12c03f['removeAttribute']('aria-selected'),_0x12c03f['removeAttribute']('aria-describedby')):_0x14984e--;return _0x4a9214&&function(_0x560b28,_0x36c963){let _0x5cafe1=_0x560b28['getBoundingClientRect'](),_0x433509=_0x36c963['getBoundingClientRect'](),_0x5d8d8d=_0x5cafe1['height']/_0x560b28['offsetHeight'];_0x433509['top']<_0x5cafe1['top']?_0x560b28['scrollTop']-=(_0x5cafe1['top']-_0x433509['top'])/_0x5d8d8d:_0x433509['bottom']>_0x5cafe1['bottom']&&(_0x560b28['scrollTop']+=(_0x433509['bottom']-_0x5cafe1['bottom'])/_0x5d8d8d);}(this['list'],_0x4a9214),_0x4a9214;}['measureInfo'](){let _0x300184=this['dom']['querySelector']('[aria-selected]');if(!_0x300184||!this['info'])return null;let _0x494852=this['dom']['getBoundingClientRect'](),_0x1770b9=this['info']['getBoundingClientRect'](),_0x4ba6bc=_0x300184['getBoundingClientRect'](),_0x5e35d1=this['space'];if(!_0x5e35d1){let _0x3181b6=this['dom']['ownerDocument']['documentElement'];_0x5e35d1={'left':0x0,'top':0x0,'right':_0x3181b6['clientWidth'],'bottom':_0x3181b6['clientHeight']};}return _0x4ba6bc['top']>Math['min'](_0x5e35d1['bottom'],_0x494852['bottom'])-0xa||_0x4ba6bc['bottom']<Math['max'](_0x5e35d1['top'],_0x494852['top'])+0xa?null:this['view']['state']['facet'](_0x3ef286)['positionInfo'](this['view'],_0x494852,_0x4ba6bc,_0x1770b9,_0x5e35d1,this['dom']);}['placeInfo'](_0x516e4b){this['info']&&(_0x516e4b?(_0x516e4b['style']&&(this['info']['style']['cssText']=_0x516e4b['style']),this['info']['className']='cm-tooltip\x20cm-completionInfo\x20'+(_0x516e4b['class']||'')):this['info']['style']['cssText']='top:\x20-1e6px');}['createListBox'](_0x1cc90e,_0x2a6cf1,_0x156732){const _0x23bff7=document['createElement']('ul');_0x23bff7['id']=_0x2a6cf1,_0x23bff7['setAttribute']('role','listbox'),_0x23bff7['setAttribute']('aria-expanded','true'),_0x23bff7['setAttribute']('aria-label',this['view']['state']['phrase']('Completions')),_0x23bff7['addEventListener']('mousedown',_0x193a7d=>{_0x193a7d['target']==_0x23bff7&&_0x193a7d['preventDefault']();});let _0x486a34=null;for(let _0x2d83d8=_0x156732['from'];_0x2d83d8<_0x156732['to'];_0x2d83d8++){let {completion:_0x685a91,match:_0x53ec17}=_0x1cc90e[_0x2d83d8],{section:_0x3fb462}=_0x685a91;if(_0x3fb462){let _0x4d2b93='string'==typeof _0x3fb462?_0x3fb462:_0x3fb462['name'];if(_0x4d2b93!=_0x486a34&&(_0x2d83d8>_0x156732['from']||0x0==_0x156732['from'])){if(_0x486a34=_0x4d2b93,'string'!=typeof _0x3fb462&&_0x3fb462['header'])_0x23bff7['appendChild'](_0x3fb462['header'](_0x3fb462));else _0x23bff7['appendChild'](document['createElement']('completion-section'))['textContent']=_0x4d2b93;}}const _0x26cee6=_0x23bff7['appendChild'](document['createElement']('li'));_0x26cee6['id']=_0x2a6cf1+'-'+_0x2d83d8,_0x26cee6['setAttribute']('role','option');let _0x5ea7b6=this['optionClass'](_0x685a91);_0x5ea7b6&&(_0x26cee6['className']=_0x5ea7b6);for(let _0x1c8d35 of this['optionContent']){let _0x1c64fb=_0x1c8d35(_0x685a91,this['view']['state'],this['view'],_0x53ec17);_0x1c64fb&&_0x26cee6['appendChild'](_0x1c64fb);}}return _0x156732['from']&&_0x23bff7['classList']['add']('cm-completionListIncompleteTop'),_0x156732['to']<_0x1cc90e['length']&&_0x23bff7['classList']['add']('cm-completionListIncompleteBottom'),_0x23bff7;}['destroyInfo'](){this['info']&&(this['infoDestroy']&&this['infoDestroy'](),this['info']['remove'](),this['info']=null);}['destroy'](){this['destroyInfo']();}}function _0x44bd2a(_0x57fbbe,_0x4ecc11){return _0x5b1ba5=>new CompletionTooltip(_0x5b1ba5,_0x57fbbe,_0x4ecc11);}function _0x3940a2(_0x1d1f2f){return 0x64*(_0x1d1f2f['boost']||0x0)+(_0x1d1f2f['apply']?0xa:0x0)+(_0x1d1f2f['info']?0x5:0x0)+(_0x1d1f2f['type']?0x1:0x0);}class CompletionDialog{constructor(_0x34c3cd,_0x2d9c93,_0x36a84f,_0x1b3eb5,_0x31e3b5,_0x59eda7){this['options']=_0x34c3cd,this['attrs']=_0x2d9c93,this['tooltip']=_0x36a84f,this['timestamp']=_0x1b3eb5,this['selected']=_0x31e3b5,this['disabled']=_0x59eda7;}['setSelected'](_0x5d81d1,_0x430758){return _0x5d81d1==this['selected']||_0x5d81d1>=this['options']['length']?this:new CompletionDialog(this['options'],_0x81f53(_0x430758,_0x5d81d1),this['tooltip'],this['timestamp'],_0x5d81d1,this['disabled']);}static['build'](_0x591b3c,_0x2a3778,_0x357af8,_0x1b6746,_0xe782f8,_0x46c02c){if(_0x1b6746&&!_0x46c02c&&_0x591b3c['some'](_0x211e08=>_0x211e08['isPending']))return _0x1b6746['setDisabled']();let _0x3841c9=function(_0xb08668,_0x4c2f55){let _0x3baf58=[],_0x2abb63=null,_0x137a7d=null,_0x157efe=_0xe4b1cd=>{_0x3baf58['push'](_0xe4b1cd);let {section:_0x5809d9}=_0xe4b1cd['completion'];if(_0x5809d9){_0x2abb63||(_0x2abb63=[]);let _0x353ceb='string'==typeof _0x5809d9?_0x5809d9:_0x5809d9['name'];_0x2abb63['some'](_0x3d2fa6=>_0x3d2fa6['name']==_0x353ceb)||_0x2abb63['push']('string'==typeof _0x5809d9?{'name':_0x353ceb}:_0x5809d9);}},_0x451a98=_0x4c2f55['facet'](_0x3ef286);for(let _0x2a1279 of _0xb08668)if(_0x2a1279['hasResult']()){let _0x25dc98=_0x2a1279['result']['getMatch'];if(!0x1===_0x2a1279['result']['filter']){for(let _0x4c6b38 of _0x2a1279['result']['options'])_0x157efe(new Option(_0x4c6b38,_0x2a1279['source'],_0x25dc98?_0x25dc98(_0x4c6b38):[],0x3b9aca00-_0x3baf58['length']));}else{let _0x269595,_0x584ede=_0x4c2f55['sliceDoc'](_0x2a1279['from'],_0x2a1279['to']),_0x1c9ac4=_0x451a98['filterStrict']?new StrictMatcher(_0x584ede):new FuzzyMatcher(_0x584ede);for(let _0x2a7ad6 of _0x2a1279['result']['options'])if(_0x269595=_0x1c9ac4['match'](_0x2a7ad6['label'])){let _0x5f0aef=_0x2a7ad6['displayLabel']?_0x25dc98?_0x25dc98(_0x2a7ad6,_0x269595['matched']):[]:_0x269595['matched'],_0x2cbf2c=_0x269595['score']+(_0x2a7ad6['boost']||0x0);if(_0x157efe(new Option(_0x2a7ad6,_0x2a1279['source'],_0x5f0aef,_0x2cbf2c)),'object'==typeof _0x2a7ad6['section']&&'dynamic'===_0x2a7ad6['section']['rank']){let {name:_0x38f91c}=_0x2a7ad6['section'];_0x137a7d||(_0x137a7d=Object['create'](null)),_0x137a7d[_0x38f91c]=Math['max'](_0x2cbf2c,_0x137a7d[_0x38f91c]||-0x3b9aca00);}}}}if(_0x2abb63){let _0x5a5481=Object['create'](null),_0x19eeaa=0x0,_0x263e49=(_0xaeb5d3,_0xf408cc)=>('dynamic'===_0xaeb5d3['rank']&&'dynamic'===_0xf408cc['rank']?_0x137a7d[_0xf408cc['name']]-_0x137a7d[_0xaeb5d3['name']]:0x0)||('number'==typeof _0xaeb5d3['rank']?_0xaeb5d3['rank']:0x3b9aca00)-('number'==typeof _0xf408cc['rank']?_0xf408cc['rank']:0x3b9aca00)||(_0xaeb5d3['name']<_0xf408cc['name']?-0x1:0x1);for(let _0x487160 of _0x2abb63['sort'](_0x263e49))_0x19eeaa-=0x186a0,_0x5a5481[_0x487160['name']]=_0x19eeaa;for(let _0x36f344 of _0x3baf58){let {section:_0x4a00a7}=_0x36f344['completion'];_0x4a00a7&&(_0x36f344['score']+=_0x5a5481['string'==typeof _0x4a00a7?_0x4a00a7:_0x4a00a7['name']]);}}let _0x2efbe6=[],_0x4d9887=null,_0x5928ab=_0x451a98['compareCompletions'];for(let _0x2d830f of _0x3baf58['sort']((_0x45259e,_0x178fbd)=>_0x178fbd['score']-_0x45259e['score']||_0x5928ab(_0x45259e['completion'],_0x178fbd['completion']))){let _0x3ef8ff=_0x2d830f['completion'];!_0x4d9887||_0x4d9887['label']!=_0x3ef8ff['label']||_0x4d9887['detail']!=_0x3ef8ff['detail']||null!=_0x4d9887['type']&&null!=_0x3ef8ff['type']&&_0x4d9887['type']!=_0x3ef8ff['type']||_0x4d9887['apply']!=_0x3ef8ff['apply']||_0x4d9887['boost']!=_0x3ef8ff['boost']?_0x2efbe6['push'](_0x2d830f):_0x3940a2(_0x2d830f['completion'])>_0x3940a2(_0x4d9887)&&(_0x2efbe6[_0x2efbe6['length']-0x1]=_0x2d830f),_0x4d9887=_0x2d830f['completion'];}return _0x2efbe6;}(_0x591b3c,_0x2a3778);if(!_0x3841c9['length'])return _0x1b6746&&_0x591b3c['some'](_0x4d6975=>_0x4d6975['isPending'])?_0x1b6746['setDisabled']():null;let _0xcadf38=_0x2a3778['facet'](_0x3ef286)['selectOnOpen']?0x0:-0x1;if(_0x1b6746&&_0x1b6746['selected']!=_0xcadf38&&-0x1!=_0x1b6746['selected']){let _0x1c0d5d=_0x1b6746['options'][_0x1b6746['selected']]['completion'];for(let _0x5eb0f5=0x0;_0x5eb0f5<_0x3841c9['length'];_0x5eb0f5++)if(_0x3841c9[_0x5eb0f5]['completion']==_0x1c0d5d){_0xcadf38=_0x5eb0f5;break;}}return new CompletionDialog(_0x3841c9,_0x81f53(_0x357af8,_0xcadf38),{'pos':_0x591b3c['reduce']((_0x537122,_0x31b24c)=>_0x31b24c['hasResult']()?Math['min'](_0x537122,_0x31b24c['from']):_0x537122,0x5f5e100),'create':_0x4fad39,'above':_0xe782f8['aboveCursor']},_0x1b6746?_0x1b6746['timestamp']:Date['now'](),_0xcadf38,!0x1);}['map'](_0x3a123b){return new CompletionDialog(this['options'],this['attrs'],{...this['tooltip'],'pos':_0x3a123b['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(_0x1a2be1,_0x36d6ac,_0x433a57){this['active']=_0x1a2be1,this['id']=_0x36d6ac,this['open']=_0x433a57;}static['start'](){return new CompletionState(_0x2c6165,'cm-ac-'+Math['floor'](0x1e8480*Math['random']())['toString'](0x24),null);}['update'](_0x1f5a11){let {state:_0xb0c218}=_0x1f5a11,_0x35f388=_0xb0c218['facet'](_0x3ef286),_0x6fecaf=(_0x35f388['override']||_0xb0c218['languageDataAt']('autocomplete',_0x5d3009(_0xb0c218))['map'](_0x5b70d5))['map'](_0x44588f=>{let _0x267e91=this['active']['find'](_0x18b223=>_0x18b223['source']==_0x44588f)||new ActiveSource(_0x44588f,this['active']['some'](_0x4dec60=>0x0!=_0x4dec60['state'])?0x1:0x0);return _0x267e91['update'](_0x1f5a11,_0x35f388);});_0x6fecaf['length']==this['active']['length']&&_0x6fecaf['every']((_0x5c43fb,_0x53403f)=>_0x5c43fb==this['active'][_0x53403f])&&(_0x6fecaf=this['active']);let _0x1f1cf8=this['open'],_0x317599=_0x1f5a11['effects']['some'](_0x32b9c0=>_0x32b9c0['is'](_0xcc5630));_0x1f1cf8&&_0x1f5a11['docChanged']&&(_0x1f1cf8=_0x1f1cf8['map'](_0x1f5a11['changes'])),_0x1f5a11['selection']||_0x6fecaf['some'](_0x5c7d15=>_0x5c7d15['hasResult']()&&_0x1f5a11['changes']['touchesRange'](_0x5c7d15['from'],_0x5c7d15['to']))||!function(_0x1bf7b2,_0x2dc421){if(_0x1bf7b2==_0x2dc421)return!0x0;for(let _0x21dabe=0x0,_0x21fae9=0x0;;){for(;_0x21dabe<_0x1bf7b2['length']&&!_0x1bf7b2[_0x21dabe]['hasResult']();)_0x21dabe++;for(;_0x21fae9<_0x2dc421['length']&&!_0x2dc421[_0x21fae9]['hasResult']();)_0x21fae9++;let _0x5db8a9=_0x21dabe==_0x1bf7b2['length'],_0x42bd09=_0x21fae9==_0x2dc421['length'];if(_0x5db8a9||_0x42bd09)return _0x5db8a9==_0x42bd09;if(_0x1bf7b2[_0x21dabe++]['result']!=_0x2dc421[_0x21fae9++]['result'])return!0x1;}}(_0x6fecaf,this['active'])||_0x317599?_0x1f1cf8=CompletionDialog['build'](_0x6fecaf,_0xb0c218,this['id'],_0x1f1cf8,_0x35f388,_0x317599):_0x1f1cf8&&_0x1f1cf8['disabled']&&!_0x6fecaf['some'](_0x493ab4=>_0x493ab4['isPending'])&&(_0x1f1cf8=null),!_0x1f1cf8&&_0x6fecaf['every'](_0x546441=>!_0x546441['isPending'])&&_0x6fecaf['some'](_0x3c9480=>_0x3c9480['hasResult']())&&(_0x6fecaf=_0x6fecaf['map'](_0x1c9a70=>_0x1c9a70['hasResult']()?new ActiveSource(_0x1c9a70['source'],0x0):_0x1c9a70));for(let _0x6626d8 of _0x1f5a11['effects'])_0x6626d8['is'](_0xbde96e)&&(_0x1f1cf8=_0x1f1cf8&&_0x1f1cf8['setSelected'](_0x6626d8['value'],this['id']));return _0x6fecaf==this['active']&&_0x1f1cf8==this['open']?this:new CompletionState(_0x6fecaf,this['id'],_0x1f1cf8);}get['tooltip'](){return this['open']?this['open']['tooltip']:null;}get['attrs'](){return this['open']?this['open']['attrs']:this['active']['length']?_0x2e9c9d:_0x4a0e91;}}const _0x2e9c9d={'aria-autocomplete':'list'},_0x4a0e91={};function _0x81f53(_0x4c038c,_0x33ce3e){let _0x5d7049={'aria-autocomplete':'list','aria-haspopup':'listbox','aria-controls':_0x4c038c};return _0x33ce3e>-0x1&&(_0x5d7049['aria-activedescendant']=_0x4c038c+'-'+_0x33ce3e),_0x5d7049;}const _0x2c6165=[];function _0x594276(_0x3bd4fd,_0x6d79b2){if(_0x3bd4fd['isUserEvent']('input.complete')){let _0xea43a6=_0x3bd4fd['annotation'](_0x5e2ab1);if(_0xea43a6&&_0x6d79b2['activateOnCompletion'](_0xea43a6))return 0xc;}let _0x1e12e1=_0x3bd4fd['isUserEvent']('input.type');return _0x1e12e1&&_0x6d79b2['activateOnTyping']?0x5:_0x1e12e1?0x1:_0x3bd4fd['isUserEvent']('delete.backward')?0x2:_0x3bd4fd['selection']?0x8:_0x3bd4fd['docChanged']?0x10:0x0;}class ActiveSource{constructor(_0x24fea0,_0x5df3e0,_0x5a55f6=!0x1){this['source']=_0x24fea0,this['state']=_0x5df3e0,this['explicit']=_0x5a55f6;}['hasResult'](){return!0x1;}get['isPending'](){return 0x1==this['state'];}['update'](_0x11858f,_0x4622c5){let _0xda5683=_0x594276(_0x11858f,_0x4622c5),_0x288d45=this;(0x8&_0xda5683||0x10&_0xda5683&&this['touches'](_0x11858f))&&(_0x288d45=new ActiveSource(_0x288d45['source'],0x0)),0x4&_0xda5683&&0x0==_0x288d45['state']&&(_0x288d45=new ActiveSource(this['source'],0x1)),_0x288d45=_0x288d45['updateFor'](_0x11858f,_0xda5683);for(let _0x2cdfd7 of _0x11858f['effects'])if(_0x2cdfd7['is'](_0x3d1367))_0x288d45=new ActiveSource(_0x288d45['source'],0x1,_0x2cdfd7['value']);else{if(_0x2cdfd7['is'](_0x2c7d45))_0x288d45=new ActiveSource(_0x288d45['source'],0x0);else{if(_0x2cdfd7['is'](_0xcc5630)){for(let _0x299bbd of _0x2cdfd7['value'])_0x299bbd['source']==_0x288d45['source']&&(_0x288d45=_0x299bbd);}}}return _0x288d45;}['updateFor'](_0x2c9385,_0x381efb){return this['map'](_0x2c9385['changes']);}['map'](_0xe09093){return this;}['touches'](_0x38c8fc){return _0x38c8fc['changes']['touchesRange'](_0x5d3009(_0x38c8fc['state']));}}class ActiveResult extends ActiveSource{constructor(_0x3f26fc,_0x5083b0,_0x2de598,_0x2e10a2,_0x24e37e,_0x35b504){super(_0x3f26fc,0x3,_0x5083b0),this['limit']=_0x2de598,this['result']=_0x2e10a2,this['from']=_0x24e37e,this['to']=_0x35b504;}['hasResult'](){return!0x0;}['updateFor'](_0xcb303d,_0x180b35){var _0x3a3d1e;if(!(0x3&_0x180b35))return this['map'](_0xcb303d['changes']);let _0x3d659e=this['result'];_0x3d659e['map']&&!_0xcb303d['changes']['empty']&&(_0x3d659e=_0x3d659e['map'](_0x3d659e,_0xcb303d['changes']));let _0x14467d=_0xcb303d['changes']['mapPos'](this['from']),_0x411835=_0xcb303d['changes']['mapPos'](this['to'],0x1),_0x377539=_0x5d3009(_0xcb303d['state']);if(_0x377539>_0x411835||!_0x3d659e||0x2&_0x180b35&&(_0x5d3009(_0xcb303d['startState'])==this['from']||_0x377539<this['limit']))return new ActiveSource(this['source'],0x4&_0x180b35?0x1:0x0);let _0xb4462=_0xcb303d['changes']['mapPos'](this['limit']);return function(_0x2a3f79,_0x222a05,_0x2a748a,_0x493677){if(!_0x2a3f79)return!0x1;let _0x48ec07=_0x222a05['sliceDoc'](_0x2a748a,_0x493677);return'function'==typeof _0x2a3f79?_0x2a3f79(_0x48ec07,_0x2a748a,_0x493677,_0x222a05):_0x396143(_0x2a3f79,!0x0)['test'](_0x48ec07);}(_0x3d659e['validFor'],_0xcb303d['state'],_0x14467d,_0x411835)?new ActiveResult(this['source'],this['explicit'],_0xb4462,_0x3d659e,_0x14467d,_0x411835):_0x3d659e['update']&&(_0x3d659e=_0x3d659e['update'](_0x3d659e,_0x14467d,_0x411835,new CompletionContext(_0xcb303d['state'],_0x377539,!0x1)))?new ActiveResult(this['source'],this['explicit'],_0xb4462,_0x3d659e,_0x3d659e['from'],null!==(_0x3a3d1e=_0x3d659e['to'])&&void 0x0!==_0x3a3d1e?_0x3a3d1e:_0x5d3009(_0xcb303d['state'])):new ActiveSource(this['source'],0x1,this['explicit']);}['map'](_0x2a6d49){if(_0x2a6d49['empty'])return this;return(this['result']['map']?this['result']['map'](this['result'],_0x2a6d49):this['result'])?new ActiveResult(this['source'],this['explicit'],_0x2a6d49['mapPos'](this['limit']),this['result'],_0x2a6d49['mapPos'](this['from']),_0x2a6d49['mapPos'](this['to'],0x1)):new ActiveSource(this['source'],0x0);}['touches'](_0x2ad315){return _0x2ad315['changes']['touchesRange'](this['from'],this['to']);}}const _0xcc5630=StateEffect['define']({'map':(_0x17f6d2,_0x5cd466)=>_0x17f6d2['map'](_0x3898e8=>_0x3898e8['map'](_0x5cd466))}),_0xbde96e=StateEffect['define'](),_0x4c5767=StateField['define']({'create':()=>CompletionState['start'](),'update':(_0x89fa9f,_0x57e7ca)=>_0x89fa9f['update'](_0x57e7ca),'provide':_0x9b1439=>[_0x4dfb75['from'](_0x9b1439,_0x359501=>_0x359501['tooltip']),EditorView['contentAttributes']['from'](_0x9b1439,_0x53e237=>_0x53e237['attrs'])]});function _0x1759c8(_0x5d7900,_0x57d36b){const _0x36c56b=_0x57d36b['completion']['apply']||_0x57d36b['completion']['label'];let _0x44f8ca=_0x5d7900['state']['field'](_0x4c5767)['active']['find'](_0x247b05=>_0x247b05['source']==_0x57d36b['source']);return _0x44f8ca instanceof ActiveResult&&('string'==typeof _0x36c56b?_0x5d7900['dispatch']({..._0x50902b(_0x5d7900['state'],_0x36c56b,_0x44f8ca['from'],_0x44f8ca['to']),'annotations':_0x5e2ab1['of'](_0x57d36b['completion'])}):_0x36c56b(_0x5d7900,_0x57d36b['completion'],_0x44f8ca['from'],_0x44f8ca['to']),!0x0);}const _0x4fad39=_0x44bd2a(_0x4c5767,_0x1759c8);function _0x37878a(_0x1af5c7,_0x34ba07='option'){return _0x2021bd=>{let _0x5ae1fa=_0x2021bd['state']['field'](_0x4c5767,!0x1);if(!_0x5ae1fa||!_0x5ae1fa['open']||_0x5ae1fa['open']['disabled']||Date['now']()-_0x5ae1fa['open']['timestamp']<_0x2021bd['state']['facet'](_0x3ef286)['interactionDelay'])return!0x1;let _0x786d92,_0x4b8eae=0x1;'page'==_0x34ba07&&(_0x786d92=_0xebf16d(_0x2021bd,_0x5ae1fa['open']['tooltip']))&&(_0x4b8eae=Math['max'](0x2,Math['floor'](_0x786d92['dom']['offsetHeight']/_0x786d92['dom']['querySelector']('li')['offsetHeight'])-0x1));let {length:_0x261e9d}=_0x5ae1fa['open']['options'],_0x37191a=_0x5ae1fa['open']['selected']>-0x1?_0x5ae1fa['open']['selected']+_0x4b8eae*(_0x1af5c7?0x1:-0x1):_0x1af5c7?0x0:_0x261e9d-0x1;return _0x37191a<0x0?_0x37191a='page'==_0x34ba07?0x0:_0x261e9d-0x1:_0x37191a>=_0x261e9d&&(_0x37191a='page'==_0x34ba07?_0x261e9d-0x1:0x0),_0x2021bd['dispatch']({'effects':_0xbde96e['of'](_0x37191a)}),!0x0;};}const _0xf38e18=_0x5c157a=>!!_0x5c157a['state']['field'](_0x4c5767,!0x1)&&(_0x5c157a['dispatch']({'effects':_0x3d1367['of'](!0x0)}),!0x0);class _0x4a0cb0{constructor(_0xdecfe9,_0x516e0b){this['active']=_0xdecfe9,this['context']=_0x516e0b,this['time']=Date['now'](),this['updates']=[],this['done']=void 0x0;}}const _0x3c198c=_0x26068f['fromClass'](class{constructor(_0x1eb80d){this['view']=_0x1eb80d,this['debounceUpdate']=-0x1,this['running']=[],this['debounceAccept']=-0x1,this['pendingStart']=!0x1,this['composing']=0x0;for(let _0x34112c of _0x1eb80d['state']['field'](_0x4c5767)['active'])_0x34112c['isPending']&&this['startQuery'](_0x34112c);}['update'](_0x1d6b2f){let _0x1a645f=_0x1d6b2f['state']['field'](_0x4c5767),_0x38c885=_0x1d6b2f['state']['facet'](_0x3ef286);if(!_0x1d6b2f['selectionSet']&&!_0x1d6b2f['docChanged']&&_0x1d6b2f['startState']['field'](_0x4c5767)==_0x1a645f)return;let _0x51e939=_0x1d6b2f['transactions']['some'](_0x143d48=>{let _0x8e09cc=_0x594276(_0x143d48,_0x38c885);return 0x8&_0x8e09cc||(_0x143d48['selection']||_0x143d48['docChanged'])&&!(0x3&_0x8e09cc);});for(let _0x1b2c80=0x0;_0x1b2c80<this['running']['length'];_0x1b2c80++){let _0x22828d=this['running'][_0x1b2c80];if(_0x51e939||_0x22828d['context']['abortOnDocChange']&&_0x1d6b2f['docChanged']||_0x22828d['updates']['length']+_0x1d6b2f['transactions']['length']>0x32&&Date['now']()-_0x22828d['time']>0x3e8){for(let _0x1c6cc0 of _0x22828d['context']['abortListeners'])try{_0x1c6cc0();}catch(_0xcf16e6){_0x1922d6(this['view']['state'],_0xcf16e6);}_0x22828d['context']['abortListeners']=null,this['running']['splice'](_0x1b2c80--,0x1);}else _0x22828d['updates']['push'](..._0x1d6b2f['transactions']);}this['debounceUpdate']>-0x1&&clearTimeout(this['debounceUpdate']),_0x1d6b2f['transactions']['some'](_0x4e2a6f=>_0x4e2a6f['effects']['some'](_0x4f71d1=>_0x4f71d1['is'](_0x3d1367)))&&(this['pendingStart']=!0x0);let _0x186322=this['pendingStart']?0x32:_0x38c885['activateOnTypingDelay'];if(this['debounceUpdate']=_0x1a645f['active']['some'](_0x1918d4=>_0x1918d4['isPending']&&!this['running']['some'](_0x59eeca=>_0x59eeca['active']['source']==_0x1918d4['source']))?setTimeout(()=>this['startUpdate'](),_0x186322):-0x1,0x0!=this['composing']){for(let _0x17022d of _0x1d6b2f['transactions'])_0x17022d['isUserEvent']('input.type')?this['composing']=0x2:0x2==this['composing']&&_0x17022d['selection']&&(this['composing']=0x3);}}['startUpdate'](){this['debounceUpdate']=-0x1,this['pendingStart']=!0x1;let {state:_0x3b1deb}=this['view'],_0x1603aa=_0x3b1deb['field'](_0x4c5767);for(let _0x2c4ecf of _0x1603aa['active'])_0x2c4ecf['isPending']&&!this['running']['some'](_0x22e5dd=>_0x22e5dd['active']['source']==_0x2c4ecf['source'])&&this['startQuery'](_0x2c4ecf);this['running']['length']&&_0x1603aa['open']&&_0x1603aa['open']['disabled']&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](_0x3ef286)['updateSyncTime']));}['startQuery'](_0x316008){let {state:_0x32ca6b}=this['view'],_0x5c9d10=_0x5d3009(_0x32ca6b),_0x45f2a2=new CompletionContext(_0x32ca6b,_0x5c9d10,_0x316008['explicit'],this['view']),_0x386b5f=new _0x4a0cb0(_0x316008,_0x45f2a2);this['running']['push'](_0x386b5f),Promise['resolve'](_0x316008['source'](_0x45f2a2))['then'](_0x1082ee=>{_0x386b5f['context']['aborted']||(_0x386b5f['done']=_0x1082ee||null,this['scheduleAccept']());},_0x2e9875=>{this['view']['dispatch']({'effects':_0x2c7d45['of'](null)}),_0x1922d6(this['view']['state'],_0x2e9875);});}['scheduleAccept'](){this['running']['every'](_0x36dffc=>void 0x0!==_0x36dffc['done'])?this['accept']():this['debounceAccept']<0x0&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](_0x3ef286)['updateSyncTime']));}['accept'](){var _0x45c60b;this['debounceAccept']>-0x1&&clearTimeout(this['debounceAccept']),this['debounceAccept']=-0x1;let _0x526e0a=[],_0x4098bc=this['view']['state']['facet'](_0x3ef286),_0x50bb39=this['view']['state']['field'](_0x4c5767);for(let _0x498aab=0x0;_0x498aab<this['running']['length'];_0x498aab++){let _0x537ea9=this['running'][_0x498aab];if(void 0x0===_0x537ea9['done'])continue;if(this['running']['splice'](_0x498aab--,0x1),_0x537ea9['done']){let _0x33e790=_0x5d3009(_0x537ea9['updates']['length']?_0x537ea9['updates'][0x0]['startState']:this['view']['state']),_0x2b6f2c=Math['min'](_0x33e790,_0x537ea9['done']['from']+(_0x537ea9['active']['explicit']?0x0:0x1)),_0x3bd0da=new ActiveResult(_0x537ea9['active']['source'],_0x537ea9['active']['explicit'],_0x2b6f2c,_0x537ea9['done'],_0x537ea9['done']['from'],null!==(_0x45c60b=_0x537ea9['done']['to'])&&void 0x0!==_0x45c60b?_0x45c60b:_0x33e790);for(let _0x2225bc of _0x537ea9['updates'])_0x3bd0da=_0x3bd0da['update'](_0x2225bc,_0x4098bc);if(_0x3bd0da['hasResult']()){_0x526e0a['push'](_0x3bd0da);continue;}}let _0x2cf8a8=_0x50bb39['active']['find'](_0x4d58b3=>_0x4d58b3['source']==_0x537ea9['active']['source']);if(_0x2cf8a8&&_0x2cf8a8['isPending']){if(null==_0x537ea9['done']){let _0x3e982b=new ActiveSource(_0x537ea9['active']['source'],0x0);for(let _0x1736ee of _0x537ea9['updates'])_0x3e982b=_0x3e982b['update'](_0x1736ee,_0x4098bc);_0x3e982b['isPending']||_0x526e0a['push'](_0x3e982b);}else this['startQuery'](_0x2cf8a8);}}(_0x526e0a['length']||_0x50bb39['open']&&_0x50bb39['open']['disabled'])&&this['view']['dispatch']({'effects':_0xcc5630['of'](_0x526e0a)});}},{'eventHandlers':{'blur'(_0x414963){let _0x49513a=this['view']['state']['field'](_0x4c5767,!0x1);if(_0x49513a&&_0x49513a['tooltip']&&this['view']['state']['facet'](_0x3ef286)['closeOnBlur']){let _0x3377b2=_0x49513a['open']&&_0xebf16d(this['view'],_0x49513a['open']['tooltip']);_0x3377b2&&_0x3377b2['dom']['contains'](_0x414963['relatedTarget'])||setTimeout(()=>this['view']['dispatch']({'effects':_0x2c7d45['of'](null)}),0xa);}},'compositionstart'(){this['composing']=0x1;},'compositionend'(){0x3==this['composing']&&setTimeout(()=>this['view']['dispatch']({'effects':_0x3d1367['of'](!0x1)}),0x14),this['composing']=0x0;}}}),_0x26d050='object'==typeof navigator&&/Win/['test'](navigator['platform']),_0x391767=_0x4b04a1['highest'](EditorView['domEventHandlers']({'keydown'(_0x44c6f0,_0x40dc53){let _0x301f57=_0x40dc53['state']['field'](_0x4c5767,!0x1);if(!_0x301f57||!_0x301f57['open']||_0x301f57['open']['disabled']||_0x301f57['open']['selected']<0x0||_0x44c6f0['key']['length']>0x1||_0x44c6f0['ctrlKey']&&(!_0x26d050||!_0x44c6f0['altKey'])||_0x44c6f0['metaKey'])return!0x1;let _0x6673f3=_0x301f57['open']['options'][_0x301f57['open']['selected']],_0x5efc01=_0x301f57['active']['find'](_0x36fe95=>_0x36fe95['source']==_0x6673f3['source']),_0x5a6538=_0x6673f3['completion']['commitCharacters']||_0x5efc01['result']['commitCharacters'];return _0x5a6538&&_0x5a6538['indexOf'](_0x44c6f0['key'])>-0x1&&_0x1759c8(_0x40dc53,_0x6673f3),!0x1;}})),_0x1a795b=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 _0x3cb8ef{constructor(_0x100492,_0x18ca10,_0x4a8f25,_0x30810c){this['field']=_0x100492,this['line']=_0x18ca10,this['from']=_0x4a8f25,this['to']=_0x30810c;}}class _0x42fb9b{constructor(_0x952573,_0x1d3620,_0x579e30){this['field']=_0x952573,this['from']=_0x1d3620,this['to']=_0x579e30;}['map'](_0x3149cd){let _0x2783e3=_0x3149cd['mapPos'](this['from'],-0x1,_0x57c239['TrackDel']),_0x4b9881=_0x3149cd['mapPos'](this['to'],0x1,_0x57c239['TrackDel']);return null==_0x2783e3||null==_0x4b9881?null:new _0x42fb9b(this['field'],_0x2783e3,_0x4b9881);}}class Snippet{constructor(_0x46a0f9,_0x28260c){this['lines']=_0x46a0f9,this['fieldPositions']=_0x28260c;}['instantiate'](_0x2f4ad1,_0x2c07a8){let _0x4d6086=[],_0x775c7c=[_0x2c07a8],_0x5974fd=_0x2f4ad1['doc']['lineAt'](_0x2c07a8),_0x1b5d29=/^\s*/['exec'](_0x5974fd['text'])[0x0];for(let _0x506b6a of this['lines']){if(_0x4d6086['length']){let _0x34137c=_0x1b5d29,_0x3a2d24=/^\t*/['exec'](_0x506b6a)[0x0]['length'];for(let _0x1665e6=0x0;_0x1665e6<_0x3a2d24;_0x1665e6++)_0x34137c+=_0x2f4ad1['facet'](_0x2d023c);_0x775c7c['push'](_0x2c07a8+_0x34137c['length']-_0x3a2d24),_0x506b6a=_0x34137c+_0x506b6a['slice'](_0x3a2d24);}_0x4d6086['push'](_0x506b6a),_0x2c07a8+=_0x506b6a['length']+0x1;}let _0x12ef9e=this['fieldPositions']['map'](_0x218846=>new _0x42fb9b(_0x218846['field'],_0x775c7c[_0x218846['line']]+_0x218846['from'],_0x775c7c[_0x218846['line']]+_0x218846['to']));return{'text':_0x4d6086,'ranges':_0x12ef9e};}static['parse'](_0x28830a){let _0x2a0464,_0x2d0037=[],_0x5e9978=[],_0x4048a4=[];for(let _0x4646e0 of _0x28830a['split'](/\r\n?|\n/)){for(;_0x2a0464=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/['exec'](_0x4646e0);){let _0x4bcff8=_0x2a0464[0x1]?+_0x2a0464[0x1]:null,_0x34f326=_0x2a0464[0x2]||_0x2a0464[0x3]||'',_0x2da2b0=-0x1,_0x3f4901=_0x34f326['replace'](/\\[{}]/g,_0x17afc6=>_0x17afc6[0x1]);for(let _0x4f2816=0x0;_0x4f2816<_0x2d0037['length'];_0x4f2816++)(null!=_0x4bcff8?_0x2d0037[_0x4f2816]['seq']==_0x4bcff8:_0x3f4901&&_0x2d0037[_0x4f2816]['name']==_0x3f4901)&&(_0x2da2b0=_0x4f2816);if(_0x2da2b0<0x0){let _0x2daa51=0x0;for(;_0x2daa51<_0x2d0037['length']&&(null==_0x4bcff8||null!=_0x2d0037[_0x2daa51]['seq']&&_0x2d0037[_0x2daa51]['seq']<_0x4bcff8);)_0x2daa51++;_0x2d0037['splice'](_0x2daa51,0x0,{'seq':_0x4bcff8,'name':_0x3f4901}),_0x2da2b0=_0x2daa51;for(let _0x270862 of _0x4048a4)_0x270862['field']>=_0x2da2b0&&_0x270862['field']++;}for(let _0x2a9dfb of _0x4048a4)if(_0x2a9dfb['line']==_0x5e9978['length']&&_0x2a9dfb['from']>_0x2a0464['index']){let _0x314d62=_0x2a0464[0x2]?0x3+(_0x2a0464[0x1]||'')['length']:0x2;_0x2a9dfb['from']-=_0x314d62,_0x2a9dfb['to']-=_0x314d62;}_0x4048a4['push'](new _0x3cb8ef(_0x2da2b0,_0x5e9978['length'],_0x2a0464['index'],_0x2a0464['index']+_0x3f4901['length'])),_0x4646e0=_0x4646e0['slice'](0x0,_0x2a0464['index'])+_0x34f326+_0x4646e0['slice'](_0x2a0464['index']+_0x2a0464[0x0]['length']);}_0x4646e0=_0x4646e0['replace'](/\\([{}])/g,(_0x220a6d,_0x4a3758,_0x1de8e4)=>{for(let _0x5ed7e2 of _0x4048a4)_0x5ed7e2['line']==_0x5e9978['length']&&_0x5ed7e2['from']>_0x1de8e4&&(_0x5ed7e2['from']--,_0x5ed7e2['to']--);return _0x4a3758;}),_0x5e9978['push'](_0x4646e0);}return new Snippet(_0x5e9978,_0x4048a4);}}let _0x341203=Decoration['widget']({'widget':new class extends WidgetType{['toDOM'](){let _0x5db455=document['createElement']('span');return _0x5db455['className']='cm-snippetFieldPosition',_0x5db455;}['ignoreEvent'](){return!0x1;}}()}),_0x5a703b=Decoration['mark']({'class':'cm-snippetField'});class ActiveSnippet{constructor(_0x52f3d3,_0x43a660){this['ranges']=_0x52f3d3,this['active']=_0x43a660,this['deco']=Decoration['set'](_0x52f3d3['map'](_0x3c5602=>(_0x3c5602['from']==_0x3c5602['to']?_0x341203:_0x5a703b)['range'](_0x3c5602['from'],_0x3c5602['to'])),!0x0);}['map'](_0x4d438a){let _0x1dd613=[];for(let _0x51fb82 of this['ranges']){let _0x4345bb=_0x51fb82['map'](_0x4d438a);if(!_0x4345bb)return null;_0x1dd613['push'](_0x4345bb);}return new ActiveSnippet(_0x1dd613,this['active']);}['selectionInsideField'](_0x5dd1fd){return _0x5dd1fd['ranges']['every'](_0x15a942=>this['ranges']['some'](_0x1f77a1=>_0x1f77a1['field']==this['active']&&_0x1f77a1['from']<=_0x15a942['from']&&_0x1f77a1['to']>=_0x15a942['to']));}}const _0x47aa6d=StateEffect['define']({'map':(_0x5d34c9,_0x4996bf)=>_0x5d34c9&&_0x5d34c9['map'](_0x4996bf)}),_0x57df7a=StateEffect['define'](),_0x324c1c=StateField['define']({'create':()=>null,'update'(_0x395f68,_0x5c659b){for(let _0xeb7d22 of _0x5c659b['effects']){if(_0xeb7d22['is'](_0x47aa6d))return _0xeb7d22['value'];if(_0xeb7d22['is'](_0x57df7a)&&_0x395f68)return new ActiveSnippet(_0x395f68['ranges'],_0xeb7d22['value']);}return _0x395f68&&_0x5c659b['docChanged']&&(_0x395f68=_0x395f68['map'](_0x5c659b['changes'])),_0x395f68&&_0x5c659b['selection']&&!_0x395f68['selectionInsideField'](_0x5c659b['selection'])&&(_0x395f68=null),_0x395f68;},'provide':_0x4c0ba8=>EditorView['decorations']['from'](_0x4c0ba8,_0x36663e=>_0x36663e?_0x36663e['deco']:Decoration['none'])});function _0x2b409a(_0x19a175,_0x354230){return EditorSelection['create'](_0x19a175['filter'](_0x230b56=>_0x230b56['field']==_0x354230)['map'](_0x5208c4=>EditorSelection['range'](_0x5208c4['from'],_0x5208c4['to'])));}function _0x1b9f23(_0x50bee2){let _0x2c471b=Snippet['parse'](_0x50bee2);return(_0x16abf7,_0x2386a8,_0x2f7483,_0x2b0710)=>{let {text:_0x2a6dff,ranges:_0x598af2}=_0x2c471b['instantiate'](_0x16abf7['state'],_0x2f7483),{main:_0x40c8e1}=_0x16abf7['state']['selection'],_0x1d142a={'changes':{'from':_0x2f7483,'to':_0x2b0710==_0x40c8e1['from']?_0x40c8e1['to']:_0x2b0710,'insert':Text['of'](_0x2a6dff)},'scrollIntoView':!0x0,'annotations':_0x2386a8?[_0x5e2ab1['of'](_0x2386a8),Transaction['userEvent']['of']('input.complete')]:void 0x0};if(_0x598af2['length']&&(_0x1d142a['selection']=_0x2b409a(_0x598af2,0x0)),_0x598af2['some'](_0x45388d=>_0x45388d['field']>0x0)){let _0x1f3525=new ActiveSnippet(_0x598af2,0x0),_0x3398c8=_0x1d142a['effects']=[_0x47aa6d['of'](_0x1f3525)];void 0x0===_0x16abf7['state']['field'](_0x324c1c,!0x1)&&_0x3398c8['push'](StateEffect['appendConfig']['of']([_0x324c1c,_0x3b0817,_0x2c0c7d,_0x1a795b]));}_0x16abf7['dispatch'](_0x16abf7['state']['update'](_0x1d142a));};}function _0x135ec8(_0x3d7688){return({state:_0x422be9,dispatch:_0x4335a3})=>{let _0x1b590a=_0x422be9['field'](_0x324c1c,!0x1);if(!_0x1b590a||_0x3d7688<0x0&&0x0==_0x1b590a['active'])return!0x1;let _0x458daf=_0x1b590a['active']+_0x3d7688,_0x487840=_0x3d7688>0x0&&!_0x1b590a['ranges']['some'](_0x3a4922=>_0x3a4922['field']==_0x458daf+_0x3d7688);return _0x4335a3(_0x422be9['update']({'selection':_0x2b409a(_0x1b590a['ranges'],_0x458daf),'effects':_0x47aa6d['of'](_0x487840?null:new ActiveSnippet(_0x1b590a['ranges'],_0x458daf)),'scrollIntoView':!0x0})),!0x0;};}const tA=[{'key':'Tab','run':_0x135ec8(0x1),'shift':_0x135ec8(-0x1)},{'key':'Escape','run':({state:_0xc988da,dispatch:_0x34aaf9})=>!!_0xc988da['field'](_0x324c1c,!0x1)&&(_0x34aaf9(_0xc988da['update']({'effects':_0x47aa6d['of'](null)})),!0x0)}],_0x176839=Facet['define']({'combine':_0x5e8413=>_0x5e8413['length']?_0x5e8413[0x0]:tA}),_0x3b0817=_0x4b04a1['highest'](_0x1c1feb['compute']([_0x176839],_0x273afb=>_0x273afb['facet'](_0x176839)));function _0x19d882(_0x5c0722,_0xe590a0){return{..._0xe590a0,'apply':_0x1b9f23(_0x5c0722)};}const _0x2c0c7d=EditorView['domEventHandlers']({'mousedown'(_0x15d364,_0x2fb636){let _0x2d1e16,_0x3c7cf3=_0x2fb636['state']['field'](_0x324c1c,!0x1);if(!_0x3c7cf3||null==(_0x2d1e16=_0x2fb636['posAtCoords']({'x':_0x15d364['clientX'],'y':_0x15d364['clientY']})))return!0x1;let _0x3df5d9=_0x3c7cf3['ranges']['find'](_0x465598=>_0x465598['from']<=_0x2d1e16&&_0x465598['to']>=_0x2d1e16);return!(!_0x3df5d9||_0x3df5d9['field']==_0x3c7cf3['active'])&&(_0x2fb636['dispatch']({'selection':_0x2b409a(_0x3c7cf3['ranges'],_0x3df5d9['field']),'effects':_0x47aa6d['of'](_0x3c7cf3['ranges']['some'](_0xd6130c=>_0xd6130c['field']>_0x3df5d9['field'])?new ActiveSnippet(_0x3c7cf3['ranges'],_0x3df5d9['field']):null),'scrollIntoView':!0x0}),!0x0);}}),_0x273630={'brackets':['(','[','{','\x27','\x22'],'before':')]}:;>','stringPrefixes':[]},_0x2459a7=StateEffect['define']({'map'(_0x537ca3,_0x5470f6){let _0x58e1e1=_0x5470f6['mapPos'](_0x537ca3,-0x1,_0x57c239['TrackAfter']);return null==_0x58e1e1?void 0x0:_0x58e1e1;}}),_0x25e09b=new class extends _0x3b0969{}();_0x25e09b['startSide']=0x1,_0x25e09b['endSide']=-0x1;const _0x546603=StateField['define']({'create':()=>RangeSet['empty'],'update'(_0x108b35,_0x1ccca7){if(_0x108b35=_0x108b35['map'](_0x1ccca7['changes']),_0x1ccca7['selection']){let _0x4b50d2=_0x1ccca7['state']['doc']['lineAt'](_0x1ccca7['selection']['main']['head']);_0x108b35=_0x108b35['update']({'filter':_0x2a8700=>_0x2a8700>=_0x4b50d2['from']&&_0x2a8700<=_0x4b50d2['to']});}for(let _0x2e8e43 of _0x1ccca7['effects'])_0x2e8e43['is'](_0x2459a7)&&(_0x108b35=_0x108b35['update']({'add':[_0x25e09b['range'](_0x2e8e43['value'],_0x2e8e43['value']+0x1)]}));return _0x108b35;}});function _0x1bf930(){return[_0x5d87fa,_0x546603];}const _0x34127a='()[]{}<>«»»«［］｛｝';function _0x35a6fa(_0x11da3e){for(let _0x43882a=0x0;_0x43882a<0x10;_0x43882a+=0x2)if(_0x34127a['charCodeAt'](_0x43882a)==_0x11da3e)return _0x34127a['charAt'](_0x43882a+0x1);return _0x4a4bdc(_0x11da3e<0x80?_0x11da3e:_0x11da3e+0x1);}function _0x4fd097(_0xa36d6e,_0x2e12b2){return _0xa36d6e['languageDataAt']('closeBrackets',_0x2e12b2)[0x0]||_0x273630;}const _0x48d1df='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),_0x5d87fa=EditorView['inputHandler']['of']((_0x27f0d1,_0x48f73f,_0xc52c13,_0x44cb53)=>{if((_0x48d1df?_0x27f0d1['composing']:_0x27f0d1['compositionStarted'])||_0x27f0d1['state']['readOnly'])return!0x1;let _0xbaa5d9=_0x27f0d1['state']['selection']['main'];if(_0x44cb53['length']>0x2||0x2==_0x44cb53['length']&&0x1==_0x555919(_0x511d55(_0x44cb53,0x0))||_0x48f73f!=_0xbaa5d9['from']||_0xc52c13!=_0xbaa5d9['to'])return!0x1;let _0x3d61e9=function(_0x3efa02,_0xb15c4d){let _0x30c8a9=_0x4fd097(_0x3efa02,_0x3efa02['selection']['main']['head']),_0x3b5dd3=_0x30c8a9['brackets']||_0x273630['brackets'];for(let _0x894e5e of _0x3b5dd3){let _0x313007=_0x35a6fa(_0x511d55(_0x894e5e,0x0));if(_0xb15c4d==_0x894e5e)return _0x313007==_0x894e5e?_0x2c7981(_0x3efa02,_0x894e5e,_0x3b5dd3['indexOf'](_0x894e5e+_0x894e5e+_0x894e5e)>-0x1,_0x30c8a9):_0x520694(_0x3efa02,_0x894e5e,_0x313007,_0x30c8a9['before']||_0x273630['before']);if(_0xb15c4d==_0x313007&&_0x2da97(_0x3efa02,_0x3efa02['selection']['main']['from']))return _0x17e157(_0x3efa02,_0x894e5e,_0x313007);}return null;}(_0x27f0d1['state'],_0x44cb53);return!!_0x3d61e9&&(_0x27f0d1['dispatch'](_0x3d61e9),!0x0);}),_0x19ee75=[{'key':'Backspace','run':({state:_0x28fe5c,dispatch:_0x3ceead})=>{if(_0x28fe5c['readOnly'])return!0x1;let _0x3fd974=_0x4fd097(_0x28fe5c,_0x28fe5c['selection']['main']['head'])['brackets']||_0x273630['brackets'],_0x56ec2b=null,_0x49a3ea=_0x28fe5c['changeByRange'](_0xaa8222=>{if(_0xaa8222['empty']){let _0x36ee96=function(_0x526f42,_0x8129eb){let _0xec1f65=_0x526f42['sliceString'](_0x8129eb-0x2,_0x8129eb);return _0x555919(_0x511d55(_0xec1f65,0x0))==_0xec1f65['length']?_0xec1f65:_0xec1f65['slice'](0x1);}(_0x28fe5c['doc'],_0xaa8222['head']);for(let _0x55620d of _0x3fd974)if(_0x55620d==_0x36ee96&&_0x4dee83(_0x28fe5c['doc'],_0xaa8222['head'])==_0x35a6fa(_0x511d55(_0x55620d,0x0)))return{'changes':{'from':_0xaa8222['head']-_0x55620d['length'],'to':_0xaa8222['head']+_0x55620d['length']},'range':EditorSelection['cursor'](_0xaa8222['head']-_0x55620d['length'])};}return{'range':_0x56ec2b=_0xaa8222};});return _0x56ec2b||_0x3ceead(_0x28fe5c['update'](_0x49a3ea,{'scrollIntoView':!0x0,'userEvent':'delete.backward'})),!_0x56ec2b;}}];function _0x2da97(_0x3c31e5,_0x5a32e2){let _0x25588b=!0x1;return _0x3c31e5['field'](_0x546603)['between'](0x0,_0x3c31e5['doc']['length'],_0x204c2b=>{_0x204c2b==_0x5a32e2&&(_0x25588b=!0x0);}),_0x25588b;}function _0x4dee83(_0x135a99,_0x5e9c3a){let _0x226a67=_0x135a99['sliceString'](_0x5e9c3a,_0x5e9c3a+0x2);return _0x226a67['slice'](0x0,_0x555919(_0x511d55(_0x226a67,0x0)));}function _0x520694(_0x335a4a,_0x4868be,_0x3dc945,_0x1acdf8){let _0x541885=null,_0x22377e=_0x335a4a['changeByRange'](_0x3b475e=>{if(!_0x3b475e['empty'])return{'changes':[{'insert':_0x4868be,'from':_0x3b475e['from']},{'insert':_0x3dc945,'from':_0x3b475e['to']}],'effects':_0x2459a7['of'](_0x3b475e['to']+_0x4868be['length']),'range':EditorSelection['range'](_0x3b475e['anchor']+_0x4868be['length'],_0x3b475e['head']+_0x4868be['length'])};let _0x6f8bef=_0x4dee83(_0x335a4a['doc'],_0x3b475e['head']);return!_0x6f8bef||/\s/['test'](_0x6f8bef)||_0x1acdf8['indexOf'](_0x6f8bef)>-0x1?{'changes':{'insert':_0x4868be+_0x3dc945,'from':_0x3b475e['head']},'effects':_0x2459a7['of'](_0x3b475e['head']+_0x4868be['length']),'range':EditorSelection['cursor'](_0x3b475e['head']+_0x4868be['length'])}:{'range':_0x541885=_0x3b475e};});return _0x541885?null:_0x335a4a['update'](_0x22377e,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x17e157(_0x579877,_0x43e9ce,_0x243ce4){let _0x4cd546=null,_0x19e95e=_0x579877['changeByRange'](_0x3ff5cb=>_0x3ff5cb['empty']&&_0x4dee83(_0x579877['doc'],_0x3ff5cb['head'])==_0x243ce4?{'changes':{'from':_0x3ff5cb['head'],'to':_0x3ff5cb['head']+_0x243ce4['length'],'insert':_0x243ce4},'range':EditorSelection['cursor'](_0x3ff5cb['head']+_0x243ce4['length'])}:_0x4cd546={'range':_0x3ff5cb});return _0x4cd546?null:_0x579877['update'](_0x19e95e,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x2c7981(_0x3e5404,_0x54dc34,_0x47a61d,_0x1a1cbc){let _0x104be7=_0x1a1cbc['stringPrefixes']||_0x273630['stringPrefixes'],_0x48c0ae=null,_0x4901c1=_0x3e5404['changeByRange'](_0x36c08d=>{if(!_0x36c08d['empty'])return{'changes':[{'insert':_0x54dc34,'from':_0x36c08d['from']},{'insert':_0x54dc34,'from':_0x36c08d['to']}],'effects':_0x2459a7['of'](_0x36c08d['to']+_0x54dc34['length']),'range':EditorSelection['range'](_0x36c08d['anchor']+_0x54dc34['length'],_0x36c08d['head']+_0x54dc34['length'])};let _0x3ca667,_0x35b2e1=_0x36c08d['head'],_0x19d1a3=_0x4dee83(_0x3e5404['doc'],_0x35b2e1);if(_0x19d1a3==_0x54dc34){if(_0x51d1cf(_0x3e5404,_0x35b2e1))return{'changes':{'insert':_0x54dc34+_0x54dc34,'from':_0x35b2e1},'effects':_0x2459a7['of'](_0x35b2e1+_0x54dc34['length']),'range':EditorSelection['cursor'](_0x35b2e1+_0x54dc34['length'])};if(_0x2da97(_0x3e5404,_0x35b2e1)){let _0x1e6e0b=_0x47a61d&&_0x3e5404['sliceDoc'](_0x35b2e1,_0x35b2e1+0x3*_0x54dc34['length'])==_0x54dc34+_0x54dc34+_0x54dc34?_0x54dc34+_0x54dc34+_0x54dc34:_0x54dc34;return{'changes':{'from':_0x35b2e1,'to':_0x35b2e1+_0x1e6e0b['length'],'insert':_0x1e6e0b},'range':EditorSelection['cursor'](_0x35b2e1+_0x1e6e0b['length'])};}}else{if(_0x47a61d&&_0x3e5404['sliceDoc'](_0x35b2e1-0x2*_0x54dc34['length'],_0x35b2e1)==_0x54dc34+_0x54dc34&&(_0x3ca667=_0x5aea75(_0x3e5404,_0x35b2e1-0x2*_0x54dc34['length'],_0x104be7))>-0x1&&_0x51d1cf(_0x3e5404,_0x3ca667))return{'changes':{'insert':_0x54dc34+_0x54dc34+_0x54dc34+_0x54dc34,'from':_0x35b2e1},'effects':_0x2459a7['of'](_0x35b2e1+_0x54dc34['length']),'range':EditorSelection['cursor'](_0x35b2e1+_0x54dc34['length'])};if(_0x3e5404['charCategorizer'](_0x35b2e1)(_0x19d1a3)!=_0x40a5c6['Word']&&_0x5aea75(_0x3e5404,_0x35b2e1,_0x104be7)>-0x1&&!function(_0x37e0eb,_0x5c02ab,_0x13f16b,_0x236774){let _0xd905e4=_0x46e40e(_0x37e0eb)['resolveInner'](_0x5c02ab,-0x1),_0x26be43=_0x236774['reduce']((_0x1cc3d9,_0x2baa24)=>Math['max'](_0x1cc3d9,_0x2baa24['length']),0x0);for(let _0x11c1ab=0x0;_0x11c1ab<0x5;_0x11c1ab++){let _0x43a6e7=_0x37e0eb['sliceDoc'](_0xd905e4['from'],Math['min'](_0xd905e4['to'],_0xd905e4['from']+_0x13f16b['length']+_0x26be43)),_0x52ab0e=_0x43a6e7['indexOf'](_0x13f16b);if(!_0x52ab0e||_0x52ab0e>-0x1&&_0x236774['indexOf'](_0x43a6e7['slice'](0x0,_0x52ab0e))>-0x1){let _0x2117af=_0xd905e4['firstChild'];for(;_0x2117af&&_0x2117af['from']==_0xd905e4['from']&&_0x2117af['to']-_0x2117af['from']>_0x13f16b['length']+_0x52ab0e;){if(_0x37e0eb['sliceDoc'](_0x2117af['to']-_0x13f16b['length'],_0x2117af['to'])==_0x13f16b)return!0x1;_0x2117af=_0x2117af['firstChild'];}return!0x0;}let _0x2031e2=_0xd905e4['to']==_0x5c02ab&&_0xd905e4['parent'];if(!_0x2031e2)break;_0xd905e4=_0x2031e2;}return!0x1;}(_0x3e5404,_0x35b2e1,_0x54dc34,_0x104be7))return{'changes':{'insert':_0x54dc34+_0x54dc34,'from':_0x35b2e1},'effects':_0x2459a7['of'](_0x35b2e1+_0x54dc34['length']),'range':EditorSelection['cursor'](_0x35b2e1+_0x54dc34['length'])};}return{'range':_0x48c0ae=_0x36c08d};});return _0x48c0ae?null:_0x3e5404['update'](_0x4901c1,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x51d1cf(_0x1327e0,_0x16f989){let _0x2d4d75=_0x46e40e(_0x1327e0)['resolveInner'](_0x16f989+0x1);return _0x2d4d75['parent']&&_0x2d4d75['from']==_0x16f989;}function _0x5aea75(_0x242131,_0x10e194,_0x5b9a95){let _0x1625b8=_0x242131['charCategorizer'](_0x10e194);if(_0x1625b8(_0x242131['sliceDoc'](_0x10e194-0x1,_0x10e194))!=_0x40a5c6['Word'])return _0x10e194;for(let _0x3d5e89 of _0x5b9a95){let _0x1412cc=_0x10e194-_0x3d5e89['length'];if(_0x242131['sliceDoc'](_0x1412cc,_0x10e194)==_0x3d5e89&&_0x1625b8(_0x242131['sliceDoc'](_0x1412cc-0x1,_0x1412cc))!=_0x40a5c6['Word'])return _0x1412cc;}return-0x1;}function _0x377656(_0x4617d7={}){return[_0x391767,_0x4c5767,_0x3ef286['of'](_0x4617d7),_0x3c198c,_0x2f1b26,_0x1a795b];}const _0x48ce7e=[{'key':'Ctrl-Space','run':_0xf38e18},{'mac':'Alt-`','run':_0xf38e18},{'mac':'Alt-i','run':_0xf38e18},{'key':'Escape','run':_0x5c1fec=>{let _0x465914=_0x5c1fec['state']['field'](_0x4c5767,!0x1);return!(!_0x465914||!_0x465914['active']['some'](_0x547234=>0x0!=_0x547234['state']))&&(_0x5c1fec['dispatch']({'effects':_0x2c7d45['of'](null)}),!0x0);}},{'key':'ArrowDown','run':_0x37878a(!0x0)},{'key':'ArrowUp','run':_0x37878a(!0x1)},{'key':'PageDown','run':_0x37878a(!0x0,'page')},{'key':'PageUp','run':_0x37878a(!0x1,'page')},{'key':'Enter','run':_0x532dc3=>{let _0x58de4a=_0x532dc3['state']['field'](_0x4c5767,!0x1);return!(_0x532dc3['state']['readOnly']||!_0x58de4a||!_0x58de4a['open']||_0x58de4a['open']['selected']<0x0||_0x58de4a['open']['disabled']||Date['now']()-_0x58de4a['open']['timestamp']<_0x532dc3['state']['facet'](_0x3ef286)['interactionDelay'])&&_0x1759c8(_0x532dc3,_0x58de4a['open']['options'][_0x58de4a['open']['selected']]);}}],_0x2f1b26=_0x4b04a1['highest'](_0x1c1feb['computeN']([_0x3ef286],_0x20363c=>_0x20363c['facet'](_0x3ef286)['defaultKeymap']?[_0x48ce7e]:[]));class Stack{constructor(_0x564cff,_0x436148,_0x283bfc,_0x1e3e25,_0xf79af,_0x4595e7,_0x24edb9,_0x19e2a0,_0x4bf282,_0x51e18c=0x0,_0x523bb8){this['p']=_0x564cff,this['stack']=_0x436148,this['state']=_0x283bfc,this['reducePos']=_0x1e3e25,this['pos']=_0xf79af,this['score']=_0x4595e7,this['buffer']=_0x24edb9,this['bufferBase']=_0x19e2a0,this['curContext']=_0x4bf282,this['lookAhead']=_0x51e18c,this['parent']=_0x523bb8;}['toString'](){return'['+this['stack']['filter']((_0x3a9a5d,_0x88dad8)=>_0x88dad8%0x3==0x0)['concat'](this['state'])+']@'+this['pos']+(this['score']?'!'+this['score']:'');}static['start'](_0x1dd500,_0x2ac5a4,_0x513635=0x0){let _0x21a1f3=_0x1dd500['parser']['context'];return new Stack(_0x1dd500,[],_0x2ac5a4,_0x513635,_0x513635,0x0,[],0x0,_0x21a1f3?new StackContext(_0x21a1f3,_0x21a1f3['start']):null,0x0,null);}get['context'](){return this['curContext']?this['curContext']['context']:null;}['pushState'](_0x4d9d59,_0x1e3920){this['stack']['push'](this['state'],_0x1e3920,this['bufferBase']+this['buffer']['length']),this['state']=_0x4d9d59;}['reduce'](_0x58089d){var _0x341b83;let _0x31c655=_0x58089d>>0x13,_0x45d379=0xffff&_0x58089d,{parser:_0x4002e8}=this['p'],_0x1fcb50=this['reducePos']<this['pos']-0x19;_0x1fcb50&&this['setLookAhead'](this['pos']);let _0x168cc0=_0x4002e8['dynamicPrecedence'](_0x45d379);if(_0x168cc0&&(this['score']+=_0x168cc0),0x0==_0x31c655)return this['pushState'](_0x4002e8['getGoto'](this['state'],_0x45d379,!0x0),this['reducePos']),_0x45d379<_0x4002e8['minRepeatTerm']&&this['storeNode'](_0x45d379,this['reducePos'],this['reducePos'],_0x1fcb50?0x8:0x4,!0x0),void this['reduceContext'](_0x45d379,this['reducePos']);let _0x4ff463=this['stack']['length']-0x3*(_0x31c655-0x1)-(0x40000&_0x58089d?0x6:0x0),_0x2fb95e=_0x4ff463?this['stack'][_0x4ff463-0x2]:this['p']['ranges'][0x0]['from'],_0x88f41=this['reducePos']-_0x2fb95e;_0x88f41>=0x7d0&&!(null===(_0x341b83=this['p']['parser']['nodeSet']['types'][_0x45d379])||void 0x0===_0x341b83?void 0x0:_0x341b83['isAnonymous'])&&(_0x2fb95e==this['p']['lastBigReductionStart']?(this['p']['bigReductionCount']++,this['p']['lastBigReductionSize']=_0x88f41):this['p']['lastBigReductionSize']<_0x88f41&&(this['p']['bigReductionCount']=0x1,this['p']['lastBigReductionStart']=_0x2fb95e,this['p']['lastBigReductionSize']=_0x88f41));let _0x9c046c=_0x4ff463?this['stack'][_0x4ff463-0x1]:0x0,_0x2b2cb6=this['bufferBase']+this['buffer']['length']-_0x9c046c;if(_0x45d379<_0x4002e8['minRepeatTerm']||0x20000&_0x58089d){let _0x435573=_0x4002e8['stateFlag'](this['state'],0x1)?this['pos']:this['reducePos'];this['storeNode'](_0x45d379,_0x2fb95e,_0x435573,_0x2b2cb6+0x4,!0x0);}if(0x40000&_0x58089d)this['state']=this['stack'][_0x4ff463];else{let _0x282c67=this['stack'][_0x4ff463-0x3];this['state']=_0x4002e8['getGoto'](_0x282c67,_0x45d379,!0x0);}for(;this['stack']['length']>_0x4ff463;)this['stack']['pop']();this['reduceContext'](_0x45d379,_0x2fb95e);}['storeNode'](_0x3613c9,_0x399c57,_0x2c2a42,_0x1ccfe2=0x4,_0x2d0189=!0x1){if(0x0==_0x3613c9&&(!this['stack']['length']||this['stack'][this['stack']['length']-0x1]<this['buffer']['length']+this['bufferBase'])){let _0x53bb17=this,_0x49aa4f=this['buffer']['length'];if(0x0==_0x49aa4f&&_0x53bb17['parent']&&(_0x49aa4f=_0x53bb17['bufferBase']-_0x53bb17['parent']['bufferBase'],_0x53bb17=_0x53bb17['parent']),_0x49aa4f>0x0&&0x0==_0x53bb17['buffer'][_0x49aa4f-0x4]&&_0x53bb17['buffer'][_0x49aa4f-0x1]>-0x1){if(_0x399c57==_0x2c2a42)return;if(_0x53bb17['buffer'][_0x49aa4f-0x2]>=_0x399c57)return void(_0x53bb17['buffer'][_0x49aa4f-0x2]=_0x2c2a42);}}if(_0x2d0189&&this['pos']!=_0x2c2a42){let _0x377765=this['buffer']['length'];if(_0x377765>0x0&&(0x0!=this['buffer'][_0x377765-0x4]||this['buffer'][_0x377765-0x1]<0x0)){let _0x3f5f1e=!0x1;for(let _0x2c6fae=_0x377765;_0x2c6fae>0x0&&this['buffer'][_0x2c6fae-0x2]>_0x2c2a42;_0x2c6fae-=0x4)if(this['buffer'][_0x2c6fae-0x1]>=0x0){_0x3f5f1e=!0x0;break;}if(_0x3f5f1e){for(;_0x377765>0x0&&this['buffer'][_0x377765-0x2]>_0x2c2a42;)this['buffer'][_0x377765]=this['buffer'][_0x377765-0x4],this['buffer'][_0x377765+0x1]=this['buffer'][_0x377765-0x3],this['buffer'][_0x377765+0x2]=this['buffer'][_0x377765-0x2],this['buffer'][_0x377765+0x3]=this['buffer'][_0x377765-0x1],_0x377765-=0x4,_0x1ccfe2>0x4&&(_0x1ccfe2-=0x4);}}this['buffer'][_0x377765]=_0x3613c9,this['buffer'][_0x377765+0x1]=_0x399c57,this['buffer'][_0x377765+0x2]=_0x2c2a42,this['buffer'][_0x377765+0x3]=_0x1ccfe2;}else this['buffer']['push'](_0x3613c9,_0x399c57,_0x2c2a42,_0x1ccfe2);}['shift'](_0x2f8d17,_0x5e7f1b,_0x4de41a,_0x191ccb){if(0x20000&_0x2f8d17)this['pushState'](0xffff&_0x2f8d17,this['pos']);else{if(0x40000&_0x2f8d17)this['pos']=_0x191ccb,this['shiftContext'](_0x5e7f1b,_0x4de41a),_0x5e7f1b<=this['p']['parser']['maxNode']&&this['buffer']['push'](_0x5e7f1b,_0x4de41a,_0x191ccb,0x4);else{let _0x53aedb=_0x2f8d17,{parser:_0x907e5a}=this['p'];(_0x191ccb>this['pos']||_0x5e7f1b<=_0x907e5a['maxNode'])&&(this['pos']=_0x191ccb,_0x907e5a['stateFlag'](_0x53aedb,0x1)||(this['reducePos']=_0x191ccb)),this['pushState'](_0x53aedb,_0x4de41a),this['shiftContext'](_0x5e7f1b,_0x4de41a),_0x5e7f1b<=_0x907e5a['maxNode']&&this['buffer']['push'](_0x5e7f1b,_0x4de41a,_0x191ccb,0x4);}}}['apply'](_0x3d4220,_0x56b334,_0x5b2e16,_0x23c2fa){0x10000&_0x3d4220?this['reduce'](_0x3d4220):this['shift'](_0x3d4220,_0x56b334,_0x5b2e16,_0x23c2fa);}['useNode'](_0x4492a1,_0x5ebae4){let _0x391067=this['p']['reused']['length']-0x1;(_0x391067<0x0||this['p']['reused'][_0x391067]!=_0x4492a1)&&(this['p']['reused']['push'](_0x4492a1),_0x391067++);let _0x65ee3d=this['pos'];this['reducePos']=this['pos']=_0x65ee3d+_0x4492a1['length'],this['pushState'](_0x5ebae4,_0x65ee3d),this['buffer']['push'](_0x391067,_0x65ee3d,this['reducePos'],-0x1),this['curContext']&&this['updateContext'](this['curContext']['tracker']['reuse'](this['curContext']['context'],_0x4492a1,this,this['p']['stream']['reset'](this['pos']-_0x4492a1['length'])));}['split'](){let _0x1a45ab=this,_0x2c1d63=_0x1a45ab['buffer']['length'];for(;_0x2c1d63>0x0&&_0x1a45ab['buffer'][_0x2c1d63-0x2]>_0x1a45ab['reducePos'];)_0x2c1d63-=0x4;let _0x4235b9=_0x1a45ab['buffer']['slice'](_0x2c1d63),_0xd00da2=_0x1a45ab['bufferBase']+_0x2c1d63;for(;_0x1a45ab&&_0xd00da2==_0x1a45ab['bufferBase'];)_0x1a45ab=_0x1a45ab['parent'];return new Stack(this['p'],this['stack']['slice'](),this['state'],this['reducePos'],this['pos'],this['score'],_0x4235b9,_0xd00da2,this['curContext'],this['lookAhead'],_0x1a45ab);}['recoverByDelete'](_0x51338a,_0x251793){let _0x5a9d23=_0x51338a<=this['p']['parser']['maxNode'];_0x5a9d23&&this['storeNode'](_0x51338a,this['pos'],_0x251793,0x4),this['storeNode'](0x0,this['pos'],_0x251793,_0x5a9d23?0x8:0x4),this['pos']=this['reducePos']=_0x251793,this['score']-=0xbe;}['canShift'](_0x5f015e){for(let _0x3ed995=new SimulatedStack(this);;){let _0x47b158=this['p']['parser']['stateSlot'](_0x3ed995['state'],0x4)||this['p']['parser']['hasAction'](_0x3ed995['state'],_0x5f015e);if(0x0==_0x47b158)return!0x1;if(!(0x10000&_0x47b158))return!0x0;_0x3ed995['reduce'](_0x47b158);}}['recoverByInsert'](_0x147498){if(this['stack']['length']>=0x12c)return[];let _0x18f68a=this['p']['parser']['nextStates'](this['state']);if(_0x18f68a['length']>0x8||this['stack']['length']>=0x78){let _0x15b840=[];for(let _0x381ee6,_0x58537f=0x0;_0x58537f<_0x18f68a['length'];_0x58537f+=0x2)(_0x381ee6=_0x18f68a[_0x58537f+0x1])!=this['state']&&this['p']['parser']['hasAction'](_0x381ee6,_0x147498)&&_0x15b840['push'](_0x18f68a[_0x58537f],_0x381ee6);if(this['stack']['length']<0x78)for(let _0x5a0a20=0x0;_0x15b840['length']<0x8&&_0x5a0a20<_0x18f68a['length'];_0x5a0a20+=0x2){let _0x98e47e=_0x18f68a[_0x5a0a20+0x1];_0x15b840['some']((_0x3511a9,_0x1500d4)=>0x1&_0x1500d4&&_0x3511a9==_0x98e47e)||_0x15b840['push'](_0x18f68a[_0x5a0a20],_0x98e47e);}_0x18f68a=_0x15b840;}let _0x132b79=[];for(let _0x5d9715=0x0;_0x5d9715<_0x18f68a['length']&&_0x132b79['length']<0x4;_0x5d9715+=0x2){let _0x5d9877=_0x18f68a[_0x5d9715+0x1];if(_0x5d9877==this['state'])continue;let _0x3082ba=this['split']();_0x3082ba['pushState'](_0x5d9877,this['pos']),_0x3082ba['storeNode'](0x0,_0x3082ba['pos'],_0x3082ba['pos'],0x4,!0x0),_0x3082ba['shiftContext'](_0x18f68a[_0x5d9715],this['pos']),_0x3082ba['reducePos']=this['pos'],_0x3082ba['score']-=0xc8,_0x132b79['push'](_0x3082ba);}return _0x132b79;}['forceReduce'](){let {parser:_0x3c8f44}=this['p'],_0x7f09a0=_0x3c8f44['stateSlot'](this['state'],0x5);if(!(0x10000&_0x7f09a0))return!0x1;if(!_0x3c8f44['validAction'](this['state'],_0x7f09a0)){let _0x2d404b=_0x7f09a0>>0x13,_0xfbc9ae=0xffff&_0x7f09a0,_0x45ce25=this['stack']['length']-0x3*_0x2d404b;if(_0x45ce25<0x0||_0x3c8f44['getGoto'](this['stack'][_0x45ce25],_0xfbc9ae,!0x1)<0x0){let _0x122822=this['findForcedReduction']();if(null==_0x122822)return!0x1;_0x7f09a0=_0x122822;}this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['score']-=0x64;}return this['reducePos']=this['pos'],this['reduce'](_0x7f09a0),!0x0;}['findForcedReduction'](){let {parser:_0x52090a}=this['p'],_0xb2bc39=[],_0x2b08da=(_0x311408,_0x667e8c)=>{if(!_0xb2bc39['includes'](_0x311408))return _0xb2bc39['push'](_0x311408),_0x52090a['allActions'](_0x311408,_0x4f8ad6=>{if(0x60000&_0x4f8ad6);else{if(0x10000&_0x4f8ad6){let _0x1b1864=(_0x4f8ad6>>0x13)-_0x667e8c;if(_0x1b1864>0x1){let _0x288c48=0xffff&_0x4f8ad6,_0x563357=this['stack']['length']-0x3*_0x1b1864;if(_0x563357>=0x0&&_0x52090a['getGoto'](this['stack'][_0x563357],_0x288c48,!0x1)>=0x0)return _0x1b1864<<0x13|0x10000|_0x288c48;}}else{let _0x10b3e8=_0x2b08da(_0x4f8ad6,_0x667e8c+0x1);if(null!=_0x10b3e8)return _0x10b3e8;}}});};return _0x2b08da(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:_0x414f71}=this['p'];return 0xffff==_0x414f71['data'][_0x414f71['stateSlot'](this['state'],0x1)]&&!_0x414f71['stateSlot'](this['state'],0x4);}['restart'](){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['state']=this['stack'][0x0],this['stack']['length']=0x0;}['sameState'](_0x4d0f34){if(this['state']!=_0x4d0f34['state']||this['stack']['length']!=_0x4d0f34['stack']['length'])return!0x1;for(let _0x3e9d1d=0x0;_0x3e9d1d<this['stack']['length'];_0x3e9d1d+=0x3)if(this['stack'][_0x3e9d1d]!=_0x4d0f34['stack'][_0x3e9d1d])return!0x1;return!0x0;}get['parser'](){return this['p']['parser'];}['dialectEnabled'](_0xb03396){return this['p']['parser']['dialect']['flags'][_0xb03396];}['shiftContext'](_0x4ff975,_0x3bc4ed){this['curContext']&&this['updateContext'](this['curContext']['tracker']['shift'](this['curContext']['context'],_0x4ff975,this,this['p']['stream']['reset'](_0x3bc4ed)));}['reduceContext'](_0x4b7446,_0x5abe7f){this['curContext']&&this['updateContext'](this['curContext']['tracker']['reduce'](this['curContext']['context'],_0x4b7446,this,this['p']['stream']['reset'](_0x5abe7f)));}['emitContext'](){let _0x356085=this['buffer']['length']-0x1;(_0x356085<0x0||-0x3!=this['buffer'][_0x356085])&&this['buffer']['push'](this['curContext']['hash'],this['pos'],this['pos'],-0x3);}['emitLookAhead'](){let _0x42fce5=this['buffer']['length']-0x1;(_0x42fce5<0x0||-0x4!=this['buffer'][_0x42fce5])&&this['buffer']['push'](this['lookAhead'],this['pos'],this['pos'],-0x4);}['updateContext'](_0xb61cfe){if(_0xb61cfe!=this['curContext']['context']){let _0x339ff0=new StackContext(this['curContext']['tracker'],_0xb61cfe);_0x339ff0['hash']!=this['curContext']['hash']&&this['emitContext'](),this['curContext']=_0x339ff0;}}['setLookAhead'](_0x3dc71c){_0x3dc71c>this['lookAhead']&&(this['emitLookAhead'](),this['lookAhead']=_0x3dc71c);}['close'](){this['curContext']&&this['curContext']['tracker']['strict']&&this['emitContext'](),this['lookAhead']>0x0&&this['emitLookAhead']();}}class StackContext{constructor(_0x20533c,_0x1dd979){this['tracker']=_0x20533c,this['context']=_0x1dd979,this['hash']=_0x20533c['strict']?_0x20533c['hash'](_0x1dd979):0x0;}}class SimulatedStack{constructor(_0x2ee223){this['start']=_0x2ee223,this['state']=_0x2ee223['state'],this['stack']=_0x2ee223['stack'],this['base']=this['stack']['length'];}['reduce'](_0x500195){let _0x100f60=0xffff&_0x500195,_0x36d227=_0x500195>>0x13;0x0==_0x36d227?(this['stack']==this['start']['stack']&&(this['stack']=this['stack']['slice']()),this['stack']['push'](this['state'],0x0,0x0),this['base']+=0x3):this['base']-=0x3*(_0x36d227-0x1);let _0x4dc6ef=this['start']['p']['parser']['getGoto'](this['stack'][this['base']-0x3],_0x100f60,!0x0);this['state']=_0x4dc6ef;}}class StackBufferCursor{constructor(_0x2c407b,_0x1f002f,_0x195a8f){this['stack']=_0x2c407b,this['pos']=_0x1f002f,this['index']=_0x195a8f,this['buffer']=_0x2c407b['buffer'],0x0==this['index']&&this['maybeNext']();}static['create'](_0x490415,_0x2ba726=_0x490415['bufferBase']+_0x490415['buffer']['length']){return new StackBufferCursor(_0x490415,_0x2ba726,_0x2ba726-_0x490415['bufferBase']);}['maybeNext'](){let _0x54ee4b=this['stack']['parent'];null!=_0x54ee4b&&(this['index']=this['stack']['bufferBase']-_0x54ee4b['bufferBase'],this['stack']=_0x54ee4b,this['buffer']=_0x54ee4b['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 _0x3710ce(_0x7bc120,_0x18b038=Uint16Array){if('string'!=typeof _0x7bc120)return _0x7bc120;let _0x32c5c2=null;for(let _0x213647=0x0,_0x5f3b15=0x0;_0x213647<_0x7bc120['length'];){let _0x2a3690=0x0;for(;;){let _0x128b09=_0x7bc120['charCodeAt'](_0x213647++),_0x10d4b1=!0x1;if(0x7e==_0x128b09){_0x2a3690=0xffff;break;}_0x128b09>=0x5c&&_0x128b09--,_0x128b09>=0x22&&_0x128b09--;let _0x5612cc=_0x128b09-0x20;if(_0x5612cc>=0x2e&&(_0x5612cc-=0x2e,_0x10d4b1=!0x0),_0x2a3690+=_0x5612cc,_0x10d4b1)break;_0x2a3690*=0x2e;}_0x32c5c2?_0x32c5c2[_0x5f3b15++]=_0x2a3690:_0x32c5c2=new _0x18b038(_0x2a3690);}return _0x32c5c2;}class _0x4bce59{constructor(){this['start']=-0x1,this['value']=-0x1,this['end']=-0x1,this['extended']=-0x1,this['lookAhead']=0x0,this['mask']=0x0,this['context']=0x0;}}const _0x1758c3=new _0x4bce59();class InputStream{constructor(_0x12a039,_0x3d99ef){this['input']=_0x12a039,this['ranges']=_0x3d99ef,this['chunk']='',this['chunkOff']=0x0,this['chunk2']='',this['chunk2Pos']=0x0,this['next']=-0x1,this['token']=_0x1758c3,this['rangeIndex']=0x0,this['pos']=this['chunkPos']=_0x3d99ef[0x0]['from'],this['range']=_0x3d99ef[0x0],this['end']=_0x3d99ef[_0x3d99ef['length']-0x1]['to'],this['readNext']();}['resolveOffset'](_0x213870,_0x19483e){let _0x5aefa5=this['range'],_0x32e06d=this['rangeIndex'],_0x29a19d=this['pos']+_0x213870;for(;_0x29a19d<_0x5aefa5['from'];){if(!_0x32e06d)return null;let _0x228040=this['ranges'][--_0x32e06d];_0x29a19d-=_0x5aefa5['from']-_0x228040['to'],_0x5aefa5=_0x228040;}for(;_0x19483e<0x0?_0x29a19d>_0x5aefa5['to']:_0x29a19d>=_0x5aefa5['to'];){if(_0x32e06d==this['ranges']['length']-0x1)return null;let _0x86f998=this['ranges'][++_0x32e06d];_0x29a19d+=_0x86f998['from']-_0x5aefa5['to'],_0x5aefa5=_0x86f998;}return _0x29a19d;}['clipPos'](_0x30f5bd){if(_0x30f5bd>=this['range']['from']&&_0x30f5bd<this['range']['to'])return _0x30f5bd;for(let _0x2c4f53 of this['ranges'])if(_0x2c4f53['to']>_0x30f5bd)return Math['max'](_0x30f5bd,_0x2c4f53['from']);return this['end'];}['peek'](_0x432764){let _0x2aca37,_0x12850a,_0x3939a7=this['chunkOff']+_0x432764;if(_0x3939a7>=0x0&&_0x3939a7<this['chunk']['length'])_0x2aca37=this['pos']+_0x432764,_0x12850a=this['chunk']['charCodeAt'](_0x3939a7);else{let _0x9099c4=this['resolveOffset'](_0x432764,0x1);if(null==_0x9099c4)return-0x1;if(_0x2aca37=_0x9099c4,_0x2aca37>=this['chunk2Pos']&&_0x2aca37<this['chunk2Pos']+this['chunk2']['length'])_0x12850a=this['chunk2']['charCodeAt'](_0x2aca37-this['chunk2Pos']);else{let _0x143c1c=this['rangeIndex'],_0x2ae545=this['range'];for(;_0x2ae545['to']<=_0x2aca37;)_0x2ae545=this['ranges'][++_0x143c1c];this['chunk2']=this['input']['chunk'](this['chunk2Pos']=_0x2aca37),_0x2aca37+this['chunk2']['length']>_0x2ae545['to']&&(this['chunk2']=this['chunk2']['slice'](0x0,_0x2ae545['to']-_0x2aca37)),_0x12850a=this['chunk2']['charCodeAt'](0x0);}}return _0x2aca37>=this['token']['lookAhead']&&(this['token']['lookAhead']=_0x2aca37+0x1),_0x12850a;}['acceptToken'](_0x22bcca,_0x1ed9cd=0x0){let _0x15249f=_0x1ed9cd?this['resolveOffset'](_0x1ed9cd,-0x1):this['pos'];if(null==_0x15249f||_0x15249f<this['token']['start'])throw new RangeError('Token\x20end\x20out\x20of\x20bounds');this['token']['value']=_0x22bcca,this['token']['end']=_0x15249f;}['acceptTokenTo'](_0x479a12,_0x2e596a){this['token']['value']=_0x479a12,this['token']['end']=_0x2e596a;}['getChunk'](){if(this['pos']>=this['chunk2Pos']&&this['pos']<this['chunk2Pos']+this['chunk2']['length']){let {chunk:_0x380b2f,chunkPos:_0x3e6211}=this;this['chunk']=this['chunk2'],this['chunkPos']=this['chunk2Pos'],this['chunk2']=_0x380b2f,this['chunk2Pos']=_0x3e6211,this['chunkOff']=this['pos']-this['chunkPos'];}else{this['chunk2']=this['chunk'],this['chunk2Pos']=this['chunkPos'];let _0x2b9969=this['input']['chunk'](this['pos']),_0x54a1e0=this['pos']+_0x2b9969['length'];this['chunk']=_0x54a1e0>this['range']['to']?_0x2b9969['slice'](0x0,this['range']['to']-this['pos']):_0x2b9969,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'](_0x2db3e5=0x1){for(this['chunkOff']+=_0x2db3e5;this['pos']+_0x2db3e5>=this['range']['to'];){if(this['rangeIndex']==this['ranges']['length']-0x1)return this['setDone']();_0x2db3e5-=this['range']['to']-this['pos'],this['range']=this['ranges'][++this['rangeIndex']],this['pos']=this['range']['from'];}return this['pos']+=_0x2db3e5,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'](_0x112a7b,_0x2edfd7){if(_0x2edfd7?(this['token']=_0x2edfd7,_0x2edfd7['start']=_0x112a7b,_0x2edfd7['lookAhead']=_0x112a7b+0x1,_0x2edfd7['value']=_0x2edfd7['extended']=-0x1):this['token']=_0x1758c3,this['pos']!=_0x112a7b){if(this['pos']=_0x112a7b,_0x112a7b==this['end'])return this['setDone'](),this;for(;_0x112a7b<this['range']['from'];)this['range']=this['ranges'][--this['rangeIndex']];for(;_0x112a7b>=this['range']['to'];)this['range']=this['ranges'][++this['rangeIndex']];_0x112a7b>=this['chunkPos']&&_0x112a7b<this['chunkPos']+this['chunk']['length']?this['chunkOff']=_0x112a7b-this['chunkPos']:(this['chunk']='',this['chunkOff']=0x0),this['readNext']();}return this;}['read'](_0x253555,_0x2bca9b){if(_0x253555>=this['chunkPos']&&_0x2bca9b<=this['chunkPos']+this['chunk']['length'])return this['chunk']['slice'](_0x253555-this['chunkPos'],_0x2bca9b-this['chunkPos']);if(_0x253555>=this['chunk2Pos']&&_0x2bca9b<=this['chunk2Pos']+this['chunk2']['length'])return this['chunk2']['slice'](_0x253555-this['chunk2Pos'],_0x2bca9b-this['chunk2Pos']);if(_0x253555>=this['range']['from']&&_0x2bca9b<=this['range']['to'])return this['input']['read'](_0x253555,_0x2bca9b);let _0x8cbc2='';for(let _0x250bd1 of this['ranges']){if(_0x250bd1['from']>=_0x2bca9b)break;_0x250bd1['to']>_0x253555&&(_0x8cbc2+=this['input']['read'](Math['max'](_0x250bd1['from'],_0x253555),Math['min'](_0x250bd1['to'],_0x2bca9b)));}return _0x8cbc2;}}class _0x154dc5{constructor(_0x3b7305,_0x1a658e){this['data']=_0x3b7305,this['id']=_0x1a658e;}['token'](_0x38b61b,_0x4425ea){let {parser:_0x30dd7e}=_0x4425ea['p'];_0x2b1cb3(this['data'],_0x38b61b,_0x4425ea,this['id'],_0x30dd7e['data'],_0x30dd7e['tokenPrecTable']);}}_0x154dc5['prototype']['contextual']=_0x154dc5['prototype']['fallback']=_0x154dc5['prototype']['extend']=!0x1;class _0x15d839{constructor(_0x196d40,_0x3e214f,_0x4bdcea){this['precTable']=_0x3e214f,this['elseToken']=_0x4bdcea,this['data']='string'==typeof _0x196d40?_0x3710ce(_0x196d40):_0x196d40;}['token'](_0xf391b6,_0xf828ef){let _0xbd3d7=_0xf391b6['pos'],_0x2f08b4=0x0;for(;;){let _0x2298b7=_0xf391b6['next']<0x0,_0x4bec1c=_0xf391b6['resolveOffset'](0x1,0x1);if(_0x2b1cb3(this['data'],_0xf391b6,_0xf828ef,0x0,this['data'],this['precTable']),_0xf391b6['token']['value']>-0x1)break;if(null==this['elseToken'])return;if(_0x2298b7||_0x2f08b4++,null==_0x4bec1c)break;_0xf391b6['reset'](_0x4bec1c,_0xf391b6['token']);}_0x2f08b4&&(_0xf391b6['reset'](_0xbd3d7,_0xf391b6['token']),_0xf391b6['acceptToken'](this['elseToken'],_0x2f08b4));}}_0x15d839['prototype']['contextual']=_0x154dc5['prototype']['fallback']=_0x154dc5['prototype']['extend']=!0x1;class ExternalTokenizer{constructor(_0x1476f6,_0x317d2d={}){this['token']=_0x1476f6,this['contextual']=!!_0x317d2d['contextual'],this['fallback']=!!_0x317d2d['fallback'],this['extend']=!!_0x317d2d['extend'];}}function _0x2b1cb3(_0x20e566,_0x2783ef,_0x1ecc92,_0x4a1b3e,_0x3dfefe,_0x38afc9){let _0x5c5e13=0x0,_0x4c2bef=0x1<<_0x4a1b3e,{dialect:_0x3a89fa}=_0x1ecc92['p']['parser'];t:for(;0x0!=(_0x4c2bef&_0x20e566[_0x5c5e13]);){let _0xeb514e=_0x20e566[_0x5c5e13+0x1];for(let _0x5b6108=_0x5c5e13+0x3;_0x5b6108<_0xeb514e;_0x5b6108+=0x2)if((_0x20e566[_0x5b6108+0x1]&_0x4c2bef)>0x0){let _0xfa43c5=_0x20e566[_0x5b6108];if(_0x3a89fa['allows'](_0xfa43c5)&&(-0x1==_0x2783ef['token']['value']||_0x2783ef['token']['value']==_0xfa43c5||_0x425f59(_0xfa43c5,_0x2783ef['token']['value'],_0x3dfefe,_0x38afc9))){_0x2783ef['acceptToken'](_0xfa43c5);break;}}let _0x4042aa=_0x2783ef['next'],_0x53754e=0x0,_0x2aefa7=_0x20e566[_0x5c5e13+0x2];if(!(_0x2783ef['next']<0x0&&_0x2aefa7>_0x53754e&&0xffff==_0x20e566[_0xeb514e+0x3*_0x2aefa7-0x3])){for(;_0x53754e<_0x2aefa7;){let _0x2311ea=_0x53754e+_0x2aefa7>>0x1,_0x42f4c5=_0xeb514e+_0x2311ea+(_0x2311ea<<0x1),_0x59ddfd=_0x20e566[_0x42f4c5],_0x5e4714=_0x20e566[_0x42f4c5+0x1]||0x10000;if(_0x4042aa<_0x59ddfd)_0x2aefa7=_0x2311ea;else{if(!(_0x4042aa>=_0x5e4714)){_0x5c5e13=_0x20e566[_0x42f4c5+0x2],_0x2783ef['advance']();continue t;}_0x53754e=_0x2311ea+0x1;}}break;}_0x5c5e13=_0x20e566[_0xeb514e+0x3*_0x2aefa7-0x1];}}function _0x48e088(_0x3ef067,_0x55eafa,_0x43c0f8){for(let _0x38b4f6,_0x422600=_0x55eafa;0xffff!=(_0x38b4f6=_0x3ef067[_0x422600]);_0x422600++)if(_0x38b4f6==_0x43c0f8)return _0x422600-_0x55eafa;return-0x1;}function _0x425f59(_0x1227c5,_0x45b62a,_0x10aa50,_0x2546a6){let _0x3aa0ed=_0x48e088(_0x10aa50,_0x2546a6,_0x45b62a);return _0x3aa0ed<0x0||_0x48e088(_0x10aa50,_0x2546a6,_0x1227c5)<_0x3aa0ed;}const _0x517c07='undefined'!=typeof process&&process['env']&&/\bparse\b/['test'](process['env']['LOG']);let _0x15696a=null;function _0x3a185e(_0x1a5fdd,_0x5c437e,_0x547f9e){let _0x55c15e=_0x1a5fdd['cursor'](_0x11378c['IncludeAnonymous']);for(_0x55c15e['moveTo'](_0x5c437e);;)if(!(_0x547f9e<0x0?_0x55c15e['childBefore'](_0x5c437e):_0x55c15e['childAfter'](_0x5c437e)))for(;;){if((_0x547f9e<0x0?_0x55c15e['to']<_0x5c437e:_0x55c15e['from']>_0x5c437e)&&!_0x55c15e['type']['isError'])return _0x547f9e<0x0?Math['max'](0x0,Math['min'](_0x55c15e['to']-0x1,_0x5c437e-0x19)):Math['min'](_0x1a5fdd['length'],Math['max'](_0x55c15e['from']+0x1,_0x5c437e+0x19));if(_0x547f9e<0x0?_0x55c15e['prevSibling']():_0x55c15e['nextSibling']())break;if(!_0x55c15e['parent']())return _0x547f9e<0x0?0x0:_0x1a5fdd['length'];}}let _0x1c099c=class FragmentCursor{constructor(_0x557f15,_0x229f67){this['fragments']=_0x557f15,this['nodeSet']=_0x229f67,this['i']=0x0,this['fragment']=null,this['safeFrom']=-0x1,this['safeTo']=-0x1,this['trees']=[],this['start']=[],this['index']=[],this['nextFragment']();}['nextFragment'](){let _0x137c05=this['fragment']=this['i']==this['fragments']['length']?null:this['fragments'][this['i']++];if(_0x137c05){for(this['safeFrom']=_0x137c05['openStart']?_0x3a185e(_0x137c05['tree'],_0x137c05['from']+_0x137c05['offset'],0x1)-_0x137c05['offset']:_0x137c05['from'],this['safeTo']=_0x137c05['openEnd']?_0x3a185e(_0x137c05['tree'],_0x137c05['to']+_0x137c05['offset'],-0x1)-_0x137c05['offset']:_0x137c05['to'];this['trees']['length'];)this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();this['trees']['push'](_0x137c05['tree']),this['start']['push'](-_0x137c05['offset']),this['index']['push'](0x0),this['nextStart']=this['safeFrom'];}else this['nextStart']=0x3b9aca00;}['nodeAt'](_0x498569){if(_0x498569<this['nextStart'])return null;for(;this['fragment']&&this['safeTo']<=_0x498569;)this['nextFragment']();if(!this['fragment'])return null;for(;;){let _0x41665f=this['trees']['length']-0x1;if(_0x41665f<0x0)return this['nextFragment'](),null;let _0x5c5af9=this['trees'][_0x41665f],_0x5df750=this['index'][_0x41665f];if(_0x5df750==_0x5c5af9['children']['length']){this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();continue;}let _0x568cff=_0x5c5af9['children'][_0x5df750],_0x527abf=this['start'][_0x41665f]+_0x5c5af9['positions'][_0x5df750];if(_0x527abf>_0x498569)return this['nextStart']=_0x527abf,null;if(_0x568cff instanceof _0x3af464){if(_0x527abf==_0x498569){if(_0x527abf<this['safeFrom'])return null;let _0x42a324=_0x527abf+_0x568cff['length'];if(_0x42a324<=this['safeTo']){let _0x48a24b=_0x568cff['prop'](_0x17497f['lookAhead']);if(!_0x48a24b||_0x42a324+_0x48a24b<this['fragment']['to'])return _0x568cff;}}this['index'][_0x41665f]++,_0x527abf+_0x568cff['length']>=Math['max'](this['safeFrom'],_0x498569)&&(this['trees']['push'](_0x568cff),this['start']['push'](_0x527abf),this['index']['push'](0x0));}else this['index'][_0x41665f]++,this['nextStart']=_0x527abf+_0x568cff['length'];}}};class _0x36058d{constructor(_0x47731d,_0x49fcaf){this['stream']=_0x49fcaf,this['tokens']=[],this['mainToken']=null,this['actions']=[],this['tokens']=_0x47731d['tokenizers']['map'](_0x517e42=>new _0x4bce59());}['getActions'](_0x47a53f){let _0x35273a=0x0,_0x5db799=null,{parser:_0x22fa20}=_0x47a53f['p'],{tokenizers:_0x50ec87}=_0x22fa20,_0x12e943=_0x22fa20['stateSlot'](_0x47a53f['state'],0x3),_0x155e04=_0x47a53f['curContext']?_0x47a53f['curContext']['hash']:0x0,_0x3e68fa=0x0;for(let _0x5e6759=0x0;_0x5e6759<_0x50ec87['length'];_0x5e6759++){if(!(0x1<<_0x5e6759&_0x12e943))continue;let _0x54825d=_0x50ec87[_0x5e6759],_0x5840e4=this['tokens'][_0x5e6759];if((!_0x5db799||_0x54825d['fallback'])&&((_0x54825d['contextual']||_0x5840e4['start']!=_0x47a53f['pos']||_0x5840e4['mask']!=_0x12e943||_0x5840e4['context']!=_0x155e04)&&(this['updateCachedToken'](_0x5840e4,_0x54825d,_0x47a53f),_0x5840e4['mask']=_0x12e943,_0x5840e4['context']=_0x155e04),_0x5840e4['lookAhead']>_0x5840e4['end']+0x19&&(_0x3e68fa=Math['max'](_0x5840e4['lookAhead'],_0x3e68fa)),0x0!=_0x5840e4['value'])){let _0x1e4367=_0x35273a;if(_0x5840e4['extended']>-0x1&&(_0x35273a=this['addActions'](_0x47a53f,_0x5840e4['extended'],_0x5840e4['end'],_0x35273a)),_0x35273a=this['addActions'](_0x47a53f,_0x5840e4['value'],_0x5840e4['end'],_0x35273a),!_0x54825d['extend']&&(_0x5db799=_0x5840e4,_0x35273a>_0x1e4367))break;}}for(;this['actions']['length']>_0x35273a;)this['actions']['pop']();return _0x3e68fa&&_0x47a53f['setLookAhead'](_0x3e68fa),_0x5db799||_0x47a53f['pos']!=this['stream']['end']||(_0x5db799=new _0x4bce59(),_0x5db799['value']=_0x47a53f['p']['parser']['eofTerm'],_0x5db799['start']=_0x5db799['end']=_0x47a53f['pos'],_0x35273a=this['addActions'](_0x47a53f,_0x5db799['value'],_0x5db799['end'],_0x35273a)),this['mainToken']=_0x5db799,this['actions'];}['getMainToken'](_0x39fae){if(this['mainToken'])return this['mainToken'];let _0x19cfc7=new _0x4bce59(),{pos:_0x2553f1,p:_0x678e84}=_0x39fae;return _0x19cfc7['start']=_0x2553f1,_0x19cfc7['end']=Math['min'](_0x2553f1+0x1,_0x678e84['stream']['end']),_0x19cfc7['value']=_0x2553f1==_0x678e84['stream']['end']?_0x678e84['parser']['eofTerm']:0x0,_0x19cfc7;}['updateCachedToken'](_0x33f464,_0xd3f036,_0x2dcf04){let _0x32153c=this['stream']['clipPos'](_0x2dcf04['pos']);if(_0xd3f036['token'](this['stream']['reset'](_0x32153c,_0x33f464),_0x2dcf04),_0x33f464['value']>-0x1){let {parser:_0x9c7ce1}=_0x2dcf04['p'];for(let _0x44fe90=0x0;_0x44fe90<_0x9c7ce1['specialized']['length'];_0x44fe90++)if(_0x9c7ce1['specialized'][_0x44fe90]==_0x33f464['value']){let _0x5e7c41=_0x9c7ce1['specializers'][_0x44fe90](this['stream']['read'](_0x33f464['start'],_0x33f464['end']),_0x2dcf04);if(_0x5e7c41>=0x0&&_0x2dcf04['p']['parser']['dialect']['allows'](_0x5e7c41>>0x1)){0x1&_0x5e7c41?_0x33f464['extended']=_0x5e7c41>>0x1:_0x33f464['value']=_0x5e7c41>>0x1;break;}}}else _0x33f464['value']=0x0,_0x33f464['end']=this['stream']['clipPos'](_0x32153c+0x1);}['putAction'](_0x27e73b,_0x3d1526,_0x257b02,_0x35bb91){for(let _0xc75e5d=0x0;_0xc75e5d<_0x35bb91;_0xc75e5d+=0x3)if(this['actions'][_0xc75e5d]==_0x27e73b)return _0x35bb91;return this['actions'][_0x35bb91++]=_0x27e73b,this['actions'][_0x35bb91++]=_0x3d1526,this['actions'][_0x35bb91++]=_0x257b02,_0x35bb91;}['addActions'](_0x5276fc,_0x114a08,_0x3053a7,_0x46fd13){let {state:_0x44f625}=_0x5276fc,{parser:_0x2c636d}=_0x5276fc['p'],{data:_0x4f2b48}=_0x2c636d;for(let _0x40fb27=0x0;_0x40fb27<0x2;_0x40fb27++)for(let _0x45fc4d=_0x2c636d['stateSlot'](_0x44f625,_0x40fb27?0x2:0x1);;_0x45fc4d+=0x3){if(0xffff==_0x4f2b48[_0x45fc4d]){if(0x1!=_0x4f2b48[_0x45fc4d+0x1]){0x0==_0x46fd13&&0x2==_0x4f2b48[_0x45fc4d+0x1]&&(_0x46fd13=this['putAction'](_0x4d4be6(_0x4f2b48,_0x45fc4d+0x2),_0x114a08,_0x3053a7,_0x46fd13));break;}_0x45fc4d=_0x4d4be6(_0x4f2b48,_0x45fc4d+0x2);}_0x4f2b48[_0x45fc4d]==_0x114a08&&(_0x46fd13=this['putAction'](_0x4d4be6(_0x4f2b48,_0x45fc4d+0x1),_0x114a08,_0x3053a7,_0x46fd13));}return _0x46fd13;}}class _0x3adf42{constructor(_0x24c84e,_0x21a82f,_0x1735ee,_0x2441d1){this['parser']=_0x24c84e,this['input']=_0x21a82f,this['ranges']=_0x2441d1,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(_0x21a82f,_0x2441d1),this['tokens']=new _0x36058d(_0x24c84e,this['stream']),this['topTerm']=_0x24c84e['top'][0x1];let {from:_0x174c45}=_0x2441d1[0x0];this['stacks']=[Stack['start'](this,_0x24c84e['top'][0x0],_0x174c45)],this['fragments']=_0x1735ee['length']&&this['stream']['end']-_0x174c45>0x4*_0x24c84e['bufferLength']?new _0x1c099c(_0x1735ee,_0x24c84e['nodeSet']):null;}get['parsedPos'](){return this['minStackPos'];}['advance'](){let _0x4532f7,_0x1eae69,_0x124462=this['stacks'],_0x34833a=this['minStackPos'],_0x300220=this['stacks']=[];if(this['bigReductionCount']>0x12c&&0x1==_0x124462['length']){let [_0x32f1e8]=_0x124462;for(;_0x32f1e8['forceReduce']()&&_0x32f1e8['stack']['length']&&_0x32f1e8['stack'][_0x32f1e8['stack']['length']-0x2]>=this['lastBigReductionStart'];);this['bigReductionCount']=this['lastBigReductionSize']=0x0;}for(let _0x192621=0x0;_0x192621<_0x124462['length'];_0x192621++){let _0x431075=_0x124462[_0x192621];for(;;){if(this['tokens']['mainToken']=null,_0x431075['pos']>_0x34833a)_0x300220['push'](_0x431075);else{if(this['advanceStack'](_0x431075,_0x300220,_0x124462))continue;{_0x4532f7||(_0x4532f7=[],_0x1eae69=[]),_0x4532f7['push'](_0x431075);let _0xcd9895=this['tokens']['getMainToken'](_0x431075);_0x1eae69['push'](_0xcd9895['value'],_0xcd9895['end']);}}break;}}if(!_0x300220['length']){let _0x544957=_0x4532f7&&function(_0xc804b4){let _0x4049b6=null;for(let _0x2f0306 of _0xc804b4){let _0x322229=_0x2f0306['p']['stoppedAt'];(_0x2f0306['pos']==_0x2f0306['p']['stream']['end']||null!=_0x322229&&_0x2f0306['pos']>_0x322229)&&_0x2f0306['p']['parser']['stateFlag'](_0x2f0306['state'],0x2)&&(!_0x4049b6||_0x4049b6['score']<_0x2f0306['score'])&&(_0x4049b6=_0x2f0306);}return _0x4049b6;}(_0x4532f7);if(_0x544957)return _0x517c07&&console['log']('Finish\x20with\x20'+this['stackID'](_0x544957)),this['stackToTree'](_0x544957);if(this['parser']['strict'])throw _0x517c07&&_0x4532f7&&console['log']('Stuck\x20with\x20token\x20'+(this['tokens']['mainToken']?this['parser']['getName'](this['tokens']['mainToken']['value']):'none')),new SyntaxError('No\x20parse\x20at\x20'+_0x34833a);this['recovering']||(this['recovering']=0x5);}if(this['recovering']&&_0x4532f7){let _0x3e9a0c=null!=this['stoppedAt']&&_0x4532f7[0x0]['pos']>this['stoppedAt']?_0x4532f7[0x0]:this['runRecovery'](_0x4532f7,_0x1eae69,_0x300220);if(_0x3e9a0c)return _0x517c07&&console['log']('Force-finish\x20'+this['stackID'](_0x3e9a0c)),this['stackToTree'](_0x3e9a0c['forceAll']());}if(this['recovering']){let _0x341389=0x1==this['recovering']?0x1:0x3*this['recovering'];if(_0x300220['length']>_0x341389){for(_0x300220['sort']((_0x3bf254,_0x568243)=>_0x568243['score']-_0x3bf254['score']);_0x300220['length']>_0x341389;)_0x300220['pop']();}_0x300220['some'](_0x56a55d=>_0x56a55d['reducePos']>_0x34833a)&&this['recovering']--;}else{if(_0x300220['length']>0x1){t:for(let _0x151b4c=0x0;_0x151b4c<_0x300220['length']-0x1;_0x151b4c++){let _0xcaf935=_0x300220[_0x151b4c];for(let _0x4851be=_0x151b4c+0x1;_0x4851be<_0x300220['length'];_0x4851be++){let _0x32b5da=_0x300220[_0x4851be];if(_0xcaf935['sameState'](_0x32b5da)||_0xcaf935['buffer']['length']>0x1f4&&_0x32b5da['buffer']['length']>0x1f4){if(!((_0xcaf935['score']-_0x32b5da['score']||_0xcaf935['buffer']['length']-_0x32b5da['buffer']['length'])>0x0)){_0x300220['splice'](_0x151b4c--,0x1);continue t;}_0x300220['splice'](_0x4851be--,0x1);}}}_0x300220['length']>0xc&&_0x300220['splice'](0xc,_0x300220['length']-0xc);}}this['minStackPos']=_0x300220[0x0]['pos'];for(let _0x17393c=0x1;_0x17393c<_0x300220['length'];_0x17393c++)_0x300220[_0x17393c]['pos']<this['minStackPos']&&(this['minStackPos']=_0x300220[_0x17393c]['pos']);return null;}['stopAt'](_0x4ead33){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x4ead33)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x4ead33;}['advanceStack'](_0x23080e,_0x77eb6,_0x57c935){let _0x4a50ba=_0x23080e['pos'],{parser:_0x315fc9}=this,_0x4154fa=_0x517c07?this['stackID'](_0x23080e)+'\x20->\x20':'';if(null!=this['stoppedAt']&&_0x4a50ba>this['stoppedAt'])return _0x23080e['forceReduce']()?_0x23080e:null;if(this['fragments']){let _0x32c32f=_0x23080e['curContext']&&_0x23080e['curContext']['tracker']['strict'],_0x5eea73=_0x32c32f?_0x23080e['curContext']['hash']:0x0;for(let _0x460bb3=this['fragments']['nodeAt'](_0x4a50ba);_0x460bb3;){let _0x4c1842=this['parser']['nodeSet']['types'][_0x460bb3['type']['id']]==_0x460bb3['type']?_0x315fc9['getGoto'](_0x23080e['state'],_0x460bb3['type']['id']):-0x1;if(_0x4c1842>-0x1&&_0x460bb3['length']&&(!_0x32c32f||(_0x460bb3['prop'](_0x17497f['contextHash'])||0x0)==_0x5eea73))return _0x23080e['useNode'](_0x460bb3,_0x4c1842),_0x517c07&&console['log'](_0x4154fa+this['stackID'](_0x23080e)+('\x20(via\x20reuse\x20of\x20'+_0x315fc9['getName'](_0x460bb3['type']['id'])+')')),!0x0;if(!(_0x460bb3 instanceof _0x3af464)||0x0==_0x460bb3['children']['length']||_0x460bb3['positions'][0x0]>0x0)break;let _0x83590f=_0x460bb3['children'][0x0];if(!(_0x83590f instanceof _0x3af464&&0x0==_0x460bb3['positions'][0x0]))break;_0x460bb3=_0x83590f;}}let _0x2fefc5=_0x315fc9['stateSlot'](_0x23080e['state'],0x4);if(_0x2fefc5>0x0)return _0x23080e['reduce'](_0x2fefc5),_0x517c07&&console['log'](_0x4154fa+this['stackID'](_0x23080e)+('\x20(via\x20always-reduce\x20'+_0x315fc9['getName'](0xffff&_0x2fefc5)+')')),!0x0;if(_0x23080e['stack']['length']>=0x20d0){for(;_0x23080e['stack']['length']>0x1770&&_0x23080e['forceReduce'](););}let _0x292a6f=this['tokens']['getActions'](_0x23080e);for(let _0x327123=0x0;_0x327123<_0x292a6f['length'];){let _0x45d029=_0x292a6f[_0x327123++],_0x193220=_0x292a6f[_0x327123++],_0x53d755=_0x292a6f[_0x327123++],_0x2ab427=_0x327123==_0x292a6f['length']||!_0x57c935,_0x424989=_0x2ab427?_0x23080e:_0x23080e['split'](),_0x57661f=this['tokens']['mainToken'];if(_0x424989['apply'](_0x45d029,_0x193220,_0x57661f?_0x57661f['start']:_0x424989['pos'],_0x53d755),_0x517c07&&console['log'](_0x4154fa+this['stackID'](_0x424989)+('\x20(via\x20'+(0x10000&_0x45d029?'reduce\x20of\x20'+_0x315fc9['getName'](0xffff&_0x45d029):'shift')+'\x20for\x20'+_0x315fc9['getName'](_0x193220)+'\x20@\x20'+_0x4a50ba+(_0x424989==_0x23080e?'':',\x20split')+')')),_0x2ab427)return!0x0;_0x424989['pos']>_0x4a50ba?_0x77eb6['push'](_0x424989):_0x57c935['push'](_0x424989);}return!0x1;}['advanceFully'](_0x339b75,_0x5f03fa){let _0x287f76=_0x339b75['pos'];for(;;){if(!this['advanceStack'](_0x339b75,null,null))return!0x1;if(_0x339b75['pos']>_0x287f76)return _0x97da50(_0x339b75,_0x5f03fa),!0x0;}}['runRecovery'](_0x47f164,_0x8713ef,_0x5b7d6a){let _0x3de28f=null,_0x4f753a=!0x1;for(let _0x19231e=0x0;_0x19231e<_0x47f164['length'];_0x19231e++){let _0x3b0c95=_0x47f164[_0x19231e],_0x1ea492=_0x8713ef[_0x19231e<<0x1],_0x2af240=_0x8713ef[0x1+(_0x19231e<<0x1)],_0x378c19=_0x517c07?this['stackID'](_0x3b0c95)+'\x20->\x20':'';if(_0x3b0c95['deadEnd']){if(_0x4f753a)continue;if(_0x4f753a=!0x0,_0x3b0c95['restart'](),_0x517c07&&console['log'](_0x378c19+this['stackID'](_0x3b0c95)+'\x20(restarted)'),this['advanceFully'](_0x3b0c95,_0x5b7d6a))continue;}let _0x208a16=_0x3b0c95['split'](),_0x37e808=_0x378c19;for(let _0x123395=0x0;_0x123395<0xa&&_0x208a16['forceReduce']();_0x123395++){if(_0x517c07&&console['log'](_0x37e808+this['stackID'](_0x208a16)+'\x20(via\x20force-reduce)'),this['advanceFully'](_0x208a16,_0x5b7d6a))break;_0x517c07&&(_0x37e808=this['stackID'](_0x208a16)+'\x20->\x20');}for(let _0x34b0e8 of _0x3b0c95['recoverByInsert'](_0x1ea492))_0x517c07&&console['log'](_0x378c19+this['stackID'](_0x34b0e8)+'\x20(via\x20recover-insert)'),this['advanceFully'](_0x34b0e8,_0x5b7d6a);this['stream']['end']>_0x3b0c95['pos']?(_0x2af240==_0x3b0c95['pos']&&(_0x2af240++,_0x1ea492=0x0),_0x3b0c95['recoverByDelete'](_0x1ea492,_0x2af240),_0x517c07&&console['log'](_0x378c19+this['stackID'](_0x3b0c95)+('\x20(via\x20recover-delete\x20'+this['parser']['getName'](_0x1ea492)+')')),_0x97da50(_0x3b0c95,_0x5b7d6a)):(!_0x3de28f||_0x3de28f['score']<_0x3b0c95['score'])&&(_0x3de28f=_0x3b0c95);}return _0x3de28f;}['stackToTree'](_0x54fdde){return _0x54fdde['close'](),_0x3af464['build']({'buffer':StackBufferCursor['create'](_0x54fdde),'nodeSet':this['parser']['nodeSet'],'topID':this['topTerm'],'maxBufferLength':this['parser']['bufferLength'],'reused':this['reused'],'start':this['ranges'][0x0]['from'],'length':_0x54fdde['pos']-this['ranges'][0x0]['from'],'minRepeatType':this['parser']['minRepeatTerm']});}['stackID'](_0x182e33){let _0x5c47d4=(_0x15696a||(_0x15696a=new WeakMap()))['get'](_0x182e33);return _0x5c47d4||_0x15696a['set'](_0x182e33,_0x5c47d4=String['fromCodePoint'](this['nextStackID']++)),_0x5c47d4+_0x182e33;}}function _0x97da50(_0x2b5a01,_0x1c604c){for(let _0x64a652=0x0;_0x64a652<_0x1c604c['length'];_0x64a652++){let _0x57ddaa=_0x1c604c[_0x64a652];if(_0x57ddaa['pos']==_0x2b5a01['pos']&&_0x57ddaa['sameState'](_0x2b5a01))return void(_0x1c604c[_0x64a652]['score']<_0x2b5a01['score']&&(_0x1c604c[_0x64a652]=_0x2b5a01));}_0x1c604c['push'](_0x2b5a01);}class Dialect{constructor(_0x2c43ca,_0x6e1b4a,_0x4b475d){this['source']=_0x2c43ca,this['flags']=_0x6e1b4a,this['disabled']=_0x4b475d;}['allows'](_0x4782dc){return!this['disabled']||0x0==this['disabled'][_0x4782dc];}}const _0x148c7f=_0x1ea17c=>_0x1ea17c;class ContextTracker{constructor(_0x92cd41){this['start']=_0x92cd41['start'],this['shift']=_0x92cd41['shift']||_0x148c7f,this['reduce']=_0x92cd41['reduce']||_0x148c7f,this['reuse']=_0x92cd41['reuse']||_0x148c7f,this['hash']=_0x92cd41['hash']||(()=>0x0),this['strict']=!0x1!==_0x92cd41['strict'];}}class _0x40c2c1 extends _0x378e00{constructor(_0x23ca12){if(super(),this['wrappers']=[],0xe!=_0x23ca12['version'])throw new RangeError('Parser\x20version\x20('+_0x23ca12['version']+')\x20doesn\x27t\x20match\x20runtime\x20version\x20(14)');let _0x3828e0=_0x23ca12['nodeNames']['split']('\x20');this['minRepeatTerm']=_0x3828e0['length'];for(let _0x47fd5f=0x0;_0x47fd5f<_0x23ca12['repeatNodeCount'];_0x47fd5f++)_0x3828e0['push']('');let _0x2fd6cc=Object['keys'](_0x23ca12['topRules'])['map'](_0x1ac6c1=>_0x23ca12['topRules'][_0x1ac6c1][0x1]),_0x9870f8=[];for(let _0x23b083=0x0;_0x23b083<_0x3828e0['length'];_0x23b083++)_0x9870f8['push']([]);function _0x1f5291(_0x4d6ed0,_0xff7151,_0x4af65e){_0x9870f8[_0x4d6ed0]['push']([_0xff7151,_0xff7151['deserialize'](String(_0x4af65e))]);}if(_0x23ca12['nodeProps'])for(let _0x3094a5 of _0x23ca12['nodeProps']){let _0x5658ce=_0x3094a5[0x0];'string'==typeof _0x5658ce&&(_0x5658ce=_0x17497f[_0x5658ce]);for(let _0x305646=0x1;_0x305646<_0x3094a5['length'];){let _0x114c8d=_0x3094a5[_0x305646++];if(_0x114c8d>=0x0)_0x1f5291(_0x114c8d,_0x5658ce,_0x3094a5[_0x305646++]);else{let _0x52e1ca=_0x3094a5[_0x305646+-_0x114c8d];for(let _0x5491ff=-_0x114c8d;_0x5491ff>0x0;_0x5491ff--)_0x1f5291(_0x3094a5[_0x305646++],_0x5658ce,_0x52e1ca);_0x305646++;}}}this['nodeSet']=new NodeSet(_0x3828e0['map']((_0x5706ab,_0x16e81a)=>_0x215dc9['define']({'name':_0x16e81a>=this['minRepeatTerm']?void 0x0:_0x5706ab,'id':_0x16e81a,'props':_0x9870f8[_0x16e81a],'top':_0x2fd6cc['indexOf'](_0x16e81a)>-0x1,'error':0x0==_0x16e81a,'skipped':_0x23ca12['skippedNodes']&&_0x23ca12['skippedNodes']['indexOf'](_0x16e81a)>-0x1}))),_0x23ca12['propSources']&&(this['nodeSet']=this['nodeSet']['extend'](..._0x23ca12['propSources'])),this['strict']=!0x1,this['bufferLength']=_0x2141db;let _0x38c858=_0x3710ce(_0x23ca12['tokenData']);this['context']=_0x23ca12['context'],this['specializerSpecs']=_0x23ca12['specialized']||[],this['specialized']=new Uint16Array(this['specializerSpecs']['length']);for(let _0x1609be=0x0;_0x1609be<this['specializerSpecs']['length'];_0x1609be++)this['specialized'][_0x1609be]=this['specializerSpecs'][_0x1609be]['term'];this['specializers']=this['specializerSpecs']['map'](_0x1cc83b),this['states']=_0x3710ce(_0x23ca12['states'],Uint32Array),this['data']=_0x3710ce(_0x23ca12['stateData']),this['goto']=_0x3710ce(_0x23ca12['goto']),this['maxTerm']=_0x23ca12['maxTerm'],this['tokenizers']=_0x23ca12['tokenizers']['map'](_0x5ed31f=>'number'==typeof _0x5ed31f?new _0x154dc5(_0x38c858,_0x5ed31f):_0x5ed31f),this['topRules']=_0x23ca12['topRules'],this['dialects']=_0x23ca12['dialects']||{},this['dynamicPrecedences']=_0x23ca12['dynamicPrecedences']||null,this['tokenPrecTable']=_0x23ca12['tokenPrec'],this['termNames']=_0x23ca12['termNames']||null,this['maxNode']=this['nodeSet']['types']['length']-0x1,this['dialect']=this['parseDialect'](),this['top']=this['topRules'][Object['keys'](this['topRules'])[0x0]];}['createParse'](_0x17dbe1,_0x2519fd,_0x3189a5){let _0x5c0586=new _0x3adf42(this,_0x17dbe1,_0x2519fd,_0x3189a5);for(let _0x26fe28 of this['wrappers'])_0x5c0586=_0x26fe28(_0x5c0586,_0x17dbe1,_0x2519fd,_0x3189a5);return _0x5c0586;}['getGoto'](_0x4529ae,_0x15f2b1,_0x4e97f1=!0x1){let _0x25b50f=this['goto'];if(_0x15f2b1>=_0x25b50f[0x0])return-0x1;for(let _0x3a0adf=_0x25b50f[_0x15f2b1+0x1];;){let _0x4bb4f4=_0x25b50f[_0x3a0adf++],_0x2e000e=0x1&_0x4bb4f4,_0x10c422=_0x25b50f[_0x3a0adf++];if(_0x2e000e&&_0x4e97f1)return _0x10c422;for(let _0x2e2a1f=_0x3a0adf+(_0x4bb4f4>>0x1);_0x3a0adf<_0x2e2a1f;_0x3a0adf++)if(_0x25b50f[_0x3a0adf]==_0x4529ae)return _0x10c422;if(_0x2e000e)return-0x1;}}['hasAction'](_0x491354,_0x240aac){let _0x2451eb=this['data'];for(let _0x496e51=0x0;_0x496e51<0x2;_0x496e51++)for(let _0x3982c2,_0x3d14bd=this['stateSlot'](_0x491354,_0x496e51?0x2:0x1);;_0x3d14bd+=0x3){if(0xffff==(_0x3982c2=_0x2451eb[_0x3d14bd])){if(0x1!=_0x2451eb[_0x3d14bd+0x1]){if(0x2==_0x2451eb[_0x3d14bd+0x1])return _0x4d4be6(_0x2451eb,_0x3d14bd+0x2);break;}_0x3982c2=_0x2451eb[_0x3d14bd=_0x4d4be6(_0x2451eb,_0x3d14bd+0x2)];}if(_0x3982c2==_0x240aac||0x0==_0x3982c2)return _0x4d4be6(_0x2451eb,_0x3d14bd+0x1);}return 0x0;}['stateSlot'](_0x3669ce,_0x33ae87){return this['states'][0x6*_0x3669ce+_0x33ae87];}['stateFlag'](_0x29d861,_0x442913){return(this['stateSlot'](_0x29d861,0x0)&_0x442913)>0x0;}['validAction'](_0x4c6d85,_0x54486d){return!!this['allActions'](_0x4c6d85,_0x2fca66=>_0x2fca66==_0x54486d||null);}['allActions'](_0x4be467,_0x32d257){let _0x598458=this['stateSlot'](_0x4be467,0x4),_0x3065cc=_0x598458?_0x32d257(_0x598458):void 0x0;for(let _0x1d0f8c=this['stateSlot'](_0x4be467,0x1);null==_0x3065cc;_0x1d0f8c+=0x3){if(0xffff==this['data'][_0x1d0f8c]){if(0x1!=this['data'][_0x1d0f8c+0x1])break;_0x1d0f8c=_0x4d4be6(this['data'],_0x1d0f8c+0x2);}_0x3065cc=_0x32d257(_0x4d4be6(this['data'],_0x1d0f8c+0x1));}return _0x3065cc;}['nextStates'](_0x3ac84d){let _0x298233=[];for(let _0x35db50=this['stateSlot'](_0x3ac84d,0x1);;_0x35db50+=0x3){if(0xffff==this['data'][_0x35db50]){if(0x1!=this['data'][_0x35db50+0x1])break;_0x35db50=_0x4d4be6(this['data'],_0x35db50+0x2);}if(!(0x1&this['data'][_0x35db50+0x2])){let _0x4d1965=this['data'][_0x35db50+0x1];_0x298233['some']((_0x2d4822,_0x4db73a)=>0x1&_0x4db73a&&_0x2d4822==_0x4d1965)||_0x298233['push'](this['data'][_0x35db50],_0x4d1965);}}return _0x298233;}['configure'](_0x95aab6){let _0x27cbac=Object['assign'](Object['create'](_0x40c2c1['prototype']),this);if(_0x95aab6['props']&&(_0x27cbac['nodeSet']=this['nodeSet']['extend'](..._0x95aab6['props'])),_0x95aab6['top']){let _0x47d283=this['topRules'][_0x95aab6['top']];if(!_0x47d283)throw new RangeError('Invalid\x20top\x20rule\x20name\x20'+_0x95aab6['top']);_0x27cbac['top']=_0x47d283;}return _0x95aab6['tokenizers']&&(_0x27cbac['tokenizers']=this['tokenizers']['map'](t=>{let _0x4a8b2c=_0x95aab6['tokenizers']['find'](_0x134088=>_0x134088['from']==t);return _0x4a8b2c?_0x4a8b2c['to']:t;})),_0x95aab6['specializers']&&(_0x27cbac['specializers']=this['specializers']['slice'](),_0x27cbac['specializerSpecs']=this['specializerSpecs']['map']((_0xc3935f,_0x5b3298)=>{let _0x5a0d7d=_0x95aab6['specializers']['find'](_0x4ca768=>_0x4ca768['from']==_0xc3935f['external']);if(!_0x5a0d7d)return _0xc3935f;let _0x382496=Object['assign'](Object['assign']({},_0xc3935f),{'external':_0x5a0d7d['to']});return _0x27cbac['specializers'][_0x5b3298]=_0x1cc83b(_0x382496),_0x382496;})),_0x95aab6['contextTracker']&&(_0x27cbac['context']=_0x95aab6['contextTracker']),_0x95aab6['dialect']&&(_0x27cbac['dialect']=this['parseDialect'](_0x95aab6['dialect'])),null!=_0x95aab6['strict']&&(_0x27cbac['strict']=_0x95aab6['strict']),_0x95aab6['wrap']&&(_0x27cbac['wrappers']=_0x27cbac['wrappers']['concat'](_0x95aab6['wrap'])),null!=_0x95aab6['bufferLength']&&(_0x27cbac['bufferLength']=_0x95aab6['bufferLength']),_0x27cbac;}['hasWrappers'](){return this['wrappers']['length']>0x0;}['getName'](_0x56d1d9){return this['termNames']?this['termNames'][_0x56d1d9]:String(_0x56d1d9<=this['maxNode']&&this['nodeSet']['types'][_0x56d1d9]['name']||_0x56d1d9);}get['eofTerm'](){return this['maxNode']+0x1;}get['topNode'](){return this['nodeSet']['types'][this['top'][0x1]];}['dynamicPrecedence'](_0x2d954f){let _0x1cd64b=this['dynamicPrecedences'];return null==_0x1cd64b?0x0:_0x1cd64b[_0x2d954f]||0x0;}['parseDialect'](_0x427950){let _0x133860=Object['keys'](this['dialects']),_0x4d3c30=_0x133860['map'](()=>!0x1);if(_0x427950)for(let _0x176ffd of _0x427950['split']('\x20')){let _0x2e2313=_0x133860['indexOf'](_0x176ffd);_0x2e2313>=0x0&&(_0x4d3c30[_0x2e2313]=!0x0);}let _0x21b355=null;for(let _0x4def46=0x0;_0x4def46<_0x133860['length'];_0x4def46++)if(!_0x4d3c30[_0x4def46]){for(let _0x51459b,_0x70f008=this['dialects'][_0x133860[_0x4def46]];0xffff!=(_0x51459b=this['data'][_0x70f008++]);)(_0x21b355||(_0x21b355=new Uint8Array(this['maxTerm']+0x1)))[_0x51459b]=0x1;}return new Dialect(_0x427950,_0x4d3c30,_0x21b355);}static['deserialize'](_0x3c2ad3){return new _0x40c2c1(_0x3c2ad3);}}function _0x4d4be6(_0x4cd5ee,_0x13e2b8){return _0x4cd5ee[_0x13e2b8]|_0x4cd5ee[_0x13e2b8+0x1]<<0x10;}function _0x1cc83b(_0x38bb16){if(_0x38bb16['external']){let _0x1ad547=_0x38bb16['extend']?0x1:0x0;return(_0x1874bb,_0x398658)=>_0x38bb16['external'](_0x1874bb,_0x398658)<<0x1|_0x1ad547;}return _0x38bb16['get'];}const _0x21d9a0={'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},_0x37978c={'dd':!0x0,'li':!0x0,'optgroup':!0x0,'option':!0x0,'p':!0x0,'rp':!0x0,'rt':!0x0,'tbody':!0x0,'td':!0x0,'tfoot':!0x0,'th':!0x0,'tr':!0x0},_0x141578={'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 _0x38a741(_0x413ad3){return 0x2d==_0x413ad3||0x2e==_0x413ad3||0x3a==_0x413ad3||_0x413ad3>=0x41&&_0x413ad3<=0x5a||0x5f==_0x413ad3||_0x413ad3>=0x61&&_0x413ad3<=0x7a||_0x413ad3>=0xa1;}let _0x393cd7=null,_0x442839=null,_0x2bf39c=0x0;function _0x1e16d3(_0x16b60e,_0x43f715){let _0x1cc9bf=_0x16b60e['pos']+_0x43f715;if(_0x2bf39c==_0x1cc9bf&&_0x442839==_0x16b60e)return _0x393cd7;let _0x559913=_0x16b60e['peek'](_0x43f715),_0x20d4de='';for(;_0x38a741(_0x559913);)_0x20d4de+=String['fromCharCode'](_0x559913),_0x559913=_0x16b60e['peek'](++_0x43f715);return _0x442839=_0x16b60e,_0x2bf39c=_0x1cc9bf,_0x393cd7=_0x20d4de?_0x20d4de['toLowerCase']():_0x559913==_0x254194||_0x559913==_0x5ee56c?void 0x0:null;}const _0x254194=0x3f,_0x5ee56c=0x21;function _0x4db8c8(_0x158a9d,_0x1efb20){this['name']=_0x158a9d,this['parent']=_0x1efb20;}const _0x21f04d=[0x6,0xa,0x7,0x8,0x9],_0x25c03a=new ContextTracker({'start':null,'shift':(_0x33b44e,_0x275ca1,_0x212cb3,_0x4210f8)=>_0x21f04d['indexOf'](_0x275ca1)>-0x1?new _0x4db8c8(_0x1e16d3(_0x4210f8,0x1)||'',_0x33b44e):_0x33b44e,'reduce':(_0x23bbe4,_0x3a31c6)=>0x15==_0x3a31c6&&_0x23bbe4?_0x23bbe4['parent']:_0x23bbe4,'reuse'(_0x42c5f2,_0x387318,_0x480ece,_0x5867fa){let _0xf8617a=_0x387318['type']['id'];return 0x6==_0xf8617a||0x25==_0xf8617a?new _0x4db8c8(_0x1e16d3(_0x5867fa,0x1)||'',_0x42c5f2):_0x42c5f2;},'strict':!0x1}),_0x2559d7=new ExternalTokenizer((_0x18a02f,_0xc010f4)=>{if(0x3c!=_0x18a02f['next'])return void(_0x18a02f['next']<0x0&&_0xc010f4['context']&&_0x18a02f['acceptToken'](0x3a));_0x18a02f['advance']();let _0x4d2304=0x2f==_0x18a02f['next'];_0x4d2304&&_0x18a02f['advance']();let _0x4b3273=_0x1e16d3(_0x18a02f,0x0);if(void 0x0===_0x4b3273)return;if(!_0x4b3273)return _0x18a02f['acceptToken'](_0x4d2304?0xf:0xe);let _0x21a145=_0xc010f4['context']?_0xc010f4['context']['name']:null;if(_0x4d2304){if(_0x4b3273==_0x21a145)return _0x18a02f['acceptToken'](0xb);if(_0x21a145&&_0x37978c[_0x21a145])return _0x18a02f['acceptToken'](0x3a,-0x2);if(_0xc010f4['dialectEnabled'](0x0))return _0x18a02f['acceptToken'](0xc);for(let _0x45bc02=_0xc010f4['context'];_0x45bc02;_0x45bc02=_0x45bc02['parent'])if(_0x45bc02['name']==_0x4b3273)return;_0x18a02f['acceptToken'](0xd);}else{if('script'==_0x4b3273)return _0x18a02f['acceptToken'](0x7);if('style'==_0x4b3273)return _0x18a02f['acceptToken'](0x8);if('textarea'==_0x4b3273)return _0x18a02f['acceptToken'](0x9);if(_0x21d9a0['hasOwnProperty'](_0x4b3273))return _0x18a02f['acceptToken'](0xa);_0x21a145&&_0x141578[_0x21a145]&&_0x141578[_0x21a145][_0x4b3273]?_0x18a02f['acceptToken'](0x3a,-0x1):_0x18a02f['acceptToken'](0x6);}},{'contextual':!0x0}),_0x1393da=new ExternalTokenizer(_0x15d7d9=>{for(let _0x810470=0x0,_0x30447e=0x0;;_0x30447e++){if(_0x15d7d9['next']<0x0){_0x30447e&&_0x15d7d9['acceptToken'](0x3b);break;}if(0x2d==_0x15d7d9['next'])_0x810470++;else{if(0x3e==_0x15d7d9['next']&&_0x810470>=0x2){_0x30447e>=0x3&&_0x15d7d9['acceptToken'](0x3b,-0x2);break;}_0x810470=0x0;}_0x15d7d9['advance']();}}),tS=new ExternalTokenizer((_0x22f79a,_0x584d13)=>{if(0x2f==_0x22f79a['next']&&0x3e==_0x22f79a['peek'](0x1)){let _0x512e42=_0x584d13['dialectEnabled'](0x1)||function(_0x56b16b){for(;_0x56b16b;_0x56b16b=_0x56b16b['parent'])if('svg'==_0x56b16b['name']||'math'==_0x56b16b['name'])return!0x0;return!0x1;}(_0x584d13['context']);_0x22f79a['acceptToken'](_0x512e42?0x5:0x4,0x2);}else 0x3e==_0x22f79a['next']&&_0x22f79a['acceptToken'](0x4,0x1);});function _0x57d770(_0x2d99e5,_0x45eab8,_0x5c95f1){let _0x3532fe=0x2+_0x2d99e5['length'];return new ExternalTokenizer(_0x5c9ffc=>{for(let _0x105ed8=0x0,_0x4ce397=0x0,_0x2cbb8a=0x0;;_0x2cbb8a++){if(_0x5c9ffc['next']<0x0){_0x2cbb8a&&_0x5c9ffc['acceptToken'](_0x45eab8);break;}if(0x0==_0x105ed8&&0x3c==_0x5c9ffc['next']||0x1==_0x105ed8&&0x2f==_0x5c9ffc['next']||_0x105ed8>=0x2&&_0x105ed8<_0x3532fe&&_0x5c9ffc['next']==_0x2d99e5['charCodeAt'](_0x105ed8-0x2))_0x105ed8++,_0x4ce397++;else{if(_0x105ed8==_0x3532fe&&0x3e==_0x5c9ffc['next']){_0x2cbb8a>_0x4ce397?_0x5c9ffc['acceptToken'](_0x45eab8,-_0x4ce397):_0x5c9ffc['acceptToken'](_0x5c95f1,-(_0x4ce397-0x2));break;}if((0xa==_0x5c9ffc['next']||0xd==_0x5c9ffc['next'])&&_0x2cbb8a){_0x5c9ffc['acceptToken'](_0x45eab8,0x1);break;}_0x105ed8=_0x4ce397=0x0;}_0x5c9ffc['advance']();}});}const _0x5f46c2=_0x57d770('script',0x37,0x1),_0x40ad27=_0x57d770('style',0x38,0x2),_0x16e6b7=_0x57d770('textarea',0x39,0x3),_0x54ab08=_0x39699e({'Text\x20RawText\x20IncompleteTag\x20IncompleteCloseTag':_0x1abe46['content'],'StartTag\x20StartCloseTag\x20SelfClosingEndTag\x20EndTag':_0x1abe46['angleBracket'],'TagName':_0x1abe46['tagName'],'MismatchedCloseTag/TagName':[_0x1abe46['tagName'],_0x1abe46['invalid']],'AttributeName':_0x1abe46['attributeName'],'AttributeValue\x20UnquotedAttributeValue':_0x1abe46['attributeValue'],'Is':_0x1abe46['definitionOperator'],'EntityReference\x20CharacterReference':_0x1abe46['character'],'Comment':_0x1abe46['blockComment'],'ProcessingInst':_0x1abe46['processingInstruction'],'DoctypeDecl':_0x1abe46['documentMeta']}),_0x3d5dc7=_0x40c2c1['deserialize']({'version':0xe,'states':',xOVO!rOOO!ZQ#tO\x27#CrO!`Q#tO\x27#C{O!eQ#tO\x27#DOO!jQ#tO\x27#DRO!oQ#tO\x27#DTO!tOaO\x27#CqO#PObO\x27#CqO#[OdO\x27#CqO$kO!rO\x27#CqOOO`\x27#Cq\x27#CqO$rO$fO\x27#DUO$zQ#tO\x27#DWO%PQ#tO\x27#DXOOO`\x27#Dl\x27#DlOOO`\x27#DZ\x27#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ&rO,59mO&SQ&rO,59oOOOa\x27#D_\x27#D_O&_OaO\x27#CyO&jOaO,59]OOOb\x27#D`\x27#D`O&rObO\x27#C|O&}ObO,59]OOOd\x27#Da\x27#DaO\x27VOdO\x27#DPO\x27bOdO,59]OOO`\x27#Db\x27#DbO\x27jO!rO,59]O\x27qQ#tO\x27#DSOOO`,59],59]OOOp\x27#Dc\x27#DcO\x27vO$fO,59pOOO`,59p,59pO(OQ#|O,59rO(TQ#|O,59sOOO`-E7X-E7XO(YQ&rO\x27#CtOOQW\x27#D[\x27#D[O(hQ&rO1G.xOOOa1G.x1G.xOOO`1G/Z1G/ZO(sQ&rO1G/ROOOb1G/R1G/RO)OQ&rO1G/UOOOd1G/U1G/UO)ZQ&rO1G/XOOO`1G/X1G/XO)fQ&rO1G/ZOOOa-E7]-E7]O)qQ#tO\x27#CzOOO`1G.w1G.wOOOb-E7^-E7^O)vQ#tO\x27#C}OOOd-E7_-E7_O){Q#tO\x27#DQOOO`-E7`-E7`O*QQ#|O,59nOOOp-E7a-E7aOOO`1G/[1G/[OOO`1G/^1G/^OOO`1G/_1G/_O*VQ,UO,59`OOQW-E7Y-E7YOOOa7+$d7+$dOOO`7+$u7+$uOOOb7+$m7+$mOOOd7+$p7+$pOOO`7+$s7+$sO*bQ#|O,59fO*gQ#|O,59iO*lQ#|O,59lOOO`1G/Y1G/YO*qO7[O\x27#CwO+SOMhO\x27#CwOOQW1G.z1G.zOOO`1G/Q1G/QOOO`1G/T1G/TOOO`1G/W1G/WOOOO\x27#D]\x27#D]O+eO7[O,59cOOQW,59c,59cOOOO\x27#D^\x27#D^O+vOMhO,59cOOOO-E7Z-E7ZOOQW1G.}1G.}OOOO-E7[-E7[','stateData':',c~O!_OS~OUSOVPOWQOXROYTO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O|_O!eZO~OgaO~OgbO~OgcO~OgdO~OgeO~O!XfOPmP![mP~O!YiOQpP![pP~O!ZlORsP![sP~OUSOVPOWQOXROYTOZqO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O!eZO~O![rO~P#gO!]sO!fuO~OgvO~OgwO~OS|OT}OiyO~OS!POT}OiyO~OS!ROT}OiyO~OS!TOT}OiyO~OS}OT}OiyO~O!XfOPmX![mX~OP!WO![!XO~O!YiOQpX![pX~OQ!ZO![!XO~O!ZlORsX![sX~OR!]O![!XO~O![!XO~P#gOg!_O~O!]sO!f!aO~OS!bO~OS!cO~Oj!dOShXThXihX~OS!fOT!gOiyO~OS!hOT!gOiyO~OS!iOT!gOiyO~OS!jOT!gOiyO~OS!gOT!gOiyO~Og!kO~Og!lO~Og!mO~OS!nO~Ol!qO!a!oO!c!pO~OS!rO~OS!sO~OS!tO~Ob!uOc!uOd!uO!a!wO!b!uO~Ob!xOc!xOd!xO!c!wO!d!xO~Ob!uOc!uOd!uO!a!{O!b!uO~Ob!xOc!xOd!xO!c!{O!d!xO~OT~cbd!ey|!e~','goto':'%q!aPPPPPPPPPPPPPPPPPPPPP!b!hP!nPP!zP!}#Q#T#Z#^#a#g#j#m#s#y!bP!b!bP$P$V$m$s$y%P%V%]%cPPPPPPPP%iX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp','nodeNames':'⚠\x20StartCloseTag\x20StartCloseTag\x20StartCloseTag\x20EndTag\x20SelfClosingEndTag\x20StartTag\x20StartTag\x20StartTag\x20StartTag\x20StartTag\x20StartCloseTag\x20StartCloseTag\x20StartCloseTag\x20IncompleteTag\x20IncompleteCloseTag\x20Document\x20Text\x20EntityReference\x20CharacterReference\x20InvalidEntity\x20Element\x20OpenTag\x20TagName\x20Attribute\x20AttributeName\x20Is\x20AttributeValue\x20UnquotedAttributeValue\x20ScriptText\x20CloseTag\x20OpenTag\x20StyleText\x20CloseTag\x20OpenTag\x20TextareaText\x20CloseTag\x20OpenTag\x20CloseTag\x20SelfClosingTag\x20Comment\x20ProcessingInst\x20MismatchedCloseTag\x20CloseTag\x20DoctypeDecl','maxTerm':0x44,'context':_0x25c03a,'nodeProps':[['closedBy',-0xa,0x1,0x2,0x3,0x7,0x8,0x9,0xa,0xb,0xc,0xd,'EndTag',0x6,'EndTag\x20SelfClosingEndTag',-0x4,0x16,0x1f,0x22,0x25,'CloseTag'],['openedBy',0x4,'StartTag\x20StartCloseTag',0x5,'StartTag',-0x4,0x1e,0x21,0x24,0x26,'OpenTag'],['group',-0xa,0xe,0xf,0x12,0x13,0x14,0x15,0x28,0x29,0x2a,0x2b,'Entity',0x11,'Entity\x20TextContent',-0x3,0x1d,0x20,0x23,'TextContent\x20Entity'],['isolate',-0xb,0x16,0x1e,0x1f,0x21,0x22,0x24,0x25,0x26,0x27,0x2a,0x2b,'ltr',-0x3,0x1b,0x1c,0x28,'']],'propSources':[_0x54ab08],'skippedNodes':[0x0],'repeatNodeCount':0x9,'tokenData':'!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;\x27SMz;\x27S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|caPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;\x27S$q;\x27S;=`+z<%lO$q!R&bXaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&Xq\x27UVaP!dpOv&}wx\x27kx!^&}!^!_(V!_;\x27S&};\x27S;=`(n<%lO&}P\x27pTaPOv\x27kw!^\x27k!_;\x27S\x27k;\x27S;=`(P<%lO\x27kP(SP;=`<%l\x27kp([S!dpOv(Vx;\x27S(V;\x27S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({WaP!b`Or(trs\x27ksv(tw!^(t!^!_)e!_;\x27S(t;\x27S;=`*P<%lO(t`)jT!b`Or)esv)ew;\x27S)e;\x27S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!b`!dpOr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYlWOX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;\x27S+P;\x27S;=`+t<%lO+PW+wP;=`<%l+P!Z+}P;=`<%l$q!a,]`aP!b`!dp!_^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&X!_-ljiSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;\x27S-_;\x27S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/ebiSlWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;\x27S/^;\x27S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0rXiSqr0msw0mx!P0m!Q!^0m!a#s0m$f;\x27S0m;\x27S;=`1_<%l?Ah0m?BY?Mn0mS1bP;=`<%l0m[1hP;=`<%l/^!V1vciSaP!b`!dpOq&Xqr1krs&}sv1kvw0mwx(tx!P1k!P!Q&X!Q!^1k!^!_*V!_!a&X!a#s1k#s$f&X$f;\x27S1k;\x27S;=`3R<%l?Ah1k?Ah?BY&X?BY?Mn1k?MnO&X!V3UP;=`<%l1k!_3[P;=`<%l-_!Z3hV!ahaP!dpOv&}wx\x27kx!^&}!^!_(V!_;\x27S&};\x27S;=`(n<%lO&}!_4WiiSlWd!ROX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst>]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;\x27S8t;\x27S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zblWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;\x27S5u;\x27S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;\x27S7S;\x27S;=`7q<%lO7S!R7qOb!R!R7tP;=`<%l7S!Z8OYlWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;\x27S+P;\x27S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{iiSlWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;\x27S8t;\x27S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbiSlWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;\x27S/^;\x27S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!V<QciSOp7Sqr;{rs7Sst0mtw;{wx7Sx!P;{!P!Q7S!Q!];{!]!^=]!^!a7S!a#s;{#s$f7S$f;\x27S;{;\x27S;=`>P<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXiSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;\x27S0m;\x27S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhiSlWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;\x27SBw;\x27S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TalWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;\x27S@O;\x27S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;\x27SAY;\x27S;=`At<%lOAY!RAtOc!R!RAwP;=`<%lAY!ZBRYlWc!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;\x27S+P;\x27S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhiSlWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;\x27SBw;\x27S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbiSlWc!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;\x27S/^;\x27S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbiSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;\x27SE{;\x27S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXiSc!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;\x27S0m;\x27S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!cxaP!b`Or(trs\x27ksv(tw!^(t!^!_)e!_;\x27S(t;\x27S;=`*P<%lO(t!aIYliSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;\x27S-_;\x27S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_kiSaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;\x27S-_;\x27S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_XaP!b`!dp!fQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&X!aNZ!ZiSgQaPlW!b`!dpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;\x27SMz;\x27S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!b`!dpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;\x27S*V;\x27S;=`*s<%lO*V!R!%Q]!b`!dpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!\x27]!g#W*V#W#X!0`#X;\x27S*V;\x27S;=`*s<%lO*V!R!&QX!b`!dpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;\x27S*V;\x27S;=`*s<%lO*V!R!&vV!b`!dp!ePOr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!R!\x27dX!b`!dpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;\x27S*V;\x27S;=`*s<%lO*V!R!(WX!b`!dpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;\x27S*V;\x27S;=`*s<%lO*V!R!(zX!b`!dpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;\x27S*V;\x27S;=`*s<%lO*V!R!)nX!b`!dpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;\x27S*V;\x27S;=`*s<%lO*V!R!*bX!b`!dpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;\x27S*V;\x27S;=`*s<%lO*V!R!+UX!b`!dpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;\x27S*V;\x27S;=`*s<%lO*V!R!+xY!b`!dpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;\x27S!+q;\x27S;=`!0Y<%lO!+qq!,mV!dpOv!,hvx!-Sx!`!,h!`!a!-q!a;\x27S!,h;\x27S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;\x27S!-S;\x27S;=`!-k<%lO!-SP!-kO|PP!-nP;=`<%l!-Sq!-xS!dp|POv(Vx;\x27S(V;\x27S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!b`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;\x27S!.[;\x27S;=`!/d<%lO!.[a!/TT!b`|POr)esv)ew;\x27S)e;\x27S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!b`!dp|POr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!b`!dpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;\x27S*V;\x27S;=`*s<%lO*V!R!1ZX!b`!dpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;\x27S*V;\x27S;=`*s<%lO*V!R!1}X!b`!dpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;\x27S*V;\x27S;=`*s<%lO*V!R!2qX!b`!dpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;\x27S*V;\x27S;=`*s<%lO*V!R!3eX!b`!dpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;\x27S*V;\x27S;=`*s<%lO*V!R!4XX!b`!dpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;\x27S*V;\x27S;=`*s<%lO*V!R!4{Y!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;\x27S!4t;\x27S;=`!;r<%lO!4tq!5pV!dpOv!5kvx!6Vx!a!5k!a!b!7W!b;\x27S!5k;\x27S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;\x27S!6V;\x27S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;\x27S!6V;\x27S;=`!7Q<%lO!6VP!7QOyPP!7TP;=`<%l!6Vq!7]V!dpOv!5kvx!6Vx!`!5k!`!a!7r!a;\x27S!5k;\x27S;=`!8V<%lO!5kq!7yS!dpyPOv(Vx;\x27S(V;\x27S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!b`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;\x27S!8];\x27S;=`!:V<%lO!8]a!9SX!b`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;\x27S!8];\x27S;=`!:V<%lO!8]a!9vT!b`yPOr)esv)ew;\x27S)e;\x27S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;\x27S!4t;\x27S;=`!;r<%lO!4t!R!;]V!b`!dpyPOr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXjSaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&X','tokenizers':[_0x5f46c2,_0x40ad27,_0x16e6b7,tS,_0x2559d7,_0x1393da,0x0,0x1,0x2,0x3,0x4,0x5],'topRules':{'Document':[0x0,0x10]},'dialects':{'noMatch':0x0,'selfClosing':0x203},'tokenPrec':0x205});function _0x14c4a4(_0x1e7484,_0xd8e4c4){let _0x20486=Object['create'](null);for(let _0x58823e of _0x1e7484['getChildren'](0x18)){let _0x346d23=_0x58823e['getChild'](0x19),_0x15e713=_0x58823e['getChild'](0x1b)||_0x58823e['getChild'](0x1c);_0x346d23&&(_0x20486[_0xd8e4c4['read'](_0x346d23['from'],_0x346d23['to'])]=_0x15e713?0x1b==_0x15e713['type']['id']?_0xd8e4c4['read'](_0x15e713['from']+0x1,_0x15e713['to']-0x1):_0xd8e4c4['read'](_0x15e713['from'],_0x15e713['to']):'');}return _0x20486;}function _0x23962f(_0x2105d3,_0x4edf83){let _0x14682b=_0x2105d3['getChild'](0x17);return _0x14682b?_0x4edf83['read'](_0x14682b['from'],_0x14682b['to']):'\x20';}function _0x3a1f91(_0x38143d,_0x2ef12e,_0x219a70){let _0x8744c4;for(let _0x4e385d of _0x219a70)if(!_0x4e385d['attrs']||_0x4e385d['attrs'](_0x8744c4||(_0x8744c4=_0x14c4a4(_0x38143d['node']['parent']['firstChild'],_0x2ef12e))))return{'parser':_0x4e385d['parser']};return null;}function _0x78469f(_0x4961e5=[],_0x2c90d1=[]){let _0x161a25=[],_0x69754e=[],_0x113a6b=[],_0x4af26f=[];for(let _0x1a5811 of _0x4961e5){('script'==_0x1a5811['tag']?_0x161a25:'style'==_0x1a5811['tag']?_0x69754e:'textarea'==_0x1a5811['tag']?_0x113a6b:_0x4af26f)['push'](_0x1a5811);}let _0x551841=_0x2c90d1['length']?Object['create'](null):null;for(let _0xdae522 of _0x2c90d1)(_0x551841[_0xdae522['name']]||(_0x551841[_0xdae522['name']]=[]))['push'](_0xdae522);return _0x4dd6b8((_0x3f4b2c,_0x2b5d82)=>{let _0x4dfda0=_0x3f4b2c['type']['id'];if(0x1d==_0x4dfda0)return _0x3a1f91(_0x3f4b2c,_0x2b5d82,_0x161a25);if(0x20==_0x4dfda0)return _0x3a1f91(_0x3f4b2c,_0x2b5d82,_0x69754e);if(0x23==_0x4dfda0)return _0x3a1f91(_0x3f4b2c,_0x2b5d82,_0x113a6b);if(0x15==_0x4dfda0&&_0x4af26f['length']){let _0x3a8cca,_0x3a2ac8=_0x3f4b2c['node'],_0x2f7704=_0x3a2ac8['firstChild'],_0x108863=_0x2f7704&&_0x23962f(_0x2f7704,_0x2b5d82);if(_0x108863){for(let _0x4f6e38 of _0x4af26f)if(_0x4f6e38['tag']==_0x108863&&(!_0x4f6e38['attrs']||_0x4f6e38['attrs'](_0x3a8cca||(_0x3a8cca=_0x14c4a4(_0x2f7704,_0x2b5d82))))){let _0x187ffa=_0x3a2ac8['lastChild'],_0x4deb1b=0x26==_0x187ffa['type']['id']?_0x187ffa['from']:_0x3a2ac8['to'];if(_0x4deb1b>_0x2f7704['to'])return{'parser':_0x4f6e38['parser'],'overlay':[{'from':_0x2f7704['to'],'to':_0x4deb1b}]};}}}if(_0x551841&&0x18==_0x4dfda0){let _0x460b4e,_0x417134=_0x3f4b2c['node'];if(_0x460b4e=_0x417134['firstChild']){let _0x462f3f=_0x551841[_0x2b5d82['read'](_0x460b4e['from'],_0x460b4e['to'])];if(_0x462f3f)for(let _0x44c83a of _0x462f3f){if(_0x44c83a['tagName']&&_0x44c83a['tagName']!=_0x23962f(_0x417134['parent'],_0x2b5d82))continue;let _0x1c0cbe=_0x417134['lastChild'];if(0x1b==_0x1c0cbe['type']['id']){let _0x4e7435=_0x1c0cbe['from']+0x1,_0x1e8bfe=_0x1c0cbe['lastChild'],_0x521fb5=_0x1c0cbe['to']-(_0x1e8bfe&&_0x1e8bfe['isError']?0x0:0x1);if(_0x521fb5>_0x4e7435)return{'parser':_0x44c83a['parser'],'overlay':[{'from':_0x4e7435,'to':_0x521fb5}]};}else{if(0x1c==_0x1c0cbe['type']['id'])return{'parser':_0x44c83a['parser'],'overlay':[{'from':_0x1c0cbe['from'],'to':_0x1c0cbe['to']}]};}}}}return null;});}const _0x30fd29=[0x9,0xa,0xb,0xc,0xd,0x20,0x85,0xa0,0x1680,0x2000,0x2001,0x2002,0x2003,0x2004,0x2005,0x2006,0x2007,0x2008,0x2009,0x200a,0x2028,0x2029,0x202f,0x205f,0x3000];function _0x6d72b0(_0x4dc1ae){return _0x4dc1ae>=0x41&&_0x4dc1ae<=0x5a||_0x4dc1ae>=0x61&&_0x4dc1ae<=0x7a||_0x4dc1ae>=0xa1;}function _0x475fe0(_0x3d126c){return _0x3d126c>=0x30&&_0x3d126c<=0x39;}function _0x338e75(_0x183b69){return _0x475fe0(_0x183b69)||_0x183b69>=0x61&&_0x183b69<=0x66||_0x183b69>=0x41&&_0x183b69<=0x46;}const _0x40a63b=(_0x199996,_0x5a2cc4,_0x3313ae)=>(_0x2f472d,_0x1bae31)=>{for(let _0x43829f=!0x1,_0x38993f=0x0,_0x1bccac=0x0;;_0x1bccac++){let {next:_0xba1114}=_0x2f472d;if(_0x6d72b0(_0xba1114)||0x2d==_0xba1114||0x5f==_0xba1114||_0x43829f&&_0x475fe0(_0xba1114))!_0x43829f&&(0x2d!=_0xba1114||_0x1bccac>0x0)&&(_0x43829f=!0x0),_0x38993f===_0x1bccac&&0x2d==_0xba1114&&_0x38993f++,_0x2f472d['advance']();else{if(0x5c!=_0xba1114||0xa==_0x2f472d['peek'](0x1)){_0x43829f&&_0x2f472d['acceptToken'](0x2==_0x38993f&&_0x1bae31['canShift'](0x2)?_0x5a2cc4:0x28==_0xba1114?_0x3313ae:_0x199996);break;}if(_0x2f472d['advance'](),_0x338e75(_0x2f472d['next'])){do{_0x2f472d['advance']();}while(_0x338e75(_0x2f472d['next']));0x20==_0x2f472d['next']&&_0x2f472d['advance']();}else _0x2f472d['next']>-0x1&&_0x2f472d['advance']();_0x43829f=!0x0;}}},_0x31b331=new ExternalTokenizer(_0x40a63b(0x7b,0x2,0x7c)),_0x426075=new ExternalTokenizer(_0x40a63b(0x7d,0x3,0x4)),_0x32cf91=new ExternalTokenizer(_0x473fd2=>{if(_0x30fd29['includes'](_0x473fd2['peek'](-0x1))){let {next:_0x25f259}=_0x473fd2;(_0x6d72b0(_0x25f259)||0x5f==_0x25f259||0x23==_0x25f259||0x2e==_0x25f259||0x2a==_0x25f259||0x5b==_0x25f259||0x3a==_0x25f259&&_0x6d72b0(_0x473fd2['peek'](0x1))||0x2d==_0x25f259||0x26==_0x25f259)&&_0x473fd2['acceptToken'](0x7a);}}),_0x5b7ea4=new ExternalTokenizer(_0x3ce231=>{if(!_0x30fd29['includes'](_0x3ce231['peek'](-0x1))){let {next:_0x4917ae}=_0x3ce231;if(0x25==_0x4917ae&&(_0x3ce231['advance'](),_0x3ce231['acceptToken'](0x1)),_0x6d72b0(_0x4917ae)){do{_0x3ce231['advance']();}while(_0x6d72b0(_0x3ce231['next'])||_0x475fe0(_0x3ce231['next']));_0x3ce231['acceptToken'](0x1);}}}),_0x4017a8=_0x39699e({'AtKeyword\x20import\x20charset\x20namespace\x20keyframes\x20media\x20supports':_0x1abe46['definitionKeyword'],'from\x20to\x20selector':_0x1abe46['keyword'],'NamespaceName':_0x1abe46['namespace'],'KeyframeName':_0x1abe46['labelName'],'KeyframeRangeName':_0x1abe46['operatorKeyword'],'TagName':_0x1abe46['tagName'],'ClassName':_0x1abe46['className'],'PseudoClassName':_0x1abe46['constant'](_0x1abe46['className']),'IdName':_0x1abe46['labelName'],'FeatureName\x20PropertyName':_0x1abe46['propertyName'],'AttributeName':_0x1abe46['attributeName'],'NumberLiteral':_0x1abe46['number'],'KeywordQuery':_0x1abe46['keyword'],'UnaryQueryOp':_0x1abe46['operatorKeyword'],'CallTag\x20ValueName':_0x1abe46['atom'],'VariableName':_0x1abe46['variableName'],'Callee':_0x1abe46['operatorKeyword'],'Unit':_0x1abe46['unit'],'UniversalSelector\x20NestingSelector':_0x1abe46['definitionOperator'],'MatchOp\x20CompareOp':_0x1abe46['compareOperator'],'ChildOp\x20SiblingOp,\x20LogicOp':_0x1abe46['logicOperator'],'BinOp':_0x1abe46['arithmeticOperator'],'Important':_0x1abe46['modifier'],'Comment':_0x1abe46['blockComment'],'ColorLiteral':_0x1abe46['color'],'ParenthesizedContent\x20StringLiteral':_0x1abe46['string'],':':_0x1abe46['punctuation'],'PseudoOp\x20#':_0x1abe46['derefOperator'],';\x20,':_0x1abe46['separator'],'(\x20)':_0x1abe46['paren'],'[\x20]':_0x1abe46['squareBracket'],'{\x20}':_0x1abe46['brace']}),_0x5bd84d={'__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},_0x4b621c={'__proto__':null,'or':0x62,'and':0x62,'not':0x6a,'only':0x6a,'layer':0xaa},_0x5845da={'__proto__':null,'selector':0x70,'layer':0xa6},_0x30f06d={'__proto__':null,'@import':0xa2,'@media':0xae,'@charset':0xb2,'@namespace':0xb6,'@keyframes':0xbc,'@supports':0xc8,'@scope':0xcc},_0x1d1932={'__proto__':null,'to':0xcf},_0x5ef977=_0x40c2c1['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':[_0x4017a8],'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':[_0x32cf91,_0x5b7ea4,_0x31b331,_0x426075,0x1,0x2,0x3,0x4,new _0x15d839('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':_0x4b1908=>_0x5bd84d[_0x4b1908]||-0x1},{'term':0x7d,'get':_0x488de0=>_0x4b621c[_0x488de0]||-0x1},{'term':0x4,'get':_0x4a2e4b=>_0x5845da[_0x4a2e4b]||-0x1},{'term':0x19,'get':_0x8ade72=>_0x30f06d[_0x8ade72]||-0x1},{'term':0x7b,'get':_0x2280f4=>_0x1d1932[_0x2280f4]||-0x1}],'tokenPrec':0x7ab});let _0x3d454d=null;function _0xae102d(){if(!_0x3d454d&&'object'==typeof document&&document['body']){let {style:_0xf4c1b3}=document['body'],_0x3352e5=[],_0x323da4=new Set();for(let _0x2cbb20 in _0xf4c1b3)'cssText'!=_0x2cbb20&&'cssFloat'!=_0x2cbb20&&'string'==typeof _0xf4c1b3[_0x2cbb20]&&(/[A-Z]/['test'](_0x2cbb20)&&(_0x2cbb20=_0x2cbb20['replace'](/[A-Z]/g,_0x15a9a7=>'-'+_0x15a9a7['toLowerCase']())),_0x323da4['has'](_0x2cbb20)||(_0x3352e5['push'](_0x2cbb20),_0x323da4['add'](_0x2cbb20)));_0x3d454d=_0x3352e5['sort']()['map'](_0x57e9be=>({'type':'property','label':_0x57e9be,'apply':_0x57e9be+':\x20'}));}return _0x3d454d||[];}const _0x2a8e48=['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'](_0x2bdfee=>({'type':'class','label':_0x2bdfee})),_0x2a55f3=['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'](_0x18b106=>({'type':'keyword','label':_0x18b106}))['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'](_0x164542=>({'type':'constant','label':_0x164542}))),_0x316b3d=['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'](_0x4bb8d5=>({'type':'type','label':_0x4bb8d5})),_0x1c97e7=['@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'](_0x505c18=>({'type':'keyword','label':_0x505c18})),_0x3e9b6a=/^(\w[\w-]*|-\w[\w-]*|)$/,_0x418568=/^-(-[\w-]*)?$/,_0x55981c=new _0x5ef128(),_0x580e6f=['Declaration'];function _0x1dc84e(_0xa40921){for(let _0x3e4aa3=_0xa40921;;){if(_0x3e4aa3['type']['isTop'])return _0x3e4aa3;if(!(_0x3e4aa3=_0x3e4aa3['parent']))return _0xa40921;}}function _0x5f3180(_0x1e639b,_0x304ae1,_0x178eac){if(_0x304ae1['to']-_0x304ae1['from']>0x1000){let _0x3e9225=_0x55981c['get'](_0x304ae1);if(_0x3e9225)return _0x3e9225;let _0x439377=[],_0x581551=new Set(),_0x50639f=_0x304ae1['cursor'](_0x11378c['IncludeAnonymous']);if(_0x50639f['firstChild']())do{for(let _0x2e21ab of _0x5f3180(_0x1e639b,_0x50639f['node'],_0x178eac))_0x581551['has'](_0x2e21ab['label'])||(_0x581551['add'](_0x2e21ab['label']),_0x439377['push'](_0x2e21ab));}while(_0x50639f['nextSibling']());return _0x55981c['set'](_0x304ae1,_0x439377),_0x439377;}{let _0x5d74fe=[],_0x37b424=new Set();return _0x304ae1['cursor']()['iterate'](_0x2a3b9a=>{var _0x4b76b5;if(_0x178eac(_0x2a3b9a)&&_0x2a3b9a['matchContext'](_0x580e6f)&&':'==(null===(_0x4b76b5=_0x2a3b9a['node']['nextSibling'])||void 0x0===_0x4b76b5?void 0x0:_0x4b76b5['name'])){let _0x549de2=_0x1e639b['sliceString'](_0x2a3b9a['from'],_0x2a3b9a['to']);_0x37b424['has'](_0x549de2)||(_0x37b424['add'](_0x549de2),_0x5d74fe['push']({'label':_0x549de2,'type':'variable'}));}}),_0x5d74fe;}}const _0x3b4c50=_0x581843=>_0x4fb744=>{let {state:_0x16bdae,pos:_0x27c69c}=_0x4fb744,_0x41ed25=_0x46e40e(_0x16bdae)['resolveInner'](_0x27c69c,-0x1),_0x45a74a=_0x41ed25['type']['isError']&&_0x41ed25['from']==_0x41ed25['to']-0x1&&'-'==_0x16bdae['doc']['sliceString'](_0x41ed25['from'],_0x41ed25['to']);if('PropertyName'==_0x41ed25['name']||(_0x45a74a||'TagName'==_0x41ed25['name'])&&/^(Block|Styles)$/['test'](_0x41ed25['resolve'](_0x41ed25['to'])['name']))return{'from':_0x41ed25['from'],'options':_0xae102d(),'validFor':_0x3e9b6a};if('ValueName'==_0x41ed25['name'])return{'from':_0x41ed25['from'],'options':_0x2a55f3,'validFor':_0x3e9b6a};if('PseudoClassName'==_0x41ed25['name'])return{'from':_0x41ed25['from'],'options':_0x2a8e48,'validFor':_0x3e9b6a};if(_0x581843(_0x41ed25)||(_0x4fb744['explicit']||_0x45a74a)&&function(_0x393930,_0x2f5f28){var _0x66021e;if(('('==_0x393930['name']||_0x393930['type']['isError'])&&(_0x393930=_0x393930['parent']||_0x393930),'ArgList'!=_0x393930['name'])return!0x1;let _0x78e3af=null===(_0x66021e=_0x393930['parent'])||void 0x0===_0x66021e?void 0x0:_0x66021e['firstChild'];return'Callee'==(null==_0x78e3af?void 0x0:_0x78e3af['name'])&&'var'==_0x2f5f28['sliceString'](_0x78e3af['from'],_0x78e3af['to']);}(_0x41ed25,_0x16bdae['doc']))return{'from':_0x581843(_0x41ed25)||_0x45a74a?_0x41ed25['from']:_0x27c69c,'options':_0x5f3180(_0x16bdae['doc'],_0x1dc84e(_0x41ed25),_0x581843),'validFor':_0x418568};if('TagName'==_0x41ed25['name']){for(let {parent:_0x2774bc}=_0x41ed25;_0x2774bc;_0x2774bc=_0x2774bc['parent'])if('Block'==_0x2774bc['name'])return{'from':_0x41ed25['from'],'options':_0xae102d(),'validFor':_0x3e9b6a};return{'from':_0x41ed25['from'],'options':_0x316b3d,'validFor':_0x3e9b6a};}if('AtKeyword'==_0x41ed25['name'])return{'from':_0x41ed25['from'],'options':_0x1c97e7,'validFor':_0x3e9b6a};if(!_0x4fb744['explicit'])return null;let _0x1247c9=_0x41ed25['resolve'](_0x27c69c),_0x2bcc80=_0x1247c9['childBefore'](_0x27c69c);return _0x2bcc80&&':'==_0x2bcc80['name']&&'PseudoClassSelector'==_0x1247c9['name']?{'from':_0x27c69c,'options':_0x2a8e48,'validFor':_0x3e9b6a}:_0x2bcc80&&':'==_0x2bcc80['name']&&'Declaration'==_0x1247c9['name']||'ArgList'==_0x1247c9['name']?{'from':_0x27c69c,'options':_0x2a55f3,'validFor':_0x3e9b6a}:'Block'==_0x1247c9['name']||'Styles'==_0x1247c9['name']?{'from':_0x27c69c,'options':_0xae102d(),'validFor':_0x3e9b6a}:null;},_0x410297=_0x3b4c50(_0x3ca89d=>'VariableName'==_0x3ca89d['name']),_0x5aaa12=_0x502619['define']({'name':'css','parser':_0x5ef977['configure']({'props':[_0x597aa5['add']({'Declaration':_0x8be96b()}),_0x28a548['add']({'Block\x20KeyframeList':_0x1f24ca})]}),'languageData':{'commentTokens':{'block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*\}$/,'wordChars':'-'}}),_0x538ae6=[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],_0x3a2f9b=new ContextTracker({'start':!0x1,'shift':(_0x338067,_0x17a499)=>0x5==_0x17a499||0x6==_0x17a499||0x140==_0x17a499?_0x338067:0x141==_0x17a499,'strict':!0x1}),_0x5e0e5b=new ExternalTokenizer((_0x1c844c,_0xed1e56)=>{let {next:_0x269f5d}=_0x1c844c;(0x7d==_0x269f5d||-0x1==_0x269f5d||_0xed1e56['context'])&&_0x1c844c['acceptToken'](0x13e);},{'contextual':!0x0,'fallback':!0x0}),_0x109226=new ExternalTokenizer((_0x4573a7,_0xdd41ed)=>{let _0x58d897,{next:_0x24dccb}=_0x4573a7;_0x538ae6['indexOf'](_0x24dccb)>-0x1||(0x2f!=_0x24dccb||0x2f!=(_0x58d897=_0x4573a7['peek'](0x1))&&0x2a!=_0x58d897)&&(0x7d==_0x24dccb||0x3b==_0x24dccb||-0x1==_0x24dccb||_0xdd41ed['context']||_0x4573a7['acceptToken'](0x13c));},{'contextual':!0x0}),_0x28c00b=new ExternalTokenizer((_0x4b43bf,_0x4d8391)=>{0x5b!=_0x4b43bf['next']||_0x4d8391['context']||_0x4b43bf['acceptToken'](0x13d);},{'contextual':!0x0}),_0x2b7eea=new ExternalTokenizer((_0x2395f6,_0x7fd68e)=>{let {next:_0x3e6b9e}=_0x2395f6;if(0x2b==_0x3e6b9e||0x2d==_0x3e6b9e){if(_0x2395f6['advance'](),_0x3e6b9e==_0x2395f6['next']){_0x2395f6['advance']();let _0x519493=!_0x7fd68e['context']&&_0x7fd68e['canShift'](0x1);_0x2395f6['acceptToken'](_0x519493?0x1:0x2);}}else 0x3f==_0x3e6b9e&&0x2e==_0x2395f6['peek'](0x1)&&(_0x2395f6['advance'](),_0x2395f6['advance'](),(_0x2395f6['next']<0x30||_0x2395f6['next']>0x39)&&_0x2395f6['acceptToken'](0x3));},{'contextual':!0x0});function _0x5213b2(_0xe8a9dd,_0x1a2811){return _0xe8a9dd>=0x41&&_0xe8a9dd<=0x5a||_0xe8a9dd>=0x61&&_0xe8a9dd<=0x7a||0x5f==_0xe8a9dd||_0xe8a9dd>=0xc0||!_0x1a2811&&_0xe8a9dd>=0x30&&_0xe8a9dd<=0x39;}const _0x51eb78=new ExternalTokenizer((_0x2a5dc4,_0x3842e9)=>{if(0x3c!=_0x2a5dc4['next']||!_0x3842e9['dialectEnabled'](0x0))return;if(_0x2a5dc4['advance'](),0x2f==_0x2a5dc4['next'])return;let _0x57cd69=0x0;for(;_0x538ae6['indexOf'](_0x2a5dc4['next'])>-0x1;)_0x2a5dc4['advance'](),_0x57cd69++;if(_0x5213b2(_0x2a5dc4['next'],!0x0)){for(_0x2a5dc4['advance'](),_0x57cd69++;_0x5213b2(_0x2a5dc4['next'],!0x1);)_0x2a5dc4['advance'](),_0x57cd69++;for(;_0x538ae6['indexOf'](_0x2a5dc4['next'])>-0x1;)_0x2a5dc4['advance'](),_0x57cd69++;if(0x2c==_0x2a5dc4['next'])return;for(let _0x5ad19c=0x0;;_0x5ad19c++){if(0x7==_0x5ad19c){if(!_0x5213b2(_0x2a5dc4['next'],!0x0))return;break;}if(_0x2a5dc4['next']!='extends'['charCodeAt'](_0x5ad19c))break;_0x2a5dc4['advance'](),_0x57cd69++;}}_0x2a5dc4['acceptToken'](0x4,-_0x57cd69);}),_0x8ff45b=_0x39699e({'get\x20set\x20async\x20static':_0x1abe46['modifier'],'for\x20while\x20do\x20if\x20else\x20switch\x20try\x20catch\x20finally\x20return\x20throw\x20break\x20continue\x20default\x20case\x20defer':_0x1abe46['controlKeyword'],'in\x20of\x20await\x20yield\x20void\x20typeof\x20delete\x20instanceof\x20as\x20satisfies':_0x1abe46['operatorKeyword'],'let\x20var\x20const\x20using\x20function\x20class\x20extends':_0x1abe46['definitionKeyword'],'import\x20export\x20from':_0x1abe46['moduleKeyword'],'with\x20debugger\x20new':_0x1abe46['keyword'],'TemplateString':_0x1abe46['special'](_0x1abe46['string']),'super':_0x1abe46['atom'],'BooleanLiteral':_0x1abe46['bool'],'this':_0x1abe46['self'],'null':_0x1abe46['null'],'Star':_0x1abe46['modifier'],'VariableName':_0x1abe46['variableName'],'CallExpression/VariableName\x20TaggedTemplateExpression/VariableName':_0x1abe46['function'](_0x1abe46['variableName']),'VariableDefinition':_0x1abe46['definition'](_0x1abe46['variableName']),'Label':_0x1abe46['labelName'],'PropertyName':_0x1abe46['propertyName'],'PrivatePropertyName':_0x1abe46['special'](_0x1abe46['propertyName']),'CallExpression/MemberExpression/PropertyName':_0x1abe46['function'](_0x1abe46['propertyName']),'FunctionDeclaration/VariableDefinition':_0x1abe46['function'](_0x1abe46['definition'](_0x1abe46['variableName'])),'ClassDeclaration/VariableDefinition':_0x1abe46['definition'](_0x1abe46['className']),'NewExpression/VariableName':_0x1abe46['className'],'PropertyDefinition':_0x1abe46['definition'](_0x1abe46['propertyName']),'PrivatePropertyDefinition':_0x1abe46['definition'](_0x1abe46['special'](_0x1abe46['propertyName'])),'UpdateOp':_0x1abe46['updateOperator'],'LineComment\x20Hashbang':_0x1abe46['lineComment'],'BlockComment':_0x1abe46['blockComment'],'Number':_0x1abe46['number'],'String':_0x1abe46['string'],'Escape':_0x1abe46['escape'],'ArithOp':_0x1abe46['arithmeticOperator'],'LogicOp':_0x1abe46['logicOperator'],'BitOp':_0x1abe46['bitwiseOperator'],'CompareOp':_0x1abe46['compareOperator'],'RegExp':_0x1abe46['regexp'],'Equals':_0x1abe46['definitionOperator'],'Arrow':_0x1abe46['function'](_0x1abe46['punctuation']),':\x20Spread':_0x1abe46['punctuation'],'(\x20)':_0x1abe46['paren'],'[\x20]':_0x1abe46['squareBracket'],'{\x20}':_0x1abe46['brace'],'InterpolationStart\x20InterpolationEnd':_0x1abe46['special'](_0x1abe46['brace']),'.':_0x1abe46['derefOperator'],',\x20;':_0x1abe46['separator'],'@':_0x1abe46['meta'],'TypeName':_0x1abe46['typeName'],'TypeDefinition':_0x1abe46['definition'](_0x1abe46['typeName']),'type\x20enum\x20interface\x20implements\x20namespace\x20module\x20declare':_0x1abe46['definitionKeyword'],'abstract\x20global\x20Privacy\x20readonly\x20override':_0x1abe46['modifier'],'is\x20keyof\x20unique\x20infer\x20asserts':_0x1abe46['operatorKeyword'],'JSXAttributeValue':_0x1abe46['attributeValue'],'JSXText':_0x1abe46['content'],'JSXStartTag\x20JSXStartCloseTag\x20JSXSelfCloseEndTag\x20JSXEndTag':_0x1abe46['angleBracket'],'JSXIdentifier\x20JSXNameSpacedName':_0x1abe46['tagName'],'JSXAttribute/JSXIdentifier\x20JSXAttribute/JSXNameSpacedName':_0x1abe46['attributeName'],'JSXBuiltin/JSXIdentifier':_0x1abe46['standard'](_0x1abe46['tagName'])}),_0x3d379a={'__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},_0x17c7bb={'__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},tI={'__proto__':null,'<':0xc1},_0x1b1878=_0x40c2c1['deserialize']({'version':0xe,'states':'$F|Q%TQlOOO%[QlOOO\x27_QpOOP(lO`OOO*zQ!0MxO\x27#CiO+RO#tO\x27#CjO+aO&jO\x27#CjO+oO#@ItO\x27#DaO.QQlO\x27#DgO.bQlO\x27#DrO%[QlO\x27#DzO0fQlO\x27#ESOOQ!0Lf\x27#E[\x27#E[O1PQ`O\x27#EXOOQO\x27#Ep\x27#EpOOQO\x27#Il\x27#IlO1XQ`O\x27#GsO1dQ`O\x27#EoO1iQ`O\x27#EoO3hQ!0MxO\x27#JrO6[Q!0MxO\x27#JsO6uQ`O\x27#F]O6zQ,UO\x27#FtOOQ!0Lf\x27#Ff\x27#FfO7VO7dO\x27#FfO9XQMhO\x27#F|O9`Q`O\x27#F{OOQ!0Lf\x27#Js\x27#JsOOQ!0Lb\x27#Jr\x27#JrO9eQ`O\x27#GwOOQ[\x27#K_\x27#K_O9pQ`O\x27#IYO9uQ!0LrO\x27#IZOOQ[\x27#J`\x27#J`OOQ[\x27#I_\x27#I_Q`QlOOQ`QlOOO9}Q!L^O\x27#DvO:UQlO\x27#EOO:]QlO\x27#EQO9kQ`O\x27#GsO:dQMhO\x27#CoO:rQ`O\x27#EnO:}Q`O\x27#EyO;hQMhO\x27#FeO;xQ`O\x27#GsOOQO\x27#K`\x27#K`O;}Q`O\x27#K`O<]Q`O\x27#G{O<]Q`O\x27#G|O<]Q`O\x27#HOO9kQ`O\x27#HRO=SQ`O\x27#HUO>kQ`O\x27#CeO>{Q`O\x27#HcO?TQ`O\x27#HiO?TQ`O\x27#HkO`QlO\x27#HmO?TQ`O\x27#HoO?TQ`O\x27#HrO?YQ`O\x27#HxO?_Q!0LsO\x27#IOO%[QlO\x27#IQO?jQ!0LsO\x27#ISO?uQ!0LsO\x27#IUO9uQ!0LrO\x27#IWO@QQ!0MxO\x27#CiOASQpO\x27#DlQOQ`OOO%[QlO\x27#EQOAjQ`O\x27#ETO:dQMhO\x27#EnOAuQ`O\x27#EnOBQQ!bO\x27#FeOOQ[\x27#Cg\x27#CgOOQ!0Lb\x27#Dq\x27#DqOOQ!0Lb\x27#Jv\x27#JvO%[QlO\x27#JvOOQO\x27#Jy\x27#JyOOQO\x27#Ih\x27#IhOCQQpO\x27#EgOOQ!0Lb\x27#Ef\x27#EfOOQ!0Lb\x27#J}\x27#J}OC|Q!0MSO\x27#EgODWQpO\x27#EWOOQO\x27#Jx\x27#JxODlQpO\x27#JyOEyQpO\x27#EWODWQpO\x27#EgPFWO&2DjO\x27#CbPOOO)CD})CD}OOOO\x27#I`\x27#I`OFcO#tO,59UOOQ!0Lh,59U,59UOOOO\x27#Ia\x27#IaOFqO&jO,59UOGPQ!L^O\x27#DcOOOO\x27#Ic\x27#IcOGWO#@ItO,59{OOQ!0Lf,59{,59{OGfQlO\x27#IdOGyQ`O\x27#JtOIxQ!fO\x27#JtO+}QlO\x27#JtOJPQ`O,5:ROJgQ`O\x27#EpOJtQ`O\x27#KTOKPQ`O\x27#KSOKPQ`O\x27#KSOKXQ`O,5;^OK^Q`O\x27#KROOQ!0Ln,5:^,5:^OKeQlO,5:^OMcQ!0MxO,5:fONSQ`O,5:nONmQ!0LrO\x27#KQONtQ`O\x27#KPO9eQ`O\x27#KPO!\x20YQ`O\x27#KPO!\x20bQ`O,5;]O!\x20gQ`O\x27#KPO!#lQ!fO\x27#JsOOQ!0Lh\x27#Ci\x27#CiO%[QlO\x27#ESO!$[Q!fO,5:sOOQS\x27#Jz\x27#JzOOQO-E<j-E<jO9kQ`O,5=_O!$rQ`O,5=_O!$wQlO,5;ZO!&zQMhO\x27#EkO!(eQ`O,5;ZO!(jQlO\x27#DyO!(tQpO,5;dO!(|QpO,5;dO%[QlO,5;dOOQ[\x27#FT\x27#FTOOQ[\x27#FV\x27#FVO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eOOQ[\x27#FZ\x27#FZO!)[QlO,5;tOOQ!0Lf,5;y,5;yOOQ!0Lf,5;z,5;zOOQ!0Lf,5;|,5;|O%[QlO\x27#IpO!+_Q!0LrO,5<iO%[QlO,5;eO!&zQMhO,5;eO!+|QMhO,5;eO!-nQMhO\x27#E^O%[QlO,5;wOOQ!0Lf,5;{,5;{O!-uQ,UO\x27#FjO!.rQ,UO\x27#KXO!.^Q,UO\x27#KXO!.yQ,UO\x27#KXOOQO\x27#KX\x27#KXO!/_Q,UO,5<SOOOW,5<`,5<`O!/pQlO\x27#FvOOOW\x27#Io\x27#IoO7VO7dO,5<QO!/wQ,UO\x27#FxOOQ!0Lf,5<Q,5<QO!0hQ$IUO\x27#CyOOQ!0Lh\x27#C}\x27#C}O!0{O#@ItO\x27#DRO!1iQMjO,5<eO!1pQ`O,5<hO!3YQ(CWO\x27#GXO!3jQ`O\x27#GYO!3oQ`O\x27#GYO!5_Q(CWO\x27#G^O!6dQpO\x27#GbOOQO\x27#Gn\x27#GnO!,TQMhO\x27#GmOOQO\x27#Gp\x27#GpO!,TQMhO\x27#GoO!7VQ$IUO\x27#JlOOQ!0Lh\x27#Jl\x27#JlO!7aQ`O\x27#JkO!7oQ`O\x27#JjO!7wQ`O\x27#CuOOQ!0Lh\x27#C{\x27#C{O!8YQ`O\x27#C}OOQ!0Lh\x27#DV\x27#DVOOQ!0Lh\x27#DX\x27#DXO!8_Q`O,5<eO1SQ`O\x27#DZO!,TQMhO\x27#GPO!,TQMhO\x27#GRO!8gQ`O\x27#GTO!8lQ`O\x27#GUO!3oQ`O\x27#G[O!,TQMhO\x27#GaO<]Q`O\x27#JkO!8qQ`O\x27#EqO!9`Q`O,5<gOOQ!0Lb\x27#Cr\x27#CrO!9hQ`O\x27#ErO!:bQpO\x27#EsOOQ!0Lb\x27#KR\x27#KRO!:iQ!0LrO\x27#KaO9uQ!0LrO,5=cO`QlO,5>tOOQ[\x27#Jh\x27#JhOOQ[,5>u,5>uOOQ[-E<]-E<]O!<hQ!0MxO,5:bO!:]QpO,5:`O!?RQ!0MxO,5:jO%[QlO,5:jO!AiQ!0MxO,5:lOOQO,5@z,5@zO!BYQMhO,5=_O!BhQ!0LrO\x27#JiO9`Q`O\x27#JiO!ByQ!0LrO,59ZO!CUQpO,59ZO!C^QMhO,59ZO:dQMhO,59ZO!CiQ`O,5;ZO!CqQ`O\x27#HbO!DVQ`O\x27#KdO%[QlO,5;}O!:]QpO,5<PO!D_Q`O,5=zO!DdQ`O,5=zO!DiQ`O,5=zO!DwQ`O,5=zO9uQ!0LrO,5=zO<]Q`O,5=jOOQO\x27#Cy\x27#CyO!EOQpO,5=gO!EWQMhO,5=hO!EcQ`O,5=jO!EhQ!bO,5=mO!EpQ`O\x27#K`O?YQ`O\x27#HWO9kQ`O\x27#HYO!EuQ`O\x27#HYO:dQMhO\x27#H[O!EzQ`O\x27#H[OOQ[,5=p,5=pO!FPQ`O\x27#H]O!FbQ`O\x27#CoO!FgQ`O,59PO!FqQ`O,59PO!HvQlO,59POOQ[,59P,59PO!IWQ!0LrO,59PO%[QlO,59PO!KcQlO\x27#HeOOQ[\x27#Hf\x27#HfOOQ[\x27#Hg\x27#HgO`QlO,5=}O!KyQ`O,5=}O`QlO,5>TO`QlO,5>VO!LOQ`O,5>XO`QlO,5>ZO!LTQ`O,5>^O!LYQlO,5>dOOQ[,5>j,5>jO%[QlO,5>jO9uQ!0LrO,5>lOOQ[,5>n,5>nO#!dQ`O,5>nOOQ[,5>p,5>pO#!dQ`O,5>pOOQ[,5>r,5>rO##QQpO\x27#D_O%[QlO\x27#JvO##sQpO\x27#JvO##}QpO\x27#DmO#$`QpO\x27#DmO#&qQlO\x27#DmO#&xQ`O\x27#JuO#\x27QQ`O,5:WO#\x27VQ`O\x27#EtO#\x27eQ`O\x27#KUO#\x27mQ`O,5;_O#\x27rQpO\x27#DmO#(PQpO\x27#EVOOQ!0Lf,5:o,5:oO%[QlO,5:oO#(WQ`O,5:oO?YQ`O,5;YO!CUQpO,5;YO!C^QMhO,5;YO:dQMhO,5;YO#(`Q`O,5@bO#(eQ07dO,5:sOOQO-E<f-E<fO#)kQ!0MSO,5;RODWQpO,5:rO#)uQpO,5:rODWQpO,5;RO!ByQ!0LrO,5:rOOQ!0Lb\x27#Ej\x27#EjOOQO,5;R,5;RO%[QlO,5;RO#*SQ!0LrO,5;RO#*_Q!0LrO,5;RO!CUQpO,5:rOOQO,5;X,5;XO#*mQ!0LrO,5;RPOOO\x27#I^\x27#I^P#+RO&2DjO,58|POOO,58|,58|OOOO-E<^-E<^OOQ!0Lh1G.p1G.pOOOO-E<_-E<_OOOO,59},59}O#+^Q!bO,59}OOOO-E<a-E<aOOQ!0Lf1G/g1G/gO#+cQ!fO,5?OO+}QlO,5?OOOQO,5?U,5?UO#+mQlO\x27#IdOOQO-E<b-E<bO#+zQ`O,5@`O#,SQ!fO,5@`O#,ZQ`O,5@nOOQ!0Lf1G/m1G/mO%[QlO,5@oO#,cQ`O\x27#IjOOQO-E<h-E<hO#,ZQ`O,5@nOOQ!0Lb1G0x1G0xOOQ!0Ln1G/x1G/xOOQ!0Ln1G0Y1G0YO%[QlO,5@lO#,wQ!0LrO,5@lO#-YQ!0LrO,5@lO#-aQ`O,5@kO9eQ`O,5@kO#-iQ`O,5@kO#-wQ`O\x27#ImO#-aQ`O,5@kOOQ!0Lb1G0w1G0wO!(tQpO,5:uO!)PQpO,5:uOOQS,5:w,5:wO#.iQdO,5:wO#.qQMhO1G2yO9kQ`O1G2yOOQ!0Lf1G0u1G0uO#/PQ!0MxO1G0uO#0UQ!0MvO,5;VOOQ!0Lh\x27#GW\x27#GWO#0rQ!0MzO\x27#JlO!$wQlO1G0uO#2}Q!fO\x27#JwO%[QlO\x27#JwO#3XQ`O,5:eOOQ!0Lh\x27#D_\x27#D_OOQ!0Lf1G1O1G1OO%[QlO1G1OOOQ!0Lf1G1f1G1fO#3^Q`O1G1OO#5rQ!0MxO1G1PO#5yQ!0MxO1G1PO#8aQ!0MxO1G1PO#8hQ!0MxO1G1PO#;OQ!0MxO1G1PO#=fQ!0MxO1G1PO#=mQ!0MxO1G1PO#=tQ!0MxO1G1PO#@[Q!0MxO1G1PO#@cQ!0MxO1G1PO#BpQ?MtO\x27#CiO#DkQ?MtO1G1`O#DrQ?MtO\x27#JsO#EVQ!0MxO,5?[OOQ!0Lb-E<n-E<nO#GdQ!0MxO1G1PO#HaQ!0MzO1G1POOQ!0Lf1G1P1G1PO#IdQMjO\x27#J|O#InQ`O,5:xO#IsQ!0MxO1G1cO#JgQ,UO,5<WO#JoQ,UO,5<XO#JwQ,UO\x27#FoO#K`Q`O\x27#FnOOQO\x27#KY\x27#KYOOQO\x27#In\x27#InO#KeQ,UO1G1nOOQ!0Lf1G1n1G1nOOOW1G1y1G1yO#KvQ?MtO\x27#JrO#LQQ`O,5<bO!)[QlO,5<bOOOW-E<m-E<mOOQ!0Lf1G1l1G1lO#LVQpO\x27#KXOOQ!0Lf,5<d,5<dO#L_QpO,5<dO#LdQMhO\x27#DTOOOO\x27#Ib\x27#IbO#LkO#@ItO,59mOOQ!0Lh,59m,59mO%[QlO1G2PO!8lQ`O\x27#IrO#LvQ`O,5<zOOQ!0Lh,5<w,5<wO!,TQMhO\x27#IuO#MdQMjO,5=XO!,TQMhO\x27#IwO#NVQMjO,5=ZO!&zQMhO,5=]OOQO1G2S1G2SO#NaQ!dO\x27#CrO#NtQ(CWO\x27#ErO$\x20|QpO\x27#GbO$!dQ!dO,5<sO$!kQ`O\x27#K[O9eQ`O\x27#K[O$!yQ`O,5<uO$#aQ!dO\x27#C{O!,TQMhO,5<tO$#kQ`O\x27#GZO$$PQ`O,5<tO$$UQ!dO\x27#GWO$$cQ!dO\x27#K]O$$mQ`O\x27#K]O!&zQMhO\x27#K]O$$rQ`O,5<xO$$wQlO\x27#JvO$%RQpO\x27#GcO#$`QpO\x27#GcO$%dQ`O\x27#GgO!3oQ`O\x27#GkO$%iQ!0LrO\x27#ItO$%tQpO,5<|OOQ!0Lp,5<|,5<|O$%{QpO\x27#GcO$&YQpO\x27#GdO$&kQpO\x27#GdO$&pQMjO,5=XO$\x27QQMjO,5=ZOOQ!0Lh,5=^,5=^O!,TQMhO,5@VO!,TQMhO,5@VO$\x27bQ`O\x27#IyO$\x27vQ`O,5@UO$(OQ`O,59aOOQ!0Lh,59i,59iO$(TQ`O,5@VO$)TQ$IYO,59uOOQ!0Lh\x27#Jp\x27#JpO$)vQMjO,5<kO$*iQMjO,5<mO@zQ`O,5<oOOQ!0Lh,5<p,5<pO$*sQ`O,5<vO$*xQMjO,5<{O$+YQ`O\x27#KPO!$wQlO1G2RO$+_Q`O1G2RO9eQ`O\x27#KSO9eQ`O\x27#EtO%[QlO\x27#EtO9eQ`O\x27#I{O$+dQ!0LrO,5@{OOQ[1G2}1G2}OOQ[1G4`1G4`OOQ!0Lf1G/|1G/|OOQ!0Lf1G/z1G/zO$-fQ!0MxO1G0UOOQ[1G2y1G2yO!&zQMhO1G2yO%[QlO1G2yO#.tQ`O1G2yO$/jQMhO\x27#EkOOQ!0Lb,5@T,5@TO$/wQ!0LrO,5@TOOQ[1G.u1G.uO!ByQ!0LrO1G.uO!CUQpO1G.uO!C^QMhO1G.uO$0YQ`O1G0uO$0_Q`O\x27#CiO$0jQ`O\x27#KeO$0rQ`O,5=|O$0wQ`O\x27#KeO$0|Q`O\x27#KeO$1[Q`O\x27#JRO$1jQ`O,5AOO$1rQ!fO1G1iOOQ!0Lf1G1k1G1kO9kQ`O1G3fO@zQ`O1G3fO$1yQ`O1G3fO$2OQ`O1G3fO!DiQ`O1G3fO9uQ!0LrO1G3fOOQ[1G3f1G3fO!EcQ`O1G3UO!&zQMhO1G3RO$2TQ`O1G3ROOQ[1G3S1G3SO!&zQMhO1G3SO$2YQ`O1G3SO$2bQpO\x27#HQOOQ[1G3U1G3UO!6_QpO\x27#I}O!EhQ!bO1G3XOOQ[1G3X1G3XOOQ[,5=r,5=rO$2jQMhO,5=tO9kQ`O,5=tO$%dQ`O,5=vO9`Q`O,5=vO!CUQpO,5=vO!C^QMhO,5=vO:dQMhO,5=vO$2xQ`O\x27#KcO$3TQ`O,5=wOOQ[1G.k1G.kO$3YQ!0LrO1G.kO@zQ`O1G.kO$3eQ`O1G.kO9uQ!0LrO1G.kO$5mQ!fO,5AQO$5zQ`O,5AQO9eQ`O,5AQO$6VQlO,5>PO$6^Q`O,5>POOQ[1G3i1G3iO`QlO1G3iOOQ[1G3o1G3oOOQ[1G3q1G3qO?TQ`O1G3sO$6cQlO1G3uO$:gQlO\x27#HtOOQ[1G3x1G3xO$:tQ`O\x27#HzO?YQ`O\x27#H|OOQ[1G4O1G4OO$:|QlO1G4OO9uQ!0LrO1G4UOOQ[1G4W1G4WOOQ!0Lb\x27#G_\x27#G_O9uQ!0LrO1G4YO9uQ!0LrO1G4[O$?TQ`O,5@bO!)[QlO,5;`O9eQ`O,5;`O?YQ`O,5:XO!)[QlO,5:XO!CUQpO,5:XO$?YQ?MtO,5:XOOQO,5;`,5;`O$?dQpO\x27#IeO$?zQ`O,5@aOOQ!0Lf1G/r1G/rO$@SQpO\x27#IkO$@^Q`O,5@pOOQ!0Lb1G0y1G0yO#$`QpO,5:XOOQO\x27#Ig\x27#IgO$@fQpO,5:qOOQ!0Ln,5:q,5:qO#(ZQ`O1G0ZOOQ!0Lf1G0Z1G0ZO%[QlO1G0ZOOQ!0Lf1G0t1G0tO?YQ`O1G0tO!CUQpO1G0tO!C^QMhO1G0tOOQ!0Lb1G5|1G5|O!ByQ!0LrO1G0^OOQO1G0m1G0mO%[QlO1G0mO$@mQ!0LrO1G0mO$@xQ!0LrO1G0mO!CUQpO1G0^ODWQpO1G0^O$AWQ!0LrO1G0mOOQO1G0^1G0^O$AlQ!0MxO1G0mPOOO-E<[-E<[POOO1G.h1G.hOOOO1G/i1G/iO$AvQ!bO,5<iO$BOQ!fO1G4jOOQO1G4p1G4pO%[QlO,5?OO$BYQ`O1G5zO$BbQ`O1G6YO$BjQ!fO1G6ZO9eQ`O,5?UO$BtQ!0MxO1G6WO%[QlO1G6WO$CUQ!0LrO1G6WO$CgQ`O1G6VO$CgQ`O1G6VO9eQ`O1G6VO$CoQ`O,5?XO9eQ`O,5?XOOQO,5?X,5?XO$DTQ`O,5?XO$+YQ`O,5?XOOQO-E<k-E<kOOQS1G0a1G0aOOQS1G0c1G0cO#.lQ`O1G0cOOQ[7+(e7+(eO!&zQMhO7+(eO%[QlO7+(eO$DcQ`O7+(eO$DnQMhO7+(eO$D|Q!0MzO,5=XO$GXQ!0MzO,5=ZO$IdQ!0MzO,5=XO$KuQ!0MzO,5=ZO$NWQ!0MzO,59uO%!]Q!0MzO,5<kO%$hQ!0MzO,5<mO%&sQ!0MzO,5<{OOQ!0Lf7+&a7+&aO%)UQ!0MxO7+&aO%)xQlO\x27#IfO%*VQ`O,5@cO%*_Q!fO,5@cOOQ!0Lf1G0P1G0PO%*iQ`O7+&jOOQ!0Lf7+&j7+&jO%*nQ?MtO,5:fO%[QlO7+&zO%*xQ?MtO,5:bO%+VQ?MtO,5:jO%+aQ?MtO,5:lO%+kQMhO\x27#IiO%+uQ`O,5@hOOQ!0Lh1G0d1G0dOOQO1G1r1G1rOOQO1G1s1G1sO%+}Q!jO,5<ZO!)[QlO,5<YOOQO-E<l-E<lOOQ!0Lf7+\x27Y7+\x27YOOOW7+\x27e7+\x27eOOOW1G1|1G1|O%,YQ`O1G1|OOQ!0Lf1G2O1G2OOOOO,59o,59oO%,_Q!dO,59oOOOO-E<`-E<`OOQ!0Lh1G/X1G/XO%,fQ!0MxO7+\x27kOOQ!0Lh,5?^,5?^O%-YQMhO1G2fP%-aQ`O\x27#IrPOQ!0Lh-E<p-E<pO%-}QMjO,5?aOOQ!0Lh-E<s-E<sO%.pQMjO,5?cOOQ!0Lh-E<u-E<uO%.zQ!dO1G2wO%/RQ!dO\x27#CrO%/iQMhO\x27#KSO$$wQlO\x27#JvOOQ!0Lh1G2_1G2_O%/sQ`O\x27#IqO%0[Q`O,5@vO%0[Q`O,5@vO%0dQ`O,5@vO%0oQ`O,5@vOOQO1G2a1G2aO%0}QMjO1G2`O$+YQ`O\x27#K[O!,TQMhO1G2`O%1_Q(CWO\x27#IsO%1lQ`O,5@wO!&zQMhO,5@wO%1tQ!dO,5@wOOQ!0Lh1G2d1G2dO%4UQ!fO\x27#CiO%4`Q`O,5=POOQ!0Lb,5<},5<}O%4hQpO,5<}OOQ!0Lb,5=O,5=OOCwQ`O,5<}O%4sQpO,5<}OOQ!0Lb,5=R,5=RO$+YQ`O,5=VOOQO,5?`,5?`OOQO-E<r-E<rOOQ!0Lp1G2h1G2hO#$`QpO,5<}O$$wQlO,5=PO%5RQ`O,5=OO%5^QpO,5=OO!,TQMhO\x27#IuO%6WQMjO1G2sO!,TQMhO\x27#IwO%6yQMjO1G2uO%7TQMjO1G5qO%7_QMjO1G5qOOQO,5?e,5?eOOQO-E<w-E<wOOQO1G.{1G.{O!,TQMhO1G5qO!,TQMhO1G5qO!:]QpO,59wO%[QlO,59wOOQ!0Lh,5<j,5<jO%7lQ`O1G2ZO!,TQMhO1G2bO%7qQ!0MxO7+\x27mOOQ!0Lf7+\x27m7+\x27mO!$wQlO7+\x27mO%8eQ`O,5;`OOQ!0Lb,5?g,5?gOOQ!0Lb-E<y-E<yO%8jQ!dO\x27#K^O#(ZQ`O7+(eO4UQ!fO7+(eO$DfQ`O7+(eO%8tQ!0MvO\x27#CiO%9XQ!0MvO,5=SO%9lQ`O,5=SO%9tQ`O,5=SOOQ!0Lb1G5o1G5oOOQ[7+$a7+$aO!ByQ!0LrO7+$aO!CUQpO7+$aO!$wQlO7+&aO%9yQ`O\x27#JQO%:bQ`O,5APOOQO1G3h1G3hO9kQ`O,5APO%:bQ`O,5APO%:jQ`O,5APOOQO,5?m,5?mOOQO-E=P-E=POOQ!0Lf7+\x27T7+\x27TO%:oQ`O7+)QO9uQ!0LrO7+)QO9kQ`O7+)QO@zQ`O7+)QO%:tQ`O7+)QOOQ[7+)Q7+)QOOQ[7+(p7+(pO%:yQ!0MvO7+(mO!&zQMhO7+(mO!E^Q`O7+(nOOQ[7+(n7+(nO!&zQMhO7+(nO%;TQ`O\x27#KbO%;`Q`O,5=lOOQO,5?i,5?iOOQO-E<{-E<{OOQ[7+(s7+(sO%<rQpO\x27#HZOOQ[1G3`1G3`O!&zQMhO1G3`O%[QlO1G3`O%<yQ`O1G3`O%=UQMhO1G3`O9uQ!0LrO1G3bO$%dQ`O1G3bO9`Q`O1G3bO!CUQpO1G3bO!C^QMhO1G3bO%=dQ`O\x27#JPO%=xQ`O,5@}O%>QQpO,5@}OOQ!0Lb1G3c1G3cOOQ[7+$V7+$VO@zQ`O7+$VO9uQ!0LrO7+$VO%>]Q`O7+$VO%[QlO1G6lO%[QlO1G6mO%>bQ!0LrO1G6lO%>lQlO1G3kO%>sQ`O1G3kO%>xQlO1G3kOOQ[7+)T7+)TO9uQ!0LrO7+)_O`QlO7+)aOOQ[\x27#Kh\x27#KhOOQ[\x27#JS\x27#JSO%?PQlO,5>`OOQ[,5>`,5>`O%[QlO\x27#HuO%?^Q`O\x27#HwOOQ[,5>f,5>fO9eQ`O,5>fOOQ[,5>h,5>hOOQ[7+)j7+)jOOQ[7+)p7+)pOOQ[7+)t7+)tOOQ[7+)v7+)vO%?cQpO1G5|O%?}Q?MtO1G0zO%@XQ`O1G0zOOQO1G/s1G/sO%@dQ?MtO1G/sO?YQ`O1G/sO!)[QlO\x27#DmOOQO,5?P,5?POOQO-E<c-E<cOOQO,5?V,5?VOOQO-E<i-E<iO!CUQpO1G/sOOQO-E<e-E<eOOQ!0Ln1G0]1G0]OOQ!0Lf7+%u7+%uO#(ZQ`O7+%uOOQ!0Lf7+&`7+&`O?YQ`O7+&`O!CUQpO7+&`OOQO7+%x7+%xO$AlQ!0MxO7+&XOOQO7+&X7+&XO%[QlO7+&XO%@nQ!0LrO7+&XO!ByQ!0LrO7+%xO!CUQpO7+%xO%@yQ!0LrO7+&XO%AXQ!0MxO7++rO%[QlO7++rO%AiQ`O7++qO%AiQ`O7++qOOQO1G4s1G4sO9eQ`O1G4sO%AqQ`O1G4sOOQS7+%}7+%}O#(ZQ`O<<LPO4UQ!fO<<LPO%BPQ`O<<LPOOQ[<<LP<<LPO!&zQMhO<<LPO%[QlO<<LPO%BXQ`O<<LPO%BdQ!0MzO,5?aO%DoQ!0MzO,5?cO%FzQ!0MzO1G2`O%I]Q!0MzO1G2sO%KhQ!0MzO1G2uO%MsQ!fO,5?QO%[QlO,5?QOOQO-E<d-E<dO%M}Q`O1G5}OOQ!0Lf<<JU<<JUO%NVQ?MtO1G0uO&!^Q?MtO1G1PO&!eQ?MtO1G1PO&$fQ?MtO1G1PO&$mQ?MtO1G1PO&&nQ?MtO1G1PO&(oQ?MtO1G1PO&(vQ?MtO1G1PO&(}Q?MtO1G1PO&+OQ?MtO1G1PO&+VQ?MtO1G1PO&+^Q!0MxO<<JfO&-UQ?MtO1G1PO&.RQ?MvO1G1PO&/UQ?MvO\x27#JlO&1[Q?MtO1G1cO&1iQ?MtO1G0UO&1sQMjO,5?TOOQO-E<g-E<gO!)[QlO\x27#FqOOQO\x27#KZ\x27#KZOOQO1G1u1G1uO&1}Q`O1G1tO&2SQ?MtO,5?[OOOW7+\x27h7+\x27hOOOO1G/Z1G/ZO&2^Q!dO1G4xOOQ!0Lh7+(Q7+(QP!&zQMhO,5?^O!,TQMhO7+(cO&2eQ`O,5?]O9eQ`O,5?]O$+YQ`O,5?]OOQO-E<o-E<oO&2sQ`O1G6bO&2sQ`O1G6bO&2{Q`O1G6bO&3WQMjO7+\x27zO&3hQ!dO,5?_O&3rQ`O,5?_O!&zQMhO,5?_OOQO-E<q-E<qO&3wQ!dO1G6cO&4RQ`O1G6cO&4ZQ`O1G2kO!&zQMhO1G2kOOQ!0Lb1G2i1G2iOOQ!0Lb1G2j1G2jO%4hQpO1G2iO!CUQpO1G2iOCwQ`O1G2iOOQ!0Lb1G2q1G2qO&4`QpO1G2iO&4nQ`O1G2kO$+YQ`O1G2jOCwQ`O1G2jO$$wQlO1G2kO&4vQ`O1G2jO&5jQMjO,5?aOOQ!0Lh-E<t-E<tO&6]QMjO,5?cOOQ!0Lh-E<v-E<vO!,TQMhO7++]O&6gQMjO7++]O&6qQMjO7++]OOQ!0Lh1G/c1G/cO&7OQ`O1G/cOOQ!0Lh7+\x27u7+\x27uO&7TQMjO7+\x27|O&7eQ!0MxO<<KXOOQ!0Lf<<KX<<KXO&8XQ`O1G0zO!&zQMhO\x27#IzO&8^Q`O,5@xO&:`Q!fO<<LPO!&zQMhO1G2nO&:gQ!0LrO1G2nOOQ[<<G{<<G{O!ByQ!0LrO<<G{O&:xQ!0MxO<<I{OOQ!0Lf<<I{<<I{OOQO,5?l,5?lO&;lQ`O,5?lO&;qQ`O,5?lOOQO-E=O-E=OO&<PQ`O1G6kO&<PQ`O1G6kO9kQ`O1G6kO@zQ`O<<LlOOQ[<<Ll<<LlO&<XQ`O<<LlO9uQ!0LrO<<LlO9kQ`O<<LlOOQ[<<LX<<LXO%:yQ!0MvO<<LXOOQ[<<LY<<LYO!E^Q`O<<LYO&<^QpO\x27#I|O&<iQ`O,5@|O!)[QlO,5@|OOQ[1G3W1G3WOOQO\x27#JO\x27#JOO9uQ!0LrO\x27#JOO&<qQpO,5=uOOQ[,5=u,5=uO&<xQpO\x27#EgO&=PQpO\x27#GeO&=UQ`O7+(zO&=ZQ`O7+(zOOQ[7+(z7+(zO!&zQMhO7+(zO%[QlO7+(zO&=cQ`O7+(zOOQ[7+(|7+(|O9uQ!0LrO7+(|O$%dQ`O7+(|O9`Q`O7+(|O!CUQpO7+(|O&=nQ`O,5?kOOQO-E<}-E<}OOQO\x27#H^\x27#H^O&=yQ`O1G6iO9uQ!0LrO<<GqOOQ[<<Gq<<GqO@zQ`O<<GqO&>RQ`O7+,WO&>WQ`O7+,XO%[QlO7+,WO%[QlO7+,XOOQ[7+)V7+)VO&>]Q`O7+)VO&>bQlO7+)VO&>iQ`O7+)VOOQ[<<Ly<<LyOOQ[<<L{<<L{OOQ[-E=Q-E=QOOQ[1G3z1G3zO&>nQ`O,5>aOOQ[,5>c,5>cO&>sQ`O1G4QO9eQ`O7+&fO!)[QlO7+&fOOQO7+%_7+%_O&>xQ?MtO1G6ZO?YQ`O7+%_OOQ!0Lf<<Ia<<IaOOQ!0Lf<<Iz<<IzO?YQ`O<<IzOOQO<<Is<<IsO$AlQ!0MxO<<IsO%[QlO<<IsOOQO<<Id<<IdO!ByQ!0LrO<<IdO&?SQ!0LrO<<IsO&?_Q!0MxO<=\x20^O&?oQ`O<=\x20]OOQO7+*_7+*_O9eQ`O7+*_OOQ[ANAkANAkO&?wQ!fOANAkO!&zQMhOANAkO#(ZQ`OANAkO4UQ!fOANAkO&@OQ`OANAkO%[QlOANAkO&@WQ!0MzO7+\x27zO&BiQ!0MzO,5?aO&DtQ!0MzO,5?cO&GPQ!0MzO7+\x27|O&IbQ!fO1G4lO&IlQ?MtO7+&aO&KpQ?MvO,5=XO&MwQ?MvO,5=ZO&NXQ?MvO,5=XO&NiQ?MvO,5=ZO&NyQ?MvO,59uO\x27#PQ?MvO,5<kO\x27%SQ?MvO,5<mO\x27\x27hQ?MvO,5<{O\x27)^Q?MtO7+\x27kO\x27)kQ?MtO7+\x27mO\x27)xQ`O,5<]OOQO7+\x27`7+\x27`OOQ!0Lh7+*d7+*dO\x27)}QMjO<<K}OOQO1G4w1G4wO\x27*UQ`O1G4wO\x27*aQ`O1G4wO\x27*oQ`O7++|O\x27*oQ`O7++|O!&zQMhO1G4yO\x27*wQ!dO1G4yO\x27+RQ`O7++}O\x27+ZQ`O7+(VO\x27+fQ!dO7+(VOOQ!0Lb7+(T7+(TOOQ!0Lb7+(U7+(UO!CUQpO7+(TOCwQ`O7+(TO\x27+pQ`O7+(VO!&zQMhO7+(VO$+YQ`O7+(UO\x27+uQ`O7+(VOCwQ`O7+(UO\x27+}QMjO<<NwO!,TQMhO<<NwOOQ!0Lh7+$}7+$}O\x27,XQ!dO,5?fOOQO-E<x-E<xO\x27,cQ!0MvO7+(YO!&zQMhO7+(YOOQ[AN=gAN=gO9kQ`O1G5WOOQO1G5W1G5WO\x27,sQ`O1G5WO\x27,xQ`O7+,VO\x27,xQ`O7+,VO9uQ!0LrOANBWO@zQ`OANBWOOQ[ANBWANBWO\x27-QQ`OANBWOOQ[ANAsANAsOOQ[ANAtANAtO\x27-VQ`O,5?hOOQO-E<z-E<zO\x27-bQ?MtO1G6hOOQO,5?j,5?jOOQO-E<|-E<|OOQ[1G3a1G3aO\x27-lQ`O,5=POOQ[<<Lf<<LfO!&zQMhO<<LfO&=UQ`O<<LfO\x27-qQ`O<<LfO%[QlO<<LfOOQ[<<Lh<<LhO9uQ!0LrO<<LhO$%dQ`O<<LhO9`Q`O<<LhO\x27-yQpO1G5VO\x27.UQ`O7+,TOOQ[AN=]AN=]O9uQ!0LrOAN=]OOQ[<=\x20r<=\x20rOOQ[<=\x20s<=\x20sO\x27.^Q`O<=\x20rO\x27.cQ`O<=\x20sOOQ[<<Lq<<LqO\x27.hQ`O<<LqO\x27.mQlO<<LqOOQ[1G3{1G3{O?YQ`O7+)lO\x27.tQ`O<<JQO\x27/PQ?MtO<<JQOOQO<<Hy<<HyOOQ!0LfAN?fAN?fOOQOAN?_AN?_O$AlQ!0MxOAN?_OOQOAN?OAN?OO%[QlOAN?_OOQO<<My<<MyOOQ[G27VG27VO!&zQMhOG27VO#(ZQ`OG27VO\x27/ZQ!fOG27VO4UQ!fOG27VO\x27/bQ`OG27VO\x27/jQ?MtO<<JfO\x27/wQ?MvO1G2`O\x271mQ?MvO,5?aO\x273pQ?MvO,5?cO\x275sQ?MvO1G2sO\x277vQ?MvO1G2uO\x279yQ?MtO<<KXO\x27:WQ?MtO<<I{OOQO1G1w1G1wO!,TQMhOANAiOOQO7+*c7+*cO\x27:eQ`O7+*cO\x27:pQ`O<=\x20hO\x27:xQ!dO7+*eOOQ!0Lb<<Kq<<KqO$+YQ`O<<KqOCwQ`O<<KqO\x27;SQ`O<<KqO!&zQMhO<<KqOOQ!0Lb<<Ko<<KoO!CUQpO<<KoO\x27;_Q!dO<<KqOOQ!0Lb<<Kp<<KpO\x27;iQ`O<<KqO!&zQMhO<<KqO$+YQ`O<<KpO\x27;nQMjOANDcO\x27;xQ!0MvO<<KtOOQO7+*r7+*rO9kQ`O7+*rO\x27<YQ`O<=\x20qOOQ[G27rG27rO9uQ!0LrOG27rO@zQ`OG27rO!)[QlO1G5SO\x27<bQ`O7+,SO\x27<jQ`O1G2kO&=UQ`OANBQOOQ[ANBQANBQO!&zQMhOANBQO\x27<oQ`OANBQOOQ[ANBSANBSO9uQ!0LrOANBSO$%dQ`OANBSOOQO\x27#H_\x27#H_OOQO7+*q7+*qOOQ[G22wG22wOOQ[ANE^ANE^OOQ[ANE_ANE_OOQ[ANB]ANB]O\x27<wQ`OANB]OOQ[<<MW<<MWO!)[QlOAN?lOOQOG24yG24yO$AlQ!0MxOG24yO#(ZQ`OLD,qOOQ[LD,qLD,qO!&zQMhOLD,qO\x27<|Q!fOLD,qO\x27=TQ?MvO7+\x27zO\x27>yQ?MvO,5?aO\x27@|Q?MvO,5?cO\x27CPQ?MvO7+\x27|O\x27DuQMjOG27TOOQO<<M}<<M}OOQ!0LbANA]ANA]O$+YQ`OANA]OCwQ`OANA]O\x27EVQ!dOANA]OOQ!0LbANAZANAZO\x27E^Q`OANA]O!&zQMhOANA]O\x27EiQ!dOANA]OOQ!0LbANA[ANA[OOQO<<N^<<N^OOQ[LD-^LD-^O9uQ!0LrOLD-^O\x27EsQ?MtO7+*nOOQO\x27#Gf\x27#GfOOQ[G27lG27lO&=UQ`OG27lO!&zQMhOG27lOOQ[G27nG27nO9uQ!0LrOG27nOOQ[G27wG27wO\x27E}Q?MtOG25WOOQOLD*eLD*eOOQ[!$(!]!$(!]O#(ZQ`O!$(!]O!&zQMhO!$(!]O\x27FXQ!0MzOG27TOOQ!0LbG26wG26wO$+YQ`OG26wO\x27HjQ`OG26wOCwQ`OG26wO\x27HuQ!dOG26wO!&zQMhOG26wOOQ[!$(!x!$(!xOOQ[LD-WLD-WO&=UQ`OLD-WOOQ[LD-YLD-YOOQ[!)9Ew!)9EwO#(ZQ`O!)9EwOOQ!0LbLD,cLD,cO$+YQ`OLD,cOCwQ`OLD,cO\x27H|Q`OLD,cO\x27IXQ!dOLD,cOOQ[!$(!r!$(!rOOQ[!.K;c!.K;cO\x27I`Q?MvOG27TOOQ!0Lb!$(\x20}!$(\x20}O$+YQ`O!$(\x20}OCwQ`O!$(\x20}O\x27KUQ`O!$(\x20}OOQ!0Lb!)9Ei!)9EiO$+YQ`O!)9EiOCwQ`O!)9EiOOQ!0Lb!.K;T!.K;TO$+YQ`O!.K;TOOQ!0Lb!4/0o!4/0oO!)[QlO\x27#DzO1PQ`O\x27#EXO\x27KaQ!fO\x27#JrO\x27KhQ!L^O\x27#DvO\x27KoQlO\x27#EOO\x27KvQ!fO\x27#CiO\x27N^Q!fO\x27#CiO!)[QlO\x27#EQO\x27NnQlO,5;ZO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO\x27#IpO(!qQ`O,5<iO!)[QlO,5;eO(!yQMhO,5;eO($dQMhO,5;eO!)[QlO,5;wO!&zQMhO\x27#GmO(!yQMhO\x27#GmO!&zQMhO\x27#GoO(!yQMhO\x27#GoO1SQ`O\x27#DZO1SQ`O\x27#DZO!&zQMhO\x27#GPO(!yQMhO\x27#GPO!&zQMhO\x27#GRO(!yQMhO\x27#GRO!&zQMhO\x27#GaO(!yQMhO\x27#GaO!)[QlO,5:jO($kQpO\x27#D_O($uQpO\x27#JvO!)[QlO,5@oO\x27NnQlO1G0uO(%PQ?MtO\x27#CiO!)[QlO1G2PO!&zQMhO\x27#IuO(!yQMhO\x27#IuO!&zQMhO\x27#IwO(!yQMhO\x27#IwO(%ZQ!dO\x27#CrO!&zQMhO,5<tO(!yQMhO,5<tO\x27NnQlO1G2RO!)[QlO7+&zO!&zQMhO1G2`O(!yQMhO1G2`O!&zQMhO\x27#IuO(!yQMhO\x27#IuO!&zQMhO\x27#IwO(!yQMhO\x27#IwO!&zQMhO1G2bO(!yQMhO1G2bO\x27NnQlO7+\x27mO\x27NnQlO7+&aO!&zQMhOANAiO(!yQMhOANAiO(%nQ`O\x27#EoO(%sQ`O\x27#EoO(%{Q`O\x27#F]O(&QQ`O\x27#EyO(&VQ`O\x27#KTO(&bQ`O\x27#KRO(&mQ`O,5;ZO(&rQMjO,5<eO(&yQ`O\x27#GYO(\x27OQ`O\x27#GYO(\x27TQ`O,5<eO(\x27]Q`O,5<gO(\x27eQ`O,5;ZO(\x27mQ?MtO1G1`O(\x27tQ`O,5<tO(\x27yQ`O,5<tO((OQ`O,5<vO((TQ`O,5<vO((YQ`O1G2RO((_Q`O1G0uO((dQMjO<<K}O((kQMjO<<K}O((rQMhO\x27#F|O9`Q`O\x27#F{OAuQ`O\x27#EnO!)[QlO,5;tO!3oQ`O\x27#GYO!3oQ`O\x27#GYO!3oQ`O\x27#G[O!3oQ`O\x27#G[O!,TQMhO7+(cO!,TQMhO7+(cO%.zQ!dO1G2wO%.zQ!dO1G2wO!&zQMhO,5=]O!&zQMhO,5=]','stateData':'()x~O\x27|OS\x27}OSTOS(ORQ~OPYOQYOSfOY!VOaqOdzOeyOl!POpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_XO!iuO!lZO!oYO!pYO!qYO!svO!uwO!xxO!|]O$W|O$niO%h}O%j!QO%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO%y!UO&W!WO&^!XO&`!YO&b!ZO&d![O&g!]O&m!^O&s!_O&u!`O&w!aO&y!bO&{!cO(TSO(VTO(YUO(aVO(o[O~OWtO~P`OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oa!wOs!nO!S!oO!b!yO!c!vO!d!vO!|<VO#T!pO#U!pO#V!xO#W!pO#X!pO#[!zO#]!zO(U!lO(VTO(YUO(e!mO(o!sO~O(O!{O~OP]XR]X[]Xa]Xj]Xr]X!Q]X!S]X!]]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X\x27z]X(a]X(r]X(y]X(z]X~O!g%RX~P(qO_!}O(V#PO(W!}O(X#PO~O_#QO(X#PO(Y#PO(Z#QO~Ox#SO!U#TO(b#TO(c#VO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T<ZO(VTO(YUO(aVO(o[O~O![#ZO!]#WO!Y(hP!Y(vP~P+}O!^#cO~P`OPYOQYOSfOd!jOe!iOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(VTO(YUO(aVO(o[O~Op#mO![#iO!|]O#i#lO#j#iO(T<[O!k(sP~P.iO!l#oO(T#nO~O!x#sO!|]O%h#tO~O#k#uO~O!g#vO#k#uO~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!]$_O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~Oa(fX\x27z(fX\x27w(fX!k(fX!Y(fX!_(fX%i(fX!g(fX~P1qO#S$dO#`$eO$Q$eOP(gXR(gX[(gXj(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX!_(gX%i(gX~Oa(gX\x27z(gX\x27w(gX!Y(gX!k(gXv(gX!g(gX~P4UO#`$eO~O$]$hO$_$gO$f$mO~OSfO!_$nO$i$oO$k$qO~Oh%VOj%dOk%dOp%WOr%XOs$tOt$tOz%YO|%ZO!O%]O!S${O!_$|O!i%bO!l$xO#j%cO$W%`O$t%^O$v%_O$y%aO(T$sO(VTO(YUO(a$uO(y$}O(z%POg(^P~Ol%[O~P7eO!l%eO~O!S%hO!_%iO(T%gO~O!g%mO~Oa%nO\x27z%nO~O!Q%rO~P%[O(U!lO~P%[O%n%vO~P%[Oh%VO!l%eO(T%gO(U!lO~Oe%}O!l%eO(T%gO~Oj$RO~O!_&PO(T%gO(U!lO(VTO(YUO`)WP~O!Q&SO!l&RO%j&VO&T&WO~P;SO!x#sO~O%s&YO!S)SX!_)SX(T)SX~O(T&ZO~Ol!PO!u&`O%j!QO%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO~Od&eOe&dO!x&bO%h&cO%{&aO~P<bOd&hOeyOl!PO!_&gO!u&`O!xxO!|]O%h}O%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO%y!UO~Ob&kO#`&nO%j&iO(U!lO~P=gO!l&oO!u&sO~O!l#oO~O!_XO~Oa%nO\x27x&{O\x27z%nO~Oa%nO\x27x\x27OO\x27z%nO~Oa%nO\x27x\x27QO\x27z%nO~O\x27w]X!Y]Xv]X!k]X&[]X!_]X%i]X!g]X~P(qO!b\x27_O!c\x27WO!d\x27WO(U!lO(VTO(YUO~Os\x27UO!S\x27TO![\x27XO(e\x27SO!^(iP!^(xP~P@nOn\x27bO!_\x27`O(T%gO~Oe\x27gO!l%eO(T%gO~O!Q&SO!l&RO~Os!nO!S!oO!|<VO#T!pO#U!pO#W!pO#X!pO(U!lO(VTO(YUO(e!mO(o!sO~O!b\x27mO!c\x27lO!d\x27lO#V!pO#[\x27nO#]\x27nO~PBYOa%nOh%VO!g#vO!l%eO\x27z%nO(r\x27pO~O!p\x27tO#`\x27rO~PChOs!nO!S!oO(VTO(YUO(e!mO(o!sO~O!_XOs(mX!S(mX!b(mX!c(mX!d(mX!|(mX#T(mX#U(mX#V(mX#W(mX#X(mX#[(mX#](mX(U(mX(V(mX(Y(mX(e(mX(o(mX~O!c\x27lO!d\x27lO(U!lO~PDWO(P\x27xO(Q\x27xO(R\x27zO~O_!}O(V\x27|O(W!}O(X\x27|O~O_#QO(X\x27|O(Y\x27|O(Z#QO~Ov(OO~P%[Ox#SO!U#TO(b#TO(c(RO~O![(TO!Y\x27WX!Y\x27^X!]\x27WX!]\x27^X~P+}O!](VO!Y(hX~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!](VO!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~O!Y(hX~PHRO!Y([O~O!Y(uX!](uX!g(uX!k(uX(r(uX~O#`(uX#k#dX!^(uX~PJUO#`(]O!Y(wX!](wX~O!](^O!Y(vX~O!Y(aO~O#`$eO~PJUO!^(bO~P`OR#zO!Q#yO!S#{O!l#xO(aVOP!na[!naj!nar!na!]!na!p!na#R!na#n!na#o!na#p!na#q!na#r!na#s!na#t!na#u!na#v!na#x!na#z!na#{!na(r!na(y!na(z!na~Oa!na\x27z!na\x27w!na!Y!na!k!nav!na!_!na%i!na!g!na~PKlO!k(cO~O!g#vO#`(dO(r\x27pO!](tXa(tX\x27z(tX~O!k(tX~PNXO!S%hO!_%iO!|]O#i(iO#j(hO(T%gO~O!](jO!k(sX~O!k(lO~O!S%hO!_%iO#j(hO(T%gO~OP(gXR(gX[(gXj(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX~O!g#vO!k(gX~P!\x20uOR(nO!Q(mO!l#xO#S$dO!|!{a!S!{a~O!x!{a%h!{a!_!{a#i!{a#j!{a(T!{a~P!#vO!x(rO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_XO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~O#k(xO~O![(zO!k(kP~P%[O(e(|O(o[O~O!S)OO!l#xO(e(|O(o[O~OP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_!eO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(T)]O(VTO(YUO(aVO(o[O~O!]$_Oa$qa\x27z$qa\x27w$qa!k$qa!Y$qa!_$qa%i$qa!g$qa~Ol)dO~P!&zOh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O%]O!S${O!_$|O!i%bO!l$xO#j%cO$W%`O$t%^O$v%_O$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~Og(pP~P!,TO!Q)iO!g)hO!_$^X$Z$^X$]$^X$_$^X$f$^X~O!g)hO!_({X$Z({X$]({X$_({X$f({X~O!Q)iO~P!.^O!Q)iO!_({X$Z({X$]({X$_({X$f({X~O!_)kO$Z)oO$])jO$_)jO$f)pO~O![)sO~P!)[O$]$hO$_$gO$f)wO~On$zX!Q$zX#S$zX\x27y$zX(y$zX(z$zX~OgmXg$zXnmX!]mX#`mX~P!0SOx)yO(b)zO(c)|O~On*VO!Q*OO\x27y*PO(y$}O(z%PO~Og)}O~P!1WOg*WO~Oh%VOr%XOs$tOt$tOz%YO|%ZO!O<sO!S*YO!_*ZO!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(VTO(YUO(a$uO(y$}O(z%PO~Op*`O![*^O(T*XO!k)OP~P!1uO#k*aO~O!l*bO~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(T*dO(VTO(YUO(a$uO(y$}O(z%PO~O![*gO!Y)PP~P!3tOr*sOs!nO!S*iO!b*qO!c*kO!d*kO!l*bO#[*rO%`*mO(U!lO(VTO(YUO(e!mO~O!^*pO~P!5iO#S$dOn(`X!Q(`X\x27y(`X(y(`X(z(`X!](`X#`(`X~Og(`X$O(`X~P!6kOn*xO#`*wOg(_X!](_X~O!]*yOg(^X~Oj%dOk%dOl%dO(T&ZOg(^P~Os*|O~Og)}O(T&ZO~O!l+SO~O(T(vO~Op+WO!S%hO![#iO!_%iO!|]O#i#lO#j#iO(T%gO!k(sP~O!g#vO#k+XO~O!S%hO![+ZO!](^O!_%iO(T%gO!Y(vP~Os\x27[O!S+]O![+[O(VTO(YUO(e(|O~O!^(xP~P!9|O!]+^Oa)TX\x27z)TX~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~Oa!ja!]!ja\x27z!ja\x27w!ja!Y!ja!k!jav!ja!_!ja%i!ja!g!ja~P!:tOR#zO!Q#yO!S#{O!l#xO(aVOP!ra[!raj!rar!ra!]!ra!p!ra#R!ra#n!ra#o!ra#p!ra#q!ra#r!ra#s!ra#t!ra#u!ra#v!ra#x!ra#z!ra#{!ra(r!ra(y!ra(z!ra~Oa!ra\x27z!ra\x27w!ra!Y!ra!k!rav!ra!_!ra%i!ra!g!ra~P!=[OR#zO!Q#yO!S#{O!l#xO(aVOP!ta[!taj!tar!ta!]!ta!p!ta#R!ta#n!ta#o!ta#p!ta#q!ta#r!ta#s!ta#t!ta#u!ta#v!ta#x!ta#z!ta#{!ta(r!ta(y!ta(z!ta~Oa!ta\x27z!ta\x27w!ta!Y!ta!k!tav!ta!_!ta%i!ta!g!ta~P!?rOh%VOn+gO!_\x27`O%i+fO~O!g+iOa(]X!_(]X\x27z(]X!](]X~Oa%nO!_XO\x27z%nO~Oh%VO!l%eO~Oh%VO!l%eO(T%gO~O!g#vO#k(xO~Ob+tO%j+uO(T+qO(VTO(YUO!^)XP~O!]+vO`)WX~O[+zO~O`+{O~O!_&PO(T%gO(U!lO`)WP~O%j,OO~P;SOh%VO#`,SO~Oh%VOn,VO!_$|O~O!_,XO~O!Q,ZO!_XO~O%n%vO~O!x,`O~Oe,eO~Ob,fO(T#nO(VTO(YUO!^)VP~Oe%}O~O%j!QO(T&ZO~P=gO[,kO`,jO~OPYOQYOSfOdzOeyOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!iuO!lZO!oYO!pYO!qYO!svO!xxO!|]O$niO%h}O(VTO(YUO(aVO(o[O~O!_!eO!u!gO$W!kO(T!dO~P!FyO`,jOa%nO\x27z%nO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oa,pOl!OO!uwO%l!OO%m!OO%n!OO~P!IcO!l&oO~O&^,vO~O!_,xO~O&o,zO&q,{OP&laQ&laS&laY&laa&lad&lae&lal&lap&lar&las&lat&laz&la|&la!O&la!S&la!W&la!X&la!_&la!i&la!l&la!o&la!p&la!q&la!s&la!u&la!x&la!|&la$W&la$n&la%h&la%j&la%l&la%m&la%n&la%q&la%s&la%v&la%w&la%y&la&W&la&^&la&`&la&b&la&d&la&g&la&m&la&s&la&u&la&w&la&y&la&{&la\x27w&la(T&la(V&la(Y&la(a&la(o&la!^&la&e&lab&la&j&la~O(T-QO~Oh!eX!]!RX!^!RX!g!RX!g!eX!l!eX#`!RX~O!]!eX!^!eX~P#!iO!g-VO#`-UOh(jX!]#hX!^#hX!g(jX!l(jX~O!](jX!^(jX~P##[Oh%VO!g-XO!l%eO!]!aX!^!aX~Os!nO!S!oO(VTO(YUO(e!mO~OP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_!eO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(VTO(YUO(aVO(o[O~O(T=QO~P#$qO!]-]O!^(iX~O!^-_O~O!g-VO#`-UO!]#hX!^#hX~O!]-`O!^(xX~O!^-bO~O!c-cO!d-cO(U!lO~P#$`O!^-fO~P\x27_On-iO!_\x27`O~O!Y-nO~Os!{a!b!{a!c!{a!d!{a#T!{a#U!{a#V!{a#W!{a#X!{a#[!{a#]!{a(U!{a(V!{a(Y!{a(e!{a(o!{a~P!#vO!p-sO#`-qO~PChO!c-uO!d-uO(U!lO~PDWOa%nO#`-qO\x27z%nO~Oa%nO!g#vO#`-qO\x27z%nO~Oa%nO!g#vO!p-sO#`-qO\x27z%nO(r\x27pO~O(P\x27xO(Q\x27xO(R-zO~Ov-{O~O!Y\x27Wa!]\x27Wa~P!:tO![.PO!Y\x27WX!]\x27WX~P%[O!](VO!Y(ha~O!Y(ha~PHRO!](^O!Y(va~O!S%hO![.TO!_%iO(T%gO!Y\x27^X!]\x27^X~O#`.VO!](ta!k(taa(ta\x27z(ta~O!g#vO~P#,wO!](jO!k(sa~O!S%hO!_%iO#j.ZO(T%gO~Op.`O!S%hO![.]O!_%iO!|]O#i._O#j.]O(T%gO!]\x27aX!k\x27aX~OR.dO!l#xO~Oh%VOn.gO!_\x27`O%i.fO~Oa#ci!]#ci\x27z#ci\x27w#ci!Y#ci!k#civ#ci!_#ci%i#ci!g#ci~P!:tOn>]O!Q*OO\x27y*PO(y$}O(z%PO~O#k#_aa#_a#`#_a\x27z#_a!]#_a!k#_a!_#_a!Y#_a~P#/sO#k(`XP(`XR(`X[(`Xa(`Xj(`Xr(`X!S(`X!l(`X!p(`X#R(`X#n(`X#o(`X#p(`X#q(`X#r(`X#s(`X#t(`X#u(`X#v(`X#x(`X#z(`X#{(`X\x27z(`X(a(`X(r(`X!k(`X!Y(`X\x27w(`Xv(`X!_(`X%i(`X!g(`X~P!6kO!].tO!k(kX~P!:tO!k.wO~O!Y.yO~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O(aVO[#mia#mij#mir#mi!]#mi#R#mi#o#mi#p#mi#q#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi\x27z#mi(r#mi(y#mi(z#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#n#mi~P#3cO#n$OO~P#3cOP$[OR#zOr$aO!Q#yO!S#{O!l#xO!p$[O#n$OO#o$PO#p$PO#q$PO(aVO[#mia#mij#mi!]#mi#R#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi\x27z#mi(r#mi(y#mi(z#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#r#mi~P#6QO#r$QO~P#6QOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO(aVOa#mi!]#mi#x#mi#z#mi#{#mi\x27z#mi(r#mi(y#mi(z#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#v#mi~P#8oOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO(aVO(z#}Oa#mi!]#mi#z#mi#{#mi\x27z#mi(r#mi(y#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#x$UO~P#;VO#x#mi~P#;VO#v$SO~P#8oOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO(aVO(y#|O(z#}Oa#mi!]#mi#{#mi\x27z#mi(r#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#z#mi~P#={O#z$WO~P#={OP]XR]X[]Xj]Xr]X!Q]X!S]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X!]]X!^]X~O$O]X~P#@jOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO#x<eO#z<gO#{<hO(aVO(r$YO(y#|O(z#}O~O$O.{O~P#BwO#S$dO#`<nO$Q<nO$O(gX!^(gX~P!\x20uOa\x27da!]\x27da\x27z\x27da\x27w\x27da!k\x27da!Y\x27dav\x27da!_\x27da%i\x27da!g\x27da~P!:tO[#mia#mij#mir#mi!]#mi#R#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi\x27z#mi(r#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O#n$OO#o$PO#p$PO#q$PO(aVO(y#mi(z#mi~P#EyOn>]O!Q*OO\x27y*PO(y$}O(z%POP#miR#mi!S#mi!l#mi!p#mi#n#mi#o#mi#p#mi#q#mi(a#mi~P#EyO!]/POg(pX~P!1WOg/RO~Oa$Pi!]$Pi\x27z$Pi\x27w$Pi!Y$Pi!k$Piv$Pi!_$Pi%i$Pi!g$Pi~P!:tO$]/SO$_/SO~O$]/TO$_/TO~O!g)hO#`/UO!_$cX$Z$cX$]$cX$_$cX$f$cX~O![/VO~O!_)kO$Z/XO$])jO$_)jO$f/YO~O!]<iO!^(fX~P#BwO!^/ZO~O!g)hO$f({X~O$f/]O~Ov/^O~P!&zOx)yO(b)zO(c/aO~O!S/dO~O(y$}On%aa!Q%aa\x27y%aa(z%aa!]%aa#`%aa~Og%aa$O%aa~P#L{O(z%POn%ca!Q%ca\x27y%ca(y%ca!]%ca#`%ca~Og%ca$O%ca~P#MnO!]fX!gfX!kfX!k$zX(rfX~P!0SOp%WO![/mO!](^O(T/lO!Y(vP!Y)PP~P!1uOr*sO!b*qO!c*kO!d*kO!l*bO#[*rO%`*mO(U!lO(VTO(YUO~Os<}O!S/nO![+[O!^*pO(e<|O!^(xP~P$\x20[O!k/oO~P#/sO!]/pO!g#vO(r\x27pO!k)OX~O!k/uO~OnoX!QoX\x27yoX(yoX(zoX~O!g#vO!koX~P$#OOp/wO!S%hO![*^O!_%iO(T%gO!k)OP~O#k/xO~O!Y$zX!]$zX!g%RX~P!0SO!]/yO!Y)PX~P#/sO!g/{O~O!Y/}O~OpkO(T0OO~P.iOh%VOr0TO!g#vO!l%eO(r\x27pO~O!g+iO~Oa%nO!]0XO\x27z%nO~O!^0ZO~P!5iO!c0[O!d0[O(U!lO~P#$`Os!nO!S0]O(VTO(YUO(e!mO~O#[0_O~Og%aa!]%aa#`%aa$O%aa~P!1WOg%ca!]%ca#`%ca$O%ca~P!1WOj%dOk%dOl%dO(T&ZOg\x27mX!]\x27mX~O!]*yOg(^a~Og0hO~On0jO#`0iOg(_a!](_a~OR0kO!Q0kO!S0lO#S$dOn}a\x27y}a(y}a(z}a!]}a#`}a~Og}a$O}a~P$(cO!Q*OO\x27y*POn$sa(y$sa(z$sa!]$sa#`$sa~Og$sa$O$sa~P$)_O!Q*OO\x27y*POn$ua(y$ua(z$ua!]$ua#`$ua~Og$ua$O$ua~P$*QO#k0oO~Og%Ta!]%Ta#`%Ta$O%Ta~P!1WO!g#vO~O#k0rO~O!]+^Oa)Ta\x27z)Ta~OR#zO!Q#yO!S#{O!l#xO(aVOP!ri[!rij!rir!ri!]!ri!p!ri#R!ri#n!ri#o!ri#p!ri#q!ri#r!ri#s!ri#t!ri#u!ri#v!ri#x!ri#z!ri#{!ri(r!ri(y!ri(z!ri~Oa!ri\x27z!ri\x27w!ri!Y!ri!k!riv!ri!_!ri%i!ri!g!ri~P$+oOh%VOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(VTO(YUO(a$uO(y$}O(z%PO~Op0{O%]0|O(T0zO~P$.VO!g+iOa(]a!_(]a\x27z(]a!](]a~O#k1SO~O[]X!]fX!^fX~O!]1TO!^)XX~O!^1VO~O[1WO~Ob1YO(T+qO(VTO(YUO~O!_&PO(T%gO`\x27uX!]\x27uX~O!]+vO`)Wa~O!k1]O~P!:tO[1`O~O`1aO~O#`1fO~On1iO!_$|O~O(e(|O!^)UP~Oh%VOn1rO!_1oO%i1qO~O[1|O!]1zO!^)VX~O!^1}O~O`2POa%nO\x27z%nO~O(T#nO(VTO(YUO~O#S$dO#`$eO$Q$eOP(gXR(gX[(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX~Oj2SO&[2TOa(gX~P$3pOj2SO#`$eO&[2TO~Oa2VO~P%[Oa2XO~O&e2[OP&ciQ&ciS&ciY&cia&cid&cie&cil&cip&cir&cis&cit&ciz&ci|&ci!O&ci!S&ci!W&ci!X&ci!_&ci!i&ci!l&ci!o&ci!p&ci!q&ci!s&ci!u&ci!x&ci!|&ci$W&ci$n&ci%h&ci%j&ci%l&ci%m&ci%n&ci%q&ci%s&ci%v&ci%w&ci%y&ci&W&ci&^&ci&`&ci&b&ci&d&ci&g&ci&m&ci&s&ci&u&ci&w&ci&y&ci&{&ci\x27w&ci(T&ci(V&ci(Y&ci(a&ci(o&ci!^&cib&ci&j&ci~Ob2bO!^2`O&j2aO~P`O!_XO!l2dO~O&q,{OP&liQ&liS&liY&lia&lid&lie&lil&lip&lir&lis&lit&liz&li|&li!O&li!S&li!W&li!X&li!_&li!i&li!l&li!o&li!p&li!q&li!s&li!u&li!x&li!|&li$W&li$n&li%h&li%j&li%l&li%m&li%n&li%q&li%s&li%v&li%w&li%y&li&W&li&^&li&`&li&b&li&d&li&g&li&m&li&s&li&u&li&w&li&y&li&{&li\x27w&li(T&li(V&li(Y&li(a&li(o&li!^&li&e&lib&li&j&li~O!Y2jO~O!]!aa!^!aa~P#BwOs!nO!S!oO![2pO(e!mO!]\x27XX!^\x27XX~P@nO!]-]O!^(ia~O!]\x27_X!^\x27_X~P!9|O!]-`O!^(xa~O!^2wO~P\x27_Oa%nO#`3QO\x27z%nO~Oa%nO!g#vO#`3QO\x27z%nO~Oa%nO!g#vO!p3UO#`3QO\x27z%nO(r\x27pO~Oa%nO\x27z%nO~P!:tO!]$_Ov$qa~O!Y\x27Wi!]\x27Wi~P!:tO!](VO!Y(hi~O!](^O!Y(vi~O!Y(wi!](wi~P!:tO!](ti!k(tia(ti\x27z(ti~P!:tO#`3WO!](ti!k(tia(ti\x27z(ti~O!](jO!k(si~O!S%hO!_%iO!|]O#i3]O#j3[O(T%gO~O!S%hO!_%iO#j3[O(T%gO~On3dO!_\x27`O%i3cO~Oh%VOn3dO!_\x27`O%i3cO~O#k%aaP%aaR%aa[%aaa%aaj%aar%aa!S%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa\x27z%aa(a%aa(r%aa!k%aa!Y%aa\x27w%aav%aa!_%aa%i%aa!g%aa~P#L{O#k%caP%caR%ca[%caa%caj%car%ca!S%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca\x27z%ca(a%ca(r%ca!k%ca!Y%ca\x27w%cav%ca!_%ca%i%ca!g%ca~P#MnO#k%aaP%aaR%aa[%aaa%aaj%aar%aa!S%aa!]%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa\x27z%aa(a%aa(r%aa!k%aa!Y%aa\x27w%aa#`%aav%aa!_%aa%i%aa!g%aa~P#/sO#k%caP%caR%ca[%caa%caj%car%ca!S%ca!]%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca\x27z%ca(a%ca(r%ca!k%ca!Y%ca\x27w%ca#`%cav%ca!_%ca%i%ca!g%ca~P#/sO#k}aP}a[}aa}aj}ar}a!l}a!p}a#R}a#n}a#o}a#p}a#q}a#r}a#s}a#t}a#u}a#v}a#x}a#z}a#{}a\x27z}a(a}a(r}a!k}a!Y}a\x27w}av}a!_}a%i}a!g}a~P$(cO#k$saP$saR$sa[$saa$saj$sar$sa!S$sa!l$sa!p$sa#R$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#t$sa#u$sa#v$sa#x$sa#z$sa#{$sa\x27z$sa(a$sa(r$sa!k$sa!Y$sa\x27w$sav$sa!_$sa%i$sa!g$sa~P$)_O#k$uaP$uaR$ua[$uaa$uaj$uar$ua!S$ua!l$ua!p$ua#R$ua#n$ua#o$ua#p$ua#q$ua#r$ua#s$ua#t$ua#u$ua#v$ua#x$ua#z$ua#{$ua\x27z$ua(a$ua(r$ua!k$ua!Y$ua\x27w$uav$ua!_$ua%i$ua!g$ua~P$*QO#k%TaP%TaR%Ta[%Taa%Taj%Tar%Ta!S%Ta!]%Ta!l%Ta!p%Ta#R%Ta#n%Ta#o%Ta#p%Ta#q%Ta#r%Ta#s%Ta#t%Ta#u%Ta#v%Ta#x%Ta#z%Ta#{%Ta\x27z%Ta(a%Ta(r%Ta!k%Ta!Y%Ta\x27w%Ta#`%Tav%Ta!_%Ta%i%Ta!g%Ta~P#/sOa#cq!]#cq\x27z#cq\x27w#cq!Y#cq!k#cqv#cq!_#cq%i#cq!g#cq~P!:tO![3lO!]\x27YX!k\x27YX~P%[O!].tO!k(ka~O!].tO!k(ka~P!:tO!Y3oO~O$O!na!^!na~PKlO$O!ja!]!ja!^!ja~P#BwO$O!ra!^!ra~P!=[O$O!ta!^!ta~P!?rOg\x27]X!]\x27]X~P!,TO!]/POg(pa~OSfO!_4TO$d4UO~O!^4YO~Ov4ZO~P#/sOa$mq!]$mq\x27z$mq\x27w$mq!Y$mq!k$mqv$mq!_$mq%i$mq!g$mq~P!:tO!Y4]O~P!&zO!S4^O~O!Q*OO\x27y*PO(z%POn\x27ia(y\x27ia!]\x27ia#`\x27ia~Og\x27ia$O\x27ia~P%-fO!Q*OO\x27y*POn\x27ka(y\x27ka(z\x27ka!]\x27ka#`\x27ka~Og\x27ka$O\x27ka~P%.XO(r$YO~P#/sO!YfX!Y$zX!]fX!]$zX!g%RX#`fX~P!0SOp%WO(T=WO~P!1uOp4bO!S%hO![4aO!_%iO(T%gO!]\x27eX!k\x27eX~O!]/pO!k)Oa~O!]/pO!g#vO!k)Oa~O!]/pO!g#vO(r\x27pO!k)Oa~Og$|i!]$|i#`$|i$O$|i~P!1WO![4jO!Y\x27gX!]\x27gX~P!3tO!]/yO!Y)Pa~O!]/yO!Y)Pa~P#/sOP]XR]X[]Xj]Xr]X!Q]X!S]X!Y]X!]]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X~Oj%YX!g%YX~P%2OOj4oO!g#vO~Oh%VO!g#vO!l%eO~Oh%VOr4tO!l%eO(r\x27pO~Or4yO!g#vO(r\x27pO~Os!nO!S4zO(VTO(YUO(e!mO~O(y$}On%ai!Q%ai\x27y%ai(z%ai!]%ai#`%ai~Og%ai$O%ai~P%5oO(z%POn%ci!Q%ci\x27y%ci(y%ci!]%ci#`%ci~Og%ci$O%ci~P%6bOg(_i!](_i~P!1WO#`5QOg(_i!](_i~P!1WO!k5VO~Oa$oq!]$oq\x27z$oq\x27w$oq!Y$oq!k$oqv$oq!_$oq%i$oq!g$oq~P!:tO!Y5ZO~O!]5[O!_)QX~P#/sOa$zX!_$zX%^]X\x27z$zX!]$zX~P!0SO%^5_OaoX!_oX\x27zoX!]oX~P$#OOp5`O(T#nO~O%^5_O~Ob5fO%j5gO(T+qO(VTO(YUO!]\x27tX!^\x27tX~O!]1TO!^)Xa~O[5kO~O`5lO~O[5pO~Oa%nO\x27z%nO~P#/sO!]5uO#`5wO!^)UX~O!^5xO~Or6OOs!nO!S*iO!b!yO!c!vO!d!vO!|<VO#T!pO#U!pO#V!pO#W!pO#X!pO#[5}O#]!zO(U!lO(VTO(YUO(e!mO(o!sO~O!^5|O~P%;eOn6TO!_1oO%i6SO~Oh%VOn6TO!_1oO%i6SO~Ob6[O(T#nO(VTO(YUO!]\x27sX!^\x27sX~O!]1zO!^)Va~O(VTO(YUO(e6^O~O`6bO~Oj6eO&[6fO~PNXO!k6gO~P%[Oa6iO~Oa6iO~P%[Ob2bO!^6nO&j2aO~P`O!g6pO~O!g6rOh(ji!](ji!^(ji!g(ji!l(jir(ji(r(ji~O!]#hi!^#hi~P#BwO#`6sO!]#hi!^#hi~O!]!ai!^!ai~P#BwOa%nO#`6|O\x27z%nO~Oa%nO!g#vO#`6|O\x27z%nO~O!](tq!k(tqa(tq\x27z(tq~P!:tO!](jO!k(sq~O!S%hO!_%iO#j7TO(T%gO~O!_\x27`O%i7WO~On7[O!_\x27`O%i7WO~O#k\x27iaP\x27iaR\x27ia[\x27iaa\x27iaj\x27iar\x27ia!S\x27ia!l\x27ia!p\x27ia#R\x27ia#n\x27ia#o\x27ia#p\x27ia#q\x27ia#r\x27ia#s\x27ia#t\x27ia#u\x27ia#v\x27ia#x\x27ia#z\x27ia#{\x27ia\x27z\x27ia(a\x27ia(r\x27ia!k\x27ia!Y\x27ia\x27w\x27iav\x27ia!_\x27ia%i\x27ia!g\x27ia~P%-fO#k\x27kaP\x27kaR\x27ka[\x27kaa\x27kaj\x27kar\x27ka!S\x27ka!l\x27ka!p\x27ka#R\x27ka#n\x27ka#o\x27ka#p\x27ka#q\x27ka#r\x27ka#s\x27ka#t\x27ka#u\x27ka#v\x27ka#x\x27ka#z\x27ka#{\x27ka\x27z\x27ka(a\x27ka(r\x27ka!k\x27ka!Y\x27ka\x27w\x27kav\x27ka!_\x27ka%i\x27ka!g\x27ka~P%.XO#k$|iP$|iR$|i[$|ia$|ij$|ir$|i!S$|i!]$|i!l$|i!p$|i#R$|i#n$|i#o$|i#p$|i#q$|i#r$|i#s$|i#t$|i#u$|i#v$|i#x$|i#z$|i#{$|i\x27z$|i(a$|i(r$|i!k$|i!Y$|i\x27w$|i#`$|iv$|i!_$|i%i$|i!g$|i~P#/sO#k%aiP%aiR%ai[%aia%aij%air%ai!S%ai!l%ai!p%ai#R%ai#n%ai#o%ai#p%ai#q%ai#r%ai#s%ai#t%ai#u%ai#v%ai#x%ai#z%ai#{%ai\x27z%ai(a%ai(r%ai!k%ai!Y%ai\x27w%aiv%ai!_%ai%i%ai!g%ai~P%5oO#k%ciP%ciR%ci[%cia%cij%cir%ci!S%ci!l%ci!p%ci#R%ci#n%ci#o%ci#p%ci#q%ci#r%ci#s%ci#t%ci#u%ci#v%ci#x%ci#z%ci#{%ci\x27z%ci(a%ci(r%ci!k%ci!Y%ci\x27w%civ%ci!_%ci%i%ci!g%ci~P%6bO!]\x27Ya!k\x27Ya~P!:tO!].tO!k(ki~O$O#ci!]#ci!^#ci~P#BwOP$[OR#zO!Q#yO!S#{O!l#xO!p$[O(aVO[#mij#mir#mi#R#mi#o#mi#p#mi#q#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#n#mi~P%NdO#n<_O~P%NdOP$[OR#zOr<kO!Q#yO!S#{O!l#xO!p$[O#n<_O#o<`O#p<`O#q<`O(aVO[#mij#mi#R#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#r#mi~P&!lO#r<aO~P&!lOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO(aVO#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#v#mi~P&$tOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO(aVO(z#}O#z#mi#{#mi$O#mi(r#mi(y#mi!]#mi!^#mi~O#x<eO~P&&uO#x#mi~P&&uO#v<cO~P&$tOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO#x<eO(aVO(y#|O(z#}O#{#mi$O#mi(r#mi!]#mi!^#mi~O#z#mi~P&)UO#z<gO~P&)UOa#|y!]#|y\x27z#|y\x27w#|y!Y#|y!k#|yv#|y!_#|y%i#|y!g#|y~P!:tO[#mij#mir#mi#R#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi!]#mi!^#mi~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O#n<_O#o<`O#p<`O#q<`O(aVO(y#mi(z#mi~P&,QOn>^O!Q*OO\x27y*PO(y$}O(z%POP#miR#mi!S#mi!l#mi!p#mi#n#mi#o#mi#p#mi#q#mi(a#mi~P&,QO#S$dOP(`XR(`X[(`Xj(`Xn(`Xr(`X!Q(`X!S(`X!l(`X!p(`X#R(`X#n(`X#o(`X#p(`X#q(`X#r(`X#s(`X#t(`X#u(`X#v(`X#x(`X#z(`X#{(`X$O(`X\x27y(`X(a(`X(r(`X(y(`X(z(`X!](`X!^(`X~O$O$Pi!]$Pi!^$Pi~P#BwO$O!ri!^!ri~P$+oOg\x27]a!]\x27]a~P!1WO!^7nO~O!]\x27da!^\x27da~P#BwO!Y7oO~P#/sO!g#vO(r\x27pO!]\x27ea!k\x27ea~O!]/pO!k)Oi~O!]/pO!g#vO!k)Oi~Og$|q!]$|q#`$|q$O$|q~P!1WO!Y\x27ga!]\x27ga~P#/sO!g7vO~O!]/yO!Y)Pi~P#/sO!]/yO!Y)Pi~O!Y7yO~Oh%VOr8OO!l%eO(r\x27pO~Oj8QO!g#vO~Or8TO!g#vO(r\x27pO~O!Q*OO\x27y*PO(z%POn\x27ja(y\x27ja!]\x27ja#`\x27ja~Og\x27ja$O\x27ja~P&5RO!Q*OO\x27y*POn\x27la(y\x27la(z\x27la!]\x27la#`\x27la~Og\x27la$O\x27la~P&5tOg(_q!](_q~P!1WO#`8VOg(_q!](_q~P!1WO!Y8WO~Og%Oq!]%Oq#`%Oq$O%Oq~P!1WOa$oy!]$oy\x27z$oy\x27w$oy!Y$oy!k$oyv$oy!_$oy%i$oy!g$oy~P!:tO!g6rO~O!]5[O!_)Qa~O!_\x27`OP$TaR$Ta[$Taj$Tar$Ta!Q$Ta!S$Ta!]$Ta!l$Ta!p$Ta#R$Ta#n$Ta#o$Ta#p$Ta#q$Ta#r$Ta#s$Ta#t$Ta#u$Ta#v$Ta#x$Ta#z$Ta#{$Ta(a$Ta(r$Ta(y$Ta(z$Ta~O%i7WO~P&8fO%^8[Oa%[i!_%[i\x27z%[i!]%[i~Oa#cy!]#cy\x27z#cy\x27w#cy!Y#cy!k#cyv#cy!_#cy%i#cy!g#cy~P!:tO[8^O~Ob8`O(T+qO(VTO(YUO~O!]1TO!^)Xi~O`8dO~O(e(|O!]\x27pX!^\x27pX~O!]5uO!^)Ua~O!^8nO~P%;eO(o!sO~P$&YO#[8oO~O!_1oO~O!_1oO%i8qO~On8tO!_1oO%i8qO~O[8yO!]\x27sa!^\x27sa~O!]1zO!^)Vi~O!k8}O~O!k9OO~O!k9RO~O!k9RO~P%[Oa9TO~O!g9UO~O!k9VO~O!](wi!^(wi~P#BwOa%nO#`9_O\x27z%nO~O!](ty!k(tya(ty\x27z(ty~P!:tO!](jO!k(sy~O%i9bO~P&8fO!_\x27`O%i9bO~O#k$|qP$|qR$|q[$|qa$|qj$|qr$|q!S$|q!]$|q!l$|q!p$|q#R$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#t$|q#u$|q#v$|q#x$|q#z$|q#{$|q\x27z$|q(a$|q(r$|q!k$|q!Y$|q\x27w$|q#`$|qv$|q!_$|q%i$|q!g$|q~P#/sO#k\x27jaP\x27jaR\x27ja[\x27jaa\x27jaj\x27jar\x27ja!S\x27ja!l\x27ja!p\x27ja#R\x27ja#n\x27ja#o\x27ja#p\x27ja#q\x27ja#r\x27ja#s\x27ja#t\x27ja#u\x27ja#v\x27ja#x\x27ja#z\x27ja#{\x27ja\x27z\x27ja(a\x27ja(r\x27ja!k\x27ja!Y\x27ja\x27w\x27jav\x27ja!_\x27ja%i\x27ja!g\x27ja~P&5RO#k\x27laP\x27laR\x27la[\x27laa\x27laj\x27lar\x27la!S\x27la!l\x27la!p\x27la#R\x27la#n\x27la#o\x27la#p\x27la#q\x27la#r\x27la#s\x27la#t\x27la#u\x27la#v\x27la#x\x27la#z\x27la#{\x27la\x27z\x27la(a\x27la(r\x27la!k\x27la!Y\x27la\x27w\x27lav\x27la!_\x27la%i\x27la!g\x27la~P&5tO#k%OqP%OqR%Oq[%Oqa%Oqj%Oqr%Oq!S%Oq!]%Oq!l%Oq!p%Oq#R%Oq#n%Oq#o%Oq#p%Oq#q%Oq#r%Oq#s%Oq#t%Oq#u%Oq#v%Oq#x%Oq#z%Oq#{%Oq\x27z%Oq(a%Oq(r%Oq!k%Oq!Y%Oq\x27w%Oq#`%Oqv%Oq!_%Oq%i%Oq!g%Oq~P#/sO!]\x27Yi!k\x27Yi~P!:tO$O#cq!]#cq!^#cq~P#BwO(y$}OP%aaR%aa[%aaj%aar%aa!S%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa$O%aa(a%aa(r%aa!]%aa!^%aa~On%aa!Q%aa\x27y%aa(z%aa~P&IyO(z%POP%caR%ca[%caj%car%ca!S%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca$O%ca(a%ca(r%ca!]%ca!^%ca~On%ca!Q%ca\x27y%ca(y%ca~P&LQOn>^O!Q*OO\x27y*PO(z%PO~P&IyOn>^O!Q*OO\x27y*PO(y$}O~P&LQOR0kO!Q0kO!S0lO#S$dOP}a[}aj}an}ar}a!l}a!p}a#R}a#n}a#o}a#p}a#q}a#r}a#s}a#t}a#u}a#v}a#x}a#z}a#{}a$O}a\x27y}a(a}a(r}a(y}a(z}a!]}a!^}a~O!Q*OO\x27y*POP$saR$sa[$saj$san$sar$sa!S$sa!l$sa!p$sa#R$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#t$sa#u$sa#v$sa#x$sa#z$sa#{$sa$O$sa(a$sa(r$sa(y$sa(z$sa!]$sa!^$sa~O!Q*OO\x27y*POP$uaR$ua[$uaj$uan$uar$ua!S$ua!l$ua!p$ua#R$ua#n$ua#o$ua#p$ua#q$ua#r$ua#s$ua#t$ua#u$ua#v$ua#x$ua#z$ua#{$ua$O$ua(a$ua(r$ua(y$ua(z$ua!]$ua!^$ua~On>^O!Q*OO\x27y*PO(y$}O(z%PO~OP%TaR%Ta[%Taj%Tar%Ta!S%Ta!l%Ta!p%Ta#R%Ta#n%Ta#o%Ta#p%Ta#q%Ta#r%Ta#s%Ta#t%Ta#u%Ta#v%Ta#x%Ta#z%Ta#{%Ta$O%Ta(a%Ta(r%Ta!]%Ta!^%Ta~P\x27\x27VO$O$mq!]$mq!^$mq~P#BwO$O$oq!]$oq!^$oq~P#BwO!^9oO~O$O9pO~P!1WO!g#vO!]\x27ei!k\x27ei~O!g#vO(r\x27pO!]\x27ei!k\x27ei~O!]/pO!k)Oq~O!Y\x27gi!]\x27gi~P#/sO!]/yO!Y)Pq~Or9wO!g#vO(r\x27pO~O[9yO!Y9xO~P#/sO!Y9xO~Oj:PO!g#vO~Og(_y!](_y~P!1WO!]\x27na!_\x27na~P#/sOa%[q!_%[q\x27z%[q!]%[q~P#/sO[:UO~O!]1TO!^)Xq~O`:YO~O#`:ZO!]\x27pa!^\x27pa~O!]5uO!^)Ui~P#BwO!S:]O~O!_1oO%i:`O~O(VTO(YUO(e:eO~O!]1zO!^)Vq~O!k:hO~O!k:iO~O!k:jO~O!k:jO~P%[O#`:mO!]#hy!^#hy~O!]#hy!^#hy~P#BwO%i:rO~P&8fO!_\x27`O%i:rO~O$O#|y!]#|y!^#|y~P#BwOP$|iR$|i[$|ij$|ir$|i!S$|i!l$|i!p$|i#R$|i#n$|i#o$|i#p$|i#q$|i#r$|i#s$|i#t$|i#u$|i#v$|i#x$|i#z$|i#{$|i$O$|i(a$|i(r$|i!]$|i!^$|i~P\x27\x27VO!Q*OO\x27y*PO(z%POP\x27iaR\x27ia[\x27iaj\x27ian\x27iar\x27ia!S\x27ia!l\x27ia!p\x27ia#R\x27ia#n\x27ia#o\x27ia#p\x27ia#q\x27ia#r\x27ia#s\x27ia#t\x27ia#u\x27ia#v\x27ia#x\x27ia#z\x27ia#{\x27ia$O\x27ia(a\x27ia(r\x27ia(y\x27ia!]\x27ia!^\x27ia~O!Q*OO\x27y*POP\x27kaR\x27ka[\x27kaj\x27kan\x27kar\x27ka!S\x27ka!l\x27ka!p\x27ka#R\x27ka#n\x27ka#o\x27ka#p\x27ka#q\x27ka#r\x27ka#s\x27ka#t\x27ka#u\x27ka#v\x27ka#x\x27ka#z\x27ka#{\x27ka$O\x27ka(a\x27ka(r\x27ka(y\x27ka(z\x27ka!]\x27ka!^\x27ka~O(y$}OP%aiR%ai[%aij%ain%air%ai!Q%ai!S%ai!l%ai!p%ai#R%ai#n%ai#o%ai#p%ai#q%ai#r%ai#s%ai#t%ai#u%ai#v%ai#x%ai#z%ai#{%ai$O%ai\x27y%ai(a%ai(r%ai(z%ai!]%ai!^%ai~O(z%POP%ciR%ci[%cij%cin%cir%ci!Q%ci!S%ci!l%ci!p%ci#R%ci#n%ci#o%ci#p%ci#q%ci#r%ci#s%ci#t%ci#u%ci#v%ci#x%ci#z%ci#{%ci$O%ci\x27y%ci(a%ci(r%ci(y%ci!]%ci!^%ci~O$O$oy!]$oy!^$oy~P#BwO$O#cy!]#cy!^#cy~P#BwO!g#vO!]\x27eq!k\x27eq~O!]/pO!k)Oy~O!Y\x27gq!]\x27gq~P#/sOr:|O!g#vO(r\x27pO~O[;QO!Y;PO~P#/sO!Y;PO~Og(_!R!](_!R~P!1WOa%[y!_%[y\x27z%[y!]%[y~P#/sO!]1TO!^)Xy~O!]5uO!^)Uq~O(T;XO~O!_1oO%i;[O~O!k;_O~O%i;dO~P&8fOP$|qR$|q[$|qj$|qr$|q!S$|q!l$|q!p$|q#R$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#t$|q#u$|q#v$|q#x$|q#z$|q#{$|q$O$|q(a$|q(r$|q!]$|q!^$|q~P\x27\x27VO!Q*OO\x27y*PO(z%POP\x27jaR\x27ja[\x27jaj\x27jan\x27jar\x27ja!S\x27ja!l\x27ja!p\x27ja#R\x27ja#n\x27ja#o\x27ja#p\x27ja#q\x27ja#r\x27ja#s\x27ja#t\x27ja#u\x27ja#v\x27ja#x\x27ja#z\x27ja#{\x27ja$O\x27ja(a\x27ja(r\x27ja(y\x27ja!]\x27ja!^\x27ja~O!Q*OO\x27y*POP\x27laR\x27la[\x27laj\x27lan\x27lar\x27la!S\x27la!l\x27la!p\x27la#R\x27la#n\x27la#o\x27la#p\x27la#q\x27la#r\x27la#s\x27la#t\x27la#u\x27la#v\x27la#x\x27la#z\x27la#{\x27la$O\x27la(a\x27la(r\x27la(y\x27la(z\x27la!]\x27la!^\x27la~OP%OqR%Oq[%Oqj%Oqr%Oq!S%Oq!l%Oq!p%Oq#R%Oq#n%Oq#o%Oq#p%Oq#q%Oq#r%Oq#s%Oq#t%Oq#u%Oq#v%Oq#x%Oq#z%Oq#{%Oq$O%Oq(a%Oq(r%Oq!]%Oq!^%Oq~P\x27\x27VOg%e!Z!]%e!Z#`%e!Z$O%e!Z~P!1WO!Y;hO~P#/sOr;iO!g#vO(r\x27pO~O[;kO!Y;hO~P#/sO!]\x27pq!^\x27pq~P#BwO!]#h!Z!^#h!Z~P#BwO#k%e!ZP%e!ZR%e!Z[%e!Za%e!Zj%e!Zr%e!Z!S%e!Z!]%e!Z!l%e!Z!p%e!Z#R%e!Z#n%e!Z#o%e!Z#p%e!Z#q%e!Z#r%e!Z#s%e!Z#t%e!Z#u%e!Z#v%e!Z#x%e!Z#z%e!Z#{%e!Z\x27z%e!Z(a%e!Z(r%e!Z!k%e!Z!Y%e!Z\x27w%e!Z#`%e!Zv%e!Z!_%e!Z%i%e!Z!g%e!Z~P#/sOr;tO!g#vO(r\x27pO~O!Y;uO~P#/sOr;|O!g#vO(r\x27pO~O!Y;}O~P#/sOP%e!ZR%e!Z[%e!Zj%e!Zr%e!Z!S%e!Z!l%e!Z!p%e!Z#R%e!Z#n%e!Z#o%e!Z#p%e!Z#q%e!Z#r%e!Z#s%e!Z#t%e!Z#u%e!Z#v%e!Z#x%e!Z#z%e!Z#{%e!Z$O%e!Z(a%e!Z(r%e!Z!]%e!Z!^%e!Z~P\x27\x27VOr<QO!g#vO(r\x27pO~Ov(fX~P1qO!Q%rO~P!)[O(U!lO~P!)[O!YfX!]fX#`fX~P%2OOP]XR]X[]Xj]Xr]X!Q]X!S]X!]]X!]fX!l]X!p]X#R]X#S]X#`]X#`fX#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X~O!gfX!k]X!kfX(rfX~P\x27LTOP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_XO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(T)]O(VTO(YUO(aVO(o[O~O!]<iO!^$qa~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<tO!S${O!_$|O!i>WO!l$xO#j<zO$W%`O$t<vO$v<xO$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~Ol)dO~P(!yOr!eX(r!eX~P#!iOr(jX(r(jX~P##[O!^]X!^fX~P\x27LTO!YfX!Y$zX!]fX!]$zX#`fX~P!0SO#k<^O~O!g#vO#k<^O~O#`<nO~Oj<bO~O#`=OO!](wX!^(wX~O#`<nO!](uX!^(uX~O#k=PO~Og=RO~P!1WO#k=XO~O#k=YO~Og=RO(T&ZO~O!g#vO#k=ZO~O!g#vO#k=PO~O$O=[O~P#BwO#k=]O~O#k=^O~O#k=cO~O#k=dO~O#k=eO~O#k=fO~O$O=gO~P!1WO$O=hO~P!1WOl=sO~P7eOk#S#T#U#W#X#[#i#j#u$n$t$v$y%]%^%h%i%j%q%s%v%w%y%{~(OT#o!X\x27|(U#ps#n#qr!Q\x27}$]\x27}(T$_(e~','goto':'$9Y)]PPPPPP)^PP)aP)rP+W/]PPPP6mPP7TPP=QPPP@tPA^PA^PPPA^PCfPA^PA^PA^PCjPCoPD^PIWPPPI[PPPPI[L_PPPLeMVPI[PI[PP!\x20eI[PPPI[PI[P!#lI[P!\x27S!(X!(bP!)U!)Y!)U!,gPPPPPPP!-W!(XPP!-h!/YP!2iI[I[!2n!5z!:h!:h!>gPPP!>oI[PPPPPPPPP!BOP!C]PPI[!DnPI[PI[I[I[I[I[PI[!FQP!I[P!LbP!Lf!Lp!Lt!LtP!IXP!Lx!LxP#!OP#!SI[PI[#!Y#%_CjA^PA^PA^A^P#&lA^A^#)OA^#+vA^#.SA^A^#.r#1W#1W#1]#1f#1W#1qPP#1WPA^#2ZA^#6YA^A^6mPPP#:_PPP#:x#:xP#:xP#;`#:xPP#;fP#;]P#;]#;y#;]#<e#<k#<n)aP#<q)aP#<z#<z#<zP)aP)aP)aP)aPP)aP#=Q#=TP#=T)aP#=XP#=[P)aP)aP)aP)aP)aP)a)aPP#=b#=h#=s#=y#>P#>V#>]#>k#>q#>{#?R#?]#?c#?s#?y#@k#@}#AT#AZ#Ai#BO#Cs#DR#DY#Et#FS#Gt#HS#HY#H`#Hf#Hp#Hv#H|#IW#Ij#IpPPPPPPPPPPP#IvPPPPPPP#Jk#Mx$\x20b$\x20i$\x20qPPP$\x27]P$\x27f$*_$0x$0{$1O$1}$2Q$2X$2aP$2g$2jP$3W$3[$4S$5b$5g$5}PP$6S$6Y$6^$6a$6e$6i$7e$7|$8e$8i$8l$8o$8y$8|$9Q$9UR!|RoqOXst!Z#d%m&r&t&u&w,s,x2[2_Y!vQ\x27`-e1o5{Q%tvQ%|yQ&T|Q&j!VS\x27W!e-]Q\x27f!iS\x27l!r!yU*k$|*Z*oQ+o%}S+|&V&WQ,d&dQ-c\x27_Q-m\x27gQ-u\x27mQ0[*qQ1b,OQ1y,eR<{<Y%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+],p,s,x-i-q.P.V.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3l4z6T6e6f6i6|8t9T9_S#q]<V!r)_$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SU+P%]<s<tQ+t&PQ,f&gQ,m&oQ0x+gQ0}+iQ1Y+uQ2R,kQ3`.gQ5`0|Q5f1TQ6[1zQ7Y3dQ8`5gR9e7[\x27QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S!S!nQ!r!v!y!z$|\x27W\x27_\x27`\x27l\x27m\x27n*k*o*q*r-]-c-e-u0[0_1o5{5}%[$ti#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^Q&X|Q\x27U!eS\x27[%i-`Q+t&PQ,P&WQ,f&gQ0n+SQ1Y+uQ1_+{Q2Q,jQ2R,kQ5f1TQ5o1aQ6[1zQ6_1|Q6`2PQ8`5gQ8c5lQ8|6bQ:X8dQ:f8yQ;V:YR<}*ZrnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_R,h&k&z^OPXYstuvwz!Z!`!g!j!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>R>S[#]WZ#W#Z\x27X(T!b%jm#h#i#l$x%e%h(^(h(i(j*Y*^*b+Z+[+^,o-V.T.Z.[.]._/m/p2d3[3]4a6r7TQ%wxQ%{yW&Q|&V&W,OQ&_!TQ\x27c!hQ\x27e!iQ(q#sS+n%|%}Q+r&PQ,_&bQ,c&dS-l\x27f\x27gQ.i(rQ1R+oQ1X+uQ1Z+vQ1^+zQ1t,`S1x,d,eQ2|-mQ5e1TQ5i1WQ5n1`Q6Z1yQ8_5gQ8b5kQ8f5pQ:T8^R;T:U!U$zi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y!^%yy!i!u%{%|%}\x27V\x27e\x27f\x27g\x27k\x27u*j+n+o-Y-l-m-t0R0U1R2u2|3T4r4s4v7}9{Q+h%wQ,T&[Q,W&]Q,b&dQ.h(qQ1s,_U1w,c,d,eQ3e.iQ6U1tS6Y1x1yQ8x6Z#f>T#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^o>U<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hW%Ti%V*y>PS&[!Q&iQ&]!RQ&^!SU*}%[%d=sR,R&Y%]%Si#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^T)z$u){V+P%]<s<tW\x27[!e%i*Z-`S(}#y#zQ+c%rQ+y&SS.b(m(nQ1j,XQ5T0kR8i5u\x27QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S$i$^c#Y#e%q%s%u(S(Y(t(y)R)S)T)U)V)W)X)Y)Z)[)^)`)b)g)q+d+x-Z-x-}.S.U.s.v.z.|.}/O/b0p2k2n3O3V3k3p3q3r3s3t3u3v3w3x3y3z3{3|4P4Q4X5X5c6u6{7Q7a7b7k7l8k9X9]9g9m9n:o;W;`<W=vT#TV#U\x27RkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ\x27Y!eR2q-]!W!nQ!e!r!v!y!z$|\x27W\x27_\x27`\x27l\x27m\x27n*Z*k*o*q*r-]-c-e-u0[0_1o5{5}R1l,ZnqOXst!Z#d%m&r&t&u&w,s,x2[2_Q&y!^Q\x27v!xS(s#u<^Q+l%zQ,]&_Q,^&aQ-j\x27dQ-w\x27oS.r(x=PS0q+X=ZQ1P+mQ1n,[Q2c,zQ2e,{Q2m-WQ2z-kQ2}-oS5Y0r=eQ5a1QS5d1S=fQ6t2oQ6x2{Q6}3SQ8]5bQ9Y6vQ9Z6yQ9^7OR:l9V$d$]c#Y#e%s%u(S(Y(t(y)R)S)T)U)V)W)X)Y)Z)[)^)`)b)g)q+d+x-Z-x-}.S.U.s.v.z.}/O/b0p2k2n3O3V3k3p3q3r3s3t3u3v3w3x3y3z3{3|4P4Q4X5X5c6u6{7Q7a7b7k7l8k9X9]9g9m9n:o;W;`<W=vS(o#p\x27iQ)P#zS+b%q.|S.c(n(pR3^.d\x27QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SS#q]<VQ&t!XQ&u!YQ&w![Q&x!]R2Z,vQ\x27a!hQ+e%wQ-h\x27cS.e(q+hQ2x-gW3b.h.i0w0yQ6w2yW7U3_3a3e5^U9a7V7X7ZU:q9c9d9fS;b:p:sQ;p;cR;x;qU!wQ\x27`-eT5y1o5{!Q_OXZ`st!V!Z#d#h%e%m&i&k&r&t&u&w(j,s,x.[2[2_]!pQ!r\x27`-e1o5{T#q]<V%^{OPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_S(}#y#zS.b(m(n!s=l$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SU$fd)_,mS(p#p\x27iU*v%R(w4OU0m+O.n7gQ5^0xQ7V3`Q9d7YR:s9em!tQ!r!v!y!z\x27`\x27l\x27m\x27n-e-u1o5{5}Q\x27t!uS(f#g2US-s\x27k\x27wQ/s*]Q0R*jQ3U-vQ4f/tQ4r0TQ4s0UQ4x0^Q7r4`S7}4t4vS8R4y4{Q9r7sQ9v7yQ9{8OQ:Q8TS:{9w9xS;g:|;PS;s;h;iS;{;t;uS<P;|;}R<S<QQ#wbQ\x27s!uS(e#g2US(g#m+WQ+Y%fQ+j%xQ+p&OU-r\x27k\x27t\x27wQ.W(fU/r*]*`/wQ0S*jQ0V*lQ1O+kQ1u,aS3R-s-vQ3Z.`S4e/s/tQ4n0PS4q0R0^Q4u0WQ6W1vQ7P3US7q4`4bQ7u4fU7|4r4x4{Q8P4wQ8v6XS9q7r7sQ9u7yQ9}8RQ:O8SQ:c8wQ:y9rS:z9v9xQ;S:QQ;^:dS;f:{;PS;r;g;hS;z;s;uS<O;{;}Q<R<PQ<T<SQ=o=jQ={=tR=|=uV!wQ\x27`-e%^aOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_S#wz!j!r=i$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SR=o>R%^bOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_Q%fj!^%xy!i!u%{%|%}\x27V\x27e\x27f\x27g\x27k\x27u*j+n+o-Y-l-m-t0R0U1R2u2|3T4r4s4v7}9{S&Oz!jQ+k%yQ,a&dW1v,b,c,d,eU6X1w1x1yS8w6Y6ZQ:d8x!r=j$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ=t>QR=u>R%QeOPXYstuvw!Z!`!g!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{\x27T\x27b\x27r(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_Y#bWZ#W#Z(T!b%jm#h#i#l$x%e%h(^(h(i(j*Y*^*b+Z+[+^,o-V.T.Z.[.]._/m/p2d3[3]4a6r7TQ,n&o!p=k$Z$n)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SR=n\x27XU\x27]!e%i*ZR2s-`%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+],p,s,x-i-q.P.V.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3l4z6T6e6f6i6|8t9T9_!r)_$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ,m&oQ0x+gQ3`.gQ7Y3dR9e7[!b$Tc#Y%q(S(Y(t(y)Z)[)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<W!P<d)^)q-Z.|2k2n3p3y3z4P4X6u7b7k7l8k9X9g9m9n;W;`=v!f$Vc#Y%q(S(Y(t(y)W)X)Z)[)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<W!T<f)^)q-Z.|2k2n3p3v3w3y3z4P4X6u7b7k7l8k9X9g9m9n;W;`=v!^$Zc#Y%q(S(Y(t(y)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<WQ4_/kz>S)^)q-Z.|2k2n3p4P4X6u7b7k7l8k9X9g9m9n;W;`=vQ>X>ZR>Y>[\x27QkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SS$oh$pR4U/U\x27XgOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/U/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>ST$kf$qQ$ifS)j$l)nR)v$qT$jf$qT)l$l)n\x27XhOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/U/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>ST$oh$pQ$rhR)u$p%^jOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_!s>Q$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S#glOPXZst!Z!`!o#S#d#o#{$n%m&k&n&o&r&t&u&w&{\x27T\x27b)O)s*i+]+g,p,s,x-i.g/V/n0]0l1r2S2T2V2X2[2_2a3d4T4z6T6e6f6i7[8t9T!U%Ri$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y#f(w#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^Q+T%aQ/c*Oo4O<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!U$yi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>YQ*c$zU*l$|*Z*oQ+U%bQ0W*m#f=q#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n=r<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hQ=w>TQ=x>UQ=y>VR=z>W!U%Ri$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y#f(w#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^o4O<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hnoOXst!Z#d%m&r&t&u&w,s,x2[2_S*f${*YQ-R\x27OQ-S\x27QR4i/y%[%Si#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^Q,U&]Q1h,WQ5s1gR8h5tV*n$|*Z*oU*n$|*Z*oT5z1o5{S0P*i/nQ4w0]T8S4z:]Q+j%xQ0V*lQ1O+kQ1u,aQ6W1vQ8v6XQ:c8wR;^:d!U%Oi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Yx*R$v)e*S*u+V/v0d0e4R4g5R5S5W7p8U:R:x=p=}>OS0`*t0a#f<o#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n<p<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!d=S(u)c*[*e.j.m.q/_/k/|0v1e3h4[4h4l5r7]7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[`=T3}7c7f7j9h:t:w;yS=_.l3iT=`7e9k!U%Qi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y|*T$v)e*U*t+V/g/v0d0e4R4g4|5R5S5W7p8U:R:x=p=}>OS0b*u0c#f<q#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n<r<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!h=U(u)c*[*e.k.l.q/_/k/|0v1e3f3h4[4h4l5r7]7^7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[d=V3}7d7e7j9h9i:t:u:w;yS=a.m3jT=b7f9lrnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_Q&f!UR,p&ornOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_R&f!UQ,Y&^R1d,RsnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_Q1p,_S6R1s1tU8p6P6Q6US:_8r8sS;Y:^:aQ;m;ZR;w;nQ&m!VR,i&iR6_1|R:f8yW&Q|&V&W,OR1Z+vQ&r!WR,s&sR,y&xT2],x2_R,}&yQ,|&yR2f,}Q\x27y!{R-y\x27ySsOtQ#dXT%ps#dQ#OTR\x27{#OQ#RUR\x27}#RQ){$uR/`){Q#UVR(Q#UQ#XWU(W#X(X.QQ(X#YR.Q(YQ-^\x27YR2r-^Q.u(yS3m.u3nR3n.vQ-e\x27`R2v-eY!rQ\x27`-e1o5{R\x27j!rQ/Q)eR4S/QU#_W%h*YU(_#_(`.RQ(`#`R.R(ZQ-a\x27]R2t-at`OXst!V!Z#d%m&i&k&r&t&u&w,s,x2[2_S#hZ%eU#r`#h.[R.[(jQ(k#jQ.X(gW.a(k.X3X7RQ3X.YR7R3YQ)n$lR/W)nQ$phR)t$pQ$`cU)a$`-|<jQ-|<WR<j)qQ/q*]W4c/q4d7t9sU4d/r/s/tS7t4e4fR9s7u$e*Q$v(u)c)e*[*e*t*u+Q+R+V.l.m.o.p.q/_/g/i/k/v/|0d0e0v1e3f3g3h3}4R4[4g4h4l4|5O5R5S5W5r7]7^7_7`7e7f7h7i7j7p7w7z8U8X8Z9h9i9j9t9|:R:S:t:u:v:w:x:};R;e;j;v;y=p=}>O>Z>[Q/z*eU4k/z4m7xQ4m/|R7x4lS*o$|*ZR0Y*ox*S$v)e*t*u+V/v0d0e4R4g5R5S5W7p8U:R:x=p=}>O!d.j(u)c*[*e.l.m.q/_/k/|0v1e3h4[4h4l5r7]7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[U/h*S.j7ca7c3}7e7f7j9h:t:w;yQ0a*tQ3i.lU4}0a3i9kR9k7e|*U$v)e*t*u+V/g/v0d0e4R4g4|5R5S5W7p8U:R:x=p=}>O!h.k(u)c*[*e.l.m.q/_/k/|0v1e3f3h4[4h4l5r7]7^7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[U/j*U.k7de7d3}7e7f7j9h9i:t:u:w;yQ0c*uQ3j.mU5P0c3j9lR9l7fQ*z%UR0g*zQ5]0vR8Y5]Q+_%kR0u+_Q5v1jS8j5v:[R:[8kQ,[&_R1m,[Q5{1oR8m5{Q1{,fS6]1{8zR8z6_Q1U+rW5h1U5j8a:VQ5j1XQ8a5iR:V8bQ+w&QR1[+wQ2_,xR6m2_YrOXst#dQ&v!ZQ+a%mQ,r&rQ,t&tQ,u&uQ,w&wQ2Y,sS2],x2_R6l2[Q%opQ&z!_Q&}!aQ\x27P!bQ\x27R!cQ\x27q!uQ+`%lQ+l%zQ,Q&XQ,h&mQ-P&|W-p\x27k\x27s\x27t\x27wQ-w\x27oQ0X*nQ1P+mQ1c,PS2O,i,lQ2g-OQ2h-RQ2i-SQ2}-oW3P-r-s-v-xQ5a1QQ5m1_Q5q1eQ6V1uQ6a2QQ6k2ZU6z3O3R3UQ6}3SQ8]5bQ8e5oQ8g5rQ8l5zQ8u6WQ8{6`S9[6{7PQ9^7OQ:W8cQ:b8vQ:g8|Q:n9]Q;U:XQ;]:cQ;a:oQ;l;VR;o;^Q%zyQ\x27d!iQ\x27o!uU+m%{%|%}Q-W\x27VU-k\x27e\x27f\x27gS-o\x27k\x27uQ0Q*jS1Q+n+oQ2o-YS2{-l-mQ3S-tS4p0R0UQ5b1RQ6v2uQ6y2|Q7O3TU7{4r4s4vQ9z7}R;O9{S$wi>PR*{%VU%Ui%V>PR0f*yQ$viS(u#v+iS)c$b$cQ)e$dQ*[$xS*e${*YQ*t%OQ*u%QQ+Q%^Q+R%_Q+V%cQ.l<oQ.m<qQ.o<uQ.p<wQ.q<yQ/_)yQ/g*RQ/i*TQ/k*VQ/v*aS/|*g/mQ0d*wQ0e*xl0v+f,V.f1i1q3c6S7W8q9b:`:r;[;dQ1e,SQ3f=SQ3g=UQ3h=XS3}<l<mQ4R/PS4[/d4^Q4g/xQ4h/yQ4l/{Q4|0`Q5O0bQ5R0iQ5S0jQ5W0oQ5r1fQ7]=]Q7^=_Q7_=aQ7`=cQ7e<pQ7f<rQ7h<vQ7i<xQ7j<zQ7p4_Q7w4jQ7z4oQ8U5QQ8X5[Q8Z5_Q9h=YQ9i=TQ9j=VQ9t7vQ9|8QQ:R8VQ:S8[Q:t=^Q:u=`Q:v=bQ:w=dQ:x9pQ:}9yQ;R:PQ;e=gQ;j;QQ;v;kQ;y=hQ=p>PQ=}>XQ>O>YQ>Z>]R>[>^Q+O%]Q.n<sR7g<tnpOXst!Z#d%m&r&t&u&w,s,x2[2_Q!fPS#fZ#oQ&|!`W\x27h!o*i0]4zQ(P#SQ)Q#{Q)r$nS,l&k&nQ,q&oQ-O&{S-T\x27T/nQ-g\x27bQ.x)OQ/[)sQ0s+]Q0y+gQ2W,pQ2y-iQ3a.gQ4W/VQ5U0lQ6Q1rQ6c2SQ6d2TQ6h2VQ6j2XQ6o2aQ7Z3dQ7m4TQ8s6TQ9P6eQ9Q6fQ9S6iQ9f7[Q:a8tR:k9T#[cOPXZst!Z!`!o#d#o#{%m&k&n&o&r&t&u&w&{\x27T\x27b)O*i+]+g,p,s,x-i.g/n0]0l1r2S2T2V2X2[2_2a3d4z6T6e6f6i7[8t9TQ#YWQ#eYQ%quQ%svS%uw!gS(S#W(VQ(Y#ZQ(t#uQ(y#xQ)R$OQ)S$PQ)T$QQ)U$RQ)V$SQ)W$TQ)X$UQ)Y$VQ)Z$WQ)[$XQ)^$ZQ)`$_Q)b$aQ)g$eW)q$n)s/V4TQ+d%tQ+x&RS-Z\x27X2pQ-x\x27rS-}(T.PQ.S(]Q.U(dQ.s(xQ.v(zQ.z<UQ.|<XQ.}<YQ/O<]Q/b)}Q0p+XQ2k-UQ2n-XQ3O-qQ3V.VQ3k.tQ3p<^Q3q<_Q3r<`Q3s<aQ3t<bQ3u<cQ3v<dQ3w<eQ3x<fQ3y<gQ3z<hQ3{.{Q3|<kQ4P<nQ4Q<{Q4X<iQ5X0rQ5c1SQ6u=OQ6{3QQ7Q3WQ7a3lQ7b=PQ7k=RQ7l=ZQ8k5wQ9X6sQ9]6|Q9g=[Q9m=eQ9n=fQ:o9_Q;W:ZQ;`:mQ<W#SR=v>SR#[WR\x27Z!el!tQ!r!v!y!z\x27`\x27l\x27m\x27n-e-u1o5{5}S\x27V!e-]U*j$|*Z*oS-Y\x27W\x27_S0U*k*qQ0^*rQ2u-cQ4v0[R4{0_R({#xQ!fQT-d\x27`-e]!qQ!r\x27`-e1o5{Q#p]R\x27i<VR)f$dY!uQ\x27`-e1o5{Q\x27k!rS\x27u!v!yS\x27w!z5}S-t\x27l\x27mQ-v\x27nR3T-uT#kZ%eS#jZ%eS%km,oU(g#h#i#lS.Y(h(iQ.^(jQ0t+^Q3Y.ZU3Z.[.]._S7S3[3]R9`7Td#^W#W#Z%h(T(^*Y+Z.T/mr#gZm#h#i#l%e(h(i(j+^.Z.[.]._3[3]7TS*]$x*bQ/t*^Q2U,oQ2l-VQ4`/pQ6q2dQ7s4aQ9W6rT=m\x27X+[V#aW%h*YU#`W%h*YS(U#W(^U(Z#Z+Z/mS-[\x27X+[T.O(T.TV\x27^!e%i*ZQ$lfR)x$qT)m$l)nR4V/UT*_$x*bT*h${*YQ0w+fQ1g,VQ3_.fQ5t1iQ6P1qQ7X3cQ8r6SQ9c7WQ:^8qQ:p9bQ;Z:`Q;c:rQ;n;[R;q;dnqOXst!Z#d%m&r&t&u&w,s,x2[2_Q&l!VR,h&itmOXst!U!V!Z#d%m&i&r&t&u&w,s,x2[2_R,o&oT%lm,oR1k,XR,g&gQ&U|S+}&V&WR1^,OR+s&PT&p!W&sT&q!W&sT2^,x2_','nodeNames':'⚠\x20ArithOp\x20ArithOp\x20?.\x20JSXStartTag\x20LineComment\x20BlockComment\x20Script\x20Hashbang\x20ExportDeclaration\x20export\x20Star\x20as\x20VariableName\x20String\x20Escape\x20from\x20;\x20default\x20FunctionDeclaration\x20async\x20function\x20VariableDefinition\x20>\x20<\x20TypeParamList\x20in\x20out\x20const\x20TypeDefinition\x20extends\x20ThisType\x20this\x20LiteralType\x20ArithOp\x20Number\x20BooleanLiteral\x20TemplateType\x20InterpolationEnd\x20Interpolation\x20InterpolationStart\x20NullType\x20null\x20VoidType\x20void\x20TypeofType\x20typeof\x20MemberExpression\x20.\x20PropertyName\x20[\x20TemplateString\x20Escape\x20Interpolation\x20super\x20RegExp\x20]\x20ArrayExpression\x20Spread\x20,\x20}\x20{\x20ObjectExpression\x20Property\x20async\x20get\x20set\x20PropertyDefinition\x20Block\x20:\x20NewTarget\x20new\x20NewExpression\x20)\x20(\x20ArgList\x20UnaryExpression\x20delete\x20LogicOp\x20BitOp\x20YieldExpression\x20yield\x20AwaitExpression\x20await\x20ParenthesizedExpression\x20ClassExpression\x20class\x20ClassBody\x20MethodDeclaration\x20Decorator\x20@\x20MemberExpression\x20PrivatePropertyName\x20CallExpression\x20TypeArgList\x20CompareOp\x20<\x20declare\x20Privacy\x20static\x20abstract\x20override\x20PrivatePropertyDefinition\x20PropertyDeclaration\x20readonly\x20accessor\x20Optional\x20TypeAnnotation\x20Equals\x20StaticBlock\x20FunctionExpression\x20ArrowFunction\x20ParamList\x20ParamList\x20ArrayPattern\x20ObjectPattern\x20PatternProperty\x20Privacy\x20readonly\x20Arrow\x20MemberExpression\x20BinaryExpression\x20ArithOp\x20ArithOp\x20ArithOp\x20ArithOp\x20BitOp\x20CompareOp\x20instanceof\x20satisfies\x20CompareOp\x20BitOp\x20BitOp\x20BitOp\x20LogicOp\x20LogicOp\x20ConditionalExpression\x20LogicOp\x20LogicOp\x20AssignmentExpression\x20UpdateOp\x20PostfixExpression\x20CallExpression\x20InstantiationExpression\x20TaggedTemplateExpression\x20DynamicImport\x20import\x20ImportMeta\x20JSXElement\x20JSXSelfCloseEndTag\x20JSXSelfClosingTag\x20JSXIdentifier\x20JSXBuiltin\x20JSXIdentifier\x20JSXNamespacedName\x20JSXMemberExpression\x20JSXSpreadAttribute\x20JSXAttribute\x20JSXAttributeValue\x20JSXEscape\x20JSXEndTag\x20JSXOpenTag\x20JSXFragmentTag\x20JSXText\x20JSXEscape\x20JSXStartCloseTag\x20JSXCloseTag\x20PrefixCast\x20<\x20ArrowFunction\x20TypeParamList\x20SequenceExpression\x20InstantiationExpression\x20KeyofType\x20keyof\x20UniqueType\x20unique\x20ImportType\x20InferredType\x20infer\x20TypeName\x20ParenthesizedType\x20FunctionSignature\x20ParamList\x20NewSignature\x20IndexedType\x20TupleType\x20Label\x20ArrayType\x20ReadonlyType\x20ObjectType\x20MethodType\x20PropertyType\x20IndexSignature\x20PropertyDefinition\x20CallSignature\x20TypePredicate\x20asserts\x20is\x20NewSignature\x20new\x20UnionType\x20LogicOp\x20IntersectionType\x20LogicOp\x20ConditionalType\x20ParameterizedType\x20ClassDeclaration\x20abstract\x20implements\x20type\x20VariableDeclaration\x20let\x20var\x20using\x20TypeAliasDeclaration\x20InterfaceDeclaration\x20interface\x20EnumDeclaration\x20enum\x20EnumBody\x20NamespaceDeclaration\x20namespace\x20module\x20AmbientDeclaration\x20declare\x20GlobalDeclaration\x20global\x20ClassDeclaration\x20ClassBody\x20AmbientFunctionDeclaration\x20ExportGroup\x20VariableName\x20VariableName\x20ImportDeclaration\x20defer\x20ImportGroup\x20ForStatement\x20for\x20ForSpec\x20ForInSpec\x20ForOfSpec\x20of\x20WhileStatement\x20while\x20WithStatement\x20with\x20DoStatement\x20do\x20IfStatement\x20if\x20else\x20SwitchStatement\x20switch\x20SwitchBody\x20CaseLabel\x20case\x20DefaultLabel\x20TryStatement\x20try\x20CatchClause\x20catch\x20FinallyClause\x20finally\x20ReturnStatement\x20return\x20ThrowStatement\x20throw\x20BreakStatement\x20break\x20ContinueStatement\x20continue\x20DebuggerStatement\x20debugger\x20LabeledStatement\x20ExpressionStatement\x20SingleExpression\x20SingleClassItem','maxTerm':0x17c,'context':_0x3a2f9b,'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':[_0x8ff45b],'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':[_0x109226,_0x28c00b,_0x2b7eea,_0x51eb78,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,_0x5e0e5b,new _0x15d839('$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 _0x15d839('j~RQYZXz{^~^O(Q~~aP!P!Qd~iO(R~~',0x19,0x143)],'topRules':{'Script':[0x0,0x7],'SingleExpression':[0x1,0x114],'SingleClassItem':[0x2,0x115]},'dialects':{'jsx':0x0,'ts':0x3b47},'dynamicPrecedences':{0x50:0x1,0x52:0x1,0x5e:0x1,0xa9:0x1,0xc7:0x1},'specialized':[{'term':0x147,'get':_0x5d5266=>_0x3d379a[_0x5d5266]||-0x1},{'term':0x157,'get':_0x10cb33=>_0x17c7bb[_0x10cb33]||-0x1},{'term':0x5f,'get':_0x5dc311=>tI[_0x5dc311]||-0x1}],'tokenPrec':0x3b61}),_0x50cb57=[_0x19d882('function\x20${name}(${params})\x20{\x0a\x09${}\x0a}',{'label':'function','detail':'definition','type':'keyword'}),_0x19d882('for\x20(let\x20${index}\x20=\x200;\x20${index}\x20<\x20${bound};\x20${index}++)\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'loop','type':'keyword'}),_0x19d882('for\x20(let\x20${name}\x20of\x20${collection})\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'of\x20loop','type':'keyword'}),_0x19d882('do\x20{\x0a\x09${}\x0a}\x20while\x20(${})',{'label':'do','detail':'loop','type':'keyword'}),_0x19d882('while\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'while','detail':'loop','type':'keyword'}),_0x19d882('try\x20{\x0a\x09${}\x0a}\x20catch\x20(${error})\x20{\x0a\x09${}\x0a}',{'label':'try','detail':'/\x20catch\x20block','type':'keyword'}),_0x19d882('if\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'block','type':'keyword'}),_0x19d882('if\x20(${})\x20{\x0a\x09${}\x0a}\x20else\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'/\x20else\x20block','type':'keyword'}),_0x19d882('class\x20${name}\x20{\x0a\x09constructor(${params})\x20{\x0a\x09\x09${}\x0a\x09}\x0a}',{'label':'class','detail':'definition','type':'keyword'}),_0x19d882('import\x20{${names}}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'named','type':'keyword'}),_0x19d882('import\x20${name}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'default','type':'keyword'})],_0x382cc9=_0x50cb57['concat']([_0x19d882('interface\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'interface','detail':'definition','type':'keyword'}),_0x19d882('type\x20${name}\x20=\x20${type}',{'label':'type','detail':'definition','type':'keyword'}),_0x19d882('enum\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'enum','detail':'definition','type':'keyword'})]),_0xec36ec=new _0x5ef128(),_0x4c115a=new Set(['Script','Block','FunctionExpression','FunctionDeclaration','ArrowFunction','MethodDeclaration','ForStatement']);function _0xcd63fe(_0x5c82cc){return(_0x288e07,_0x277a11)=>{let _0x1b552b=_0x288e07['node']['getChild']('VariableDefinition');return _0x1b552b&&_0x277a11(_0x1b552b,_0x5c82cc),!0x0;};}const _0x16e6c4=['FunctionDeclaration'],_0x212bff={'FunctionDeclaration':_0xcd63fe('function'),'ClassDeclaration':_0xcd63fe('class'),'ClassExpression':()=>!0x0,'EnumDeclaration':_0xcd63fe('constant'),'TypeAliasDeclaration':_0xcd63fe('type'),'NamespaceDeclaration':_0xcd63fe('namespace'),'VariableDefinition'(_0x2b5605,_0x1d1155){_0x2b5605['matchContext'](_0x16e6c4)||_0x1d1155(_0x2b5605,'variable');},'TypeDefinition'(_0x552c10,_0x6e7496){_0x6e7496(_0x552c10,'type');},'__proto__':null};function _0x19e732(_0x360fd0,_0x527137){let _0x4ca9b9=_0xec36ec['get'](_0x527137);if(_0x4ca9b9)return _0x4ca9b9;let _0x2f0f36=[],_0x230bcb=!0x0;function _0x325d16(_0x5c4735,_0x3450a9){let _0x49f5af=_0x360fd0['sliceString'](_0x5c4735['from'],_0x5c4735['to']);_0x2f0f36['push']({'label':_0x49f5af,'type':_0x3450a9});}return _0x527137['cursor'](_0x11378c['IncludeAnonymous'])['iterate'](_0x519e72=>{if(_0x230bcb)_0x230bcb=!0x1;else{if(_0x519e72['name']){let _0x39df2a=_0x212bff[_0x519e72['name']];if(_0x39df2a&&_0x39df2a(_0x519e72,_0x325d16)||_0x4c115a['has'](_0x519e72['name']))return!0x1;}else{if(_0x519e72['to']-_0x519e72['from']>0x2000){for(let _0x495c9a of _0x19e732(_0x360fd0,_0x519e72['node']))_0x2f0f36['push'](_0x495c9a);return!0x1;}}}}),_0xec36ec['set'](_0x527137,_0x2f0f36),_0x2f0f36;}const _0x5da4f3=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,_0x22a2de=['TemplateString','String','RegExp','LineComment','BlockComment','VariableDefinition','TypeDefinition','Label','PropertyDefinition','PropertyName','PrivatePropertyDefinition','PrivatePropertyName','JSXText','JSXAttributeValue','JSXOpenTag','JSXCloseTag','JSXSelfClosingTag','.','?.'];function _0x266daf(_0x5713c7){let _0x431812=_0x46e40e(_0x5713c7['state'])['resolveInner'](_0x5713c7['pos'],-0x1);if(_0x22a2de['indexOf'](_0x431812['name'])>-0x1)return null;let _0x15aaed='VariableName'==_0x431812['name']||_0x431812['to']-_0x431812['from']<0x14&&_0x5da4f3['test'](_0x5713c7['state']['sliceDoc'](_0x431812['from'],_0x431812['to']));if(!_0x15aaed&&!_0x5713c7['explicit'])return null;let _0x314e53=[];for(let _0x2161c6=_0x431812;_0x2161c6;_0x2161c6=_0x2161c6['parent'])_0x4c115a['has'](_0x2161c6['name'])&&(_0x314e53=_0x314e53['concat'](_0x19e732(_0x5713c7['state']['doc'],_0x2161c6)));return{'options':_0x314e53,'from':_0x15aaed?_0x431812['from']:_0x5713c7['pos'],'validFor':_0x5da4f3};}const _0x5c6d18=_0x502619['define']({'name':'javascript','parser':_0x1b1878['configure']({'props':[_0x597aa5['add']({'IfStatement':_0x8be96b({'except':/^\s*({|else\b)/}),'TryStatement':_0x8be96b({'except':/^\s*({|catch\b|finally\b)/}),'LabeledStatement':_0x2bddf0=>_0x2bddf0['baseIndent'],'SwitchBody':_0x2f289c=>{let _0x4f7117=_0x2f289c['textAfter'],_0x1f10e4=/^\s*\}/['test'](_0x4f7117),_0x160948=/^\s*(case|default)\b/['test'](_0x4f7117);return _0x2f289c['baseIndent']+(_0x1f10e4?0x0:_0x160948?0x1:0x2)*_0x2f289c['unit'];},'Block':_0x4afe93({'closing':'}'}),'ArrowFunction':_0x1e85c7=>_0x1e85c7['baseIndent']+_0x1e85c7['unit'],'TemplateString\x20BlockComment':()=>null,'Statement\x20Property':_0x8be96b({'except':/^\s*{/}),'JSXElement'(_0x46b8d0){let _0x1d77b5=/^\s*<\//['test'](_0x46b8d0['textAfter']);return _0x46b8d0['lineIndent'](_0x46b8d0['node']['from'])+(_0x1d77b5?0x0:_0x46b8d0['unit']);},'JSXEscape'(_0x33ec0d){let _0x5519c5=/\s*\}/['test'](_0x33ec0d['textAfter']);return _0x33ec0d['lineIndent'](_0x33ec0d['node']['from'])+(_0x5519c5?0x0:_0x33ec0d['unit']);},'JSXOpenTag\x20JSXSelfClosingTag':_0x9a103f=>_0x9a103f['column'](_0x9a103f['node']['from'])+_0x9a103f['unit']}),_0x28a548['add']({'Block\x20ClassBody\x20SwitchBody\x20EnumBody\x20ObjectExpression\x20ArrayExpression\x20ObjectType':_0x1f24ca,'BlockComment':_0xa9fcd0=>({'from':_0xa9fcd0['from']+0x2,'to':_0xa9fcd0['to']-0x2})})]}),'languageData':{'closeBrackets':{'brackets':['(','[','{','\x27','\x22','`']},'commentTokens':{'line':'//','block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*(?:case |default:|\{|\}|<\/)$/,'wordChars':'$'}}),_0xfc131={'test':_0x357570=>/^JSX/['test'](_0x357570['name']),'facet':_0x5c5e1b({'commentTokens':{'block':{'open':'{/*','close':'*/}'}}})},_0x36db04=_0x5c6d18['configure']({'dialect':'ts'},'typescript'),_0x31bcef=_0x5c6d18['configure']({'dialect':'jsx','props':[_0x43d4db['add'](_0x545010=>_0x545010['isTop']?[_0xfc131]:void 0x0)]}),_0x4cff78=_0x5c6d18['configure']({'dialect':'jsx\x20ts','props':[_0x43d4db['add'](_0x22c686=>_0x22c686['isTop']?[_0xfc131]:void 0x0)]},'typescript');let _0x3036a9=_0x4fc15c=>({'label':_0x4fc15c,'type':'keyword'});const _0x5142a0='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'](_0x3036a9),_0x3b94fe=_0x5142a0['concat'](['declare','implements','private','protected','public']['map'](_0x3036a9));function _0x4d7218(_0x492fda={}){let _0x1aba64=_0x492fda['jsx']?_0x492fda['typescript']?_0x4cff78:_0x31bcef:_0x492fda['typescript']?_0x36db04:_0x5c6d18,_0x34f545=_0x492fda['typescript']?_0x382cc9['concat'](_0x3b94fe):_0x50cb57['concat'](_0x5142a0);return new LanguageSupport(_0x1aba64,[_0x5c6d18['data']['of']({'autocomplete':(_0x57dc06=_0x22a2de,_0x11a29f=_0x3cc968(_0x34f545),_0x4e0a88=>{for(let _0x5a7738=_0x46e40e(_0x4e0a88['state'])['resolveInner'](_0x4e0a88['pos'],-0x1);_0x5a7738;_0x5a7738=_0x5a7738['parent']){if(_0x57dc06['indexOf'](_0x5a7738['name'])>-0x1)return null;if(_0x5a7738['type']['isTop'])break;}return _0x11a29f(_0x4e0a88);})}),_0x5c6d18['data']['of']({'autocomplete':_0x266daf}),_0x492fda['jsx']?_0xae9835:[]]);var _0x57dc06,_0x11a29f;}function _0x3c7e2c(_0x300ff6,_0x2db16c,_0x595788=_0x300ff6['length']){for(let _0x4fa370=null==_0x2db16c?void 0x0:_0x2db16c['firstChild'];_0x4fa370;_0x4fa370=_0x4fa370['nextSibling'])if('JSXIdentifier'==_0x4fa370['name']||'JSXBuiltin'==_0x4fa370['name']||'JSXNamespacedName'==_0x4fa370['name']||'JSXMemberExpression'==_0x4fa370['name'])return _0x300ff6['sliceString'](_0x4fa370['from'],Math['min'](_0x4fa370['to'],_0x595788));return'';}const _0x288dbb='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),_0xae9835=EditorView['inputHandler']['of']((_0x5b9b93,_0x1a0a83,_0x3ca577,_0x50e8b6,_0x4fb10a)=>{if((_0x288dbb?_0x5b9b93['composing']:_0x5b9b93['compositionStarted'])||_0x5b9b93['state']['readOnly']||_0x1a0a83!=_0x3ca577||'>'!=_0x50e8b6&&'/'!=_0x50e8b6||!_0x5c6d18['isActiveAt'](_0x5b9b93['state'],_0x1a0a83,-0x1))return!0x1;let _0x40dc38=_0x4fb10a(),{state:_0x4c9fbc}=_0x40dc38,_0x2e9408=_0x4c9fbc['changeByRange'](_0x598a36=>{var _0x510e87;let _0x26e491,{head:_0x40d536}=_0x598a36,_0x230e46=_0x46e40e(_0x4c9fbc)['resolveInner'](_0x40d536-0x1,-0x1);if('JSXStartTag'==_0x230e46['name']&&(_0x230e46=_0x230e46['parent']),_0x4c9fbc['doc']['sliceString'](_0x40d536-0x1,_0x40d536)!=_0x50e8b6||'JSXAttributeValue'==_0x230e46['name']&&_0x230e46['to']>_0x40d536);else{if('>'==_0x50e8b6&&'JSXFragmentTag'==_0x230e46['name'])return{'range':_0x598a36,'changes':{'from':_0x40d536,'insert':'</>'}};if('/'==_0x50e8b6&&'JSXStartCloseTag'==_0x230e46['name']){let _0x51100e=_0x230e46['parent'],_0x1563f6=_0x51100e['parent'];if(_0x1563f6&&_0x51100e['from']==_0x40d536-0x2&&((_0x26e491=_0x3c7e2c(_0x4c9fbc['doc'],_0x1563f6['firstChild'],_0x40d536))||'JSXFragmentTag'==(null===(_0x510e87=_0x1563f6['firstChild'])||void 0x0===_0x510e87?void 0x0:_0x510e87['name']))){let _0xa63ebf=_0x26e491+'>';return{'range':EditorSelection['cursor'](_0x40d536+_0xa63ebf['length'],-0x1),'changes':{'from':_0x40d536,'insert':_0xa63ebf}};}}else{if('>'==_0x50e8b6){let _0x685be0=function(_0x500082){for(;;){if('JSXOpenTag'==_0x500082['name']||'JSXSelfClosingTag'==_0x500082['name']||'JSXFragmentTag'==_0x500082['name'])return _0x500082;if('JSXEscape'==_0x500082['name']||!_0x500082['parent'])return null;_0x500082=_0x500082['parent'];}}(_0x230e46);if(_0x685be0&&'JSXOpenTag'==_0x685be0['name']&&!/^\/?>|^<\//['test'](_0x4c9fbc['doc']['sliceString'](_0x40d536,_0x40d536+0x2))&&(_0x26e491=_0x3c7e2c(_0x4c9fbc['doc'],_0x685be0,_0x40d536)))return{'range':_0x598a36,'changes':{'from':_0x40d536,'insert':'</'+_0x26e491+'>'}};}}}return{'range':_0x598a36};});return!_0x2e9408['changes']['empty']&&(_0x5b9b93['dispatch']([_0x40dc38,_0x4c9fbc['update'](_0x2e9408,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);}),_0x4865e0=['_blank','_self','_top','_parent'],_0x4d9929=['ascii','utf-8','utf-16','latin1','latin1'],_0x115a16=['get','post','put','delete'],_0x4f4189=['application/x-www-form-urlencoded','multipart/form-data','text/plain'],_0x18dbad=['true','false'],_0x1fddb2={},_0x202869={'a':{'attrs':{'href':null,'ping':null,'type':null,'media':null,'target':_0x4865e0,'hreflang':null}},'abbr':_0x1fddb2,'address':_0x1fddb2,'area':{'attrs':{'alt':null,'coords':null,'href':null,'target':null,'ping':null,'media':null,'hreflang':null,'type':null,'shape':['default','rect','circle','poly']}},'article':_0x1fddb2,'aside':_0x1fddb2,'audio':{'attrs':{'src':null,'mediagroup':null,'crossorigin':['anonymous','use-credentials'],'preload':['none','metadata','auto'],'autoplay':['autoplay'],'loop':['loop'],'controls':['controls']}},'b':_0x1fddb2,'base':{'attrs':{'href':null,'target':_0x4865e0}},'bdi':_0x1fddb2,'bdo':_0x1fddb2,'blockquote':{'attrs':{'cite':null}},'body':_0x1fddb2,'br':_0x1fddb2,'button':{'attrs':{'form':null,'formaction':null,'name':null,'value':null,'autofocus':['autofocus'],'disabled':['autofocus'],'formenctype':_0x4f4189,'formmethod':_0x115a16,'formnovalidate':['novalidate'],'formtarget':_0x4865e0,'type':['submit','reset','button']}},'canvas':{'attrs':{'width':null,'height':null}},'caption':_0x1fddb2,'center':_0x1fddb2,'cite':_0x1fddb2,'code':_0x1fddb2,'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':_0x1fddb2,'del':{'attrs':{'cite':null,'datetime':null}},'details':{'attrs':{'open':['open']}},'dfn':_0x1fddb2,'div':_0x1fddb2,'dl':_0x1fddb2,'dt':_0x1fddb2,'em':_0x1fddb2,'embed':{'attrs':{'src':null,'type':null,'width':null,'height':null}},'eventsource':{'attrs':{'src':null}},'fieldset':{'attrs':{'disabled':['disabled'],'form':null,'name':null}},'figcaption':_0x1fddb2,'figure':_0x1fddb2,'footer':_0x1fddb2,'form':{'attrs':{'action':null,'name':null,'accept-charset':_0x4d9929,'autocomplete':['on','off'],'enctype':_0x4f4189,'method':_0x115a16,'novalidate':['novalidate'],'target':_0x4865e0}},'h1':_0x1fddb2,'h2':_0x1fddb2,'h3':_0x1fddb2,'h4':_0x1fddb2,'h5':_0x1fddb2,'h6':_0x1fddb2,'head':{'children':['title','base','link','style','meta','script','noscript','command']},'header':_0x1fddb2,'hgroup':_0x1fddb2,'hr':_0x1fddb2,'html':{'attrs':{'manifest':null}},'i':_0x1fddb2,'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':_0x4f4189,'formmethod':_0x115a16,'formnovalidate':['novalidate'],'formtarget':_0x4865e0,'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':_0x1fddb2,'keygen':{'attrs':{'challenge':null,'form':null,'name':null,'autofocus':['autofocus'],'disabled':['disabled'],'keytype':['RSA']}},'label':{'attrs':{'for':null,'form':null}},'legend':_0x1fddb2,'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':_0x1fddb2,'menu':{'attrs':{'label':null,'type':['list','context','toolbar']}},'meta':{'attrs':{'content':null,'charset':_0x4d9929,'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':_0x1fddb2,'noscript':_0x1fddb2,'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':_0x1fddb2,'param':{'attrs':{'name':null,'value':null}},'pre':_0x1fddb2,'progress':{'attrs':{'value':null,'max':null}},'q':{'attrs':{'cite':null}},'rp':_0x1fddb2,'rt':_0x1fddb2,'ruby':_0x1fddb2,'samp':_0x1fddb2,'script':{'attrs':{'type':['text/javascript'],'src':null,'async':['async'],'defer':['defer'],'charset':_0x4d9929}},'section':_0x1fddb2,'select':{'attrs':{'form':null,'name':null,'size':null,'autofocus':['autofocus'],'disabled':['disabled'],'multiple':['multiple']}},'slot':{'attrs':{'name':null}},'small':_0x1fddb2,'source':{'attrs':{'src':null,'type':null,'media':null}},'span':_0x1fddb2,'strong':_0x1fddb2,'style':{'attrs':{'type':['text/css'],'media':null,'scoped':null}},'sub':_0x1fddb2,'summary':_0x1fddb2,'sup':_0x1fddb2,'table':_0x1fddb2,'tbody':_0x1fddb2,'td':{'attrs':{'colspan':null,'rowspan':null,'headers':null}},'template':_0x1fddb2,'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':_0x1fddb2,'th':{'attrs':{'colspan':null,'rowspan':null,'headers':null,'scope':['row','col','rowgroup','colgroup']}},'thead':_0x1fddb2,'time':{'attrs':{'datetime':null}},'title':_0x1fddb2,'tr':_0x1fddb2,'track':{'attrs':{'src':null,'label':null,'default':null,'kind':['subtitles','captions','descriptions','chapters','metadata'],'srclang':null}},'ul':{'children':['li','script','template','ul','ol']},'var':_0x1fddb2,'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':_0x1fddb2},_0x10ee58={'accesskey':null,'class':null,'contenteditable':_0x18dbad,'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':_0x18dbad,'autocorrect':_0x18dbad,'autocapitalize':_0x18dbad,'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':_0x18dbad,'aria-autocomplete':['inline','list','both','none'],'aria-busy':_0x18dbad,'aria-checked':['true','false','mixed','undefined'],'aria-controls':null,'aria-describedby':null,'aria-disabled':_0x18dbad,'aria-dropeffect':null,'aria-expanded':['true','false','undefined'],'aria-flowto':null,'aria-grabbed':['true','false','undefined'],'aria-haspopup':_0x18dbad,'aria-hidden':_0x18dbad,'aria-invalid':['true','false','grammar','spelling'],'aria-label':null,'aria-labelledby':null,'aria-level':null,'aria-live':['off','polite','assertive'],'aria-multiline':_0x18dbad,'aria-multiselectable':_0x18dbad,'aria-owns':null,'aria-posinset':null,'aria-pressed':['true','false','mixed','undefined'],'aria-readonly':_0x18dbad,'aria-relevant':null,'aria-required':_0x18dbad,'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},_0x3a0444='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'](_0x3734f9=>'on'+_0x3734f9);for(let _0x15b6fb of _0x3a0444)_0x10ee58[_0x15b6fb]=null;class _0x1a7c71{constructor(_0x2e8c9f,_0x9cfba1){this['tags']={..._0x202869,..._0x2e8c9f},this['globalAttrs']={..._0x10ee58,..._0x9cfba1},this['allTags']=Object['keys'](this['tags']),this['globalAttrNames']=Object['keys'](this['globalAttrs']);}}function _0x233e62(_0xef89b1,_0x159643,_0x8fa44e=_0xef89b1['length']){if(!_0x159643)return'';let _0x2b5666=_0x159643['firstChild'],_0x4c8cc7=_0x2b5666&&_0x2b5666['getChild']('TagName');return _0x4c8cc7?_0xef89b1['sliceString'](_0x4c8cc7['from'],Math['min'](_0x4c8cc7['to'],_0x8fa44e)):'';}function _0x131040(_0x482be2,_0x571104=!0x1){for(;_0x482be2;_0x482be2=_0x482be2['parent'])if('Element'==_0x482be2['name']){if(!_0x571104)return _0x482be2;_0x571104=!0x1;}return null;}function _0x25bb5f(_0x7dcaa9,_0x2fdfa8,_0x3e74ed){let _0x28907e=_0x3e74ed['tags'][_0x233e62(_0x7dcaa9,_0x131040(_0x2fdfa8))];return(null==_0x28907e?void 0x0:_0x28907e['children'])||_0x3e74ed['allTags'];}function _0x387747(_0x2349ae,_0x1bfd60){let _0x5e625c=[];for(let _0x448a22=_0x131040(_0x1bfd60);_0x448a22&&!_0x448a22['type']['isTop'];_0x448a22=_0x131040(_0x448a22['parent'])){let _0x16dab9=_0x233e62(_0x2349ae,_0x448a22);if(_0x16dab9&&'CloseTag'==_0x448a22['lastChild']['name'])break;_0x16dab9&&_0x5e625c['indexOf'](_0x16dab9)<0x0&&('EndTag'==_0x1bfd60['name']||_0x1bfd60['from']>=_0x448a22['firstChild']['to'])&&_0x5e625c['push'](_0x16dab9);}return _0x5e625c;}_0x1a7c71['default']=new _0x1a7c71();const _0x16863b=/^[:\-\.\w\u00b7-\uffff]*$/;function _0x329a45(_0x156326,_0x4b2d3f,_0x39d972,_0x191812,_0x30dcf7){let _0x3eb600=/\s*>/['test'](_0x156326['sliceDoc'](_0x30dcf7,_0x30dcf7+0x5))?'':'>',_0x5ee250=_0x131040(_0x39d972,'StartTag'==_0x39d972['name']||'TagName'==_0x39d972['name']);return{'from':_0x191812,'to':_0x30dcf7,'options':_0x25bb5f(_0x156326['doc'],_0x5ee250,_0x4b2d3f)['map'](_0x376daf=>({'label':_0x376daf,'type':'type'}))['concat'](_0x387747(_0x156326['doc'],_0x39d972)['map']((_0x47570c,_0x4a4df1)=>({'label':'/'+_0x47570c,'apply':'/'+_0x47570c+_0x3eb600,'type':'type','boost':0x63-_0x4a4df1}))),'validFor':/^\/?[:\-\.\w\u00b7-\uffff]*$/};}function _0x303dc4(_0x3ac0ac,_0x3747ad,_0x2d3da9,_0x3db67b){let _0x4c3356=/\s*>/['test'](_0x3ac0ac['sliceDoc'](_0x3db67b,_0x3db67b+0x5))?'':'>';return{'from':_0x2d3da9,'to':_0x3db67b,'options':_0x387747(_0x3ac0ac['doc'],_0x3747ad)['map']((_0x27fd2f,_0x19f9b4)=>({'label':_0x27fd2f,'apply':_0x27fd2f+_0x4c3356,'type':'type','boost':0x63-_0x19f9b4})),'validFor':_0x16863b};}function _0x4be72f(_0x2b7e0f,_0x53804b){let {state:_0x2db2cc,pos:_0x217c0b}=_0x53804b,_0x23edec=_0x46e40e(_0x2db2cc)['resolveInner'](_0x217c0b,-0x1),_0x4860ba=_0x23edec['resolve'](_0x217c0b);for(let _0x917fe7,_0x44145f=_0x217c0b;_0x4860ba==_0x23edec&&(_0x917fe7=_0x23edec['childBefore'](_0x44145f));){let _0x5645d8=_0x917fe7['lastChild'];if(!_0x5645d8||!_0x5645d8['type']['isError']||_0x5645d8['from']<_0x5645d8['to'])break;_0x4860ba=_0x23edec=_0x917fe7,_0x44145f=_0x5645d8['from'];}return'TagName'==_0x23edec['name']?_0x23edec['parent']&&/CloseTag$/['test'](_0x23edec['parent']['name'])?_0x303dc4(_0x2db2cc,_0x23edec,_0x23edec['from'],_0x217c0b):_0x329a45(_0x2db2cc,_0x2b7e0f,_0x23edec,_0x23edec['from'],_0x217c0b):'StartTag'==_0x23edec['name']||'IncompleteTag'==_0x23edec['name']?_0x329a45(_0x2db2cc,_0x2b7e0f,_0x23edec,_0x217c0b,_0x217c0b):'StartCloseTag'==_0x23edec['name']||'IncompleteCloseTag'==_0x23edec['name']?_0x303dc4(_0x2db2cc,_0x23edec,_0x217c0b,_0x217c0b):'OpenTag'==_0x23edec['name']||'SelfClosingTag'==_0x23edec['name']||'AttributeName'==_0x23edec['name']?function(_0x16418f,_0xe6b127,_0x120b89,_0x2cd109,_0x3898d1){let _0x290b6f=_0x131040(_0x120b89),_0x134889=_0x290b6f?_0xe6b127['tags'][_0x233e62(_0x16418f['doc'],_0x290b6f)]:null,_0x17c8a4=_0x134889&&_0x134889['attrs']?Object['keys'](_0x134889['attrs']):[];return{'from':_0x2cd109,'to':_0x3898d1,'options':(_0x134889&&!0x1===_0x134889['globalAttrs']?_0x17c8a4:_0x17c8a4['length']?_0x17c8a4['concat'](_0xe6b127['globalAttrNames']):_0xe6b127['globalAttrNames'])['map'](_0x13fd99=>({'label':_0x13fd99,'type':'property'})),'validFor':_0x16863b};}(_0x2db2cc,_0x2b7e0f,_0x23edec,'AttributeName'==_0x23edec['name']?_0x23edec['from']:_0x217c0b,_0x217c0b):'Is'==_0x23edec['name']||'AttributeValue'==_0x23edec['name']||'UnquotedAttributeValue'==_0x23edec['name']?function(_0xc41f9,_0x144805,_0x50f062,_0x35abfd,_0xc82512){var _0x52d477;let _0x1e8b66,_0x3d7cdc=null===(_0x52d477=_0x50f062['parent'])||void 0x0===_0x52d477?void 0x0:_0x52d477['getChild']('AttributeName'),_0x419b89=[];if(_0x3d7cdc){let _0x44fc98=_0xc41f9['sliceDoc'](_0x3d7cdc['from'],_0x3d7cdc['to']),_0x542092=_0x144805['globalAttrs'][_0x44fc98];if(!_0x542092){let _0x5f3364=_0x131040(_0x50f062),_0x1908e0=_0x5f3364?_0x144805['tags'][_0x233e62(_0xc41f9['doc'],_0x5f3364)]:null;_0x542092=(null==_0x1908e0?void 0x0:_0x1908e0['attrs'])&&_0x1908e0['attrs'][_0x44fc98];}if(_0x542092){let _0x5a5904=_0xc41f9['sliceDoc'](_0x35abfd,_0xc82512)['toLowerCase'](),_0x10dd51='\x22',_0x416b3e='\x22';/^['"]/['test'](_0x5a5904)?(_0x1e8b66='\x22'==_0x5a5904[0x0]?/^[^"]*$/:/^[^']*$/,_0x10dd51='',_0x416b3e=_0xc41f9['sliceDoc'](_0xc82512,_0xc82512+0x1)==_0x5a5904[0x0]?'':_0x5a5904[0x0],_0x5a5904=_0x5a5904['slice'](0x1),_0x35abfd++):_0x1e8b66=/^[^\s<>='"]*$/;for(let _0x14ba4b of _0x542092)_0x419b89['push']({'label':_0x14ba4b,'apply':_0x10dd51+_0x14ba4b+_0x416b3e,'type':'constant'});}}return{'from':_0x35abfd,'to':_0xc82512,'options':_0x419b89,'validFor':_0x1e8b66};}(_0x2db2cc,_0x2b7e0f,_0x23edec,'Is'==_0x23edec['name']?_0x217c0b:_0x23edec['from'],_0x217c0b):!_0x53804b['explicit']||'Element'!=_0x4860ba['name']&&'Text'!=_0x4860ba['name']&&'Document'!=_0x4860ba['name']?null:function(_0x5e82ae,_0x432286,_0x425f69,_0x6e1e8f){let _0x30e21c=[],_0x6d0e8d=0x0;for(let _0x38a150 of _0x25bb5f(_0x5e82ae['doc'],_0x425f69,_0x432286))_0x30e21c['push']({'label':'<'+_0x38a150,'type':'type'});for(let _0x1e4f4c of _0x387747(_0x5e82ae['doc'],_0x425f69))_0x30e21c['push']({'label':'</'+_0x1e4f4c+'>','type':'type','boost':0x63-_0x6d0e8d++});return{'from':_0x6e1e8f,'to':_0x6e1e8f,'options':_0x30e21c,'validFor':/^<\/?[:\-\.\w\u00b7-\uffff]*$/};}(_0x2db2cc,_0x2b7e0f,_0x23edec,_0x217c0b);}function _0x499fd2(_0x52132c){let {extraTags:_0x55abdf,extraGlobalAttributes:_0x25d130}=_0x52132c,_0x54d248=_0x25d130||_0x55abdf?new _0x1a7c71(_0x55abdf,_0x25d130):_0x1a7c71['default'];return _0x58ce1c=>_0x4be72f(_0x54d248,_0x58ce1c);}const _0x33d479=_0x5c6d18['parser']['configure']({'top':'SingleExpression'}),_0x1500ca=[{'tag':'script','attrs':_0x1e00a3=>'text/typescript'==_0x1e00a3['type']||'ts'==_0x1e00a3['lang'],'parser':_0x36db04['parser']},{'tag':'script','attrs':_0x1338a9=>'text/babel'==_0x1338a9['type']||'text/jsx'==_0x1338a9['type'],'parser':_0x31bcef['parser']},{'tag':'script','attrs':_0x45c1e7=>'text/typescript-jsx'==_0x45c1e7['type'],'parser':_0x4cff78['parser']},{'tag':'script','attrs':_0x14df8a=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i['test'](_0x14df8a['type']),'parser':_0x33d479},{'tag':'script','attrs':_0x42980e=>!_0x42980e['type']||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i['test'](_0x42980e['type']),'parser':_0x5c6d18['parser']},{'tag':'style','attrs':_0x2c9436=>(!_0x2c9436['lang']||'css'==_0x2c9436['lang'])&&(!_0x2c9436['type']||/^(text\/)?(x-)?(stylesheet|css)$/i['test'](_0x2c9436['type'])),'parser':_0x5aaa12['parser']}],_0xd79c30=[{'name':'style','parser':_0x5aaa12['parser']['configure']({'top':'Styles'})}]['concat'](_0x3a0444['map'](_0x4d795b=>({'name':_0x4d795b,'parser':_0x5c6d18['parser']}))),_0x24b3cd=_0x502619['define']({'name':'html','parser':_0x3d5dc7['configure']({'props':[_0x597aa5['add']({'Element'(_0x3794){let _0x1759dd=/^(\s*)(<\/)?/['exec'](_0x3794['textAfter']);return _0x3794['node']['to']<=_0x3794['pos']+_0x1759dd[0x0]['length']?_0x3794['continue']():_0x3794['lineIndent'](_0x3794['node']['from'])+(_0x1759dd[0x2]?0x0:_0x3794['unit']);},'OpenTag\x20CloseTag\x20SelfClosingTag':_0x5215a3=>_0x5215a3['column'](_0x5215a3['node']['from'])+_0x5215a3['unit'],'Document'(_0x43e3e3){if(_0x43e3e3['pos']+/\s*/['exec'](_0x43e3e3['textAfter'])[0x0]['length']<_0x43e3e3['node']['to'])return _0x43e3e3['continue']();let _0x23ce97,_0x1dba30=null;for(let _0x33ff74=_0x43e3e3['node'];;){let _0x212285=_0x33ff74['lastChild'];if(!_0x212285||'Element'!=_0x212285['name']||_0x212285['to']!=_0x33ff74['to'])break;_0x1dba30=_0x33ff74=_0x212285;}return _0x1dba30&&(!(_0x23ce97=_0x1dba30['lastChild'])||'CloseTag'!=_0x23ce97['name']&&'SelfClosingTag'!=_0x23ce97['name'])?_0x43e3e3['lineIndent'](_0x1dba30['from'])+_0x43e3e3['unit']:null;}}),_0x28a548['add']({'Element'(_0x297b76){let _0x23e88c=_0x297b76['firstChild'],_0x34ea5b=_0x297b76['lastChild'];return _0x23e88c&&'OpenTag'==_0x23e88c['name']?{'from':_0x23e88c['to'],'to':'CloseTag'==_0x34ea5b['name']?_0x34ea5b['from']:_0x297b76['to']}:null;}}),_0x4c2f8a['add']({'OpenTag\x20CloseTag':_0x445206=>_0x445206['getChild']('TagName')})]}),'languageData':{'commentTokens':{'block':{'open':'<!--','close':'-->'}},'indentOnInput':/^\s*<\/\w+\W$/,'wordChars':'-_'}}),_0x37eae6=_0x24b3cd['configure']({'wrap':_0x78469f(_0x1500ca,_0xd79c30)});function _0x2a5057(_0x317ff9={}){let _0x2e7f38,_0x49142f='';!0x1===_0x317ff9['matchClosingTags']&&(_0x49142f='noMatch'),!0x0===_0x317ff9['selfClosingTags']&&(_0x49142f=(_0x49142f?_0x49142f+'\x20':'')+'selfClosing'),(_0x317ff9['nestedLanguages']&&_0x317ff9['nestedLanguages']['length']||_0x317ff9['nestedAttributes']&&_0x317ff9['nestedAttributes']['length'])&&(_0x2e7f38=_0x78469f((_0x317ff9['nestedLanguages']||[])['concat'](_0x1500ca),(_0x317ff9['nestedAttributes']||[])['concat'](_0xd79c30)));let _0x15d068=_0x2e7f38?_0x24b3cd['configure']({'wrap':_0x2e7f38,'dialect':_0x49142f}):_0x49142f?_0x37eae6['configure']({'dialect':_0x49142f}):_0x37eae6;return new LanguageSupport(_0x15d068,[_0x37eae6['data']['of']({'autocomplete':_0x499fd2(_0x317ff9)}),!0x1!==_0x317ff9['autoCloseTags']?_0x149de1:[],_0x4d7218()['support'],new LanguageSupport(_0x5aaa12,_0x5aaa12['data']['of']({'autocomplete':_0x410297}))['support']]);}const _0x58ead1=new Set('area\x20base\x20br\x20col\x20command\x20embed\x20frame\x20hr\x20img\x20input\x20keygen\x20link\x20meta\x20param\x20source\x20track\x20wbr\x20menuitem'['split']('\x20')),_0x149de1=EditorView['inputHandler']['of']((_0x3f3861,_0x30a1a8,_0x3c62af,_0x317b58,_0x5efccc)=>{if(_0x3f3861['composing']||_0x3f3861['state']['readOnly']||_0x30a1a8!=_0x3c62af||'>'!=_0x317b58&&'/'!=_0x317b58||!_0x37eae6['isActiveAt'](_0x3f3861['state'],_0x30a1a8,-0x1))return!0x1;let _0x5353e4=_0x5efccc(),{state:_0x4c0b83}=_0x5353e4,_0x469f16=_0x4c0b83['changeByRange'](_0x191a29=>{var _0x14f5cc,_0x4edfe6,_0xff93d;let _0x1acebd,_0x23f0f0=_0x4c0b83['doc']['sliceString'](_0x191a29['from']-0x1,_0x191a29['to'])==_0x317b58,{head:_0x42d5d8}=_0x191a29,_0x864345=_0x46e40e(_0x4c0b83)['resolveInner'](_0x42d5d8,-0x1);if(_0x23f0f0&&'>'==_0x317b58&&'EndTag'==_0x864345['name']){let _0x46ffe2=_0x864345['parent'];if('CloseTag'!=(null===(_0x4edfe6=null===(_0x14f5cc=_0x46ffe2['parent'])||void 0x0===_0x14f5cc?void 0x0:_0x14f5cc['lastChild'])||void 0x0===_0x4edfe6?void 0x0:_0x4edfe6['name'])&&(_0x1acebd=_0x233e62(_0x4c0b83['doc'],_0x46ffe2['parent'],_0x42d5d8))&&!_0x58ead1['has'](_0x1acebd))return{'range':_0x191a29,'changes':{'from':_0x42d5d8,'to':_0x42d5d8+('>'===_0x4c0b83['doc']['sliceString'](_0x42d5d8,_0x42d5d8+0x1)?0x1:0x0),'insert':'</'+_0x1acebd+'>'}};}else{if(_0x23f0f0&&'/'==_0x317b58&&'IncompleteCloseTag'==_0x864345['name']){let _0x4ce74c=_0x864345['parent'];if(_0x864345['from']==_0x42d5d8-0x2&&'CloseTag'!=(null===(_0xff93d=_0x4ce74c['lastChild'])||void 0x0===_0xff93d?void 0x0:_0xff93d['name'])&&(_0x1acebd=_0x233e62(_0x4c0b83['doc'],_0x4ce74c,_0x42d5d8))&&!_0x58ead1['has'](_0x1acebd)){let _0x5bd65c=_0x42d5d8+('>'===_0x4c0b83['doc']['sliceString'](_0x42d5d8,_0x42d5d8+0x1)?0x1:0x0),_0x3ac473=_0x1acebd+'>';return{'range':EditorSelection['cursor'](_0x42d5d8+_0x3ac473['length'],-0x1),'changes':{'from':_0x42d5d8,'to':_0x5bd65c,'insert':_0x3ac473}};}}}return{'range':_0x191a29};});return!_0x469f16['changes']['empty']&&(_0x3f3861['dispatch']([_0x5353e4,_0x4c0b83['update'](_0x469f16,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);});class CompositeBlock{static['create'](_0x57a39d,_0x38b253,_0x173e4e,_0x318110,_0x51893e){return new CompositeBlock(_0x57a39d,_0x38b253,_0x173e4e,_0x318110+(_0x318110<<0x8)+_0x57a39d+(_0x38b253<<0x4)|0x0,_0x51893e,[],[]);}constructor(_0x28ad00,_0x45b10c,_0x596c28,_0x4a2a18,_0x449b8d,_0x272cee,_0x2ff21d){this['type']=_0x28ad00,this['value']=_0x45b10c,this['from']=_0x596c28,this['hash']=_0x4a2a18,this['end']=_0x449b8d,this['children']=_0x272cee,this['positions']=_0x2ff21d,this['hashProp']=[[_0x17497f['contextHash'],_0x4a2a18]];}['addChild'](_0x4541cd,_0x592f0b){_0x4541cd['prop'](_0x17497f['contextHash'])!=this['hash']&&(_0x4541cd=new _0x3af464(_0x4541cd['type'],_0x4541cd['children'],_0x4541cd['positions'],_0x4541cd['length'],this['hashProp'])),this['children']['push'](_0x4541cd),this['positions']['push'](_0x592f0b);}['toTree'](_0x47eb9b,_0x2e310d=this['end']){let _0xae7343=this['children']['length']-0x1;return _0xae7343>=0x0&&(_0x2e310d=Math['max'](_0x2e310d,this['positions'][_0xae7343]+this['children'][_0xae7343]['length']+this['from'])),new _0x3af464(_0x47eb9b['types'][this['type']],this['children'],this['positions'],_0x2e310d-this['from'])['balance']({'makeTree':(_0x5459e8,_0x563b63,_0x41a194)=>new _0x3af464(_0x215dc9['none'],_0x5459e8,_0x563b63,_0x41a194,this['hashProp'])});}}var _0x47467d;!function(_0xfa2939){_0xfa2939[_0xfa2939['Document']=0x1]='Document',_0xfa2939[_0xfa2939['CodeBlock']=0x2]='CodeBlock',_0xfa2939[_0xfa2939['FencedCode']=0x3]='FencedCode',_0xfa2939[_0xfa2939['Blockquote']=0x4]='Blockquote',_0xfa2939[_0xfa2939['HorizontalRule']=0x5]='HorizontalRule',_0xfa2939[_0xfa2939['BulletList']=0x6]='BulletList',_0xfa2939[_0xfa2939['OrderedList']=0x7]='OrderedList',_0xfa2939[_0xfa2939['ListItem']=0x8]='ListItem',_0xfa2939[_0xfa2939['ATXHeading1']=0x9]='ATXHeading1',_0xfa2939[_0xfa2939['ATXHeading2']=0xa]='ATXHeading2',_0xfa2939[_0xfa2939['ATXHeading3']=0xb]='ATXHeading3',_0xfa2939[_0xfa2939['ATXHeading4']=0xc]='ATXHeading4',_0xfa2939[_0xfa2939['ATXHeading5']=0xd]='ATXHeading5',_0xfa2939[_0xfa2939['ATXHeading6']=0xe]='ATXHeading6',_0xfa2939[_0xfa2939['SetextHeading1']=0xf]='SetextHeading1',_0xfa2939[_0xfa2939['SetextHeading2']=0x10]='SetextHeading2',_0xfa2939[_0xfa2939['HTMLBlock']=0x11]='HTMLBlock',_0xfa2939[_0xfa2939['LinkReference']=0x12]='LinkReference',_0xfa2939[_0xfa2939['Paragraph']=0x13]='Paragraph',_0xfa2939[_0xfa2939['CommentBlock']=0x14]='CommentBlock',_0xfa2939[_0xfa2939['ProcessingInstructionBlock']=0x15]='ProcessingInstructionBlock',_0xfa2939[_0xfa2939['Escape']=0x16]='Escape',_0xfa2939[_0xfa2939['Entity']=0x17]='Entity',_0xfa2939[_0xfa2939['HardBreak']=0x18]='HardBreak',_0xfa2939[_0xfa2939['Emphasis']=0x19]='Emphasis',_0xfa2939[_0xfa2939['StrongEmphasis']=0x1a]='StrongEmphasis',_0xfa2939[_0xfa2939['Link']=0x1b]='Link',_0xfa2939[_0xfa2939['Image']=0x1c]='Image',_0xfa2939[_0xfa2939['InlineCode']=0x1d]='InlineCode',_0xfa2939[_0xfa2939['HTMLTag']=0x1e]='HTMLTag',_0xfa2939[_0xfa2939['Comment']=0x1f]='Comment',_0xfa2939[_0xfa2939['ProcessingInstruction']=0x20]='ProcessingInstruction',_0xfa2939[_0xfa2939['Autolink']=0x21]='Autolink',_0xfa2939[_0xfa2939['HeaderMark']=0x22]='HeaderMark',_0xfa2939[_0xfa2939['QuoteMark']=0x23]='QuoteMark',_0xfa2939[_0xfa2939['ListMark']=0x24]='ListMark',_0xfa2939[_0xfa2939['LinkMark']=0x25]='LinkMark',_0xfa2939[_0xfa2939['EmphasisMark']=0x26]='EmphasisMark',_0xfa2939[_0xfa2939['CodeMark']=0x27]='CodeMark',_0xfa2939[_0xfa2939['CodeText']=0x28]='CodeText',_0xfa2939[_0xfa2939['CodeInfo']=0x29]='CodeInfo',_0xfa2939[_0xfa2939['LinkTitle']=0x2a]='LinkTitle',_0xfa2939[_0xfa2939['LinkLabel']=0x2b]='LinkLabel',_0xfa2939[_0xfa2939['URL']=0x2c]='URL';}(_0x47467d||(_0x47467d={}));class _0xed0c86{constructor(_0x5bd30f,_0x11d55b){this['start']=_0x5bd30f,this['content']=_0x11d55b,this['marks']=[],this['parsers']=[];}}class _0x5467d2{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 _0x46ed02=this['skipSpace'](this['basePos']);this['indent']=this['countIndent'](_0x46ed02,this['pos'],this['indent']),this['pos']=_0x46ed02,this['next']=_0x46ed02==this['text']['length']?-0x1:this['text']['charCodeAt'](_0x46ed02);}['skipSpace'](_0x1395c0){return _0x5ce5cb(this['text'],_0x1395c0);}['reset'](_0xd1d614){for(this['text']=_0xd1d614,this['baseIndent']=this['basePos']=this['pos']=this['indent']=0x0,this['forwardInner'](),this['depth']=0x1;this['markers']['length'];)this['markers']['pop']();}['moveBase'](_0x30fb91){this['basePos']=_0x30fb91,this['baseIndent']=this['countIndent'](_0x30fb91,this['pos'],this['indent']);}['moveBaseColumn'](_0x1427b0){this['baseIndent']=_0x1427b0,this['basePos']=this['findColumn'](_0x1427b0);}['addMarker'](_0x28aa8b){this['markers']['push'](_0x28aa8b);}['countIndent'](_0x57c4c7,_0x34d4f6=0x0,_0x31a81a=0x0){for(let _0x3751b1=_0x34d4f6;_0x3751b1<_0x57c4c7;_0x3751b1++)_0x31a81a+=0x9==this['text']['charCodeAt'](_0x3751b1)?0x4-_0x31a81a%0x4:0x1;return _0x31a81a;}['findColumn'](_0x443562){let _0x3bed62=0x0;for(let _0x1acf31=0x0;_0x3bed62<this['text']['length']&&_0x1acf31<_0x443562;_0x3bed62++)_0x1acf31+=0x9==this['text']['charCodeAt'](_0x3bed62)?0x4-_0x1acf31%0x4:0x1;return _0x3bed62;}['scrub'](){if(!this['baseIndent'])return this['text'];let _0x15be8b='';for(let _0xa4d9ff=0x0;_0xa4d9ff<this['basePos'];_0xa4d9ff++)_0x15be8b+='\x20';return _0x15be8b+this['text']['slice'](this['basePos']);}}function _0x5e8496(_0x49c66f,_0x29fcf6,_0x5eabe2){if(_0x5eabe2['pos']==_0x5eabe2['text']['length']||_0x49c66f!=_0x29fcf6['block']&&_0x5eabe2['indent']>=_0x29fcf6['stack'][_0x5eabe2['depth']+0x1]['value']+_0x5eabe2['baseIndent'])return!0x0;if(_0x5eabe2['indent']>=_0x5eabe2['baseIndent']+0x4)return!0x1;let _0x306df9=(_0x49c66f['type']==_0x47467d['OrderedList']?_0x5f2495:_0x147831)(_0x5eabe2,_0x29fcf6,!0x1);return _0x306df9>0x0&&(_0x49c66f['type']!=_0x47467d['BulletList']||_0x138923(_0x5eabe2,_0x29fcf6,!0x1)<0x0)&&_0x5eabe2['text']['charCodeAt'](_0x5eabe2['pos']+_0x306df9-0x1)==_0x49c66f['value'];}const _0x54d7ea={[_0x47467d['Blockquote']]:(_0xb8e3bb,_0x243d36,_0x160218)=>0x3e==_0x160218['next']&&(_0x160218['markers']['push'](_0x2df8a9(_0x47467d['QuoteMark'],_0x243d36['lineStart']+_0x160218['pos'],_0x243d36['lineStart']+_0x160218['pos']+0x1)),_0x160218['moveBase'](_0x160218['pos']+(tC(_0x160218['text']['charCodeAt'](_0x160218['pos']+0x1))?0x2:0x1)),_0xb8e3bb['end']=_0x243d36['lineStart']+_0x160218['text']['length'],!0x0),[_0x47467d['ListItem']]:(_0x5ec78f,_0x3a5b1a,_0x5739cc)=>!(_0x5739cc['indent']<_0x5739cc['baseIndent']+_0x5ec78f['value']&&_0x5739cc['next']>-0x1)&&(_0x5739cc['moveBaseColumn'](_0x5739cc['baseIndent']+_0x5ec78f['value']),!0x0),[_0x47467d['OrderedList']]:_0x5e8496,[_0x47467d['BulletList']]:_0x5e8496,[_0x47467d['Document']]:()=>!0x0};function tC(_0x3c47d0){return 0x20==_0x3c47d0||0x9==_0x3c47d0||0xa==_0x3c47d0||0xd==_0x3c47d0;}function _0x5ce5cb(_0x3095f0,_0x5707af=0x0){for(;_0x5707af<_0x3095f0['length']&&tC(_0x3095f0['charCodeAt'](_0x5707af));)_0x5707af++;return _0x5707af;}function _0x587bf5(_0x19d4fe,_0x4115cc,_0x7bdc3d){for(;_0x4115cc>_0x7bdc3d&&tC(_0x19d4fe['charCodeAt'](_0x4115cc-0x1));)_0x4115cc--;return _0x4115cc;}function _0x3898bf(_0x39c52b){if(0x60!=_0x39c52b['next']&&0x7e!=_0x39c52b['next'])return-0x1;let _0x4f89f4=_0x39c52b['pos']+0x1;for(;_0x4f89f4<_0x39c52b['text']['length']&&_0x39c52b['text']['charCodeAt'](_0x4f89f4)==_0x39c52b['next'];)_0x4f89f4++;if(_0x4f89f4<_0x39c52b['pos']+0x3)return-0x1;if(0x60==_0x39c52b['next']){for(let _0x3b479e=_0x4f89f4;_0x3b479e<_0x39c52b['text']['length'];_0x3b479e++)if(0x60==_0x39c52b['text']['charCodeAt'](_0x3b479e))return-0x1;}return _0x4f89f4;}function _0x112eb4(_0x476545){return 0x3e!=_0x476545['next']?-0x1:0x20==_0x476545['text']['charCodeAt'](_0x476545['pos']+0x1)?0x2:0x1;}function _0x138923(_0x5e455f,_0x417db6,_0x56e18f){if(0x2a!=_0x5e455f['next']&&0x2d!=_0x5e455f['next']&&0x5f!=_0x5e455f['next'])return-0x1;let _0x48fdfb=0x1;for(let _0x27ef88=_0x5e455f['pos']+0x1;_0x27ef88<_0x5e455f['text']['length'];_0x27ef88++){let _0x31d553=_0x5e455f['text']['charCodeAt'](_0x27ef88);if(_0x31d553==_0x5e455f['next'])_0x48fdfb++;else{if(!tC(_0x31d553))return-0x1;}}return _0x56e18f&&0x2d==_0x5e455f['next']&&_0x2aa7d9(_0x5e455f)>-0x1&&_0x5e455f['depth']==_0x417db6['stack']['length']&&_0x417db6['parser']['leafBlockParsers']['indexOf'](_0x2911e2['SetextHeading'])>-0x1||_0x48fdfb<0x3?-0x1:0x1;}function _0x216a55(_0x9da614,_0x59e869){for(let _0x34dda8=_0x9da614['stack']['length']-0x1;_0x34dda8>=0x0;_0x34dda8--)if(_0x9da614['stack'][_0x34dda8]['type']==_0x59e869)return!0x0;return!0x1;}function _0x147831(_0x121cc3,_0x50be3b,_0x3fa890){return 0x2d!=_0x121cc3['next']&&0x2b!=_0x121cc3['next']&&0x2a!=_0x121cc3['next']||_0x121cc3['pos']!=_0x121cc3['text']['length']-0x1&&!tC(_0x121cc3['text']['charCodeAt'](_0x121cc3['pos']+0x1))||!(!_0x3fa890||_0x216a55(_0x50be3b,_0x47467d['BulletList'])||_0x121cc3['skipSpace'](_0x121cc3['pos']+0x2)<_0x121cc3['text']['length'])?-0x1:0x1;}function _0x5f2495(_0x43f165,_0x34792d,_0xa25cbf){let _0x4b3715=_0x43f165['pos'],_0x231bf9=_0x43f165['next'];for(;_0x231bf9>=0x30&&_0x231bf9<=0x39;){if(_0x4b3715++,_0x4b3715==_0x43f165['text']['length'])return-0x1;_0x231bf9=_0x43f165['text']['charCodeAt'](_0x4b3715);}return _0x4b3715==_0x43f165['pos']||_0x4b3715>_0x43f165['pos']+0x9||0x2e!=_0x231bf9&&0x29!=_0x231bf9||_0x4b3715<_0x43f165['text']['length']-0x1&&!tC(_0x43f165['text']['charCodeAt'](_0x4b3715+0x1))||_0xa25cbf&&!_0x216a55(_0x34792d,_0x47467d['OrderedList'])&&(_0x43f165['skipSpace'](_0x4b3715+0x1)==_0x43f165['text']['length']||_0x4b3715>_0x43f165['pos']+0x1||0x31!=_0x43f165['next'])?-0x1:_0x4b3715+0x1-_0x43f165['pos'];}function _0x419603(_0x101701){if(0x23!=_0x101701['next'])return-0x1;let _0x1faf27=_0x101701['pos']+0x1;for(;_0x1faf27<_0x101701['text']['length']&&0x23==_0x101701['text']['charCodeAt'](_0x1faf27);)_0x1faf27++;if(_0x1faf27<_0x101701['text']['length']&&0x20!=_0x101701['text']['charCodeAt'](_0x1faf27))return-0x1;let _0xa85927=_0x1faf27-_0x101701['pos'];return _0xa85927>0x6?-0x1:_0xa85927;}function _0x2aa7d9(_0x2f911e){if(0x2d!=_0x2f911e['next']&&0x3d!=_0x2f911e['next']||_0x2f911e['indent']>=_0x2f911e['baseIndent']+0x4)return-0x1;let _0x3767d4=_0x2f911e['pos']+0x1;for(;_0x3767d4<_0x2f911e['text']['length']&&_0x2f911e['text']['charCodeAt'](_0x3767d4)==_0x2f911e['next'];)_0x3767d4++;let _0x475555=_0x3767d4;for(;_0x3767d4<_0x2f911e['text']['length']&&tC(_0x2f911e['text']['charCodeAt'](_0x3767d4));)_0x3767d4++;return _0x3767d4==_0x2f911e['text']['length']?_0x475555:-0x1;}const _0x2ad1bf=/^[ \t]*$/,_0x513393=/-->/,_0x3ce314=/\?>/,_0x48dd33=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,_0x513393],[/^\s*<\?/,_0x3ce314],[/^\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,_0x2ad1bf],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,_0x2ad1bf]];function _0x38f369(_0x457e8a,_0x39d6ea,_0x1cde14){if(0x3c!=_0x457e8a['next'])return-0x1;let _0x1260dd=_0x457e8a['text']['slice'](_0x457e8a['pos']);for(let _0x349622=0x0,_0x1914bf=_0x48dd33['length']-(_0x1cde14?0x1:0x0);_0x349622<_0x1914bf;_0x349622++)if(_0x48dd33[_0x349622][0x0]['test'](_0x1260dd))return _0x349622;return-0x1;}function _0x358695(_0x8e00d4,_0x4f2c83){let _0x1986e9=_0x8e00d4['countIndent'](_0x4f2c83,_0x8e00d4['pos'],_0x8e00d4['indent']),_0x531096=_0x8e00d4['countIndent'](_0x8e00d4['skipSpace'](_0x4f2c83),_0x4f2c83,_0x1986e9);return _0x531096>=_0x1986e9+0x5?_0x1986e9+0x1:_0x531096;}function _0x490e07(_0x556105,_0x27f604,_0x41b119){let _0x57f056=_0x556105['length']-0x1;_0x57f056>=0x0&&_0x556105[_0x57f056]['to']==_0x27f604&&_0x556105[_0x57f056]['type']==_0x47467d['CodeText']?_0x556105[_0x57f056]['to']=_0x41b119:_0x556105['push'](_0x2df8a9(_0x47467d['CodeText'],_0x27f604,_0x41b119));}const _0x2dc710={'LinkReference':void 0x0,'IndentedCode'(_0x191acf,_0x4f7a18){let _0x12c703=_0x4f7a18['baseIndent']+0x4;if(_0x4f7a18['indent']<_0x12c703)return!0x1;let _0x1ebeca=_0x4f7a18['findColumn'](_0x12c703),_0x5719ac=_0x191acf['lineStart']+_0x1ebeca,_0x77100f=_0x191acf['lineStart']+_0x4f7a18['text']['length'],_0x10f60d=[],_0x2b2d39=[];for(_0x490e07(_0x10f60d,_0x5719ac,_0x77100f);_0x191acf['nextLine']()&&_0x4f7a18['depth']>=_0x191acf['stack']['length'];)if(_0x4f7a18['pos']==_0x4f7a18['text']['length']){_0x490e07(_0x2b2d39,_0x191acf['lineStart']-0x1,_0x191acf['lineStart']);for(let _0x43d02f of _0x4f7a18['markers'])_0x2b2d39['push'](_0x43d02f);}else{if(_0x4f7a18['indent']<_0x12c703)break;{if(_0x2b2d39['length']){for(let _0x55096a of _0x2b2d39)_0x55096a['type']==_0x47467d['CodeText']?_0x490e07(_0x10f60d,_0x55096a['from'],_0x55096a['to']):_0x10f60d['push'](_0x55096a);_0x2b2d39=[];}_0x490e07(_0x10f60d,_0x191acf['lineStart']-0x1,_0x191acf['lineStart']);for(let _0x26ac87 of _0x4f7a18['markers'])_0x10f60d['push'](_0x26ac87);_0x77100f=_0x191acf['lineStart']+_0x4f7a18['text']['length'];let _0x34fef9=_0x191acf['lineStart']+_0x4f7a18['findColumn'](_0x4f7a18['baseIndent']+0x4);_0x34fef9<_0x77100f&&_0x490e07(_0x10f60d,_0x34fef9,_0x77100f);}}return _0x2b2d39['length']&&(_0x2b2d39=_0x2b2d39['filter'](_0x5f0bc0=>_0x5f0bc0['type']!=_0x47467d['CodeText']),_0x2b2d39['length']&&(_0x4f7a18['markers']=_0x2b2d39['concat'](_0x4f7a18['markers']))),_0x191acf['addNode'](_0x191acf['buffer']['writeElements'](_0x10f60d,-_0x5719ac)['finish'](_0x47467d['CodeBlock'],_0x77100f-_0x5719ac),_0x5719ac),!0x0;},'FencedCode'(_0x576a4f,_0x31b6d3){let _0x1e75b9=_0x3898bf(_0x31b6d3);if(_0x1e75b9<0x0)return!0x1;let _0x13c1ea=_0x576a4f['lineStart']+_0x31b6d3['pos'],_0x26dbe4=_0x31b6d3['next'],_0x46d474=_0x1e75b9-_0x31b6d3['pos'],_0x19811f=_0x31b6d3['skipSpace'](_0x1e75b9),_0x244f41=_0x587bf5(_0x31b6d3['text'],_0x31b6d3['text']['length'],_0x19811f),_0x5b296b=[_0x2df8a9(_0x47467d['CodeMark'],_0x13c1ea,_0x13c1ea+_0x46d474)];_0x19811f<_0x244f41&&_0x5b296b['push'](_0x2df8a9(_0x47467d['CodeInfo'],_0x576a4f['lineStart']+_0x19811f,_0x576a4f['lineStart']+_0x244f41));for(let _0x3c7ef1=!0x0;_0x576a4f['nextLine']()&&_0x31b6d3['depth']>=_0x576a4f['stack']['length'];_0x3c7ef1=!0x1){let _0x2e67e3=_0x31b6d3['pos'];if(_0x31b6d3['indent']-_0x31b6d3['baseIndent']<0x4){for(;_0x2e67e3<_0x31b6d3['text']['length']&&_0x31b6d3['text']['charCodeAt'](_0x2e67e3)==_0x26dbe4;)_0x2e67e3++;}if(_0x2e67e3-_0x31b6d3['pos']>=_0x46d474&&_0x31b6d3['skipSpace'](_0x2e67e3)==_0x31b6d3['text']['length']){for(let _0x28131c of _0x31b6d3['markers'])_0x5b296b['push'](_0x28131c);_0x5b296b['push'](_0x2df8a9(_0x47467d['CodeMark'],_0x576a4f['lineStart']+_0x31b6d3['pos'],_0x576a4f['lineStart']+_0x2e67e3)),_0x576a4f['nextLine']();break;}{_0x3c7ef1||_0x490e07(_0x5b296b,_0x576a4f['lineStart']-0x1,_0x576a4f['lineStart']);for(let _0x5ef3e6 of _0x31b6d3['markers'])_0x5b296b['push'](_0x5ef3e6);let _0x809e62=_0x576a4f['lineStart']+_0x31b6d3['basePos'],_0x5e9247=_0x576a4f['lineStart']+_0x31b6d3['text']['length'];_0x809e62<_0x5e9247&&_0x490e07(_0x5b296b,_0x809e62,_0x5e9247);}}return _0x576a4f['addNode'](_0x576a4f['buffer']['writeElements'](_0x5b296b,-_0x13c1ea)['finish'](_0x47467d['FencedCode'],_0x576a4f['prevLineEnd']()-_0x13c1ea),_0x13c1ea),!0x0;},'Blockquote'(_0x4b2945,_0x234b4e){let _0x4af14e=_0x112eb4(_0x234b4e);return!(_0x4af14e<0x0)&&(_0x4b2945['startContext'](_0x47467d['Blockquote'],_0x234b4e['pos']),_0x4b2945['addNode'](_0x47467d['QuoteMark'],_0x4b2945['lineStart']+_0x234b4e['pos'],_0x4b2945['lineStart']+_0x234b4e['pos']+0x1),_0x234b4e['moveBase'](_0x234b4e['pos']+_0x4af14e),null);},'HorizontalRule'(_0x200409,_0x232734){if(_0x138923(_0x232734,_0x200409,!0x1)<0x0)return!0x1;let _0x1f56c0=_0x200409['lineStart']+_0x232734['pos'];return _0x200409['nextLine'](),_0x200409['addNode'](_0x47467d['HorizontalRule'],_0x1f56c0),!0x0;},'BulletList'(_0x5c1e8a,_0x2f1704){let _0x57e2dc=_0x147831(_0x2f1704,_0x5c1e8a,!0x1);if(_0x57e2dc<0x0)return!0x1;_0x5c1e8a['block']['type']!=_0x47467d['BulletList']&&_0x5c1e8a['startContext'](_0x47467d['BulletList'],_0x2f1704['basePos'],_0x2f1704['next']);let _0x3244eb=_0x358695(_0x2f1704,_0x2f1704['pos']+0x1);return _0x5c1e8a['startContext'](_0x47467d['ListItem'],_0x2f1704['basePos'],_0x3244eb-_0x2f1704['baseIndent']),_0x5c1e8a['addNode'](_0x47467d['ListMark'],_0x5c1e8a['lineStart']+_0x2f1704['pos'],_0x5c1e8a['lineStart']+_0x2f1704['pos']+_0x57e2dc),_0x2f1704['moveBaseColumn'](_0x3244eb),null;},'OrderedList'(_0x2978cf,_0x37aa42){let _0x3f4bc1=_0x5f2495(_0x37aa42,_0x2978cf,!0x1);if(_0x3f4bc1<0x0)return!0x1;_0x2978cf['block']['type']!=_0x47467d['OrderedList']&&_0x2978cf['startContext'](_0x47467d['OrderedList'],_0x37aa42['basePos'],_0x37aa42['text']['charCodeAt'](_0x37aa42['pos']+_0x3f4bc1-0x1));let _0x5bd52c=_0x358695(_0x37aa42,_0x37aa42['pos']+_0x3f4bc1);return _0x2978cf['startContext'](_0x47467d['ListItem'],_0x37aa42['basePos'],_0x5bd52c-_0x37aa42['baseIndent']),_0x2978cf['addNode'](_0x47467d['ListMark'],_0x2978cf['lineStart']+_0x37aa42['pos'],_0x2978cf['lineStart']+_0x37aa42['pos']+_0x3f4bc1),_0x37aa42['moveBaseColumn'](_0x5bd52c),null;},'ATXHeading'(_0x1c22d5,_0x2ca51c){let _0x799cc0=_0x419603(_0x2ca51c);if(_0x799cc0<0x0)return!0x1;let _0x42e6d6=_0x2ca51c['pos'],_0x110c0a=_0x1c22d5['lineStart']+_0x42e6d6,_0x41caab=_0x587bf5(_0x2ca51c['text'],_0x2ca51c['text']['length'],_0x42e6d6),_0x180ae3=_0x41caab;for(;_0x180ae3>_0x42e6d6&&_0x2ca51c['text']['charCodeAt'](_0x180ae3-0x1)==_0x2ca51c['next'];)_0x180ae3--;_0x180ae3!=_0x41caab&&_0x180ae3!=_0x42e6d6&&tC(_0x2ca51c['text']['charCodeAt'](_0x180ae3-0x1))||(_0x180ae3=_0x2ca51c['text']['length']);let _0x58c9a3=_0x1c22d5['buffer']['write'](_0x47467d['HeaderMark'],0x0,_0x799cc0)['writeElements'](_0x1c22d5['parser']['parseInline'](_0x2ca51c['text']['slice'](_0x42e6d6+_0x799cc0+0x1,_0x180ae3),_0x110c0a+_0x799cc0+0x1),-_0x110c0a);_0x180ae3<_0x2ca51c['text']['length']&&_0x58c9a3['write'](_0x47467d['HeaderMark'],_0x180ae3-_0x42e6d6,_0x41caab-_0x42e6d6);let _0x15822d=_0x58c9a3['finish'](_0x47467d['ATXHeading1']-0x1+_0x799cc0,_0x2ca51c['text']['length']-_0x42e6d6);return _0x1c22d5['nextLine'](),_0x1c22d5['addNode'](_0x15822d,_0x110c0a),!0x0;},'HTMLBlock'(_0x3c3628,_0x5dc9de){let _0x57f342=_0x38f369(_0x5dc9de,0x0,!0x1);if(_0x57f342<0x0)return!0x1;let _0x38827e=_0x3c3628['lineStart']+_0x5dc9de['pos'],_0x12df03=_0x48dd33[_0x57f342][0x1],_0x18f934=[],_0x272383=_0x12df03!=_0x2ad1bf;for(;!_0x12df03['test'](_0x5dc9de['text'])&&_0x3c3628['nextLine']();){if(_0x5dc9de['depth']<_0x3c3628['stack']['length']){_0x272383=!0x1;break;}for(let _0x253b5b of _0x5dc9de['markers'])_0x18f934['push'](_0x253b5b);}_0x272383&&_0x3c3628['nextLine']();let _0x53cb84=_0x12df03==_0x513393?_0x47467d['CommentBlock']:_0x12df03==_0x3ce314?_0x47467d['ProcessingInstructionBlock']:_0x47467d['HTMLBlock'],_0x182be6=_0x3c3628['prevLineEnd']();return _0x3c3628['addNode'](_0x3c3628['buffer']['writeElements'](_0x18f934,-_0x38827e)['finish'](_0x53cb84,_0x182be6-_0x38827e),_0x38827e),!0x0;},'SetextHeading':void 0x0};class _0x8c8740{constructor(_0x121c2c){this['stage']=0x0,this['elts']=[],this['pos']=0x0,this['start']=_0x121c2c['start'],this['advance'](_0x121c2c['content']);}['nextLine'](_0x233fb1,_0x46ca3e,_0x5dae14){if(-0x1==this['stage'])return!0x1;let _0x23d29e=_0x5dae14['content']+'\x0a'+_0x46ca3e['scrub'](),_0x29f64e=this['advance'](_0x23d29e);return _0x29f64e>-0x1&&_0x29f64e<_0x23d29e['length']&&this['complete'](_0x233fb1,_0x5dae14,_0x29f64e);}['finish'](_0x4cfc63,_0x4420e0){return(0x2==this['stage']||0x3==this['stage'])&&_0x5ce5cb(_0x4420e0['content'],this['pos'])==_0x4420e0['content']['length']&&this['complete'](_0x4cfc63,_0x4420e0,_0x4420e0['content']['length']);}['complete'](_0x1b7432,_0xb5b5c6,_0x58c6c1){return _0x1b7432['addLeafElement'](_0xb5b5c6,_0x2df8a9(_0x47467d['LinkReference'],this['start'],this['start']+_0x58c6c1,this['elts'])),!0x0;}['nextStage'](_0x4f20a8){return _0x4f20a8?(this['pos']=_0x4f20a8['to']-this['start'],this['elts']['push'](_0x4f20a8),this['stage']++,!0x0):(!0x1===_0x4f20a8&&(this['stage']=-0x1),!0x1);}['advance'](_0x105bea){for(;;){if(-0x1==this['stage'])return-0x1;if(0x0==this['stage']){if(!this['nextStage'](_0x44628b(_0x105bea,this['pos'],this['start'],!0x0)))return-0x1;if(0x3a!=_0x105bea['charCodeAt'](this['pos']))return this['stage']=-0x1;this['elts']['push'](_0x2df8a9(_0x47467d['LinkMark'],this['pos']+this['start'],this['pos']+this['start']+0x1)),this['pos']++;}else{if(0x1!=this['stage']){if(0x2==this['stage']){let _0x5ef83b=_0x5ce5cb(_0x105bea,this['pos']),_0x515efc=0x0;if(_0x5ef83b>this['pos']){let _0x4149d1=_0xef5be7(_0x105bea,_0x5ef83b,this['start']);if(_0x4149d1){let _0x31836d=_0x5d768f(_0x105bea,_0x4149d1['to']-this['start']);_0x31836d>0x0&&(this['nextStage'](_0x4149d1),_0x515efc=_0x31836d);}}return _0x515efc||(_0x515efc=_0x5d768f(_0x105bea,this['pos'])),_0x515efc>0x0&&_0x515efc<_0x105bea['length']?_0x515efc:-0x1;}return _0x5d768f(_0x105bea,this['pos']);}if(!this['nextStage'](_0x18b037(_0x105bea,_0x5ce5cb(_0x105bea,this['pos']),this['start'])))return-0x1;}}}}function _0x5d768f(_0x1c9a25,_0x1a7efb){for(;_0x1a7efb<_0x1c9a25['length'];_0x1a7efb++){let _0x1a4a5c=_0x1c9a25['charCodeAt'](_0x1a7efb);if(0xa==_0x1a4a5c)break;if(!tC(_0x1a4a5c))return-0x1;}return _0x1a7efb;}class SetextHeadingParser{['nextLine'](_0x1c2788,_0x32bc0c,_0x676971){let _0x1dd2ec=_0x32bc0c['depth']<_0x1c2788['stack']['length']?-0x1:_0x2aa7d9(_0x32bc0c),_0x34dd2a=_0x32bc0c['next'];if(_0x1dd2ec<0x0)return!0x1;let _0x26b8c9=_0x2df8a9(_0x47467d['HeaderMark'],_0x1c2788['lineStart']+_0x32bc0c['pos'],_0x1c2788['lineStart']+_0x1dd2ec);return _0x1c2788['nextLine'](),_0x1c2788['addLeafElement'](_0x676971,_0x2df8a9(0x3d==_0x34dd2a?_0x47467d['SetextHeading1']:_0x47467d['SetextHeading2'],_0x676971['start'],_0x1c2788['prevLineEnd'](),[..._0x1c2788['parser']['parseInline'](_0x676971['content'],_0x676971['start']),_0x26b8c9])),!0x0;}['finish'](){return!0x1;}}const _0x2911e2={'LinkReference':(_0x34bde6,_0x530e34)=>0x5b==_0x530e34['content']['charCodeAt'](0x0)?new _0x8c8740(_0x530e34):null,'SetextHeading':()=>new SetextHeadingParser()},_0x59eaef=[(_0x3d4c81,_0x574246)=>_0x419603(_0x574246)>=0x0,(_0x412bce,_0x31f876)=>_0x3898bf(_0x31f876)>=0x0,(_0x3e12f9,_0xd801a4)=>_0x112eb4(_0xd801a4)>=0x0,(_0x806365,_0x4b4e3f)=>_0x147831(_0x4b4e3f,_0x806365,!0x0)>=0x0,(_0x392427,_0x296980)=>_0x5f2495(_0x296980,_0x392427,!0x0)>=0x0,(_0x57a67e,_0x38a552)=>_0x138923(_0x38a552,_0x57a67e,!0x0)>=0x0,(_0x2a6dbc,_0x1f22bb)=>_0x38f369(_0x1f22bb,0x0,!0x0)>=0x0],_0x51c492={'text':'','end':0x0};class BlockContext{constructor(_0x3ecce4,_0x578ba2,_0x3108d6,_0x369c27){this['parser']=_0x3ecce4,this['input']=_0x578ba2,this['ranges']=_0x369c27,this['line']=new _0x5467d2(),this['atEnd']=!0x1,this['reusePlaceholders']=new Map(),this['stoppedAt']=null,this['rangeI']=0x0,this['to']=_0x369c27[_0x369c27['length']-0x1]['to'],this['lineStart']=this['absoluteLineStart']=this['absoluteLineEnd']=_0x369c27[0x0]['from'],this['block']=CompositeBlock['create'](_0x47467d['Document'],0x0,this['lineStart'],0x0,0x0),this['stack']=[this['block']],this['fragments']=_0x3108d6['length']?new FragmentCursor(_0x3108d6,_0x578ba2):null,this['readLine']();}get['parsedPos'](){return this['absoluteLineStart'];}['advance'](){if(null!=this['stoppedAt']&&this['absoluteLineStart']>this['stoppedAt'])return this['finish']();let {line:_0x4ae415}=this;for(;;){for(let _0x2759eb=0x0;;){let _0x5ea3c8=_0x4ae415['depth']<this['stack']['length']?this['stack'][this['stack']['length']-0x1]:null;for(;_0x2759eb<_0x4ae415['markers']['length']&&(!_0x5ea3c8||_0x4ae415['markers'][_0x2759eb]['from']<_0x5ea3c8['end']);){let _0x431d52=_0x4ae415['markers'][_0x2759eb++];this['addNode'](_0x431d52['type'],_0x431d52['from'],_0x431d52['to']);}if(!_0x5ea3c8)break;this['finishContext']();}if(_0x4ae415['pos']<_0x4ae415['text']['length'])break;if(!this['nextLine']())return this['finish']();}if(this['fragments']&&this['reuseFragment'](_0x4ae415['basePos']))return null;t:for(;;){for(let _0x34565d of this['parser']['blockParsers'])if(_0x34565d){let _0xc8c58e=_0x34565d(this,_0x4ae415);if(0x0!=_0xc8c58e){if(0x1==_0xc8c58e)return null;_0x4ae415['forward']();continue t;}}break;}let _0x1fa644=new _0xed0c86(this['lineStart']+_0x4ae415['pos'],_0x4ae415['text']['slice'](_0x4ae415['pos']));for(let _0x561d72 of this['parser']['leafBlockParsers'])if(_0x561d72){let _0x4883cc=_0x561d72(this,_0x1fa644);_0x4883cc&&_0x1fa644['parsers']['push'](_0x4883cc);}t:for(;this['nextLine']()&&_0x4ae415['pos']!=_0x4ae415['text']['length'];){if(_0x4ae415['indent']<_0x4ae415['baseIndent']+0x4){for(let _0x1572de of this['parser']['endLeafBlock'])if(_0x1572de(this,_0x4ae415,_0x1fa644))break t;}for(let _0x5182ab of _0x1fa644['parsers'])if(_0x5182ab['nextLine'](this,_0x4ae415,_0x1fa644))return null;_0x1fa644['content']+='\x0a'+_0x4ae415['scrub']();for(let _0x20d4ce of _0x4ae415['markers'])_0x1fa644['marks']['push'](_0x20d4ce);}return this['finishLeaf'](_0x1fa644),null;}['stopAt'](_0x1a53bd){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x1a53bd)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x1a53bd;}['reuseFragment'](_0x264697){if(!this['fragments']['moveTo'](this['absoluteLineStart']+_0x264697,this['absoluteLineStart'])||!this['fragments']['matches'](this['block']['hash']))return!0x1;let _0x29ea90=this['fragments']['takeNodes'](this);return!!_0x29ea90&&(this['absoluteLineStart']+=_0x29ea90,this['lineStart']=_0xccaff4(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'](_0x565722=this['depth']-0x1){return this['parser']['nodeSet']['types'][this['stack'][_0x565722]['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'](_0x5b2a20){let _0x219d60=_0x51c492;if(_0x219d60['end']=_0x5b2a20,_0x5b2a20>=this['to'])_0x219d60['text']='';else{if(_0x219d60['text']=this['lineChunkAt'](_0x5b2a20),_0x219d60['end']+=_0x219d60['text']['length'],this['ranges']['length']>0x1){let _0x26f83c=this['absoluteLineStart'],_0x3ded9f=this['rangeI'];for(;this['ranges'][_0x3ded9f]['to']<_0x219d60['end'];){_0x3ded9f++;let _0x532507=this['ranges'][_0x3ded9f]['from'],_0x4efa1d=this['lineChunkAt'](_0x532507);_0x219d60['end']=_0x532507+_0x4efa1d['length'],_0x219d60['text']=_0x219d60['text']['slice'](0x0,this['ranges'][_0x3ded9f-0x1]['to']-_0x26f83c)+_0x4efa1d,_0x26f83c=_0x219d60['end']-_0x219d60['text']['length'];}}}return _0x219d60;}['readLine'](){let {line:_0x3afe29}=this,{text:_0x3c86d8,end:_0x5defc3}=this['scanLine'](this['absoluteLineStart']);for(this['absoluteLineEnd']=_0x5defc3,_0x3afe29['reset'](_0x3c86d8);_0x3afe29['depth']<this['stack']['length'];_0x3afe29['depth']++){let _0x78f396=this['stack'][_0x3afe29['depth']],_0x36deb3=this['parser']['skipContextMarkup'][_0x78f396['type']];if(!_0x36deb3)throw new Error('Unhandled\x20block\x20context\x20'+_0x47467d[_0x78f396['type']]);let _0x3d1fe2=this['line']['markers']['length'];if(!_0x36deb3(_0x78f396,this,_0x3afe29)){this['line']['markers']['length']>_0x3d1fe2&&(_0x78f396['end']=this['line']['markers'][this['line']['markers']['length']-0x1]['to']);break;}_0x3afe29['forward']();}}['lineChunkAt'](_0x2ff1ca){let _0x5db681,_0x54165d=this['input']['chunk'](_0x2ff1ca);if(this['input']['lineChunks'])_0x5db681='\x0a'==_0x54165d?'':_0x54165d;else{let _0x5b25f3=_0x54165d['indexOf']('\x0a');_0x5db681=_0x5b25f3<0x0?_0x54165d:_0x54165d['slice'](0x0,_0x5b25f3);}return _0x2ff1ca+_0x5db681['length']>this['to']?_0x5db681['slice'](0x0,this['to']-_0x2ff1ca):_0x5db681;}['prevLineEnd'](){return this['atEnd']?this['lineStart']:this['lineStart']-0x1;}['startContext'](_0x591510,_0x2fecf7,_0x322632=0x0){this['block']=CompositeBlock['create'](_0x591510,_0x322632,this['lineStart']+_0x2fecf7,this['block']['hash'],this['lineStart']+this['line']['text']['length']),this['stack']['push'](this['block']);}['startComposite'](_0x49c5e0,_0x5eb1dd,_0x45bb7d=0x0){this['startContext'](this['parser']['getNodeType'](_0x49c5e0),_0x5eb1dd,_0x45bb7d);}['addNode'](_0x11a07e,_0x232c33,_0x49ab8d){'number'==typeof _0x11a07e&&(_0x11a07e=new _0x3af464(this['parser']['nodeSet']['types'][_0x11a07e],_0x5cec86,_0x5cec86,(null!=_0x49ab8d?_0x49ab8d:this['prevLineEnd']())-_0x232c33)),this['block']['addChild'](_0x11a07e,_0x232c33-this['block']['from']);}['addElement'](_0x105c96){this['block']['addChild'](_0x105c96['toTree'](this['parser']['nodeSet']),_0x105c96['from']-this['block']['from']);}['addLeafElement'](_0x15817e,_0x384693){this['addNode'](this['buffer']['writeElements'](_0x35ed69(_0x384693['children'],_0x15817e['marks']),-_0x384693['from'])['finish'](_0x384693['type'],_0x384693['to']-_0x384693['from']),_0x384693['from']);}['finishContext'](){let _0x1bfea9=this['stack']['pop'](),_0x59c9f1=this['stack'][this['stack']['length']-0x1];_0x59c9f1['addChild'](_0x1bfea9['toTree'](this['parser']['nodeSet']),_0x1bfea9['from']-_0x59c9f1['from']),this['block']=_0x59c9f1;}['finish'](){for(;this['stack']['length']>0x1;)this['finishContext']();return this['addGaps'](this['block']['toTree'](this['parser']['nodeSet'],this['lineStart']));}['addGaps'](_0x13765e){return this['ranges']['length']>0x1?_0x32e3bc(this['ranges'],0x0,_0x13765e['topNode'],this['ranges'][0x0]['from'],this['reusePlaceholders']):_0x13765e;}['finishLeaf'](_0xb27948){for(let _0x4fd05d of _0xb27948['parsers'])if(_0x4fd05d['finish'](this,_0xb27948))return;let _0x43f5ed=_0x35ed69(this['parser']['parseInline'](_0xb27948['content'],_0xb27948['start']),_0xb27948['marks']);this['addNode'](this['buffer']['writeElements'](_0x43f5ed,-_0xb27948['start'])['finish'](_0x47467d['Paragraph'],_0xb27948['content']['length']),_0xb27948['start']);}['elt'](_0x151c63,_0x35e9d9,_0x1fe0f6,_0x451ddf){return'string'==typeof _0x151c63?_0x2df8a9(this['parser']['getNodeType'](_0x151c63),_0x35e9d9,_0x1fe0f6,_0x451ddf):new TreeElement(_0x151c63,_0x35e9d9);}get['buffer'](){return new _0x108a14(this['parser']['nodeSet']);}}function _0x32e3bc(_0x56569f,_0x37d07d,_0x48020b,_0x5550b4,_0xa9ef8d){let _0x22774f=_0x56569f[_0x37d07d]['to'],_0x540bc0=[],_0x986670=[],_0x3bc7a9=_0x48020b['from']+_0x5550b4;function _0x5ee173(_0x3517c3,_0x31d6de){for(;_0x31d6de?_0x3517c3>=_0x22774f:_0x3517c3>_0x22774f;){let _0x164bed=_0x56569f[_0x37d07d+0x1]['from']-_0x22774f;_0x5550b4+=_0x164bed,_0x3517c3+=_0x164bed,_0x37d07d++,_0x22774f=_0x56569f[_0x37d07d]['to'];}}for(let _0x209878=_0x48020b['firstChild'];_0x209878;_0x209878=_0x209878['nextSibling']){_0x5ee173(_0x209878['from']+_0x5550b4,!0x0);let _0x3fa9ab,_0x18ce26=_0x209878['from']+_0x5550b4,_0x3507ce=_0xa9ef8d['get'](_0x209878['tree']);_0x3507ce?_0x3fa9ab=_0x3507ce:_0x209878['to']+_0x5550b4>_0x22774f?(_0x3fa9ab=_0x32e3bc(_0x56569f,_0x37d07d,_0x209878,_0x5550b4,_0xa9ef8d),_0x5ee173(_0x209878['to']+_0x5550b4,!0x1)):_0x3fa9ab=_0x209878['toTree'](),_0x540bc0['push'](_0x3fa9ab),_0x986670['push'](_0x18ce26-_0x3bc7a9);}return _0x5ee173(_0x48020b['to']+_0x5550b4,!0x1),new _0x3af464(_0x48020b['type'],_0x540bc0,_0x986670,_0x48020b['to']+_0x5550b4-_0x3bc7a9,_0x48020b['tree']?_0x48020b['tree']['propValues']:void 0x0);}class _0x2337ec extends _0x378e00{constructor(_0xe6d1ed,_0x3d9724,_0x2bea72,_0x492d30,_0x9209a2,_0xc96a48,_0x16a298,_0x51fb15,_0x56a918){super(),this['nodeSet']=_0xe6d1ed,this['blockParsers']=_0x3d9724,this['leafBlockParsers']=_0x2bea72,this['blockNames']=_0x492d30,this['endLeafBlock']=_0x9209a2,this['skipContextMarkup']=_0xc96a48,this['inlineParsers']=_0x16a298,this['inlineNames']=_0x51fb15,this['wrappers']=_0x56a918,this['nodeTypes']=Object['create'](null);for(let t of _0xe6d1ed['types'])this['nodeTypes'][t['name']]=t['id'];}['createParse'](_0x2e76ab,_0x41e68c,_0x3dbe4a){let _0x1486b0=new BlockContext(this,_0x2e76ab,_0x41e68c,_0x3dbe4a);for(let _0x5f4b8f of this['wrappers'])_0x1486b0=_0x5f4b8f(_0x1486b0,_0x2e76ab,_0x41e68c,_0x3dbe4a);return _0x1486b0;}['configure'](_0x5eb0ee){let _0x2580f4=_0x27314a(_0x5eb0ee);if(!_0x2580f4)return this;let {nodeSet:_0x3f9182,skipContextMarkup:_0x1dde4f}=this,_0x2b514b=this['blockParsers']['slice'](),_0x4c6d29=this['leafBlockParsers']['slice'](),_0x213ce6=this['blockNames']['slice'](),_0x468c50=this['inlineParsers']['slice'](),_0x18d4e8=this['inlineNames']['slice'](),_0x35e5ea=this['endLeafBlock']['slice'](),_0x157c19=this['wrappers'];if(_0x559305(_0x2580f4['defineNodes'])){_0x1dde4f=Object['assign']({},_0x1dde4f);let _0x11cddc,_0xbd5f66=_0x3f9182['types']['slice']();for(let _0x6c96af of _0x2580f4['defineNodes']){let {name:_0x57b9d3,block:_0x349efa,composite:_0x4de002,style:_0x78e72a}='string'==typeof _0x6c96af?{'name':_0x6c96af}:_0x6c96af;if(_0xbd5f66['some'](t=>t['name']==_0x57b9d3))continue;_0x4de002&&(_0x1dde4f[_0xbd5f66['length']]=(_0x55f1ff,_0x1b4fc2,_0x359921)=>_0x4de002(_0x1b4fc2,_0x359921,_0x55f1ff['value']));let _0x117f0e=_0xbd5f66['length'],_0xd1c349=_0x4de002?['Block','BlockContext']:_0x349efa?_0x117f0e>=_0x47467d['ATXHeading1']&&_0x117f0e<=_0x47467d['SetextHeading2']?['Block','LeafBlock','Heading']:['Block','LeafBlock']:void 0x0;_0xbd5f66['push'](_0x215dc9['define']({'id':_0x117f0e,'name':_0x57b9d3,'props':_0xd1c349&&[[_0x17497f['group'],_0xd1c349]]})),_0x78e72a&&(_0x11cddc||(_0x11cddc={}),Array['isArray'](_0x78e72a)||_0x78e72a instanceof _0x2e7766?_0x11cddc[_0x57b9d3]=_0x78e72a:Object['assign'](_0x11cddc,_0x78e72a));}_0x3f9182=new NodeSet(_0xbd5f66),_0x11cddc&&(_0x3f9182=_0x3f9182['extend'](_0x39699e(_0x11cddc)));}if(_0x559305(_0x2580f4['props'])&&(_0x3f9182=_0x3f9182['extend'](..._0x2580f4['props'])),_0x559305(_0x2580f4['remove']))for(let _0x5822d7 of _0x2580f4['remove']){let _0x5e0c7d=this['blockNames']['indexOf'](_0x5822d7),_0x4455ec=this['inlineNames']['indexOf'](_0x5822d7);_0x5e0c7d>-0x1&&(_0x2b514b[_0x5e0c7d]=_0x4c6d29[_0x5e0c7d]=void 0x0),_0x4455ec>-0x1&&(_0x468c50[_0x4455ec]=void 0x0);}if(_0x559305(_0x2580f4['parseBlock']))for(let _0x22f3eb of _0x2580f4['parseBlock']){let _0x57f0be=_0x213ce6['indexOf'](_0x22f3eb['name']);if(_0x57f0be>-0x1)_0x2b514b[_0x57f0be]=_0x22f3eb['parse'],_0x4c6d29[_0x57f0be]=_0x22f3eb['leaf'];else{let _0x3e7d2e=_0x22f3eb['before']?_0x27f8aa(_0x213ce6,_0x22f3eb['before']):_0x22f3eb['after']?_0x27f8aa(_0x213ce6,_0x22f3eb['after'])+0x1:_0x213ce6['length']-0x1;_0x2b514b['splice'](_0x3e7d2e,0x0,_0x22f3eb['parse']),_0x4c6d29['splice'](_0x3e7d2e,0x0,_0x22f3eb['leaf']),_0x213ce6['splice'](_0x3e7d2e,0x0,_0x22f3eb['name']);}_0x22f3eb['endLeaf']&&_0x35e5ea['push'](_0x22f3eb['endLeaf']);}if(_0x559305(_0x2580f4['parseInline']))for(let _0x3f1173 of _0x2580f4['parseInline']){let _0x375d60=_0x18d4e8['indexOf'](_0x3f1173['name']);if(_0x375d60>-0x1)_0x468c50[_0x375d60]=_0x3f1173['parse'];else{let _0x10e2a2=_0x3f1173['before']?_0x27f8aa(_0x18d4e8,_0x3f1173['before']):_0x3f1173['after']?_0x27f8aa(_0x18d4e8,_0x3f1173['after'])+0x1:_0x18d4e8['length']-0x1;_0x468c50['splice'](_0x10e2a2,0x0,_0x3f1173['parse']),_0x18d4e8['splice'](_0x10e2a2,0x0,_0x3f1173['name']);}}return _0x2580f4['wrap']&&(_0x157c19=_0x157c19['concat'](_0x2580f4['wrap'])),new _0x2337ec(_0x3f9182,_0x2b514b,_0x4c6d29,_0x213ce6,_0x35e5ea,_0x1dde4f,_0x468c50,_0x18d4e8,_0x157c19);}['getNodeType'](_0x5c4ab2){let _0x220c68=this['nodeTypes'][_0x5c4ab2];if(null==_0x220c68)throw new RangeError('Unknown\x20node\x20type\x20\x27'+_0x5c4ab2+'\x27');return _0x220c68;}['parseInline'](_0x49db89,_0x160ba3){let _0x24023f=new InlineContext(this,_0x49db89,_0x160ba3);t:for(let _0x26242c=_0x160ba3;_0x26242c<_0x24023f['end'];){let _0xd7626f=_0x24023f['char'](_0x26242c);for(let _0xc9d319 of this['inlineParsers'])if(_0xc9d319){let _0x4c11f3=_0xc9d319(_0x24023f,_0xd7626f,_0x26242c);if(_0x4c11f3>=0x0){_0x26242c=_0x4c11f3;continue t;}}_0x26242c++;}return _0x24023f['resolveMarkers'](0x0);}}function _0x559305(_0x2519a4){return null!=_0x2519a4&&_0x2519a4['length']>0x0;}function _0x27314a(_0x4676de){if(!Array['isArray'](_0x4676de))return _0x4676de;if(0x0==_0x4676de['length'])return null;let _0xcf7d12=_0x27314a(_0x4676de[0x0]);if(0x1==_0x4676de['length'])return _0xcf7d12;let _0x2686b2=_0x27314a(_0x4676de['slice'](0x1));if(!_0x2686b2||!_0xcf7d12)return _0xcf7d12||_0x2686b2;let _0x4ecea9=(_0x19a6a9,_0x20218e)=>(_0x19a6a9||_0x5cec86)['concat'](_0x20218e||_0x5cec86),_0x2771b8=_0xcf7d12['wrap'],_0x6d8e5b=_0x2686b2['wrap'];return{'props':_0x4ecea9(_0xcf7d12['props'],_0x2686b2['props']),'defineNodes':_0x4ecea9(_0xcf7d12['defineNodes'],_0x2686b2['defineNodes']),'parseBlock':_0x4ecea9(_0xcf7d12['parseBlock'],_0x2686b2['parseBlock']),'parseInline':_0x4ecea9(_0xcf7d12['parseInline'],_0x2686b2['parseInline']),'remove':_0x4ecea9(_0xcf7d12['remove'],_0x2686b2['remove']),'wrap':_0x2771b8?_0x6d8e5b?(_0x38a861,_0x3dc63c,_0x28d02d,_0x3a5c93)=>_0x2771b8(_0x6d8e5b(_0x38a861,_0x3dc63c,_0x28d02d,_0x3a5c93),_0x3dc63c,_0x28d02d,_0x3a5c93):_0x2771b8:_0x6d8e5b};}function _0x27f8aa(_0x4de96a,_0x410618){let _0x2a3f3d=_0x4de96a['indexOf'](_0x410618);if(_0x2a3f3d<0x0)throw new RangeError('Position\x20specified\x20relative\x20to\x20unknown\x20parser\x20'+_0x410618);return _0x2a3f3d;}let _0xc15c4b=[_0x215dc9['none']];for(let _0x4655f2,_0x2d050e=0x1;_0x4655f2=_0x47467d[_0x2d050e];_0x2d050e++)_0xc15c4b[_0x2d050e]=_0x215dc9['define']({'id':_0x2d050e,'name':_0x4655f2,'props':_0x2d050e>=_0x47467d['Escape']?[]:[[_0x17497f['group'],_0x2d050e in _0x54d7ea?['Block','BlockContext']:['Block','LeafBlock']]],'top':'Document'==_0x4655f2});const _0x5cec86=[];let _0x108a14=class _0x28bbcd{constructor(_0x185f39){this['nodeSet']=_0x185f39,this['content']=[],this['nodes']=[];}['write'](_0x594778,_0xfa0cbe,_0x3e2903,_0x518417=0x0){return this['content']['push'](_0x594778,_0xfa0cbe,_0x3e2903,0x4+0x4*_0x518417),this;}['writeElements'](_0x57b6b9,_0x1e7b11=0x0){for(let _0x1e29be of _0x57b6b9)_0x1e29be['writeTo'](this,_0x1e7b11);return this;}['finish'](_0x175713,_0x311dee){return _0x3af464['build']({'buffer':this['content'],'nodeSet':this['nodeSet'],'reused':this['nodes'],'topID':_0x175713,'length':_0x311dee});}},_0x48cc56=class Element{constructor(_0x393746,_0x238585,_0xef3f52,_0xe88e8b=_0x5cec86){this['type']=_0x393746,this['from']=_0x238585,this['to']=_0xef3f52,this['children']=_0xe88e8b;}['writeTo'](_0x1710c4,_0x2d52a3){let _0x47888c=_0x1710c4['content']['length'];_0x1710c4['writeElements'](this['children'],_0x2d52a3),_0x1710c4['content']['push'](this['type'],this['from']+_0x2d52a3,this['to']+_0x2d52a3,_0x1710c4['content']['length']+0x4-_0x47888c);}['toTree'](_0x29b979){return new _0x108a14(_0x29b979)['writeElements'](this['children'],-this['from'])['finish'](this['type'],this['to']-this['from']);}};class TreeElement{constructor(_0x502723,_0x21069a){this['tree']=_0x502723,this['from']=_0x21069a;}get['to'](){return this['from']+this['tree']['length'];}get['type'](){return this['tree']['type']['id'];}get['children'](){return _0x5cec86;}['writeTo'](_0x5458cc,_0x108cbe){_0x5458cc['nodes']['push'](this['tree']),_0x5458cc['content']['push'](_0x5458cc['nodes']['length']-0x1,this['from']+_0x108cbe,this['to']+_0x108cbe,-0x1);}['toTree'](){return this['tree'];}}function _0x2df8a9(_0x244da8,_0x317c47,_0xf09b22,_0x15343d){return new _0x48cc56(_0x244da8,_0x317c47,_0xf09b22,_0x15343d);}const _0x3ee7fa={'resolve':'Emphasis','mark':'EmphasisMark'},_0x2453a6={'resolve':'Emphasis','mark':'EmphasisMark'},_0x252a5b={},_0xd40611={};class InlineDelimiter{constructor(_0x365365,_0x428356,_0x22247c,_0x2bdadf){this['type']=_0x365365,this['from']=_0x428356,this['to']=_0x22247c,this['side']=_0x2bdadf;}}const _0x2e809e='!\x22#$%&\x27()*+,-./:;<=>?@[\x5c]^_`{|}~';let _0x5ddc10=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{_0x5ddc10=new RegExp('[\x5cp{S}|\x5cp{P}]','u');}catch(_0x3bd43c){}const _0x5b1743={'Escape'(_0x3b3a3f,_0xa6ce93,_0x198825){if(0x5c!=_0xa6ce93||_0x198825==_0x3b3a3f['end']-0x1)return-0x1;let _0x562e49=_0x3b3a3f['char'](_0x198825+0x1);for(let _0x314691=0x0;_0x314691<0x20;_0x314691++)if(_0x2e809e['charCodeAt'](_0x314691)==_0x562e49)return _0x3b3a3f['append'](_0x2df8a9(_0x47467d['Escape'],_0x198825,_0x198825+0x2));return-0x1;},'Entity'(_0x508f4d,_0x3021be,_0x7c5d5d){if(0x26!=_0x3021be)return-0x1;let _0x2f3c09=/^(?:#\d+|#x[a-f\d]+|\w+);/i['exec'](_0x508f4d['slice'](_0x7c5d5d+0x1,_0x7c5d5d+0x1f));return _0x2f3c09?_0x508f4d['append'](_0x2df8a9(_0x47467d['Entity'],_0x7c5d5d,_0x7c5d5d+0x1+_0x2f3c09[0x0]['length'])):-0x1;},'InlineCode'(_0x528dd8,_0x188fea,_0x142650){if(0x60!=_0x188fea||_0x142650&&0x60==_0x528dd8['char'](_0x142650-0x1))return-0x1;let _0x58af83=_0x142650+0x1;for(;_0x58af83<_0x528dd8['end']&&0x60==_0x528dd8['char'](_0x58af83);)_0x58af83++;let _0x5e6346=_0x58af83-_0x142650,_0x4c0841=0x0;for(;_0x58af83<_0x528dd8['end'];_0x58af83++)if(0x60==_0x528dd8['char'](_0x58af83)){if(_0x4c0841++,_0x4c0841==_0x5e6346&&0x60!=_0x528dd8['char'](_0x58af83+0x1))return _0x528dd8['append'](_0x2df8a9(_0x47467d['InlineCode'],_0x142650,_0x58af83+0x1,[_0x2df8a9(_0x47467d['CodeMark'],_0x142650,_0x142650+_0x5e6346),_0x2df8a9(_0x47467d['CodeMark'],_0x58af83+0x1-_0x5e6346,_0x58af83+0x1)]));}else _0x4c0841=0x0;return-0x1;},'HTMLTag'(_0x58fb46,_0xa8b4ae,_0x54b6d6){if(0x3c!=_0xa8b4ae||_0x54b6d6==_0x58fb46['end']-0x1)return-0x1;let _0x195365=_0x58fb46['slice'](_0x54b6d6+0x1,_0x58fb46['end']),_0x255eef=/^(?:[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'](_0x195365);if(_0x255eef)return _0x58fb46['append'](_0x2df8a9(_0x47467d['Autolink'],_0x54b6d6,_0x54b6d6+0x1+_0x255eef[0x0]['length'],[_0x2df8a9(_0x47467d['LinkMark'],_0x54b6d6,_0x54b6d6+0x1),_0x2df8a9(_0x47467d['URL'],_0x54b6d6+0x1,_0x54b6d6+_0x255eef[0x0]['length']),_0x2df8a9(_0x47467d['LinkMark'],_0x54b6d6+_0x255eef[0x0]['length'],_0x54b6d6+0x1+_0x255eef[0x0]['length'])]));let _0x13e1b=/^!--[^>](?:-[^-]|[^-])*?-->/i['exec'](_0x195365);if(_0x13e1b)return _0x58fb46['append'](_0x2df8a9(_0x47467d['Comment'],_0x54b6d6,_0x54b6d6+0x1+_0x13e1b[0x0]['length']));let _0x57a879=/^\?[^]*?\?>/['exec'](_0x195365);if(_0x57a879)return _0x58fb46['append'](_0x2df8a9(_0x47467d['ProcessingInstruction'],_0x54b6d6,_0x54b6d6+0x1+_0x57a879[0x0]['length']));let _0x2d1cf4=/^(?:![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'](_0x195365);return _0x2d1cf4?_0x58fb46['append'](_0x2df8a9(_0x47467d['HTMLTag'],_0x54b6d6,_0x54b6d6+0x1+_0x2d1cf4[0x0]['length'])):-0x1;},'Emphasis'(_0x3a50d8,_0x5b534c,_0x2a1b21){if(0x5f!=_0x5b534c&&0x2a!=_0x5b534c)return-0x1;let _0x4bc2c0=_0x2a1b21+0x1;for(;_0x3a50d8['char'](_0x4bc2c0)==_0x5b534c;)_0x4bc2c0++;let _0x221d66=_0x3a50d8['slice'](_0x2a1b21-0x1,_0x2a1b21),_0x59393d=_0x3a50d8['slice'](_0x4bc2c0,_0x4bc2c0+0x1),_0xed9b5b=_0x5ddc10['test'](_0x221d66),_0x467bc0=_0x5ddc10['test'](_0x59393d),_0x315c17=/\s|^$/['test'](_0x221d66),_0x4318dd=/\s|^$/['test'](_0x59393d),_0x2832f0=!_0x4318dd&&(!_0x467bc0||_0x315c17||_0xed9b5b),_0x1f3fbc=!_0x315c17&&(!_0xed9b5b||_0x4318dd||_0x467bc0),_0x423ec1=_0x2832f0&&(0x2a==_0x5b534c||!_0x1f3fbc||_0xed9b5b),_0xc8d278=_0x1f3fbc&&(0x2a==_0x5b534c||!_0x2832f0||_0x467bc0);return _0x3a50d8['append'](new InlineDelimiter(0x5f==_0x5b534c?_0x3ee7fa:_0x2453a6,_0x2a1b21,_0x4bc2c0,(_0x423ec1?0x1:0x0)|(_0xc8d278?0x2:0x0)));},'HardBreak'(_0x4a9530,_0x16e993,_0x4f0fee){if(0x5c==_0x16e993&&0xa==_0x4a9530['char'](_0x4f0fee+0x1))return _0x4a9530['append'](_0x2df8a9(_0x47467d['HardBreak'],_0x4f0fee,_0x4f0fee+0x2));if(0x20==_0x16e993){let _0x2f9f5f=_0x4f0fee+0x1;for(;0x20==_0x4a9530['char'](_0x2f9f5f);)_0x2f9f5f++;if(0xa==_0x4a9530['char'](_0x2f9f5f)&&_0x2f9f5f>=_0x4f0fee+0x2)return _0x4a9530['append'](_0x2df8a9(_0x47467d['HardBreak'],_0x4f0fee,_0x2f9f5f+0x1));}return-0x1;},'Link':(_0x3976d1,_0xee0544,_0x324e52)=>0x5b==_0xee0544?_0x3976d1['append'](new InlineDelimiter(_0x252a5b,_0x324e52,_0x324e52+0x1,0x1)):-0x1,'Image':(_0x1be7e2,_0x44f9d0,_0x52b0d8)=>0x21==_0x44f9d0&&0x5b==_0x1be7e2['char'](_0x52b0d8+0x1)?_0x1be7e2['append'](new InlineDelimiter(_0xd40611,_0x52b0d8,_0x52b0d8+0x2,0x1)):-0x1,'LinkEnd'(_0x11d167,_0x498fb7,_0x593d36){if(0x5d!=_0x498fb7)return-0x1;for(let _0x1c9917=_0x11d167['parts']['length']-0x1;_0x1c9917>=0x0;_0x1c9917--){let _0x1550bd=_0x11d167['parts'][_0x1c9917];if(_0x1550bd instanceof InlineDelimiter&&(_0x1550bd['type']==_0x252a5b||_0x1550bd['type']==_0xd40611)){if(!_0x1550bd['side']||_0x11d167['skipSpace'](_0x1550bd['to'])==_0x593d36&&!/[(\[]/['test'](_0x11d167['slice'](_0x593d36+0x1,_0x593d36+0x2)))return _0x11d167['parts'][_0x1c9917]=null,-0x1;let _0xb22ec9=_0x11d167['takeContent'](_0x1c9917),_0x114bc6=_0x11d167['parts'][_0x1c9917]=_0x38677a(_0x11d167,_0xb22ec9,_0x1550bd['type']==_0x252a5b?_0x47467d['Link']:_0x47467d['Image'],_0x1550bd['from'],_0x593d36+0x1);if(_0x1550bd['type']==_0x252a5b)for(let _0x43f3b0=0x0;_0x43f3b0<_0x1c9917;_0x43f3b0++){let _0x251b88=_0x11d167['parts'][_0x43f3b0];_0x251b88 instanceof InlineDelimiter&&_0x251b88['type']==_0x252a5b&&(_0x251b88['side']=0x0);}return _0x114bc6['to'];}}return-0x1;}};function _0x38677a(_0x247fab,_0x3a0378,_0x3a2749,_0x24b31c,_0x30c6c6){let {text:_0x55aed0}=_0x247fab,_0x12ea6f=_0x247fab['char'](_0x30c6c6),_0x4a8192=_0x30c6c6;if(_0x3a0378['unshift'](_0x2df8a9(_0x47467d['LinkMark'],_0x24b31c,_0x24b31c+(_0x3a2749==_0x47467d['Image']?0x2:0x1))),_0x3a0378['push'](_0x2df8a9(_0x47467d['LinkMark'],_0x30c6c6-0x1,_0x30c6c6)),0x28==_0x12ea6f){let _0x3e81f9,_0x4de1f6=_0x247fab['skipSpace'](_0x30c6c6+0x1),_0x227e3d=_0x18b037(_0x55aed0,_0x4de1f6-_0x247fab['offset'],_0x247fab['offset']);_0x227e3d&&(_0x4de1f6=_0x247fab['skipSpace'](_0x227e3d['to']),_0x4de1f6!=_0x227e3d['to']&&(_0x3e81f9=_0xef5be7(_0x55aed0,_0x4de1f6-_0x247fab['offset'],_0x247fab['offset']),_0x3e81f9&&(_0x4de1f6=_0x247fab['skipSpace'](_0x3e81f9['to'])))),0x29==_0x247fab['char'](_0x4de1f6)&&(_0x3a0378['push'](_0x2df8a9(_0x47467d['LinkMark'],_0x30c6c6,_0x30c6c6+0x1)),_0x4a8192=_0x4de1f6+0x1,_0x227e3d&&_0x3a0378['push'](_0x227e3d),_0x3e81f9&&_0x3a0378['push'](_0x3e81f9),_0x3a0378['push'](_0x2df8a9(_0x47467d['LinkMark'],_0x4de1f6,_0x4a8192)));}else{if(0x5b==_0x12ea6f){let _0x29ab96=_0x44628b(_0x55aed0,_0x30c6c6-_0x247fab['offset'],_0x247fab['offset'],!0x1);_0x29ab96&&(_0x3a0378['push'](_0x29ab96),_0x4a8192=_0x29ab96['to']);}}return _0x2df8a9(_0x3a2749,_0x24b31c,_0x4a8192,_0x3a0378);}function _0x18b037(_0xe40fed,_0x8f5040,_0xbbb777){if(0x3c==_0xe40fed['charCodeAt'](_0x8f5040)){for(let _0x179ac3=_0x8f5040+0x1;_0x179ac3<_0xe40fed['length'];_0x179ac3++){let _0x8d0e56=_0xe40fed['charCodeAt'](_0x179ac3);if(0x3e==_0x8d0e56)return _0x2df8a9(_0x47467d['URL'],_0x8f5040+_0xbbb777,_0x179ac3+0x1+_0xbbb777);if(0x3c==_0x8d0e56||0xa==_0x8d0e56)return!0x1;}return null;}{let _0x103c04=0x0,_0x4027aa=_0x8f5040;for(let _0x1eecee=!0x1;_0x4027aa<_0xe40fed['length'];_0x4027aa++){let _0x5e2bae=_0xe40fed['charCodeAt'](_0x4027aa);if(tC(_0x5e2bae))break;if(_0x1eecee)_0x1eecee=!0x1;else{if(0x28==_0x5e2bae)_0x103c04++;else{if(0x29==_0x5e2bae){if(!_0x103c04)break;_0x103c04--;}else 0x5c==_0x5e2bae&&(_0x1eecee=!0x0);}}}return _0x4027aa>_0x8f5040?_0x2df8a9(_0x47467d['URL'],_0x8f5040+_0xbbb777,_0x4027aa+_0xbbb777):_0x4027aa==_0xe40fed['length']&&null;}}function _0xef5be7(_0xfc70fc,_0x2fe7ce,_0x585238){let _0x128637=_0xfc70fc['charCodeAt'](_0x2fe7ce);if(0x27!=_0x128637&&0x22!=_0x128637&&0x28!=_0x128637)return!0x1;let _0x9fd177=0x28==_0x128637?0x29:_0x128637;for(let _0x5bd44a=_0x2fe7ce+0x1,_0x17d2e2=!0x1;_0x5bd44a<_0xfc70fc['length'];_0x5bd44a++){let _0x32d232=_0xfc70fc['charCodeAt'](_0x5bd44a);if(_0x17d2e2)_0x17d2e2=!0x1;else{if(_0x32d232==_0x9fd177)return _0x2df8a9(_0x47467d['LinkTitle'],_0x2fe7ce+_0x585238,_0x5bd44a+0x1+_0x585238);0x5c==_0x32d232&&(_0x17d2e2=!0x0);}}return null;}function _0x44628b(_0xa13af4,_0x4b253b,_0x492356,_0x312106){for(let _0x587bb0=!0x1,_0x54f832=_0x4b253b+0x1,_0x490790=Math['min'](_0xa13af4['length'],_0x54f832+0x3e7);_0x54f832<_0x490790;_0x54f832++){let _0x51cfd4=_0xa13af4['charCodeAt'](_0x54f832);if(_0x587bb0)_0x587bb0=!0x1;else{if(0x5d==_0x51cfd4)return!_0x312106&&_0x2df8a9(_0x47467d['LinkLabel'],_0x4b253b+_0x492356,_0x54f832+0x1+_0x492356);if(_0x312106&&!tC(_0x51cfd4)&&(_0x312106=!0x1),0x5b==_0x51cfd4)return!0x1;0x5c==_0x51cfd4&&(_0x587bb0=!0x0);}}return null;}class InlineContext{constructor(_0x4023be,_0x5d746e,_0x577a5e){this['parser']=_0x4023be,this['text']=_0x5d746e,this['offset']=_0x577a5e,this['parts']=[];}['char'](_0x25e71f){return _0x25e71f>=this['end']?-0x1:this['text']['charCodeAt'](_0x25e71f-this['offset']);}get['end'](){return this['offset']+this['text']['length'];}['slice'](_0x3c9eeb,_0x52d50e){return this['text']['slice'](_0x3c9eeb-this['offset'],_0x52d50e-this['offset']);}['append'](_0x4d0a02){return this['parts']['push'](_0x4d0a02),_0x4d0a02['to'];}['addDelimiter'](_0x1c710c,_0x3934f9,_0xdff6be,_0x199d51,_0x42137f){return this['append'](new InlineDelimiter(_0x1c710c,_0x3934f9,_0xdff6be,(_0x199d51?0x1:0x0)|(_0x42137f?0x2:0x0)));}get['hasOpenLink'](){for(let _0x5efe63=this['parts']['length']-0x1;_0x5efe63>=0x0;_0x5efe63--){let _0x550c44=this['parts'][_0x5efe63];if(_0x550c44 instanceof InlineDelimiter&&(_0x550c44['type']==_0x252a5b||_0x550c44['type']==_0xd40611))return!0x0;}return!0x1;}['addElement'](_0x2e4ed3){return this['append'](_0x2e4ed3);}['resolveMarkers'](_0x97c642){for(let _0x25f591=_0x97c642;_0x25f591<this['parts']['length'];_0x25f591++){let _0x5f49d2=this['parts'][_0x25f591];if(!(_0x5f49d2 instanceof InlineDelimiter&&_0x5f49d2['type']['resolve']&&0x2&_0x5f49d2['side']))continue;let _0x1bf5b2,_0x57d2f8=_0x5f49d2['type']==_0x3ee7fa||_0x5f49d2['type']==_0x2453a6,_0x1d33ca=_0x5f49d2['to']-_0x5f49d2['from'],_0x34c747=_0x25f591-0x1;for(;_0x34c747>=_0x97c642;_0x34c747--){let _0x2dceda=this['parts'][_0x34c747];if(_0x2dceda instanceof InlineDelimiter&&0x1&_0x2dceda['side']&&_0x2dceda['type']==_0x5f49d2['type']&&!(_0x57d2f8&&(0x1&_0x5f49d2['side']||0x2&_0x2dceda['side'])&&(_0x2dceda['to']-_0x2dceda['from']+_0x1d33ca)%0x3==0x0&&((_0x2dceda['to']-_0x2dceda['from'])%0x3||_0x1d33ca%0x3))){_0x1bf5b2=_0x2dceda;break;}}if(!_0x1bf5b2)continue;let _0x3acd61=_0x5f49d2['type']['resolve'],_0x5cb918=[],_0x5ccb17=_0x1bf5b2['from'],_0x44886f=_0x5f49d2['to'];if(_0x57d2f8){let _0xd8b8f6=Math['min'](0x2,_0x1bf5b2['to']-_0x1bf5b2['from'],_0x1d33ca);_0x5ccb17=_0x1bf5b2['to']-_0xd8b8f6,_0x44886f=_0x5f49d2['from']+_0xd8b8f6,_0x3acd61=0x1==_0xd8b8f6?'Emphasis':'StrongEmphasis';}_0x1bf5b2['type']['mark']&&_0x5cb918['push'](this['elt'](_0x1bf5b2['type']['mark'],_0x5ccb17,_0x1bf5b2['to']));for(let _0x3c753a=_0x34c747+0x1;_0x3c753a<_0x25f591;_0x3c753a++)this['parts'][_0x3c753a]instanceof _0x48cc56&&_0x5cb918['push'](this['parts'][_0x3c753a]),this['parts'][_0x3c753a]=null;_0x5f49d2['type']['mark']&&_0x5cb918['push'](this['elt'](_0x5f49d2['type']['mark'],_0x5f49d2['from'],_0x44886f));let _0x3d0e95=this['elt'](_0x3acd61,_0x5ccb17,_0x44886f,_0x5cb918);this['parts'][_0x34c747]=_0x57d2f8&&_0x1bf5b2['from']!=_0x5ccb17?new InlineDelimiter(_0x1bf5b2['type'],_0x1bf5b2['from'],_0x5ccb17,_0x1bf5b2['side']):null,(this['parts'][_0x25f591]=_0x57d2f8&&_0x5f49d2['to']!=_0x44886f?new InlineDelimiter(_0x5f49d2['type'],_0x44886f,_0x5f49d2['to'],_0x5f49d2['side']):null)?this['parts']['splice'](_0x25f591,0x0,_0x3d0e95):this['parts'][_0x25f591]=_0x3d0e95;}let _0x77ad07=[];for(let _0x1583f=_0x97c642;_0x1583f<this['parts']['length'];_0x1583f++){let _0x216666=this['parts'][_0x1583f];_0x216666 instanceof _0x48cc56&&_0x77ad07['push'](_0x216666);}return _0x77ad07;}['findOpeningDelimiter'](_0xcda70){for(let _0x5dd863=this['parts']['length']-0x1;_0x5dd863>=0x0;_0x5dd863--){let _0x1940a9=this['parts'][_0x5dd863];if(_0x1940a9 instanceof InlineDelimiter&&_0x1940a9['type']==_0xcda70&&0x1&_0x1940a9['side'])return _0x5dd863;}return null;}['takeContent'](_0x37d3a3){let _0x551ae7=this['resolveMarkers'](_0x37d3a3);return this['parts']['length']=_0x37d3a3,_0x551ae7;}['getDelimiterAt'](_0xffd7a8){let _0x439f45=this['parts'][_0xffd7a8];return _0x439f45 instanceof InlineDelimiter?_0x439f45:null;}['skipSpace'](_0x3daf80){return _0x5ce5cb(this['text'],_0x3daf80-this['offset'])+this['offset'];}['elt'](_0x85937d,_0x2d72f2,_0x47256a,_0x376174){return'string'==typeof _0x85937d?_0x2df8a9(this['parser']['getNodeType'](_0x85937d),_0x2d72f2,_0x47256a,_0x376174):new TreeElement(_0x85937d,_0x2d72f2);}}function _0x35ed69(_0x3066e7,_0x2cfa34){if(!_0x2cfa34['length'])return _0x3066e7;if(!_0x3066e7['length'])return _0x2cfa34;let _0x29b561=_0x3066e7['slice'](),_0x5be808=0x0;for(let _0x1bf2e3 of _0x2cfa34){for(;_0x5be808<_0x29b561['length']&&_0x29b561[_0x5be808]['to']<_0x1bf2e3['to'];)_0x5be808++;if(_0x5be808<_0x29b561['length']&&_0x29b561[_0x5be808]['from']<_0x1bf2e3['from']){let _0x43d788=_0x29b561[_0x5be808];_0x43d788 instanceof _0x48cc56&&(_0x29b561[_0x5be808]=new _0x48cc56(_0x43d788['type'],_0x43d788['from'],_0x43d788['to'],_0x35ed69(_0x43d788['children'],[_0x1bf2e3])));}else _0x29b561['splice'](_0x5be808++,0x0,_0x1bf2e3);}return _0x29b561;}InlineContext['linkStart']=_0x252a5b,InlineContext['imageStart']=_0xd40611;const _0x46a8c4=[_0x47467d['CodeBlock'],_0x47467d['ListItem'],_0x47467d['OrderedList'],_0x47467d['BulletList']];class FragmentCursor{constructor(_0x5b8851,_0x553db1){this['fragments']=_0x5b8851,this['input']=_0x553db1,this['i']=0x0,this['fragment']=null,this['fragmentEnd']=-0x1,this['cursor']=null,_0x5b8851['length']&&(this['fragment']=_0x5b8851[this['i']++]);}['nextFragment'](){this['fragment']=this['i']<this['fragments']['length']?this['fragments'][this['i']++]:null,this['cursor']=null,this['fragmentEnd']=-0x1;}['moveTo'](_0xa78aff,_0x400bcf){for(;this['fragment']&&this['fragment']['to']<=_0xa78aff;)this['nextFragment']();if(!this['fragment']||this['fragment']['from']>(_0xa78aff?_0xa78aff-0x1:0x0))return!0x1;if(this['fragmentEnd']<0x0){let _0x1dc008=this['fragment']['to'];for(;_0x1dc008>0x0&&'\x0a'!=this['input']['read'](_0x1dc008-0x1,_0x1dc008);)_0x1dc008--;this['fragmentEnd']=_0x1dc008?_0x1dc008-0x1:0x0;}let _0x2227ad=this['cursor'];_0x2227ad||(_0x2227ad=this['cursor']=this['fragment']['tree']['cursor'](),_0x2227ad['firstChild']());let _0x2c8121=_0xa78aff+this['fragment']['offset'];for(;_0x2227ad['to']<=_0x2c8121;)if(!_0x2227ad['parent']())return!0x1;for(;;){if(_0x2227ad['from']>=_0x2c8121)return this['fragment']['from']<=_0x400bcf;if(!_0x2227ad['childAfter'](_0x2c8121))return!0x1;}}['matches'](_0x1a7159){let _0x32f4dd=this['cursor']['tree'];return _0x32f4dd&&_0x32f4dd['prop'](_0x17497f['contextHash'])==_0x1a7159;}['takeNodes'](_0x46c220){let _0x521a5c=this['cursor'],_0x56449f=this['fragment']['offset'],_0x4c79a4=this['fragmentEnd']-(this['fragment']['openEnd']?0x1:0x0),_0x5a8521=_0x46c220['absoluteLineStart'],_0x28eb53=_0x5a8521,_0x4ca311=_0x46c220['block']['children']['length'],_0x3c73c5=_0x28eb53,_0x33ef5d=_0x4ca311;for(;;){if(_0x521a5c['to']-_0x56449f>_0x4c79a4){if(_0x521a5c['type']['isAnonymous']&&_0x521a5c['firstChild']())continue;break;}let _0x2e6214=_0xccaff4(_0x521a5c['from']-_0x56449f,_0x46c220['ranges']);if(_0x521a5c['to']-_0x56449f<=_0x46c220['ranges'][_0x46c220['rangeI']]['to'])_0x46c220['addNode'](_0x521a5c['tree'],_0x2e6214);else{let _0x52b8c9=new _0x3af464(_0x46c220['parser']['nodeSet']['types'][_0x47467d['Paragraph']],[],[],0x0,_0x46c220['block']['hashProp']);_0x46c220['reusePlaceholders']['set'](_0x52b8c9,_0x521a5c['tree']),_0x46c220['addNode'](_0x52b8c9,_0x2e6214);}if(_0x521a5c['type']['is']('Block')&&(_0x46a8c4['indexOf'](_0x521a5c['type']['id'])<0x0?(_0x28eb53=_0x521a5c['to']-_0x56449f,_0x4ca311=_0x46c220['block']['children']['length']):(_0x28eb53=_0x3c73c5,_0x4ca311=_0x33ef5d,_0x3c73c5=_0x521a5c['to']-_0x56449f,_0x33ef5d=_0x46c220['block']['children']['length'])),!_0x521a5c['nextSibling']())break;}for(;_0x46c220['block']['children']['length']>_0x4ca311;)_0x46c220['block']['children']['pop'](),_0x46c220['block']['positions']['pop']();return _0x28eb53-_0x5a8521;}}function _0xccaff4(_0x401ddb,_0x55b58b){let _0x3c8e1c=_0x401ddb;for(let _0x58c036=0x1;_0x58c036<_0x55b58b['length'];_0x58c036++){let _0x2d1721=_0x55b58b[_0x58c036-0x1]['to'],_0x3a6040=_0x55b58b[_0x58c036]['from'];_0x2d1721<_0x401ddb&&(_0x3c8e1c-=_0x3a6040-_0x2d1721);}return _0x3c8e1c;}const _0x5badda=_0x39699e({'Blockquote/...':_0x1abe46['quote'],'HorizontalRule':_0x1abe46['contentSeparator'],'ATXHeading1/...\x20SetextHeading1/...':_0x1abe46['heading1'],'ATXHeading2/...\x20SetextHeading2/...':_0x1abe46['heading2'],'ATXHeading3/...':_0x1abe46['heading3'],'ATXHeading4/...':_0x1abe46['heading4'],'ATXHeading5/...':_0x1abe46['heading5'],'ATXHeading6/...':_0x1abe46['heading6'],'Comment\x20CommentBlock':_0x1abe46['comment'],'Escape':_0x1abe46['escape'],'Entity':_0x1abe46['character'],'Emphasis/...':_0x1abe46['emphasis'],'StrongEmphasis/...':_0x1abe46['strong'],'Link/...\x20Image/...':_0x1abe46['link'],'OrderedList/...\x20BulletList/...':_0x1abe46['list'],'BlockQuote/...':_0x1abe46['quote'],'InlineCode\x20CodeText':_0x1abe46['monospace'],'URL\x20Autolink':_0x1abe46['url'],'HeaderMark\x20HardBreak\x20QuoteMark\x20ListMark\x20LinkMark\x20EmphasisMark\x20CodeMark':_0x1abe46['processingInstruction'],'CodeInfo\x20LinkLabel':_0x1abe46['labelName'],'LinkTitle':_0x1abe46['string'],'Paragraph':_0x1abe46['content']}),_0x131d6d=new _0x2337ec(new NodeSet(_0xc15c4b)['extend'](_0x5badda),Object['keys'](_0x2dc710)['map'](_0x3caabe=>_0x2dc710[_0x3caabe]),Object['keys'](_0x2dc710)['map'](_0x4da051=>_0x2911e2[_0x4da051]),Object['keys'](_0x2dc710),_0x59eaef,_0x54d7ea,Object['keys'](_0x5b1743)['map'](_0x3c134d=>_0x5b1743[_0x3c134d]),Object['keys'](_0x5b1743),[]);function _0x443858(_0x1e670b,_0x279232,_0x130c64){let _0x24f920=[];for(let _0x46ecde=_0x1e670b['firstChild'],_0x1bca50=_0x279232;;_0x46ecde=_0x46ecde['nextSibling']){let _0x2293b4=_0x46ecde?_0x46ecde['from']:_0x130c64;if(_0x2293b4>_0x1bca50&&_0x24f920['push']({'from':_0x1bca50,'to':_0x2293b4}),!_0x46ecde)break;_0x1bca50=_0x46ecde['to'];}return _0x24f920;}const _0x56b18e={'resolve':'Strikethrough','mark':'StrikethroughMark'},_0x31fb24={'defineNodes':[{'name':'Strikethrough','style':{'Strikethrough/...':_0x1abe46['strikethrough']}},{'name':'StrikethroughMark','style':_0x1abe46['processingInstruction']}],'parseInline':[{'name':'Strikethrough','parse'(_0x266d41,_0x2bacdc,_0x2735e2){if(0x7e!=_0x2bacdc||0x7e!=_0x266d41['char'](_0x2735e2+0x1)||0x7e==_0x266d41['char'](_0x2735e2+0x2))return-0x1;let _0xaece17=_0x266d41['slice'](_0x2735e2-0x1,_0x2735e2),_0x3f0434=_0x266d41['slice'](_0x2735e2+0x2,_0x2735e2+0x3),_0x47de2c=/\s|^$/['test'](_0xaece17),_0x68d0a7=/\s|^$/['test'](_0x3f0434),_0x437bdb=_0x5ddc10['test'](_0xaece17),_0x508914=_0x5ddc10['test'](_0x3f0434);return _0x266d41['addDelimiter'](_0x56b18e,_0x2735e2,_0x2735e2+0x2,!_0x68d0a7&&(!_0x508914||_0x47de2c||_0x437bdb),!_0x47de2c&&(!_0x437bdb||_0x68d0a7||_0x508914));},'after':'Emphasis'}]};function _0x47528d(_0x528741,_0x4b71e6,_0x313f42=0x0,_0x5c9950,_0x3c2460=0x0){let _0x3cf3a7=0x0,_0x27fe25=!0x0,_0x3e68ec=-0x1,_0x45b2f6=-0x1,_0x52337f=!0x1,_0x2b3e7e=()=>{_0x5c9950['push'](_0x528741['elt']('TableCell',_0x3c2460+_0x3e68ec,_0x3c2460+_0x45b2f6,_0x528741['parser']['parseInline'](_0x4b71e6['slice'](_0x3e68ec,_0x45b2f6),_0x3c2460+_0x3e68ec)));};for(let _0x23853b=_0x313f42;_0x23853b<_0x4b71e6['length'];_0x23853b++){let _0x541455=_0x4b71e6['charCodeAt'](_0x23853b);0x7c!=_0x541455||_0x52337f?(_0x52337f||0x20!=_0x541455&&0x9!=_0x541455)&&(_0x3e68ec<0x0&&(_0x3e68ec=_0x23853b),_0x45b2f6=_0x23853b+0x1):((!_0x27fe25||_0x3e68ec>-0x1)&&_0x3cf3a7++,_0x27fe25=!0x1,_0x5c9950&&(_0x3e68ec>-0x1&&_0x2b3e7e(),_0x5c9950['push'](_0x528741['elt']('TableDelimiter',_0x23853b+_0x3c2460,_0x23853b+_0x3c2460+0x1))),_0x3e68ec=_0x45b2f6=-0x1),_0x52337f=!_0x52337f&&0x5c==_0x541455;}return _0x3e68ec>-0x1&&(_0x3cf3a7++,_0x5c9950&&_0x2b3e7e()),_0x3cf3a7;}function _0x37bc85(_0x902cfc,_0x5d3baf){for(let _0x93c7ed=_0x5d3baf;_0x93c7ed<_0x902cfc['length'];_0x93c7ed++){let _0xc8678d=_0x902cfc['charCodeAt'](_0x93c7ed);if(0x7c==_0xc8678d)return!0x0;0x5c==_0xc8678d&&_0x93c7ed++;}return!0x1;}const _0xd4f3e7=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class _0x3009f4{constructor(){this['rows']=null;}['nextLine'](_0x42df7e,_0x5a9e99,_0x224ccb){if(null==this['rows']){let _0x3e3d0d;if(this['rows']=!0x1,(0x2d==_0x5a9e99['next']||0x3a==_0x5a9e99['next']||0x7c==_0x5a9e99['next'])&&_0xd4f3e7['test'](_0x3e3d0d=_0x5a9e99['text']['slice'](_0x5a9e99['pos']))){let _0x5b29b8=[];_0x47528d(_0x42df7e,_0x224ccb['content'],0x0,_0x5b29b8,_0x224ccb['start'])==_0x47528d(_0x42df7e,_0x3e3d0d,_0x5a9e99['pos'])&&(this['rows']=[_0x42df7e['elt']('TableHeader',_0x224ccb['start'],_0x224ccb['start']+_0x224ccb['content']['length'],_0x5b29b8),_0x42df7e['elt']('TableDelimiter',_0x42df7e['lineStart']+_0x5a9e99['pos'],_0x42df7e['lineStart']+_0x5a9e99['text']['length'])]);}}else{if(this['rows']){let _0x49765f=[];_0x47528d(_0x42df7e,_0x5a9e99['text'],_0x5a9e99['pos'],_0x49765f,_0x42df7e['lineStart']),this['rows']['push'](_0x42df7e['elt']('TableRow',_0x42df7e['lineStart']+_0x5a9e99['pos'],_0x42df7e['lineStart']+_0x5a9e99['text']['length'],_0x49765f));}}return!0x1;}['finish'](_0x16e37c,_0xdd49c7){return!!this['rows']&&(_0x16e37c['addLeafElement'](_0xdd49c7,_0x16e37c['elt']('Table',_0xdd49c7['start'],_0xdd49c7['start']+_0xdd49c7['content']['length'],this['rows'])),!0x0);}}const tk={'defineNodes':[{'name':'Table','block':!0x0},{'name':'TableHeader','style':{'TableHeader/...':_0x1abe46['heading']}},'TableRow',{'name':'TableCell','style':_0x1abe46['content']},{'name':'TableDelimiter','style':_0x1abe46['processingInstruction']}],'parseBlock':[{'name':'Table','leaf':(_0x14ea4f,_0x57580f)=>_0x37bc85(_0x57580f['content'],0x0)?new _0x3009f4():null,'endLeaf'(_0x1154f4,_0x5622da,_0x541e88){if(_0x541e88['parsers']['some'](_0x42fdb5=>_0x42fdb5 instanceof _0x3009f4)||!_0x37bc85(_0x5622da['text'],_0x5622da['basePos']))return!0x1;let _0x44b374=_0x1154f4['peekLine']();return _0xd4f3e7['test'](_0x44b374)&&_0x47528d(_0x1154f4,_0x5622da['text'],_0x5622da['basePos'])==_0x47528d(_0x1154f4,_0x44b374,_0x5622da['basePos']);},'before':'SetextHeading'}]};class _0x54400d{['nextLine'](){return!0x1;}['finish'](_0x34e4b7,_0x4a203f){return _0x34e4b7['addLeafElement'](_0x4a203f,_0x34e4b7['elt']('Task',_0x4a203f['start'],_0x4a203f['start']+_0x4a203f['content']['length'],[_0x34e4b7['elt']('TaskMarker',_0x4a203f['start'],_0x4a203f['start']+0x3),..._0x34e4b7['parser']['parseInline'](_0x4a203f['content']['slice'](0x3),_0x4a203f['start']+0x3)])),!0x0;}}const _0x78230f={'defineNodes':[{'name':'Task','block':!0x0,'style':_0x1abe46['list']},{'name':'TaskMarker','style':_0x1abe46['atom']}],'parseBlock':[{'name':'TaskList','leaf':(_0x25d64c,_0x23d9a8)=>/^\[[ xX]\][ \t]/['test'](_0x23d9a8['content'])&&'ListItem'==_0x25d64c['parentType']()['name']?new _0x54400d():null,'after':'SetextHeading'}]},_0x188018=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,_0x57f386=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,_0x5bfa1e=/[\w-]+\.[\w-]+($|\/)/,_0x18b81e=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,_0xb3b313=/\/[a-zA-Z\d@.]+/gy;function _0x2e258d(_0x1b20a2,_0x277f60,_0x4670f8,_0x4e9cdc){let _0x581866=0x0;for(let _0x3b06b8=_0x277f60;_0x3b06b8<_0x4670f8;_0x3b06b8++)_0x1b20a2[_0x3b06b8]==_0x4e9cdc&&_0x581866++;return _0x581866;}function _0x49bdcf(_0x57323d,_0x4fcbcd){_0x18b81e['lastIndex']=_0x4fcbcd;let _0x1a6223=_0x18b81e['exec'](_0x57323d);if(!_0x1a6223)return-0x1;let _0x4a29a4=_0x1a6223[0x0][_0x1a6223[0x0]['length']-0x1];return'_'==_0x4a29a4||'-'==_0x4a29a4?-0x1:_0x4fcbcd+_0x1a6223[0x0]['length']-('.'==_0x4a29a4?0x1:0x0);}const _0x429913=[tk,_0x78230f,_0x31fb24,{'parseInline':[{'name':'Autolink','parse'(_0x4ca275,_0x19260c,_0x203df7){let _0x5e38f7=_0x203df7-_0x4ca275['offset'];if(_0x5e38f7&&/\w/['test'](_0x4ca275['text'][_0x5e38f7-0x1]))return-0x1;_0x188018['lastIndex']=_0x5e38f7;let _0x3a2bea=_0x188018['exec'](_0x4ca275['text']),_0x5cfaff=-0x1;if(!_0x3a2bea)return-0x1;if(_0x3a2bea[0x1]||_0x3a2bea[0x2])(_0x5cfaff=function(_0xf44fde,_0x4fd335){_0x57f386['lastIndex']=_0x4fd335;let _0x740901=_0x57f386['exec'](_0xf44fde);if(!_0x740901||_0x5bfa1e['exec'](_0x740901[0x0])[0x0]['indexOf']('_')>-0x1)return-0x1;let _0x11aa9b=_0x4fd335+_0x740901[0x0]['length'];for(;;){let _0x43fb8b,_0x3fbfc8=_0xf44fde[_0x11aa9b-0x1];if(/[?!.,:*_~]/['test'](_0x3fbfc8)||')'==_0x3fbfc8&&_0x2e258d(_0xf44fde,_0x4fd335,_0x11aa9b,')')>_0x2e258d(_0xf44fde,_0x4fd335,_0x11aa9b,'('))_0x11aa9b--;else{if(';'!=_0x3fbfc8||!(_0x43fb8b=/&(?:#\d+|#x[a-f\d]+|\w+);$/['exec'](_0xf44fde['slice'](_0x4fd335,_0x11aa9b))))break;_0x11aa9b=_0x4fd335+_0x43fb8b['index'];}}return _0x11aa9b;}(_0x4ca275['text'],_0x5e38f7+_0x3a2bea[0x0]['length']),_0x5cfaff>-0x1&&_0x4ca275['hasOpenLink'])&&(_0x5cfaff=_0x5e38f7+/([^\[\]]|\[[^\]]*\])*/['exec'](_0x4ca275['text']['slice'](_0x5e38f7,_0x5cfaff))[0x0]['length']);else _0x3a2bea[0x3]?_0x5cfaff=_0x49bdcf(_0x4ca275['text'],_0x5e38f7):(_0x5cfaff=_0x49bdcf(_0x4ca275['text'],_0x5e38f7+_0x3a2bea[0x0]['length']),_0x5cfaff>-0x1&&'xmpp:'==_0x3a2bea[0x0]&&(_0xb3b313['lastIndex']=_0x5cfaff,_0x3a2bea=_0xb3b313['exec'](_0x4ca275['text']),_0x3a2bea&&(_0x5cfaff=_0x3a2bea['index']+_0x3a2bea[0x0]['length'])));return _0x5cfaff<0x0?-0x1:(_0x4ca275['addElement'](_0x4ca275['elt']('URL',_0x203df7,_0x5cfaff+_0x4ca275['offset'])),_0x5cfaff+_0x4ca275['offset']);}}]}];function _0xb0b269(_0x2cf328,_0x1130c5,_0x5cd9ce){return(_0x2dcaad,_0x2f4e05,_0x2cb7b6)=>{if(_0x2f4e05!=_0x2cf328||_0x2dcaad['char'](_0x2cb7b6+0x1)==_0x2cf328)return-0x1;let _0x400187=[_0x2dcaad['elt'](_0x5cd9ce,_0x2cb7b6,_0x2cb7b6+0x1)];for(let _0xfdbebe=_0x2cb7b6+0x1;_0xfdbebe<_0x2dcaad['end'];_0xfdbebe++){let _0xeb82b7=_0x2dcaad['char'](_0xfdbebe);if(_0xeb82b7==_0x2cf328)return _0x2dcaad['addElement'](_0x2dcaad['elt'](_0x1130c5,_0x2cb7b6,_0xfdbebe+0x1,_0x400187['concat'](_0x2dcaad['elt'](_0x5cd9ce,_0xfdbebe,_0xfdbebe+0x1))));if(0x5c==_0xeb82b7&&_0x400187['push'](_0x2dcaad['elt']('Escape',_0xfdbebe,0x2+_0xfdbebe++)),tC(_0xeb82b7))break;}return-0x1;};}const _0x42bde7={'defineNodes':[{'name':'Superscript','style':_0x1abe46['special'](_0x1abe46['content'])},{'name':'SuperscriptMark','style':_0x1abe46['processingInstruction']}],'parseInline':[{'name':'Superscript','parse':_0xb0b269(0x5e,'Superscript','SuperscriptMark')}]},_0x4ef7d9={'defineNodes':[{'name':'Subscript','style':_0x1abe46['special'](_0x1abe46['content'])},{'name':'SubscriptMark','style':_0x1abe46['processingInstruction']}],'parseInline':[{'name':'Subscript','parse':_0xb0b269(0x7e,'Subscript','SubscriptMark')}]},_0x492ba4={'defineNodes':[{'name':'Emoji','style':_0x1abe46['character']}],'parseInline':[{'name':'Emoji','parse'(_0x5232e1,_0x4c918d,_0x376906){let _0x353d93;return 0x3a==_0x4c918d&&(_0x353d93=/^[a-zA-Z_0-9]+:/['exec'](_0x5232e1['slice'](_0x376906+0x1,_0x5232e1['end'])))?_0x5232e1['addElement'](_0x5232e1['elt']('Emoji',_0x376906,_0x376906+0x1+_0x353d93[0x0]['length'])):-0x1;}}]},_0x20f425=_0x5c5e1b({'commentTokens':{'block':{'open':'<!--','close':'-->'}}}),_0x579b58=new _0x17497f(),_0x584215=_0x131d6d['configure']({'props':[_0x28a548['add'](_0x3d1b33=>!_0x3d1b33['is']('Block')||_0x3d1b33['is']('Document')||null!=_0x5789b5(_0x3d1b33)||function(_0x562530){return'OrderedList'==_0x562530['name']||'BulletList'==_0x562530['name'];}(_0x3d1b33)?void 0x0:(_0x415875,_0x4a86a2)=>({'from':_0x4a86a2['doc']['lineAt'](_0x415875['from'])['to'],'to':_0x415875['to']})),_0x579b58['add'](_0x5789b5),_0x597aa5['add']({'Document':()=>null}),_0x43d9fa['add']({'Document':_0x20f425})]});function _0x5789b5(_0x8f1a32){let _0x1286ab=/^(?:ATX|Setext)Heading(\d)$/['exec'](_0x8f1a32['name']);return _0x1286ab?+_0x1286ab[0x1]:void 0x0;}function _0x3ddeb7(_0x216275,_0x1d10b7){let _0x453ce9=_0x216275;for(;;){let _0x2081a6,_0x4a7ad7=_0x453ce9['nextSibling'];if(!_0x4a7ad7||null!=(_0x2081a6=_0x5789b5(_0x4a7ad7['type']))&&_0x2081a6<=_0x1d10b7)break;_0x453ce9=_0x4a7ad7;}return _0x453ce9['to'];}const _0x2314cf=_0x34b0d7['of']((_0x36a03c,_0x4b22e0,_0x2c1646)=>{for(let _0x3de908=_0x46e40e(_0x36a03c)['resolveInner'](_0x2c1646,-0x1);_0x3de908&&!(_0x3de908['from']<_0x4b22e0);_0x3de908=_0x3de908['parent']){let _0x12f507=_0x3de908['type']['prop'](_0x579b58);if(null==_0x12f507)continue;let _0x29cd54=_0x3ddeb7(_0x3de908,_0x12f507);if(_0x29cd54>_0x2c1646)return{'from':_0x2c1646,'to':_0x29cd54};}return null;});function _0x4c5ac2(_0x446896){return new _0x235fdc(_0x20f425,_0x446896,[_0x2314cf],'markdown');}const _0x44b6e3=_0x4c5ac2(_0x584215),_0x3c7804=_0x4c5ac2(_0x584215['configure']([_0x429913,_0x4ef7d9,_0x42bde7,_0x492ba4,{'props':[_0x28a548['add']({'Table':(_0x27b844,_0x3b1d29)=>({'from':_0x3b1d29['doc']['lineAt'](_0x27b844['from'])['to'],'to':_0x27b844['to']})})]}]));class Context{constructor(_0x11754b,_0x3aac0d,_0x3c95c0,_0x32156f,_0x1db9a9,_0x5c9722,_0x415935){this['node']=_0x11754b,this['from']=_0x3aac0d,this['to']=_0x3c95c0,this['spaceBefore']=_0x32156f,this['spaceAfter']=_0x1db9a9,this['type']=_0x5c9722,this['item']=_0x415935;}['blank'](_0xf7f8fe,_0x376d27=!0x0){let _0x300d49=this['spaceBefore']+('Blockquote'==this['node']['name']?'>':'');if(null!=_0xf7f8fe){for(;_0x300d49['length']<_0xf7f8fe;)_0x300d49+='\x20';return _0x300d49;}for(let _0x4434cd=this['to']-this['from']-_0x300d49['length']-this['spaceAfter']['length'];_0x4434cd>0x0;_0x4434cd--)_0x300d49+='\x20';return _0x300d49+(_0x376d27?this['spaceAfter']:'');}['marker'](_0x2059cf,_0x182f16){let _0x59470d='OrderedList'==this['node']['name']?String(+_0x2ad17a(this['item'],_0x2059cf)[0x2]+_0x182f16):'';return this['spaceBefore']+_0x59470d+this['type']+this['spaceAfter'];}}function _0x15f25b(_0x3395c2,_0x15caaa){let _0x1b8465=[],_0x1c3a97=[];for(let _0x29c47c=_0x3395c2;_0x29c47c;_0x29c47c=_0x29c47c['parent']){if('FencedCode'==_0x29c47c['name'])return _0x1c3a97;'ListItem'!=_0x29c47c['name']&&'Blockquote'!=_0x29c47c['name']||_0x1b8465['push'](_0x29c47c);}for(let _0x2fa8ec=_0x1b8465['length']-0x1;_0x2fa8ec>=0x0;_0x2fa8ec--){let _0x49f6be,_0x21e33b=_0x1b8465[_0x2fa8ec],_0x11fd80=_0x15caaa['lineAt'](_0x21e33b['from']),_0x5c5264=_0x21e33b['from']-_0x11fd80['from'];if('Blockquote'==_0x21e33b['name']&&(_0x49f6be=/^ *>( ?)/['exec'](_0x11fd80['text']['slice'](_0x5c5264))))_0x1c3a97['push'](new Context(_0x21e33b,_0x5c5264,_0x5c5264+_0x49f6be[0x0]['length'],'',_0x49f6be[0x1],'>',null));else{if('ListItem'==_0x21e33b['name']&&'OrderedList'==_0x21e33b['parent']['name']&&(_0x49f6be=/^( *)\d+([.)])( *)/['exec'](_0x11fd80['text']['slice'](_0x5c5264)))){let _0x2e2dd5=_0x49f6be[0x3],_0x41cfd0=_0x49f6be[0x0]['length'];_0x2e2dd5['length']>=0x4&&(_0x2e2dd5=_0x2e2dd5['slice'](0x0,_0x2e2dd5['length']-0x4),_0x41cfd0-=0x4),_0x1c3a97['push'](new Context(_0x21e33b['parent'],_0x5c5264,_0x5c5264+_0x41cfd0,_0x49f6be[0x1],_0x2e2dd5,_0x49f6be[0x2],_0x21e33b));}else{if('ListItem'==_0x21e33b['name']&&'BulletList'==_0x21e33b['parent']['name']&&(_0x49f6be=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/['exec'](_0x11fd80['text']['slice'](_0x5c5264)))){let _0x25910b=_0x49f6be[0x4],_0x27bc13=_0x49f6be[0x0]['length'];_0x25910b['length']>0x4&&(_0x25910b=_0x25910b['slice'](0x0,_0x25910b['length']-0x4),_0x27bc13-=0x4);let _0x23bf6f=_0x49f6be[0x2];_0x49f6be[0x3]&&(_0x23bf6f+=_0x49f6be[0x3]['replace'](/[xX]/,'\x20')),_0x1c3a97['push'](new Context(_0x21e33b['parent'],_0x5c5264,_0x5c5264+_0x27bc13,_0x49f6be[0x1],_0x25910b,_0x23bf6f,_0x21e33b));}}}}return _0x1c3a97;}function _0x2ad17a(_0x205c6e,_0x2f5866){return/^(\s*)(\d+)(?=[.)])/['exec'](_0x2f5866['sliceString'](_0x205c6e['from'],_0x205c6e['from']+0xa));}function _0x2967dc(_0x211f7a,_0x8e6b4,_0x4ea4ea,_0x2bcddd=0x0){for(let _0xb55621=-0x1,_0x35344a=_0x211f7a;;){if('ListItem'==_0x35344a['name']){let _0x6eda98=_0x2ad17a(_0x35344a,_0x8e6b4),_0x3c34cc=+_0x6eda98[0x2];if(_0xb55621>=0x0){if(_0x3c34cc!=_0xb55621+0x1)return;_0x4ea4ea['push']({'from':_0x35344a['from']+_0x6eda98[0x1]['length'],'to':_0x35344a['from']+_0x6eda98[0x0]['length'],'insert':String(_0xb55621+0x2+_0x2bcddd)});}_0xb55621=_0x3c34cc;}let _0x2ee3ee=_0x35344a['nextSibling'];if(!_0x2ee3ee)break;_0x35344a=_0x2ee3ee;}}function _0x5e39da(_0x2b7094,_0x690655){let _0x371fe7=/^[ \t]*/['exec'](_0x2b7094)[0x0]['length'];if(!_0x371fe7||'\x09'!=_0x690655['facet'](_0x2d023c))return _0x2b7094;let _0x580a92='';for(let _0x3ae7af=_0x43a9eb(_0x2b7094,0x4,_0x371fe7);_0x3ae7af>0x0;)_0x3ae7af>=0x4?(_0x580a92+='\x09',_0x3ae7af-=0x4):(_0x580a92+='\x20',_0x3ae7af--);return _0x580a92+_0x2b7094['slice'](_0x371fe7);}function _0x3bebbd(_0xdf5a66){return'QuoteMark'==_0xdf5a66['name']||'ListMark'==_0xdf5a66['name'];}function _0x16a7bf(_0x2c673c,_0x1c7be9,_0x2f7303){let _0x52a25e='';for(let _0x1251f6=0x0,_0x4ac681=_0x2c673c['length']-0x2;_0x1251f6<=_0x4ac681;_0x1251f6++)_0x52a25e+=_0x2c673c[_0x1251f6]['blank'](_0x1251f6<_0x4ac681?_0x43a9eb(_0x2f7303['text'],0x4,Math['min'](_0x2f7303['text']['length'],_0x2c673c[_0x1251f6+0x1]['from']))-_0x52a25e['length']:null,_0x1251f6<_0x4ac681);return _0x5e39da(_0x52a25e,_0x1c7be9);}const _0x40ea64=[{'key':'Enter','run':({state:_0x13b5df,dispatch:_0x308d8a})=>{let _0x31dc7f=_0x46e40e(_0x13b5df),{doc:_0x3880a7}=_0x13b5df,_0x2eecb4=null,_0x1fd823=_0x13b5df['changeByRange'](_0x5ef0b3=>{if(!_0x5ef0b3['empty']||!_0x3c7804['isActiveAt'](_0x13b5df,_0x5ef0b3['from'],0x0))return _0x2eecb4={'range':_0x5ef0b3};let _0x3f8cf1=_0x5ef0b3['from'],_0xcbd23=_0x3880a7['lineAt'](_0x3f8cf1),_0x4839e7=_0x15f25b(_0x31dc7f['resolveInner'](_0x3f8cf1,-0x1),_0x3880a7);for(;_0x4839e7['length']&&_0x4839e7[_0x4839e7['length']-0x1]['from']>_0x3f8cf1-_0xcbd23['from'];)_0x4839e7['pop']();if(!_0x4839e7['length'])return _0x2eecb4={'range':_0x5ef0b3};let _0x5d9738=_0x4839e7[_0x4839e7['length']-0x1];if(_0x5d9738['to']-_0x5d9738['spaceAfter']['length']>_0x3f8cf1-_0xcbd23['from'])return _0x2eecb4={'range':_0x5ef0b3};let _0x37f2d5=_0x3f8cf1>=_0x5d9738['to']-_0x5d9738['spaceAfter']['length']&&!/\S/['test'](_0xcbd23['text']['slice'](_0x5d9738['to']));if(_0x5d9738['item']&&_0x37f2d5){let _0x4ff896=_0x5d9738['node']['firstChild'],_0x2acc01=_0x5d9738['node']['getChild']('ListItem','ListItem');if(_0x4ff896['to']>=_0x3f8cf1||_0x2acc01&&_0x2acc01['to']<_0x3f8cf1||_0xcbd23['from']>0x0&&!/[^\s>]/['test'](_0x3880a7['lineAt'](_0xcbd23['from']-0x1)['text'])){let _0x1ac950,_0x3f18b3=_0x4839e7['length']>0x1?_0x4839e7[_0x4839e7['length']-0x2]:null,_0x8ff511='';_0x3f18b3&&_0x3f18b3['item']?(_0x1ac950=_0xcbd23['from']+_0x3f18b3['from'],_0x8ff511=_0x3f18b3['marker'](_0x3880a7,0x1)):_0x1ac950=_0xcbd23['from']+(_0x3f18b3?_0x3f18b3['to']:0x0);let _0x2d917f=[{'from':_0x1ac950,'to':_0x3f8cf1,'insert':_0x8ff511}];return'OrderedList'==_0x5d9738['node']['name']&&_0x2967dc(_0x5d9738['item'],_0x3880a7,_0x2d917f,-0x2),_0x3f18b3&&'OrderedList'==_0x3f18b3['node']['name']&&_0x2967dc(_0x3f18b3['item'],_0x3880a7,_0x2d917f),{'range':EditorSelection['cursor'](_0x1ac950+_0x8ff511['length']),'changes':_0x2d917f};}{let _0x10cd56=_0x16a7bf(_0x4839e7,_0x13b5df,_0xcbd23);return{'range':EditorSelection['cursor'](_0x3f8cf1+_0x10cd56['length']+0x1),'changes':{'from':_0xcbd23['from'],'insert':_0x10cd56+_0x13b5df['lineBreak']}};}}if('Blockquote'==_0x5d9738['node']['name']&&_0x37f2d5&&_0xcbd23['from']){let _0xed4dc1=_0x3880a7['lineAt'](_0xcbd23['from']-0x1),_0x3849f1=/>\s*$/['exec'](_0xed4dc1['text']);if(_0x3849f1&&_0x3849f1['index']==_0x5d9738['from']){let _0x2d04bd=_0x13b5df['changes']([{'from':_0xed4dc1['from']+_0x3849f1['index'],'to':_0xed4dc1['to']},{'from':_0xcbd23['from']+_0x5d9738['from'],'to':_0xcbd23['to']}]);return{'range':_0x5ef0b3['map'](_0x2d04bd),'changes':_0x2d04bd};}}let _0x4d7be8=[];'OrderedList'==_0x5d9738['node']['name']&&_0x2967dc(_0x5d9738['item'],_0x3880a7,_0x4d7be8);let _0x16cdde=_0x5d9738['item']&&_0x5d9738['item']['from']<_0xcbd23['from'],_0x2167c6='';if(!_0x16cdde||/^[\s\d.)\-+*>]*/['exec'](_0xcbd23['text'])[0x0]['length']>=_0x5d9738['to']){for(let _0x3960f6=0x0,_0x4787c9=_0x4839e7['length']-0x1;_0x3960f6<=_0x4787c9;_0x3960f6++)_0x2167c6+=_0x3960f6!=_0x4787c9||_0x16cdde?_0x4839e7[_0x3960f6]['blank'](_0x3960f6<_0x4787c9?_0x43a9eb(_0xcbd23['text'],0x4,_0x4839e7[_0x3960f6+0x1]['from'])-_0x2167c6['length']:null):_0x4839e7[_0x3960f6]['marker'](_0x3880a7,0x1);}let _0x29268f=_0x3f8cf1;for(;_0x29268f>_0xcbd23['from']&&/\s/['test'](_0xcbd23['text']['charAt'](_0x29268f-_0xcbd23['from']-0x1));)_0x29268f--;return _0x2167c6=_0x5e39da(_0x2167c6,_0x13b5df),function(_0x246676,_0x306ed6){if('OrderedList'!=_0x246676['name']&&'BulletList'!=_0x246676['name'])return!0x1;let _0x263575=_0x246676['firstChild'],_0x3c9a5b=_0x246676['getChild']('ListItem','ListItem');if(!_0x3c9a5b)return!0x1;let _0x152e9d=_0x306ed6['lineAt'](_0x263575['to']),_0x7cc18f=_0x306ed6['lineAt'](_0x3c9a5b['from']),_0x5d6552=/^[\s>]*$/['test'](_0x152e9d['text']);return _0x152e9d['number']+(_0x5d6552?0x0:0x1)<_0x7cc18f['number'];}(_0x5d9738['node'],_0x13b5df['doc'])&&(_0x2167c6=_0x16a7bf(_0x4839e7,_0x13b5df,_0xcbd23)+_0x13b5df['lineBreak']+_0x2167c6),_0x4d7be8['push']({'from':_0x29268f,'to':_0x3f8cf1,'insert':_0x13b5df['lineBreak']+_0x2167c6}),{'range':EditorSelection['cursor'](_0x29268f+_0x2167c6['length']+0x1),'changes':_0x4d7be8};});return!_0x2eecb4&&(_0x308d8a(_0x13b5df['update'](_0x1fd823,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0);}},{'key':'Backspace','run':({state:_0x3186cd,dispatch:_0x212970})=>{let _0x499469=_0x46e40e(_0x3186cd),_0x53ac73=null,_0x19c42a=_0x3186cd['changeByRange'](_0x579152=>{let _0x482eac=_0x579152['from'],{doc:_0x502167}=_0x3186cd;if(_0x579152['empty']&&_0x3c7804['isActiveAt'](_0x3186cd,_0x579152['from'])){let _0x12290a=_0x502167['lineAt'](_0x482eac),_0x418fda=_0x15f25b(function(_0x366b23,_0x2efe40){let _0x479edf=_0x366b23['resolveInner'](_0x2efe40,-0x1),_0x3d7edb=_0x2efe40;_0x3bebbd(_0x479edf)&&(_0x3d7edb=_0x479edf['from'],_0x479edf=_0x479edf['parent']);for(let _0x3870a2;_0x3870a2=_0x479edf['childBefore'](_0x3d7edb);)if(_0x3bebbd(_0x3870a2))_0x3d7edb=_0x3870a2['from'];else{if('OrderedList'!=_0x3870a2['name']&&'BulletList'!=_0x3870a2['name'])break;_0x479edf=_0x3870a2['lastChild'],_0x3d7edb=_0x479edf['to'];}return _0x479edf;}(_0x499469,_0x482eac),_0x502167);if(_0x418fda['length']){let _0xa23f91=_0x418fda[_0x418fda['length']-0x1],_0x1194b4=_0xa23f91['to']-_0xa23f91['spaceAfter']['length']+(_0xa23f91['spaceAfter']?0x1:0x0);if(_0x482eac-_0x12290a['from']>_0x1194b4&&!/\S/['test'](_0x12290a['text']['slice'](_0x1194b4,_0x482eac-_0x12290a['from'])))return{'range':EditorSelection['cursor'](_0x12290a['from']+_0x1194b4),'changes':{'from':_0x12290a['from']+_0x1194b4,'to':_0x482eac}};if(_0x482eac-_0x12290a['from']==_0x1194b4&&(!_0xa23f91['item']||_0x12290a['from']<=_0xa23f91['item']['from']||!/\S/['test'](_0x12290a['text']['slice'](0x0,_0xa23f91['to'])))){let _0x50091a=_0x12290a['from']+_0xa23f91['from'];if(_0xa23f91['item']&&_0xa23f91['node']['from']<_0xa23f91['item']['from']&&/\S/['test'](_0x12290a['text']['slice'](_0xa23f91['from'],_0xa23f91['to']))){let _0x4a269c=_0xa23f91['blank'](_0x43a9eb(_0x12290a['text'],0x4,_0xa23f91['to'])-_0x43a9eb(_0x12290a['text'],0x4,_0xa23f91['from']));return _0x50091a==_0x12290a['from']&&(_0x4a269c=_0x5e39da(_0x4a269c,_0x3186cd)),{'range':EditorSelection['cursor'](_0x50091a+_0x4a269c['length']),'changes':{'from':_0x50091a,'to':_0x12290a['from']+_0xa23f91['to'],'insert':_0x4a269c}};}if(_0x50091a<_0x482eac)return{'range':EditorSelection['cursor'](_0x50091a),'changes':{'from':_0x50091a,'to':_0x482eac}};}}}return _0x53ac73={'range':_0x579152};});return!_0x53ac73&&(_0x212970(_0x3186cd['update'](_0x19c42a,{'scrollIntoView':!0x0,'userEvent':'delete'})),!0x0);}}],_0x277212=_0x2a5057({'matchClosingTags':!0x1});function _0x53c66d(_0xe32dbd={}){let {codeLanguages:_0x4f43f3,defaultCodeLanguage:_0x380304,addKeymap:_0x331b3e=!0x0,base:{parser:_0x2f451e}=_0x44b6e3,completeHTMLTags:_0x106b18=!0x0,htmlTagLanguage:_0x2c6429=_0x277212}=_0xe32dbd;if(!(_0x2f451e instanceof _0x2337ec))throw new RangeError('Base\x20parser\x20provided\x20to\x20`markdown`\x20should\x20be\x20a\x20Markdown\x20parser');let _0x4c8733,_0x2202bd=_0xe32dbd['extensions']?[_0xe32dbd['extensions']]:[],_0x4a6c35=[_0x2c6429['support']];_0x380304 instanceof LanguageSupport?(_0x4a6c35['push'](_0x380304['support']),_0x4c8733=_0x380304['language']):_0x380304&&(_0x4c8733=_0x380304);let _0x452517=_0x4f43f3||_0x4c8733?(_0x1b1966=_0x4f43f3,_0x1df6f7=_0x4c8733,_0x1c5aa2=>{if(_0x1c5aa2&&_0x1b1966){let _0x4bbc18=null;if(_0x1c5aa2=/\S*/['exec'](_0x1c5aa2)[0x0],_0x4bbc18='function'==typeof _0x1b1966?_0x1b1966(_0x1c5aa2):LanguageDescription['matchLanguageName'](_0x1b1966,_0x1c5aa2,!0x0),_0x4bbc18 instanceof LanguageDescription)return _0x4bbc18['support']?_0x4bbc18['support']['language']['parser']:ParseContext['getSkippingParser'](_0x4bbc18['load']());if(_0x4bbc18)return _0x4bbc18['parser'];}return _0x1df6f7?_0x1df6f7['parser']:null;}):void 0x0;var _0x1b1966,_0x1df6f7;_0x2202bd['push'](function(_0x1c2f31){let {codeParser:_0x4cd836,htmlParser:_0x55f2be}=_0x1c2f31,_0x1f0c1a=_0x4dd6b8((_0x470a85,_0x2fcad4)=>{let _0x251825=_0x470a85['type']['id'];if(!_0x4cd836||_0x251825!=_0x47467d['CodeBlock']&&_0x251825!=_0x47467d['FencedCode']){if(_0x55f2be&&(_0x251825==_0x47467d['HTMLBlock']||_0x251825==_0x47467d['HTMLTag']||_0x251825==_0x47467d['CommentBlock']))return{'parser':_0x55f2be,'overlay':_0x443858(_0x470a85['node'],_0x470a85['from'],_0x470a85['to'])};}else{let _0x36b3b7='';if(_0x251825==_0x47467d['FencedCode']){let _0x42aad5=_0x470a85['node']['getChild'](_0x47467d['CodeInfo']);_0x42aad5&&(_0x36b3b7=_0x2fcad4['read'](_0x42aad5['from'],_0x42aad5['to']));}let _0x48ff0a=_0x4cd836(_0x36b3b7);if(_0x48ff0a)return{'parser':_0x48ff0a,'overlay':_0x3923f7=>_0x3923f7['type']['id']==_0x47467d['CodeText']};}return null;});return{'wrap':_0x1f0c1a};}({'codeParser':_0x452517,'htmlParser':_0x2c6429['language']['parser']})),_0x331b3e&&_0x4a6c35['push'](_0x4b04a1['high'](_0x1c1feb['of'](_0x40ea64)));let _0x26ff6f=_0x4c5ac2(_0x2f451e['configure'](_0x2202bd));return _0x106b18&&_0x4a6c35['push'](_0x26ff6f['data']['of']({'autocomplete':_0x477bfd})),new LanguageSupport(_0x26ff6f,_0x4a6c35);}function _0x477bfd(_0x54ea6a){let {state:_0xba9109,pos:_0x5596e5}=_0x54ea6a,_0x45a0d4=/<[:\-\.\w\u00b7-\uffff]*$/['exec'](_0xba9109['sliceDoc'](_0x5596e5-0x19,_0x5596e5));if(!_0x45a0d4)return null;let _0x2550ab=_0x46e40e(_0xba9109)['resolveInner'](_0x5596e5,-0x1);for(;_0x2550ab&&!_0x2550ab['type']['isTop'];){if('CodeBlock'==_0x2550ab['name']||'FencedCode'==_0x2550ab['name']||'ProcessingInstructionBlock'==_0x2550ab['name']||'CommentBlock'==_0x2550ab['name']||'Link'==_0x2550ab['name']||'Image'==_0x2550ab['name'])return null;_0x2550ab=_0x2550ab['parent'];}return{'from':_0x5596e5-_0x45a0d4[0x0]['length'],'to':_0x5596e5,'options':_0x5cf31e(),'validFor':/^<[:\-\.\w\u00b7-\uffff]*$/};}let _0x57dec8=null;function _0x5cf31e(){if(_0x57dec8)return _0x57dec8;let _0x16847f=(_0x1fbada=new CompletionContext(EditorState['create']({'extensions':_0x277212}),0x0,!0x0),_0x4be72f(_0x1a7c71['default'],_0x1fbada));var _0x1fbada;return _0x57dec8=_0x16847f?_0x16847f['options']:[];}const _0x92f132='#e06c75',_0x1d4c0b='#abb2bf',_0x3788d4='#7d8799',_0x5a65c3='#d19a66',_0xca126e='#2c313a',_0x44a1b4='#282c34',_0x3298ac='#353a42',_0xd2015b='#528bff',_0x3a25fb=[EditorView['theme']({'&':{'color':_0x1d4c0b,'backgroundColor':_0x44a1b4},'.cm-content':{'caretColor':_0xd2015b},'.cm-cursor,\x20.cm-dropCursor':{'borderLeftColor':_0xd2015b},'&.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-selectionLayer\x20.cm-selectionBackground,\x20.cm-selectionBackground,\x20.cm-content\x20::selection':{'backgroundColor':'#3E4451'},'.cm-panels':{'backgroundColor':'#21252b','color':_0x1d4c0b},'.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':_0x44a1b4,'color':_0x3788d4,'border':'none'},'.cm-activeLineGutter':{'backgroundColor':_0xca126e},'.cm-foldPlaceholder':{'backgroundColor':'transparent','border':'none','color':'#ddd'},'.cm-tooltip':{'border':'none','backgroundColor':_0x3298ac},'.cm-tooltip\x20.cm-tooltip-arrow:before':{'borderTopColor':'transparent','borderBottomColor':'transparent'},'.cm-tooltip\x20.cm-tooltip-arrow:after':{'borderTopColor':_0x3298ac,'borderBottomColor':_0x3298ac},'.cm-tooltip-autocomplete':{'&\x20>\x20ul\x20>\x20li[aria-selected]':{'backgroundColor':_0xca126e,'color':_0x1d4c0b}}},{'dark':!0x0}),_0x5eef91(HighlightStyle['define']([{'tag':_0x1abe46['keyword'],'color':'#c678dd'},{'tag':[_0x1abe46['name'],_0x1abe46['deleted'],_0x1abe46['character'],_0x1abe46['propertyName'],_0x1abe46['macroName']],'color':_0x92f132},{'tag':[_0x1abe46['function'](_0x1abe46['variableName']),_0x1abe46['labelName']],'color':'#61afef'},{'tag':[_0x1abe46['color'],_0x1abe46['constant'](_0x1abe46['name']),_0x1abe46['standard'](_0x1abe46['name'])],'color':_0x5a65c3},{'tag':[_0x1abe46['definition'](_0x1abe46['name']),_0x1abe46['separator']],'color':_0x1d4c0b},{'tag':[_0x1abe46['typeName'],_0x1abe46['className'],_0x1abe46['number'],_0x1abe46['changed'],_0x1abe46['annotation'],_0x1abe46['modifier'],_0x1abe46['self'],_0x1abe46['namespace']],'color':'#e5c07b'},{'tag':[_0x1abe46['operator'],_0x1abe46['operatorKeyword'],_0x1abe46['url'],_0x1abe46['escape'],_0x1abe46['regexp'],_0x1abe46['link'],_0x1abe46['special'](_0x1abe46['string'])],'color':'#56b6c2'},{'tag':[_0x1abe46['meta'],_0x1abe46['comment']],'color':_0x3788d4},{'tag':_0x1abe46['strong'],'fontWeight':'bold'},{'tag':_0x1abe46['emphasis'],'fontStyle':'italic'},{'tag':_0x1abe46['strikethrough'],'textDecoration':'line-through'},{'tag':_0x1abe46['link'],'color':_0x3788d4,'textDecoration':'underline'},{'tag':_0x1abe46['heading'],'fontWeight':'bold','color':_0x92f132},{'tag':[_0x1abe46['atom'],_0x1abe46['bool'],_0x1abe46['special'](_0x1abe46['variableName'])],'color':_0x5a65c3},{'tag':[_0x1abe46['processingInstruction'],_0x1abe46['string'],_0x1abe46['inserted']],'color':'#98c379'},{'tag':_0x1abe46['invalid'],'color':'#ffffff'}]))];function _0x473c8e(_0x512a5d){const _0xa356e8=[EditorView['lineWrapping'],_0x377656(),_0x2628c2(),_0x1bf930(),_0x3139ea(),_0x1117f8(),_0x56731d(),_0x4cc19d(),_0x43623a(),_0x2691d8(),_0x559191(),_0x10d790(),_0x3caef9(),_0x11a2ed(),_0x2da338(),_0x5eef91(_0x294afa,{'fallback':!0x0})],_0x4f0a51=new Compartment();_0xa356e8['push'](_0x4f0a51['of'](EditorView['editable']['of'](!0x0))),'html'===_0x512a5d['syntaxLanguage']?_0xa356e8['push'](_0x2a5057()):_0xa356e8['push'](_0x53c66d());const _0x54f9e8=function(_0x1c835f){if(_0x1c835f&&'default'!==_0x1c835f)return'dark'===_0x1c835f?_0x3a25fb:_0x1c835f;return null;}(_0x512a5d['theme']);_0x54f9e8&&_0xa356e8['push'](_0x54f9e8),_0xa356e8['push'](_0x1c1feb['of']([..._0x19ee75,..._0x4de7ec,..._0x5f578a,..._0x1cf0ca,..._0x48ce7e,{'key':'Tab','run':_0x1863ad,'shift':_0xbaf2f1,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':tT,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':tT,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x1fa0dd,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x402b14=new EditorView({'extensions':_0xa356e8,'parent':_0x512a5d['parent']});return _0x330ecb(_0x402b14),{'focus':()=>{_0x402b14['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x402b14['focus']();},'getData':()=>_0x402b14['state']['doc']['toString'](),'setData':_0x4597e6=>{_0x402b14['dispatch']({'changes':{'from':0x0,'to':_0x402b14['state']['doc']['length'],'insert':_0x4597e6},'annotations':Transaction['addToHistory']['of'](!0x1)});},'setReadOnly':_0x3923ca=>{_0x402b14['dispatch']({'effects':[_0x4f0a51['reconfigure'](EditorView['editable']['of'](!_0x3923ca))]});},'destroy':()=>{_0x402b14['destroy']();},'instance':_0x402b14};}class CodeEditorView extends _0x22b56d['View']{['_codeEditorApi']=null;['_options'];constructor(_0x1f5acb,_0xca679d){super(_0x1f5acb),this['_options']=_0xca679d,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']=_0x473c8e({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x2ffb78,_0x51140c,_0x231f96)=>{this['setReadOnly'](_0x231f96);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x42bdde){this['_codeEditorApi']['setData'](_0x42bdde);}['setReadOnly'](_0x315374){this['_codeEditorApi']['setReadOnly'](_0x315374);}}const _0x349b91='SourceEditingEnhancedMode';class EditSourceCommand extends _0x22b56d['Command']{constructor(_0x31445d){super(_0x31445d),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x22b56d['PendingActions'])['on']('change:hasAny',(_0x243933,_0x4bba07,_0x122f5b)=>{_0x122f5b?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x5abece=this['editor'];for(const _0x603839 of _0x5abece['commands']['names']())['replaceSource','editSource']['includes'](_0x603839)||_0x5abece['commands']['get'](_0x603839)['forceDisabled'](_0x349b91);}['_enableCommands'](){const _0x31740e=this['editor'];for(const _0x50d0a0 of _0x31740e['commands']['commands']())_0x50d0a0['clearForceDisabled'](_0x349b91);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x18dcb6=this['editor'],_0x230588=_0x18dcb6['locale'],_0x19cc1=_0x18dcb6['plugins']['get']('Dialog'),_0x26df70=_0x4d1ec4(_0x18dcb6),_0x42332a=_0x18dcb6['data']['get']({'rootName':_0x26df70}),_0x1dadc9=_0x7f3309(_0x234b6b=_0x42332a)?_0x22b56d['formatHtml'](_0x234b6b):_0x234b6b;var _0x234b6b;const _0x502ef4=new CodeEditorView(_0x230588,{'syntaxLanguage':_0x18dcb6['plugins']['has']('Markdown')?'markdown':'html','theme':_0x18dcb6['config']['get']('sourceEditingEnhanced.theme')});let _0x7c6706=!0x0;const _0xd07441=_0x56f866=>{if(!_0x7c6706)return;return _0x289503(_0x502ef4['getData']())!==_0x289503(_0x1dadc9)?window['confirm'](_0x1cd83a(_0x230588,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x56f866['stop']():void 0x0;};_0x19cc1['show']({'id':'sourceEditingEnhanced','title':_0x1cd83a(_0x230588,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x502ef4,'actionButtons':[{'label':_0x1cd83a(_0x230588,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x19cc1['hide']();}},{'label':_0x1cd83a(_0x230588,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x3f82e1=_0x289503(_0x502ef4['getData']())!==_0x289503(_0x1dadc9);(_0x3f82e1&&_0x18dcb6['execute']('replaceSource',_0x502ef4['getData']()),_0x7c6706=!0x1,_0x19cc1['hide'](),_0x3f82e1&&'editables'in _0x18dcb6['ui']['view'])&&_0x18dcb6['ui']['view']['editables'][_0x26df70]['element']['focus']();},'onCreate':_0x4f2009=>{_0x4f2009['set']('isEnabled',!_0x18dcb6['isReadOnly']),_0x4f2009['bind']('isEnabled')['to'](_0x18dcb6,'isReadOnly',this,'isEnabled',(_0x44175a,_0x2d7f69)=>!_0x44175a&&_0x2d7f69);}}],'onHide':()=>{this['_enableCommands'](),_0x19cc1['off']('hide',_0xd07441),_0x502ef4['destroy']();},'onShow':()=>{_0x502ef4['bind']('isReadOnly')['to'](_0x18dcb6,'isReadOnly',this,'isEnabled',(_0x439dfb,_0x5ded34)=>_0x439dfb||!_0x5ded34),_0x502ef4['setData'](_0x1dadc9),_0x502ef4['focus'](),_0x19cc1['on']('hide',_0xd07441,{'priority':'highest'}),this['_disableCommands']();}});}}class SourceEditingEnhancedUI extends _0x22b56d['Plugin']{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x22b56d['PendingActions']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3444ab=this['editor'],_0x1c28e8=_0x3444ab['locale'],_0x4d94d0=new EditSourceCommand(_0x3444ab);_0x3444ab['commands']['add']('editSource',_0x4d94d0),_0x3444ab['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x3991e9=this['_createButton'](_0x22b56d['ButtonView'],_0x4d94d0);return _0x3991e9['set']({'label':_0x1cd83a(_0x1c28e8,'Source'),'icon':_0x22b56d['IconSource'],'tooltip':_0x1cd83a(_0x1c28e8,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x3991e9;}),_0x3444ab['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x5511a5=this['_createButton'](_0x22b56d['MenuBarMenuListItemButtonView'],_0x4d94d0,!0x0);return _0x5511a5['set']({'label':_0x1cd83a(_0x1c28e8,'Edit\x20source\x20modal\x20label'),'icon':_0x22b56d['IconSource'],'role':'menuitemcheckbox'}),_0x5511a5;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x73175c){const _0x175b3a=_0x158f85([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]),_0x43375a=0x5dba9314,_0x3aa35c=0x5dbd197c^_0x43375a,_0x543bb3=window[_0x158f85([0x44,0x61,0x74,0x65])][_0x158f85([0x6e,0x6f,0x77])](),_0x3bcae6=_0x73175c[_0x158f85([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f6b80=new window[(_0x158f85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e8a51=>{_0x3bcae6[_0x158f85([0x6f,0x6e,0x63,0x65])](_0x158f85([0x72,0x65,0x61,0x64,0x79]),_0x2e8a51);}),_0x1ebba7={[_0x158f85([0x6b,0x74,0x79])]:_0x158f85([0x45,0x43]),[_0x158f85([0x75,0x73,0x65])]:_0x158f85([0x73,0x69,0x67]),[_0x158f85([0x63,0x72,0x76])]:_0x158f85([0x50,0x2d,0x32,0x35,0x36]),[_0x158f85([0x78])]:_0x158f85([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]),[_0x158f85([0x79])]:_0x158f85([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]),[_0x158f85([0x61,0x6c,0x67])]:_0x158f85([0x45,0x53,0x32,0x35,0x36])},_0x2ce8a6=_0x3bcae6[_0x158f85([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x158f85([0x67,0x65,0x74])](_0x158f85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x38e5c1(){let _0x9a5787,_0x1b3913=null,_0x4fbafa=null;try{if(_0x2ce8a6==_0x158f85([0x47,0x50,0x4c]))return _0x158f85([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9a5787=_0x30bce4(),!_0x9a5787)return _0x158f85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9a5787[_0x158f85([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4fbafa=_0x1df310(_0x9a5787[_0x158f85([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9a5787[_0x158f85([0x6a,0x74,0x69])])),await _0x27595a()?_0x510886()?_0x53b3ee()?_0x158f85([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x18de5f()?(_0x9a5787[_0x158f85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x158f85([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1b3913=_0x3b3d04(_0x158f85([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x372bde()):_0x158f85([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x158f85([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x158f85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x158f85([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x53b3ee(){const _0x2e27d7=[_0x158f85([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x158f85([0x74,0x72,0x69,0x61,0x6c])][_0x158f85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9a5787[_0x158f85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x543bb3/0x3e8:0xe10*_0x3aa35c;return _0x9a5787[_0x158f85([0x65,0x78,0x70])]<_0x2e27d7;}function _0x510886(){const _0x4a0f23=_0x9a5787[_0x158f85([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4a0f23&&(!!_0x4a0f23[_0x158f85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x158f85([0x2a]))||!!_0x4a0f23[_0x158f85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x158f85([0x53,0x45,0x45])));}function _0x18de5f(){const _0x30fde0=_0x9a5787[_0x158f85([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x30fde0||0x0==_0x30fde0[_0x158f85([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf2627}=new URL(window[_0x158f85([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x30fde0[_0x158f85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf2627))return!0x0;const _0x593825=_0xf2627[_0x158f85([0x73,0x70,0x6c,0x69,0x74])](_0x158f85([0x2e]));return _0x30fde0[_0x158f85([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x102372=>_0x102372[_0x158f85([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x158f85([0x2a])))[_0x158f85([0x6d,0x61,0x70])](_0x75544b=>_0x75544b[_0x158f85([0x73,0x70,0x6c,0x69,0x74])](_0x158f85([0x2e])))[_0x158f85([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24c656=>_0x24c656[_0x158f85([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x593825[_0x158f85([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x158f85([0x6d,0x61,0x70])](_0x4263f1=>Array(_0x593825[_0x158f85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4263f1[_0x158f85([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x158f85([0x66,0x69,0x6c,0x6c])](_0x4263f1[0x0]===_0x158f85([0x2a])?_0x158f85([0x2a]):'')[_0x158f85([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4263f1))[_0x158f85([0x73,0x6f,0x6d,0x65])](_0x2de717=>_0x593825[_0x158f85([0x65,0x76,0x65,0x72,0x79])]((_0x497f95,_0x5038bd)=>_0x2de717[_0x5038bd]===_0x497f95||_0x2de717[_0x5038bd]===_0x158f85([0x2a])));}function _0x372bde(){return _0x1b3913&&_0x4fbafa?new window[(_0x158f85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5aced6,_0x193ff5)=>{_0x1b3913[_0x158f85([0x74,0x68,0x65,0x6e])](_0x5aced6,_0x193ff5),_0x4fbafa[_0x158f85([0x74,0x68,0x65,0x6e])](_0x348ac2=>{_0x348ac2!=_0x158f85([0x56,0x61,0x6c,0x69,0x64])&&_0x5aced6(_0x348ac2);},_0x193ff5);}):_0x1b3913||_0x4fbafa||_0x158f85([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1df310(_0x599eb4,_0x5d1551){return new window[(_0x158f85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c5ab6=>{if(_0x49bac8())return _0x1c5ab6(_0x158f85([0x56,0x61,0x6c,0x69,0x64]));_0x5f1454(),_0x3bcae6[_0x158f85([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x158f85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2a3ed6=!0x1;const _0x1abf8d=_0x22b56d['uid']();function _0x3ab03c(_0x295b01){return!!_0x295b01&&(typeof _0x295b01===_0x158f85([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x295b01===_0x158f85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x295b01[_0x158f85([0x74,0x68,0x65,0x6e])]===_0x158f85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x295b01[_0x158f85([0x63,0x61,0x74,0x63,0x68])]===_0x158f85([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5464a7(_0x3e138d){_0x12a1ac(_0x3e138d)[_0x158f85([0x74,0x68,0x65,0x6e])](_0x46c150=>{if(!_0x46c150||_0x46c150[_0x158f85([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x158f85([0x6f,0x6b]))return _0x158f85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ae783(_0x4be8c1(_0x1abf8d+_0x5d1551))!=_0x46c150[_0x158f85([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x158f85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x158f85([0x56,0x61,0x6c,0x69,0x64]);})[_0x158f85([0x74,0x68,0x65,0x6e])](_0x555789=>(_0x58a6be(),_0x555789),()=>{const _0x2a9e85=_0x4c20f6();return null==_0x2a9e85?(_0x58a6be(),_0x158f85([0x56,0x61,0x6c,0x69,0x64])):_0x158f85(_0x543bb3-_0x2a9e85>(0x79b61714^_0x43375a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x158f85([0x74,0x68,0x65,0x6e])](_0x1c5ab6)[_0x158f85([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1c5ab6(_0x158f85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x9acda4=0x5d8c7d94^_0x43375a;function _0x58a6be(){const _0x23a793=_0x158f85([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ae783(_0x4be8c1(_0x599eb4)),_0x394247=_0x30b2f7(_0x5ae783(window[_0x158f85([0x4d,0x61,0x74,0x68])][_0x158f85([0x63,0x65,0x69,0x6c])](_0x543bb3/_0x9acda4)));window[_0x158f85([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x158f85([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23a793,_0x394247);}function _0x4c20f6(){const _0x11e155=_0x158f85([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ae783(_0x4be8c1(_0x599eb4)),_0x13f3a9=window[_0x158f85([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x158f85([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x11e155);return _0x13f3a9?window[_0x158f85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30b2f7(_0x13f3a9),0x10)*_0x9acda4:null;}function _0x12a1ac(_0x2246fe){return new window[(_0x158f85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c9497,_0x2e9445)=>{_0x2246fe[_0x158f85([0x74,0x68,0x65,0x6e])](_0x5c9497,_0x2e9445),window[_0x158f85([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2e9445,0x5dbb47d4^_0x43375a);});}}_0x3bcae6[_0x158f85([0x6f,0x6e])](_0x158f85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3d047e,_0xdf80e4)=>{if(_0xdf80e4[0x0]!=_0x599eb4)return _0x1c5ab6(_0x158f85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xdf80e4[0x1]={..._0xdf80e4[0x1],[_0x158f85([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1abf8d};},{[_0x158f85([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x158f85([0x68,0x69,0x67,0x68])}),_0x3bcae6[_0x158f85([0x6f,0x6e])](_0x158f85([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x16bbe5=>{_0x3ab03c(_0x16bbe5[_0x158f85([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2a3ed6=!0x0,_0x5464a7(_0x16bbe5[_0x158f85([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x158f85([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x158f85([0x6c,0x6f,0x77])}),_0x3f6b80[_0x158f85([0x74,0x68,0x65,0x6e])](()=>{_0x2a3ed6||_0x1c5ab6(_0x158f85([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x49bac8(){return _0x3bcae6[_0x158f85([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x158f85([0x76,0x69,0x65,0x77])][_0x158f85([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x158f85([0x61,0x75,0x74,0x6f]);}function _0x5f1454(){_0x3bcae6[_0x158f85([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x158f85([0x76,0x69,0x65,0x77])][_0x158f85([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x158f85([0x61,0x75,0x74,0x6f]);}}function _0x3b3d04(_0x3f2f7c){const _0x44e569=[new window[(_0x158f85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5846d4=>setTimeout(_0x5846d4,0x5db3add8^_0x43375a)),_0x3f6b80[_0x158f85([0x74,0x68,0x65,0x6e])](()=>new window[(_0x158f85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x288bb3=>{let _0xe943e7=0x0;_0x3bcae6[_0x158f85([0x6d,0x6f,0x64,0x65,0x6c])][_0x158f85([0x6f,0x6e])](_0x158f85([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b6323,_0x524be0)=>{_0x524be0[0x0][_0x158f85([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xe943e7++,_0xe943e7==(0x5dba96fc^_0x43375a)&&(_0x288bb3(),_0x5b6323[_0x158f85([0x6f,0x66,0x66])]());});}))];return window[_0x158f85([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x158f85([0x72,0x61,0x63,0x65])](_0x44e569)[_0x158f85([0x74,0x68,0x65,0x6e])](()=>_0x3f2f7c);}async function _0x2f7747(){await _0x3f6b80,_0x3bcae6[_0x158f85([0x6d,0x6f,0x64,0x65,0x6c])][_0x158f85([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b2a00,_0x3bcae6[_0x158f85([0x6d,0x6f,0x64,0x65,0x6c])][_0x158f85([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b2a00,_0x3bcae6[_0x158f85([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x158f85([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x375c13(_0x2c7b77){const _0x348c38=_0x3640a4();_0x3bcae6[_0x348c38]=_0x158f85([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])+_0x2c7b77,_0x2c7b77!=_0x158f85([0x56,0x61,0x6c,0x69,0x64])&&_0x2f7747();}function _0x3640a4(){const _0x11d519=window[_0x158f85([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x158f85([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x158f85([0x6e,0x6f,0x77])]())[_0x158f85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x158f85([0x2e]),'');let _0x21537f=_0x158f85([0x4e]);for(let _0xf46f9f=0x0;_0xf46f9f<_0x11d519[_0x158f85([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf46f9f+=0x2){let _0xc38a82=window[_0x158f85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11d519[_0x158f85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf46f9f,_0xf46f9f+0x2));_0xc38a82>=_0x175b3a[_0x158f85([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xc38a82-=_0x175b3a[_0x158f85([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x21537f+=_0x175b3a[_0xc38a82];}return _0x21537f;}function _0x30bce4(){const _0xff0b95=_0x2ce8a6[_0x158f85([0x73,0x70,0x6c,0x69,0x74])](_0x158f85([0x2e]));if(0x3!=_0xff0b95[_0x158f85([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x154526(_0xff0b95[0x1]);function _0x154526(_0xa9b6){const _0x3a907b=_0x1fa75b(_0xa9b6);return _0x3a907b&&_0x356c07()?_0x3a907b:null;function _0x356c07(){const _0x349cf7=_0x3a907b[_0x158f85([0x6a,0x74,0x69])],_0x5d29e7=window[_0x158f85([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x349cf7[_0x158f85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x349cf7[_0x158f85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x318f64={..._0x3a907b,[_0x158f85([0x6a,0x74,0x69])]:_0x349cf7[_0x158f85([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x349cf7[_0x158f85([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x318f64[_0x158f85([0x76,0x63])],_0x4be8c1(_0x318f64)==_0x5d29e7;}}}async function _0x27595a(){let _0x3cb3d5=!0x0;try{const _0x19fa32=_0x2ce8a6[_0x158f85([0x73,0x70,0x6c,0x69,0x74])](_0x158f85([0x2e])),[_0x32769f,_0x1f810b,_0x546749]=_0x19fa32;return _0xced423(_0x32769f),await _0x27f09f(_0x32769f,_0x1f810b,_0x546749),_0x3cb3d5;}catch{return!0x1;}function _0xced423(_0x4ff978){const _0x79b2f3=_0x1fa75b(_0x4ff978);_0x79b2f3&&_0x79b2f3[_0x158f85([0x61,0x6c,0x67])]==_0x158f85([0x45,0x53,0x32,0x35,0x36])||(_0x3cb3d5=!0x1);}async function _0x27f09f(_0x4a6d76,_0xe7ca81,_0xabf771){const _0x4d2789=window[_0x158f85([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x158f85([0x66,0x72,0x6f,0x6d])](_0x509fb8(_0xabf771),_0x26ed49=>_0x26ed49[_0x158f85([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2a2251=new window[(_0x158f85([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x158f85([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4a6d76+_0x158f85([0x2e])+_0xe7ca81),_0x452af5=window[_0x158f85([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x158f85([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x452af5)return;const _0x19eff5=await _0x452af5[_0x158f85([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x158f85([0x6a,0x77,0x6b]),_0x1ebba7,{[_0x158f85([0x6e,0x61,0x6d,0x65])]:_0x158f85([0x45,0x43,0x44,0x53,0x41]),[_0x158f85([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x158f85([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x158f85([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x452af5[_0x158f85([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x158f85([0x6e,0x61,0x6d,0x65])]:_0x158f85([0x45,0x43,0x44,0x53,0x41]),[_0x158f85([0x68,0x61,0x73,0x68])]:{[_0x158f85([0x6e,0x61,0x6d,0x65])]:_0x158f85([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x19eff5,_0x4d2789,_0x2a2251)||(_0x3cb3d5=!0x1);}}function _0x1fa75b(_0x52818f){return _0x52818f[_0x158f85([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x158f85([0x65,0x79]))?JSON[_0x158f85([0x70,0x61,0x72,0x73,0x65])](_0x509fb8(_0x52818f)):null;}function _0x509fb8(_0x58f2b8){return window[_0x158f85([0x61,0x74,0x6f,0x62])](_0x58f2b8[_0x158f85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x158f85([0x2b]))[_0x158f85([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x158f85([0x2f])));}function _0x4be8c1(_0x21303a){let _0x376a80=0x1505;function _0xaecb1a(_0x1c663b){for(let _0x358630=0x0;_0x358630<_0x1c663b[_0x158f85([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x358630++){const _0x7d4df4=_0x1c663b[_0x158f85([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x358630);_0x376a80=(_0x376a80<<0x5)+_0x376a80+_0x7d4df4,_0x376a80&=_0x376a80;}}function _0x58be6f(_0x577024){Array[_0x158f85([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x577024)?_0x577024[_0x158f85([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x58be6f):_0x577024&&typeof _0x577024==_0x158f85([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x158f85([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x577024)[_0x158f85([0x73,0x6f,0x72,0x74])]()[_0x158f85([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4c505d,_0x5881c7])=>{_0xaecb1a(_0x4c505d),_0x58be6f(_0x5881c7);}):_0xaecb1a(window[_0x158f85([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x577024));}return _0x58be6f(_0x21303a),_0x376a80>>>0x0;}function _0x5ae783(_0x3af874){return _0x3af874[_0x158f85([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x158f85([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x158f85([0x30]));}function _0x30b2f7(_0x51e66f){return _0x51e66f[_0x158f85([0x73,0x70,0x6c,0x69,0x74])]('')[_0x158f85([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x158f85([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b2a00(){}function _0x158f85(_0x570ee4){return _0x570ee4['map'](_0x5e6404=>String['fromCharCode'](_0x5e6404))['join']('');}_0x375c13(await _0x38e5c1());}(this);}['_createButton'](_0xc6907d,_0x16138e,_0x3020f6=!0x1){const _0x13e1c3=new _0xc6907d(this['editor']['locale']);return _0x13e1c3['set']({'withText':_0x3020f6,'isToggleable':!0x1}),_0x13e1c3['bind']('isEnabled')['to'](_0x16138e,'isEnabled'),this['listenTo'](_0x13e1c3,'execute',()=>_0x16138e['execute']()),_0x13e1c3;}['_registerKeybindings'](){const _0xa23041=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':_0x1cd83a(_0xa23041,'Source\x20Editing\x20Enhanced')});const _0x5c1b9e=_0x22b56d['env']['isMac']||_0x22b56d['env']['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':_0x1cd83a(_0xa23041,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':_0x1cd83a(_0xa23041,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':_0x1cd83a(_0xa23041,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':_0x1cd83a(_0xa23041,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':_0x1cd83a(_0xa23041,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':_0x1cd83a(_0xa23041,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':_0x1cd83a(_0xa23041,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x5c1b9e?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':_0x1cd83a(_0xa23041,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':_0x1cd83a(_0xa23041,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':_0x1cd83a(_0xa23041,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':_0x1cd83a(_0xa23041,'Select\x20line'),'keystroke':_0x5c1b9e?'Ctrl!+L':'Alt+L'},{'label':_0x1cd83a(_0xa23041,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x5c1b9e?'Alt+Shift+M':'Ctrl+M'},{'label':_0x1cd83a(_0xa23041,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':_0x1cd83a(_0xa23041,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':_0x1cd83a(_0xa23041,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':_0x1cd83a(_0xa23041,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':_0x1cd83a(_0xa23041,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x5c1b9e?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}}class _0x27b7f9 extends _0x22b56d['Command']{constructor(_0x39bf37){super(_0x39bf37),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x4dd92f,_0x501dfa){const _0x4b7c17=this['editor'],_0x451fe0=_0x501dfa?.['rootName']??_0x4d1ec4(_0x4b7c17);_0x4b7c17['data']['set']({[_0x451fe0]:_0x4dd92f},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}}class SourceEditingEnhanced extends _0x22b56d['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[SourceEditingEnhancedUI];}constructor(_0x4c4a89){super(_0x4c4a89),_0x4c4a89['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new _0x27b7f9(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4ed98e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x137cfb;for(const _0x2e9ada in _0x4ed98e){const _0x29bce5=_0x2e9ada,_0x1c71a7=_0x4ed98e[_0x29bce5];if('sourceEditingEnhancedLicenseKeyValid'==_0x1c71a7||'sourceEditingEnhancedLicenseKeyInvalid'==_0x1c71a7||'sourceEditingEnhancedLicenseKeyExpired'==_0x1c71a7||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x1c71a7||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x1c71a7||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x1c71a7||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x1c71a7){delete _0x4ed98e[_0x29bce5],_0x137cfb=_0x1c71a7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x137cfb&&_0x4ed98e['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x137cfb&&_0x4ed98e['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x137cfb&&_0x4ed98e['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x137cfb&&_0x4ed98e['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x137cfb&&_0x4ed98e['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x137cfb&&_0x4ed98e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x1d36be=this['editor'],_0x57e9cb=_0x1d36be['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x57e9cb&&_0x1d36be['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x22b56d['CKEditorError']('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x57e9cb&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x3fc0ca=>_0x1d36be['plugins']['has'](_0x3fc0ca))&&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.'),_0x1d36be['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 _0x22b56d['Command']{['execute'](_0x19a686){const {model:_0x3af77f}=this['editor'];let _0x1c06ed;switch(typeof _0x19a686){case'string':_0x1c06ed=_0x19a686;break;case'function':_0x1c06ed=_0x19a686();}'string'==typeof _0x1c06ed&&_0x3af77f['change'](()=>{const _0xc243ad=this['editor']['data']['htmlProcessor']['toView'](_0x1c06ed),_0x2ad7ca=this['editor']['data']['toModel'](_0xc243ad);_0x3af77f['insertContent'](_0x2ad7ca);});}}class TemplateEditing extends _0x22b56d['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2da639}=this;_0x2da639['commands']['add']('insertTemplate',new TemplateCommand(_0x2da639)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4d468a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x6e980;for(const _0x2ee546 in _0x4d468a){const _0x2acdde=_0x2ee546,_0xa23769=_0x4d468a[_0x2acdde];if('templateLicenseKeyValid'==_0xa23769||'templateLicenseKeyInvalid'==_0xa23769||'templateLicenseKeyExpired'==_0xa23769||'templateLicenseKeyDomainLimit'==_0xa23769||'templateLicenseKeyNotAllowed'==_0xa23769||'templateLicenseKeyEvaluationLimit'==_0xa23769||'templateLicenseKeyUsageLimit'==_0xa23769){delete _0x4d468a[_0x2acdde],_0x6e980=_0xa23769,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x6e980&&_0x4d468a['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x6e980&&_0x4d468a['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x6e980&&_0x4d468a['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x6e980&&_0x4d468a['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x6e980&&_0x4d468a['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x6e980&&_0x4d468a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}class TemplateListView extends _0x22b56d['ListView']{['filter'](_0x50f65a){if(!_0x50f65a)return this['_resetFiltering']();const _0x184772=new Map(),_0x17b3c2=this['items']['map'](_0x5a35ae=>{const _0x7ccb1e=_0x5a35ae['buttonView']['isMatching'](_0x50f65a);return _0x5a35ae['isVisible']=!!_0x7ccb1e,_0x5a35ae['buttonView']['highlightText'](_0x7ccb1e?_0x50f65a:null),_0x7ccb1e&&_0x184772['set'](_0x5a35ae,_0x7ccb1e),_0x5a35ae;})['sort'](_0x8a63c8)['sort'](function(_0x1d34db){return function(_0x8dce,_0x141978){const _0x1f1b49=_0x1d34db['get'](_0x8dce),_0x2d4cde=_0x1d34db['get'](_0x141978);return _0x1f1b49&&!_0x2d4cde?-0x1:_0x2d4cde&&!_0x1f1b49?0x1:_0x1f1b49||_0x2d4cde?_0x1f1b49['title']&&!_0x2d4cde['title']?-0x1:!_0x1f1b49['title']&&_0x2d4cde['title']?0x1:0x0:0x0;};}(_0x184772));return this['items']['clear'](),this['items']['addMany'](_0x17b3c2),{'resultsCount':_0x184772['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x1cbd99=this['items']['map'](_0x4b9bba=>_0x4b9bba)['sort'](_0x8a63c8);return _0x1cbd99['forEach'](_0x40f06c=>{_0x40f06c['isVisible']=!0x0,_0x40f06c['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x1cbd99),{'resultsCount':_0x1cbd99['length'],'totalItemsCount':_0x1cbd99['length']};}}function _0x8a63c8(_0x160204,_0x48fb77){return _0x160204['originalIndex']-_0x48fb77['originalIndex'];}class TemplateListItemView extends _0x22b56d['ListItemView']{['originalIndex'];['buttonView'];constructor(_0x3821f2,_0x1447df){super(_0x3821f2),this['originalIndex']=_0x1447df,this['buttonView']=null;}}class TemplateListButtonView extends _0x22b56d['ButtonView']{['templateDefinition'];['textPartView'];constructor(_0x315171,_0x463051){super(_0x315171),this['templateDefinition']=_0x463051,this['textPartView']=null;const {icon:_0x50a28d=_0x22b56d['IconTemplateGeneric']}=_0x463051;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x50a28d}),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'](_0x3403d4){const {title:_0x193eb9,description:_0xfd3de9}=this['templateDefinition'],_0x2bd915=!!_0x193eb9['match'](_0x3403d4),_0x2b368c=!(!_0xfd3de9||!_0xfd3de9['match'](_0x3403d4));return _0x2bd915||_0x2b368c?{'title':_0x2bd915,'description':_0x2b368c}:null;}['highlightText'](_0x33825a){this['textPartView']['highlightText'](_0x33825a);}}class TextPartView extends _0x22b56d['View']{constructor(_0x47f636,_0x1667e0,_0x2b30c3){super(_0x47f636),this['title']=_0x1667e0['title'],this['description']=_0x1667e0['description'],this['titleView']=new _0x22b56d['HighlightedTextView'](),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x2b30c3}});const _0x48ea64=[this['titleView']];this['description']&&(this['descriptionView']=new _0x22b56d['HighlightedTextView'](),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x48ea64['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x48ea64});}['highlightText'](_0x26da92){this['titleView']['highlightText'](_0x26da92),this['description']&&this['descriptionView']['highlightText'](_0x26da92);}}function _0x1dae55(_0x264c11,_0x3c94ad,..._0x55fb45){const t=_0x264c11['t'];switch(_0x3c94ad){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x55fb45);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',..._0x55fb45);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x3c94ad;}}class TemplateUI extends _0x22b56d['Plugin']{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xc2d895}=this,_0x2a7fb0=_0xc2d895['config']['get']('template.definitions')||[];_0xc2d895['ui']['componentFactory']['add']('insertTemplate',_0x13246b=>{const _0x566100=_0x22b56d['createDropdown'](_0x13246b),_0x12747c=this['_createTemplateListView'](_0x13246b,_0x2a7fb0),_0x2dab9e=new _0x22b56d['SearchTextView'](_0x13246b,{'filteredView':_0x12747c,'queryView':{'label':_0x1dae55(_0x13246b,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0x2d7ed0=>_0x1dae55(_0x13246b,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0x2d7ed0),'secondary':_0x1dae55(_0x13246b,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':_0x1dae55(_0x13246b,'No\x20templates\x20available.')}}}}),_0x687c0c=_0xc2d895['commands']['get']('insertTemplate');return _0x2dab9e['on']('search',(_0x52f35e,_0x34d226)=>{_0x34d226['query']&&_0x34d226['query']['length']&&_0xc2d895['ui']['ariaLiveAnnouncer']['announce'](_0x1dae55(_0x13246b,'%0\x20templates\x20found',_0x34d226['resultsCount']));}),_0x566100['bind']('isEnabled')['to'](_0x687c0c),_0x566100['panelView']['children']['add'](_0x2dab9e),_0x566100['buttonView']['set']({'label':_0x1dae55(_0x13246b,'Insert\x20template'),'icon':_0x22b56d['IconTemplate'],'tooltip':!0x0}),_0x566100['on']('change:isOpen',(_0xdda12e,_0x2c0e3c,_0x258950)=>{_0x258950||_0x2dab9e['reset']();}),_0x566100;}),_0xc2d895['ui']['componentFactory']['add']('menuBar:insertTemplate',_0x4b5109=>{const _0x50eb1d=_0xc2d895['commands']['get']('insertTemplate'),_0x486d47=new _0x22b56d['MenuBarMenuView'](_0x4b5109);_0x486d47['buttonView']['set']({'label':_0x1dae55(_0x4b5109,'Template'),'icon':_0x22b56d['IconTemplate']});const _0x229ae4=new _0x22b56d['MenuBarMenuListView'](_0x4b5109);if(!_0x2a7fb0||!_0x2a7fb0['length']){const _0xff52ef=new _0x22b56d['MenuBarMenuListItemView'](_0x4b5109,_0x486d47),_0x268a61=new _0x22b56d['MenuBarMenuListItemButtonView'](_0x4b5109);_0x268a61['set']({'label':_0x1dae55(_0x4b5109,'No\x20templates\x20available.')}),_0x268a61['delegate']('execute')['to'](_0x486d47),_0x268a61['on']('execute',()=>{_0xc2d895['editing']['view']['focus']();}),_0xff52ef['children']['add'](_0x268a61),_0x229ae4['items']['add'](_0xff52ef);}for(const _0x9f6ddc of _0x2a7fb0){const _0x47e4ac=new _0x22b56d['MenuBarMenuListItemView'](_0x4b5109,_0x486d47),_0x5dc2f6=new _0x22b56d['MenuBarMenuListItemButtonView'](_0x4b5109);_0x5dc2f6['set']({'class':'ck-template-button','label':_0x9f6ddc['title'],'icon':_0x9f6ddc['icon']||_0x22b56d['IconTemplateGeneric']}),_0x5dc2f6['delegate']('execute')['to'](_0x486d47),_0x5dc2f6['on']('execute',()=>{_0xc2d895['execute']('insertTemplate',_0x9f6ddc['data']),_0xc2d895['editing']['view']['focus']();}),_0x47e4ac['children']['add'](_0x5dc2f6),_0x229ae4['items']['add'](_0x47e4ac);}return _0x486d47['panelView']['children']['add'](_0x229ae4),_0x486d47['bind']('isEnabled')['to'](_0x50eb1d,'isEnabled'),_0x486d47;});}['afterInit'](){!async function(_0x22e2a5){const _0x30f51b=_0x42438b([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]),_0x46f2a0=0x6b0f5e6f,_0x56f475=0x6b08d407^_0x46f2a0,_0x947164=window[_0x42438b([0x44,0x61,0x74,0x65])][_0x42438b([0x6e,0x6f,0x77])](),_0x59cc2f=_0x22e2a5[_0x42438b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1c33f4=new window[(_0x42438b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x185f1=>{_0x59cc2f[_0x42438b([0x6f,0x6e,0x63,0x65])](_0x42438b([0x72,0x65,0x61,0x64,0x79]),_0x185f1);}),_0x40b1bc={[_0x42438b([0x6b,0x74,0x79])]:_0x42438b([0x45,0x43]),[_0x42438b([0x75,0x73,0x65])]:_0x42438b([0x73,0x69,0x67]),[_0x42438b([0x63,0x72,0x76])]:_0x42438b([0x50,0x2d,0x32,0x35,0x36]),[_0x42438b([0x78])]:_0x42438b([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]),[_0x42438b([0x79])]:_0x42438b([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]),[_0x42438b([0x61,0x6c,0x67])]:_0x42438b([0x45,0x53,0x32,0x35,0x36])},_0xa30572=_0x59cc2f[_0x42438b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x42438b([0x67,0x65,0x74])](_0x42438b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2e9d78(){let _0xd595b,_0x9b5fd9=null,_0x268ebc=null;try{if(_0xa30572==_0x42438b([0x47,0x50,0x4c]))return _0x42438b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xd595b=_0xa3c81e(),!_0xd595b)return _0x42438b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xd595b[_0x42438b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x268ebc=_0x397141(_0xd595b[_0x42438b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xd595b[_0x42438b([0x6a,0x74,0x69])])),await _0x122401()?_0x255e0f()?_0x318d1e()?_0x42438b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x53816f()?(_0xd595b[_0x42438b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x42438b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x9b5fd9=_0x4279bf(_0x42438b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2e5282()):_0x42438b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x42438b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x42438b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x42438b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x318d1e(){const _0xebfea6=[_0x42438b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x42438b([0x74,0x72,0x69,0x61,0x6c])][_0x42438b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd595b[_0x42438b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x947164/0x3e8:0xe10*_0x56f475;return _0xd595b[_0x42438b([0x65,0x78,0x70])]<_0xebfea6;}function _0x255e0f(){const _0x449f3a=_0xd595b[_0x42438b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x449f3a&&(!!_0x449f3a[_0x42438b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42438b([0x2a]))||(!!_0x449f3a[_0x42438b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42438b([0x54,0x50,0x4c]))||(!!_0x449f3a[_0x42438b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42438b([0x50,0x50]))||(!(!_0x449f3a[_0x42438b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42438b([0x44,0x52,0x55,0x50]))||!_0x2749d9())||!(!_0x449f3a[_0x42438b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42438b([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))||!_0x444a27())))));}function _0x53816f(){const _0x378f49=_0xd595b[_0x42438b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x378f49||0x0==_0x378f49[_0x42438b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1fd8d3}=new URL(window[_0x42438b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x378f49[_0x42438b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fd8d3))return!0x0;const _0x4868bc=_0x1fd8d3[_0x42438b([0x73,0x70,0x6c,0x69,0x74])](_0x42438b([0x2e]));return _0x378f49[_0x42438b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1bd13d=>_0x1bd13d[_0x42438b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42438b([0x2a])))[_0x42438b([0x6d,0x61,0x70])](_0xd723fb=>_0xd723fb[_0x42438b([0x73,0x70,0x6c,0x69,0x74])](_0x42438b([0x2e])))[_0x42438b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1067d8=>_0x1067d8[_0x42438b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4868bc[_0x42438b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42438b([0x6d,0x61,0x70])](_0x14cbf2=>Array(_0x4868bc[_0x42438b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x14cbf2[_0x42438b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x42438b([0x66,0x69,0x6c,0x6c])](_0x14cbf2[0x0]===_0x42438b([0x2a])?_0x42438b([0x2a]):'')[_0x42438b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x14cbf2))[_0x42438b([0x73,0x6f,0x6d,0x65])](_0x1f72b6=>_0x4868bc[_0x42438b([0x65,0x76,0x65,0x72,0x79])]((_0x4e2098,_0xe52e8e)=>_0x1f72b6[_0xe52e8e]===_0x4e2098||_0x1f72b6[_0xe52e8e]===_0x42438b([0x2a])));}function _0x2e5282(){return _0x9b5fd9&&_0x268ebc?new window[(_0x42438b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xdf5d1e,_0x458a6f)=>{_0x9b5fd9[_0x42438b([0x74,0x68,0x65,0x6e])](_0xdf5d1e,_0x458a6f),_0x268ebc[_0x42438b([0x74,0x68,0x65,0x6e])](_0x30fbe2=>{_0x30fbe2!=_0x42438b([0x56,0x61,0x6c,0x69,0x64])&&_0xdf5d1e(_0x30fbe2);},_0x458a6f);}):_0x9b5fd9||_0x268ebc||_0x42438b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x397141(_0x1668c1,_0x52ab31){return new window[(_0x42438b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe8844d=>{if(_0x3ecd29())return _0xe8844d(_0x42438b([0x56,0x61,0x6c,0x69,0x64]));_0xabf215(),_0x59cc2f[_0x42438b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x42438b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x58c7b6=!0x1;const _0x53fe10=_0x22b56d['uid']();function _0x3bc1d8(_0x4e57c9){return!!_0x4e57c9&&(typeof _0x4e57c9===_0x42438b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4e57c9===_0x42438b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4e57c9[_0x42438b([0x74,0x68,0x65,0x6e])]===_0x42438b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4e57c9[_0x42438b([0x63,0x61,0x74,0x63,0x68])]===_0x42438b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4dfd3c(_0x11dccc){_0x8c7c73(_0x11dccc)[_0x42438b([0x74,0x68,0x65,0x6e])](_0x32cfdb=>{if(!_0x32cfdb||_0x32cfdb[_0x42438b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x42438b([0x6f,0x6b]))return _0x42438b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x45048a(_0x1395e6(_0x53fe10+_0x52ab31))!=_0x32cfdb[_0x42438b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x42438b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x42438b([0x56,0x61,0x6c,0x69,0x64]);})[_0x42438b([0x74,0x68,0x65,0x6e])](_0x580494=>(_0x3b7915(),_0x580494),()=>{const _0x1a546a=_0x313058();return null==_0x1a546a?(_0x3b7915(),_0x42438b([0x56,0x61,0x6c,0x69,0x64])):_0x42438b(_0x947164-_0x1a546a>(0x4f03da6f^_0x46f2a0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x42438b([0x74,0x68,0x65,0x6e])](_0xe8844d)[_0x42438b([0x63,0x61,0x74,0x63,0x68])](()=>{_0xe8844d(_0x42438b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4cecdd=0x6b39b0ef^_0x46f2a0;function _0x3b7915(){const _0x3a58fb=_0x42438b([0x6c,0x6c,0x63,0x74,0x2d])+_0x45048a(_0x1395e6(_0x1668c1)),_0x17445b=_0x22e118(_0x45048a(window[_0x42438b([0x4d,0x61,0x74,0x68])][_0x42438b([0x63,0x65,0x69,0x6c])](_0x947164/_0x4cecdd)));window[_0x42438b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42438b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a58fb,_0x17445b);}function _0x313058(){const _0x12d55f=_0x42438b([0x6c,0x6c,0x63,0x74,0x2d])+_0x45048a(_0x1395e6(_0x1668c1)),_0x383035=window[_0x42438b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x42438b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x12d55f);return _0x383035?window[_0x42438b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22e118(_0x383035),0x10)*_0x4cecdd:null;}function _0x8c7c73(_0x2cbfee){return new window[(_0x42438b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x18a866,_0x5c2609)=>{_0x2cbfee[_0x42438b([0x74,0x68,0x65,0x6e])](_0x18a866,_0x5c2609),window[_0x42438b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5c2609,0x6b0e8aaf^_0x46f2a0);});}}_0x59cc2f[_0x42438b([0x6f,0x6e])](_0x42438b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1a1865,_0x513686)=>{if(_0x513686[0x0]!=_0x1668c1)return _0xe8844d(_0x42438b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x513686[0x1]={..._0x513686[0x1],[_0x42438b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x53fe10};},{[_0x42438b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42438b([0x68,0x69,0x67,0x68])}),_0x59cc2f[_0x42438b([0x6f,0x6e])](_0x42438b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f4f74=>{_0x3bc1d8(_0x4f4f74[_0x42438b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x58c7b6=!0x0,_0x4dfd3c(_0x4f4f74[_0x42438b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x42438b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x42438b([0x6c,0x6f,0x77])}),_0x1c33f4[_0x42438b([0x74,0x68,0x65,0x6e])](()=>{_0x58c7b6||_0xe8844d(_0x42438b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3ecd29(){return _0x59cc2f[_0x42438b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42438b([0x76,0x69,0x65,0x77])][_0x42438b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x42438b([0x61,0x75,0x74,0x6f]);}function _0xabf215(){_0x59cc2f[_0x42438b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x42438b([0x76,0x69,0x65,0x77])][_0x42438b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x42438b([0x61,0x75,0x74,0x6f]);}}function _0x4279bf(_0xcd8499){const _0x2b8605=[new window[(_0x42438b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26f389=>setTimeout(_0x26f389,0x6b0660a3^_0x46f2a0)),_0x1c33f4[_0x42438b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x42438b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x360462=>{let _0x54bc22=0x0;_0x59cc2f[_0x42438b([0x6d,0x6f,0x64,0x65,0x6c])][_0x42438b([0x6f,0x6e])](_0x42438b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x91a6ad,_0x3d339f)=>{_0x3d339f[0x0][_0x42438b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x54bc22++,_0x54bc22==(0x6b0f5b87^_0x46f2a0)&&(_0x360462(),_0x91a6ad[_0x42438b([0x6f,0x66,0x66])]());});}))];return window[_0x42438b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x42438b([0x72,0x61,0x63,0x65])](_0x2b8605)[_0x42438b([0x74,0x68,0x65,0x6e])](()=>_0xcd8499);}async function _0x147d2e(){await _0x1c33f4,_0x59cc2f[_0x42438b([0x6d,0x6f,0x64,0x65,0x6c])][_0x42438b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1d54a8,_0x59cc2f[_0x42438b([0x6d,0x6f,0x64,0x65,0x6c])][_0x42438b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1d54a8,_0x59cc2f[_0x42438b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x42438b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2749d9(){return window[_0x42438b([0x44,0x72,0x75,0x70,0x61,0x6c])];}function _0x444a27(){return window[_0x42438b([0x67,0x6c,0x6f,0x62])]&&window[_0x42438b([0x67,0x6c,0x6f,0x62])][_0x42438b([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x2d06ff(_0x5b0505){const _0x41a6a2=_0x49b1a7();_0x59cc2f[_0x41a6a2]=_0x42438b([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5b0505,_0x5b0505!=_0x42438b([0x56,0x61,0x6c,0x69,0x64])&&_0x147d2e();}function _0x49b1a7(){const _0x12d979=window[_0x42438b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x42438b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x42438b([0x6e,0x6f,0x77])]())[_0x42438b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x42438b([0x2e]),'');let _0x33ccf7=_0x42438b([0x67]);for(let _0x3a88d2=0x0;_0x3a88d2<_0x12d979[_0x42438b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a88d2+=0x2){let _0x4c984f=window[_0x42438b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12d979[_0x42438b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a88d2,_0x3a88d2+0x2));_0x4c984f>=_0x30f51b[_0x42438b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4c984f-=_0x30f51b[_0x42438b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x33ccf7+=_0x30f51b[_0x4c984f];}return _0x33ccf7;}function _0xa3c81e(){const _0xbfa931=_0xa30572[_0x42438b([0x73,0x70,0x6c,0x69,0x74])](_0x42438b([0x2e]));if(0x3!=_0xbfa931[_0x42438b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5c45f1(_0xbfa931[0x1]);function _0x5c45f1(_0x4b754c){const _0x3b5a62=_0x268de6(_0x4b754c);return _0x3b5a62&&_0x1d2460()?_0x3b5a62:null;function _0x1d2460(){const _0x58bec3=_0x3b5a62[_0x42438b([0x6a,0x74,0x69])],_0x350344=window[_0x42438b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58bec3[_0x42438b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58bec3[_0x42438b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x366068={..._0x3b5a62,[_0x42438b([0x6a,0x74,0x69])]:_0x58bec3[_0x42438b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x58bec3[_0x42438b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x366068[_0x42438b([0x76,0x63])],_0x1395e6(_0x366068)==_0x350344;}}}async function _0x122401(){let _0x6b9c18=!0x0;try{const _0x324731=_0xa30572[_0x42438b([0x73,0x70,0x6c,0x69,0x74])](_0x42438b([0x2e])),[_0x29687e,_0x42ffe9,_0x41f932]=_0x324731;return _0x1b93a2(_0x29687e),await _0x54693c(_0x29687e,_0x42ffe9,_0x41f932),_0x6b9c18;}catch{return!0x1;}function _0x1b93a2(_0x523cb5){const _0x164ee9=_0x268de6(_0x523cb5);_0x164ee9&&_0x164ee9[_0x42438b([0x61,0x6c,0x67])]==_0x42438b([0x45,0x53,0x32,0x35,0x36])||(_0x6b9c18=!0x1);}async function _0x54693c(_0xcbeba9,_0x48f32a,_0x3b1609){const _0x4627eb=window[_0x42438b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x42438b([0x66,0x72,0x6f,0x6d])](_0x502a73(_0x3b1609),_0x2188a9=>_0x2188a9[_0x42438b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x12417e=new window[(_0x42438b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x42438b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xcbeba9+_0x42438b([0x2e])+_0x48f32a),_0x48dca2=window[_0x42438b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x42438b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x48dca2)return;const _0x4f378c=await _0x48dca2[_0x42438b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x42438b([0x6a,0x77,0x6b]),_0x40b1bc,{[_0x42438b([0x6e,0x61,0x6d,0x65])]:_0x42438b([0x45,0x43,0x44,0x53,0x41]),[_0x42438b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x42438b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x42438b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x48dca2[_0x42438b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x42438b([0x6e,0x61,0x6d,0x65])]:_0x42438b([0x45,0x43,0x44,0x53,0x41]),[_0x42438b([0x68,0x61,0x73,0x68])]:{[_0x42438b([0x6e,0x61,0x6d,0x65])]:_0x42438b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4f378c,_0x4627eb,_0x12417e)||(_0x6b9c18=!0x1);}}function _0x268de6(_0x538b82){return _0x538b82[_0x42438b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x42438b([0x65,0x79]))?JSON[_0x42438b([0x70,0x61,0x72,0x73,0x65])](_0x502a73(_0x538b82)):null;}function _0x502a73(_0x4e4106){return window[_0x42438b([0x61,0x74,0x6f,0x62])](_0x4e4106[_0x42438b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x42438b([0x2b]))[_0x42438b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x42438b([0x2f])));}function _0x1395e6(_0x4c28ae){let _0x56f727=0x1505;function _0x527a55(_0xac9806){for(let _0x445b57=0x0;_0x445b57<_0xac9806[_0x42438b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x445b57++){const _0x414adb=_0xac9806[_0x42438b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x445b57);_0x56f727=(_0x56f727<<0x5)+_0x56f727+_0x414adb,_0x56f727&=_0x56f727;}}function _0x47e4e9(_0x511daf){Array[_0x42438b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x511daf)?_0x511daf[_0x42438b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x47e4e9):_0x511daf&&typeof _0x511daf==_0x42438b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x42438b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x511daf)[_0x42438b([0x73,0x6f,0x72,0x74])]()[_0x42438b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1ff75b,_0x5d545b])=>{_0x527a55(_0x1ff75b),_0x47e4e9(_0x5d545b);}):_0x527a55(window[_0x42438b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x511daf));}return _0x47e4e9(_0x4c28ae),_0x56f727>>>0x0;}function _0x45048a(_0x8ca5be){return _0x8ca5be[_0x42438b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x42438b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x42438b([0x30]));}function _0x22e118(_0x58f82a){return _0x58f82a[_0x42438b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x42438b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x42438b([0x6a,0x6f,0x69,0x6e])]('');}function _0x1d54a8(){}function _0x42438b(_0x55b4b1){return _0x55b4b1['map'](_0x218baa=>String['fromCharCode'](_0x218baa))['join']('');}_0x2d06ff(await _0x2e9d78());}(this);}['_createTemplateListView'](_0x543165,_0x50c52b){const {editor:_0x5db522}=this,_0x23d189=new TemplateListView(_0x543165);return _0x23d189['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x23d189['items']['addMany'](_0x50c52b['map']((_0x16207c,_0x24d670)=>{const _0x5307f3=new TemplateListItemView(_0x543165,_0x24d670),_0x2ca57d=new TemplateListButtonView(_0x543165,_0x16207c);return _0x5307f3['buttonView']=_0x2ca57d,_0x5307f3['children']['add'](_0x2ca57d),_0x5307f3['buttonView']['on']('execute',_0x457f61=>{_0x5db522['execute']('insertTemplate',_0x457f61['source']['templateDefinition']['data']),_0x5db522['editing']['view']['focus']();}),_0x5307f3;})),_0x23d189;}}class Template extends _0x22b56d['Plugin']{static get['requires'](){return[TemplateEditing,TemplateUI];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}class _0x43c820 extends _0x22b56d['Command']{['_enabledCommands'];constructor(_0x290045,_0x5531a6){super(_0x290045),this['_enabledCommands']=_0x5531a6,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 _0x549c9d of this['editor']['commands']['commands']())_0x549c9d['affectsData']&&!this['_enabledCommands']['has'](_0x549c9d)&&_0x549c9d['forceDisabled']('TrackChangesCommand');}['_enableCommands'](){for(const _0x2f49d7 of this['editor']['commands']['commands']())_0x2f49d7['affectsData']&&!this['_enabledCommands']['has'](_0x2f49d7)&&_0x2f49d7['clearForceDisabled']('TrackChangesCommand');}}class AcceptSuggestionCommand extends _0x22b56d['Command']{['_suggestions'];constructor(_0x349316,_0x4111c4){super(_0x349316),this['_suggestions']=_0x4111c4,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x2098ed){const _0x30e187=this['_suggestions']['get'](_0x2098ed);if(!_0x30e187)throw new _0x22b56d['CKEditorError']('track-changes-accept-suggestion-not-found',this);const _0x25f362=_0x30e187['getRanges']();this['editor']['model']['canEditAt'](_0x25f362)&&this['editor']['plugins']['get']('TrackChangesEditing')['acceptSuggestion'](_0x30e187);}}class DiscardSuggestionCommand extends _0x22b56d['Command']{['_suggestions'];constructor(_0x521bf0,_0xe2df78){super(_0x521bf0),this['_suggestions']=_0xe2df78,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x57040b){const _0x1d2cc5=this['_suggestions']['get'](_0x57040b);if(!_0x1d2cc5)throw new _0x22b56d['CKEditorError']('track-changes-discard-suggestion-not-found',this);const _0x583544=_0x1d2cc5['getRanges']();this['editor']['model']['canEditAt'](_0x583544)&&this['editor']['plugins']['get']('TrackChangesEditing')['discardSuggestion'](_0x1d2cc5);}}function _0x1c352e(_0x1aca14,_0x278e1c){let _0x1088cf='';return _0x1088cf+=_0x1aca14['split']('*')['map']((_0x560803,_0x5cb475)=>_0x5cb475%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+_0x3e78f6(_0x560803)+'</span>':_0x3e78f6(_0x560803))['join'](''),_0x278e1c&&(_0x1088cf+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x278e1c['value']+'\x22\x20title=\x22'+_0x278e1c['title']+'\x22></span>'),_0x1088cf;}function _0x3e78f6(_0x26d35d){const _0x47f780=document['createElement']('span');return _0x47f780['innerText']=_0x26d35d,_0x47f780['innerHTML'];}function _0x290554(_0x95f8c8){return _0x95f8c8['sort']((_0x22f623,_0xa39c74)=>'attribute'===_0x22f623['type']&&'attribute'!==_0xa39c74['type']?-0x1:'attribute'!==_0x22f623['type']&&'attribute'===_0xa39c74['type']?0x1:'deletion'==_0x22f623['type']&&'deletion'!=_0xa39c74['type']?-0x1:'deletion'!=_0x22f623['type']&&'deletion'==_0xa39c74['type']?0x1:0x0);}function _0x2d6281(_0xdc82c,_0x169a85){let _0x5183be,_0xa61c5=0x0;const _0x40b565=[],_0x484790=_0x169a85['schema'];for(;_0xa61c5<_0xdc82c['length'];){const _0x28d16e=_0xdc82c[_0xa61c5],_0x50feee=_0xdc82c[_0xa61c5+0x1];_0x5183be||(_0x5183be=_0x169a85['createPositionBefore'](_0x28d16e)),_0x14e3c3(_0x169a85,_0x28d16e,_0x50feee)||(_0x40b565['push'](_0x169a85['createRange'](_0x5183be,_0x484790['isObject'](_0x28d16e)?_0x169a85['createPositionAfter'](_0x28d16e):_0x169a85['createPositionAt'](_0x28d16e,'end'))),_0x5183be=null),_0xa61c5++;}return _0x40b565;}function _0x14e3c3(_0x2b135d,_0xfffc4f,_0x1f2738){if(!_0x1f2738)return!0x1;const _0x9f06d7=_0x2b135d['createPositionAfter'](_0xfffc4f),_0x4c76c6=_0x2b135d['createPositionBefore'](_0x1f2738);return _0x9f06d7['isTouching'](_0x4c76c6);}function _0x4a9431(_0x46c29d,_0x363906,_0xd5efb0){for(;_0xd5efb0['length'];){const _0x357d5d=_0xd5efb0['splice'](0x0,0x64);_0x46c29d['change'](()=>{for(const _0x3b36c9 of _0x357d5d)_0x3b36c9['isInContent']&&_0x363906['execute'](_0x3b36c9['id']);});}}class ExecuteOnAllSuggestionsCommand extends _0x22b56d['Command']{['_command'];['_suggestions'];constructor(_0x52c0b6,_0x5f5b2d,_0x10b085){super(_0x52c0b6),this['_command']=_0x5f5b2d,this['_suggestions']=_0x10b085,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x640f41=Array['from'](this['_suggestions']['values']())['some'](_0x252907=>_0x252907['isInContent']);this['isEnabled']=this['_command']['isEnabled']&&_0x640f41;}['execute'](){const _0x48883d=_0x290554(Array['from'](this['_suggestions']['values']()));for(const _0x15ee27 of _0x48883d){const _0x367ba4=_0x15ee27['getRanges']();if(!this['editor']['model']['canEditAt'](_0x367ba4))return;}_0x4a9431(this['editor']['model'],this['_command'],_0x48883d);}}class ExecuteOnSelectedSuggestionsCommand extends _0x22b56d['Command']{['_command'];['_suggestions'];['_selectedSuggestions'];constructor(_0x432c97,_0x1430d4,_0xd831c2){super(_0x432c97),this['_command']=_0x1430d4,this['_suggestions']=_0xd831c2,this['_selectedSuggestions']=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x5ec334=this['editor']['model']['document']['selection'],_0xc6865b=Array['from'](this['_suggestions']['values']());this['_selectedSuggestions']=function(_0x4a0d82,_0x3d6004){const _0x560076=Array['from'](_0x4a0d82['getRanges']()),_0x503e48=new Set();for(const _0x42179b of _0x3d6004)if(_0x42179b['isInContent']){for(const _0x4897ec of _0x560076)for(const _0x3d2fe1 of _0x42179b['getRanges']())(_0x4897ec['isIntersecting'](_0x3d2fe1)||_0x4a0d82['isCollapsed']&&!_0x42179b['isMultiRange']&&_0x42179b['next']&&_0x3d2fe1['end']['isTouching'](_0x4897ec['start']))&&_0x503e48['add'](_0x42179b);}return _0x503e48;}(_0x5ec334,_0xc6865b),this['isEnabled']=this['_command']['isEnabled']&&!!this['_selectedSuggestions']['size'];}['execute'](){const _0x5bcfde=_0x290554(Array['from'](this['_selectedSuggestions']));for(const _0x1d78f8 of _0x5bcfde){const _0x11de97=_0x1d78f8['getRanges']();if(!this['editor']['model']['canEditAt'](_0x11de97))return;}_0x4a9431(this['editor']['model'],this['_command'],_0x5bcfde);}}class Suggestion extends/* #__PURE__ -- @preserve */
_0x22b56d['ObservableMixin'](){['id'];['type'];['subType'];['author'];['creator'];['isExternal'];['data'];['createdAt'];['_originalSuggestionId'];['_isDataLoaded']=!0x1;['_model'];['_onAccept'];['_onDiscard'];['_onAttributesChange'];['_markerNames'];constructor(_0x52294d,_0x28110e){super(),this['id']=_0x28110e['id'],this['type']=_0x28110e['type'],this['subType']=_0x28110e['subType']||null,this['author']=_0x28110e['author'],this['creator']=_0x28110e['creator']||_0x28110e['author'],this['isExternal']=Boolean(_0x28110e['attributes']&&_0x28110e['attributes']['@external']),this['data']=null,this['_originalSuggestionId']=_0x28110e['originalSuggestionId']||null,this['_model']=_0x52294d,this['_onAccept']=_0x28110e['onAccept'],this['_onDiscard']=_0x28110e['onDiscard'],this['_onAttributesChange']=_0x28110e['onAttributesChange'],this['_markerNames']=new Set(),this['createdAt']=null,this['set']('authoredAt',null),this['set']('attributes',_0x28110e['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 _0x4e1a6a=this;for(;_0x4e1a6a['previous'];)_0x4e1a6a=_0x4e1a6a['previous'];return _0x4e1a6a;}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'](_0x249106){this['_markerNames']['add'](_0x249106);}['getMarkerNames'](){return Array['from'](this['_markerNames']);}['getMarkers'](){return this['getMarkerNames']()['map'](_0x5020e1=>this['_model']['markers']['get'](_0x5020e1))['filter'](_0x14f454=>_0x14f454);}['getFirstMarker'](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this['_model']['change'](_0x8ae27=>{for(const _0x17e183 of this['getMarkers']())_0x8ae27['removeMarker'](_0x17e183);}),this['_markerNames']['clear']();}['removeMarker'](_0x553e6d){this['_model']['change'](_0xdb2962=>{_0xdb2962['removeMarker'](_0x553e6d);}),this['_markerNames']['delete'](_0x553e6d);}['addRange'](_0x1fcf97){const _0xdd94a7='suggestion:'+this['type']+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+Suggestion['getMultiRangeId']();this['addMarkerName'](_0xdd94a7),this['_model']['change'](_0x1ece60=>{_0x1ece60['addMarker'](_0xdd94a7,{'range':_0x1fcf97,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x5d93bb){for(const _0x54085d of this['getRanges']())if(_0x54085d['isIntersecting'](_0x5d93bb))return!0x0;return!0x1;}['getRanges'](){return this['getMarkers']()['map'](_0x133e34=>_0x133e34['getRange']());}['getItems'](){return this['getRanges']()['reduce']((_0x4be505,_0x2c438c)=>[..._0x4be505,..._0x2c438c['getItems']()],[]);}['getFirstRange'](){return this['getFirstMarker']()?.['getRange']()||null;}['getContainedElement'](){const _0x40e189=this['getRanges']();if(0x1!=_0x40e189['length'])return null;const _0x1df681=_0x40e189[0x0],_0x463265=_0x1df681['start']['nodeAfter'],_0x4e7e0e=_0x1df681['end']['nodeBefore'];return _0x463265 instanceof _0x22b56d['ModelElement']?_0x463265!=_0x4e7e0e?null:_0x463265: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 _0xa370bb=[];let _0x1972eb=this['head'];for(;_0x1972eb;)_0xa370bb['push'](_0x1972eb),_0x1972eb=_0x1972eb['next'];return _0xa370bb;}['setAttribute'](_0x403bfd,_0x3f5e6f){const _0x212ca7=_0xed69dc(this['attributes']);st(_0x212ca7,_0x403bfd,_0x3f5e6f),dt(_0x212ca7,this['attributes'])||(this['attributes']=_0x212ca7,this['_onAttributesChange'](_0x212ca7));}['removeAttribute'](_0x174cb6){const _0x519c8b=_0xed69dc(this['attributes']);tt(_0x519c8b,_0x174cb6),dt(_0x519c8b,this['attributes'])||(this['attributes']=_0x519c8b,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 _0x22b56d['uid']()['substr'](0x1,0x5);}}function tx(_0x3be836,_0x1fcf50,_0x3f37ca){const _0x4daaf3=_0x3be836['t'],t=_0x3be836['t'];switch(_0x1fcf50){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',_0x3f37ca);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x3f37ca);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x3f37ca);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x3f37ca);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x3f37ca);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',_0x3f37ca);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x3f37ca);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',_0x3f37ca);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x3f37ca);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x3f37ca);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x3f37ca);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x3f37ca);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x3f37ca);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0x3f37ca);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x3f37ca);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x3f37ca);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x3f37ca);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x3f37ca);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x3f37ca);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x3f37ca);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x3f37ca);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x3f37ca);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x3f37ca);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x3f37ca);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0x3f37ca);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'},_0x3f37ca);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0x3f37ca);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0x3f37ca);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x3f37ca);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x3f37ca);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x3f37ca);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x3f37ca);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x3f37ca);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'},_0x3f37ca);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x3f37ca);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x3f37ca);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x3f37ca);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x3f37ca);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x3f37ca);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x3f37ca);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'},_0x3f37ca);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x3f37ca);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x3f37ca);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'},_0x3f37ca);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x3f37ca);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'},_0x3f37ca);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x3f37ca);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0x3f37ca);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0x3f37ca);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0x3f37ca);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x3f37ca);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'},_0x3f37ca);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0x3f37ca);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 _0x4daaf3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x3f37ca);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0x4daaf3({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x3f37ca);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x3f37ca);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'},_0x3f37ca);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'},_0x3f37ca);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'},_0x3f37ca);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x1fcf50;}}class SuggestionDescriptionFactory{['_customCallbacks'];['_itemLabels'];['_itemLabelsCallbacks'];['_attributeLabels'];['_schema'];['_locale'];constructor(_0x5159ae,_0xbc8c9e){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this['_itemLabelsCallbacks']=[],this['_attributeLabels']=new Map(),this['_schema']=_0x5159ae,this['_locale']=_0xbc8c9e;}['getDescriptions'](_0x371b37){const _0x5af5bf=[],_0x593121=new Set(),_0x4beac7=new Set();for(let _0x1b5586=0x0;_0x1b5586<_0x371b37['length'];_0x1b5586++){const _0x5ea72d=_0x371b37[_0x1b5586];if(!_0x5ea72d['isInContent'])continue;const _0x1ddeec=this['_handleCustomCallbackDescription'](_0x5ea72d);if(_0x1ddeec){if(null!=_0x5ea72d['subType']){if(_0x593121['has'](_0x5ea72d['subType']))continue;_0x593121['add'](_0x5ea72d['subType']);}_0x5af5bf['push'](_0x1ddeec);}else{if('attribute'==_0x5ea72d['type']){const _0x4300fe=_0x5ea72d['data']['key'];if(_0x4beac7['has'](_0x4300fe))continue;_0x4beac7['add'](_0x5ea72d['data']['key']),_0x4300fe==_0x3f217c?this['_handleRenameSuggestionDescription'](_0x5af5bf,_0x5ea72d):this['_handleAttributeSuggestionDescription'](_0x5af5bf,_0x5ea72d);continue;}'insertion'!=_0x5ea72d['type']&&'deletion'!=_0x5ea72d['type']||this['_handleInsertRemoveSuggestionDescription'](_0x5af5bf,_0x5ea72d,_0x371b37[_0x1b5586+0x1]);}}return this['_resolveDescriptionItems'](_0x5af5bf);}['registerDescriptionCallback'](_0x4e9868){this['_customCallbacks']['push'](_0x4e9868);}['registerElementLabel'](_0x5a35b7,_0x3c8674,_0x5e4a2b=_0x22b56d['priorities']['normal']){'function'==typeof _0x5a35b7?_0x22b56d['insertToPriorityArray'](this['_itemLabelsCallbacks'],{'matchingCallback':_0x5a35b7,'label':_0x3c8674,'priority':_0x5e4a2b}):this['_itemLabels']['set'](_0x5a35b7,_0x3c8674);}['registerAttributeLabel'](_0x9e426c,_0x43f3ab){this['_attributeLabels']['set'](_0x9e426c,_0x43f3ab);}['getItemLabel'](_0x36a79e,_0x561639=0x1){let _0x32bf31;for(const _0x48ce53 of this['_itemLabelsCallbacks'])if(_0x48ce53['matchingCallback'](_0x36a79e)){_0x32bf31=_0x48ce53['label'];break;}return _0x32bf31||(_0x32bf31=this['_itemLabels']['get'](_0x36a79e['name'])),_0x32bf31?_0x32bf31(_0x561639):0x1!==_0x561639?_0x561639+'\x20'+_0x36a79e['name']+'s':''+_0x36a79e['name'];}['_addDescriptionItems'](_0x4cf452,_0x5181d3){const _0x888ad9=_0x5181d3['getFirstRange']()['getWalker'](),_0x2da0dd='insertion'==_0x5181d3['type']?'add':'remove';for(const _0x119a6e of _0x888ad9){const _0xd428f1=_0x119a6e['item'],_0x4b1180=_0x4cf452[_0x4cf452['length']-0x1];if(_0xd428f1['is']('$textProxy'))_0x4b1180&&_0x4b1180['type']['indexOf']('Container')>-0x1&&_0x4cf452['pop'](),_0x4b1180&&'text'==_0x4b1180['type']?_0x4b1180[_0x2da0dd]+=_0xd428f1['data']:_0x4cf452['push']({'type':'text','add':'add'==_0x2da0dd?_0xd428f1['data']:'','remove':'remove'==_0x2da0dd?_0xd428f1['data']:''});else{if(this['_schema']['isObject'](_0xd428f1)){const _0x199730=_0xd428f1;if(_0x4b1180&&_0x4b1180['type']['indexOf']('Container')>-0x1&&_0x4cf452['pop'](),'elementEnd'==_0x119a6e['type'])continue;_0x4b1180&&_0x4b1180['type']==_0x2da0dd+'Object'&&_0x4b1180['element']['name']==_0x199730['name']?_0x4b1180['quantity']++:_0x4cf452['push']({'type':_0x2da0dd+'Object','element':_0x199730,'quantity':0x1}),_0x888ad9['skip'](_0x5020b1=>!('elementEnd'==_0x5020b1['type']&&_0x5020b1['item']==_0xd428f1));}else{if(this['_schema']['checkChild'](_0xd428f1,'$text')||_0xd428f1['is']('element','softBreak')){const _0x21ddce=_0xd428f1;if('add'==_0x2da0dd&&'elementStart'==_0x119a6e['type']||'remove'==_0x2da0dd&&'elementEnd'==_0x119a6e['type'])continue;if(_0x4b1180&&-0x1==_0x4b1180['type']['indexOf']('Container')){'text'==_0x4b1180['type']&&(_0x4b1180[_0x2da0dd]+='\x0a');continue;}let _0x2bae8d;if(_0x2bae8d='add'==_0x2da0dd?_0x21ddce['nextSibling']&&!this['_schema']['isObject'](_0x21ddce['nextSibling'])?_0x21ddce['nextSibling']:null:_0x21ddce['previousSibling']&&!this['_schema']['isObject'](_0x21ddce['previousSibling'])?_0x21ddce['previousSibling']:null,_0x21ddce['isEmpty']||_0x2bae8d&&_0x2bae8d['isEmpty']){const _0x15690b=_0x2bae8d&&_0x2bae8d['isEmpty']?_0x2bae8d:_0x21ddce;_0x4b1180&&_0x4b1180['type']==_0x2da0dd+'EmptyContainer'&&_0x4b1180['element']['name']==_0x15690b['name']?_0x4b1180['quantity']++:_0x4cf452['push']({'type':_0x2da0dd+'EmptyContainer','element':_0x15690b,'quantity':0x1});}else _0x4cf452['push']({'type':_0x2da0dd+'Container','element':_0x21ddce});}}}}}['_resolveDescriptionItems'](_0x37c7f8){const _0x23c6a4=this['_locale'],_0x45d8c5=[],_0x809f81=[],_0x4d77e7=[];for(const _0x485739 of _0x37c7f8)switch(_0x485739['type']){case'text':if(_0x485739['add']=_0x485739['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x485739['remove']=_0x485739['remove']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),''!=_0x485739['add']&&''!=_0x485739['remove']){_0x45d8c5['push']({'type':'replace','content':tx(_0x23c6a4,'REPLACE_TEXT',['\x22'+_0x485739['remove']+'\x22','\x22'+_0x485739['add']+'\x22'])});continue;}if(null!=_0x485739['add']['match'](/^ +$/)){_0x45d8c5['push']({'type':'insertion','content':tx(_0x23c6a4,'*Insert:*\x20%0',tx(_0x23c6a4,'ELEMENT_SPACE',_0x485739['add']['length']))});continue;}if(null!=_0x485739['remove']['match'](/^ +$/)){_0x45d8c5['push']({'type':'deletion','content':tx(_0x23c6a4,'*Remove:*\x20%0',tx(_0x23c6a4,'ELEMENT_SPACE',_0x485739['remove']['length']))});continue;}if(''!=_0x485739['add']){_0x45d8c5['push']({'type':'insertion','content':tx(_0x23c6a4,'*Insert:*\x20%0','\x22'+_0x485739['add']+'\x22')});continue;}_0x45d8c5['push']({'type':'deletion','content':tx(_0x23c6a4,'*Remove:*\x20%0','\x22'+_0x485739['remove']+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x45d8c5['push']({'type':'insertion','content':tx(_0x23c6a4,'*Insert:*\x20%0',this['getItemLabel'](_0x485739['element'],_0x485739['quantity']))});continue;case'removeEmptyContainer':case'removeObject':_0x45d8c5['push']({'type':'deletion','content':tx(_0x23c6a4,'*Remove:*\x20%0',this['getItemLabel'](_0x485739['element'],_0x485739['quantity']))});continue;case'addContainer':_0x45d8c5['push']({'type':'insertion','content':tx(_0x23c6a4,'*Split:*\x20%0',this['getItemLabel'](_0x485739['element'],_0x485739['quantity']))});continue;case'removeContainer':_0x45d8c5['push']({'type':'deletion','content':tx(_0x23c6a4,'*Merge:*\x20%0',this['getItemLabel'](_0x485739['element'],_0x485739['quantity']))});continue;case'addFormat':_0x809f81['push'](_0x485739['key']);continue;case'removeFormat':_0x4d77e7['push'](_0x485739['key']);continue;default:_0x45d8c5['push'](_0x485739);}if(_0x809f81['length']){const _0x5d930b=_0x809f81['map'](_0x2bd8ab=>this['_attributeLabels']['has'](_0x2bd8ab)?this['_attributeLabels']['get'](_0x2bd8ab):_0x2bd8ab)['join'](',\x20');_0x45d8c5['push']({'type':'format','content':tx(this['_locale'],'*Set\x20format:*\x20%0',_0x5d930b)});}if(_0x4d77e7['length']){const _0x11d6c7=_0x4d77e7['map'](_0x140a4a=>this['_attributeLabels']['has'](_0x140a4a)?this['_attributeLabels']['get'](_0x140a4a):_0x140a4a)['join'](',\x20');_0x45d8c5['push']({'type':'format','content':tx(this['_locale'],'*Remove\x20format:*\x20%0',_0x11d6c7)});}return _0x45d8c5;}['_handleCustomCallbackDescription'](_0x3ec19f){for(const _0x4be2c0 of this['_customCallbacks']){const _0x495405=_0x4be2c0(_0x3ec19f);if(_0x495405&&'type'in _0x495405)return _0x495405;}}['_handleAttributeSuggestionDescription'](_0x1ecf15,_0x3b8289){const _0x27d346=_0x3b8289['data'],_0x14f093=void 0x0===_0x27d346['newValue']?'removeFormat':'addFormat';_0x1ecf15['push']({'type':_0x14f093,'key':_0x27d346['key']});}['_handleRenameSuggestionDescription'](_0x3ea2a2,_0x5a774c){_0x3ea2a2['push']({'type':'format','content':tx(this['_locale'],'*Change\x20to:*\x20%0',this['getItemLabel'](_0x5a774c['getFirstRange']()['start']['nodeAfter'],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x55ca9f,_0xc1f32c,_0x2d911f){if(this['_addDescriptionItems'](_0x55ca9f,_0xc1f32c),_0x2d911f&&_0x2d911f['getFirstRange']()&&!_0xc1f32c['getFirstRange']()['end']['isEqual'](_0x2d911f['getFirstRange']()['start'])){const _0x21565f=_0x55ca9f[_0x55ca9f['length']-0x1],_0x2f9cac='insertion'==_0xc1f32c['type']?'add':'remove';_0x21565f&&'text'==_0x21565f['type']&&(_0x21565f[_0x2f9cac]+='\x0a');}}}class TrackChangesAIAssistant extends _0x22b56d['Plugin']{['afterInit'](){const _0x221a01=this['editor'],_0xb3d3a9=_0x221a01['plugins']['get']('TrackChangesEditing');_0x221a01['commands']['get']('showAIAssistant')&&_0xb3d3a9['enableCommand']('showAIAssistant');}}class _0x425d3e extends _0x22b56d['Plugin']{['afterInit'](){const _0xbec63a=this['editor'],_0xa8717a=_0xbec63a['plugins']['get']('TrackChangesEditing');_0xbec63a['commands']['get']('toggleAi')&&_0xa8717a['enableCommand']('toggleAi');}}class TrackChangesAIQuickActions extends _0x22b56d['Plugin']{['afterInit'](){const _0xb5a955=this['editor'],_0x806066=_0xb5a955['plugins']['get']('TrackChangesEditing');_0xb5a955['commands']['get']('aiQuickAction')&&_0x806066['enableCommand']('aiQuickAction');}}class TrackChangesAlignment extends _0x22b56d['Plugin']{['afterInit'](){const _0xb27601=this['editor'],_0x5f49a0=_0xb27601['locale'];if(!_0xb27601['plugins']['has']('AlignmentEditing'))return;const _0x29b599=_0xb27601['plugins']['get']('TrackChangesEditing');_0x29b599['enableDefaultAttributesIntegration']('alignment'),_0x29b599['descriptionFactory']['registerAttributeLabel']('alignment',tx(_0x5f49a0,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x2453bd=this['editor'],_0xf6bf83=_0x2453bd['locale'];_0x2453bd['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4dd772=>{if('formatBlock'!=_0x4dd772['type'])return;const {data:_0x51bf79}=_0x4dd772;if(_0x51bf79&&'alignment'==_0x51bf79['commandName']){const _0x1db611=_0x51bf79['commandParams'][0x0]['value'];return{'type':'format','content':tx(_0xf6bf83,'*Format:*\x20%0',function(_0x2420c2){switch(_0x2420c2){case'left':return tx(_0xf6bf83,'FORMAT_ALIGN_TO_LEFT');case'right':return tx(_0xf6bf83,'FORMAT_ALIGN_TO_RIGHT');case'center':return tx(_0xf6bf83,'FORMAT_ALIGN_TO_CENTER');case'justify':return tx(_0xf6bf83,'FORMAT_JUSTIFY_TEXT');}}(_0x1db611))};}});}}const _0x110b22=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];class TrackChangesBasicStyles extends _0x22b56d['Plugin']{['afterInit'](){const _0x408bcf=this['editor'],_0x133ad6=_0x408bcf['plugins']['get']('TrackChangesEditing'),_0x2c287a=_0x408bcf['locale'];for(const _0x23b1eb of _0x110b22){if(!_0x408bcf['plugins']['has'](_0x23b1eb))continue;const _0x3edc41=_0x23b1eb['slice'](0x0,-0x7)['toLowerCase'](),_0x1c9860='FORMAT_'+_0x3edc41['toUpperCase']();_0x133ad6['enableDefaultAttributesIntegration'](_0x3edc41),_0x133ad6['descriptionFactory']['registerAttributeLabel'](_0x3edc41,tx(_0x2c287a,_0x1c9860));}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x5d48f3=this['editor'],_0x3311f0=_0x5d48f3['locale'],_0x3f0608=_0x5d48f3['plugins']['get']('TrackChangesEditing');function _0x182bb7(_0x3532f1,_0x5ba9ff){_0x3f0608['descriptionFactory']['registerDescriptionCallback'](_0x25b79b=>{if('formatInline'!=_0x25b79b['type'])return;const {data:_0x5b646f}=_0x25b79b;return _0x5b646f&&_0x5b646f['commandName']===_0x3532f1?_0x5b646f['commandParams'][0x0]['forceValue']?{'type':'format','content':tx(_0x3311f0,'*Format:*\x20%0',_0x5ba9ff)}:{'type':'format','content':tx(_0x3311f0,'*Remove\x20format:*\x20%0',_0x5ba9ff)}:void 0x0;});}_0x182bb7('bold',tx(_0x3311f0,'FORMAT_BOLD')),_0x182bb7('italic',tx(_0x3311f0,'FORMAT_ITALIC')),_0x182bb7('underline',tx(_0x3311f0,'FORMAT_UNDERLINE')),_0x182bb7('code',tx(_0x3311f0,'FORMAT_CODE')),_0x182bb7('strikethrough',tx(_0x3311f0,'FORMAT_STRIKETHROUGH')),_0x182bb7('subscript',tx(_0x3311f0,'FORMAT_SUBSCRIPT')),_0x182bb7('superscript',tx(_0x3311f0,'FORMAT_SUPERSCRIPT'));}}class TrackChangesBlockQuote extends _0x22b56d['Plugin']{['afterInit'](){const _0x5550b0=this['editor'],_0x8fb87e=_0x5550b0['locale'];if(!_0x5550b0['plugins']['has']('BlockQuoteEditing'))return;const _0x4b3bf5=_0x5550b0['plugins']['get']('TrackChangesEditing'),_0x720ebd=this['editor']['commands']['get']('blockQuote');_0x4b3bf5['enableCommand']('blockQuote',(_0x37db28,_0x4b0351={})=>{const _0xddcd9d=this['editor']['model']['document']['selection'],_0xcbd77c=_0x4b0351&&void 0x0!==_0x4b0351['forceValue']?_0x4b0351['forceValue']:!_0x720ebd['value'];let _0x55d2f9=[];if(_0xcbd77c){const _0x23f715=Array['from'](_0xddcd9d['getSelectedBlocks']())['filter'](_0x2fc287=>_0x3b63d8(_0x2fc287)||function(_0x367aa7,_0x1ce273){const _0x11c02d=_0x1ce273['checkChild'](_0x367aa7['parent'],'blockQuote'),_0x425ebf=_0x1ce273['checkChild'](['$root','blockQuote'],_0x367aa7);return _0x11c02d&&_0x425ebf;}(_0x2fc287,this['editor']['model']['schema']));_0x55d2f9=_0x2d6281(_0x23f715,_0x5550b0['model']);}else{const _0x36c6e1=Array['from'](_0xddcd9d['getSelectedBlocks']())['filter'](_0x15a093=>_0x3b63d8(_0x15a093));_0x55d2f9=_0x2d6281(_0x36c6e1,_0x5550b0['model']);}_0x5550b0['model']['change'](()=>{for(const _0x355e97 of _0x55d2f9)_0x4b3bf5['markBlockFormat'](_0x355e97,{'commandName':'blockQuote','commandParams':[{'forceValue':_0xcbd77c}]});});}),_0x4b3bf5['descriptionFactory']['registerDescriptionCallback'](_0x4b9d5b=>{const {data:_0x2ca98a}=_0x4b9d5b;if(_0x2ca98a&&'blockQuote'==_0x2ca98a['commandName']){const _0x34eff1=tx(_0x8fb87e,'ELEMENT_BLOCK_QUOTE');return _0x2ca98a['commandParams'][0x0]['forceValue']?{'type':'format','content':tx(_0x8fb87e,'*Set\x20format:*\x20%0',_0x34eff1)}:{'type':'format','content':tx(_0x8fb87e,'*Remove\x20format:*\x20%0',_0x34eff1)};}});}}function _0x3b63d8(_0x234daa){return'blockQuote'==_0x234daa['parent']['name'];}class _0x558f53 extends _0x22b56d['Plugin']{['afterInit'](){const _0x1067a3=this['editor'],_0x5a0968=_0x1067a3['locale'],_0x211e64=_0x1067a3['plugins']['get']('TrackChangesEditing');_0x1067a3['plugins']['has']('BookmarkEditing')&&(_0x211e64['enableCommand']('insertBookmark'),_0x211e64['enableDefaultAttributesIntegration']('updateBookmark'),_0x211e64['descriptionFactory']['registerDescriptionCallback'](_0x21da00=>{if('insertion'!=_0x21da00['type']&&'deletion'!=_0x21da00['type']&&'attribute'!=_0x21da00['type'])return;const _0xc6afde=_0x21da00['getContainedElement']();if(null==_0xc6afde)return;if(!_0xc6afde['is']('element','bookmark'))return;const _0x5f3e53=_0xc6afde['getAttribute']('bookmarkId');if('insertion'==_0x21da00['type'])return{'type':'insertion','content':tx(_0x5a0968,'*Insert:*\x20%0','\x22'+_0x5f3e53+'\x22\x20'+tx(_0x5a0968,'ELEMENT_BOOKMARK'))};if('deletion'==_0x21da00['type'])return{'type':'deletion','content':tx(_0x5a0968,'*Remove:*\x20%0','\x22'+_0x5f3e53+'\x22\x20'+tx(_0x5a0968,'ELEMENT_BOOKMARK'))};const {data:_0x4c4c17}=_0x21da00;if(!_0x4c4c17||'bookmarkId'!=_0x4c4c17['key'])return;return{'type':'format','content':tx(_0x5a0968,'*Set\x20bookmark:*\x20%0','\x22'+_0x4c4c17['newValue']+'\x22')};}));}}class _0x51f9a4 extends _0x22b56d['Plugin']{['afterInit'](){const _0x508ec5=this['editor'];_0x508ec5['plugins']['has']('CaseChange')&&(_0x508ec5['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseUpper'),_0x508ec5['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseLower'),_0x508ec5['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseTitle'));}}class _0x57d9c2 extends _0x22b56d['Plugin']{['afterInit'](){const _0x46873f=this['editor'];_0x46873f['commands']['get']('ckbox')&&_0x46873f['plugins']['get']('TrackChangesEditing')['enableCommand']('ckbox');}}class _0x4d8140 extends _0x22b56d['Plugin']{['afterInit'](){const _0x1d6112=this['editor'];if(!_0x1d6112['plugins']['has']('CodeBlock'))return;const _0x572ec4=_0x1d6112['plugins']['get']('TrackChangesEditing'),_0x143779=_0x1d6112['locale'],_0x18a46e=_0x1d6112['config']['get']('codeBlock')['languages'],_0x19a3bc=_0x1d6112['commands']['get']('codeBlock');_0x572ec4['enableCommand']('indentCodeBlock'),_0x572ec4['enableCommand']('outdentCodeBlock'),_0x572ec4['enableCommand']('codeBlock',(_0x5eef77,_0x4c1b77={})=>{const _0x219e9b=_0x1d6112['model'],_0x406e36=_0x1d6112['model']['document']['selection'],_0x552644=_0x4c1b77&&void 0x0!==_0x4c1b77['forceValue']?_0x4c1b77['forceValue']:!_0x19a3bc['value'];let _0x186021;_0x4c1b77['language']||(_0x4c1b77['language']=_0x18a46e[0x0]['language']),_0x186021=_0x552644?Array['from'](_0x406e36['getSelectedBlocks']())['filter'](_0x126506=>_0x45474a(_0x126506)||function(_0xb4fce7,_0x1a234a){if(_0xb4fce7['is']('rootElement')||_0x1a234a['isLimit'](_0xb4fce7))return!0x1;return _0x1a234a['checkChild'](_0xb4fce7['parent'],'codeBlock');}(_0x126506,_0x219e9b['schema'])):Array['from'](_0x406e36['getSelectedBlocks']())['filter'](_0x3b9dd7=>_0x45474a(_0x3b9dd7));const _0x5d9ed8=_0x2d6281(_0x186021,_0x219e9b);_0x219e9b['change'](()=>{for(const _0x552134 of _0x5d9ed8)_0x572ec4['markBlockFormat'](_0x552134,{'commandName':'codeBlock','commandParams':[{..._0x4c1b77,'forceValue':_0x552644}],'formatGroupId':'blockName'});});}),(_0x572ec4['descriptionFactory']['registerElementLabel']('codeBlock',_0x21c929=>tx(_0x143779,'ELEMENT_CODE_BLOCK',_0x21c929)),_0x572ec4['descriptionFactory']['registerDescriptionCallback'](_0x249307=>{if('formatBlock'!=_0x249307['type'])return;const _0x5bd619=_0x143779['t'],{data:_0x1c0e55}=_0x249307;if(!_0x1c0e55||'codeBlock'!=_0x1c0e55['commandName'])return;const _0x14626f=_0x1c0e55['commandParams'][0x0]['language'],_0xb02cfa=_0x18a46e['find'](_0x399d71=>_0x399d71['language']===_0x14626f)['label'],_0x41837b=_0x5bd619(_0xb02cfa)['toLowerCase']();return _0x1c0e55['commandParams'][0x0]['forceValue']?{'type':'format','content':tx(_0x143779,'*Set\x20format:*\x20%0',tx(_0x143779,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x41837b+')')}:{'type':'format','content':tx(_0x143779,'*Remove\x20format:*\x20%0',tx(_0x143779,'ELEMENT_CODE_BLOCK',0x1))};}));}}function _0x45474a(_0x407c26){return'codeBlock'==_0x407c26['name'];}class TrackChangesComments extends _0x22b56d['Plugin']{['afterInit'](){const _0x2c3a64=this['editor'];if(!_0x2c3a64['plugins']['has']('CommentsEditing'))return;_0x2c3a64['plugins']['get']('TrackChangesEditing')['enableCommand']('addCommentThread');}}class TrackChangesDeleteCommand extends _0x22b56d['Plugin']{static get['requires'](){return[_0x22b56d['Delete']];}['init'](){const _0x386a88=this['editor'],_0x4b2f6a=_0x386a88['plugins']['get']('TrackChangesEditing');_0x4b2f6a['enableCommand']('delete');const _0x30faa1=_0x386a88['commands']['get']('deleteForward');_0x4b2f6a['enableCommand']('deleteForward',(_0x4ef150,_0x36dcbe={})=>{const _0x14e302=_0x386a88['model']['createSelection'](_0x386a88['model']['document']['selection']);_0x14e302['isCollapsed']&&_0x386a88['model']['modifySelection'](_0x14e302,{'direction':'forward','unit':_0x36dcbe['unit']});const _0x4a6af1=_0x14e302['getFirstRange'](),_0x4cf8c7=_0x22b56d['ModelLiveRange']['fromRange'](_0x4a6af1);let _0x3d3913;_0x4ef150(_0x36dcbe),_0x3d3913='$graveyard'==_0x4cf8c7['root']['rootName']?_0x386a88['model']['createRange'](_0x4a6af1['start']):_0x386a88['model']['createRange'](_0x4cf8c7['start'],_0x4cf8c7['end']),_0x4cf8c7['detach'](),_0x386a88['model']['enqueueChange'](_0x30faa1['buffer']['batch'],_0x2d5b04=>{_0x30faa1['buffer']['lock'](),_0x2d5b04['setSelection'](_0x2d5b04['createRange'](_0x3d3913['end'])),_0x30faa1['buffer']['unlock']();});});}}class TrackChangesList extends _0x22b56d['Plugin']{['afterInit'](){const _0x5dbf2f=this['editor'];if(!_0x5dbf2f['plugins']['has']('ListEditing'))return;const _0x6889df=_0x5dbf2f['locale'],_0x114c2a=_0x5dbf2f['plugins']['get']('TrackChangesEditing'),_0xbaf1d0=_0x5dbf2f['plugins']['has']('TodoListEditing'),_0x11afe2=!!_0x5dbf2f['config']['get']('list.multiBlock');function _0x5d89a1(_0x215028){return{'type':'format','content':''+tx(_0x6889df,'*Set\x20format:*\x20%0',_0x215028)};}function _0x49a9a0(_0x1dfedd){return{'type':'format','content':''+tx(_0x6889df,'*Remove\x20format:*\x20%0',_0x1dfedd)};}_0x114c2a['enableDefaultAttributesIntegration']('numberedList'),_0x114c2a['enableDefaultAttributesIntegration']('bulletedList'),_0x114c2a['enableDefaultAttributesIntegration']('customNumberedList'),_0x114c2a['enableDefaultAttributesIntegration']('customBulletedList'),_0x114c2a['enableDefaultAttributesIntegration']('indentList'),_0x114c2a['enableDefaultAttributesIntegration']('outdentList'),_0x114c2a['enableDefaultAttributesIntegration']('splitListItemAfter'),_0x114c2a['enableDefaultAttributesIntegration']('splitListItemBefore'),_0x11afe2&&(_0x114c2a['enableDefaultAttributesIntegration']('mergeListItemBackward'),_0x114c2a['enableDefaultAttributesIntegration']('mergeListItemForward')),_0xbaf1d0&&(_0x114c2a['enableDefaultAttributesIntegration']('todoList'),_0x114c2a['enableDefaultAttributesIntegration']('checkTodoList'),_0x114c2a['descriptionFactory']['registerDescriptionCallback'](_0x2ded41=>{const {data:_0x3d2027}=_0x2ded41;if(_0x3d2027&&'todoListChecked'==_0x3d2027['key'])return{'type':'format','content':_0x3d2027['newValue']?tx(_0x6889df,'*Check\x20item*'):tx(_0x6889df,'*Uncheck\x20item*')};}),this['editor']['model']['document']['registerPostFixer'](_0xd02632=>{if(_0xd02632['batch']['isUndo'])return!0x1;let _0x4db02d=!0x1;const _0x2a9b56=_0x114c2a['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x552195=>'todoListChecked'===_0x114c2a['_getAttributeKey'](_0x552195));for(const _0x48875b of _0x2a9b56){'todo'!=_0x48875b['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')&&(_0x114c2a['_findSuggestions'](_0x48875b['getFirstRange'](),'attribute')['find'](_0x59cb6b=>'listType'===_0x114c2a['_getAttributeKey'](_0x59cb6b['suggestion']))||(_0xd02632['removeMarker'](_0x48875b['getFirstMarker']()),_0x4db02d=!0x0));}return _0x4db02d;})),_0x114c2a['descriptionFactory']['registerAttributeLabel']('listIndent',tx(_0x6889df,'FORMAT_INDENT'));const _0x311d40={'type':'format','content':''};_0x114c2a['descriptionFactory']['registerDescriptionCallback'](_0x2f1c52=>{const {data:_0x29d782}=_0x2f1c52;if(!_0x29d782||'listType'!=_0x29d782['key'])return;let _0x41b44d=_0x2f1c52['head'];for(;_0x41b44d;){if(_0x41b44d['data']&&(('listStyle'==_0x41b44d['data']['key']||'listMarkerStyle'==_0x41b44d['data']['key'])&&(_0x41b44d['data']['newValue']&&'default'!=_0x41b44d['data']['newValue']||'default'!=_0x41b44d['data']['oldValue']&&!_0x29d782['newValue'])||!_0x11afe2&&_0x41b44d['data']['key']==_0x3f217c))return _0x311d40;_0x41b44d=_0x41b44d['next'];}if(null==_0x29d782['newValue'])switch(_0x29d782['oldValue']){case'bulleted':return _0x49a9a0(tx(_0x6889df,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x49a9a0(tx(_0x6889df,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x49a9a0(tx(_0x6889df,'ELEMENT_TODO_LIST'));}switch(_0x29d782['newValue']){case'bulleted':return _0x5d89a1(tx(_0x6889df,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x5d89a1(tx(_0x6889df,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x5d89a1(tx(_0x6889df,'ELEMENT_TODO_LIST'));}}),_0x114c2a['descriptionFactory']['registerDescriptionCallback'](_0x3541ad=>{const {data:_0x4fec4f}=_0x3541ad;if(_0x4fec4f&&'listIndent'==_0x4fec4f['key'])return null==_0x4fec4f['newValue']||null==_0x4fec4f['oldValue']&&0x0==_0x4fec4f['newValue']?_0x311d40:void 0x0;}),_0x114c2a['descriptionFactory']['registerDescriptionCallback'](_0x33d671=>{if('attribute'!=_0x33d671['type'])return;const {data:_0x2df88e}=_0x33d671;if(!_0x2df88e||'listItemId'!=_0x2df88e['key'])return;const _0x36c967=_0x3bde12(_0x33d671);return'newValue'==_0x36c967?{'type':'format','content':tx(_0x6889df,'*Merge:*\x20list\x20item')}:'oldValue'==_0x36c967?{'type':'format','content':tx(_0x6889df,'*Split:*\x20list\x20item')}:_0x311d40;}),_0x5dbf2f['model']['document']['registerPostFixer'](_0x76dcad=>this['listItemIdFixer'](_0x76dcad)),_0x5dbf2f['model']['document']['registerPostFixer'](_0x329967=>this['noTrackChangesFixer'](_0x329967)),_0x5dbf2f['model']['document']['on']('change:data',(_0x20423d,_0x30cec4)=>{if(_0x30cec4['isUndo']||!_0x30cec4['isLocal'])return!0x1;this['assureChains']();},{'priority':'high'}),this['_supportLegacySuggestions']();}['listItemIdFixer'](_0x171cde){if(_0x171cde['batch']['isUndo']||!_0x171cde['batch']['isLocal'])return!0x1;let _0x12a82f=!0x1;const _0x26c905=this['editor']['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x121bb0=>_0x121bb0['data']&&'listItemId'==_0x121bb0['data']['key'])['filter'](_0x9954d0=>_0x9954d0['data']['newValue']&&_0x9954d0['data']['oldValue']);for(const _0x3ebe06 of _0x26c905)_0x3bde12(_0x3ebe06)||(_0x171cde['removeMarker'](_0x3ebe06['getFirstMarker']()),_0x12a82f=!0x0);return _0x12a82f;}['noTrackChangesFixer'](_0x50945b){if(_0x50945b['batch']['isUndo']||!_0x50945b['batch']['isLocal'])return!0x1;const _0x2d26a2=this['editor']['plugins']['get']('TrackChangesEditing');if(_0x2d26a2['trackChangesCommand']['value'])return!0x1;let _0x537bb3=!0x1;const _0x6452ed=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'],_0x43d903=this['editor']['model']['document']['differ']['getChanges']()['filter'](_0x3fa667=>'attribute'==_0x3fa667['type'])['filter'](_0x5c1bd4=>_0x6452ed['includes'](_0x5c1bd4['attributeKey']));if(0x0==_0x43d903['length'])return _0x537bb3;for(const _0x256c23 of _0x43d903){const _0x5dfab7=_0x2d26a2['_findSuggestions'](_0x256c23['range'],'attribute')['filter'](_0x59d6ce=>!_0x59d6ce['meta']['isNextTo'])['map'](_0x10584f=>_0x10584f['suggestion'])['filter'](_0x3f8164=>{const _0x42a7ce=_0x2d26a2['_getAttributeKey'](_0x3f8164);return _0x6452ed['includes'](_0x42a7ce);});if(_0x5dfab7['length']){for(const _0x392906 of _0x5dfab7)_0x50945b['removeMarker'](_0x392906['getFirstMarker']());_0x537bb3=!0x0;}}return _0x537bb3;}['assureChains'](){const _0x3e0037=this['editor']['plugins']['get']('TrackChangesEditing'),_0x320c34=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle'];let _0x514b28;const _0x2f6cb5=new Set(this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x1b0036=>{if(_0x1b0036['data']['oldRange']||!_0x1b0036['data']['newRange'])return null;if(!_0x1b0036['name']['startsWith']('suggestion:attribute:'))return null;const {id:_0x3ff331}=_0x3e0037['_splitMarkerName'](_0x1b0036['name']);if(!_0x3e0037['hasSuggestion'](_0x3ff331))return null;const _0x387a50=_0x3e0037['getSuggestion'](_0x3ff331);return _0x320c34['includes'](_0x387a50['data']['key']);})['map'](_0x3686f8=>{const {id:_0x2d1a2a}=_0x3e0037['_splitMarkerName'](_0x3686f8['name']),_0x27f6f9=_0x3e0037['getSuggestion'](_0x2d1a2a);return _0x514b28=_0x27f6f9['attributes']['groupId'],_0x27f6f9['getFirstRange']()['start']['nodeAfter'];}));if(0x0==_0x2f6cb5['size'])return;const _0x80460a=_0x3e0037['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x1a0115=>'attribute'==_0x1a0115['type']&&_0x1a0115['data']&&_0x320c34['includes'](_0x1a0115['data']['key'])&&_0x1a0115['attributes']['groupId']!=_0x514b28)['map'](_0x16da0c=>({'listItem':_0x16da0c['getFirstRange']()['start']['nodeAfter'],'groupId':_0x16da0c['attributes']['groupId']})),_0x2ec49b=new Set();for(const {groupId:_0x37f005,listItem:_0x26cfdc}of _0x80460a)_0x2f6cb5['has'](_0x26cfdc)&&_0x2ec49b['add'](_0x37f005);for(const _0x230d23 of _0x3e0037['getSuggestions']())_0x2ec49b['has'](_0x230d23['attributes']['groupId'])&&_0x230d23['setAttribute']('groupId',_0x514b28);}['_supportLegacySuggestions'](){const _0x3b30e6=this['editor'],_0x4d56f0=_0x3b30e6['locale'],_0x46fa27=_0x3b30e6['plugins']['get']('TrackChangesEditing');this['_registerLegacyDescription'](),_0x46fa27['_suggestionFactory']['registerCustomCallback']('formatBlock','documentList','accept',function(_0x321d15,_0x214030){const _0x4e35ed=[];for(let _0x26160a of _0x321d15)_0x26160a['start']['nodeAfter']===_0x26160a['end']['parent']&&(_0x26160a=_0x3b30e6['model']['createRange'](_0x3b30e6['model']['createPositionAt'](_0x26160a['start']['nodeAfter'],0x0))),_0x4e35ed['push'](_0x26160a);_0x3b30e6['model']['change'](_0x411c24=>{const _0x371e90=_0x3b30e6['model']['document']['selection'],_0x21917a=Array['from'](_0x371e90['getRanges']())['map'](_0x3c9f0b=>_0x22b56d['ModelLiveRange']['fromRange'](_0x3c9f0b));_0x411c24['setSelection'](_0x4e35ed),_0x3b30e6['commands']['get'](_0x214030['commandName'])['refresh'](),_0x214030['commandParams']['push']({'forceDefaultExecution':!0x0}),_0x3b30e6['execute'](_0x214030['commandName'],..._0x214030['commandParams']),_0x411c24['setSelection'](_0x21917a);for(const _0x15b8db of _0x21917a)_0x15b8db['detach']();});}),_0x46fa27['descriptionFactory']['registerElementLabel'](function(_0x55c289){const _0xbcd637=!_0x3b30e6['model']['schema']['isObject'](_0x55c289),_0x3b2209=_0x55c289['previousSibling'],_0x37483c=_0x55c289['nextSibling'],_0x33a1c6=_0x55c289['getAttribute']('listItemId'),_0x24b503=!_0x3b2209||_0x3b2209['getAttribute']('listItemId')!==_0x33a1c6,_0x168716=!_0x37483c||_0x37483c['getAttribute']('listItemId')!==_0x33a1c6;return _0xbcd637&&Boolean(_0x33a1c6)&&_0x24b503&&_0x168716;},_0x2968fd=>tx(_0x4d56f0,'ELEMENT_LIST_ITEM',_0x2968fd));}['_registerLegacyDescription'](){const _0x3ffe20=this['editor'],_0x434f20=_0x3ffe20['locale'];function _0x1be45c(_0x59fd3d){const _0x5eb6f4=_0x3ffe20['commands']['get']('bulletedList')['value'],_0x4ace4c=_0x3ffe20['commands']['get']('numberedList')['value'];return'numberedList'===_0x59fd3d?_0x5eb6f4:_0x4ace4c;}_0x3ffe20['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](function(_0x373e8b){if('formatBlock'!=_0x373e8b['type'])return;const {data:_0x17f8f6}=_0x373e8b;if(!_0x17f8f6)return;let _0x341ae6,_0x12c3d2,_0x17168b,_0x5e3b80;switch(_0x17f8f6['commandName']){case'bulletedList':_0x17168b=_0x17f8f6['commandParams'][0x0]['forceValue'],_0x5e3b80=_0x1be45c(_0x17f8f6['commandName']),_0x341ae6=_0x17168b?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x5e3b80&&_0x3ffe20['config']['get']('list.multiBlock')||(_0x341ae6='*Change\x20to:*\x20%0'),_0x12c3d2={'type':'format','content':tx(_0x434f20,_0x341ae6,tx(_0x434f20,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0x17168b=_0x17f8f6['commandParams'][0x0]['forceValue'],_0x5e3b80=_0x1be45c(_0x17f8f6['commandName']),_0x341ae6=_0x17168b?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x5e3b80&&_0x3ffe20['config']['get']('list.multiBlock')||(_0x341ae6='*Change\x20to:*\x20%0'),_0x12c3d2={'type':'format','content':tx(_0x434f20,_0x341ae6,tx(_0x434f20,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0x341ae6='*Indent:*\x20%0',_0x12c3d2={'type':'format','content':tx(_0x434f20,_0x341ae6,tx(_0x434f20,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x341ae6=function(_0x2edb41){const _0x2da9be=_0x2edb41['getFirstRange']();let _0x36cac7=_0x2da9be['start']['nodeAfter'];for(;_0x36cac7&&_0x2da9be['containsItem'](_0x36cac7);){if(_0x36cac7['getAttribute']('listIndent')>0x0)return!0x1;_0x36cac7=_0x36cac7['nextSibling'];}return!0x0;}(_0x373e8b)?tx(_0x434f20,'*Format:*\x20remove\x20from\x20%0',tx(_0x434f20,function(_0x459ee9){return'ELEMENT_'+_0x459ee9['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST';}(_0x373e8b))):tx(_0x434f20,'*Outdent:*\x20%0',tx(_0x434f20,'ELEMENT_LIST_ITEM')),_0x12c3d2={'type':'format','content':_0x341ae6};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x17f8f6['multipleBlocks']&&(_0x341ae6='*Merge:*\x20%0',_0x12c3d2={'type':'deletion','content':tx(_0x434f20,_0x341ae6,tx(_0x434f20,'ELEMENT_LIST_ITEM'))});}return _0x12c3d2;});}}function _0x3bde12(_0x74f5c7){let _0x31dd3e=_0x74f5c7['getFirstRange']()['start']['nodeAfter']['previousSibling'];for(;_0x31dd3e;){const _0x1e4c8a=_0x31dd3e['getAttribute']('listItemId');if(!_0x1e4c8a)return!0x1;if(_0x1e4c8a==_0x74f5c7['data']['newValue'])return'newValue';if(_0x1e4c8a==_0x74f5c7['data']['oldValue'])return'oldValue';_0x31dd3e=_0x31dd3e['previousSibling'];}return!0x1;}class TrackChangesDocumentListProperties extends _0x22b56d['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x43f15b=this['editor']['config']['get']('list.properties'),_0xa0208f=this['editor']['plugins']['get']('TrackChangesEditing');_0x43f15b['styles']&&_0xa0208f['enableDefaultAttributesIntegration']('listStyle'),_0x43f15b['reversed']&&_0xa0208f['enableDefaultAttributesIntegration']('listReversed'),_0x43f15b['startIndex']&&_0xa0208f['enableDefaultAttributesIntegration']('listStart');const _0x38f825={'type':'format','content':''};_0xa0208f['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));const _0x3feeb2=this['editor']['locale'];_0xa0208f['descriptionFactory']['registerAttributeLabel']('listReversed',tx(_0x3feeb2,'FORMAT_LIST_REVERSED')),_0xa0208f['descriptionFactory']['registerDescriptionCallback'](_0x24003d=>{const {data:_0x2d38c5}=_0x24003d;if(_0x2d38c5&&'listReversed'==_0x2d38c5['key'])return null==_0x2d38c5['newValue']||0x0==_0x2d38c5['newValue']&&null==_0x2d38c5['oldValue']?_0x38f825:void 0x0;}),_0xa0208f['descriptionFactory']['registerAttributeLabel']('listStart',tx(_0x3feeb2,'FORMAT_LIST_START')),_0xa0208f['descriptionFactory']['registerDescriptionCallback'](_0x242cab=>{const {data:_0x2006e6}=_0x242cab;if(_0x2006e6&&'listStart'==_0x2006e6['key'])return null==_0x2006e6['newValue']||0x1==_0x2006e6['newValue']&&null==_0x2006e6['oldValue']?_0x38f825:void 0x0;}),this['editor']['model']['document']['registerPostFixer'](_0x4c1dc4=>{if(_0x4c1dc4['batch']['isUndo'])return!0x1;let _0x4c7995=!0x1;const _0x42e209=_0xa0208f['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x2c6cd3=>{const _0x4e2c4a=_0xa0208f['_getAttributeKey'](_0x2c6cd3);return'listStart'==_0x4e2c4a||'listReversed'==_0x4e2c4a;});for(const _0x434775 of _0x42e209){const _0x528087=_0x434775['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType');if('numbered'==_0x528087||'customNumbered'==_0x528087)continue;_0xa0208f['_findSuggestions'](_0x434775['getFirstRange'](),'attribute')['find'](_0xfae21d=>'listType'==_0xa0208f['_getAttributeKey'](_0xfae21d['suggestion']))||(_0x4c1dc4['removeMarker'](_0x434775['getFirstMarker']()),_0x4c7995=!0x0);}return _0x4c7995;}),this['_registerLegacyDescription']();}['handleDescriptions'](_0x3cf621){const _0xa7d0d=this['editor']['locale'],{data:_0x59f1d5}=_0x3cf621,_0x4fd08c={'type':'format','content':''};if(!_0x59f1d5||'listStyle'!=_0x59f1d5['key'])return;if(!_0x59f1d5['oldValue'])return'default'==_0x59f1d5['newValue']?_0x4fd08c:{'type':'format','content':''+tx(_0xa7d0d,'*Set\x20format:*\x20%0',tx(_0xa7d0d,this['_getTranslationKeyForListStyle'](_0x59f1d5['newValue'])))};if(!_0x59f1d5['newValue']){if('default'==_0x59f1d5['oldValue'])return _0x4fd08c;let _0x3f0d54=_0x3cf621['head'];for(;_0x3f0d54;){if(_0x3f0d54['data']&&'listType'==_0x3f0d54['data']['key']&&_0x3f0d54['data']['newValue'])return _0x4fd08c;_0x3f0d54=_0x3f0d54['next'];}return{'type':'format','content':''+tx(_0xa7d0d,'*Remove\x20format:*\x20%0',tx(_0xa7d0d,this['_getTranslationKeyForListStyle'](_0x59f1d5['oldValue'])))};}if('default'!=_0x59f1d5['newValue'])return{'type':'format','content':''+tx(_0xa7d0d,'*Set\x20format:*\x20%0',tx(_0xa7d0d,this['_getTranslationKeyForListStyle'](_0x59f1d5['newValue'])))};let _0xc81fa2=_0x3cf621['head'];for(;_0xc81fa2;){if(_0xc81fa2['data']&&'listType'==_0xc81fa2['data']['key']&&_0xc81fa2['data']['newValue']&&_0xc81fa2['data']['oldValue'])return _0x4fd08c;_0xc81fa2=_0xc81fa2['next'];}return{'type':'format','content':tx(_0xa7d0d,'*Set\x20format:*\x20%0',tx(_0xa7d0d,'ELEMENT_'+_0x3cf621['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST_DEFAULT'))};}['_registerLegacyDescription'](){const _0xddf391=this['editor'],_0x26e230=_0xddf391['locale'];_0xddf391['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x585bc5=>{if('formatBlock'!=_0x585bc5['type'])return;const {data:_0x2cdfce}=_0x585bc5;if(!_0x2cdfce)return;let _0x262f04,_0x4a96f9;switch(_0x2cdfce['commandName']){case'listStyle':_0x262f04='*Change\x20to:*\x20%0',_0x4a96f9={'type':'format','content':tx(_0x26e230,_0x262f04,tx(_0x26e230,this['_getTranslationKeyForListStyle'](_0x2cdfce['commandParams'][0x0]['type'])))};break;case'listReversed':_0x262f04=_0x2cdfce['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x4a96f9={'type':'format','content':tx(_0x26e230,_0x262f04)};break;case'listStart':_0x262f04='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x4a96f9={'type':'format','content':tx(_0x26e230,_0x262f04,_0x2cdfce['commandParams'][0x0]['startIndex'])};}return _0x4a96f9;});}['_getTranslationKeyForListStyle'](_0xb9c797){return'ELEMENT_'+function(_0x5c11be){if(_0x44554a['includes'](_0x5c11be))return'bulleted';if(_0x78e870['includes'](_0x5c11be))return'numbered';return null;}(_0xb9c797)['toUpperCase']()+'_LIST_'+_0xb9c797['toUpperCase']()['replace'](/-/g,'_');}}const _0x44554a=['disc','circle','square'],_0x78e870=['decimal','decimal-leading-zero','lower-roman','upper-roman','lower-latin','upper-latin','arabic-indic'];class _0x4dbd81 extends _0x22b56d['Plugin']{['afterInit'](){const _0x5c52a9=this['editor'];_0x5c52a9['commands']['get']('emoji')&&_0x5c52a9['plugins']['get']('TrackChangesEditing')['enableCommand']('emoji');}}class TrackChangesEnterCommand extends _0x22b56d['Plugin']{static get['requires'](){return[_0x22b56d['Enter']];}['init'](){const _0x4317c9=this['editor'],_0x3b1ab3=_0x4317c9['plugins']['get']('TrackChangesEditing'),_0x584e6e=_0x4317c9['commands']['get']('enter');_0x3b1ab3['enableCommand']('enter',()=>{_0x4317c9['model']['change'](_0x3999f0=>{const _0x474c38=_0x4317c9['model']['document']['selection'],_0x4389ec=_0x474c38['getFirstPosition'](),_0x18e899=_0x22b56d['ModelLiveRange']['fromRange'](_0x474c38['getFirstRange']());if(_0x584e6e['enterBlock'](_0x3999f0)){const _0x49f280=_0x4317c9['model']['createPositionAt'](_0x4389ec['parent']['nextSibling'],0x0),_0x3be4b2=_0x3999f0['createRange'](_0x4389ec,_0x49f280);_0x3b1ab3['markInsertion'](_0x3be4b2);}else _0x3999f0['setSelection'](_0x3999f0['createRange'](_0x18e899['end']));_0x18e899['detach'](),_0x584e6e['fire']('afterExecute',{'writer':_0x3999f0});});});}}class _0x313088 extends _0x22b56d['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('FindAndReplaceEditing'))return;const _0x19a762=this['editor']['plugins']['get']('TrackChangesEditing');_0x19a762['enableCommand']('find',this['handleFindCommand']['bind'](this)),_0x19a762['enableCommand']('findNext'),_0x19a762['enableCommand']('findPrevious'),_0x19a762['enableCommand']('replace'),_0x19a762['enableCommand']('replaceAll');}['handleFindCommand'](_0x1485b6,_0x2e151c,_0x3e917a={}){const _0x3585b0=this['editor']['plugins']['get']('FindAndReplaceUtils');return _0x1485b6(_0x340955=>{let _0x90606e=('string'==typeof _0x2e151c?_0x3585b0['findByTextCallback'](_0x2e151c,_0x3e917a):_0x2e151c)(_0x340955);Array['isArray'](_0x90606e)&&(_0x90606e={'results':_0x90606e,'searchText':'string'==typeof _0x2e151c?_0x2e151c:''});const _0x2e6d2f=_0x90606e['results']['filter'](_0xc17429=>!0x1===this['_isInDeletionRange'](_0xc17429,_0x340955['item']));return{..._0x90606e,'results':_0x2e6d2f};},_0x3e917a);}['_isInDeletionRange'](_0x59f87b,_0xf9c160){const _0x3a26c4=this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0xf9c160,_0x59f87b['start']),this['editor']['model']['createPositionAt'](_0xf9c160,_0x59f87b['end']));for(const _0x8f290e of this['editor']['model']['markers']['getMarkersGroup']('suggestion:deletion'))if(null!==_0x3a26c4['getIntersection'](_0x8f290e['getRange']()))return!0x0;return!0x1;}}const _0x5a09a0=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];class TrackChangesFont extends _0x22b56d['Plugin']{['afterInit'](){const _0x44e285=this['editor']['locale'],_0x270be6=this['editor']['plugins']['get']('TrackChangesEditing');for(const {pluginName:_0x5340f2,commandName:_0x41934a}of _0x5a09a0)this['editor']['plugins']['has'](_0x5340f2)&&_0x270be6['enableDefaultAttributesIntegration'](_0x41934a);_0x270be6['descriptionFactory']['registerAttributeLabel']('fontSize',tx(_0x44e285,'FORMAT_FONT_SIZE')),_0x270be6['descriptionFactory']['registerAttributeLabel']('fontFamily',tx(_0x44e285,'FORMAT_FONT_FAMILY')),_0x270be6['descriptionFactory']['registerAttributeLabel']('fontColor',tx(_0x44e285,'FORMAT_FONT_COLOR')),_0x270be6['descriptionFactory']['registerAttributeLabel']('fontBackgroundColor',tx(_0x44e285,'FORMAT_FONT_BACKGROUND')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x2c8e4b=this['editor'],_0x1dcb1=_0x2c8e4b['locale'];_0x2c8e4b['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1069e0=>{const _0x50accd=_0x1dcb1['t'];if('formatInline'!=_0x1069e0['type'])return;const {data:_0x1ba4e9}=_0x1069e0;if(null!=_0x1ba4e9){if('fontSize'==_0x1ba4e9['commandName']){const _0x4cfa6a=_0x1ba4e9['commandParams'][0x0]['value'];if(_0x4cfa6a){const _0x5d4516=_0x50accd(this['editor']['plugins']['get']('FontSize')['normalizeSizeOptions'](this['editor']['config']['get']('fontSize.options'))['find'](_0x575baa=>_0x575baa['model']==_0x4cfa6a)['title'])['toLowerCase']();return{'type':'format','content':tx(_0x1dcb1,'*Set\x20font\x20size:*\x20%0',_0x5d4516)};}return{'type':'format','content':tx(_0x1dcb1,'*Reset\x20font\x20size*')};}if('fontFamily'==_0x1ba4e9['commandName']){const _0x4e117b=_0x1ba4e9['commandParams'][0x0]['value'];return _0x4e117b?{'type':'format','content':tx(_0x1dcb1,'*Set\x20font\x20family:*\x20%0',_0x4e117b)}:{'type':'format','content':tx(_0x1dcb1,'*Reset\x20font\x20family*')};}if('fontColor'==_0x1ba4e9['commandName']){const _0x5e13ab=_0x1ba4e9['commandParams'][0x0]['value'];if(_0x5e13ab){const _0x2daad0=_0x22b56d['normalizeColorOptions'](this['editor']['config']['get']('fontColor.colors'))['find'](_0xeeb3d8=>_0xeeb3d8['model']==_0x5e13ab);let _0x41a921=_0x5e13ab,_0x2dcf5c='';return _0x2daad0&&(_0x41a921=_0x2daad0['label'],_0x2dcf5c=_0x50accd(_0x41a921)['toLowerCase']()),{'type':'format','content':tx(_0x1dcb1,'*Set\x20font\x20color:*\x20%0',_0x2dcf5c)['trim'](),'color':{'value':_0x5e13ab,'title':_0x2dcf5c||_0x41a921}};}return{'type':'format','content':tx(_0x1dcb1,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0x1ba4e9['commandName']){const _0x54a411=_0x1ba4e9['commandParams'][0x0]['value'];if(_0x54a411){const _0x4e2618=_0x22b56d['normalizeColorOptions'](this['editor']['config']['get']('fontBackgroundColor.colors'))['find'](_0x4aaf49=>_0x4aaf49['model']==_0x54a411);let _0x2c5223=_0x54a411,_0xcc5d37='';return _0x4e2618&&(_0x2c5223=_0x4e2618['label'],_0xcc5d37=_0x50accd(_0x2c5223)['toLowerCase']()),{'type':'format','content':tx(_0x1dcb1,'*Set\x20font\x20background\x20color:*\x20%0',_0xcc5d37)['trim'](),'color':{'value':_0x54a411,'title':_0xcc5d37||_0x2c5223}};}return{'type':'format','content':tx(_0x1dcb1,'*Reset\x20font\x20background\x20color*')};}}});}}class TrackChangesFootnotes extends _0x22b56d['Plugin']{['afterInit'](){const {plugins:_0x4f48d9}=this['editor'];_0x4f48d9['has']('FootnotesEditing')&&this['_registerFootnotesEditingIntegration'](),_0x4f48d9['has']('FootnotesPropertiesEditing')&&this['_registerFootnotesPropertiesEditingIntegration']();}['_registerFootnotesPropertiesEditingIntegration'](){const {locale:_0x35720d,plugins:_0x1c5967,commands:_0x471f10}=this['editor'],_0x3b6e44=_0x1c5967['get']('TrackChangesEditing');_0x471f10['get']('footnotesStyle')&&_0x3b6e44['enableDefaultAttributesIntegration']('footnotesStyle'),_0x471f10['get']('footnotesStart')&&_0x3b6e44['enableDefaultAttributesIntegration']('footnotesStart'),_0x3b6e44['descriptionFactory']['registerAttributeLabel']('footnotesListStyle',tx(_0x35720d,'FORMAT_FOOTNOTES_LIST_STYLE')),_0x3b6e44['descriptionFactory']['registerAttributeLabel']('footnotesListStart',tx(_0x35720d,'FORMAT_FOOTNOTES_LIST_START'));}['_registerFootnotesEditingIntegration'](){const _0x106515=this['editor']['plugins']['get']('TrackChangesEditing'),{locale:_0x5ece8b,commands:_0x479a28}=this['editor'];_0x479a28['get']('insertFootnote')&&_0x106515['enableCommand']('insertFootnote'),_0x106515['descriptionFactory']['registerElementLabel']('footnoteRef',_0xe3a48d=>tx(_0x5ece8b,'ELEMENT_FOOTNOTE_REF',_0xe3a48d)),_0x106515['descriptionFactory']['registerElementLabel']('footnoteDefinition',_0x343ea1=>tx(_0x5ece8b,'ELEMENT_FOOTNOTE_DEFINITION',_0x343ea1)),_0x106515['descriptionFactory']['registerElementLabel']('footnotesDefinitions',_0x3d060d=>tx(_0x5ece8b,'ELEMENT_FOOTNOTES_DEFINITIONS_LIST',_0x3d060d));}}class TrackChangesFormatPainter extends _0x22b56d['Plugin']{['afterInit'](){const _0x3a56b4=this['editor'],_0x267c7c=_0x3a56b4['plugins']['get']('TrackChangesEditing'),_0x1f8b8b=_0x3a56b4['commands']['get']('copyFormat'),_0x35d69a=_0x3a56b4['commands']['get']('pasteFormat');_0x1f8b8b&&_0x35d69a&&(_0x267c7c['enableDefaultAttributesIntegration']('pasteFormat'),_0x267c7c['enableCommand']('copyFormat'),this['_registerLegacyDescription']());}['_registerLegacyDescription'](){const _0x34a5be=this['editor'],_0x59e36c=_0x34a5be['locale'];_0x34a5be['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x5c3246=>{if('formatBlock'!=_0x5c3246['type']&&'formatInline'!=_0x5c3246['type'])return;const {data:_0xa39279}=_0x5c3246;if(_0xa39279&&'pasteFormat'===_0xa39279['commandName']){const _0x280bb5=[],_0x2477a0=_0xa39279['commandParams'][0x0];for(const [_0x15821a,_0x9630f5]of Object['entries'](_0x2477a0))_0x280bb5['push'](_0x45acc6(_0x34a5be,_0x15821a,_0x9630f5));return _0x280bb5['length']?{'type':'format','content':tx(_0x59e36c,'*Set\x20format\x20to:*\x20%0',_0x280bb5['join'](',\x20'))}:{'type':'format','content':tx(_0x59e36c,'*Remove\x20all\x20formatting*')};}});}}function _0x45acc6(_0x1b40f3,_0x368e4,_0x24d219){const _0x38b422=_0x1b40f3['locale']['t'],_0xbd848a=_0x368e4['split'](/(?=[A-Z])/)['join']('\x20'),_0x444b60=_0x38b422(_0xbd848a['charAt'](0x0)['toUpperCase']()+_0xbd848a['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x24d219)return _0x444b60;if('fontColor'===_0x368e4||'fontBackgroundColor'===_0x368e4){const _0x204920=_0x22b56d['normalizeColorOptions'](_0x1b40f3['config']['get']('fontColor.colors'))['find'](_0x36c10a=>_0x36c10a['model']==_0x24d219);return _0x444b60+'\x20('+(_0x204920?_0x38b422(_0x204920['label'])['toLowerCase']():_0x24d219)+')';}if('fontSize'===_0x368e4&&isNaN(parseFloat(_0x24d219))){const _0x87ff1e=_0x1b40f3['plugins']['get']('FontSize')['normalizeSizeOptions'](_0x1b40f3['config']['get']('fontSize.options'))['find'](_0x42dfdc=>_0x42dfdc['model']==_0x24d219);return _0x444b60+'\x20('+(_0x87ff1e?_0x38b422(_0x87ff1e['title'])['toLowerCase']():_0x24d219)+')';}return _0x444b60+'\x20('+_0x24d219+')';}class _0x2b7456 extends _0x22b56d['Plugin']{['_headingOptions'];['afterInit'](){const _0x3a7967=this['editor'];if(!_0x3a7967['plugins']['has']('HeadingEditing'))return;this['_headingOptions']=_0x3a7967['config']['get']('heading.options');const _0x10e1ec=_0x3a7967['locale'],_0x29d3ec=_0x3a7967['plugins']['get']('TrackChangesEditing');_0x29d3ec['enableDefaultAttributesIntegration']('heading');for(const _0x5aa235 of this['_headingOptions'])'paragraph'!=_0x5aa235['model']&&_0x29d3ec['descriptionFactory']['registerElementLabel'](_0x5aa235['model'],_0xc9c477=>{const _0x6b9647=this['_getHeadingLevel'](_0x5aa235['model']);return null!==_0x6b9647?_0x2e9edd(_0xc9c477,_0x6b9647):_0x36df60(_0xc9c477,_0x5aa235['title']);});function _0x2e9edd(_0x18433d,_0x4d0090){return tx(_0x10e1ec,'ELEMENT_HEADING',[_0x18433d,_0x4d0090]);}function _0x36df60(_0x1f766b,_0x3702b3){return tx(_0x10e1ec,'ELEMENT_HEADING_CUSTOM',[_0x1f766b,_0x3702b3]);}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x573577=this['editor'],_0x33bd68=_0x573577['locale'];function _0x1d62d0(_0x6efdf7,_0x92361){return tx(_0x33bd68,'ELEMENT_HEADING_CUSTOM',[_0x6efdf7,_0x92361]);}_0x573577['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x26a060=>{if('formatBlock'!=_0x26a060['type'])return;const {data:_0x196174}=_0x26a060;if(_0x196174&&'heading'==_0x196174['commandName']){const _0x21fc76=_0x196174['commandParams'][0x0]['value'],_0x2f0879=this['_getHeadingLevel'](_0x21fc76);if(null!==_0x2f0879)return{'type':'format','content':tx(_0x33bd68,'*Change\x20to:*\x20%0',(_0x5df4c7=0x1,_0x2f3381=_0x2f0879,tx(_0x33bd68,'ELEMENT_HEADING',[_0x5df4c7,_0x2f3381])))};const _0x65a50d=this['_headingOptions']['find'](_0x814d94=>_0x814d94['model']===_0x21fc76)['title'];return{'type':'format','content':tx(_0x33bd68,'*Change\x20to:*\x20%0',_0x1d62d0(0x1,_0x65a50d))};}var _0x5df4c7,_0x2f3381;});}['_getHeadingLevel'](_0x24a110){const _0x586b6d=_0x24a110['match'](/^heading(\d+)/);if(_0x586b6d)return _0x586b6d[0x1];const _0x12bbf0=this['_headingOptions']?.['find'](_0x164ab0=>_0x164ab0['model']==_0x24a110);if(_0x12bbf0&&_0x12bbf0['view']){const _0x27ee2b=_0x12bbf0['view'],_0x433e23=(_0x27ee2b['name']??_0x27ee2b)['match'](/^h(\d+)/);if(_0x433e23)return _0x433e23[0x1];}return null;}}class TrackChangesHighlight extends _0x22b56d['Plugin']{['afterInit'](){const _0x3288ce=this['editor'];if(!_0x3288ce['plugins']['has']('HighlightEditing'))return;const _0xd07ece=_0x3288ce['plugins']['get']('TrackChangesEditing'),_0x3cb821=_0x3288ce['locale'];_0xd07ece['enableDefaultAttributesIntegration']('highlight'),_0xd07ece['descriptionFactory']['registerAttributeLabel']('highlight',tx(_0x3cb821,'FORMAT_HIGHLIGHT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x30e3c3=this['editor'],_0x5e1c9f=_0x30e3c3['locale'];_0x30e3c3['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x12ff26=>{if('formatInline'!=_0x12ff26['type'])return;const {data:_0x25fa55}=_0x12ff26;if(_0x25fa55&&'highlight'==_0x25fa55['commandName']){const _0xe1776b=_0x5e1c9f['t'],_0x4000c2=_0x25fa55['commandParams'][0x0]['value'];if(_0x4000c2){const _0x3b06dc=_0x30e3c3['config']['get']('highlight.options')['find'](_0x2302e1=>_0x2302e1['model']==_0x4000c2),_0x1e13c7=_0xe1776b(_0x3b06dc['title'])['toLowerCase']();return{'type':'format','content':tx(_0x5e1c9f,'*Set\x20highlight:*\x20%0',_0x1e13c7),'color':{'value':_0x3b06dc['color'],'title':_0x3b06dc['title']}};}return{'type':'format','content':tx(_0x5e1c9f,'*Remove\x20highlight*',tx(_0x5e1c9f,'FORMAT_HIGHLIGHT'))};}});}}class TrackChangesHorizontalLine extends _0x22b56d['Plugin']{['afterInit'](){const _0x438e0e=this['editor'];if(!_0x438e0e['plugins']['has']('HorizontalLineEditing'))return;_0x438e0e['plugins']['get']('TrackChangesEditing')['enableCommand']('horizontalLine');const _0x382e07=_0x438e0e['plugins']['get']('TrackChangesEditing'),_0x2cf7be=_0x438e0e['locale'];_0x382e07['descriptionFactory']['registerElementLabel']('horizontalLine',_0x5f0dec=>tx(_0x2cf7be,'ELEMENT_HORIZONTAL_LINE',_0x5f0dec));}}class TrackChangesHtmlEmbed extends _0x22b56d['Plugin']{['afterInit'](){const _0x4f0cbc=this['editor'];if(!_0x4f0cbc['plugins']['has']('HtmlEmbed'))return;const _0x3cbf96=_0x4f0cbc['plugins']['get']('TrackChangesEditing'),_0xa5a064=_0x4f0cbc['locale'];_0x3cbf96['descriptionFactory']['registerElementLabel']('rawHtml',_0x14976c=>tx(_0xa5a064,'ELEMENT_HTML_EMBED',_0x14976c)),_0x3cbf96['enableDefaultAttributesIntegration']('htmlEmbed'),_0x3cbf96['descriptionFactory']['registerDescriptionCallback'](_0x467d14=>{if('attribute'!=_0x467d14['type'])return;const {data:_0xd99ba1}=_0x467d14;if(_0xd99ba1&&'value'==_0xd99ba1['key']&&_0x467d14['getFirstRange']()['start']['nodeAfter']['is']('element','rawHtml')){const _0x7d7d5a=tx(_0xa5a064,'ELEMENT_HTML_EMBED');return{'type':'format','content':tx(_0xa5a064,'*Change\x20%0\x20content*',_0x7d7d5a)};}}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1e3c5f=this['editor'],_0x10c85b=_0x1e3c5f['locale'];_0x1e3c5f['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1a45b0=>{if('formatBlock'!=_0x1a45b0['type'])return;const {data:_0x1cf705}=_0x1a45b0;if(_0x1cf705&&'htmlEmbed'==_0x1cf705['commandName']){const _0x414713=tx(_0x10c85b,'ELEMENT_HTML_EMBED');return{'type':'format','content':tx(_0x10c85b,'*Change\x20%0\x20content*',_0x414713)};}});}}class _0x289797 extends _0x22b56d['Plugin']{['afterInit'](){const _0x181bd8=this['editor'];if(!_0x181bd8['plugins']['has']('ImageEditing'))return;const _0x1c44c8=_0x181bd8['plugins']['get']('TrackChangesEditing'),_0x1bc584=_0x181bd8['plugins']['get']('ImageUtils'),_0x47fa63=_0x181bd8['locale'];_0x1c44c8['enableCommand']('insertImage'),_0x1c44c8['descriptionFactory']['registerElementLabel']('imageBlock',_0x13ee4e=>tx(_0x47fa63,'ELEMENT_IMAGE',_0x13ee4e)),_0x1c44c8['descriptionFactory']['registerElementLabel']('imageInline',_0x490d02=>tx(_0x47fa63,'ELEMENT_INLINE_IMAGE',_0x490d02)),_0x1c44c8['descriptionFactory']['registerElementLabel']('caption',()=>tx(_0x47fa63,'ELEMENT_CAPTION')),_0x181bd8['plugins']['has']('ImageUploadEditing')&&_0x1c44c8['enableCommand']('uploadImage'),_0x181bd8['plugins']['has']('ImageBlockEditing')&&_0x181bd8['plugins']['has']('ImageInlineEditing')&&(_0x1c44c8['enableCommand']('imageTypeInline',(_0x5b03fc,_0x23c75d)=>{const _0x1f7fb8=_0x1bc584['getClosestSelectedImageElement'](_0x181bd8['model']['document']['selection']);_0x181bd8['model']['change'](()=>{_0x1c44c8['markBlockFormat'](_0x1f7fb8,{'commandName':'imageTypeInline','commandParams':[_0x23c75d]},[],'convertBlockImageToInline');});}),_0x1c44c8['enableCommand']('imageTypeBlock',(_0x6a0d1,_0x36d28f)=>{_0x181bd8['model']['change'](_0x1cb63d=>{let _0x108ecb=_0x1bc584['getClosestSelectedImageElement'](_0x181bd8['model']['document']['selection']),_0x17accb=_0x1cb63d['createRangeOn'](_0x108ecb);const _0x516f84=_0x22b56d['ModelLivePosition']['fromPosition'](_0x17accb['start'],'toPrevious'),_0x486445=_0x22b56d['ModelLivePosition']['fromPosition'](_0x17accb['end'],'toNext');_0x1c44c8['forceDefaultExecution'](()=>_0x6a0d1(_0x36d28f)),_0x108ecb=_0x1bc584['getClosestSelectedImageElement'](_0x181bd8['model']['document']['selection']),_0x17accb=_0x1cb63d['createRangeOn'](_0x108ecb);const _0x2b63c0=_0x1cb63d['createRange'](_0x516f84,_0x486445);_0x516f84['detach'](),_0x486445['detach'](),_0x1c44c8['markBlockFormat'](_0x108ecb,{'commandName':'imageTypeInline','commandParams':[_0x36d28f]},[],'convertInlineImageToBlock'),_0x2b63c0['start']['isBefore'](_0x17accb['start'])&&_0x1c44c8['markInsertion'](_0x1cb63d['createRange'](_0x2b63c0['start'],_0x17accb['start']),'convertInlineImageToBlock'),_0x17accb['end']['isBefore'](_0x2b63c0['end'])&&_0x1c44c8['markInsertion'](_0x1cb63d['createRange'](_0x17accb['end'],_0x2b63c0['end']),'convertInlineImageToBlock');});}),_0x1c44c8['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','join',()=>!0x1),_0x1c44c8['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','accept',()=>!0x1),_0x1c44c8['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','discard',_0x1c44c8['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')),_0x1c44c8['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x1c44c8['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','discard',([_0x6733c9])=>{const _0x3288a0=_0x1c44c8['_suggestionFactory']['getSuggestionCallback']('insertion','','discard');let _0x66d90d=_0x6733c9['start'],_0xcfdefa=_0x6733c9['end'];const _0x27f5f9=_0x181bd8['model']['schema']['getNearestSelectionRange'](_0x66d90d,'backward'),_0x239e40=_0x181bd8['model']['schema']['getNearestSelectionRange'](_0xcfdefa,'forward');_0x27f5f9['isCollapsed']&&(_0x66d90d=_0x27f5f9['start']),_0x239e40['isCollapsed']&&(_0xcfdefa=_0x239e40['end']),_0x3288a0([_0x181bd8['model']['createRange'](_0x66d90d,_0xcfdefa)]);}),_0x1c44c8['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','chain',_0xfbc3a5),_0x1c44c8['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','chain',_0xfbc3a5)),_0x181bd8['plugins']['has']('ImageCaptionEditing')&&(_0x1c44c8['enableCommand']('toggleImageCaption',(_0x462b21,_0x1df184)=>{const _0x1d825a=_0x181bd8['plugins']['get']('ImageCaptionUtils');let _0x5398e8=_0x1bc584['getClosestSelectedImageElement'](_0x181bd8['model']['document']['selection']),_0x1407d4=_0x1d825a['getCaptionFromImageModelElement'](_0x5398e8);_0x181bd8['model']['change'](()=>{if(_0x1407d4)return void _0x1c44c8['markDeletion'](_0x181bd8['model']['createRangeOn'](_0x1407d4));const _0x2ff68d=_0x1bc584['isBlockImage'](_0x5398e8);_0x462b21(_0x1df184),_0x5398e8=_0x1bc584['getClosestSelectedImageElement'](_0x181bd8['model']['document']['selection']),_0x1407d4=_0x1d825a['getCaptionFromImageModelElement'](_0x5398e8),_0x1c44c8['markInsertion'](_0x181bd8['model']['createRangeOn'](_0x1407d4),_0x2ff68d?null:'imageCaption');});}),_0x1c44c8['_suggestionFactory']['registerCustomCallback']('insertion','imageCaption','chain',_0xfbc3a5));const _0x463c79=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x5dd0d2(_0x32bf99,_0xfee593){const _0x2bfb96=_0x463c79['findIndex'](({type:_0x55528d,subType:_0x39e616})=>_0x32bf99['type']==_0x55528d&&_0x32bf99['subType']==_0x39e616),_0x22f4c7=_0x463c79['findIndex'](({type:_0x4188d2,subType:_0x362b05})=>_0xfee593['type']==_0x4188d2&&_0xfee593['subType']==_0x362b05);if(_0x2bfb96<0x0||_0x22f4c7<0x0)return!0x1;const _0x45b649=_0x32bf99['getFirstRange'](),_0x2fffb2=_0xfee593['getFirstRange']();if((0x0==_0x2bfb96||0x1==_0x2bfb96)&&0x2==_0x22f4c7&&_0x45b649['isIntersecting'](_0x2fffb2))return!0x0;if(0x2==_0x2bfb96&&0x3==_0x22f4c7){const _0x3da308=_0x1c44c8['_findSuggestions'](_0x45b649,'insertion')['filter'](({suggestion:_0x458781,meta:_0x9ff09c})=>_0x9ff09c['isOwn']&&'convertInlineImageToBlock'==_0x458781['subType']);if(_0x3da308['length']>0x1&&_0x2fffb2['end']['isEqual'](_0x45b649['start']))return!0x0;if(0x1==_0x3da308['length']&&(_0x45b649['start']['isEqual'](_0x2fffb2['end'])||_0x45b649['end']['isEqual'](_0x2fffb2['start'])))return!0x0;}if(0x3==_0x2bfb96&&0x3==_0x22f4c7&&_0x45b649['start']['isBefore'](_0x2fffb2['start'])){const _0x2bd7f5=_0x45b649['end']['nodeAfter'],_0x13f917=_0x2fffb2['start']['nodeBefore'];return _0x1bc584['isBlockImage'](_0x2bd7f5)&&_0x2bd7f5===_0x13f917;}return!0x1;}function _0xfbc3a5(_0x239a2c,_0x563330){return _0x5dd0d2(_0x239a2c,_0x563330)?[_0x239a2c,_0x563330]:_0x5dd0d2(_0x563330,_0x239a2c)?[_0x563330,_0x239a2c]:null;}_0x181bd8['plugins']['has']('ImageResize')&&(_0x1c44c8['enableDefaultAttributesIntegration']('resizeImage'),_0x1c44c8['descriptionFactory']['registerAttributeLabel']('resizedWidth',tx(_0x47fa63,'FORMAT_IMAGE_SIZE'))),_0x181bd8['plugins']['has']('ImageTextAlternativeEditing')&&_0x1c44c8['enableDefaultAttributesIntegration']('imageTextAlternative'),_0x181bd8['plugins']['has']('PictureEditing')&&_0x1c44c8['descriptionFactory']['registerDescriptionCallback'](_0x16811d=>{if('attribute'!=_0x16811d['type'])return;const {data:_0x3225ad}=_0x16811d;return _0x3225ad&&'sources'==_0x3225ad['key']?{'type':'format','content':''}:void 0x0;}),_0x181bd8['plugins']['has']('ImageSizeAttributes')&&_0x1c44c8['descriptionFactory']['registerDescriptionCallback'](_0x30ba8b=>{if('attribute'!=_0x30ba8b['type'])return;const {data:_0x8cb109}=_0x30ba8b;return!_0x8cb109||'width'!=_0x8cb109['key']&&'height'!=_0x8cb109['key']?void 0x0:{'type':'format','content':''};}),_0x1c44c8['descriptionFactory']['registerDescriptionCallback'](_0x50c06e=>{if(!!_0x463c79['find'](({type:_0x3a6976,subType:_0x4d441e})=>_0x50c06e['type']==_0x3a6976&&_0x50c06e['subType']==_0x4d441e))return _0x50c06e['previous']?{}:void 0x0;}),_0x1c44c8['descriptionFactory']['registerDescriptionCallback'](_0x174e4d=>{if('insertion'==_0x174e4d['type']||'deletion'==_0x174e4d['type']){const _0x5b878c=_0x174e4d['getContainedElement']();if(_0x5b878c&&_0x5b878c['is']('element','caption'))return{'type':'insertion'==_0x174e4d['type']?'addObject':'removeObject','element':_0x5b878c,'quantity':0x1};}}),_0x1c44c8['descriptionFactory']['registerDescriptionCallback'](_0x4ab77f=>'formatBlock'==_0x4ab77f['type']&&'convertInlineImageToBlock'==_0x4ab77f['subType']?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x4ab77f['type']&&'convertBlockImageToInline'==_0x4ab77f['subType']?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x1c44c8['descriptionFactory']['registerDescriptionCallback'](_0x5e3bcd=>{if('attribute'!=_0x5e3bcd['type'])return;const {data:_0xd1a0d7}=_0x5e3bcd;if(!_0xd1a0d7||'alt'!=_0xd1a0d7['key'])return;const _0x386a1d=_0xd1a0d7['newValue'];return _0x386a1d?{'type':'format','content':tx(_0x47fa63,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x386a1d+'\x22')}:{'type':'format','content':tx(_0x47fa63,'*Remove\x20image\x20text\x20alternative*')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x581f2e=this['editor'],_0x3d26a0=_0x581f2e['locale'];_0x581f2e['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x482c7c=>{if('formatBlock'!=_0x482c7c['type']&&'formatInline'!=_0x482c7c['type'])return;const {data:_0x3dc34c}=_0x482c7c;if(_0x3dc34c){if('imageTextAlternative'==_0x3dc34c['commandName']){const _0x37efd2=_0x3dc34c['commandParams'][0x0]['newValue'];return _0x37efd2?{'type':'format','content':tx(_0x3d26a0,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x37efd2+'\x22')}:{'type':'format','content':tx(_0x3d26a0,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x3dc34c['commandName']){const _0x1e7f68=_0x3dc34c['commandParams'][0x0]['width'];return _0x1e7f68?{'type':'format','content':tx(_0x3d26a0,'*Set\x20image\x20width:*\x20%0',_0x1e7f68)}:{'type':'format','content':tx(_0x3d26a0,'*Reset\x20image\x20width*')};}}});}}class _0x414483 extends _0x22b56d['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ImageEditing'))return;const _0x44046e=this['editor']['locale'],_0x16a996=this['editor']['plugins']['get']('TrackChangesEditing');_0x16a996['enableDefaultAttributesIntegration']('replaceImageSource'),_0x16a996['descriptionFactory']['registerDescriptionCallback'](_0x1ca062=>{if('attribute'!=_0x1ca062['type'])return;const {data:_0x4f6e78}=_0x1ca062;return _0x4f6e78&&'src'==_0x4f6e78['key']?_0x4f6e78['newValue']&&_0x4f6e78['oldValue']?{'type':'format','content':tx(_0x44046e,'*Replace\x20image*')}:{'type':'format','content':''}:void 0x0;}),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x2b0d34=this['editor']['plugins']['get']('TrackChangesEditing');_0x2b0d34['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','accept',_0x2b0d34['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x2b0d34['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','discard',_0x2b0d34['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x274ee4=this['editor'],_0x14838c=_0x274ee4['locale'];_0x274ee4['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x455c25=>{if('formatBlock'!=_0x455c25['type']&&'formatInline'!=_0x455c25['type'])return;const {data:_0x1e4c9f}=_0x455c25;if(!_0x1e4c9f||'replaceImageSource'!=_0x1e4c9f['commandName'])return;return{'type':'format','content':tx(_0x14838c,'*Format:*\x20replace\x20image\x20URL')};});}}class TrackChangesImageStyle extends _0x22b56d['Plugin']{['afterInit'](){const _0x48a192=this['editor'];if(!_0x48a192['plugins']['has']('ImageStyleEditing'))return;const _0x4cfe7f=_0x48a192['plugins']['get']('TrackChangesEditing'),_0x1d5545=_0x48a192['plugins']['get']('ImageUtils'),_0x718075={};_0x4cfe7f['enableCommand']('imageStyle',(_0x701a1b,_0x529b43)=>{const _0x3ba836=_0x48a192['plugins']['get']('Users')['me'],_0x2c818c=_0x48a192['commands']['get']('imageStyle');let _0x46cfe8=_0x1d5545['getClosestSelectedImageElement'](_0x48a192['model']['document']['selection']),_0x25b79=_0x48a192['model']['createRangeOn'](_0x46cfe8),_0x3fcba2=_0x2c818c['value'];if(_0x3fcba2==_0x529b43['value'])return;const _0xfdb706={'commandName':'imageStyle','commandParams':[_0x529b43],'formatGroupId':_0x22b56d['uid']()};_0x48a192['model']['change'](()=>{if(_0x4cfe7f['getSuggestions']()['filter'](_0x1770c4=>_0x1770c4['isInContent']&&_0x3ba836==_0x1770c4['author']&&('formatBlock'==_0x1770c4['type']||'formatInline'==_0x1770c4['type'])&&('imageStylePreApply'==_0x1770c4['subType']||'imageStylePostApply'==_0x1770c4['subType'])&&_0x1770c4['getFirstRange']()['isEqual'](_0x25b79))['forEach'](_0x2748d9=>_0x4cfe7f['discardSuggestion'](_0x2748d9['head'])),_0x46cfe8=_0x1d5545['getClosestSelectedImageElement'](_0x48a192['model']['document']['selection']),_0x25b79=_0x48a192['model']['createRangeOn'](_0x46cfe8),_0x2c818c['refresh'](),_0x48a192['commands']['get']('imageTypeInline')['refresh'](),_0x48a192['commands']['get']('imageTypeBlock')['refresh'](),_0x3fcba2=_0x2c818c['value'],_0x3fcba2!=_0x529b43['value'])return _0x1d5545['isInlineImage'](_0x46cfe8)&&_0x2c818c['shouldConvertImageType'](_0x529b43['value'],_0x46cfe8)?(_0x701a1b({..._0x529b43,'setImageSizes':!0x1}),_0x46cfe8=_0x1d5545['getClosestSelectedImageElement'](_0x48a192['model']['document']['selection']),void _0x4cfe7f['markBlockFormat'](_0x46cfe8,{..._0xfdb706,'commandReversedParams':[{'value':_0x3fcba2||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x1d5545['isBlockImage'](_0x46cfe8)?_0x4cfe7f['markBlockFormat'](_0x46cfe8,_0xfdb706,[],'imageStylePostApply'):_0x4cfe7f['markInlineFormat'](_0x25b79,_0xfdb706,'imageStylePostApply'));});});for(const _0x24262c of _0x48a192['plugins']['get']('ImageStyleEditing')['normalizedStyles'])_0x718075[_0x24262c['name']]=_0x24262c['title']['toLowerCase']();_0x4cfe7f['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','join',()=>!0x1),_0x4cfe7f['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePostApply','join',()=>!0x1),_0x4cfe7f['_suggestionFactory']['registerCustomCallback']('formatInline','imageStylePostApply','join',()=>!0x1),_0x4cfe7f['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','accept',([_0x43d5d7])=>{_0x1d5545['setImageNaturalSizeAttributes'](_0x43d5d7['getContainedElement']());}),_0x4cfe7f['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','discard',(_0x1509f4,_0x212916)=>{_0x4cfe7f['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0x1509f4,{'commandName':_0x212916['commandName'],'commandParams':_0x212916['commandReversedParams']});}),_0x4cfe7f['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','chain',function(_0x2ff819,_0x2c7897){if(_0xe75d18(_0x2ff819,_0x2c7897))return[_0x2ff819,_0x2c7897];if(_0xe75d18(_0x2c7897,_0x2ff819))return[_0x2c7897,_0x2ff819];return null;});const _0xcc9994=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0xe75d18(_0x2476ac,_0xbcfb4){const _0x2b8b0a=_0xcc9994['findIndex'](({type:_0x39113f,subType:_0x2c3535})=>_0x2476ac['type']==_0x39113f&&_0x2476ac['subType']==_0x2c3535),_0x5e0191=_0xcc9994['findIndex'](({type:_0x49d244,subType:_0x5c877b})=>_0xbcfb4['type']==_0x49d244&&_0xbcfb4['subType']==_0x5c877b);if(_0x2b8b0a<0x0||_0x5e0191<0x0)return!0x1;const _0x432223=_0x2476ac['getFirstRange'](),_0x56d6fe=_0xbcfb4['getFirstRange']();if((0x0==_0x2b8b0a||0x1==_0x2b8b0a)&&0x2==_0x5e0191&&_0x432223['isIntersecting'](_0x56d6fe))return!0x0;if(0x2==_0x2b8b0a&&0x3==_0x5e0191){const _0x437f24=_0x4cfe7f['_findSuggestions'](_0x432223,'insertion')['filter'](({suggestion:_0x454c6c,meta:_0x258b69})=>_0x258b69['isOwn']&&'convertInlineImageToBlock'==_0x454c6c['subType']);if(_0x437f24['length']>0x1&&_0x56d6fe['end']['isEqual'](_0x432223['start']))return!0x0;if(0x1==_0x437f24['length']&&(_0x432223['start']['isEqual'](_0x56d6fe['end'])||_0x432223['end']['isEqual'](_0x56d6fe['start'])))return!0x0;}if(0x3==_0x2b8b0a&&0x3==_0x5e0191&&_0x432223['start']['isBefore'](_0x56d6fe['start'])){const _0x391c02=_0x432223['end']['nodeAfter'],_0x1f0cee=_0x56d6fe['start']['nodeBefore'];return _0x1d5545['isBlockImage'](_0x391c02)&&_0x391c02===_0x1f0cee;}return!0x1;}_0x48a192['model']['document']['registerPostFixer'](()=>{let _0x3bae17=!0x1;const _0x286488=Array['from'](_0x48a192['model']['document']['differ']['getChangedMarkers']());for(const {name:_0xc867fe,data:_0x693443}of _0x286488){const {group:_0x45fc33,type:_0x572b96,subType:_0x1a9721,id:_0x1b6a4d}=_0x4cfe7f['_splitMarkerName'](_0xc867fe);if('suggestion'==_0x45fc33&&_0x4cfe7f['hasSuggestion'](_0x1b6a4d)){if('formatBlock'==_0x572b96&&('imageStylePreApply'==_0x1a9721||'imageStylePostApply'==_0x1a9721)){const _0x43e61f=_0x4cfe7f['getSuggestion'](_0x1b6a4d);if(_0x693443['newRange']){const _0x18365e=_0x43e61f['getFirstRange']()['getContainedElement']();if(_0x1d5545['isBlockImage'](_0x18365e))continue;_0x4cfe7f['discardSuggestion'](_0x43e61f),_0x3bae17=!0x0;}}if('insertion'==_0x572b96&&'imageCaption'==_0x1a9721&&!_0x693443['newRange']){const _0x2a8b58=_0x4cfe7f['getSuggestion'](_0x1b6a4d);_0x2a8b58['next']&&_0x2a8b58['next']['isInContent']&&(_0x4cfe7f['discardSuggestion'](_0x2a8b58['next']),_0x3bae17=!0x0);}}}return _0x3bae17;}),this['_registerLegacyDescription'](_0x718075);}['_registerLegacyDescription'](_0x5bf45a){const _0x511006=this['editor'],_0x7c7227=_0x511006['locale'];_0x511006['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x2c435f=>{if('formatBlock'!=_0x2c435f['type']&&'formatInline'!=_0x2c435f['type'])return;const {data:_0x59fd78}=_0x2c435f;if(!_0x59fd78||'imageStyle'!=_0x59fd78['commandName'])return;const _0x578a29=_0x59fd78['commandParams'][0x0]['value'];return _0x29cf45('side'===_0x578a29?tx(_0x7c7227,'FORMAT_SIDE_IMAGE'):_0x5bf45a[_0x578a29]||_0x578a29);function _0x29cf45(_0x3bb3fd){return{'type':'format','content':tx(_0x7c7227,'*Format:*\x20%0',_0x3bb3fd)};}});}}class TrackChangesImportWord extends _0x22b56d['Plugin']{['_trackChangesValueDuringImport'];['_trackChangesExecuted'];constructor(_0x41fb63){super(_0x41fb63),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x1f1dcb=this['editor'],_0x108271=_0x1f1dcb['commands']['get']('importWord'),_0xb13c0f=_0x1f1dcb['commands']['get']('trackChanges');_0x108271&&(_0x108271['on']('execute',(_0x41c951,[,_0x3332b4])=>{this['_trackChangesValueDuringImport']=_0xb13c0f['value'],_0x3332b4['collaboration_features']['track_changes']=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this['listenTo'](_0x108271,'dataInsert',this['_handleImportedData']['bind'](this)),this['listenTo'](_0x108271,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0xb13c0f['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x1f1dcb['plugins']['get']('TrackChangesEditing')['enableCommand']('importWord'));}['_handleImportedData'](_0xe83780,_0x27356f){const {suggestions:_0x516dfa}=_0x27356f,_0x5cc652=this['editor']['commands']['get']('trackChanges'),_0x48735d=_0x5cc652['value'];this['_trackChangesValueDuringImport']!==_0x48735d&&(_0x5cc652['execute'](),this['_trackChangesExecuted']=!0x0),_0x516dfa&&_0x516dfa['forEach'](({id:_0x2f19bf,type:_0x4b9009,author:_0x479077,created_at:_0x2dd3e3})=>{const _0x1b98b5={'id':_0x2f19bf,'type':_0x4b9009,'authorId':this['editor']['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x479077,'createdAt':_0x2dd3e3?new Date(_0x2dd3e3):new Date(),'source':'importWord'}}};this['editor']['plugins']['get']('TrackChangesEditing')['_setSuggestionData'](_0x1b98b5);});}}class TrackChangesIndent extends _0x22b56d['Plugin']{['afterInit'](){const _0x5f5a23=this['editor'],_0xdd2d58=_0x5f5a23['plugins']['get']('TrackChangesEditing');if(_0x5f5a23['plugins']['has']('IndentEditing')&&(_0xdd2d58['enableCommand']('indent'),_0xdd2d58['enableCommand']('outdent')),_0x5f5a23['plugins']['has']('IndentBlock')){for(const _0x4f536a of['indentBlock','outdentBlock'])_0xdd2d58['enableDefaultAttributesIntegration'](_0x4f536a);if(_0x5f5a23['plugins']['has']('ListEditing')){for(const _0x17fc6d of['indentBlockList','indentBlockListItem','outdentBlockList','outdentBlockListItem'])_0xdd2d58['enableDefaultAttributesIntegration'](_0x17fc6d);}}const _0x573ab3=_0x5f5a23['locale'];_0xdd2d58['descriptionFactory']['registerAttributeLabel']('blockIndent',tx(_0x573ab3,'FORMAT_INDENT')),_0xdd2d58['descriptionFactory']['registerAttributeLabel']('blockIndentList',tx(_0x573ab3,'FORMAT_INDENT')),_0xdd2d58['descriptionFactory']['registerAttributeLabel']('blockIndentListItem',tx(_0x573ab3,'FORMAT_INDENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x387105=this['editor'],_0x4861fe=_0x387105['locale'],_0x1a68eb=_0x387105['plugins']['get']('TrackChangesEditing');_0x1a68eb['descriptionFactory']['registerDescriptionCallback'](_0x43624c=>{if('formatBlock'!=_0x43624c['type'])return;const {data:_0x150aa4}=_0x43624c;if(!_0x150aa4)return;if('indentBlock'!=_0x150aa4['commandName']&&'outdentBlock'!=_0x150aa4['commandName'])return;const _0x42a134=_0x43624c['getItems']()[0x0],_0x2cb732=_0x1a68eb['descriptionFactory']['getItemLabel'](_0x42a134);return'indentBlock'==_0x150aa4['commandName']?{'type':'format','content':tx(_0x4861fe,'*Indent:*\x20%0',_0x2cb732)}:'outdentBlock'==_0x150aa4['commandName']?{'type':'format','content':tx(_0x4861fe,'*Outdent:*\x20%0',_0x2cb732)}:void 0x0;});}}class TrackChangesInputCommand extends _0x22b56d['Plugin']{static get['requires'](){return[_0x22b56d['Input']];}['init'](){this['editor']['plugins']['get']('TrackChangesEditing')['enableCommand']('input');}}class _0x15f59e extends _0x22b56d['Plugin']{['afterInit'](){const _0x1cc080=this['editor'];if(!_0x1cc080['plugins']['has']('LinkEditing'))return;const _0x2f0f6e=_0x1cc080['plugins']['get']('TrackChangesEditing'),_0x4c0e7a=_0x1cc080['commands']['get']('link');_0x2f0f6e['enableDefaultAttributesIntegration']('link'),_0x2f0f6e['enableDefaultAttributesIntegration']('unlink');for(const _0x2caba0 of _0x4c0e7a['manualDecorators'])_0x2f0f6e['descriptionFactory']['registerAttributeLabel'](_0x2caba0['id'],'link\x20('+_0x2caba0['label']['toLowerCase']()+')');_0x2f0f6e['descriptionFactory']['registerDescriptionCallback'](_0x579678=>{if('attribute'!=_0x579678['type'])return;const {data:_0x8a8d99}=_0x579678;if(!_0x8a8d99||'linkHref'!=_0x8a8d99['key'])return;const _0xf0cf47=_0x8a8d99['newValue'],_0x355bd8=_0x1cc080['locale'];return{'type':'format','content':null==_0xf0cf47?tx(_0x355bd8,'*Remove\x20link*'):tx(_0x355bd8,'*Set\x20link:*\x20%0','\x22'+_0xf0cf47+'\x22')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x591a4c=this['editor'],_0x4b98a5=_0x591a4c['locale'];_0x591a4c['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x54f69a=>{if('formatInline'!=_0x54f69a['type'])return;const {data:_0x120fdf}=_0x54f69a;if(_0x120fdf){if('link'==_0x120fdf['commandName']){const _0x33bcfc=_0x120fdf['commandParams'][0x0];return{'type':'format','content':tx(_0x4b98a5,'*Set\x20link:*\x20%0','\x22'+_0x33bcfc+'\x22')};}return'unlink'==_0x120fdf['commandName']?{'type':'format','content':tx(_0x4b98a5,'*Remove\x20link*')}:void 0x0;}});}}class TrackChangesLegacyList extends _0x22b56d['Plugin']{['afterInit'](){const _0x5adb04=this['editor'],_0x41ab86=_0x5adb04['locale'];if(!_0x5adb04['plugins']['has']('LegacyListEditing'))return;const _0x37d416=_0x5adb04['plugins']['get']('TrackChangesEditing'),_0x45677e=_0x5adb04['plugins']['has']('LegacyTodoListEditing');function _0xddf564(_0x28bc74){return()=>{const _0x10c026=_0x5adb04['model']['document']['selection'],_0x15c875=_0x5adb04['commands']['get'](_0x28bc74);if(_0x15c875['value'])return void _0x5adb04['execute']('paragraph',{});const _0x4505ee=_0x28bc74['slice'](0x0,-0x4),_0x243b78=function(_0x499dd0,_0x529441,_0x8dee08){let _0x276383=Array['from'](_0x499dd0)['filter'](_0x3feb4e=>function(_0x13356b,_0x26042d){return _0x26042d['checkChild'](_0x13356b['parent'],'listItem')&&!_0x26042d['isObject'](_0x13356b);}(_0x3feb4e,_0x8dee08));_0x276383=_0x276383['filter'](_0x5c1dd1=>!_0x5c1dd1['is']('element','listItem')||_0x5c1dd1['getAttribute']('listType')!=_0x529441);const _0x27d0e2=new Set();for(const _0x1ffea8 of _0x276383)_0x1ffea8['is']('element','listItem')?_0x27d0e2['add'](_0x555e2d(_0x1ffea8)):_0x27d0e2['add'](_0x1ffea8);return Array['from'](_0x27d0e2);}(_0x10c026['getSelectedBlocks'](),_0x4505ee,_0x5adb04['model']['schema']);_0x5adb04['model']['change'](()=>{for(const _0x48a19c of _0x243b78)_0x37d416['markBlockFormat'](_0x48a19c,{'commandName':_0x28bc74,'commandParams':[{'forceValue':!_0x15c875['value']}],'formatGroupId':'blockName'},_0x436dde(_0x48a19c));});};}function _0x2245b0(_0x2ae4a6){return()=>{const _0x51698b=function(_0x233192){let _0x5da7a8=Array['from'](_0x233192);const _0x45f1ce=_0x5da7a8['findIndex'](_0x4f1204=>'listItem'!=_0x4f1204['name']);return _0x45f1ce>-0x1&&(_0x5da7a8=_0x5da7a8['slice'](0x0,_0x45f1ce)),_0x5da7a8;}(_0x5adb04['model']['document']['selection']['getSelectedBlocks']()),_0x5090bb=_0x5adb04['model']['createRange'](_0x5adb04['model']['createPositionAt'](_0x51698b[0x0],'before'),_0x5adb04['model']['createPositionAt'](_0x51698b[_0x51698b['length']-0x1],'end'));_0x5adb04['model']['change'](()=>{_0x37d416['markBlockFormat'](_0x5090bb,{'commandName':_0x2ae4a6,'commandParams':[],'formatGroupId':'listIndent'},function(_0x80409b){const _0x35190b=new Set();for(const _0x15e10f of _0x80409b){let _0x4b60c8=_0x15e10f['nextSibling'];for(;_0x4b60c8&&_0x4b60c8['getAttribute']('listIndent')>_0x15e10f['getAttribute']('listIndent');)_0x35190b['add'](_0x4b60c8),_0x4b60c8=_0x4b60c8['nextSibling'];}return Array['from'](_0x35190b);}(_0x51698b));});};}_0x37d416['enableCommand']('numberedList',_0xddf564('numberedList')),_0x37d416['enableCommand']('bulletedList',_0xddf564('bulletedList')),_0x45677e&&_0x37d416['enableCommand']('todoList',_0xddf564('todoList')),_0x37d416['enableCommand']('indentList',_0x2245b0('indentList')),_0x37d416['enableCommand']('outdentList',_0x2245b0('outdentList')),_0x45677e&&_0x37d416['enableCommand']('checkTodoList',()=>{const _0x5e0c5a=_0x5adb04['commands']['get']('checkTodoList'),_0x1ed331=Array['from'](_0x5e0c5a['_selectedElements']);_0x1ed331['filter'](_0xf9104a=>_0xf9104a['getAttribute']('todoListChecked')!=_0x5e0c5a['value']),_0x5adb04['model']['change'](()=>{for(const _0x1c3198 of _0x1ed331)_0x37d416['markBlockFormat'](_0x1c3198,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x5e0c5a['value']}]});});}),_0x37d416['descriptionFactory']['registerElementLabel']('listItem',_0x269a8c=>tx(_0x41ab86,'ELEMENT_LIST_ITEM',_0x269a8c)),_0x37d416['descriptionFactory']['registerDescriptionCallback'](_0x57c662=>{if('formatBlock'!=_0x57c662['type']&&'formatInline'!=_0x57c662['type'])return;const {data:_0x451c71}=_0x57c662;if(_0x451c71){if('numberedList'==_0x451c71['commandName']||'bulletedList'==_0x451c71['commandName']||'todoList'==_0x451c71['commandName'])switch(_0x451c71['commandName']['replace']('List','')){case'bulleted':return _0x360d33(tx(_0x41ab86,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x360d33(tx(_0x41ab86,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x360d33(tx(_0x41ab86,'ELEMENT_TODO_LIST'));}if('indentList'==_0x451c71['commandName'])return{'type':'format','content':tx(_0x41ab86,'*Indent:*\x20%0',tx(_0x41ab86,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x451c71['commandName'])return{'type':'format','content':tx(_0x41ab86,'*Outdent:*\x20%0',tx(_0x41ab86,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x451c71['commandName'])return _0x451c71['commandParams'][0x0]['forceValue']?{'type':'format','content':tx(_0x41ab86,'*Check\x20item*')}:{'type':'format','content':tx(_0x41ab86,'*Uncheck\x20item*')};}function _0x360d33(_0x4dc853){return{'type':'format','content':tx(_0x41ab86,'*Change\x20to:*\x20%0',_0x4dc853)};}});}}function _0x555e2d(_0x1d7a38){const _0x31a730=_0x1d7a38['getAttribute']('listIndent');if(0x0==_0x31a730)return _0x1d7a38;let _0x420217=_0x1d7a38;for(;_0x1d7a38['previousSibling']&&_0x1d7a38['previousSibling']['is']('element','listItem');){const _0x9069c2=_0x1d7a38['previousSibling']['getAttribute']('listIndent');if(_0x9069c2==_0x31a730)_0x420217=_0x1d7a38['previousSibling'];else{if(_0x9069c2<_0x31a730)break;}_0x1d7a38=_0x1d7a38['previousSibling'];}return _0x420217;}function _0x436dde(_0x4c0659){const _0x2be8d3=[];if(_0x4c0659['is']('element','listItem')&&_0x4c0659['getAttribute']('listIndent')>0x0){let _0x273699=_0x4c0659['nextSibling'];for(;_0x273699&&'listItem'==_0x273699['name']&&_0x273699['getAttribute']('listIndent')==_0x4c0659['getAttribute']('listIndent');)_0x2be8d3['push'](_0x273699),_0x273699=_0x273699['nextSibling'];}return _0x2be8d3;}class TrackChangesLegacyListProperties extends _0x22b56d['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('LegacyListPropertiesEditing'))return;const _0x428948=this['editor']['config']['get']('list.properties'),_0x958748=this['editor']['plugins']['get']('TrackChangesEditing');_0x428948['styles']&&_0x958748['enableCommand']('listStyle',this['handleListStyleCommand']['bind'](this)),_0x428948['reversed']&&_0x958748['enableCommand']('listReversed',this['handleListReversedCommand']['bind'](this)),_0x428948['startIndex']&&_0x958748['enableCommand']('listStart',this['handleListStartCommand']['bind'](this)),_0x958748['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));}['handleListStyleCommand'](_0x3d1220,_0x507086={}){const _0xa4fa1=this['editor']['plugins']['get']('TrackChangesEditing'),_0x2878a5=this['_getSuggestionBlocksForListStyle']();this['editor']['model']['change'](()=>{_0xa4fa1['markMultiRangeBlockFormat'](_0x2878a5,{'commandName':'listStyle','commandParams':[{'type':_0x507086['type']}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0x4a6e69,_0x3f057c={}){const _0x551426=this['editor']['plugins']['get']('TrackChangesEditing'),_0x18f5e4=this['_getSuggestionBlocks'](_0x53dd95=>_0x53dd95['is']('element','listItem')&&'numbered'===_0x53dd95['getAttribute']('listType'));if(_0x18f5e4['length']<0x1)return;const _0xd610de=_0x18f5e4['map'](_0x5331a8=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x5331a8,'before'),this['editor']['model']['createPositionAt'](_0x5331a8,0x0)));this['editor']['model']['change'](()=>{_0x551426['markMultiRangeBlockFormat'](_0xd610de,{'commandName':'listReversed','commandParams':[{'reversed':_0x3f057c['reversed']}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x44a6e0,_0x2036d6={}){const _0x49a849=this['editor']['plugins']['get']('TrackChangesEditing'),_0x229653=this['_getSuggestionBlocks'](_0x3ec624=>_0x3ec624['is']('element','listItem')&&'numbered'===_0x3ec624['getAttribute']('listType'));if(_0x229653['length']<0x1)return;const _0x5045cc=_0x229653['map'](_0x35e636=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x35e636,'before'),this['editor']['model']['createPositionAt'](_0x35e636,0x0)));this['editor']['model']['change'](()=>{_0x49a849['markMultiRangeBlockFormat'](_0x5045cc,{'commandName':'listStart','commandParams':[{'startIndex':_0x2036d6['startIndex']}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x3c7d02){if('formatBlock'!=_0x3c7d02['type']&&'formatInline'!=_0x3c7d02['type'])return;const _0x32b7d4=this['editor']['locale'],{data:_0x35c6b3}=_0x3c7d02;if(!_0x35c6b3)return;let _0x40d68c,_0x126323;switch(_0x35c6b3['commandName']){case'listStyle':_0x40d68c='*Change\x20to:*\x20%0',_0x126323={'type':'format','content':tx(_0x32b7d4,_0x40d68c,tx(_0x32b7d4,this['_getTranslationKeyForListStyle'](_0x35c6b3['commandParams'][0x0]['type'])))};break;case'listReversed':_0x40d68c=_0x35c6b3['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x126323={'type':'format','content':tx(_0x32b7d4,_0x40d68c)};break;case'listStart':_0x40d68c='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x126323={'type':'format','content':tx(_0x32b7d4,_0x40d68c,_0x35c6b3['commandParams'][0x0]['startIndex'])};}return _0x126323;}['_getSuggestionBlocksForListStyle'](){const _0x31fa44=this['editor']['plugins']['get']('LegacyListUtils');let _0x57df6d=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return _0x57df6d[0x0]?.['is']('element','listItem')&&_0x57df6d['unshift'](..._0x31fa44['getSiblingNodes'](this['editor']['model']['document']['selection']['getFirstPosition'](),'backward')),_0x57df6d[_0x57df6d['length']-0x1]?.['is']('element','listItem')&&_0x57df6d['push'](..._0x31fa44['getSiblingNodes'](this['editor']['model']['document']['selection']['getLastPosition'](),'forward')),_0x57df6d=[...new Set(_0x57df6d)],this['editor']['model']['document']['selection']['getFirstPosition']()?.['parent']?.['is']('element','listItem')&&(_0x57df6d=_0x57df6d['filter'](_0x40a08d=>_0x40a08d['is']('element','listItem'))),_0x57df6d;}['_getSuggestionBlocks'](_0x20cac0){const _0x31fbaa=this['editor']['plugins']['get']('LegacyListUtils');let _0x25c919=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x20cac0)['map'](_0x37e197=>{const _0xbd9fa=this['editor']['model']['createPositionAt'](_0x37e197,0x0);return[..._0x31fbaa['getSiblingNodes'](_0xbd9fa,'backward'),..._0x31fbaa['getSiblingNodes'](_0xbd9fa,'forward')];})['flat']();return _0x25c919=[...new Set(_0x25c919)],_0x25c919;}['_getTranslationKeyForListStyle'](_0x2cabb5){return'ELEMENT_'+(this['editor']['plugins']['get']('LegacyListUtils')['getListTypeFromListStyleType'](_0x2cabb5)||'default')['toUpperCase']()+'_LIST_'+_0x2cabb5['toUpperCase']()['replace'](/-/g,'_');}}class _0x43e149 extends _0x22b56d['Plugin']{['afterInit'](){const _0x4b10fe=this['editor'];if(!_0x4b10fe['plugins']['has']('MediaEmbedEditing'))return;const _0x5699bc=_0x4b10fe['plugins']['get']('TrackChangesEditing'),_0x5a5de8=_0x4b10fe['locale'];_0x5699bc['enableCommand']('mediaEmbed'),_0x5699bc['descriptionFactory']['registerElementLabel']('media',_0x4fddef=>tx(_0x5a5de8,'ELEMENT_MEDIA',_0x4fddef));}}class TrackChangesMention extends _0x22b56d['Plugin']{['afterInit'](){const _0x45fc59=this['editor'];_0x45fc59['plugins']['has']('MentionEditing')&&_0x45fc59['plugins']['get']('TrackChangesEditing')['enableCommand']('mention');}}class _0x4245f0 extends _0x22b56d['Plugin']{['afterInit'](){const _0xcbf75c=this['editor'];if(!_0xcbf75c['plugins']['has']('MergeFieldsEditing'))return;const _0x3b0c3c=_0xcbf75c['plugins']['get']('TrackChangesEditing'),_0x51dcd5=_0xcbf75c['locale'];_0x3b0c3c['enableCommand']('insertMergeField'),_0x3b0c3c['enableCommand']('insertMergeFieldBlock'),_0x3b0c3c['enableCommand']('insertMergeFieldImage'),_0x3b0c3c['descriptionFactory']['registerElementLabel']('mergeField',_0x2503fe=>tx(_0x51dcd5,'ELEMENT_MERGE_FIELD',_0x2503fe)),_0x3b0c3c['descriptionFactory']['registerElementLabel']('mergeFieldBlock',_0x4dd403=>tx(_0x51dcd5,'ELEMENT_MERGE_FIELD',_0x4dd403)),_0x3b0c3c['descriptionFactory']['registerDescriptionCallback'](_0x305054=>{if('insertion'!=_0x305054['type']&&'deletion'!=_0x305054['type'])return;const _0x29c7ea=_0x305054['getContainedElement']();if(null==_0x29c7ea)return;const _0xfab3c7=_0xcbf75c['plugins']['get']('MergeFieldsEditing');let _0x1fe215;switch(_0xfab3c7['getMergeFieldType'](_0x29c7ea)){case null:return;case'image':{const _0xbffc76=_0xfab3c7['unwrapAffixes'](_0x29c7ea['getAttribute']('src'));_0x1fe215=_0xfab3c7['getLabel'](_0xbffc76)||_0xbffc76;break;}default:{const _0x83c5e7=_0x29c7ea['getAttribute']('id');_0x1fe215=_0xfab3c7['getLabel'](_0x83c5e7)||_0x83c5e7;break;}}return'insertion'==_0x305054['type']?{'type':'insertion','content':tx(_0x51dcd5,'*Insert:*\x20%0','\x22'+_0x1fe215+'\x22\x20'+tx(_0x51dcd5,'ELEMENT_MERGE_FIELD'))}:{'type':'deletion','content':tx(_0x51dcd5,'*Remove:*\x20%0','\x22'+_0x1fe215+'\x22\x20'+tx(_0x51dcd5,'ELEMENT_MERGE_FIELD'))};});}}class TrackChangesMultiLevelList extends _0x22b56d['Plugin']{['afterInit'](){const _0x558548=this['editor'],_0x3ba0f4=_0x558548['plugins']['get']('TrackChangesEditing');_0x558548['plugins']['has']('MultiLevelList')&&(_0x3ba0f4['enableDefaultAttributesIntegration']('multiLevelList'),_0x3ba0f4['descriptionFactory']['registerDescriptionCallback'](_0x16720e=>this['handleDescriptions'](_0x16720e)));}['handleDescriptions'](_0x584484){const _0x48b761=this['editor']['locale'],{data:_0xd2e977}=_0x584484,_0x7620a8={'type':'format','content':''};if(_0xd2e977&&'listMarkerStyle'==_0xd2e977['key']){if(!_0xd2e977['oldValue'])return{'type':'format','content':tx(_0x48b761,'*Set\x20format:*\x20%0',tx(_0x48b761,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0xd2e977['newValue']+')'};if(!_0xd2e977['newValue']){let _0x37c982=_0x584484['head'];for(;_0x37c982;){if(_0x37c982['data']&&'listType'==_0x37c982['data']['key']&&_0x37c982['data']['newValue'])return _0x7620a8;_0x37c982=_0x37c982['next'];}return{'type':'format','content':tx(_0x48b761,'*Remove\x20format:*\x20%0',tx(_0x48b761,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0xd2e977['oldValue']+')'};}}}}class _0x5e7079 extends _0x22b56d['Plugin']{['afterInit'](){const _0x1db02b=this['editor'];if(!_0x1db02b['plugins']['has']('PageBreakEditing'))return;_0x1db02b['plugins']['get']('TrackChangesEditing')['enableCommand']('pageBreak');const _0x1d86cb=_0x1db02b['plugins']['get']('TrackChangesEditing'),_0x706f86=_0x1db02b['locale'];_0x1d86cb['descriptionFactory']['registerElementLabel']('pageBreak',_0xc5dbfe=>tx(_0x706f86,'ELEMENT_PAGE_BREAK',_0xc5dbfe));}}class _0x59f413 extends _0x22b56d['Plugin']{['afterInit'](){const _0x18b399=this['editor'];if(!_0x18b399['plugins']['has']('Paragraph'))return;const _0x57b0bf=_0x18b399['locale'],_0x30230d=_0x18b399['plugins']['get']('TrackChangesEditing');_0x30230d['descriptionFactory']['registerElementLabel']('paragraph',_0xb66ed7=>tx(_0x57b0bf,'ELEMENT_PARAGRAPH',_0xb66ed7)),_0x30230d['enableDefaultAttributesIntegration']('paragraph'),_0x30230d['enableCommand']('insertParagraph');const _0x5e1fa5=_0x30230d['descriptionFactory'];_0x5e1fa5['registerDescriptionCallback'](_0x41c702=>{if('insertion'!==_0x41c702['type'])return;const {start:_0x11fac2,end:_0x554c7f}=_0x41c702['getFirstRange']();if(!_0x11fac2['isTouching'](_0x554c7f)||!_0x11fac2['nodeAfter'])return;const _0x2eea3d=_0x18b399['model']['schema'],_0x3a2b77=_0x11fac2['nodeAfter'];return _0x2eea3d['isBlock'](_0x3a2b77)&&!_0x2eea3d['isLimit'](_0x3a2b77)&&_0x2eea3d['checkChild'](_0x3a2b77,'$text')?{'type':'insertion','content':tx(_0x57b0bf,'*Insert:*\x20%0',_0x5e1fa5['getItemLabel'](_0x3a2b77,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x512d86=this['editor'],_0x5d991c=_0x512d86['locale'];_0x512d86['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x5081bb=>{if('formatBlock'!=_0x5081bb['type'])return;const {data:_0x59141a}=_0x5081bb;return _0x59141a&&'paragraph'==_0x59141a['commandName']?{'type':'format','content':tx(_0x5d991c,'*Change\x20to:*\x20%0',tx(_0x5d991c,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}class _0x2611eb extends _0x22b56d['Plugin']{['afterInit'](){const _0x4016eb=this['editor'];_0x4016eb['commands']['get']('replaceSource')&&_0x4016eb['plugins']['get']('TrackChangesEditing')['enableCommand']('replaceSource');}}class TrackChangesRemoveFormat extends _0x22b56d['Plugin']{['afterInit'](){const _0x5ec36b=this['editor'];if(!_0x5ec36b['plugins']['has']('RemoveFormatEditing'))return;_0x5ec36b['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('removeFormat'),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x4efb2d=this['editor'];_0x4efb2d['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x37ce91=>{if('formatBlock'!=_0x37ce91['type']&&'formatInline'!=_0x37ce91['type'])return;const {data:_0x245b18}=_0x37ce91;return _0x245b18&&'removeFormat'==_0x245b18['commandName']?{'type':'format','content':tx(_0x4efb2d['locale'],'*Remove\x20all\x20formatting*')}:void 0x0;});}}class TrackChangesRestrictedEditingMode extends _0x22b56d['Plugin']{['afterInit'](){const _0x3a96cb=this['editor'];if(!_0x3a96cb['plugins']['has']('RestrictedEditingModeEditing'))return;const _0x99d77d=_0x3a96cb['plugins']['get']('TrackChangesEditing');_0x99d77d['enableCommand']('goToPreviousRestrictedEditingException'),_0x99d77d['enableCommand']('goToNextRestrictedEditingException');const _0x2321bb=_0x3a96cb['plugins']['get']('RestrictedEditingModeEditing');_0x2321bb['enableCommand']('trackChanges'),_0x2321bb['enableCommand']('acceptSuggestion'),_0x2321bb['enableCommand']('discardSuggestion'),_0x2321bb['enableCommand']('acceptAllSuggestions'),_0x2321bb['enableCommand']('discardAllSuggestions'),_0x2321bb['enableCommand']('acceptSelectedSuggestions'),_0x2321bb['enableCommand']('discardSelectedSuggestions');}}class TrackChangesShiftEnterCommand extends _0x22b56d['Plugin']{['afterInit'](){const _0x303b6b=this['editor'];if(!_0x303b6b['plugins']['has']('ShiftEnter'))return;const _0xb2d965=_0x303b6b['plugins']['get']('TrackChangesEditing');_0xb2d965['enableCommand']('shiftEnter'),_0xb2d965['descriptionFactory']['registerElementLabel']('softBreak',_0x45675f=>tx(_0x303b6b['locale'],'ELEMENT_LINE_BREAK',_0x45675f));}}function _0x1af2a7(_0x4db892,_0x5a6335,_0x49033e){const _0x15627c=[];for(const _0x25b69c of _0x5a6335['getItems']())_0x25b69c['hasAttribute'](_0x4db892)&&_0x15627c['push'](_0x49033e['createRangeOn'](_0x25b69c));return _0x15627c;}class TrackChangesStandardEditingMode extends _0x22b56d['Plugin']{['afterInit'](){const _0x2e978c=this['editor'],_0x10a0bb=_0x2e978c['plugins']['get']('TrackChangesEditing');_0x2e978c['plugins']['has']('StandardEditingModeEditing')&&(this['_enableEditingExceptionCommand'](),this['_enableEditingExceptionBlockCommand'](),_0x10a0bb['enableCommand']('restrictedEditingExceptionAuto'));}['_enableEditingExceptionCommand'](){const _0x5e7c04=this['editor'],_0x2fa6fa=_0x5e7c04['model'],_0x5f38e9=_0x5e7c04['locale'],_0x63e0d1=_0x5e7c04['plugins']['get']('TrackChangesEditing'),_0x49a7f5='restrictedEditingException',_0xe9c27a=_0x5e7c04['commands']['get'](_0x49a7f5);_0x63e0d1['enableCommand'](_0x49a7f5,(_0x832c0e,_0x521315={})=>{const _0x16c1d0=_0x2fa6fa['document']['selection'];if(_0x16c1d0['isCollapsed'])return void _0x832c0e(_0x521315);const _0x5c889f=void 0x0!==_0x521315['forceValue']?_0x521315['forceValue']:!_0xe9c27a['value'];_0x2fa6fa['change'](()=>{const _0x217edb=Array['from'](_0x16c1d0['getRanges']());for(const _0x2315cb of _0x217edb){const _0x2a1cee=_0x5c889f?[_0x2315cb]:_0x1af2a7(_0x49a7f5,_0x2315cb,_0x2fa6fa);for(const _0x1aee60 of _0x2a1cee)_0x63e0d1['markInlineFormat'](_0x1aee60,{'commandName':_0x49a7f5,'commandParams':[{'forceValue':_0x5c889f}]});}});}),_0x63e0d1['descriptionFactory']['registerDescriptionCallback'](_0x14b545=>{if('formatBlock'!=_0x14b545['type']&&'formatInline'!=_0x14b545['type'])return;const {data:_0x40452d}=_0x14b545;return _0x40452d&&_0x40452d['commandName']==_0x49a7f5?_0x40452d['commandParams'][0x0]['forceValue']?{'type':'format','content':tx(_0x5f38e9,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':tx(_0x5f38e9,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}['_enableEditingExceptionBlockCommand'](){const _0x566515=this['editor'],_0x556ee1=_0x566515['locale'],_0x5bf402=_0x566515['plugins']['get']('TrackChangesEditing'),_0x75a8ac='restrictedEditingExceptionBlock',_0x33a4e0=this['editor']['commands']['get'](_0x75a8ac);_0x5bf402['enableCommand'](_0x75a8ac,(_0x5a1795,_0x35d9bb={})=>{const _0x58f75e=this['editor']['model']['document']['selection'],_0x277fef=_0x35d9bb&&void 0x0!==_0x35d9bb['forceValue']?_0x35d9bb['forceValue']:!_0x33a4e0['value'];let _0x3a9609=[];if(_0x277fef){const _0x70aa=Array['from'](_0x58f75e['getSelectedBlocks']())['filter'](_0x38c32b=>function(_0x385798){return!!_0x385798['findAncestor']('restrictedEditingException',{'includeSelf':!0x0});}(_0x38c32b)||function(_0x3e959f,_0x58c868){const _0x1f44c1=_0x58c868['createContext'](_0x3e959f['parent']);if(!_0x58c868['checkChild'](_0x1f44c1,'restrictedEditingException'))return!0x1;if(!_0x58c868['checkChild'](_0x1f44c1['push']('restrictedEditingException'),_0x3e959f))return!0x1;return!0x0;}(_0x38c32b,this['editor']['model']['schema']));_0x3a9609=_0x2d6281(_0x70aa,_0x566515['model']);}else{const _0xbf500a=Array['from'](_0x58f75e['getSelectedBlocks']())['map'](_0x241ad4=>function(_0x3773dc){let _0xa9653a=_0x3773dc;for(;_0xa9653a['parent'];){if('restrictedEditingException'==_0xa9653a['parent']['name'])return _0xa9653a;_0xa9653a=_0xa9653a['parent'];}return null;}(_0x241ad4))['filter'](_0x4a4d90=>!!_0x4a4d90);_0x3a9609=_0x2d6281(_0xbf500a,_0x566515['model']);}_0x566515['model']['change'](()=>{for(const _0x1055b0 of _0x3a9609)_0x5bf402['markBlockFormat'](_0x1055b0,{'commandName':_0x75a8ac,'commandParams':[{'forceValue':_0x277fef}]});});}),_0x5bf402['descriptionFactory']['registerDescriptionCallback'](_0x3d0e29=>{const {data:_0xc9c301}=_0x3d0e29;if(_0xc9c301&&_0xc9c301['commandName']==_0x75a8ac)return _0xc9c301['commandParams'][0x0]['forceValue']?{'type':'format','content':tx(_0x556ee1,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':tx(_0x556ee1,'FORMAT_RESTRICTED_DISABLED')};});}}class TrackChangesStylesDropdown extends _0x22b56d['Plugin']{['afterInit'](){const _0x569974=this['editor'];if(!_0x569974['plugins']['has']('Style')||!_0x569974['plugins']['has']('DataSchema'))return;const _0x585d51=_0x569974['plugins']['get']('TrackChangesEditing'),_0x93bc84=_0x569974['locale'],_0x54f192=_0x569974['config']['get']('style')||{},_0x3b5174=_0x569974['plugins']['get']('GeneralHtmlSupport'),_0x559a2b=_0x569974['plugins']['get']('StyleUtils')['normalizeConfig'](_0x569974['plugins']['get']('DataSchema'),_0x54f192['definitions']);_0x585d51['enableDefaultAttributesIntegration']('style');const _0x102c21=new Set();for(const _0x1a75f8 of _0x559a2b['block']){const _0x324d3c=_0x3b5174['getGhsAttributeNameForElement'](_0x1a75f8['element']);_0x102c21['add'](_0x324d3c);}const _0x27f0ee=new Set();for(const _0x1243bb of _0x559a2b['inline']){const _0x23aad7=_0x3b5174['getGhsAttributeNameForElement'](_0x1243bb['element']);_0x27f0ee['add'](_0x23aad7);for(const _0x2a2ca1 of _0x1243bb['ghsAttributes'])_0x27f0ee['add'](_0x2a2ca1);}for(const _0x3f77ae of _0x102c21)_0x585d51['descriptionFactory']['registerAttributeLabel'](_0x3f77ae,tx(_0x93bc84,'FORMAT_STYLE'));for(const _0x38e348 of _0x27f0ee)_0x585d51['descriptionFactory']['registerAttributeLabel'](_0x38e348,tx(_0x93bc84,'FORMAT_STYLE'));this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0xa9b40c=this['editor'],_0x446688=_0xa9b40c['locale'];_0xa9b40c['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1f357f=>{if('formatBlock'!=_0x1f357f['type']&&'formatInline'!=_0x1f357f['type'])return;const {data:_0x29b432}=_0x1f357f;return _0x29b432&&'style'===_0x29b432['commandName']?_0x29b432['commandParams'][0x0]['forceValue']?{'type':'format','content':tx(_0x446688,'*Set\x20format:*\x20%0',_0x29b432['commandParams'][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':tx(_0x446688,'*Remove\x20format:*\x20%0',_0x29b432['commandParams'][0x0]['styleName']['toLowerCase']())}:void 0x0;});}}class _0xb1f9f3 extends _0x22b56d['Plugin']{['_tablePostFixingSubtypes'];['_tableSuggestions'];constructor(_0x4b508a){super(_0x4b508a),this['_tablePostFixingSubtypes']=['tableRow','tableColumn'],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x2682f8=this['editor'],_0x4019f6=_0x2682f8['model']['document']['selection'];if(!_0x2682f8['plugins']['has']('TableEditing'))return;const _0x3ba9c2=_0x2682f8['locale'],_0x4d3831=_0x2682f8['plugins']['get']('TrackChangesEditing'),_0x24e6e1=_0x2682f8['plugins']['get']('TableUtils');_0x4d3831['descriptionFactory']['registerElementLabel']('table',_0x1fbfbd=>tx(_0x3ba9c2,'ELEMENT_TABLE',_0x1fbfbd)),this['_setupColumnsRowsFixing'](),_0x4d3831['enableCommand']('insertTable'),_0x4d3831['enableCommand']('selectTableRow'),_0x4d3831['enableCommand']('selectTableColumn');for(const _0x9bd7bb of['insertTableRowAbove','insertTableRowBelow']){const _0x250d25=_0x2682f8['commands']['get'](_0x9bd7bb);_0x4d3831['enableCommand'](_0x9bd7bb,_0xfaab72=>{_0x2682f8['model']['change'](_0x2cbc82=>{_0xfaab72();const _0x53e2b4='above'===_0x250d25['order'],_0x4671d2=_0x24e6e1['getSelectionAffectedTableCells'](_0x4019f6),_0x1d995d=_0x24e6e1['getRowIndexes'](_0x4671d2),_0x23501f=_0x53e2b4?_0x1d995d['first']-0x1:_0x1d995d['last']+0x1,_0x14aecd=_0x4671d2[0x0]['findAncestor']('table'),_0x1df67b=_0x24e6e1['createTableWalker'](_0x14aecd,{'startRow':_0x23501f,'endRow':_0x23501f}),_0x4063ab=Array['from'](_0x1df67b)['map'](_0x3f7362=>_0x2cbc82['createRangeOn'](_0x3f7362['cell']));_0x4d3831['markMultiRangeInsertion'](_0x4063ab,'tableRow');});});}for(const _0x12b5ef of['insertTableColumnLeft','insertTableColumnRight']){const _0x2a0b34=_0x2682f8['commands']['get'](_0x12b5ef);_0x4d3831['enableCommand'](_0x12b5ef,_0x4db5c7=>{_0x2682f8['model']['change'](_0x3b466a=>{_0x4db5c7();const _0x3d4650='left'===_0x2a0b34['order'],_0x3c43d5=_0x24e6e1['getSelectionAffectedTableCells'](_0x4019f6),_0x42ee83=_0x24e6e1['getColumnIndexes'](_0x3c43d5),_0x139172=_0x3d4650?_0x42ee83['first']-0x1:_0x42ee83['last']+0x1,_0x5f8ddf=_0x3c43d5[0x0]['findAncestor']('table'),_0x265837=_0x24e6e1['createTableWalker'](_0x5f8ddf,{'startRow':0x0,'column':_0x139172,'includeAllSlots':!0x1}),_0x251987=Array['from'](_0x265837)['map'](_0xe98dd9=>_0x3b466a['createRangeOn'](_0xe98dd9['cell']));_0x4d3831['markMultiRangeInsertion'](_0x251987,'tableColumn');});});}for(const _0x27e32c of['removeTableRow','removeTableColumn']){const _0x205d4e=_0x27e32c['substr'](0xb),_0x38a7e6=_0x205d4e['toLowerCase'](),_0x40b398=_0x38a7e6['substr'](0x0,0x3)+'span',_0xfa0bb0='table'+_0x205d4e,_0x18e8de='min'+_0x205d4e,_0x52f409='max'+_0x205d4e;_0x4d3831['enableCommand'](_0x27e32c,()=>{_0x2682f8['model']['change'](_0x35f7a9=>{const _0x2af578=_0x24e6e1['getSelectionAffectedTableCells'](_0x4019f6),_0x3709bb=_0x2af578[0x0]['findAncestor']('table');let _0x3cb18c;if('removeTableRow'==_0x27e32c){const _0x6a8334=_0x24e6e1['getRowIndexes'](_0x2af578);_0x3cb18c={'startRow':_0x6a8334['first'],'endRow':_0x6a8334['last'],'includeAllSlots':!0x0};}else{const _0x3dec0b=_0x24e6e1['getColumnIndexes'](_0x2af578);_0x3cb18c={'startColumn':_0x3dec0b['first'],'endColumn':_0x3dec0b['last'],'includeAllSlots':!0x0};}const _0x541990=_0x24e6e1['createTableWalker'](_0x3709bb,_0x3cb18c),_0x1a3ef4=Array['from'](_0x541990)['map'](({cell:_0x342b80})=>_0x342b80),_0x50b547=_0x2776c6(_0x1a3ef4['filter'](_0x4fe3a3=>_0x4fe3a3['hasAttribute'](_0x40b398))),_0x40d21e=_0x2776c6(_0x1a3ef4['filter'](_0x2e4ba1=>!_0x2e4ba1['hasAttribute'](_0x40b398)))['map'](_0x1db72e=>_0x35f7a9['createRangeOn'](_0x1db72e)),_0x1ce084=_0x4d3831['markMultiRangeDeletion'](_0x40d21e,_0xfa0bb0);if(_0x1ce084&&('tableRow'==_0x1ce084['subType']||'tableColumn'==_0x1ce084['subType'])){const _0x285da9=this['_getSuggestionCoords'](_0x1ce084);for(const _0x5a95bb of _0x50b547){const _0x10d501=_0x35f7a9['createRangeOn'](_0x5a95bb),_0x1908f0=_0x24e6e1['getCellLocation'](_0x5a95bb),_0xb09e99=_0x5a95bb['getAttribute'](_0x40b398)-0x1,_0x44c079=_0x285da9[_0x18e8de],_0x9febe4=_0x285da9[_0x52f409];_0x44c079<=_0x1908f0[_0x38a7e6]&&_0x1908f0[_0x38a7e6]+_0xb09e99<=_0x9febe4&&_0x1ce084['addRange'](_0x10d501);}}});});}function _0x4b2f6b(_0x4538bc){const _0x215b51=Array['from'](_0x4019f6['getRanges']())['map'](_0x183588=>_0x22b56d['ModelLiveRange']['fromRange'](_0x183588));_0x2682f8['model']['change'](_0x2ee50c=>{const _0x59710d=_0x2ee50c['batch'];_0x4538bc=_0x4538bc['filter'](_0x5c8d75=>'$graveyard'!=_0x5c8d75['root']['rootName']),_0x2ee50c['setSelection'](_0x4538bc),_0x2682f8['commands']['get']('removeTableRow')['refresh'](),_0x2682f8['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x2682f8['model']['enqueueChange'](()=>{_0x2682f8['model']['enqueueChange'](_0x59710d,_0xee58ef=>{const _0x2755c5=_0x215b51['filter'](_0x4addfd=>'$graveyard'!=_0x4addfd['root']['rootName']);_0x2755c5['length']>0x0&&_0xee58ef['setSelection'](_0x2755c5);for(const _0x35608f of _0x215b51)_0x35608f['detach']();});});});}function _0xf0047(_0x2c5563){_0x2682f8['model']['change'](_0x34b7c5=>{const _0x328a98=Array['from'](_0x4019f6['getRanges']())['map'](_0x212ea4=>_0x22b56d['ModelLiveRange']['fromRange'](_0x212ea4)),_0x2de56b=[];for(const _0x115bce of _0x2c5563)for(const _0x1188db of _0x115bce['getItems']({'shallow':!0x0}))_0x2de56b['push'](_0x1188db);for(const _0x17df87 of _0x2de56b)'$graveyard'!=_0x17df87['root']['rootName']&&(_0x34b7c5['setSelection'](_0x34b7c5['createPositionAt'](_0x17df87,0x0)),_0x2682f8['commands']['get']('removeTableColumn')['refresh'](),_0x2682f8['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x14372c=_0x328a98['filter'](_0x497a41=>'$graveyard'!=_0x497a41['root']['rootName']);_0x14372c['length']>0x0&&_0x34b7c5['setSelection'](_0x14372c);for(const _0x3be97c of _0x328a98)_0x3be97c['detach']();});}function _0x36baef(_0x300edb,_0xc09744){return _0xc09744['every'](_0x390aa8=>_0x300edb['some'](_0x21f09b=>_0x21f09b['end']['isEqual'](_0x390aa8['start'])||_0x390aa8['end']['isEqual'](_0x21f09b['start'])));}function _0x4a3a00(_0x1af8c2,_0x247b69){return!_0x1af8c2['some'](_0x58c82f=>_0x247b69['some'](_0x4b9ea0=>_0x58c82f['isIntersecting'](_0x4b9ea0)))&&_0x1af8c2['some'](_0x1fcf05=>_0x247b69['some'](_0x2d4ddd=>_0x1fcf05['end']['isTouching'](_0x2d4ddd['start'])));}_0x4d3831['descriptionFactory']['registerDescriptionCallback'](_0x1e6c81=>{if('insertion'!=_0x1e6c81['type']&&'deletion'!=_0x1e6c81['type'])return;const _0x2b9b25=_0x1e6c81['getContainedElement']();if(null!=_0x2b9b25&&_0x2b9b25['is']('element','table')){if('insertion'==_0x1e6c81['type']){const _0x4617f0=_0x1e6c81['getItems']()['filter'](_0x338216=>_0x338216['is']('$textProxy'))['map'](_0x4a3c2e=>_0x4a3c2e['data']);if(_0x4617f0['length'])return{'type':'insertion','content':tx(_0x3ba9c2,'*Insert:*\x20%0',tx(_0x3ba9c2,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x4617f0['join']('\x20')+'\x22'))};}if('deletion'==_0x1e6c81['type']){const _0xe19236=_0x1e6c81['getItems']()['filter'](_0x2d3ca9=>_0x2d3ca9['is']('$textProxy'))['map'](_0x4cc1cc=>_0x4cc1cc['data']);if(_0xe19236['length'])return{'type':'deletion','content':tx(_0x3ba9c2,'*Remove:*\x20%0',tx(_0x3ba9c2,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0xe19236['join']('\x20')+'\x22'))};}}}),_0x4d3831['descriptionFactory']['registerDescriptionCallback'](_0x7d8e04=>{if('tableRow'==_0x7d8e04['subType']){const _0x5b33ef=_0x7d8e04['getItems']()['filter'](_0x4cd6e1=>_0x4cd6e1['is']('$textProxy'))['map'](_0x234e79=>_0x234e79['data']),_0x25429b=this['_getSuggestionCoords'](_0x7d8e04),_0x51f577=_0x25429b['maxRow']-_0x25429b['minRow']+0x1;if('insertion'==_0x7d8e04['type'])return _0x5b33ef['length']?{'type':'insertion','content':tx(_0x3ba9c2,'*Insert:*\x20%0',tx(_0x3ba9c2,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x51f577,'\x22'+_0x5b33ef['join']('\x20')+'\x22']))}:{'type':'insertion','content':tx(_0x3ba9c2,'*Insert:*\x20%0',tx(_0x3ba9c2,'ELEMENT_TABLE_ROW',_0x51f577))};if('deletion'==_0x7d8e04['type'])return _0x5b33ef['length']?{'type':'deletion','content':tx(_0x3ba9c2,'*Remove:*\x20%0',tx(_0x3ba9c2,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x51f577,'\x22'+_0x5b33ef['join']('\x20')+'\x22']))}:{'type':'deletion','content':tx(_0x3ba9c2,'*Remove:*\x20%0',tx(_0x3ba9c2,'ELEMENT_TABLE_ROW',_0x51f577))};}if('tableColumn'==_0x7d8e04['subType']){const _0x212197=_0x7d8e04['getItems']()['filter'](_0x2498fb=>_0x2498fb['is']('$textProxy'))['map'](_0x5caebc=>_0x5caebc['data']),_0xb296=this['_getSuggestionCoords'](_0x7d8e04),_0x2ccd4c=_0xb296['maxColumn']-_0xb296['minColumn']+0x1;if('insertion'==_0x7d8e04['type'])return _0x212197['length']?{'type':'insertion','content':tx(_0x3ba9c2,'*Insert:*\x20%0',tx(_0x3ba9c2,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x2ccd4c,'\x22'+_0x212197['join']('\x20')+'\x22']))}:{'type':'insertion','content':tx(_0x3ba9c2,'*Insert:*\x20%0',tx(_0x3ba9c2,'ELEMENT_TABLE_COLUMN',_0x2ccd4c))};if('deletion'==_0x7d8e04['type'])return _0x212197['length']?{'type':'deletion','content':tx(_0x3ba9c2,'*Remove:*\x20%0',tx(_0x3ba9c2,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x2ccd4c,'\x22'+_0x212197['join']('\x20')+'\x22']))}:{'type':'deletion','content':tx(_0x3ba9c2,'*Remove:*\x20%0',tx(_0x3ba9c2,'ELEMENT_TABLE_COLUMN',_0x2ccd4c))};}}),_0x4d3831['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','discard',_0x4b2f6b),_0x4d3831['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','accept',_0x4b2f6b),_0x4d3831['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','discard',_0xf0047),_0x4d3831['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','accept',_0xf0047),_0x4d3831['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','join',_0x36baef),_0x4d3831['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','join',_0x36baef),_0x4d3831['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','join',_0x4a3a00),_0x4d3831['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','join',_0x4a3a00);}['_acceptFormatSuggestionCallbackFactory'](){const _0x4f91ae=this['editor'],_0xd86d05=_0x4f91ae['model']['document']['selection'];return(_0xb3d169,_0x5a9fb5)=>{_0x4f91ae['model']['change'](_0x399361=>{const {commandName:_0x5d2a73,commandParams:_0x4cec1b}=_0x5a9fb5;let _0x4041e4=_0xb3d169[0x0]['end']['nodeBefore'];_0x4cec1b&&_0x4cec1b[0x0]&&!0x1===_0x4cec1b[0x0]['forceValue']&&(_0x4041e4=_0xb3d169[0x0]['start']['nodeAfter']);const _0x417f79=_0x399361['createRangeIn'](_0x4041e4);if('$graveyard'==_0x417f79['root']['rootName'])return;const _0x42105d=Array['from'](_0xd86d05['getRanges']())['map'](_0x4503d8=>_0x22b56d['ModelLiveRange']['fromRange'](_0x4503d8));_0x399361['setSelection'](_0x417f79),_0x4f91ae['commands']['get'](_0x5d2a73)['refresh'](),_0x4cec1b['push']({'forceDefaultExecution':!0x0}),_0x4f91ae['execute'](_0x5d2a73,..._0x4cec1b);const _0x524a3b=_0x42105d['filter'](_0x1b193e=>'$graveyard'!=_0x1b193e['root']['rootName']);_0x524a3b['length']>0x0&&_0x399361['setSelection'](_0x524a3b);for(const _0x1047d6 of _0x42105d)_0x1047d6['detach']();});};}['_getCoordsForCells'](_0xe625c4){const _0x1ea757=this['editor']['plugins']['get']('TableUtils');let _0x551813=Number['MAX_SAFE_INTEGER'],_0x3d7df1=Number['MIN_SAFE_INTEGER'],_0x572aab=Number['MAX_SAFE_INTEGER'],_0x5216a7=Number['MIN_SAFE_INTEGER'];for(const _0x3b66ef of _0xe625c4){if('$graveyard'==_0x3b66ef['root']['rootName'])continue;const {row:_0x32e6e8,column:_0x34788c}=_0x1ea757['getCellLocation'](_0x3b66ef),_0xe8dfa4=_0x3b66ef['hasAttribute']('rowspan')?_0x3b66ef['getAttribute']('rowspan')-0x1:0x0,_0x5309fe=_0x3b66ef['hasAttribute']('colspan')?_0x3b66ef['getAttribute']('colspan')-0x1:0x0;_0x551813=_0x32e6e8<_0x551813?_0x32e6e8:_0x551813,_0x3d7df1=_0x32e6e8+_0xe8dfa4>_0x3d7df1?_0x32e6e8+_0xe8dfa4:_0x3d7df1,_0x572aab=_0x34788c<_0x572aab?_0x34788c:_0x572aab,_0x5216a7=_0x34788c+_0x5309fe>_0x5216a7?_0x34788c+_0x5309fe:_0x5216a7;}return{'minRow':_0x551813,'maxRow':_0x3d7df1,'minColumn':_0x572aab,'maxColumn':_0x5216a7};}['_setupColumnsRowsFixing'](){const _0x4a1b2c=this['editor'],_0x245a78=_0x4a1b2c['plugins']['get']('TrackChangesEditing'),_0x3b38f1=_0x4a1b2c['plugins']['get']('TableUtils');_0x4a1b2c['model']['document']['on']('change:data',()=>{const _0x8a25ec=Array['from'](_0x4a1b2c['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x9c43dd,data:_0x33dd80}of _0x8a25ec){const {group:_0x18c1bc,id:_0x42f0fe,subType:_0x5f0a9b}=_0x245a78['_splitMarkerName'](_0x9c43dd);if('suggestion'!=_0x18c1bc)continue;if(null!=_0x33dd80['oldRange'])continue;const _0x14922e=_0x245a78['getSuggestion'](_0x42f0fe);this['_tablePostFixingSubtypes']['includes'](_0x5f0a9b)&&this['_tableSuggestions']['add'](_0x14922e);}},{'priority':'low'});const _0x28db9b=(_0x16f5ce,_0x4bb5a2)=>{let _0x51f73d=!0x1;const _0x2903c1=_0x4bb5a2['createRangeOn'](_0x16f5ce),_0x4949ea=_0x16f5ce['findAncestor']('table'),_0x55553a=_0x3b38f1['getCellLocation'](_0x16f5ce);for(const _0xf278f7 of this['_tableSuggestions']){const _0x283106=_0xf278f7['subType'],_0x4168ba=_0x283106['startsWith']('tablePaste'),_0x206dba=_0x283106['substr'](_0x4168ba?0xa:0x5),_0x314b48=_0x206dba['toLowerCase'](),_0x4d3a88=_0x314b48['substr'](0x0,0x3)+'span',_0x718796='min'+_0x206dba,_0x48e689='max'+_0x206dba;if(!_0xf278f7['isInContent'])continue;if(_0x4949ea!=_0xf278f7['getFirstRange']()['start']['findAncestor']('table'))continue;if(_0xf278f7['isIntersectingWithRange'](_0x2903c1))continue;const _0x4767ac=_0x16f5ce['hasAttribute'](_0x4d3a88)?_0x16f5ce['getAttribute'](_0x4d3a88)-0x1:0x0,_0x985592=this['_getSuggestionCoords'](_0xf278f7),_0x3b71d5=_0x985592[_0x718796],_0x3808a5=_0x985592[_0x48e689];_0x3b71d5<=_0x55553a[_0x314b48]&&_0x55553a[_0x314b48]+_0x4767ac<=_0x3808a5&&(_0xf278f7['addRange'](_0x2903c1),_0x51f73d=!0x0);}return _0x51f73d;};_0x4a1b2c['model']['document']['registerPostFixer'](_0x79238b=>{let _0x509f21=!0x1;for(const _0x3052c0 of _0x4a1b2c['model']['document']['differ']['getChanges']())if('insert'==_0x3052c0['type']){if('tableRow'==_0x3052c0['name']){for(const _0x1d5979 of _0x3052c0['position']['nodeAfter']['getChildren']())_0x509f21=_0x509f21||_0x28db9b(_0x1d5979,_0x79238b);}else'tableCell'==_0x3052c0['name']&&(_0x509f21=_0x509f21||_0x28db9b(_0x3052c0['position']['nodeAfter'],_0x79238b));}return _0x509f21;});}['_getSuggestionCoords'](_0x479254){return this['_getCoordsForCells'](_0x479254['getRanges']()['map'](_0x2ada7b=>_0x2ada7b['start']['nodeAfter']));}}function _0x2776c6(_0x3350aa){return Array['from'](new Set(_0x3350aa)['values']());}class TrackChangesTableMergeSplit extends _0x22b56d['Plugin']{static get['requires'](){return[_0xb1f9f3];}['afterInit'](){const _0xb098a2=this['editor'],_0x41f8a6=_0xb098a2['model']['document']['selection'],_0xa4c0a5=_0xb098a2['locale'];if(!_0xb098a2['plugins']['has']('TableEditing'))return;const _0x35e760=_0xb098a2['plugins']['get']('TrackChangesEditing'),_0x593547=_0xb098a2['plugins']['get']('TableUtils'),_0x53e368=_0xb098a2['plugins']['get'](_0xb1f9f3);_0x53e368['_tablePostFixingSubtypes']['push']('mergeTableCells'),_0x35e760['enableCommand']('mergeTableCells',()=>{const _0x430ee8=_0x593547['getSelectionAffectedTableCells'](_0xb098a2['model']['document']['selection']);_0xb098a2['model']['change'](()=>{_0x35e760['markMultiRangeBlockFormat'](_0x430ee8,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0xb098a2['commands']['get']('mergeTableCells')['on']('execute',(_0x2b46a8,_0x11f3ea)=>{_0xb098a2['commands']['get']('trackChanges')['value']&&(_0x11f3ea['length']>0x0&&_0x11f3ea[_0x11f3ea['length']-0x1]&&_0x11f3ea[_0x11f3ea['length']-0x1]['forceDefaultExecution']||_0x35e760['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x2b46a8['stop']());},{'priority':'highest'});for(const _0x419ee6 of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft']){const _0x101f03=_0xb098a2['commands']['get'](_0x419ee6);_0x35e760['enableCommand'](_0x419ee6,()=>{const _0x434840=_0xb098a2['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x169503=>_0x169503['is']('element','tableCell')),_0x5de493=_0x101f03['value'];_0xb098a2['model']['change'](()=>{_0x35e760['markMultiRangeBlockFormat']([_0x434840,_0x5de493],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x12a617 of['splitTableCellVertically','splitTableCellHorizontally']){const _0x442dad=_0xb098a2['commands']['get'](_0x12a617);_0x35e760['enableCommand'](_0x12a617,()=>{const _0x48be43=_0x593547['getSelectionAffectedTableCells'](_0xb098a2['model']['document']['selection'])[0x0],_0x3823a4=_0x48be43['findAncestor']('table'),{column:_0x33b5d5,row:_0xb96bb1}=_0x593547['getCellLocation'](_0x48be43);let _0x447e5f=[];if('horizontally'==_0x442dad['direction']){const _0x5a5151=_0x593547['createTableWalker'](_0x3823a4,{'startRow':_0xb96bb1,'endRow':_0xb96bb1,'includeAllSlots':!0x0});_0x447e5f=Array['from'](_0x5a5151)['map'](_0x435219=>_0x435219['cell']);}else{const _0x88a97a=_0x593547['createTableWalker'](_0x3823a4,{'column':_0x33b5d5,'includeAllSlots':!0x0});_0x447e5f=Array['from'](_0x88a97a)['map'](_0x412289=>_0x412289['cell']);}_0xb098a2['model']['change'](_0xab5ee4=>{_0x35e760['markBlockFormat'](_0xab5ee4['createRangeOn'](_0x48be43),{'commandName':_0x12a617,'commandParams':[]},_0x447e5f,_0x12a617);});});}_0x35e760['descriptionFactory']['registerDescriptionCallback'](_0x384f2a=>{if('formatBlock'!=_0x384f2a['type']&&'formatInline'!=_0x384f2a['type'])return;const {data:_0x5ef0c6}=_0x384f2a;return _0x5ef0c6&&'mergeTableCells'==_0x5ef0c6['commandName']?{'type':'format','content':tx(_0xa4c0a5,'*Merge\x20cells*')}:void 0x0;}),_0x35e760['descriptionFactory']['registerDescriptionCallback'](_0x1da7a2=>{if('formatBlock'!=_0x1da7a2['type']&&'formatInline'!=_0x1da7a2['type'])return;const {data:_0x4583b5}=_0x1da7a2;return _0x4583b5?'splitTableCellVertically'==_0x4583b5['commandName']?{'type':'format','content':tx(_0xa4c0a5,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x4583b5['commandName']?{'type':'format','content':tx(_0xa4c0a5,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x2994a6=_0x53e368['_acceptFormatSuggestionCallbackFactory']();for(const _0x47136a of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft'])_0x35e760['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x47136a,'accept',_0x2994a6);for(const _0x1602a9 of['splitTableCellVertically','splitTableCellHorizontally'])_0x35e760['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x1602a9,'accept',_0x2994a6);_0x35e760['_suggestionFactory']['registerCustomCallback']('formatBlock','mergeTableCells','accept',_0x1c79f8=>{_0xb098a2['model']['change'](_0x1bd71a=>{const _0xb744ad=Array['from'](_0x41f8a6['getRanges']())['map'](_0x3550e=>_0x22b56d['ModelLiveRange']['fromRange'](_0x3550e));_0x1bd71a['setSelection'](_0x1c79f8),_0xb098a2['commands']['get']('mergeTableCells')['refresh'](),_0xb098a2['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x5aef68=_0xb744ad['filter'](_0x880cc1=>'$graveyard'!=_0x880cc1['root']['rootName']);_0x5aef68['length']>0x0&&_0x1bd71a['setSelection'](_0x5aef68);for(const _0x395bc2 of _0xb744ad)_0x395bc2['detach']();});});for(const _0x494ae2 of['mergeTableCellUp','mergeTableCellDown','mergeTableCellLeft','mergeTableCellRight']){const _0xbe8b8b=_0xb098a2['commands']['get'](_0x494ae2);_0xbe8b8b['on']('set:isEnabled',(_0x28e885,_0x365fe2,_0x4ff397)=>{if(_0x4ff397){const _0x441155=_0xb098a2['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x360370=>_0x360370['is']('element','tableCell'));this['_areMergableCells'](_0xbe8b8b['value'],_0x441155)||(_0x28e885['return']=!0x1,_0x28e885['stop']());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x1b082e=this['editor']['commands']['get']('mergeTableCells'),_0x39b31b=this['editor']['plugins']['get']('TableUtils');if(!_0x1b082e['isEnabled'])return!0x1;const _0x14f022=_0x39b31b['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);for(const _0x442122 of _0x14f022)for(const _0x16d8c7 of _0x14f022)if(_0x442122!=_0x16d8c7&&!this['_areMergableCells'](_0x442122,_0x16d8c7))return!0x1;return!0x0;}['_areMergableCells'](_0x3df535,_0x18767b){const _0x50c390=this['editor']['plugins']['get']('TrackChangesEditing'),_0x1f3db4=this['editor']['model']['createRangeOn'](_0x3df535),_0x55412e=this['editor']['model']['createRangeOn'](_0x18767b),_0x55e10f=new Set(),_0x39b83d=new Set();for(const _0x12bc36 of _0x50c390['getSuggestions']())if(('insertion'==_0x12bc36['type']||'deletion'==_0x12bc36['type']||'mergeTableCells'==_0x12bc36['subType'])&&_0x12bc36['isInContent']){for(const _0x2ab49d of _0x12bc36['getRanges']())_0x2ab49d['containsRange'](_0x1f3db4,!0x0)&&_0x55e10f['add'](_0x12bc36['type']+':'+_0x12bc36['author']['id']),_0x2ab49d['containsRange'](_0x55412e,!0x0)&&_0x39b83d['add'](_0x12bc36['type']+':'+_0x12bc36['author']['id']);}if(_0x55e10f['size']!=_0x39b83d['size'])return!0x1;for(const _0x173e96 of _0x55e10f)if(!_0x39b83d['has'](_0x173e96))return!0x1;return!0x0;}}class _0x5531d8 extends _0x22b56d['Plugin']{static get['requires'](){return[_0xb1f9f3];}['afterInit'](){const _0x4f29de=this['editor'];if(!_0x4f29de['plugins']['has']('TableEditing'))return;const _0x56bd52=_0x4f29de['locale'],_0x1edfa9=_0x4f29de['plugins']['get']('TrackChangesEditing');_0x1edfa9['enableDefaultAttributesIntegration']('setTableRowHeader'),_0x1edfa9['enableDefaultAttributesIntegration']('setTableColumnHeader'),_0x1edfa9['descriptionFactory']['registerAttributeLabel']('headingRows',tx(_0x56bd52,'FORMAT_HEADER_ROW')),_0x1edfa9['descriptionFactory']['registerAttributeLabel']('headingColumns',tx(_0x56bd52,'FORMAT_HEADER_COLUMN')),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x2a1193=this['editor']['plugins']['get']('TrackChangesEditing'),_0x1e9e10=this['editor']['plugins']['get'](_0xb1f9f3)['_acceptFormatSuggestionCallbackFactory']();_0x2a1193['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableRowHeader','accept',_0x1e9e10),_0x2a1193['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableColumnHeader','accept',_0x1e9e10),this['_registerLegacyConverters'](),this['_registerLegacyDescription']();}['_registerLegacyConverters'](){const _0x1d027f=this['editor']['plugins']['get']('TrackChangesEditing'),_0x5eb68d=this['editor']['plugins']['get']('TableUtils');function _0x1cdc55({showActiveMarker:_0x55665f=!0x0,setDataAttribute:_0x4c2542=!0x0}={}){return(_0x23c17d,_0x5dd86f,_0x2f551a)=>{const {type:_0x731b5d,id:_0x1a629a}=_0x1d027f['_splitMarkerName'](_0x5dd86f['markerName']);if(!_0x1d027f['hasSuggestion'](_0x1a629a))return;const _0x5b7dcb=_0x1d027f['getSuggestion'](_0x1a629a),_0x34adeb=_0x5b7dcb['data'];if('formatBlock'!=_0x5b7dcb['type']||!_0x34adeb||'setTableColumnHeader'!=_0x34adeb['commandName'])return;if(_0x5dd86f['item'])return void _0x23c17d['stop']();if(!_0x2f551a['consumable']['consume'](_0x5dd86f['markerRange'],_0x23c17d['name']))return;const _0x17aab6=_0x5dd86f['markerRange']['start']['nodeAfter'],_0x3cd3a4=_0x5dd86f['markerRange']['end']['nodeBefore'],_0x8ec08b=_0x17aab6['parent']['parent'],{column:_0x354809}=_0x5eb68d['getCellLocation'](_0x17aab6),{column:_0x2dbc6b}=_0x5eb68d['getCellLocation'](_0x3cd3a4);for(let _0x2aa7bb=_0x354809;_0x2aa7bb<=_0x2dbc6b;_0x2aa7bb++){const _0x27cc2b=_0x5eb68d['createTableWalker'](_0x8ec08b,{'column':_0x2aa7bb,'includeAllSlots':!0x1});for(const _0x197aa2 of _0x27cc2b){const _0x12ed6c=_0x197aa2['cell'],_0x139a22=_0x2f551a['mapper']['toViewElement'](_0x12ed6c);_0x2f551a['writer']['addClass']('ck-suggestion-marker-'+_0x731b5d,_0x139a22),_0x4c2542&&_0x2f551a['writer']['setAttribute']('data-suggestion',_0x1a629a,_0x139a22),_0x2f551a['mapper']['bindElementToMarker'](_0x139a22,_0x5dd86f['markerName']),_0x55665f&&(_0x1d027f['activeMarkers']['includes'](_0x5dd86f['markerName'])?_0x2f551a['writer']['addClass']('ck-suggestion-marker--active',_0x139a22):_0x2f551a['writer']['removeClass']('ck-suggestion-marker--active',_0x139a22));}}};}this['editor']['editing']['downcastDispatcher']['on']('addMarker:suggestion',_0x1cdc55(),{'priority':'highest'}),this['editor']['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x5bc445,_0x43f4fa,_0xfff715)=>{_0xfff715['options']['showSuggestionHighlights']&&_0x1cdc55({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x5bc445,_0x43f4fa,_0xfff715);},{'priority':'highest'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x8748d9,_0x26e145,_0x2c9bfe)=>{const {type:_0x19951a,id:_0x4594f9}=_0x1d027f['_splitMarkerName'](_0x26e145['markerName']);if(!_0x1d027f['hasSuggestion'](_0x4594f9))return;const _0x4eb765=_0x1d027f['getSuggestion'](_0x4594f9),_0x4e9a3e=_0x4eb765['data'];if('formatBlock'!=_0x4eb765['type']||!_0x4e9a3e||'setTableColumnHeader'!=_0x4e9a3e['commandName'])return;const _0x34a2af=_0x2c9bfe['mapper']['markerNameToElements'](_0x26e145['markerName']);if(_0x34a2af){for(const _0x1ea976 of _0x34a2af)_0x2c9bfe['writer']['removeClass']('ck-suggestion-marker-'+_0x19951a,_0x1ea976),_0x2c9bfe['writer']['removeClass']('ck-suggestion-marker--active',_0x1ea976),_0x2c9bfe['writer']['removeAttribute']('data-suggestion',_0x1ea976),_0x2c9bfe['mapper']['unbindElementFromMarkerName'](_0x1ea976,_0x26e145['markerName']);}},{'priority':'highest'});}['_registerLegacyDescription'](){const _0x3bb3ab=this['editor'],_0x468548=_0x3bb3ab['locale'];function _0x2df1c1(_0x1f3187){return{'type':'format','content':tx(_0x468548,'*Format:*\x20%0',_0x1f3187)};}_0x3bb3ab['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1c02cd=>{if('formatBlock'!=_0x1c02cd['type'])return;const {data:_0x5cbbbb}=_0x1c02cd;if(_0x5cbbbb){if('setTableRowHeader'==_0x5cbbbb['commandName']){const _0x4621a2=_0x5cbbbb['commandParams'][0x0]['forceValue'];return _0x2df1c1(tx(_0x468548,_0x4621a2?'FORMAT_HEADER_ROW':'FORMAT_REGULAR_ROW'));}if('setTableColumnHeader'==_0x5cbbbb['commandName']){const _0x24a6c4=_0x5cbbbb['commandParams'][0x0]['forceValue'];return _0x2df1c1(tx(_0x468548,_0x24a6c4?'FORMAT_HEADER_COLUMN':'FORMAT_REGULAR_COLUMN'));}}});}}class TrackChangesTableLayout extends _0x22b56d['Plugin']{['afterInit'](){const _0x190a98=this['editor'],_0x526c60=_0x190a98['locale'],_0x332591=_0x190a98['plugins']['get']('TrackChangesEditing');function _0x2cc391(_0x3dc66a){return{'type':'format','content':''+tx(_0x526c60,'*Set\x20table\x20type:*\x20%0',_0x3dc66a)};}_0x190a98['plugins']['has']('TableLayout')&&(_0x332591['enableCommand']('insertTableLayout'),_0x332591['enableDefaultAttributesIntegration']('tableType'),_0x332591['descriptionFactory']['registerElementLabel'](_0x45a4f4=>_0x45a4f4['is']('element','table')&&'layout'===_0x45a4f4['getAttribute']('tableType'),_0x1d0a49=>tx(_0x526c60,'ELEMENT_LAYOUT_TABLE',_0x1d0a49)),_0x332591['descriptionFactory']['registerDescriptionCallback'](_0x27d252=>{const {data:_0x23de2e}=_0x27d252;if(_0x23de2e&&'tableType'==_0x23de2e['key'])switch(_0x23de2e['newValue']){case'layout':return _0x2cc391(tx(_0x526c60,'ELEMENT_LAYOUT_TABLE'));case'content':return _0x2cc391(tx(_0x526c60,'ELEMENT_CONTENT_TABLE'));}}));}}const _0x149308=['tableCellBorderWidth','tableCellBorderColor','tableCellBorderStyle','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellBackgroundColor','tableCellPadding'],_0x4eaa83=/* #__PURE__ -- @preserve */
Object['fromEntries'](_0x149308['map'](_0x33c480=>[_0x33c480,null]));class _0x5e693d extends _0x22b56d['Plugin']{static get['requires'](){return[_0xb1f9f3];}['afterInit'](){const _0x399919=this['editor'];if(!_0x399919['plugins']['has']('TableClipboard'))return;const _0x4fe1db=_0x399919['plugins']['get']('TrackChangesEditing'),_0x378844=_0x399919['plugins']['get']('TableUtils'),_0x40e1d7=_0x399919['plugins']['get'](_0xb1f9f3),_0xb4c68d=_0x399919['plugins']['get']('TableClipboard'),_0x2b542b=_0x399919['plugins']['get']('TableSelection'),_0x54da08=_0x399919['plugins']['get'](_0x22b56d['ClipboardPipeline']);_0x40e1d7['_tablePostFixingSubtypes']['push']('tablePasteRow','tablePasteColumn'),_0x399919['model']['schema']['register']('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':'tableCell','isLimit':!0x0}),_0x399919['conversion']['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x3ee33b=null,_0xdc27be=!0x1;_0x54da08['on']('contentInsertion',(_0x301085,_0x5e8409)=>{_0xdc27be='paste'===_0x5e8409['method'];}),_0x399919['model']['on']('insertContent',(_0x19a799,_0x5e4fd4)=>{if(!_0xdc27be&&null===_0x2b542b['getSelectedTableCells']())return;const [_0x218afd,_0x3e6dbe]=_0x5e4fd4,_0x3a420c=_0x5e4fd4[_0x5e4fd4['length']-0x1];_0x3a420c&&_0x3a420c['forceDefaultExecution']||_0x4fe1db['_isForcedDefaultExecutionBlock']||this['editor']['commands']['get']('trackChanges')['value']&&function(_0x3df9cb,_0x42546b,_0x42684f,_0x7817cd,_0x50a09d){if(_0x42546b&&!_0x42546b['is']('documentSelection'))return!0x1;const _0x25d6f3=_0x50a09d['getTableIfOnlyTableInContent'](_0x3df9cb,_0x42684f);if(!_0x25d6f3||!_0x17625c(_0x25d6f3,void 0x0,_0x7817cd))return!0x1;const _0x3b20e1=_0x7817cd['getSelectionAffectedTableCells'](_0x42684f['document']['selection']);if(!_0x3b20e1['length'])return!0x1;const _0x189d45=_0x3b20e1[0x0]['findAncestor']('table'),_0x566095=_0x7817cd['getRowIndexes'](_0x3b20e1),_0x5e80b9=_0x7817cd['getColumnIndexes'](_0x3b20e1),_0x4aae9c={'startRow':_0x566095['first'],'endRow':_0x566095['last'],'startColumn':_0x5e80b9['first'],'endColumn':_0x5e80b9['last']};return 0x1==_0x3b20e1['length']&&(_0x4aae9c['endRow']+=_0x7817cd['getRows'](_0x25d6f3)-0x1,_0x4aae9c['endColumn']+=_0x7817cd['getColumns'](_0x25d6f3)-0x1),_0x17625c(_0x189d45,_0x4aae9c,_0x7817cd);}(_0x218afd,_0x3e6dbe,_0x399919['model'],_0x378844,_0xb4c68d)&&(_0x19a799['stop'](),_0x3ee33b={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x399919['model']['change'](()=>{_0x399919['model']['insertContent'](_0x5e4fd4[0x0],_0x5e4fd4[0x1],_0x5e4fd4[0x2],{'forceDefaultExecution':!0x0});const _0x3f731f=_0x22b56d['uid'](),{rowInsertionRanges:_0x4f8d7a,columnInsertionRanges:_0x195a8b,insertionRanges:_0x259b0b,deletionRanges:_0x520588,cells:_0x4d1180}=_0x3ee33b;_0x4f8d7a['length']&&_0x4fe1db['markMultiRangeInsertion'](_0x4f8d7a,'tablePasteRow',{'tablePasteChainId':_0x3f731f}),_0x195a8b['length']&&_0x4fe1db['markMultiRangeInsertion'](_0x195a8b,'tablePasteColumn',{'tablePasteChainId':_0x3f731f}),_0x259b0b['length']&&(_0x4fe1db['markMultiRangeInsertion'](_0x259b0b,'tablePaste',{'tablePasteChainId':_0x3f731f,'skipNestingCheck':!0x0}),_0x259b0b['forEach'](_0x3586d6=>_0x3586d6['detach']?.())),_0x520588['length']&&(_0x4fe1db['markMultiRangeDeletion'](_0x520588,'tablePaste',{'tablePasteChainId':_0x3f731f,'skipNestingCheck':!0x0}),_0x520588['forEach'](_0x1e4e77=>_0x1e4e77['detach']?.()));const _0x401aa6=_0x4fe1db['markMultiRangeBlockFormat'](_0x4d1180['map'](({element:_0x39f6d8})=>_0x39f6d8),{'formatGroupId':_0x22b56d['uid']()},[],'tablePasteCell',{'tablePasteChainId':_0x3f731f});if(_0x401aa6){const _0x5531fa=_0x401aa6['getMarkers'](),_0x3e29c8=[];for(const {element:_0x1bdb41,attributes:_0x34e772}of _0x4d1180){if(!_0x34e772)continue;const _0x4095a4=_0x399919['model']['createRangeOn'](_0x1bdb41),_0xebda95=_0x5531fa['find'](_0x8d4292=>_0x8d4292['getRange']()['isEqual'](_0x4095a4));_0xebda95&&_0x3e29c8['push']([_0xebda95['name'],_0x34e772]);}_0x3e29c8['length']&&_0x401aa6['setAttribute']('markerAttributes',Object['fromEntries'](_0x3e29c8));}_0x3ee33b=null;}));},{'priority':_0x22b56d['priorities']['high']+0xa}),_0x54da08['on']('contentInsertion',()=>{_0xdc27be=!0x1;},{'priority':'lowest'}),_0x399919['plugins']['get']('TableClipboard')['on']('_replaceTableSlotCell',(_0x59e9de,_0x1a17b6)=>{const [_0x310305,_0x290a45,,_0xfba82]=_0x1a17b6;if(!_0x3ee33b)return;_0x59e9de['stop']();const _0x303d70=_0x310305['cell'],_0x53c07d=_0x290a45,_0x5a437a=_0x361b18(_0x303d70),_0x16058a=_0x361b18(_0x53c07d);_0x59e9de['return']=_0x303d70;let _0x1d7352=null,_0xf2d40c=null;if(_0x16058a||_0x5a437a){if(_0x5a437a&&!_0x16058a){_0xfba82['remove'](_0x303d70['getChild'](0x0));for(const _0x4fd3b of Array['from'](_0x53c07d['getChildren']()))_0xfba82['insert'](_0x4fd3b,_0x303d70,'end');const _0x34e493=_0x3ee33b['rowInsertionIndexes']['includes'](_0x310305['row']),_0x4d51bb=_0x3ee33b['columnInsertionIndexes']['includes'](_0x310305['column']);_0x34e493||_0x4d51bb||(_0x1d7352=_0x22b56d['ModelLiveRange']['fromRange'](_0xfba82['createRangeIn'](_0x303d70)));}else _0x16058a&&!_0x5a437a&&(_0xf2d40c=_0xfba82['createRangeIn'](_0x303d70));}else{const _0x5a28f3=_0xfba82['createElement']('tableCellSuggestion'),_0xdd2e78=_0xfba82['createElement']('tableCellSuggestion');_0xfba82['wrap'](_0xfba82['createRangeIn'](_0x303d70),_0xdd2e78),_0xfba82['insert'](_0x5a28f3,_0x303d70,0x0);for(const _0x47cb51 of Array['from'](_0x53c07d['getChildren']()))_0xfba82['insert'](_0x47cb51,_0x5a28f3,'end');_0x1d7352=_0x22b56d['ModelLiveRange']['fromRange'](_0xfba82['createRangeOn'](_0x5a28f3)),_0xf2d40c=_0x22b56d['ModelLiveRange']['fromRange'](_0xfba82['createRangeOn'](_0xdd2e78));}const _0x3893d2=Array['from'](_0x53c07d['getAttributes']())['filter'](([_0x4ad8cb])=>_0x149308['includes'](_0x4ad8cb));_0x3ee33b['cells']['push']({'element':_0x303d70,'attributes':_0x3893d2['length']?Object['fromEntries'](_0x3893d2):null}),_0x1d7352&&_0x3ee33b['insertionRanges']['push'](_0x1d7352),_0xf2d40c&&_0x3ee33b['deletionRanges']['push'](_0xf2d40c);},{'priority':'high'}),_0x378844['on']('insertColumns',(_0x5d5984,_0x1b7610)=>{const [_0x46f653,_0x268f79={}]=_0x1b7610;if(!_0x3ee33b)return;const _0x5b9010=_0x268f79['at']||0x0,_0x4be27c=_0x268f79['columns']||0x1;_0x3ee33b['columnInsertionIndexes']=new Array(_0x4be27c)['fill'](_0x5b9010)['map']((_0x3497e2,_0x301ec1)=>_0x3497e2+_0x301ec1);for(const {cell:_0x46637c}of _0x378844['createTableWalker'](_0x46f653,{'startColumn':_0x5b9010,'endColumn':_0x5b9010+_0x4be27c-0x1}))_0x3ee33b['columnInsertionRanges']['push'](_0x399919['model']['createRangeOn'](_0x46637c));},{'priority':'low'}),_0x378844['on']('insertRows',(_0x53b7d4,_0x3c6d05)=>{const [_0x4fc8c0,_0x57e95b={}]=_0x3c6d05;if(!_0x3ee33b)return;const _0x4ea5b7=_0x57e95b['at']||0x0,_0x76ae83=_0x57e95b['rows']||0x1;_0x3ee33b['rowInsertionIndexes']=new Array(_0x76ae83)['fill'](_0x4ea5b7)['map']((_0x4d568f,_0x3df0cc)=>_0x4d568f+_0x3df0cc);for(const {cell:_0x43a51f}of _0x378844['createTableWalker'](_0x4fc8c0,{'startRow':_0x4ea5b7,'endRow':_0x4ea5b7+_0x76ae83-0x1}))_0x3ee33b['rowInsertionRanges']['push'](_0x399919['model']['createRangeOn'](_0x43a51f));},{'priority':'low'}),_0x4fe1db['descriptionFactory']['registerDescriptionCallback'](_0x5f4449=>{if(_0x5f4449['subType']&&_0x5f4449['subType']['startsWith']('tablePaste'))return _0x5f4449['previous']?{}:{'type':'insertion','content':tx(_0x399919['locale'],'*Replace\x20table\x20cells*')};});const _0x305e99=()=>!0x1;for(const _0xec1580 of['tablePaste','tablePasteColumn','tablePasteRow','tablePasteCell'])_0x4fe1db['_suggestionFactory']['registerCustomCallback']('insertion',_0xec1580,'join',_0x305e99),_0x4fe1db['_suggestionFactory']['registerCustomCallback']('deletion',_0xec1580,'join',_0x305e99),_0x4fe1db['_suggestionFactory']['registerCustomCallback']('formatBlock',_0xec1580,'join',_0x305e99);_0x4fe1db['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','discard',_0x305e99),_0x4fe1db['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','accept',(_0x246ab9,_0x44e216,_0xdd54b2)=>{const _0xbd96f7=_0x246ab9['map'](_0x463356=>_0x463356['getContainedElement']())['filter'](_0x1e2714=>_0x1e2714),_0x5ad17f=new Map(_0xbd96f7['map'](_0xef3d90=>[_0xef3d90,null]));if(_0x3ee33b){for(const {element:_0x1b805b,attributes:_0x4a6e2e}of _0x3ee33b['cells'])_0x4a6e2e&&_0x5ad17f['set'](_0x1b805b,_0x4a6e2e);}else{if(_0xdd54b2&&_0xdd54b2['markerAttributes'])for(const [_0x4ba5cb,_0x1a7e25]of Object['entries'](_0xdd54b2['markerAttributes'])){const _0x580315=_0x399919['model']['markers']['get'](_0x4ba5cb),_0x222f26=_0x580315?_0x580315['getRange']()['getContainedElement']():null;_0x222f26&&_0x5ad17f['set'](_0x222f26,_0x1a7e25);}}_0x399919['model']['change'](_0x27118d=>{for(const [_0x13cbef,_0x19231d]of _0x5ad17f)_0x27118d['setAttributes']({..._0x4eaa83,..._0x19231d},_0x13cbef);});});const _0x4e1c80=(_0x486b2b,_0x3f2ee0)=>{_0x4fe1db['_suggestionFactory']['registerCustomCallback'](_0x486b2b,'tablePaste',_0x3f2ee0,(_0x2f23f5,_0x388ac9,_0x161399)=>{_0x399919['model']['change'](_0x6185d2=>{const _0x338a8e=[];for(const _0xdbbf40 of _0x2f23f5){const _0x5f37ba=_0xdbbf40['start']['nodeAfter'];_0x5f37ba['is']('element','tableCellSuggestion')&&_0x338a8e['push'](_0x5f37ba);}_0x4fe1db['_suggestionFactory']['getSuggestionCallback'](_0x486b2b,null,_0x3f2ee0)(_0x2f23f5,_0x388ac9,_0x161399);for(const _0x27a162 of _0x338a8e)'$graveyard'!=_0x27a162['root']['rootName']&&_0x6185d2['unwrap'](_0x27a162);});});};_0x4e1c80('insertion','accept'),_0x4e1c80('insertion','discard'),_0x4e1c80('deletion','accept'),_0x4e1c80('deletion','discard'),_0x4fe1db['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteRow','discard',_0x37871e=>{const _0x5b0755=_0x37871e['map'](_0x2a836f=>_0x2a836f['getContainedElement']()),_0x5c88d2=_0x5b0755[0x0]['findAncestor']('table'),{minRow:_0x9642f3,maxRow:_0x1b96fc}=_0x40e1d7['_getCoordsForCells'](_0x5b0755);_0x378844['removeRows'](_0x5c88d2,{'at':_0x9642f3,'rows':_0x1b96fc-_0x9642f3+0x1});}),_0x4fe1db['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteColumn','discard',_0x935c15=>{const _0x10427e=_0x935c15['map'](_0x2192c1=>_0x2192c1['getContainedElement']()),_0x4977c4=_0x10427e[0x0]['findAncestor']('table'),{minColumn:_0x2d68ed,maxColumn:_0x158e1b}=_0x40e1d7['_getCoordsForCells'](_0x10427e);_0x378844['removeColumns'](_0x4977c4,{'at':_0x2d68ed,'columns':_0x158e1b-_0x2d68ed+0x1});});const _0x219acb=(_0x4fbd08,_0x9693d1)=>{if(!_0x9693d1['subType']||!_0x9693d1['subType']['startsWith']('tablePaste'))return;const _0x353cb0=_0x9693d1['attributes']['tablePasteChainId'],_0x40af29=_0x4fe1db['getSuggestions']()['filter'](_0x159960=>_0x159960['isInContent']&&_0x159960['attributes']&&_0x159960['attributes']['tablePasteChainId']==_0x353cb0);_0x40af29['length']&&_0x9693d1['getAllAdjacentSuggestions']()['length']!=_0x40af29['length']&&_0x40af29['reduce']((_0x42b624,_0xba5a8d)=>(_0x42b624['next']=_0xba5a8d,_0xba5a8d['previous']=_0x42b624,_0xba5a8d));};function _0x2318e7(_0x4964d1,_0x54a3cc=!0x0){const {id:_0xf4cbda,authorId:_0x55f2ea}=_0x4fe1db['_splitMarkerName'](_0x4964d1['markerName']),_0x19a28a=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x340a50=_0x4fe1db['activeMarkers']['includes'](_0x4964d1['markerName']);return _0x340a50&&_0x19a28a['push']('ck-suggestion-marker--active'),{'classes':_0x19a28a,'attributes':{'data-suggestion':_0xf4cbda,'data-author-id':_0x55f2ea},'priority':_0x340a50&&_0x54a3cc?0xbc2:0xbb8};}_0x4fe1db['on']('suggestionLoaded',_0x219acb,{'priority':'high'}),_0x4fe1db['on']('suggestionUnloaded',_0x219acb,{'priority':'high'}),_0x399919['model']['document']['registerPostFixer'](()=>{let _0x1f4e21=!0x1;const _0x3f4bd8=Array['from'](_0x399919['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x3a4821,data:_0x213082}of _0x3f4bd8){const {group:_0x1269f7,type:_0x1e1ba9,id:_0x50e495}=_0x4fe1db['_splitMarkerName'](_0x3a4821);if('suggestion'!=_0x1269f7||'deletion'!=_0x1e1ba9||_0x213082['oldRange'])continue;if(!_0x4fe1db['hasSuggestion'](_0x50e495))continue;const _0x1a8d1f=_0x4fe1db['getSuggestion'](_0x50e495)['getRanges'](),_0x3ef1a6=_0x399919['plugins']['get']('Users')['me'];for(const _0x452146 of _0x4fe1db['getSuggestions']()){if(!_0x452146['isInContent']||_0x452146['author']!=_0x3ef1a6)continue;if('formatBlock'!=_0x452146['type']||'tablePasteCell'!=_0x452146['subType'])continue;if(_0x452146['getRanges']()['every'](_0x586e4f=>_0x1a8d1f['some'](_0x224a9f=>_0x224a9f['containsRange'](_0x586e4f,!0x0)))){for(const _0x4362da of _0x452146['getAllAdjacentSuggestions']())_0x4362da['isInContent']&&(_0x4362da['discard'](),_0x1f4e21=!0x0);}}}return _0x1f4e21;}),_0x399919['model']['document']['registerPostFixer'](_0x5e4221=>{const _0x237983=_0x399919['commands']['get']('redo');if(!_0x237983||!_0x237983['_createdBatches']['has'](_0x5e4221['batch']))return!0x1;let _0x2ef26f=!0x1;const _0x2c7a6c=_0x399919['plugins']['get']('Users')['me'],_0x47448a=_0x399919['model']['document']['differ']['getChanges'](),_0x5ef05e=Array['from'](_0x399919['model']['document']['differ']['getChangedMarkers']())['filter'](({name:_0xfd2666,data:_0x17af88})=>{const {group:_0x3b22f9,subType:_0x4b08ca,authorId:_0x506a74}=_0x4fe1db['_splitMarkerName'](_0xfd2666);return'suggestion'==_0x3b22f9&&'tablePaste'==_0x4b08ca&&_0x506a74==_0x2c7a6c['id']&&!_0x17af88['oldRange'];});for(const _0x3c93f7 of _0x47448a){if('insert'!=_0x3c93f7['type']||'tableCellSuggestion'!=_0x3c93f7['name']||0x1!=_0x3c93f7['length'])continue;const _0x7bc026=_0x5e4221['createRange'](_0x3c93f7['position'],_0x3c93f7['position']['getShiftedBy'](0x1)),_0x4983e5=_0x5ef05e['find'](({data:_0x37da9d})=>_0x37da9d['newRange']['isEqual'](_0x7bc026));if(!_0x4983e5){for(const {name:_0x10a6d5,data:_0x442eb5}of _0x5ef05e)if(_0x7bc026['containsRange'](_0x442eb5['newRange'])){_0x5e4221['updateMarker'](_0x10a6d5,{'range':_0x7bc026}),_0x2ef26f=!0x0;break;}}}return _0x2ef26f;}),_0x399919['model']['document']['registerPostFixer'](_0x1aae4d=>{let _0x1c1306=!0x1;const _0x1afc0f=_0x399919['plugins']['get']('Users')['me'],_0x3ef87b=_0x4fe1db['getSuggestions']()['filter'](_0x278c32=>_0x278c32['isInContent']&&_0x278c32['author']==_0x1afc0f),_0x2d780c=new Set(),_0x17c745=new Set();for(const _0x2e441e of _0x3ef87b)if('tablePaste'==_0x2e441e['subType'])for(const _0xe04bd3 of _0x2e441e['getMarkers']()){const _0xc8756=_0xe04bd3['getRange']()['getContainedElement']();if(_0xc8756){if(_0xc8756['is']('element','tableCellSuggestion')&&_0x361b18(_0xc8756)){_0x2e441e['removeMarker'](_0xe04bd3['name']),_0x2d780c['add'](_0xc8756),_0x1c1306=!0x0;const _0x56c6ee=_0xc8756['nextSibling'],_0x514948=_0xc8756['previousSibling'],_0x119ce7=_0x56c6ee&&_0x56c6ee['is']('element','tableCellSuggestion'),_0x1b631c=_0x514948&&_0x514948['is']('element','tableCellSuggestion');_0x119ce7&&!_0x2d780c['has'](_0x56c6ee)&&_0x17c745['add'](_0x56c6ee),_0x1b631c&&!_0x2d780c['has'](_0x514948)&&_0x17c745['add'](_0x514948);}else _0xc8756['is']('element','paragraph')&&_0xc8756['isEmpty']&&(_0x2e441e['removeMarker'](_0xe04bd3['name']),_0x1c1306=!0x0);}}else{if('tablePasteCell'==_0x2e441e['subType']){if(!_0x2e441e['attributes']||!_0x2e441e['attributes']['tablePasteChainId'])continue;const _0x19a7cb=_0x2e441e['attributes']['markerAttributes'];if(_0x19a7cb&&Object['keys'](_0x19a7cb)['length'])continue;const _0x971ab3=_0x2e441e['attributes']['tablePasteChainId'];let _0x4ab64e=!0x0,_0x7f32a9=!0x0;for(const _0xbd6807 of _0x3ef87b)if(_0xbd6807['subType']&&_0xbd6807['subType']['startsWith']('tablePaste')){if(!_0xbd6807['attributes']['tablePasteChainId']){_0x7f32a9=!0x1;break;}if(_0xbd6807['id']!=_0x2e441e['id']&&_0xbd6807['attributes']['tablePasteChainId']==_0x971ab3){_0x4ab64e=!0x1;break;}}_0x7f32a9&&_0x4ab64e&&(_0x2e441e['removeMarkers'](),_0x1c1306=!0x0);}}for(const _0x4a2e42 of _0x2d780c)_0x1aae4d['remove'](_0x4a2e42);for(const _0x2e5f96 of _0x17c745)_0x1aae4d['unwrap'](_0x2e5f96);return _0x1c1306;}),_0x399919['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':_0x3deb1b=>_0x2318e7(_0x3deb1b),'converterPriority':'high'}),_0x399919['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x3eecb6,_0x49870b)=>_0x49870b['options']['showSuggestionHighlights']?_0x2318e7(_0x3eecb6,!0x1):null,'converterPriority':'high'});const _0x1c0bb7=_0x399919['editing']['view'];this['listenTo'](_0x1c0bb7['document'],'clipboardOutput',(_0x17d426,_0x55a465)=>{const _0x2d4c3c=[];for(const _0x19c141 of _0x1c0bb7['createRangeIn'](_0x55a465['content'])['getItems']())_0x19c141['is']('element','suggestion-td')&&_0x2d4c3c['push'](_0x19c141);_0x1c0bb7['change'](_0x4b5090=>{for(const _0x135100 of _0x2d4c3c)_0x4b5090['move'](_0x4b5090['createRangeIn'](_0x135100),_0x4b5090['createPositionBefore'](_0x135100)),_0x4b5090['remove'](_0x135100);});});}}function _0x361b18(_0x53486b){if(_0x53486b['isEmpty'])return!0x0;const _0x8e0559=_0x53486b['getChild'](0x0);return _0x8e0559['is']('element','paragraph')&&_0x8e0559['isEmpty'];}function _0x17625c(_0x31d7f0,_0x57f92b={},_0x8a89dd){for(const {isAnchor:_0x57bedc,cellHeight:_0x256ecf,cellWidth:_0x4881be}of _0x8a89dd['createTableWalker'](_0x31d7f0,{'includeAllSlots':!0x0,..._0x57f92b}))if(!_0x57bedc||0x1!=_0x256ecf||0x1!=_0x4881be)return!0x1;return!0x0;}class _0x542b7b extends _0x22b56d['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('TableColumnResizeEditing'))return;const _0x1499a3=this['editor']['plugins']['get']('TrackChangesEditing');_0x1499a3['enableCommand']('resizeTableWidth',this['handleResizeTableWidthCommand']['bind'](this)),_0x1499a3['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','accept',_0x1499a3['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x1499a3['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','discard',_0x1499a3['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),_0x1499a3['descriptionFactory']['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}['handleResizeTableWidthCommand'](_0x54e1b7,_0x2665c5){const _0x3efe51=this['editor']['plugins']['get']('TrackChangesEditing'),_0x17a951=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0x3e0d21=_0x2665c5['table']||this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](()=>{const _0x4d9621=_0x17a951['getColumnGroupElement'](_0x3e0d21);let _0x5af7ed=_0x4d9621?_0x17a951['getTableColumnsWidths'](_0x4d9621):null,_0x4f398b=_0x3e0d21['getAttribute']('tableWidth')||null;const _0x567378=_0x2665c5['tableWidth']||_0x4f398b,_0x5a2522=_0x2665c5['columnWidths']||_0x5af7ed,_0xa143cb=this['editor']['plugins']['get']('Users')['me'];for(const _0x16ed2c of _0x3efe51['getSuggestions']()){const _0xa7f114=_0x16ed2c['getContainedElement']();if('resizeTable'===_0x16ed2c['subType']&&_0xa7f114===_0x3e0d21){_0x16ed2c['author']!==_0xa143cb&&_0x16ed2c['discard']();const _0x271b97=_0x16ed2c['data']['commandParams'];_0x4f398b=_0x271b97[0x0]['tableWidth'],_0x5af7ed=_0x271b97[0x0]['columnWidths'];break;}}_0x54e1b7({'table':_0x3e0d21,'tableWidth':_0x567378,'columnWidths':_0x5a2522}),_0x3efe51['markBlockFormat'](_0x3e0d21,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x4f398b,'columnWidths':_0x5af7ed}],'formatGroupId':'resizeTable'},[],'resizeTable');});}['handleSuggestionDescription'](_0x1d929d){if('formatBlock'!=_0x1d929d['type']&&'formatInline'!=_0x1d929d['type'])return;const {data:_0x403080}=_0x1d929d;if(_0x403080&&'resizeTable'===_0x403080['formatGroupId']){const _0x44fce2='*Format:*\x20resize\x20table';return{'type':'format','content':tx(this['editor']['locale'],_0x44fce2)};}}}class TrackChangesTemplate extends _0x22b56d['Plugin']{['afterInit'](){const _0x2c7198=this['editor'];_0x2c7198['plugins']['has']('Template')&&_0x2c7198['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTemplate');}}class TrackChangesTableOfContents extends _0x22b56d['Plugin']{['afterInit'](){const _0x256d44=this['editor'];if(!_0x256d44['commands']['get']('insertTableOfContents'))return;_0x256d44['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTableOfContents');const _0x5c5120=_0x256d44['plugins']['get']('TrackChangesEditing'),_0x85d40a=_0x256d44['locale'];_0x5c5120['descriptionFactory']['registerElementLabel']('tableOfContents',_0x15685c=>tx(_0x85d40a,'ELEMENT_TABLE_OF_CONTENTS',_0x15685c));}}class TrackChangesTitle extends _0x22b56d['Plugin']{['afterInit'](){const _0x2b830d=this['editor'];if(!_0x2b830d['plugins']['has']('Title'))return;const _0x5cfa1a=_0x2b830d['plugins']['get']('TrackChangesEditing');_0x5cfa1a['descriptionFactory']['registerElementLabel']('title-content',()=>tx(_0x2b830d['locale'],'ELEMENT_TITLE')),_0x2b830d['model']['document']['registerPostFixer'](_0x5c88ba=>{let _0x34b58b=!0x1;const _0x38d0d0=Array['from'](_0x2b830d['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x6ceae4,data:_0x108674}of _0x38d0d0){const {group:_0x2ac289}=_0x5cfa1a['_splitMarkerName'](_0x6ceae4);if('suggestion'!==_0x2ac289||!_0x108674['newRange'])continue;const _0x4dd7fc=_0x108674['newRange'],_0x16a092=_0x4dd7fc['end']['nodeBefore'];if(!_0x16a092||!_0x16a092['is']('element','title-content'))continue;if(!_0x4dd7fc['start']['isTouching'](_0x4dd7fc['end']))continue;const _0x2812e7=_0x2b830d['model']['schema']['getNearestSelectionRange'](_0x4dd7fc['end'],'forward');if(_0x2812e7&&_0x2812e7['isCollapsed']){const _0x2a50c8=_0x5c88ba['createRange'](_0x4dd7fc['start'],_0x2812e7['start']);_0x2a50c8['isEqual'](_0x4dd7fc)||(_0x5c88ba['updateMarker'](_0x6ceae4,{'range':_0x2a50c8}),_0x34b58b=!0x0);}_0x34b58b||(_0x5c88ba['removeMarker'](_0x6ceae4),_0x34b58b=!0x0);}return _0x34b58b;});}}class _0x678502 extends _0x22b56d['Plugin']{['afterInit'](){const _0x24a8c3=this['editor'],_0xf3c377=_0x24a8c3['plugins']['get']('TrackChangesEditing');_0x24a8c3['plugins']['has']('Uploadcare')&&(_0xf3c377['enableCommand']('uploadcare'),_0x24a8c3['plugins']['has']('UploadcareImageEdit')&&(_0xf3c377['enableCommand']('uploadcareImageEdit'),_0xf3c377['enableDefaultAttributesIntegration']('uploadcareImageReplace'),_0xf3c377['descriptionFactory']['registerDescriptionCallback'](_0x4dbace=>{if('attribute'!=_0x4dbace['type'])return;const {data:_0xdae3ab}=_0x4dbace;return _0xdae3ab&&'uploadcareImageId'==_0xdae3ab['key']?{'type':'format','content':''}:void 0x0;})));}}class _0x4756df extends _0x22b56d['Plugin']{['afterInit'](){const _0x2fc1a3=this['editor'],_0x22ad76=_0x2fc1a3['plugins']['get']('TrackChangesEditing');_0x2fc1a3['plugins']['has']('UndoEditing')&&(_0x22ad76['enableCommand']('undo'),_0x22ad76['enableCommand']('redo'));}}class TrackChangesTableCaption extends _0x22b56d['Plugin']{static get['requires'](){return[_0xb1f9f3];}['afterInit'](){const _0x2e18ff=this['editor'];if(!_0x2e18ff['plugins']['has']('TableCaptionEditing'))return;_0x2e18ff['plugins']['get']('TrackChangesEditing')['enableCommand']('toggleTableCaption');}}class TrackChangesTableProperties extends _0x22b56d['Plugin']{['tableProperties'];['tableCellProperties'];constructor(_0x118621){super(_0x118621),this['tableProperties']=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'],this['tableCellProperties']=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'],_0x118621['config']['get']('experimentalFlags.tableCellTypeSupport')&&this['tableCellProperties']['push']('tableCellType');}static get['pluginName'](){return'TrackChangesTableProperties';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x4b9fb5=this['editor']['plugins']['get']('TrackChangesEditing');if(this['editor']['plugins']['has']('TablePropertiesEditing')){for(const _0x4f2368 of this['tableProperties'])_0x4b9fb5['enableCommand'](_0x4f2368,(_0x5178d5,_0x5e6273)=>{const _0x4c32fe=this['editor']['model']['document']['selection']['getFirstPosition']()['findAncestor']('table');this['_handlePropertyChange'](_0x4f2368,[_0x4c32fe],this['tableProperties'],'tableProperties',_0x5178d5,_0x5e6273);});_0x4b9fb5['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','accept',_0x4b9fb5['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x4b9fb5['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','discard',(_0x291bb3,_0x234dbb)=>this['handleDiscardAction'](this['tableProperties'],_0x291bb3,_0x234dbb)),_0x4b9fb5['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','join',()=>!0x1);}if(this['editor']['plugins']['has']('TableCellPropertiesEditing')){for(const _0x537c70 of this['tableCellProperties'])this['editor']['commands']['get'](_0x537c70)&&_0x4b9fb5['enableCommand'](_0x537c70,(_0x11dc76,_0x98cfe3)=>{const _0x29edac=this['editor']['plugins']['get']('TableUtils')['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);this['_handlePropertyChange'](_0x537c70,_0x29edac,this['tableCellProperties'],'tableCellProperties',_0x11dc76,_0x98cfe3);});_0x4b9fb5['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','accept',_0x4b9fb5['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x4b9fb5['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','discard',(_0x519a8,_0x1829bb)=>this['handleDiscardAction'](this['tableCellProperties'],_0x519a8,_0x1829bb)),_0x4b9fb5['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','join',()=>!0x1),this['editor']['model']['schema']['checkAttribute']('tableCell','tableCellType')&&_0x4b9fb5['descriptionFactory']['registerAttributeLabel']('tableCellType',tx(this['editor']['locale'],'FORMAT_TABLE_CELL_TYPE'));}_0x4b9fb5['descriptionFactory']['registerDescriptionCallback'](_0x2db770=>this['handleSuggestionDescription'](_0x2db770)),this['_registerTablePropertiesAttributes']();}['_handlePropertyChange'](_0x386ecc,_0x39b150,_0x3920c7,_0xc0fb4d,_0x2d3cc4,_0x2caab6){const _0x499f9d=this['editor']['plugins']['get']('TrackChangesEditing');this['editor']['model']['enqueueChange'](_0x2caab6['batch'],()=>{for(const _0x36cb82 of _0x39b150){if(this['_getSuggestion'](_0x36cb82,_0xc0fb4d))_0x2d3cc4(_0x2caab6);else{const _0x234e85={};for(const _0x35db7a of _0x3920c7){const _0x4a955d=_0x36cb82['getAttribute'](_0x35db7a);void 0x0!==_0x4a955d&&(_0x234e85[_0x35db7a]=_0x4a955d);}_0x2d3cc4(_0x2caab6),_0x499f9d['markBlockFormat'](_0x36cb82,{'commandParams':[_0x234e85]},[],_0xc0fb4d);}}});}['handleDiscardAction'](_0x1c9a21,_0x429024,_0x5368ec){const _0xe0727e=_0x429024[0x0]['start']['nodeAfter'],_0x859341=_0x5368ec['commandParams'][0x0];this['editor']['model']['change'](_0x204082=>{for(const _0x319361 of _0x1c9a21)void 0x0!==_0x859341[_0x319361]?_0x204082['setAttribute'](_0x319361,_0x859341[_0x319361],_0xe0727e):_0x204082['removeAttribute'](_0x319361,_0xe0727e);});}['handleSuggestionDescription'](_0x1a0408){if(_0x1a0408['data'])switch(_0x1a0408['subType']){case'tableProperties':return{'type':'format','content':tx(this['editor']['locale'],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':'format','content':tx(this['editor']['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}['_getSuggestion'](_0x2205e6,_0x2fa219){const _0x5599a8=this['editor']['plugins']['get']('TrackChangesEditing');for(const _0x5876ef of _0x5599a8['getSuggestions']({'skipNotAttached':!0x0})){const _0x489993=_0x5876ef['getContainedElement']();if(_0x5876ef['subType']===_0x2fa219&&_0x489993===_0x2205e6)return _0x5876ef;}return null;}['_registerTablePropertiesAttributes'](){const _0x3d4711=this['editor']['plugins']['get']('TrackChangesEditing'),_0x18663f=[...this['tableProperties'],...this['tableCellProperties']];for(const _0x2c4812 of _0x18663f){const _0x304981=_0x2c4812['replace'](/([A-Z])/g,'_$1')['toUpperCase']();_0x3d4711['descriptionFactory']['registerAttributeLabel'](_0x2c4812,tx(this['editor']['locale'],'FORMAT_'+_0x304981));}}}class TrackChangesLineHeight extends _0x22b56d['Plugin']{['afterInit'](){const _0x410281=this['editor'];if(!_0x410281['plugins']['has']('LineHeight'))return;const _0x24cb8b=_0x410281['plugins']['get']('TrackChangesEditing'),_0x3ff6c1=_0x410281['locale'];_0x24cb8b['enableDefaultAttributesIntegration']('lineHeight'),_0x24cb8b['descriptionFactory']['registerAttributeLabel']('lineHeight',tx(_0x3ff6c1,'FORMAT_LINE_HEIGHT'));}}const _0x3f217c='$elementName';class TrackChangesEditing extends _0x22b56d['Plugin']{['descriptionFactory'];['trackChangesCommand'];['_adapter'];['_suggestionFactory'];['_suggestions'];['_commentsRepository'];['_enabledCommands'];['_model'];['_suggestionState'];['_isForcedDefaultExecutionBlock'];['_trackFormatChanges'];['_mergeNestedSuggestions'];['_recordAttributeSuggestions']=!0x1;['_trackingSessionId']=null;static get['requires'](){return['CommentsRepository',SuggestionsConversion,_0x433f5f,_0x22b56d['PendingActions'],DocumentCompare,TrackChangesAIAssistant,_0x425d3e,TrackChangesAIQuickActions,TrackChangesAlignment,TrackChangesBasicStyles,TrackChangesBlockQuote,_0x558f53,_0x57d9c2,_0x51f9a4,_0x4d8140,TrackChangesComments,TrackChangesDeleteCommand,_0x4dbd81,TrackChangesEnterCommand,_0x313088,TrackChangesFont,TrackChangesFootnotes,TrackChangesFormatPainter,_0x2b7456,TrackChangesHighlight,TrackChangesHorizontalLine,TrackChangesHtmlEmbed,_0x289797,TrackChangesImageStyle,_0x414483,TrackChangesImportWord,TrackChangesIndent,TrackChangesInputCommand,TrackChangesLegacyList,TrackChangesLegacyListProperties,TrackChangesMultiLevelList,_0x15f59e,TrackChangesList,TrackChangesLineHeight,TrackChangesDocumentListProperties,_0x43e149,TrackChangesMention,_0x4245f0,_0x5e7079,_0x59f413,_0x2611eb,TrackChangesRemoveFormat,TrackChangesRestrictedEditingMode,TrackChangesShiftEnterCommand,TrackChangesStandardEditingMode,TrackChangesStylesDropdown,_0xb1f9f3,TrackChangesTableMergeSplit,_0x5531d8,TrackChangesTableLayout,TrackChangesTableCaption,_0x5e693d,_0x542b7b,TrackChangesTableOfContents,TrackChangesTableProperties,TrackChangesTemplate,TrackChangesTitle,_0x678502,_0x4756df];}static get['pluginName'](){return'TrackChangesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3a5d02){super(_0x3a5d02),this['set']('activeMarkers',[]),this['on']('change:activeMarkers',(_0x39e2cc,_0x2ffb46,_0x22d934,_0x2e2d77)=>{this['_model']['change'](()=>{for(const _0x481506 of[..._0x2e2d77,..._0x22d934])this['_model']['markers']['has'](_0x481506)&&_0x3a5d02['editing']['reconvertMarker'](_0x481506);});}),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']=_0x3a5d02['plugins']['get']('CommentsRepository'),this['_enabledCommands']=new Set(),this['_model']=this['editor']['model'],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,_0x3a5d02['config']['define']('trackChanges.trackFormatChanges','default'),this['_trackFormatChanges']=_0x3a5d02['config']['get']('trackChanges.trackFormatChanges'),_0x3a5d02['config']['define']('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x3a5d02['config']['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new _0x43c820(_0x3a5d02,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x172b25=this['editor'];_0x172b25['conversion']['for']('upcast')['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x5a2061,{writer:_0x30ae9f})=>{let _0x37edd5='suggestion:'+_0x5a2061['getAttribute']('suggestion-type')+':'+_0x5a2061['getAttribute']('id');return _0x5a2061['getAttribute']('marker-count')&&(_0x37edd5+=':'+_0x5a2061['getAttribute']('marker-count')),_0x30ae9f['createElement']('$marker',{'data-name':_0x37edd5});}}),_0x172b25['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion'}),_0x172b25['model']['document']['registerPostFixer'](_0x513dfe=>{let _0x215dae=!0x1;const _0x18bc08=Array['from'](_0x172b25['model']['document']['differ']['getChangedMarkers']()),_0x577ab9=new Set();for(const {name:_0x17df7d,data:_0x1bb397}of _0x18bc08){const {group:_0x4406f7,type:_0x2271d4,subType:_0xe43c19,id:_0x55960a}=this['_splitMarkerName'](_0x17df7d);if('suggestion'!==_0x4406f7)continue;const _0x456008=_0xe43c19?'suggestion:'+_0x2271d4+':'+_0xe43c19+':'+_0x55960a:'suggestion:'+_0x2271d4+':'+_0x55960a,_0x560f15=_0x172b25['model']['markers']['getMarkersGroup'](_0x456008),_0x50dcad=_0x172b25['model']['markers']['get'](_0x17df7d),_0x2e44ef=this['_suggestions']['get'](_0x55960a);if(null!=_0x1bb397['newRange']){'formatInline'==_0x2271d4&&(_0x215dae=_0x215dae||_0x1b653f(_0x1bb397['newRange'],_0x17df7d,_0x513dfe,_0x172b25['model']['schema']));const _0x11df52='attribute'==_0x2271d4&&this['_isBlockAttribute'](_0xe43c19['split']('|')[0x0]),_0x381942='attribute'==_0x2271d4&&this['_isInlineAttribute'](_0xe43c19['split']('|')[0x0]);if(_0x1bb397['newRange']['isCollapsed']||'$graveyard'==_0x1bb397['newRange']['root']['rootName']||'formatBlock'==_0x2271d4&&!_0x25a656(_0x1bb397['newRange'])||_0x11df52&&!_0x25a656(_0x1bb397['newRange'])||_0x381942&&_0x30dc33(_0x1bb397['newRange'])||'deletion'==_0x2271d4&&_0x30dc33(_0x1bb397['newRange'])||_0x50dcad&&_0x5f38dd(_0x50dcad,_0x560f15))_0x513dfe['removeMarker'](_0x17df7d),_0x215dae=!0x0;else{if(!_0x2e44ef||!_0x2e44ef['isInContent'])continue;if(_0x1bb397['newRange']&&_0x1bb397['oldRange']&&_0x1bb397['newRange']['isEqual'](_0x1bb397['oldRange']))continue;_0x577ab9['add'](_0x2e44ef);}}}return _0x577ab9['size']>0x0&&(_0x215dae=!!this['_joinWithAdjacentSuggestions'](_0x577ab9)||_0x215dae),_0x215dae;}),_0x172b25['model']['document']['registerPostFixer'](_0x4d4b2a=>{let _0x2a71f4=!0x1;for(const _0x3019ad of _0x172b25['model']['document']['differ']['getChanges']())if('insert'==_0x3019ad['type'])for(const _0x2e85ff of this['_suggestions']['values']()){if(_0x2e85ff['isMultiRange']||!_0x2e85ff['isInContent'])continue;const _0xa2ba3b='formatBlock'==_0x2e85ff['type'],_0x1a4674=this['_getAttributeKey'](_0x2e85ff),_0x67ab0c=_0x1a4674&&this['_isBlockAttribute'](_0x1a4674);if(!_0xa2ba3b&&!_0x67ab0c)continue;const _0x5bfbe6=_0x2e85ff['getFirstRange']();if(_0x5bfbe6['start']['parent']!=_0x5bfbe6['end']['parent']&&!_0x5bfbe6['end']['isAtEnd']){const _0x1d19c3=_0x172b25['model']['createPositionAt'](_0x5bfbe6['start']['nodeAfter'],'end'),_0x25e8bd=_0x172b25['model']['createRange'](_0x5bfbe6['start'],_0x1d19c3);_0x4d4b2a['updateMarker'](_0x2e85ff['getFirstMarker'](),{'range':_0x25e8bd}),_0x2a71f4=!0x0;}}return _0x2a71f4;}),_0x172b25['model']['document']['registerPostFixer'](_0x12d316=>this['_processAttributeChanges'](_0x12d316)),_0x172b25['model']['document']['registerPostFixer'](_0xf29bf5=>!_0xf29bf5['batch']['isLocal']&&this['_processAttributeSuggestions'](_0xf29bf5)),_0x172b25['model']['on']('_afterChanges',()=>{this['_recordAttributeSuggestions']=!0x1;}),_0x172b25['model']['document']['on']('change:data',(_0x1ac4b1,_0xdeca01)=>{if(!_0xdeca01['isLocal']||_0xdeca01['isUndo'])return;if(!this['_recordAttributeSuggestions'])return;const _0x3b4add=_0x172b25['model']['document']['differ']['getChanges']();if(0x0==_0x3b4add['length'])return;const _0x367f38=[],_0x1aa2fa=_0x3b4add['filter'](_0xe9b5f4=>'attribute'==_0xe9b5f4['type']),_0x555b8e=_0x3b4add['filter'](_0x63684=>'insert'==_0x63684['type']&&'$text'!=_0x63684['name']);for(const _0x5ded7f of _0x1aa2fa)this['_isRegisteredAttribute'](_0x5ded7f['attributeKey'])&&_0x367f38['push']({'key':_0x5ded7f['attributeKey'],'newValue':_0x5ded7f['attributeNewValue'],'oldValue':_0x5ded7f['attributeOldValue'],'range':_0xef2ccb(_0x5ded7f['range'],_0x172b25['model'])});for(const _0x1f7dc8 of _0x555b8e){if('rename'!=_0x1f7dc8['action']&&'refresh'!=_0x1f7dc8['action'])continue;const _0x4e3a19=_0x5ef04c(_0x1f7dc8['position']['nodeAfter'],_0x172b25['model']),_0x48d5f8=_0x1f7dc8['before'];'rename'==_0x1f7dc8['action']&&_0x367f38['push']({'key':_0x3f217c,'newValue':_0x1f7dc8['name'],'oldValue':_0x48d5f8['name'],'range':_0x4e3a19});for(const [_0x3a9285,_0x482219]of _0x48d5f8['attributes']){if(!this['_isRegisteredAttribute'](_0x3a9285))continue;const _0x485740=_0x1f7dc8['attributes']['get'](_0x3a9285);_0x482219!==_0x485740&&_0x367f38['push']({'key':_0x3a9285,'newValue':_0x485740,'oldValue':_0x482219,'range':_0x4e3a19});}for(const [_0x4bc507,_0x5afc8e]of _0x1f7dc8['attributes'])this['_isRegisteredAttribute'](_0x4bc507)&&(_0x48d5f8['attributes']['has'](_0x4bc507)||_0x367f38['push']({'key':_0x4bc507,'newValue':_0x5afc8e,'oldValue':null,'range':_0x4e3a19}));}0x0!=_0x367f38['length']&&_0x172b25['model']['enqueueChange'](_0xdeca01,_0x4d308d=>{const _0x6e60f8=_0x22b56d['uid']();for(const {range:_0x519c00,key:_0x1a601d,oldValue:_0x329384,newValue:_0x4917fe}of _0x367f38)this['markAttributeChange'](_0x519c00,_0x1a601d,_0x329384,_0x4917fe,{'groupId':_0x6e60f8});this['_reduceExistingSuggestions'](_0x4d308d,_0x367f38);});},{'priority':'lowest'}),_0x172b25['model']['markers']['on']('update:suggestion',(_0x27d1b1,_0x4dbbf9,_0x5abe27)=>{if(null==_0x5abe27){const {id:_0x232c14}=this['_splitMarkerName'](_0x4dbbf9['name']),_0x40c476=this['_suggestions']['get'](_0x232c14);_0x40c476&&_0x40c476['addMarkerName'](_0x4dbbf9['name']);}}),_0x172b25['model']['document']['on']('change:data',()=>{const _0xe37cb9=Array['from'](_0x172b25['model']['document']['differ']['getChangedMarkers']())['filter'](_0x25fbee=>'suggestion'===this['_splitMarkerName'](_0x25fbee['name'])['group']);if(0x0===_0xe37cb9['length'])return;_0xe37cb9['sort']((_0x2b54db,_0x48fe6d)=>{const _0x578161=_0x2b54db['data']['oldRange'],_0x441aca=_0x48fe6d['data']['oldRange'];return null===_0x578161&&null===_0x441aca?0x0:null===_0x578161&&null!==_0x441aca?-0x1:null!==_0x578161&&null===_0x441aca?0x1:_0x578161['start']['isBefore'](_0x441aca['start'])?-0x1:0x1;});const _0x132704=new Set(),_0x170e8f=new Set();for(const {name:_0x34c8ee,data:_0x2a4359}of _0xe37cb9){const {id:_0x58be1c}=this['_splitMarkerName'](_0x34c8ee);if(null===_0x2a4359['oldRange']){const _0x25b6eb=this['_handleNewSuggestionMarker'](_0x34c8ee);_0x170e8f['add'](_0x25b6eb);}else{const _0x2c4324=this['_suggestions']['get'](_0x58be1c);null!==_0x2a4359['newRange']||_0x2c4324['isInContent']?(_0x132704['add'](_0x2c4324['head']),_0x170e8f['add'](_0x2c4324)):this['_removeSuggestion'](_0x2c4324);}}_0x170e8f['size']>0x0&&this['_refreshSuggestionsChain'](_0x170e8f);for(const _0x4822b1 of _0x132704)this['fire']('suggestionChanged',_0x4822b1);}),_0x172b25['model']['on']('applyOperation',(_0x251990,_0x2cf072)=>{const _0x55ac70=_0x2cf072[0x0];if(!this['_suggestions']['size'])return;if(!_0x55ac70['isDocumentOperation'])return;if(_0x55ac70['batch']['isUndo']||!_0x55ac70['batch']['isLocal'])return;let _0x12cfe7,_0x528a69;switch(_0x55ac70['type']){case'insert':_0x12cfe7=_0x172b25['model']['createPositionAt'](_0x55ac70['position']),_0x528a69=_0x12cfe7['getShiftedBy'](_0x55ac70['howMany']);break;case'split':_0x12cfe7=_0x172b25['model']['createPositionAt'](_0x55ac70['splitPosition']),_0x528a69=_0x172b25['model']['createPositionAt'](_0x55ac70['moveTargetPosition']);break;case'move':_0x12cfe7=_0x172b25['model']['createPositionAt'](_0x55ac70['targetPosition']),_0x528a69=_0x12cfe7['getShiftedBy'](_0x55ac70['howMany']);break;default:return;}const _0x148fdb=_0x172b25['model']['createRange'](_0x12cfe7,_0x528a69);_0x172b25['model']['change'](()=>{for(const {suggestion:_0x337adc,meta:_0x9e8466}of this['_findSuggestions'](_0x148fdb)){if(_0x337adc['isMultiRange'])continue;if('formatInline'==_0x337adc['type'])continue;const _0x4e3fd2=this['_getAttributeKey'](_0x337adc);if(_0x4e3fd2&&this['_isBlockAttribute'](_0x4e3fd2)&&'split'!=_0x55ac70['type'])continue;const _0x4cd835=_0x337adc['data']&&_0x337adc['data']['multipleBlocks'];('formatBlock'!=_0x337adc['type']||'split'==_0x55ac70['type']&&!_0x4cd835)&&(_0x9e8466['containsRangeInObject']||'insertion'==_0x337adc['type']&&_0x9e8466['isOwn']||_0x337adc['getFirstRange']()['containsRange'](_0x148fdb)&&this['_breakSuggestionMarker'](_0x337adc,_0x12cfe7,_0x528a69));}});},{'priority':'lowest'}),_0x172b25['model']['on']('deleteContent',(_0x45bf0b,_0x3e78f3)=>{const _0x34a6c8=_0x3e78f3[0x0],_0x7d5585=_0x3e78f3[0x1];if(_0x7d5585&&_0x7d5585['forceDefaultExecution'])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand']['value'])return;if(_0x34a6c8['isCollapsed'])return;const _0x3fde09=_0x172b25['model']['schema'],{start:_0x657e14,end:_0x5cb708}=_0x34a6c8['getFirstRange'](),_0x515f33=_0x657e14['nodeAfter']&&_0x3fde09['isLimit'](_0x657e14['nodeAfter'])?null:_0x3fde09['getNearestSelectionRange'](_0x657e14,'forward'),_0x522b56=_0x5cb708['nodeBefore']&&_0x3fde09['isLimit'](_0x5cb708['nodeBefore'])?null:_0x3fde09['getNearestSelectionRange'](_0x5cb708,'backward'),_0xd85239=_0x172b25['model']['createRange'](_0x515f33?_0x515f33['start']:_0x657e14,_0x522b56?_0x522b56['end']:_0x5cb708);_0x172b25['model']['change'](_0x56c124=>{this['markDeletion'](_0xd85239);const _0x2b255e=_0x172b25['model']['schema']['getNearestSelectionRange'](_0xd85239['start']);_0x34a6c8['is']('documentSelection')?_0x56c124['setSelection'](_0x2b255e):_0x34a6c8['setTo'](_0x2b255e);}),_0x45bf0b['stop']();},{'priority':_0x22b56d['priorities']['normal']+0xa}),_0x172b25['model']['on']('insertContent',(_0x437f8d,_0x482e89)=>{const _0x45b450=_0x482e89[_0x482e89['length']-0x1];_0x45b450&&_0x45b450['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand']['value']&&(_0x172b25['model']['change'](()=>{let _0x323b7a=_0x172b25['model']['insertContent'](_0x482e89[0x0],_0x482e89[0x1],_0x482e89[0x2],{'forceDefaultExecution':!0x0});if(!_0x323b7a)return;_0x437f8d['return']=_0x323b7a['clone']();const _0x112fb0=_0x323b7a['end']['nodeBefore'],_0x30993c=_0x172b25['model']['schema'];_0x112fb0&&_0x30993c['isBlock'](_0x112fb0)&&!_0x30993c['isObject'](_0x112fb0)&&(_0x323b7a=_0x172b25['model']['createRange'](_0x323b7a['start'],_0x172b25['model']['createPositionAt'](_0x112fb0,'end'))),this['markInsertion'](_0x323b7a);}),_0x437f8d['stop']());},{'priority':'high'}),this['editor']['commands']['add']('trackChanges',this['trackChangesCommand']),this['enableCommand']('trackChanges');const _0x1a7deb=new AcceptSuggestionCommand(_0x172b25,this['_suggestions']);_0x172b25['commands']['add']('acceptSuggestion',_0x1a7deb),this['enableCommand']('acceptSuggestion');const _0xa01f63=new DiscardSuggestionCommand(_0x172b25,this['_suggestions']);_0x172b25['commands']['add']('discardSuggestion',_0xa01f63),this['enableCommand']('discardSuggestion'),_0x172b25['commands']['add']('acceptAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x172b25,_0x1a7deb,this['_suggestions'])),this['enableCommand']('acceptAllSuggestions'),_0x172b25['commands']['add']('discardAllSuggestions',new ExecuteOnAllSuggestionsCommand(_0x172b25,_0xa01f63,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x172b25['commands']['add']('acceptSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x172b25,_0x1a7deb,this['_suggestions'])),this['enableCommand']('acceptSelectedSuggestions'),_0x172b25['commands']['add']('discardSelectedSuggestions',new ExecuteOnSelectedSuggestionsCommand(_0x172b25,_0xa01f63,this['_suggestions'])),this['enableCommand']('discardSelectedSuggestions');const _0x597238=_0x172b25['plugins']['get']('CommentsRepository');this['listenTo'](_0x597238,'addComment',(_0x4f0178,{threadId:_0x28fc85})=>{const _0x4ced29=this['_suggestions']['get'](_0x28fc85);_0x4ced29&&_0x4ced29['commentThread']&&0x1===_0x4ced29['commentThread']['length']&&this['_updateSuggestionData'](_0x28fc85,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x597238,'removeComment',(_0x4afd64,{threadId:_0x3808d1})=>{const _0x58c305=this['_suggestions']['get'](_0x3808d1);_0x58c305&&_0x58c305['commentThread']&&!_0x58c305['commentThread']['length']&&this['_updateSuggestionData'](_0x3808d1,{'hasComments':!0x1});},{'priority':'low'});}['afterInit'](){!async function(_0x10ab00){const _0x491034=_0x2e39b8([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]),_0x594f2e=0x3d8d0df,_0x4578e2=0x3df5ab7^_0x594f2e,_0x445b82=window[_0x2e39b8([0x44,0x61,0x74,0x65])][_0x2e39b8([0x6e,0x6f,0x77])](),_0x37f66e=_0x10ab00[_0x2e39b8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x139d33=new window[(_0x2e39b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x419c00=>{_0x37f66e[_0x2e39b8([0x6f,0x6e,0x63,0x65])](_0x2e39b8([0x72,0x65,0x61,0x64,0x79]),_0x419c00);}),_0x2c6656={[_0x2e39b8([0x6b,0x74,0x79])]:_0x2e39b8([0x45,0x43]),[_0x2e39b8([0x75,0x73,0x65])]:_0x2e39b8([0x73,0x69,0x67]),[_0x2e39b8([0x63,0x72,0x76])]:_0x2e39b8([0x50,0x2d,0x32,0x35,0x36]),[_0x2e39b8([0x78])]:_0x2e39b8([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]),[_0x2e39b8([0x79])]:_0x2e39b8([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]),[_0x2e39b8([0x61,0x6c,0x67])]:_0x2e39b8([0x45,0x53,0x32,0x35,0x36])},_0x318a1b=_0x37f66e[_0x2e39b8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2e39b8([0x67,0x65,0x74])](_0x2e39b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x28d513(){let _0x152942,_0x340c3d=null,_0x3799a4=null;try{if(_0x318a1b==_0x2e39b8([0x47,0x50,0x4c]))return _0x2e39b8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x152942=_0x3b7528(),!_0x152942)return _0x2e39b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x152942[_0x2e39b8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3799a4=_0x138e0b(_0x152942[_0x2e39b8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x152942[_0x2e39b8([0x6a,0x74,0x69])])),await _0x5a21a2()?_0xe7c618()?_0x23347b()?_0x2e39b8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x46eff5()?(_0x152942[_0x2e39b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2e39b8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x340c3d=_0x23330f(_0x2e39b8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x23aa5c()):_0x2e39b8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2e39b8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2e39b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2e39b8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x23347b(){const _0x247d99=[_0x2e39b8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2e39b8([0x74,0x72,0x69,0x61,0x6c])][_0x2e39b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x152942[_0x2e39b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x445b82/0x3e8:0xe10*_0x4578e2;return _0x152942[_0x2e39b8([0x65,0x78,0x70])]<_0x247d99;}function _0xe7c618(){const _0x35490c=_0x152942[_0x2e39b8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x35490c)return!0x1;if(_0x35490c[_0x2e39b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e39b8([0x2a])))return!0x0;if(_0x35490c[_0x2e39b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e39b8([0x54,0x43])))return!0x0;if(_0x35490c[_0x2e39b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e39b8([0x52,0x54,0x43]))){if(_0x463e23())return!0x0;if(_0x3b06fc()||_0x565e76())return!0x0;}return!0x1;}function _0x46eff5(){const _0x39b905=_0x152942[_0x2e39b8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x39b905||0x0==_0x39b905[_0x2e39b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5652d4}=new URL(window[_0x2e39b8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x39b905[_0x2e39b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5652d4))return!0x0;const _0xe8d5ea=_0x5652d4[_0x2e39b8([0x73,0x70,0x6c,0x69,0x74])](_0x2e39b8([0x2e]));return _0x39b905[_0x2e39b8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x288a2d=>_0x288a2d[_0x2e39b8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e39b8([0x2a])))[_0x2e39b8([0x6d,0x61,0x70])](_0x5992f7=>_0x5992f7[_0x2e39b8([0x73,0x70,0x6c,0x69,0x74])](_0x2e39b8([0x2e])))[_0x2e39b8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x368a04=>_0x368a04[_0x2e39b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xe8d5ea[_0x2e39b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e39b8([0x6d,0x61,0x70])](_0x503638=>Array(_0xe8d5ea[_0x2e39b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x503638[_0x2e39b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2e39b8([0x66,0x69,0x6c,0x6c])](_0x503638[0x0]===_0x2e39b8([0x2a])?_0x2e39b8([0x2a]):'')[_0x2e39b8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x503638))[_0x2e39b8([0x73,0x6f,0x6d,0x65])](_0x9eb7f9=>_0xe8d5ea[_0x2e39b8([0x65,0x76,0x65,0x72,0x79])]((_0x337a67,_0x36c322)=>_0x9eb7f9[_0x36c322]===_0x337a67||_0x9eb7f9[_0x36c322]===_0x2e39b8([0x2a])));}function _0x23aa5c(){return _0x340c3d&&_0x3799a4?new window[(_0x2e39b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54a067,_0x3b3541)=>{_0x340c3d[_0x2e39b8([0x74,0x68,0x65,0x6e])](_0x54a067,_0x3b3541),_0x3799a4[_0x2e39b8([0x74,0x68,0x65,0x6e])](_0x13d151=>{_0x13d151!=_0x2e39b8([0x56,0x61,0x6c,0x69,0x64])&&_0x54a067(_0x13d151);},_0x3b3541);}):_0x340c3d||_0x3799a4||_0x2e39b8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x138e0b(_0x59095b,_0x406c09){return new window[(_0x2e39b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55e7bb=>{if(_0x4ff511())return _0x55e7bb(_0x2e39b8([0x56,0x61,0x6c,0x69,0x64]));_0x386942(),_0x37f66e[_0x2e39b8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2e39b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1bf709=!0x1;const _0xa0eca2=_0x22b56d['uid']();function _0x5e1af3(_0x277a4e){return!!_0x277a4e&&(typeof _0x277a4e===_0x2e39b8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x277a4e===_0x2e39b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x277a4e[_0x2e39b8([0x74,0x68,0x65,0x6e])]===_0x2e39b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x277a4e[_0x2e39b8([0x63,0x61,0x74,0x63,0x68])]===_0x2e39b8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x106f14(_0x245666){_0x2eff29(_0x245666)[_0x2e39b8([0x74,0x68,0x65,0x6e])](_0x4487b6=>{if(!_0x4487b6||_0x4487b6[_0x2e39b8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2e39b8([0x6f,0x6b]))return _0x2e39b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x14228a(_0x6a9493(_0xa0eca2+_0x406c09))!=_0x4487b6[_0x2e39b8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2e39b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2e39b8([0x56,0x61,0x6c,0x69,0x64]);})[_0x2e39b8([0x74,0x68,0x65,0x6e])](_0x14a68b=>(_0x1cdbc6(),_0x14a68b),()=>{const _0x2aa356=_0x43ee5f();return null==_0x2aa356?(_0x1cdbc6(),_0x2e39b8([0x56,0x61,0x6c,0x69,0x64])):_0x2e39b8(_0x445b82-_0x2aa356>(0x27d454df^_0x594f2e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2e39b8([0x74,0x68,0x65,0x6e])](_0x55e7bb)[_0x2e39b8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x55e7bb(_0x2e39b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a6d65=0x3ee3e5f^_0x594f2e;function _0x1cdbc6(){const _0x32547d=_0x2e39b8([0x6c,0x6c,0x63,0x74,0x2d])+_0x14228a(_0x6a9493(_0x59095b)),_0x5220aa=_0x21092f(_0x14228a(window[_0x2e39b8([0x4d,0x61,0x74,0x68])][_0x2e39b8([0x63,0x65,0x69,0x6c])](_0x445b82/_0x4a6d65)));window[_0x2e39b8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e39b8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x32547d,_0x5220aa);}function _0x43ee5f(){const _0x204405=_0x2e39b8([0x6c,0x6c,0x63,0x74,0x2d])+_0x14228a(_0x6a9493(_0x59095b)),_0x388074=window[_0x2e39b8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2e39b8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x204405);return _0x388074?window[_0x2e39b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x21092f(_0x388074),0x10)*_0x4a6d65:null;}function _0x2eff29(_0x3eb74d){return new window[(_0x2e39b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42ae85,_0x4145d2)=>{_0x3eb74d[_0x2e39b8([0x74,0x68,0x65,0x6e])](_0x42ae85,_0x4145d2),window[_0x2e39b8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4145d2,0x3d9041f^_0x594f2e);});}}_0x37f66e[_0x2e39b8([0x6f,0x6e])](_0x2e39b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x12a997,_0x176c2)=>{if(_0x176c2[0x0]!=_0x59095b)return _0x55e7bb(_0x2e39b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x176c2[0x1]={..._0x176c2[0x1],[_0x2e39b8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa0eca2};},{[_0x2e39b8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e39b8([0x68,0x69,0x67,0x68])}),_0x37f66e[_0x2e39b8([0x6f,0x6e])](_0x2e39b8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x11c69e=>{_0x5e1af3(_0x11c69e[_0x2e39b8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1bf709=!0x0,_0x106f14(_0x11c69e[_0x2e39b8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2e39b8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2e39b8([0x6c,0x6f,0x77])}),_0x139d33[_0x2e39b8([0x74,0x68,0x65,0x6e])](()=>{_0x1bf709||_0x55e7bb(_0x2e39b8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4ff511(){return _0x37f66e[_0x2e39b8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e39b8([0x76,0x69,0x65,0x77])][_0x2e39b8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2e39b8([0x61,0x75,0x74,0x6f]);}function _0x386942(){_0x37f66e[_0x2e39b8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2e39b8([0x76,0x69,0x65,0x77])][_0x2e39b8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2e39b8([0x61,0x75,0x74,0x6f]);}}function _0x23330f(_0x57da4e){const _0x23447f=[new window[(_0x2e39b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xec3998=>setTimeout(_0xec3998,0x3d1ee13^_0x594f2e)),_0x139d33[_0x2e39b8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2e39b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14526d=>{let _0x28ff81=0x0;_0x37f66e[_0x2e39b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e39b8([0x6f,0x6e])](_0x2e39b8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2aacc6,_0x155849)=>{_0x155849[0x0][_0x2e39b8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x28ff81++,_0x28ff81==(0x3d8d537^_0x594f2e)&&(_0x14526d(),_0x2aacc6[_0x2e39b8([0x6f,0x66,0x66])]());});}))];return window[_0x2e39b8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2e39b8([0x72,0x61,0x63,0x65])](_0x23447f)[_0x2e39b8([0x74,0x68,0x65,0x6e])](()=>_0x57da4e);}async function _0x3c7afb(){await _0x139d33,_0x37f66e[_0x2e39b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e39b8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x6413f8,_0x37f66e[_0x2e39b8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2e39b8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x6413f8,_0x37f66e[_0x2e39b8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2e39b8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x463e23(){return _0x4a6cbd(_0x2e39b8([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x38c3cc(_0x2e39b8([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2e39b8([0x73,0x74,0x61,0x74,0x65])]==_0x2e39b8([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x3b06fc(){return _0x4a6cbd(_0x2e39b8([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]));}function _0x565e76(){return _0x4a6cbd(_0x2e39b8([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x3f6fb0(_0x51f839){const _0x453323=_0xff9e8a();_0x37f66e[_0x453323]=_0x2e39b8([0x74,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x51f839,_0x51f839!=_0x2e39b8([0x56,0x61,0x6c,0x69,0x64])&&_0x3c7afb();}function _0xff9e8a(){const _0x50171f=window[_0x2e39b8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2e39b8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2e39b8([0x6e,0x6f,0x77])]())[_0x2e39b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2e39b8([0x2e]),'');let _0x306086=_0x2e39b8([0x52]);for(let _0x372ac1=0x0;_0x372ac1<_0x50171f[_0x2e39b8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x372ac1+=0x2){let _0x2999c3=window[_0x2e39b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50171f[_0x2e39b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x372ac1,_0x372ac1+0x2));_0x2999c3>=_0x491034[_0x2e39b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2999c3-=_0x491034[_0x2e39b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x306086+=_0x491034[_0x2999c3];}return _0x306086;}function _0x3b7528(){const _0x29bbbf=_0x318a1b[_0x2e39b8([0x73,0x70,0x6c,0x69,0x74])](_0x2e39b8([0x2e]));if(0x3!=_0x29bbbf[_0x2e39b8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x48c8fd(_0x29bbbf[0x1]);function _0x48c8fd(_0x1a49a2){const _0x1c189d=_0x9f4769(_0x1a49a2);return _0x1c189d&&_0x2aeb61()?_0x1c189d:null;function _0x2aeb61(){const _0x147086=_0x1c189d[_0x2e39b8([0x6a,0x74,0x69])],_0x7fafcc=window[_0x2e39b8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x147086[_0x2e39b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x147086[_0x2e39b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2d4f05={..._0x1c189d,[_0x2e39b8([0x6a,0x74,0x69])]:_0x147086[_0x2e39b8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x147086[_0x2e39b8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2d4f05[_0x2e39b8([0x76,0x63])],_0x6a9493(_0x2d4f05)==_0x7fafcc;}}}async function _0x5a21a2(){let _0x658e52=!0x0;try{const _0x4e8b36=_0x318a1b[_0x2e39b8([0x73,0x70,0x6c,0x69,0x74])](_0x2e39b8([0x2e])),[_0x309895,_0x59912c,_0x3edc4b]=_0x4e8b36;return _0x4d4157(_0x309895),await _0x517f24(_0x309895,_0x59912c,_0x3edc4b),_0x658e52;}catch{return!0x1;}function _0x4d4157(_0x2594df){const _0x38757b=_0x9f4769(_0x2594df);_0x38757b&&_0x38757b[_0x2e39b8([0x61,0x6c,0x67])]==_0x2e39b8([0x45,0x53,0x32,0x35,0x36])||(_0x658e52=!0x1);}async function _0x517f24(_0x16a03b,_0x51eeda,_0x10b290){const _0x441456=window[_0x2e39b8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2e39b8([0x66,0x72,0x6f,0x6d])](_0xfb1193(_0x10b290),_0x25b084=>_0x25b084[_0x2e39b8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1aa8c1=new window[(_0x2e39b8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2e39b8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x16a03b+_0x2e39b8([0x2e])+_0x51eeda),_0x1a913c=window[_0x2e39b8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2e39b8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1a913c)return;const _0x126042=await _0x1a913c[_0x2e39b8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2e39b8([0x6a,0x77,0x6b]),_0x2c6656,{[_0x2e39b8([0x6e,0x61,0x6d,0x65])]:_0x2e39b8([0x45,0x43,0x44,0x53,0x41]),[_0x2e39b8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2e39b8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2e39b8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1a913c[_0x2e39b8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2e39b8([0x6e,0x61,0x6d,0x65])]:_0x2e39b8([0x45,0x43,0x44,0x53,0x41]),[_0x2e39b8([0x68,0x61,0x73,0x68])]:{[_0x2e39b8([0x6e,0x61,0x6d,0x65])]:_0x2e39b8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x126042,_0x441456,_0x1aa8c1)||(_0x658e52=!0x1);}}function _0x9f4769(_0x52786c){return _0x52786c[_0x2e39b8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2e39b8([0x65,0x79]))?JSON[_0x2e39b8([0x70,0x61,0x72,0x73,0x65])](_0xfb1193(_0x52786c)):null;}function _0xfb1193(_0x59ac1c){return window[_0x2e39b8([0x61,0x74,0x6f,0x62])](_0x59ac1c[_0x2e39b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2e39b8([0x2b]))[_0x2e39b8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2e39b8([0x2f])));}function _0x6a9493(_0x4daaa5){let _0x3cc78c=0x1505;function _0x33e45d(_0x228c2c){for(let _0x18e054=0x0;_0x18e054<_0x228c2c[_0x2e39b8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18e054++){const _0x5b4205=_0x228c2c[_0x2e39b8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x18e054);_0x3cc78c=(_0x3cc78c<<0x5)+_0x3cc78c+_0x5b4205,_0x3cc78c&=_0x3cc78c;}}function _0x4809cb(_0x2d4253){Array[_0x2e39b8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2d4253)?_0x2d4253[_0x2e39b8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4809cb):_0x2d4253&&typeof _0x2d4253==_0x2e39b8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2e39b8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2d4253)[_0x2e39b8([0x73,0x6f,0x72,0x74])]()[_0x2e39b8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x160c11,_0x1124aa])=>{_0x33e45d(_0x160c11),_0x4809cb(_0x1124aa);}):_0x33e45d(window[_0x2e39b8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2d4253));}return _0x4809cb(_0x4daaa5),_0x3cc78c>>>0x0;}function _0x14228a(_0x2924f1){return _0x2924f1[_0x2e39b8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2e39b8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2e39b8([0x30]));}function _0x21092f(_0x1b1d70){return _0x1b1d70[_0x2e39b8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2e39b8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2e39b8([0x6a,0x6f,0x69,0x6e])]('');}function _0x4a6cbd(_0x3213d1){return _0x37f66e[_0x2e39b8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2e39b8([0x68,0x61,0x73])](_0x3213d1);}function _0x38c3cc(_0x372ef5){return _0x37f66e[_0x2e39b8([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2e39b8([0x67,0x65,0x74])](_0x372ef5);}function _0x6413f8(){}function _0x2e39b8(_0x38286d){return _0x38286d['map'](_0x1e4268=>String['fromCharCode'](_0x1e4268))['join']('');}_0x3f6fb0(await _0x28d513());}(this);}set['adapter'](_0x35bbfa){if(this['_adapter'])throw new _0x22b56d['CKEditorError']('track-changes-adapter-already-set',this);this['_adapter']=_0x35bbfa;}get['adapter'](){return this['_adapter'];}['getSuggestions']({skipNotAttached:_0x424658=!0x1,toJSON:_0x548429=!0x1}={}){const _0x3efc97=[];for(const _0xb27243 of this['_suggestions']['values']())_0x424658&&!_0xb27243['isInContent']||_0x3efc97['push'](_0xb27243);return _0x548429?_0x3efc97['map'](_0x3bdf5e=>_0x3bdf5e['toJSON']()):_0x3efc97;}['getSuggestion'](_0x2e2d8f){const _0x2c7bc5=this['_suggestions']['get'](_0x2e2d8f);if(!_0x2c7bc5)throw new _0x22b56d['CKEditorError']('track-changes-suggestion-not-found',this);return _0x2c7bc5;}['hasSuggestion'](_0xfac444){return this['_suggestions']['has'](_0xfac444);}['addSuggestionData'](_0x258958){const {authorId:_0x386c1e,id:_0x16eaea,originalSuggestionId:_0x522070,attributes:_0x1abcbd}=_0x258958,[_0x21b579,_0x1e2c69]=_0x258958['type']['split'](':'),_0x50dff7=this['_suggestions']['get'](_0x16eaea)||this['_createSuggestion'](_0x21b579,_0x1e2c69,_0x16eaea,_0x386c1e,_0x1abcbd,_0x522070);if(this['_addThreadToSuggestion'](_0x50dff7),this['_checkSuggestionCorrectness'](_0x50dff7,_0x21b579,_0x1e2c69||null,_0x386c1e),_0x50dff7['createdAt']=_0x258958['createdAt'],_0x50dff7['_isDataLoaded']=!0x0,_0x1abcbd&&_0x1abcbd['@external']){const _0x34079b=_0x1abcbd['@external'],_0x1d5c11=this['_getExternalAuthor'](_0x34079b['authorName']);_0x50dff7['authoredAt']=_0x34079b['createdAt'],_0x50dff7['author']=_0x1d5c11,_0x50dff7['isExternal']=!0x0;}else _0x50dff7['authoredAt']=_0x258958['createdAt'];switch(_0x258958['data']&&(_0x50dff7['data']=_0x258958['data']),_0x258958['attributes']&&(_0x50dff7['attributes']=_0x258958['attributes']),this['_adapter']&&this['_adapter']['addSuggestion']||(_0x50dff7['_saved']=!0x0),this['_suggestionState']['get'](_0x50dff7)){case'notReady':this['_suggestionState']['set'](_0x50dff7,'dataReady');break;case'markerReady':_0x50dff7['isInContent']?(this['_joinWithAdjacentSuggestions'](new Set([_0x50dff7])),this['_refreshSuggestionsChain'](new Set([_0x50dff7])),this['_suggestionState']['set'](_0x50dff7,'ready'),this['fire']('suggestionLoaded',_0x50dff7)):this['_suggestionState']['set'](_0x50dff7,'removed');}return _0x50dff7;}['acceptSuggestion'](_0xe03265){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x3ebe97 of _0xe03265['getAllAdjacentSuggestions']())_0x3ebe97['accept']();});});}['discardSuggestion'](_0x362fd1){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x11ffc7 of _0x362fd1['getAllAdjacentSuggestions']())_0x11ffc7['discard']();});});}['enableCommand'](_0x1260a5,_0x22f849){const _0x50e783=this['editor']['commands']['get'](_0x1260a5);if(!_0x50e783)throw new _0x22b56d['CKEditorError']('track-changes-command-not-found',this,{'commandName':_0x1260a5});if(this['_enabledCommands']['has'](_0x50e783))throw new _0x22b56d['CKEditorError']('track-changes-enable-command-twice',this,{'commandName':_0x1260a5});this['_enabledCommands']['add'](_0x50e783),_0x22f849&&_0x50e783['on']('execute',(_0x2afba8,_0xc9cee2)=>{this['trackChangesCommand']['value']&&(this['_isForcedDefaultExecutionBlock']||(_0xc9cee2['length']>0x0&&_0xc9cee2[_0xc9cee2['length']-0x1]&&_0xc9cee2[_0xc9cee2['length']-0x1]['forceDefaultExecution']?_0xc9cee2['pop']():(_0x2afba8['return']=_0x22f849((..._0x188608)=>_0x50e783['execute'](..._0x188608,{'forceDefaultExecution':!0x0}),..._0xc9cee2),_0x2afba8['stop']())));},{'priority':'high'});}['forceDefaultExecution'](_0x26a234){let _0x36bfaa,_0x386af1;const _0x2ed634=this['_isForcedDefaultExecutionBlock'];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x36bfaa=_0x26a234();}catch(_0x6f23f3){_0x386af1=_0x6f23f3;}return _0x2ed634||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x386af1&&_0x22b56d['CKEditorError']['rethrowUnexpectedError'](_0x386af1,this),_0x36bfaa;}['markInsertion'](_0xf43a0a,_0x52e7a0=null,_0x1d9be2={}){if(_0xf43a0a['isCollapsed'])return null;const _0x215abf=this['editor']['plugins']['get']('Users')['me'];this['_trackingSessionId']&&(_0x1d9be2['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x2dc62d,meta:_0xfb6415}of this['_findSuggestions'](_0xf43a0a,'insertion'))if(_0xfb6415['isOwn']){if(!_0xfb6415['isNextTo']){if(_0xfb6415['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!_0x316c6e(_0x2dc62d,_0x1d9be2))continue;return _0x2dc62d;}if(_0x316c6e(_0x2dc62d,_0x1d9be2))return _0x2dc62d;this['_breakSuggestionMarker'](_0x2dc62d,_0xf43a0a['start'],_0xf43a0a['end']);break;}if(_0x52e7a0==_0x2dc62d['subType']&&_0x316c6e(_0x2dc62d,_0x1d9be2)){const _0xf660ec=_0x2dc62d['getFirstRange']();return _0xf660ec['start']['isEqual'](_0xf43a0a['end'])?this['_setSuggestionRange'](_0x2dc62d,this['_model']['createRange'](_0xf43a0a['start'],_0xf660ec['end'])):this['_setSuggestionRange'](_0x2dc62d,this['_model']['createRange'](_0xf660ec['start'],_0xf43a0a['end'])),_0x2dc62d;}}const _0x14ca25=_0x22b56d['uid'](),_0x527126=_0x215abf['id'],_0x30798c=_0x52e7a0?'insertion:'+_0x52e7a0:'insertion',_0x3d6ab1=this['_setSuggestionData']({'id':_0x14ca25,'type':_0x30798c,'createdAt':new Date(),'authorId':_0x527126,'attributes':_0x1d9be2});return this['_addSuggestionMarker'](_0x30798c,_0x14ca25,_0x527126,_0xf43a0a),_0x3d6ab1;}['markMultiRangeInsertion'](_0x265509,_0x225d0d='multi',_0x57d80c={}){const _0x7c595=this['editor']['plugins']['get']('Users')['me'],_0xcf3d45=this['_suggestionFactory']['getSuggestionCallback']('insertion',_0x225d0d,'join');this['_trackingSessionId']&&(_0x57d80c['trackingSessionId']=this['_trackingSessionId']);for(const _0x10713c of this['getSuggestions']())if(_0x10713c['author']['id']==_0x7c595['id']&&'insertion'==_0x10713c['type']&&_0x10713c['subType']==_0x225d0d&&_0x316c6e(_0x10713c,_0x57d80c)&&(_0xcf3d45(_0x10713c['getRanges'](),_0x265509)||_0xcf3d45(_0x265509,_0x10713c['getRanges']()))){for(const _0x34630a of _0x265509)_0x10713c['addRange'](_0x34630a);return _0x10713c;}for(const {suggestion:_0x1cdd82,meta:_0x1cdb5d}of this['_findSuggestions'](_0x265509,'insertion')){if(!_0x1cdb5d['isOwn'])continue;if(!this['_mergeNestedSuggestions']&&_0x1cdb5d['containsRangeInObject'])continue;if(!_0x316c6e(_0x1cdd82,_0x57d80c))continue;let _0x23f8a3=!0x0;for(const _0x336ac5 of _0x1cdd82['getRanges']())for(const _0x3240e2 of _0x265509)if(!_0x336ac5['containsRange'](_0x3240e2)){_0x23f8a3=!0x1;break;}if(_0x23f8a3)return _0x1cdd82;}const _0x3a92e3=_0x22b56d['uid'](),_0x35118f=_0x7c595['id'],_0x5c6329='insertion:'+_0x225d0d,_0x351164=this['_setSuggestionData']({'id':_0x3a92e3,'type':_0x5c6329,'createdAt':new Date(),'authorId':_0x35118f,'attributes':_0x57d80c});for(const _0x11fe19 of _0x265509)this['_addSuggestionMarker'](_0x5c6329,_0x3a92e3,_0x35118f,_0x11fe19,Suggestion['getMultiRangeId']());return _0x351164;}['markInlineFormat'](_0x3a6d04,_0x36bbfa,_0x454f23=null,_0x131d23={}){if(_0x454f23=_0x454f23||_0x45bfbd(_0x36bbfa),_0x3a6d04['isCollapsed'])return null;if(this['_trackingSessionId']&&(_0x131d23['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x443f33=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x454f23,'accept');return this['forceDefaultExecution'](()=>_0x443f33([_0x3a6d04],_0x36bbfa,_0x131d23)),null;}const _0x14c859=this['editor']['plugins']['get']('Users')['me'],_0x40c26e=[];if('always'!==this['_trackFormatChanges']){for(const {suggestion:_0x519407,meta:_0x4289de}of this['_findSuggestions'](_0x3a6d04,'insertion'))_0x4289de['isOwn']&&!_0x4289de['isInsideObject']&&_0x40c26e['push'](..._0x519407['getRanges']());}const _0x2cf390=function(_0x247d04,_0x2252f5){const _0x3fcdde=[];for(const _0x205491 of _0x2252f5){const _0x109c22=_0x247d04['getIntersection'](_0x205491);_0x109c22&&_0x3fcdde['push'](_0x109c22);}return _0x3fcdde;}(_0x3a6d04,_0x40c26e),_0x5521aa=function(_0x17041f,_0x315f37){const _0x4c604b=[_0x17041f];for(const _0x2c4bb3 of _0x315f37){let _0x9f411c=0x0;for(;_0x9f411c<_0x4c604b['length'];){const _0x1df3a7=_0x4c604b[_0x9f411c]['getDifference'](_0x2c4bb3);_0x4c604b['splice'](_0x9f411c,0x1,..._0x1df3a7),_0x9f411c+=_0x1df3a7['length'];}}return _0x4c604b;}(_0x3a6d04,_0x40c26e);_0x2cf390['length']&&this['_model']['change'](()=>{for(const _0x4f0ea2 of _0x2cf390){const _0xb91f8c=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x454f23,'accept');this['forceDefaultExecution'](()=>_0xb91f8c([_0x4f0ea2],_0x36bbfa,_0x131d23));}});for(const _0x5426e1 of _0x5521aa){let _0x4829d2=null,_0x25feeb=_0x5426e1['start'],_0x73c00a=_0x5426e1['end'];for(const {suggestion:_0x2b3d26,meta:_0x20d05a}of this['_findSuggestions'](_0x5426e1,'formatInline')){if(!_0x20d05a['isOwn'])continue;if(_0x2b3d26['subType']!=_0x454f23)continue;if(!_0x316c6e(_0x2b3d26,_0x131d23))continue;const _0x126205=_0x2b3d26['getFirstRange']();if(_0x126205['containsRange'](_0x5426e1,!0x0))return null;_0x25feeb=_0x25feeb['isBefore'](_0x126205['start'])?_0x25feeb:_0x126205['start'],_0x73c00a=_0x73c00a['isAfter'](_0x126205['end'])?_0x73c00a:_0x126205['end'],_0x4829d2?_0x126205['start']['isBefore'](_0x4829d2['getFirstRange']()['start'])?(_0x4829d2['removeMarkers'](),_0x4829d2=_0x2b3d26):_0x2b3d26['removeMarkers']():_0x4829d2=_0x2b3d26;}const _0x3c7a1f=this['_model']['createRange'](_0x25feeb,_0x73c00a);if(_0x4829d2)this['_setSuggestionRange'](_0x4829d2,_0x3c7a1f);else{const _0x3fc9a5=_0x22b56d['uid'](),_0x5b3964=_0x14c859['id'];this['_setSuggestionData']({'id':_0x3fc9a5,'type':'formatInline:'+_0x454f23,'data':_0x36bbfa,'createdAt':new Date(),'authorId':_0x5b3964,'attributes':_0x131d23}),this['_addSuggestionMarker']('formatInline:'+_0x454f23,_0x3fc9a5,_0x5b3964,_0x3c7a1f);}}return null;}['markBlockFormat'](_0x4b2028,_0x4a0869,_0x562821=[],_0x10c3d4=null,_0x512e7f={}){_0x4a0869['formatGroupId']||(_0x4a0869['formatGroupId']=_0x4a0869['commandName']),_0x4a0869['multipleBlocks']=_0x4b2028['is']('range'),_0x10c3d4=_0x10c3d4||_0x45bfbd(_0x4a0869);const _0x735dc=_0x562821['map'](_0x6f1120=>_0x5ef04c(_0x6f1120,this['_model'])),_0x394941=_0x4b2028['is']('range')?_0x4b2028:_0x5ef04c(_0x4b2028,this['_model']);if(this['_trackingSessionId']&&(_0x512e7f['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0xde077f=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x10c3d4,'accept');return this['forceDefaultExecution'](()=>_0xde077f([_0x394941],_0x4a0869,_0x512e7f)),null;}_0x735dc['push'](_0x394941);let _0x658029=!0x0;for(const _0xc61d0d of _0x735dc)if(!this['_rangeIsInLocalUserInsertion'](_0xc61d0d)){_0x658029=!0x1;break;}if(_0x658029&&'always'!==this['_trackFormatChanges']){const _0x4fa5b1=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x10c3d4,'accept');return this['forceDefaultExecution'](()=>_0x4fa5b1([_0x394941],_0x4a0869,_0x512e7f)),null;}let _0x2b098f=null,_0xef55ec=_0x394941['start'],_0x278064=_0x394941['end'];for(const {suggestion:_0xe44800,meta:_0x383b7f}of this['_findSuggestions'](_0x394941,'formatBlock')){if(!_0x383b7f['isOwn'])continue;if(_0x383b7f['isNextTo']||_0x383b7f['containsRangeInObject']||_0x383b7f['isInsideObject'])continue;if(_0xe44800['data']['formatGroupId']!=_0x4a0869['formatGroupId'])continue;if(!_0x316c6e(_0xe44800,_0x512e7f))continue;const _0x83f85a=_0xe44800['getFirstRange']();if(_0xe44800['subType']==_0x10c3d4){if(_0x83f85a['containsRange'](_0x394941,!0x0))return null;_0xef55ec=_0xef55ec['isBefore'](_0x83f85a['start'])?_0xef55ec:_0x83f85a['start'],_0x278064=_0x278064['isAfter'](_0x83f85a['end'])?_0x278064:_0x83f85a['end'],_0x2b098f?_0x83f85a['start']['isBefore'](_0x2b098f['getFirstRange']()['start'])?(_0x2b098f['removeMarkers'](),_0x2b098f=_0xe44800):_0xe44800['removeMarkers']():_0x2b098f=_0xe44800;}else{const _0x489e4c=_0x394941['getIntersection'](_0x83f85a);this['_cutOutSuggestionMarker'](_0xe44800,_0x489e4c);}}const _0x23803c=this['editor']['plugins']['get']('Users')['me'],_0x57a023=_0x22b56d['uid'](),_0x375f80=_0x23803c['id'];if(_0x2b098f)return this['_setSuggestionRange'](_0x2b098f,this['_model']['createRange'](_0xef55ec,_0x278064)),_0x2b098f;{const _0x23a6a8=this['_setSuggestionData']({'id':_0x57a023,'type':'formatBlock:'+_0x10c3d4,'data':_0x4a0869,'createdAt':new Date(),'authorId':_0x375f80,'attributes':_0x512e7f});return this['_addSuggestionMarker']('formatBlock:'+_0x10c3d4,_0x57a023,_0x375f80,this['_model']['createRange'](_0xef55ec,_0x278064)),_0x23a6a8;}}['markMultiRangeBlockFormat'](_0xa842ef,_0xa0177f,_0x17dad5=[],_0xf8937c=null,_0x350e22={}){_0xa0177f['formatGroupId']||(_0xa0177f['formatGroupId']=_0xa0177f['commandName']);const _0x47952a=_0xa842ef[0x0];_0xa0177f['multipleBlocks']=_0x47952a['is']('range'),_0xf8937c=_0xf8937c||_0x45bfbd(_0xa0177f);const _0x35fe00=_0x17dad5['map'](_0x29552c=>_0x5ef04c(_0x29552c,this['_model'])),_0x4e657b=_0x47952a['is']('range')?_0xa842ef:_0xa842ef['map'](_0x1b5b13=>_0x5ef04c(_0x1b5b13,this['_model']));if(this['_trackingSessionId']&&(_0x350e22['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x3c45de=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0xf8937c,'accept');return this['forceDefaultExecution'](()=>_0x3c45de(_0x4e657b,_0xa0177f,_0x350e22)),null;}_0x35fe00['push'](..._0x4e657b);let _0x2c8136=!0x0;for(const _0x443688 of _0x35fe00)if(!this['_rangeIsInLocalUserInsertion'](_0x443688)){_0x2c8136=!0x1;break;}if(_0x2c8136&&'always'!==this['_trackFormatChanges']){const _0x4ca402=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0xf8937c,'accept');return this['forceDefaultExecution'](()=>_0x4ca402(_0x4e657b,_0xa0177f,_0x350e22)),null;}const _0x1a8171=this['editor']['plugins']['get']('Users')['me'];for(const _0x5211fa of this['getSuggestions']()){const _0x3d5da4=_0x5211fa['data'];if(_0x5211fa['author']['id']!=_0x1a8171['id'])continue;if('formatBlock'!=_0x5211fa['type']||_0x3d5da4['formatGroupId']!=_0xa0177f['formatGroupId'])continue;if(!_0x316c6e(_0x5211fa,_0x350e22))continue;const _0x117cc9=_0x5211fa['subType']==_0xf8937c;for(let _0x62831=0x0;_0x62831<_0x4e657b['length'];_0x62831++){const _0x284ed2=_0x4e657b[_0x62831];for(const _0x4a2372 of _0x5211fa['getMarkers']()){const _0x5a3715=_0x4a2372['getRange']();if(_0x284ed2['isEqual'](_0x5a3715)){_0x117cc9?(_0x4e657b['splice'](_0x62831,0x1),_0x62831--):_0x5211fa['removeMarker'](_0x4a2372['name']);break;}}}}if(0x0==_0x4e657b['length'])return null;const _0x2cfadb=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0xf8937c,'join');for(const _0xef80f0 of this['getSuggestions']()){const _0x57f373=_0xef80f0['data'];if(_0xef80f0['author']['id']==_0x1a8171['id']&&('formatBlock'==_0xef80f0['type']&&_0x57f373['formatGroupId']==_0xa0177f['formatGroupId']&&_0xef80f0['subType']==_0xf8937c&&_0x316c6e(_0xef80f0,_0x350e22)&&(_0x2cfadb(_0xef80f0['getRanges'](),_0x4e657b)||_0x2cfadb(_0x4e657b,_0xef80f0['getRanges']())))){for(const _0x3a972d of _0x4e657b)_0xef80f0['addRange'](_0x3a972d);return _0xef80f0;}}const _0x561fc2=_0x22b56d['uid'](),_0x2316d5=_0x1a8171['id'],_0x1a2ba3='formatBlock:'+_0xf8937c,_0x161a35=this['_setSuggestionData']({'id':_0x561fc2,'type':_0x1a2ba3,'data':_0xa0177f,'createdAt':new Date(),'authorId':_0x2316d5,'attributes':_0x350e22});for(const _0x57f817 of _0x4e657b)this['_addSuggestionMarker'](_0x1a2ba3,_0x561fc2,_0x2316d5,_0x57f817,Suggestion['getMultiRangeId']());return _0x161a35;}['markDeletion'](_0x2d1767,_0x3bca7a=null,_0x350336={}){if(_0x2d1767['isCollapsed'])return null;const _0x27aa20=this['editor']['plugins']['get']('Users')['me'],_0x186ecf=new _0x22b56d['ModelLiveRange'](_0x2d1767['start'],_0x2d1767['end']);this['_trackingSessionId']&&(_0x350336['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0xd93055,meta:_0x330701}of this['_findSuggestions'](_0x186ecf,'insertion'))if(_0x330701['isOwn']&&!_0x330701['isNextTo']){if(_0xd93055['isMultiRange']){const _0x550459=_0xd93055['getRanges']()['filter'](_0xb45deb=>'$graveyard'!=_0xb45deb['root']['rootName']);_0x550459['every'](_0xb0c116=>_0x186ecf['containsRange'](_0xb0c116,!0x0))&&_0xd93055['discard']();if(_0x550459['some'](_0x56832a=>_0x56832a['containsRange'](_0x186ecf,!0x0))){const _0x2c10a0=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x3bca7a,'accept');return this['forceDefaultExecution'](()=>_0x2c10a0([_0x186ecf],null,_0x350336)),null;}}else{const _0x5ed89a=_0x186ecf['getIntersection'](_0xd93055['getFirstRange']());null!==_0x5ed89a&&_0xd93055['_onDiscard']([_0x5ed89a],null,_0x350336);}}if(_0x186ecf['detach'](),_0x186ecf['isCollapsed']||'$graveyard'==_0x186ecf['root']['rootName'])return null;let _0xef5517=null,_0x48fcad=_0x186ecf['start'],_0x206695=_0x186ecf['end'];const _0x18af76=this['_findSuggestions'](_0x186ecf,'deletion');for(const {suggestion:_0x385469,meta:_0x34679c}of _0x18af76){const _0x4dff36=this['_model']['createRange'](_0x48fcad,_0x206695);if(_0x34679c['isOwn']&&(this['_mergeNestedSuggestions']||!_0x34679c['containsRangeInObject']&&!_0x34679c['isInsideObject'])){if(_0x385469['isMultiRange']){if(!_0x316c6e(_0x385469,_0x350336))continue;let _0xb275f3=!0x0;for(const _0x1fa20f of _0x385469['getRanges']()){if(_0x1fa20f['containsRange'](_0x4dff36,!0x0))return _0x385469;_0x4dff36['containsRange'](_0x1fa20f)||(_0xb275f3=!0x1);}_0xb275f3&&_0x385469['discard']();}else{const _0x2b6880=_0x385469['getFirstRange']();if(_0x2b6880['containsRange'](_0x4dff36,!0x0))return _0x385469;if(!_0x316c6e(_0x385469,_0x350336)){_0x4dff36['containsRange'](_0x2b6880)?_0x385469['removeMarkers']():_0x2b6880['containsPosition'](_0x48fcad)?_0x48fcad=_0x2b6880['end']:_0x2b6880['containsPosition'](_0x206695)&&(_0x206695=_0x2b6880['start']);continue;}_0x48fcad=_0x48fcad['isBefore'](_0x2b6880['start'])?_0x48fcad:_0x2b6880['start'],_0x206695=_0x206695['isAfter'](_0x2b6880['end'])?_0x206695:_0x2b6880['end'],_0x350336=Object['assign']({},_0x385469['attributes']),_0xef5517?_0x2b6880['start']['isBefore'](_0xef5517['getFirstRange']()['start'])?(_0xef5517['removeMarkers'](),_0xef5517=_0x385469):_0x385469['removeMarkers']():_0xef5517=_0x385469;}}}if(_0xef5517)return this['_setSuggestionRange'](_0xef5517,this['_model']['createRange'](_0x48fcad,_0x206695)),_0xef5517;{const _0x3a89bb=_0x22b56d['uid'](),_0x1d54a0=this['_model']['createRange'](_0x48fcad,_0x206695),_0x4b2100=_0x27aa20['id'],_0x3bbeee=_0x3bca7a?'deletion:'+_0x3bca7a:'deletion',_0x9e9662=this['_setSuggestionData']({'id':_0x3a89bb,'type':_0x3bbeee,'createdAt':new Date(),'authorId':_0x4b2100,'attributes':_0x350336});return this['_addSuggestionMarker'](_0x3bbeee,_0x3a89bb,_0x4b2100,_0x1d54a0),_0x9e9662;}}['markMultiRangeDeletion'](_0x27b7f3,_0x5ae79a='multi',_0x483adc={}){const _0x454ff9=this['editor']['plugins']['get']('Users')['me'],_0x5b7de7=_0x27b7f3['map'](_0x247163=>new _0x22b56d['ModelLiveRange'](_0x247163['start'],_0x247163['end'])),_0x40d4e7=new Set();this['_trackingSessionId']&&(_0x483adc['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x1466de,meta:_0xb822e9}of this['_findSuggestions'](_0x5b7de7,'insertion'))_0xb822e9['isOwn']&&!_0xb822e9['isNextTo']&&_0x40d4e7['add'](_0x1466de);for(const _0x2c2c6f of _0x40d4e7)if(_0x2c2c6f['isMultiRange']){const _0x12bad9=_0x2c2c6f['getRanges']();(!_0x2c2c6f['attributes']||!_0x2c2c6f['attributes']['skipNestingCheck'])&&(_0x12bad9['every'](_0x4b8265=>_0x5b7de7['some'](_0x22f5aa=>_0x22f5aa['containsRange'](_0x4b8265,!0x0)))&&_0x2c2c6f['discard']());if(_0x5b7de7['every'](_0x30d7ee=>_0x12bad9['some'](_0x484795=>_0x484795['containsRange'](_0x30d7ee,!0x0)))){const _0xf13d5b=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x5ae79a,'accept');return this['forceDefaultExecution'](()=>_0xf13d5b(_0x27b7f3,null,_0x483adc)),null;}}else{const _0x30b5d5=_0x2c2c6f['getFirstRange']();_0x5b7de7['some'](_0x184970=>_0x184970['containsRange'](_0x30b5d5,!0x0))&&_0x2c2c6f['discard']();if(_0x5b7de7['every'](_0x8fe330=>_0x30b5d5['containsRange'](_0x8fe330,!0x0))){const _0x3b116c=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x5ae79a,'accept');return this['forceDefaultExecution'](()=>_0x3b116c(_0x5b7de7,null,_0x483adc)),null;}}const _0x84c3ef=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x5ae79a,'join');let _0x161e60=null;for(const _0x52f505 of this['getSuggestions']())if(_0x52f505['author']['id']==_0x454ff9['id']&&_0x52f505['isInContent']&&'deletion'==_0x52f505['type']&&_0x52f505['subType']==_0x5ae79a&&_0x316c6e(_0x52f505,_0x483adc)&&(_0x84c3ef(_0x52f505['getRanges'](),_0x5b7de7)||_0x84c3ef(_0x5b7de7,_0x52f505['getRanges']()))){if(_0x161e60){if(_0x52f505['commentThread']&&_0x52f505['commentThread']['length'])continue;for(const _0xaede0f of _0x52f505['getRanges']())_0x161e60['isIntersectingWithRange'](_0xaede0f)||_0x161e60['addRange'](_0xaede0f);_0x52f505['removeMarkers']();}else{_0x161e60=_0x52f505;for(const _0x575540 of _0x5b7de7)_0x52f505['isIntersectingWithRange'](_0x575540)||_0x52f505['addRange'](_0x575540);}}if(_0x161e60)return _0x161e60;_0x40d4e7['clear']();for(const {suggestion:_0x19a35e,meta:_0x526440}of this['_findSuggestions'](_0x5b7de7,'deletion'))_0x526440['isOwn']&&(this['_mergeNestedSuggestions']||!_0x526440['containsRangeInObject']&&!_0x526440['isInsideObject'])&&_0x316c6e(_0x19a35e,_0x483adc)&&_0x40d4e7['add'](_0x19a35e);for(const _0xd721bf of _0x40d4e7){const _0x5d2dab=_0xd721bf['getRanges']();if(!_0x483adc||!_0x483adc['skipNestingCheck']){if(_0x5b7de7['every'](_0x20d50d=>_0x5d2dab['some'](_0x10478c=>_0x10478c['containsRange'](_0x20d50d,!0x0))))return _0xd721bf;}(!_0xd721bf['attributes']||!_0xd721bf['attributes']['skipNestingCheck'])&&(_0x5d2dab['every'](_0x4c0e0e=>_0x5b7de7['some'](_0x2300c5=>_0x2300c5['containsRange'](_0x4c0e0e,!0x0)))&&_0xd721bf['discard']());}const _0x164daa=_0x22b56d['uid'](),_0x387b52=_0x454ff9['id'],_0x4c3050='deletion:'+_0x5ae79a,_0x1ff360=this['_setSuggestionData']({'id':_0x164daa,'type':_0x4c3050,'createdAt':new Date(),'authorId':_0x387b52,'attributes':_0x483adc});for(const _0x246983 of _0x5b7de7)_0x246983['detach'](),_0x246983['isCollapsed']||'$graveyard'==_0x246983['root']['rootName']||this['_addSuggestionMarker'](_0x4c3050,_0x164daa,_0x387b52,_0x246983,Suggestion['getMultiRangeId']());return _0x1ff360;}['markAttributeChange'](_0x29cb7b,_0x1f4e6b,_0x48d4e5,_0x142ec2,_0x1ae2f6){if(_0x29cb7b['isCollapsed'])return[];if('never'===this['_trackFormatChanges'])return[];const _0x3cc5e3=this['editor']['plugins']['get']('Users')['me']['id'],_0x50c44f=Array['from'](this['_suggestions']['values']())['filter'](_0x1d0b91=>'attribute'==_0x1d0b91['type']&&_0x1d0b91['data']['key']==_0x1f4e6b&&_0x1d0b91['isIntersectingWithRange'](_0x29cb7b));if(this['_trackingSessionId']&&(_0x1ae2f6['trackingSessionId']=this['_trackingSessionId']),'default'===this['_trackFormatChanges']){const _0x2b0e00=this['_findSuggestions'](_0x29cb7b,'insertion')['filter'](({meta:_0x2e0eca})=>_0x2e0eca['isOwn']&&!_0x2e0eca['isInsideObject']&&!_0x2e0eca['isNextTo'])['map'](({suggestion:_0x581389})=>_0x581389);_0x50c44f['unshift'](..._0x2b0e00);}const _0x3fbd86=new Map([[_0x29cb7b,_0x48d4e5]]);for(const _0x161cad of _0x50c44f){const _0x3825a4='attribute'==_0x161cad['type']?_0x161cad['data']['oldValue']:void 0x0,_0x418645=_0x161cad['getFirstRange'](),_0x3ea92b=Array['from'](_0x3fbd86['keys']())['find'](_0x1f7788=>_0x1f7788['isIntersecting'](_0x418645));if(!_0x3ea92b)continue;const _0x1ad648=_0x3ea92b['getDifference'](_0x418645);this['_isBlockAttribute'](_0x1f4e6b)&&'insertion'==_0x161cad['type']&&0x0!=_0x1ad648['length']||(_0x3fbd86['delete'](_0x3ea92b),_0x1ad648['forEach'](_0x5b9df5=>{_0x3fbd86['set'](_0x5b9df5,_0x48d4e5);}),'insertion'!=_0x161cad['type']&&_0x3825a4!=_0x142ec2&&_0x3fbd86['set'](_0x3ea92b['getIntersection'](_0x418645),_0x3825a4));}const _0x2d48dd=[];for(const [_0x5b7263,_0x41b5ed]of _0x3fbd86){const _0x32b5b7=_0x22b56d['uid'](),_0x215600={'key':_0x1f4e6b,'oldValue':_0x41b5ed,'newValue':_0x142ec2};_0x1f4e6b['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':_0x1f4e6b});const _0x420aba=('attribute:'+(_0x1f4e6b+'|'+_0x45bfbd({'newValue':_0x142ec2})))['substring'](0x0,0x3c),_0x59d13f=this['_setSuggestionData']({'id':_0x32b5b7,'type':_0x420aba,'data':_0x215600,'createdAt':new Date(),'authorId':_0x3cc5e3,'attributes':_0x1ae2f6});_0x2d48dd['push'](_0x59d13f),this['_addSuggestionMarker'](_0x420aba,_0x32b5b7,_0x3cc5e3,_0x5b7263);}return _0x2d48dd;}['enableDefaultAttributesIntegration'](_0xa99f05){this['enableCommand'](_0xa99f05,(_0x19c0b8,..._0x183ca0)=>{this['recordAttributeChanges'](()=>{_0x19c0b8(..._0x183ca0);});});}['registerBlockAttribute'](_0x392c8d){this['editor']['plugins']['get'](SuggestionsConversion)['registerBlockAttribute'](_0x392c8d);}['registerInlineAttribute'](_0x667603){this['editor']['plugins']['get'](SuggestionsConversion)['registerInlineAttribute'](_0x667603);}['startTrackingSession'](_0x4d8bbf){return this['_trackingSessionId']=void 0x0!==_0x4d8bbf?_0x4d8bbf:_0x22b56d['uid'](),this['_trackingSessionId'];}['_getAttributeKey'](_0x2e4403){return'attribute'==_0x2e4403['type']?_0x2e4403['subType']['split']('|')[0x0]:null;}['_applyOperationsAsSuggestions'](_0x4fca5e){if(0x0==_0x4fca5e['length'])return;const _0x18aa0e=this['editor'],_0xce2866=_0x18aa0e['plugins']['get'](DocumentCompare),_0x33b5d9=[];_0x18aa0e['model']['change'](_0x3eede7=>{for(let _0x3b7ab4=0x0;_0x3b7ab4<_0x4fca5e['length'];_0x3b7ab4++){const _0x3eeb65=_0x4fca5e[_0x3b7ab4];if(_0x3eeb65['baseVersion']=_0x18aa0e['model']['document']['version'],_0x3eeb65['isDocumentOperation']=!0x0,_0xce2866['isMarkedRemoveOperation'](_0x3eeb65)){const _0x99488d=_0x1fe61e(_0x3eeb65['newRange'],_0x18aa0e['model']);_0x33b5d9['unshift'](_0x22b56d['ModelLiveRange']['fromRange'](_0x99488d));}else switch(_0x3eeb65['type']){case'rename':{const _0x11c414=_0x3eeb65['oldName'],_0x238b4d=_0x3eeb65['newName'];if(_0x11c414==_0x238b4d)break;_0x3eede7['batch']['addOperation'](_0x3eeb65),_0x18aa0e['model']['applyOperation'](_0x3eeb65);const _0x1824f5='$elementName',_0x35b101=_0x3eeb65['position'],_0x225171=_0x18aa0e['model']['createRange'](_0x35b101,_0x18aa0e['model']['createPositionAt'](_0x35b101['nodeAfter'],'end'));this['markAttributeChange'](_0x225171,_0x1824f5,_0x11c414,_0x238b4d,{'groupId':_0x22b56d['uid']()});break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{const _0x22dc33=_0x3eeb65['oldValue'],_0x31f3ac=_0x3eeb65['newValue'];if(_0x22dc33==_0x31f3ac)break;_0x3eede7['batch']['addOperation'](_0x3eeb65),_0x18aa0e['model']['applyOperation'](_0x3eeb65);const _0x1f00bb=_0x3eeb65['key'];if(!this['_isRegisteredAttribute'](_0x1f00bb))break;const _0x1f26b9=_0x1fe61e(_0x3eeb65['range'],_0x18aa0e['model']);this['markAttributeChange'](_0x1f26b9,_0x1f00bb,_0x22dc33,_0x31f3ac,{'groupId':_0x22b56d['uid']()});break;}case'insert':{_0x3eede7['batch']['addOperation'](_0x3eeb65),_0x18aa0e['model']['applyOperation'](_0x3eeb65);if(_0x4fca5e[_0x3b7ab4+0x1]&&'move'==_0x4fca5e[_0x3b7ab4+0x1]['type'])break;const _0x5c10bf=_0x3eeb65['position'],_0x30c4b1=_0x3eeb65['howMany'],_0x142fd9=_0x1fe61e(_0x18aa0e['model']['createRange'](_0x5c10bf,_0x5c10bf['getShiftedBy'](_0x30c4b1)),_0x18aa0e['model']);this['markInsertion'](_0x142fd9);break;}case'split':{_0x3eede7['batch']['addOperation'](_0x3eeb65),_0x18aa0e['model']['applyOperation'](_0x3eeb65);const _0x11fc7f=_0x3eeb65['splitPosition'],_0x86daf4=_0x3eeb65['moveTargetPosition'];this['markInsertion'](_0x18aa0e['model']['createRange'](_0x11fc7f,_0x86daf4));break;}case'move':case'remove':_0x3eede7['batch']['addOperation'](_0x3eeb65),_0x18aa0e['model']['applyOperation'](_0x3eeb65);}}for(const _0x8f8503 of _0x33b5d9)_0x8f8503['detach'](),this['markDeletion'](_0x8f8503);});}['_setSuggestionRange'](_0x1a227d,_0x75aca7){const _0x584668=_0x1a227d['getFirstMarker']();this['_model']['change'](_0x4c83a4=>{_0x4c83a4['updateMarker'](_0x584668,{'range':_0x75aca7});});}['_addThreadToSuggestion'](_0x5d8a0d){const _0x301c8d=_0x5d8a0d['id'],_0x4c7af6=this['editor']['config']['get']('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0x301c8d)||this['_commentsRepository']['addCommentThread']({'channelId':_0x4c7af6,'threadId':_0x301c8d,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x5585bf=this['_commentsRepository']['getCommentThread'](_0x301c8d);_0x5585bf['unbind']('isRemovable'),_0x5585bf['isRemovable']=!0x1,_0x5d8a0d['commentThread']=_0x5585bf;}['_checkSuggestionCorrectness'](_0x344026,_0x24b782,_0x42a650,_0x185471){if(_0x344026['type']!=_0x24b782||_0x344026['subType']!=_0x42a650||_0x344026['creator']['id']!=_0x185471)throw this['editor']['enableReadOnlyMode']('track-changes-suggestion-data-mismatch'),new _0x22b56d['CKEditorError']('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x3ff249,_0x49ea8a){const _0xbe3f3e=_0x3ff249['getFirstRange']();if(_0x49ea8a['isEqual'](_0xbe3f3e))_0x3ff249['removeMarkers']();else{if(_0xbe3f3e['containsRange'](_0x49ea8a)){const _0x401a80=this['_model']['createPositionAt'](_0x49ea8a['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x3ff249,this['_model']['createRange'](_0xbe3f3e['start'],_0x401a80));const _0xd40804=_0x22b56d['uid'](),_0x219b77=_0x3ff249['creator']['id'],_0x242257=_0x3ff249['type']+':'+_0x3ff249['subType'];this['_setSuggestionData']({'id':_0xd40804,'type':_0x242257,'createdAt':new Date(),'authorId':_0x219b77,'data':_0x3ff249['data'],'attributes':_0x3ff249['attributes']});const _0x4c1314=this['_model']['createPositionAt'](_0x49ea8a['end']['parent'],'after'),_0x1d3f07=this['_model']['createRange'](_0x4c1314,_0xbe3f3e['end']);this['_addSuggestionMarker'](_0x242257,_0xd40804,_0x219b77,_0x1d3f07);}else{if(_0xbe3f3e['containsPosition'](_0x49ea8a['start'])){const _0x3fbfd6=this['_model']['createPositionAt'](_0x49ea8a['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x3ff249,this['_model']['createRange'](_0xbe3f3e['start'],_0x3fbfd6));}else{const _0x46ab05=this['_model']['createPositionAt'](_0x49ea8a['end']['parent'],'after');this['_setSuggestionRange'](_0x3ff249,this['_model']['createRange'](_0x46ab05,_0xbe3f3e['end']));}}}}['_rangeIsInLocalUserInsertion'](_0x8d9979){for(const {suggestion:_0x9e529b,meta:_0x519093}of this['_findSuggestions'](_0x8d9979,'insertion')){if(!_0x519093['isOwn'])continue;const _0xc18ca9=_0x9e529b['getRanges']();for(const _0x2170eb of _0xc18ca9)if(!_0x8d9979['getDifference'](_0x2170eb)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x511c5b){return this['editor']['plugins']['get']('Users')['getUser'](_0x511c5b);}['_getExternalAuthor'](_0x4b12f8){const _0x31341d=this['editor']['plugins']['get']('Users'),_0x1340d8=_0x43a34a('external:'+_0x4b12f8),_0x5e7a4a=_0x31341d['getUser'](_0x1340d8);return _0x5e7a4a||_0x31341d['addUser']({'id':_0x1340d8,'name':_0x4b12f8});}['_createSuggestion'](_0x2f1aac,_0x249f9d,_0x27ac51,_0x4130b3,_0x5ece9f,_0x1cac61){const _0x4df2cb=this['_getAuthorFromId'](_0x4130b3);if(!_0x4df2cb)throw new _0x22b56d['CKEditorError']('track-changes-user-not-found',this,{'authorId':_0x4130b3,'suggestionId':_0x27ac51});const _0x3e8227=this['_suggestionFactory']['buildSuggestion'](_0x2f1aac,_0x249f9d,_0x27ac51,_0x4df2cb,_0x5ece9f,_0x1548b9=>{this['_updateSuggestionData'](_0x27ac51,{'attributes':_0x1548b9});const _0x26ebb9=this['getSuggestion'](_0x27ac51);this['_joinWithAdjacentSuggestions'](new Set([_0x26ebb9])),this['_refreshSuggestionsChain'](new Set([_0x26ebb9]));},_0x1cac61);return this['listenTo'](_0x3e8227,'accept',()=>{this['_updateSuggestionData'](_0x27ac51,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0x3e8227,'discard',()=>{this['_updateSuggestionData'](_0x27ac51,{'state':'rejected'});},{'priority':'high'}),this['_suggestions']['set'](_0x27ac51,_0x3e8227),this['_suggestionState']['set'](_0x3e8227,'notReady'),_0x3e8227;}['_splitMarkerName'](_0x4ee7b8){return _0x5d0d7f(_0x4ee7b8);}['_breakSuggestionMarker'](_0x5a2349,_0x3b687c,_0x481893){const _0x130353=_0x5a2349['getFirstRange'](),_0x38db39=_0x130353['start'],_0x50adc8=_0x130353['end'];this['_setSuggestionRange'](_0x5a2349,this['_model']['createRange'](_0x38db39,_0x3b687c));const _0x22eb45=_0x22b56d['uid'](),_0x5ada3b=_0x5a2349['creator']['id'],_0x167460=_0x5a2349['type']+(_0x5a2349['subType']?':'+_0x5a2349['subType']:'');this['_setSuggestionData']({'id':_0x22eb45,'type':_0x167460,'createdAt':new Date(),'authorId':_0x5ada3b,'originalSuggestionId':_0x5a2349['_originalSuggestionId']||_0x5a2349['id'],'attributes':_0x5a2349['attributes'],'data':_0x5a2349['data']});const _0x428242=this['_getAttributeKey'](_0x5a2349);('formatBlock'==_0x5a2349['type']||_0x428242&&this['_isBlockAttribute'](_0x428242))&&(_0x481893=this['_model']['createPositionBefore'](_0x481893['parent'])),this['_addSuggestionMarker'](_0x167460,_0x22eb45,_0x5ada3b,this['_model']['createRange'](_0x481893,_0x50adc8));}['_findSuggestions'](_0x172c4a,_0x2babe1=null){const _0x1af00f=[],_0xa60684=this['editor']['plugins']['get']('Users')['me'];Array['isArray'](_0x172c4a)||(_0x172c4a=[_0x172c4a]);for(const _0x5817ae of this['getSuggestions']()){if(!_0x5817ae['isInContent'])continue;if(_0x2babe1&&_0x5817ae['type']!=_0x2babe1)continue;let _0x3149ca=!0x1;for(const _0x28f8da of _0x5817ae['getRanges']()){for(const _0x30ad94 of _0x172c4a){const _0xd8d1ae=_0x30ad94['start']['isEqual'](_0x28f8da['end'])||_0x30ad94['end']['isEqual'](_0x28f8da['start']);if(_0xd8d1ae||_0x30ad94['getIntersection'](_0x28f8da)){const _0x282e0a=_0x30ad94['containsRange'](_0x28f8da)&&_0x59e75c(this['_model']['schema'],_0x28f8da['start'],_0x30ad94),_0x5aefb9=_0x28f8da['containsRange'](_0x30ad94)&&_0x59e75c(this['_model']['schema'],_0x30ad94['start'],_0x28f8da);_0x1af00f['push']({'suggestion':_0x5817ae,'meta':{'isOwn':_0xa60684==_0x5817ae['author'],'isNextTo':_0xd8d1ae,'isInsideObject':_0x282e0a,'containsRangeInObject':_0x5aefb9}}),_0x3149ca=!0x0;break;}}if(_0x3149ca)break;}}return _0x1af00f;}['_addSuggestionMarker'](_0x142754,_0x32dc6f,_0x2f71f5,_0x296541,_0x2a1f6a){this['_model']['change'](_0x42f7ce=>{let _0x3d4f93='suggestion:'+_0x142754+':'+_0x32dc6f+':'+_0x2f71f5;_0x2a1f6a&&(_0x3d4f93=_0x3d4f93+':'+_0x2a1f6a),_0x42f7ce['addMarker'](_0x3d4f93,{'range':_0x296541,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0x14a745){const _0xf0683d=_0x14a745['previous'],_0x187fd8=_0x14a745['next'];_0x14a745['previous']=null,_0x14a745['next']=null,null!=_0xf0683d&&_0xf0683d['next']==_0x14a745&&(_0xf0683d['next']=_0x187fd8),null!=_0x187fd8&&_0x187fd8['previous']==_0x14a745&&(_0x187fd8['previous']=_0xf0683d),'ready'==this['_suggestionState']['get'](_0x14a745)&&(this['_suggestionState']['set'](_0x14a745,'removed'),this['fire']('suggestionUnloaded',_0x14a745,_0xf0683d,_0x187fd8));}['_setSuggestionData'](_0x2bc26d){const _0x52aac2=_0x2bc26d['id'],_0x3eb1e7=this['addSuggestionData'](_0x2bc26d);if(this['_adapter']&&this['_adapter']['addSuggestion']){const _0x527e6e=this['editor']['plugins']['get']('PendingActions'),_0x2da745=_0x3eb1e7['hasComments'],_0x30c52f=_0x3eb1e7['subType']?_0x3eb1e7['type']+':'+_0x3eb1e7['subType']:_0x3eb1e7['type'],_0xd7b76e=this['editor']['locale'],_0x2518c9=_0x527e6e['add'](tx(_0xd7b76e,'PENDING_ACTION_SUGGESTION')),_0x215534={'id':_0x52aac2,'type':_0x30c52f,'hasComments':_0x2da745,'data':_0x2bc26d['data']||null,'originalSuggestionId':_0x2bc26d['originalSuggestionId']||null,'attributes':_0x3eb1e7['attributes']};this['_adapter']['addSuggestion'](_0x215534)['then'](_0x11e20f=>{_0x3eb1e7['_saved']=!0x0,_0x527e6e['remove'](_0x2518c9),_0x11e20f&&_0x11e20f['createdAt']&&(this['_suggestions']['get'](_0x52aac2)['createdAt']=_0x11e20f['createdAt']);})['catch'](_0x48f284=>{throw _0x22b56d['logWarning']('error-saving-suggestion-data-suggestion-discarded'),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x3eb1e7['discard']();}),_0x3eb1e7['stopListening'](),this['_suggestions']['delete'](_0x3eb1e7['id']),this['_suggestionState']['delete'](_0x3eb1e7),_0x48f284;});}return _0x3eb1e7;}['_isBlockAttribute'](_0x17bd9c){return this['editor']['plugins']['get'](SuggestionsConversion)['isBlockAttribute'](_0x17bd9c);}['_isInlineAttribute'](_0x349340){return this['editor']['plugins']['get'](SuggestionsConversion)['isInlineAttribute'](_0x349340);}['_updateSuggestionData'](_0x629d9c,_0x4fb77a){const _0xe6a95b=this['editor']['plugins']['get']('PendingActions'),_0x24c17f=this['getSuggestion'](_0x629d9c);if(this['_adapter']&&this['_adapter']['updateSuggestion']){if(_0x24c17f['_saved']){const _0x240eba=_0xe6a95b['add'](tx(this['editor']['locale'],'PENDING_ACTION_SUGGESTION'));this['_adapter']['updateSuggestion'](_0x629d9c,_0x4fb77a)['then'](()=>{_0xe6a95b['remove'](_0x240eba);});}else _0x24c17f['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x629d9c,_0x4fb77a);});}}['_getSuggestionData'](_0xc47734){if(!this['_adapter']||!this['_adapter']['getSuggestion'])throw new _0x22b56d['CKEditorError']('track-changes-adapter-missing-getsuggestion',this);return this['_adapter']['getSuggestion'](_0xc47734);}['_handleNewSuggestionMarker'](_0x51c935){const {id:_0x278b37,type:_0x28fa6d,subType:_0x1f5503,authorId:_0x4dc6f6}=this['_splitMarkerName'](_0x51c935),_0x1d62f0=this['_suggestions']['get'](_0x278b37)||this['_createSuggestion'](_0x28fa6d,_0x1f5503,_0x278b37,_0x4dc6f6,{});switch(this['_checkSuggestionCorrectness'](_0x1d62f0,_0x28fa6d,_0x1f5503,_0x4dc6f6),this['_suggestionState']['get'](_0x1d62f0)){case'notReady':this['_getSuggestionData'](_0x278b37)['then'](_0x2c3ee7=>{let _0x515497=Promise['resolve']();_0x2c3ee7['hasComments']&&(_0x515497=this['_commentsRepository']['fetchCommentThread']({'channelId':this['editor']['config']['get']('collaboration.channelId'),'threadId':_0x278b37})),_0x515497['then'](()=>{this['addSuggestionData'](_0x2c3ee7)['_saved']=!0x0;});}),this['_suggestionState']['set'](_0x1d62f0,'markerReady');break;case'removed':this['_updateSuggestionData'](_0x278b37,{'state':'open'});case'dataReady':this['_suggestionState']['set'](_0x1d62f0,'ready'),this['fire']('suggestionLoaded',_0x1d62f0);break;case'ready':this['fire']('suggestionChanged',_0x1d62f0);}return _0x1d62f0['addMarkerName'](_0x51c935),_0x1d62f0;}['_refreshSuggestionsChain'](_0x9fdb22){const _0x268b7b=Array['from'](_0x9fdb22),_0x2ec613=_0x268b7b['filter'](_0x4b75ee=>'attribute'==_0x4b75ee['type']);this['_refreshAttributeSuggestionsChain'](_0x2ec613);const _0x5e924a=_0x268b7b['filter'](_0x29eb30=>!_0x29eb30['isMultiRange']&&'attribute'!=_0x29eb30['type']),_0x5bf724=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x16c594=>!_0x16c594['isMultiRange']&&'attribute'!=_0x16c594['type']),_0x5b52b6=_0x5bf724['filter'](_0x438c31=>!_0x9fdb22['has'](_0x438c31)),_0x12aa95=new Map(_0x5bf724['map'](_0x129ca2=>[_0x129ca2,this['_suggestionFactory']['getSuggestionCallback'](_0x129ca2['type'],_0x129ca2['subType'],'chain')])),_0x3ada50=new Map(_0x5bf724['map'](_0x6fd6d3=>[_0x6fd6d3,_0x6fd6d3['getFirstRange']()])),_0x1f94f0=new Set(),_0x2aef83=new Set();for(let _0xee42b4=0x0;_0xee42b4<_0x5e924a['length'];_0xee42b4++)_0x43e7e8(_0x5e924a[_0xee42b4],_0x5e924a,_0xee42b4+0x1);for(let _0x2af852=0x0;_0x2af852<_0x5e924a['length'];_0x2af852++)_0x43e7e8(_0x5e924a[_0x2af852],_0x5b52b6,0x0);const _0x3c24b9=new Set();for(let _0x1fd347=0x0;_0x1fd347<_0x5e924a['length'];_0x1fd347++){const _0x195d12=_0x5e924a[_0x1fd347];!_0x2aef83['has'](_0x195d12)&&_0x195d12['previous']&&(_0x3c24b9['add'](_0x195d12['previous']),_0x195d12['previous']['next']===_0x195d12&&(_0x195d12['previous']['next']=null),_0x195d12['previous']=null),!_0x1f94f0['has'](_0x195d12)&&_0x195d12['next']&&(_0x3c24b9['add'](_0x195d12['next']),_0x195d12['next']['previous']===_0x195d12&&(_0x195d12['next']['previous']=null),_0x195d12['next']=null);}function _0x43e7e8(_0x43c11c,_0x1886ea,_0x3c66f9){for(let _0x26b607=_0x3c66f9;_0x26b607<_0x1886ea['length'];_0x26b607++){const _0x4ada5c=_0x576151(_0x43c11c,_0x1886ea[_0x26b607]);_0x4ada5c&&(_0x4ada5c[0x0]['next']=_0x4ada5c[0x1],_0x4ada5c[0x1]['previous']=_0x4ada5c[0x0],_0x1f94f0['add'](_0x4ada5c[0x0]),_0x2aef83['add'](_0x4ada5c[0x1]));}}function _0x576151(_0x5a0677,_0x43606c){if(_0x5a0677['author']['id']!==_0x43606c['author']['id'])return null;const _0x2f271c=_0x12aa95['get'](_0x5a0677)(_0x5a0677,_0x43606c,_0x3ada50['get'](_0x5a0677),_0x3ada50['get'](_0x43606c));if(!_0x2f271c)return null;return _0x12aa95['get'](_0x43606c)(_0x5a0677,_0x43606c,_0x3ada50['get'](_0x5a0677),_0x3ada50['get'](_0x43606c))?_0x2f271c[0x1]['commentThread']&&_0x2f271c[0x1]['commentThread']['length']?null:_0x2f271c:null;}_0x3c24b9['size']&&this['_refreshSuggestionsChain'](_0x3c24b9);}['_refreshAttributeSuggestionsChain'](_0x5171b3){if(0x0==_0x5171b3['length'])return;const _0x384195=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x253d16=>'attribute'==_0x253d16['type']&&_0x253d16['_isDataLoaded']),_0x3baaa1=[],_0x23cca7=new Map();for(const _0x594e96 of _0x384195){const _0x313c4d=_0x43a34a(_0x594e96['attributes']);_0x23cca7['has'](_0x313c4d)||(_0x23cca7['set'](_0x313c4d,_0x3baaa1['length']),_0x3baaa1['push']([]));const _0x140277=_0x23cca7['get'](_0x313c4d);_0x3baaa1[_0x140277]['push'](_0x594e96);}!(function(){_0x3baaa1['sort']((_0x1f8b08,_0x2b576e)=>{const _0x2e3fbd=_0x1f8b08[0x0]['createdAt'],_0x2dbf62=_0x2b576e[0x0]['createdAt'];return _0x2e3fbd==_0x2dbf62?_0x1f8b08[0x0]['attributes']['groupId']<_0x2b576e[0x0]['attributes']['groupId']?-0x1:0x1:_0x2e3fbd<_0x2dbf62?-0x1:0x1;});for(const _0x4d4646 of _0x3baaa1)_0x4d4646['sort']((_0x586130,_0x4bac77)=>_0x586130['id']<_0x4bac77['id']?-0x1:0x1);}());for(let _0x8790a9=0x0;_0x8790a9<_0x3baaa1['length'];_0x8790a9++){if(0x0==_0x3baaa1[_0x8790a9]['length'])continue;const _0x55574e=[];for(let _0x5d4a1c=_0x8790a9+0x1;_0x5d4a1c<_0x3baaa1['length'];_0x5d4a1c++)0x0!=_0x3baaa1[_0x5d4a1c]['length']&&_0x495123(_0x3baaa1[_0x8790a9],_0x3baaa1[_0x5d4a1c])&&_0x55574e['push'](_0x5d4a1c);for(const _0x4be9bf of _0x55574e)_0x3baaa1[_0x8790a9]=_0x3baaa1[_0x8790a9]['concat'](_0x3baaa1[_0x4be9bf]),_0x3baaa1[_0x4be9bf]=[];}for(const _0x2919ab of _0x3baaa1)for(let _0x4b787d=0x0;_0x4b787d<_0x2919ab['length'];_0x4b787d++){const _0x53aa9f=_0x2919ab[_0x4b787d+0x1]||null;_0x2919ab[_0x4b787d]['next']!==_0x53aa9f&&(_0x2919ab[_0x4b787d]['next']=_0x53aa9f);}for(const _0x1b8392 of _0x3baaa1)for(let _0x573746=0x0;_0x573746<_0x1b8392['length'];_0x573746++){const _0x16ada2=_0x1b8392[_0x573746-0x1]||null;_0x1b8392[_0x573746]['previous']!==_0x16ada2&&(_0x1b8392[_0x573746]['previous']=_0x16ada2);}function _0x495123(_0x49e711,_0xc526dc){if(_0x49e711[0x0]['attributes']['groupId']!==_0xc526dc[0x0]['attributes']['groupId']&&_0x49e711[0x0]['author']!==_0xc526dc[0x0]['author'])return!0x1;if(!function(_0x201827,_0x554de2){if(!_0x201827['hasComments']&&!_0x554de2['hasComments'])return!0x0;if(_0x201827['hasComments']&&_0x554de2['hasComments'])return!0x1;if(_0x201827['hasComments']&&_0x554de2['createdAt']<_0x201827['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;if(_0x554de2['hasComments']&&_0x201827['createdAt']<_0x554de2['commentThread']['comments']['get'](0x0)['createdAt'])return!0x0;return!0x1;}(_0x49e711[0x0],_0xc526dc[0x0]))return!0x1;if(!dt(ft(_0x49e711[0x0]['attributes'],['groupId','trackingSessionId']),ft(_0xc526dc[0x0]['attributes'],['groupId','trackingSessionId'])))return!0x1;if(_0x49e711[0x0]['attributes']['groupId']==_0xc526dc[0x0]['attributes']['groupId'])return!0x0;if(_0x49e711[0x0]['attributes']['trackingSessionId']!==_0xc526dc[0x0]['attributes']['trackingSessionId'])return!0x1;return!!_0x49e711['every'](_0x479430=>_0xc526dc['some'](_0x3af4d9=>_0x479430['getFirstRange']()['isEqual'](_0x3af4d9['getFirstRange']())))&&_0xc526dc['every'](_0x682ee7=>_0x49e711['some'](_0x2ccfe4=>_0x682ee7['getFirstRange']()['isEqual'](_0x2ccfe4['getFirstRange']())));}}['_joinWithAdjacentSuggestions'](_0x54b222){const _0x32d2cc=Array['from'](_0x54b222),_0x21e577=this['getSuggestions']({'skipNotAttached':!0x0}),_0x3b1aae=_0x21e577['filter'](_0x3a2a78=>!_0x54b222['has'](_0x3a2a78)),_0x45c0f7=new Map(_0x32d2cc['map'](_0x43c5c9=>[_0x43c5c9,this['_suggestionFactory']['getSuggestionCallback'](_0x43c5c9['type'],_0x43c5c9['subType'],'join')])),_0xfac731=new Map(_0x21e577['map'](_0x4d7c70=>[_0x4d7c70,_0x4d7c70['getRanges']()]));for(let _0x1b8c62=0x0;_0x1b8c62<_0x32d2cc['length'];_0x1b8c62++){if(_0x156369(this,_0x32d2cc[_0x1b8c62],_0x32d2cc,_0x1b8c62+0x1))return!0x0;}for(let _0xc05fc0=0x0;_0xc05fc0<_0x32d2cc['length'];_0xc05fc0++){if(_0x156369(this,_0x32d2cc[_0xc05fc0],_0x3b1aae,0x0))return!0x0;}return!0x1;function _0x156369(_0x24d265,_0x420058,_0x135e02,_0x51edd6){for(let _0x1a057a=_0x51edd6;_0x1a057a<_0x135e02['length'];_0x1a057a++){const _0x2b850c=_0x135e02[_0x1a057a];if(_0x2b850c['type']!==_0x420058['type']||_0x2b850c['author']['id']!==_0x420058['author']['id']||_0x2b850c['subType']!==_0x420058['subType'])continue;if(!_0x4940aa(_0x420058,_0x2b850c))continue;if('attribute'==_0x420058['type']&&_0x420058['data']['oldValue']!=_0x2b850c['data']['oldValue'])continue;if('attribute'==_0x420058['type']&&_0x24d265['_isBlockAttribute'](_0x420058['data']['key']))continue;if('formatBlock'==_0x420058['type']){const _0x522399=_0x24d265['editor']['model'],_0x5ebd7e=_0x420058['getContainedElement']();if(_0x5ebd7e&&(_0x522399['schema']['isObject'](_0x5ebd7e)||_0x522399['schema']['isLimit'](_0x5ebd7e)))continue;}const _0x458259=_0x45c0f7['get'](_0x420058),_0xf1bd7a=_0xfac731['get'](_0x420058),_0x32a97e=_0xfac731['get'](_0x2b850c),_0x5dbba1=_0x420058['commentThread']&&_0x420058['commentThread']['length'],_0x2f9c0e=_0x2b850c['commentThread']&&_0x2b850c['commentThread']['length'];if(!_0x5dbba1&&_0x458259(_0x32a97e,_0xf1bd7a))return _0x24d265['_joinSuggestions'](_0x2b850c,_0x420058),_0xfac731['delete'](_0x420058),!0x0;if(!_0x2f9c0e&&_0x458259(_0xf1bd7a,_0x32a97e))return _0x24d265['_joinSuggestions'](_0x420058,_0x2b850c),_0xfac731['delete'](_0x2b850c),!0x0;}return!0x1;}}['_joinSuggestions'](_0x5113ee,_0x33f102){if(_0x5113ee['isMultiRange']){for(const _0x1bcf80 of _0x33f102['getRanges']())_0x5113ee['addRange'](_0x1bcf80);}else{const _0x39151a=_0x33f102['getFirstRange']()['end'];this['_setSuggestionRange'](_0x5113ee,this['_model']['createRange'](_0x5113ee['getFirstRange']()['start'],_0x39151a));}_0x33f102['removeMarkers']();}['_getMarkerAnnouncementText'](_0xc1a97a,_0x3a6be7,_0x26698a){const _0x3e8b17=_0xc1a97a['startsWith']('format')||_0xc1a97a['startsWith']('attribute')?'FORMATTING':_0xc1a97a['toUpperCase']();return tx(this['editor']['locale'],_0x3a6be7+'_'+_0x3e8b17+'_SUGGESTION_ANNOUNCEMENT',_0x26698a);}['_initAriaMarkerChangeAnnouncements'](){const _0xd873b5=this['editor'];if(!_0xd873b5['ui'])return;const {ariaLiveAnnouncer:_0xd0bf40}=_0xd873b5['ui'];_0x5588b7(this['_model'],({left:_0x315d43,entered:_0x444adb})=>{for(const _0x17b3bf of _0x315d43){const {group:_0x27d474,type:_0x46e554}=this['_splitMarkerName'](_0x17b3bf['name']);if('suggestion'===_0x27d474){_0xd0bf40['announce'](this['_getMarkerAnnouncementText'](_0x46e554,'LEAVE'));break;}}for(const _0x325407 of _0x444adb){const {group:_0xe11fa3,type:_0x3c5a52}=this['_splitMarkerName'](_0x325407['name']);if('suggestion'===_0xe11fa3){_0xd0bf40['announce'](this['_getMarkerAnnouncementText'](_0x3c5a52,'ENTER',_0x22b56d['getEnvKeystrokeText'](_0x463f07)));break;}}});}['_processAttributeChanges'](_0x3a689b){if(this['_recordAttributeSuggestions'])return!0x1;const _0x28979e=this['editor'],_0x15d38f=_0x28979e['model']['document']['differ']['getChanges']();if(0x0==_0x15d38f['length'])return!0x1;const _0x233ea6=[],_0x47da0c=_0x15d38f['filter'](_0x11cbb0=>'attribute'==_0x11cbb0['type']),_0x4cb343=_0x15d38f['filter'](_0x5ac522=>'insert'==_0x5ac522['type']&&'$text'!=_0x5ac522['name']),_0x425ec2=_0x15d38f['filter'](_0x1cabf6=>'remove'==_0x1cabf6['type']&&'$text'!=_0x1cabf6['name']);for(const _0x11c9c4 of _0x47da0c)_0x233ea6['push']({'key':_0x11c9c4['attributeKey'],'newValue':_0x11c9c4['attributeNewValue'],'oldValue':_0x11c9c4['attributeOldValue'],'range':_0xef2ccb(_0x11c9c4['range'],_0x28979e['model'])});for(const _0x141b9a of _0x4cb343){const _0x33ac24=_0x425ec2['find'](_0xf7283b=>_0xf7283b['position']['isEqual'](_0x141b9a['position']));_0x33ac24&&_0x233ea6['push']({'key':_0x3f217c,'newValue':_0x141b9a['name'],'oldValue':_0x33ac24['name'],'range':_0x28979e['model']['createRangeOn'](_0x141b9a['position']['nodeAfter'])});}return 0x0!=_0x233ea6['length']&&this['_reduceExistingSuggestions'](_0x3a689b,_0x233ea6);}['_processAttributeSuggestions'](_0x389b89){let _0x4c7e4c=!0x1;const _0x3f30c2=this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x2ed518=>_0x2ed518['data']['newRange']&&_0x2ed518['name']['startsWith']('suggestion:attribute:'));for(const _0x587289 of _0x3f30c2){const {subType:_0x4f5fb4,id:_0x42e3a8}=this['_splitMarkerName'](_0x587289['name']),_0x67058d=_0x4f5fb4['split']('|')[0x0];for(const _0x4f938e of this['getSuggestions']({'skipNotAttached':!0x0}))_0x4f938e['id']!=_0x42e3a8&&'attribute'==_0x4f938e['type']&&_0x4f938e['data']&&_0x4f938e['data']['key']==_0x67058d&&_0x4f938e['getFirstRange']()['isIntersecting'](_0x587289['data']['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x4f938e,_0x587289['data']['newRange'],_0x389b89),_0x4c7e4c=!0x0);}return _0x4c7e4c;}['recordAttributeChanges'](_0x2523c1){this['_recordAttributeSuggestions']=!0x0,_0x2523c1();}['_isRegisteredAttribute'](_0x4112fa){return this['editor']['plugins']['get'](SuggestionsConversion)['isRegisteredAttribute'](_0x4112fa);}['_reduceExistingSuggestions'](_0xd3c9c,_0x4df0e4){if(0x0==_0x4df0e4['length'])return!0x1;let _0x5d1043=!0x1;for(const _0x563ba0 of _0x4df0e4){const _0x5a9d8a=this['_findSuggestions'](_0x563ba0['range'],'attribute')['filter'](_0x4b0d9c=>!_0x4b0d9c['meta']['isNextTo'])['map'](_0x3adf45=>_0x3adf45['suggestion']),_0x54b01d=_0x43a34a({'newValue':_0x563ba0['newValue']});_0x5a9d8a['filter'](_0x548822=>{const [_0x3effee,_0x394964]=_0x548822['subType']['split']('|');return _0x3effee==_0x563ba0['key']&&_0x394964!=_0x54b01d;})['forEach'](_0x289095=>{this['_reduceSuggestionAttributeRange'](_0x289095,_0x563ba0['range'],_0xd3c9c),_0x5d1043=!0x0;});}return _0x5d1043;}['_reduceSuggestionAttributeRange'](_0x42bbb5,_0x4491a7,_0x55249f){const _0x2b7954=_0x42bbb5['getFirstRange']()['getDifference'](_0x4491a7);0x0!==_0x2b7954['length']?0x1!==_0x2b7954['length']?this['_breakSuggestionMarker'](_0x42bbb5,_0x4491a7['start'],_0x4491a7['end']):this['_setSuggestionRange'](_0x42bbb5,_0x2b7954[0x0]):_0x55249f['removeMarker'](_0x42bbb5['getFirstMarker']());}}class SuggestionFactory{['_editor'];['_model'];['_customCallbacks'];['_defaultCallbacks'];constructor(_0x280e67){this['_editor']=_0x280e67,this['_model']=_0x280e67['model'],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0xf8437e,_0x177059,_0x278291,_0x1b8ed1,_0x3b5048,_0x2b3d8c,_0x286567){return new Suggestion(this['_model'],{'type':_0xf8437e,'subType':_0x177059,'id':_0x278291,'originalSuggestionId':_0x286567,'author':_0x1b8ed1,'creator':_0x1b8ed1,'attributes':_0x3b5048,'onAttributesChange':_0x2b3d8c,'onAccept':(..._0x331d61)=>this['getSuggestionCallback'](_0xf8437e,_0x177059,'accept')(..._0x331d61),'onDiscard':(..._0x5243c0)=>this['getSuggestionCallback'](_0xf8437e,_0x177059,'discard')(..._0x5243c0)});}['registerCustomCallback'](_0x5aac48,_0x3dfd69,_0x328878,_0x45dea9){const _0x2a36b3=_0x5aac48+':'+_0x3dfd69+':'+_0x328878;this['_customCallbacks']['set'](_0x2a36b3,_0x45dea9);}['getSuggestionCallback'](_0x4bb449,_0x5a033b,_0xb9cc59){const _0x4d0e59=_0x4bb449+':'+_0x5a033b+':'+_0xb9cc59;return this['_customCallbacks']['get'](_0x4d0e59)||this['_defaultCallbacks']['get'](_0x4bb449+':'+_0xb9cc59);}['_registerDefaultCallbacks'](){const _0x665de0=()=>!0x1,_0x5b896f=_0x41e682=>{_0x41e682['sort']((_0x1ade38,_0x288863)=>_0x1ade38['start']['isBefore'](_0x288863['start'])?0x1:-0x1),this['_model']['change'](_0x1e5975=>{for(const _0x2cfd79 of _0x41e682){let _0x123aeb;_0x123aeb=_0x2cfd79['end']['isAtEnd']&&_0x2cfd79['end']['parent']==_0x2cfd79['start']['nodeAfter']?_0x1e5975['createSelection'](_0x2cfd79['start']['nodeAfter'],'on'):_0x1e5975['createSelection'](_0x2cfd79),this['_model']['deleteContent'](_0x123aeb,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0,'doNotFixSelection':!0x0});}});},_0x12e71f=(_0x140346,_0x3ef601)=>{_0x3ef601&&this['_model']['change'](_0x1746b8=>{const {commandName:_0x3da187,commandParams:_0x54d751=[]}=_0x3ef601,_0x5069b2=_0x140346['map'](_0x3148db=>(_0x7b683b(_0x3148db)&&(_0x3148db=this['_model']['createRange'](_0x3148db['end'])),_0x3148db))['filter'](_0x1f7ac6=>'$graveyard'!==_0x1f7ac6['root']['rootName']);if(_0x5069b2['length']<0x1)return;const _0x19ce1d=Array['from'](this['_model']['document']['selection']['getRanges']())['map'](_0x45b862=>_0x22b56d['ModelLiveRange']['fromRange'](_0x45b862));_0x1746b8['setSelection'](_0x5069b2);for(const _0x2496ed of this['_editor']['commands']['commands']())_0x2496ed['refresh']();_0x54d751['push']({'forceDefaultExecution':!0x0}),this['_editor']['execute'](_0x3da187,..._0x54d751);const _0xa6b2b5=_0x19ce1d['filter'](_0x5c9e9f=>'$graveyard'!=_0x5c9e9f['root']['rootName']);_0xa6b2b5['length']>0x0&&_0x1746b8['setSelection'](_0xa6b2b5);for(const _0x442633 of _0x19ce1d)_0x442633['detach']();});},_0x14758f=(_0x4551ed,_0x29c67d)=>0x1==_0x4551ed['length']&&0x1==_0x29c67d['length']&&_0x4551ed[0x0]['end']['isEqual'](_0x29c67d[0x0]['start']),_0x1eb5b1=(_0x1c7d59,_0x4b4cf4,_0x4a9b05,_0x3cdebc)=>_0x45f71b(_0x1c7d59,_0x4b4cf4,_0x4a9b05,_0x3cdebc)?[_0x1c7d59,_0x4b4cf4]:_0x45f71b(_0x4b4cf4,_0x1c7d59,_0x3cdebc,_0x4a9b05)?[_0x4b4cf4,_0x1c7d59]:null;this['_defaultCallbacks']['set']('insertion:accept',_0x665de0),this['_defaultCallbacks']['set']('insertion:discard',_0x5b896f),this['_defaultCallbacks']['set']('insertion:join',_0x14758f),this['_defaultCallbacks']['set']('insertion:chain',_0x1eb5b1),this['_defaultCallbacks']['set']('deletion:accept',_0x5b896f),this['_defaultCallbacks']['set']('deletion:discard',_0x665de0),this['_defaultCallbacks']['set']('deletion:join',_0x14758f),this['_defaultCallbacks']['set']('deletion:chain',_0x1eb5b1),this['_defaultCallbacks']['set']('formatInline:accept',_0x12e71f),this['_defaultCallbacks']['set']('formatInline:discard',_0x665de0),this['_defaultCallbacks']['set']('formatInline:join',_0x14758f),this['_defaultCallbacks']['set']('formatInline:chain',_0x665de0),this['_defaultCallbacks']['set']('formatBlock:accept',_0x12e71f),this['_defaultCallbacks']['set']('formatBlock:discard',_0x665de0),this['_defaultCallbacks']['set']('formatBlock:join',_0x14758f),this['_defaultCallbacks']['set']('formatBlock:chain',_0x665de0),this['_defaultCallbacks']['set']('attribute:accept',_0x665de0),this['_defaultCallbacks']['set']('attribute:discard',(_0x3951f5,_0x313cfd)=>{if(!_0x313cfd)return;const _0x19b7e9=this['_editor']['plugins']['get'](TrackChangesEditing);this['_model']['change'](_0xc55fbc=>{if(_0x313cfd['key']==_0x3f217c)for(const _0x40bf1b of _0x3951f5){const _0x5d7e7a=_0x40bf1b['start']['nodeAfter'],_0x2280a4=_0x313cfd['oldValue'];_0xc55fbc['rename'](_0x5d7e7a,_0x2280a4);}else{if(_0x19b7e9['_isBlockAttribute'](_0x313cfd['key'])){for(const _0x473cb8 of _0x3951f5)void 0x0!==_0x313cfd['oldValue']?_0xc55fbc['setAttribute'](_0x313cfd['key'],_0x313cfd['oldValue'],_0x473cb8['start']['nodeAfter']):_0xc55fbc['removeAttribute'](_0x313cfd['key'],_0x473cb8['start']['nodeAfter']);}else{for(const _0x47efa3 of _0x3951f5)_0x313cfd['oldValue']?_0xc55fbc['setAttribute'](_0x313cfd['key'],_0x313cfd['oldValue'],_0x47efa3):_0xc55fbc['removeAttribute'](_0x313cfd['key'],_0x47efa3);}}});}),this['_defaultCallbacks']['set']('attribute:join',_0x14758f);}}function _0x59e75c(_0xbf3164,_0x1ee605,_0x5ccab2){for(const _0x472763 of _0x1ee605['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x472763['root']==_0x472763)return!0x1;if(!_0x5ccab2['containsItem'](_0x472763))return!0x1;if(_0xbf3164['isObject'](_0x472763)||_0xbf3164['isLimit'](_0x472763))return!0x0;}return!0x1;}function _0x7b683b(_0x354f76){return _0x354f76['end']['parent']==_0x354f76['start']['nodeAfter']&&_0x354f76['end']['isAtStart'];}function _0x1b653f(_0x526f57,_0x4efc41,_0x5aa6a9,_0x26795d){const _0x2d8960=_0x1875b4=>!_0x1875b4['item']['is']('$textProxy')&&!_0x26795d['isObject'](_0x1875b4['item']),_0x5ad1d0=_0x526f57['start']['getLastMatchingPosition'](_0x2d8960),_0x2b9754=_0x526f57['end']['getLastMatchingPosition'](_0x2d8960,{'direction':'backward'});return(!_0x526f57['start']['isEqual'](_0x5ad1d0)||!_0x526f57['end']['isEqual'](_0x2b9754))&&(_0x5ad1d0['isBefore'](_0x2b9754)?_0x5aa6a9['updateMarker'](_0x4efc41,{'range':_0x5aa6a9['createRange'](_0x5ad1d0,_0x2b9754)}):_0x5aa6a9['removeMarker'](_0x4efc41),!0x0);}function _0x45bfbd(_0x2b09e0){return _0x43a34a(_0x2b09e0);}function _0x25a656(_0x2b4494){const _0x5dbcd8=_0x2b4494['start']['nodeAfter'];return _0x5dbcd8&&_0x5dbcd8['is']('element');}function _0x30dc33(_0x33437b){return _0x7b683b(_0x33437b)||function(_0x915e19){return _0x915e19['start']['parent']==_0x915e19['end']['nodeBefore']&&_0x915e19['start']['isAtEnd'];}(_0x33437b);}function _0x5f38dd(_0x53a36f,_0x199662){try{const _0x53c853=_0x53a36f['getRange']();for(const _0x4081d1 of _0x199662)if(_0x53a36f!==_0x4081d1&&_0x53c853&&_0x53c853['isIntersecting'](_0x4081d1['getRange']()))return!0x0;return!0x1;}catch{return!0x1;}}function _0xef2ccb(_0x38e3a,_0x5966ea){return null==_0x38e3a['end']['nodeBefore']&&_0x38e3a['end']['parent']==_0x38e3a['start']['nodeAfter']?_0x5ef04c(_0x38e3a['start']['nodeAfter'],_0x5966ea):_0x38e3a;}function _0x5ef04c(_0x2f9298,_0x1ce3db){const _0x5bc219=_0x1ce3db['schema']['isObject'](_0x2f9298)||_0x1ce3db['schema']['isSelectable'](_0x2f9298);return _0x1ce3db['createRange'](_0x1ce3db['createPositionAt'](_0x2f9298,'before'),_0x5bc219?_0x1ce3db['createPositionAfter'](_0x2f9298):_0x1ce3db['createPositionAt'](_0x2f9298,'end'));}function _0x45f71b(_0x3f8cf6,_0xd696d6,_0x1f8c80,_0x4c12e5){return!!_0x4940aa(_0x3f8cf6,_0xd696d6)&&_0x1f8c80['end']['isEqual'](_0x4c12e5['start']);}function _0x4940aa(_0x45ff3e,_0x5ba8f6){if(!_0x45ff3e['_isDataLoaded']||!_0x5ba8f6['_isDataLoaded'])return!0x1;const _0x3d78f5=new Set(Object['keys'](_0x45ff3e['attributes'])),_0x6c652f=new Set(Object['keys'](_0x5ba8f6['attributes']));if(_0x3d78f5['delete']('groupId'),_0x6c652f['delete']('groupId'),0x0==_0x3d78f5['size']&&0x0==_0x6c652f['size'])return!0x0;if(_0x3d78f5['size']!=_0x6c652f['size'])return!0x1;const _0x313ac9={..._0x45ff3e['attributes']},_0x3df3c3={..._0x5ba8f6['attributes']};return delete _0x313ac9['groupId'],delete _0x3df3c3['groupId'],JSON['stringify'](_0x313ac9)==JSON['stringify'](_0x3df3c3);}function _0x316c6e(_0x1c7feb,_0x1cd0a6){const _0x64c90a=_0x1c0402(_0x1c7feb['attributes']),_0x24f12c=_0x1c0402(_0x1cd0a6);if(!_0x1c7feb['_isDataLoaded'])return!0x1;for(const _0x8b7a06 of Object['keys'](_0x24f12c))if(!dt(_0x64c90a[_0x8b7a06],_0x24f12c[_0x8b7a06]))return!0x1;return!0x0;}function _0x1c0402(_0x2fbc63){const _0xb0d0b7=Object['assign']({},_0x2fbc63);return delete _0xb0d0b7['skipNestingCheck'],delete _0xb0d0b7['tablePasteChainId'],_0xb0d0b7;}class SuggestionController extends/* #__PURE__ -- @preserve */
_0x22b56d['ObservableMixin'](){['model'];['view'];['commentThreadController'];['_editor'];['_acceptCommand'];['_discardCommand'];['_pendingAction'];constructor(_0x358405,_0x5add0d,_0x5a2dc9,_0x3e8960){super(),this['model']=_0x5add0d,this['view']=_0x5a2dc9,this['commentThreadController']=_0x3e8960,this['_editor']=_0x358405,this['_acceptCommand']=_0x358405['commands']['get']('acceptSuggestion'),this['_discardCommand']=_0x358405['commands']['get']('discardSuggestion'),this['view']['bind']('isEnabled')['to'](this['_acceptCommand'],this['_discardCommand'],(_0x4ca32b,_0x7eb7b5)=>_0x4ca32b||_0x7eb7b5),this['view']['bind']('canAccept')['to'](this['_acceptCommand'],'isEnabled',_0x31cae5=>_0x31cae5&&this['_editor']['model']['canEditAt'](_0x5add0d['getRanges']())),this['view']['bind']('canDiscard')['to'](this['_discardCommand'],'isEnabled',_0x40dc81=>_0x40dc81&&this['_editor']['model']['canEditAt'](_0x5add0d['getRanges']())),this['_pendingAction']=null,_0x5a2dc9['isDirty']&&this['_setPendingAction'](),this['listenTo'](_0x5a2dc9,'acceptSuggestion',()=>this['acceptSuggestion']()),this['listenTo'](_0x5a2dc9,'discardSuggestion',()=>this['discardSuggestion']()),this['listenTo'](_0x5a2dc9,'change:isDirty',()=>{_0x5a2dc9['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 _0x2b8892=tx(this['_editor']['locale'],'PENDING_ACTION_SUGGESTION');this['_pendingAction']=this['_editor']['plugins']['get']('PendingActions')['add'](_0x2b8892);}['_removePendingAction'](){null!==this['_pendingAction']&&this['_editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null;}}class BaseSuggestionThreadView extends _0x22b56d['View']{['commentsListView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_localUser'];['_config'];constructor(_0x1e0ed1,_0x38d981,_0x4272ce,_0x50ad5d){super(_0x1e0ed1),this['commentsListView']=null,this['commentThreadInputView']=null,this['ariaDescriptionView']=new AriaDescriptionView(_0x1e0ed1,tx(_0x1e0ed1,'SUGGESTION_THREAD_DESCRIPTION')),this['set']('isActive',!0x1),this['set']('authoredAt',_0x38d981['authoredAt']),this['bind']('authoredAt')['to'](_0x38d981),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',_0x38d981,'authoredAt',this,'descriptionParts',(_0x292bd4,_0x4dbdd3,_0x26e46e)=>{const _0x4ca201=_0x26e46e['map'](_0x326877=>_0x1c352e(_0x326877['content']))['join']('.\x20')+'.';return tx(this['locale'],'SUGGESTION_THREAD_ARIA_LABEL',[_0x292bd4-0x1,_0x38d981['author']['name'],_0x4dbdd3?_0x50ad5d['formatDateTime'](_0x4dbdd3):'',new DOMParser()['parseFromString'](_0x4ca201,'text/html')['body']['textContent']]);}),this['focusables']=new _0x22b56d['ViewCollection'](),this['focusTracker']=new _0x22b56d['FocusTracker'](),this['keystrokes']=new _0x22b56d['KeystrokeHandler'](),this['focusCycler']=new _0x22b56d['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x389f3e=>_0x389f3e['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['_model']=_0x38d981,this['_localUser']=_0x4272ce,this['_config']=_0x50ad5d,_0x50ad5d['disableComments']?this['set']('length',0x1):this['_createCommentViews']();}['render'](){super['render'](),_0xecfe39(this,this['focusables']);}['focus'](){this['element']['focus']();}['destroy'](){this['commentsListView']&&this['commentsListView']['destroy'](),this['commentThreadInputView']&&this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentViews'](){const {CommentsListView:_0x9a6d69}=this['_config'];this['commentsListView']=new _0x9a6d69(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',_0x1bd55b=>_0x1bd55b+0x1),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x5df956,_0x8a22d3)=>_0x5df956||!!_0x8a22d3);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x4415a5}=this['_config'],_0x3ba597=new _0x4415a5(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x55bee3=_0x3ba597['commentInputView'];return _0x3ba597['bind']('showInput')['to'](this,'isActive',this['_model']['commentThread'],'isReadOnly',_0x55bee3,'value',(_0x2b2b96,_0x275b23,_0x62339b)=>!!_0x62339b||_0x2b2b96&&!_0x275b23),_0x55bee3['on']('submit',(_0x921e04,_0x260862)=>{this['fire']('addComment',_0x260862),_0x55bee3['editor']['setData']('');}),_0x55bee3['on']('cancel',()=>this['focus']()),_0x55bee3['bind']('disabledSubmit')['to'](this['_model']['commentThread'],'isReadOnly'),_0x3ba597;}}class SuggestionThreadView extends BaseSuggestionThreadView{['suggestionView'];['_descriptionElement'];constructor(_0x1ba444,_0x22ea60,_0x4d09a6,_0x25a3e1){super(_0x1ba444,_0x22ea60,_0x4d09a6,_0x25a3e1),this['set']('type',''),this['bind']('type')['to'](this,'descriptionParts',_0x21d9c0=>_0x21d9c0&&_0x21d9c0[0x0]?_0x21d9c0[0x0]['type']:''),this['bind']('description')['to'](this,'descriptionParts',this,'isActive',(_0xf0ae95,_0x3cd16b)=>{let _0x13d876='';for(const _0x4226f9 of _0xf0ae95)_0x13d876+='<p>'+_0x1c352e(_0x4226f9['content'],_0x4226f9['color'])+'</p>';return _0x3cd16b?_0x13d876:_0x3be235(_0x13d876,{'limit':0x8c});}),this['_descriptionElement']=null,this['suggestionView']=new _0x25a3e1['SuggestionView'](_0x1ba444,_0x22ea60,{'formatDateTime':_0x25a3e1['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 _0x2059a8=this['bindTemplate'],_0x6b16b=[this['suggestionView']];this['commentsListView']&&_0x6b16b['push'](this['commentsListView']),this['commentThreadInputView']&&_0x6b16b['push'](this['commentThreadInputView']),_0x6b16b['push'](this['ariaDescriptionView']);const _0x557619={'tag':'div','attributes':{'class':['ck','ck-rounded-corners','ck-suggestion-wrapper',_0x2059a8['if']('isActive','ck-suggestion-wrapper--active'),_0x2059a8['to']('type',_0x2bb4ac=>'ck-suggestion-'+_0x2bb4ac),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':_0x2059a8['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':_0x6b16b};return _0x557619;}['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 _0x22b56d['View']{['userView'];['acceptButton'];['discardButton'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0xa7db8f,_0x360e22,_0x59630f){super(_0xa7db8f),this['_model']=_0x360e22,this['_config']=_0x59630f,this['set']('description',''),this['bind']('authoredAt')['to'](_0x360e22),this['acceptButton']=this['_createButton'](tx(_0xa7db8f,'Accept\x20suggestion'),_0x22b56d['IconCheck'],'ck-suggestion--accept','acceptSuggestion','sw'),this['discardButton']=this['_createButton'](tx(_0xa7db8f,'Discard\x20suggestion'),_0x22b56d['IconCancel'],'ck-suggestion--discard','discardSuggestion','sw'),this['userView']=new _0x1ab201(_0xa7db8f,_0x360e22['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-suggestion__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['focusables']=new _0x22b56d['ViewCollection']([this['acceptButton'],this['discardButton']]),this['focusTracker']=new _0x22b56d['FocusTracker'](),this['keystrokes']=new _0x22b56d['KeystrokeHandler'](),this['focusCycler']=new _0x22b56d['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'},'keystrokeHandlerOptions':{'filter':_0x149d2f=>_0x149d2f['target']!==this['element']}}),this['setTemplate'](this['getTemplate']());}['render'](){super['render']();const _0x3c01da=this['element']['querySelector']('.ck-annotation__content-wrapper');_0x3c01da['innerHTML']=this['description'],this['on']('change:description',(_0xfffb1c,_0x11d1e0,_0x2b6e63)=>{_0x3c01da['innerHTML']=_0x2b6e63;}),this['_setupKeyboardNavigation']();}['getTemplate'](){const _0x41c965=this['bindTemplate'],_0x519e31=[{'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':_0x41c965['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x41c965['to']('authoredAt',_0x517606=>this['_config']['formatDateTime'](_0x517606))}]}]},{'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']&&_0x519e31['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':_0x519e31}]};}['focus'](){this['element']['focus']();}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?tx(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):tx(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['getExternalSuggestionNote'](){return'importWord'===this['_model']['attributes']['@external']['source']?tx(this['locale'],'EXTERNAL_IMPORT_WORD_SUGGESTION'):tx(this['locale'],'EXTERNAL_SUGGESTION');}['_createButton'](_0x3ffaeb,_0x609629,_0x5ecc13,_0x501387,_0x5863b9){const _0x4e3402=new LateFocusButtonView(this['locale']);return _0x4e3402['set']({'label':_0x3ffaeb,'icon':_0x609629,'tooltip':!0x0,'tooltipPosition':_0x5863b9}),_0x4e3402['extendTemplate']({'attributes':{'class':_0x5ecc13}}),_0x4e3402['on']('execute',()=>{this['fire'](_0x501387,this['_model']['id']);}),_0x4e3402;}['_setupKeyboardNavigation'](){const _0x90ca69=this['element'];this['keystrokes']['listenTo'](_0x90ca69);for(const _0x3e0153 of this['focusables'])this['focusTracker']['add'](_0x3e0153['element']),this['keystrokes']['listenTo'](_0x3e0153['element']);this['keystrokes']['set']('enter',(_0x3a8580,_0x7e49c9)=>{_0x90ca69===_0x3a8580['target']&&(this['focusCycler']['focusFirst'](),_0x7e49c9());}),this['keystrokes']['set']('esc',(_0x95917e,_0x266e8d)=>{_0x90ca69!==_0x95917e['target']&&(this['focus'](),_0x266e8d());});}}class _0xa7240a extends _0x22b56d['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_suggestionToController'];['_viewToController'];['_annotationViews'];['_handleControllerBuffer'];['_disableComments'];static get['requires'](){return[TrackChangesEditing,_0x433f5f,'CommentsRepository','Annotations','EditorAnnotations'];}static get['pluginName'](){return'TrackChangesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x412eba){super(_0x412eba),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this['_annotationViews']=new Map(),this['_handleControllerBuffer']=new Map();const _0x130974=this['editor']['config'];_0x130974['define']('trackChanges.SuggestionThreadView',SuggestionThreadView),_0x130974['define']('trackChanges.SuggestionView',SuggestionView),_0x130974['define']('trackChanges.disableComments',!0x1),this['_disableComments']=_0x130974['get']('trackChanges.disableComments');}['_handleSuggestionControllerDelayed'](_0x128149,_0x4c5ef2){0x0===this['_handleControllerBuffer']['size']&&setTimeout(()=>{for(const [_0x2d0a8a,_0x1ae363]of this['_handleControllerBuffer']){const _0x3bd84f=this['_suggestionToController']['has'](_0x2d0a8a);_0x3bd84f||_0x1ae363?_0x3bd84f&&_0x1ae363&&this['_destroyController'](_0x2d0a8a):this['_initializeController'](_0x2d0a8a);}this['_handleControllerBuffer']['clear'](),this['editor']['plugins']['get']('EditorAnnotations')['refreshSelectedViews'](),this['_refreshActiveMarkers']();},0xa),this['_handleControllerBuffer']['set'](_0x128149,_0x4c5ef2);}['init'](){const _0xc10908=this['editor'],_0xbae370=_0xc10908['plugins']['get']('TrackChangesEditing'),_0x5a816c=_0xc10908['plugins']['get']('Annotations'),_0x314480=_0xc10908['plugins']['get']('EditorAnnotations'),_0xa8df60=_0xc10908['plugins']['get']('CommentsRepository');this['_addUIComponentsToFactory'](),_0x314480['addSourceCollector'](()=>{const _0x50ccdd=[];for(const [_0x5800fe,_0x19d2bb]of Array['from'](this['_suggestionToController'])){const _0x2af581=_0x5800fe['getAllAdjacentSuggestions'](),_0x2a500b=[];for(const _0x194191 of _0x2af581){if(!_0x194191['isInContent'])continue;if(_0x194191['isMultiRange']){_0x2a500b['push'](..._0x194191['getRanges']());continue;}const _0x298520=_0x194191['getFirstRange']();if(_0x2a500b['length']>0x0){const _0x149c6b=_0x2a500b[0x0]['getJoined'](_0x298520);if(_0x149c6b){_0x2a500b[0x0]=_0x149c6b;continue;}}_0x2a500b['push'](_0x298520);}_0x50ccdd['push']([_0x19d2bb['view'],_0x2a500b]);}return _0x50ccdd;}),this['listenTo'](_0xbae370,'suggestionLoaded',(_0x258455,_0x4293a8)=>{this['listenTo'](_0x4293a8,'change:previous',(_0x5b758b,_0x583443,_0x2b8c63,_0x3e5691)=>{_0x4293a8['isInContent']&&(null==_0x2b8c63?(this['_updateController'](_0x3e5691['head']),this['_handleSuggestionControllerDelayed'](_0x4293a8,!0x1)):(this['_updateController'](_0x2b8c63['head']),null==_0x3e5691&&this['_handleSuggestionControllerDelayed'](_0x4293a8,!0x0)));}),null!==_0x4293a8['previous']?this['_updateController'](_0x4293a8['head']):this['_handleSuggestionControllerDelayed'](_0x4293a8,!0x1);}),this['listenTo'](_0xbae370,'suggestionUnloaded',(_0x4f3094,_0x42c9e9,_0x152178)=>{this['stopListening'](_0x42c9e9,'change:previous'),this['_handleControllerBuffer']['delete'](_0x42c9e9),this['_suggestionToController']['has'](_0x42c9e9)&&this['_destroyController'](_0x42c9e9),_0x152178&&this['_updateController'](_0x152178['head']);}),this['listenTo'](_0xbae370,'suggestionChanged',(_0x152ae9,_0x4716c4)=>{this['_updateController'](_0x4716c4);}),this['listenTo'](_0x5a816c,'change:activeAnnotations',()=>{this['_refreshActiveMarkers']();}),this['listenTo'](_0xa8df60,'addComment',(_0x517dc5,{threadId:_0x5ac1cd,isFromAdapter:_0x3aeecf})=>{if(_0x3aeecf||!_0xbae370['hasSuggestion'](_0x5ac1cd))return;const _0x20d46b=_0xbae370['getSuggestion'](_0x5ac1cd);this['_suggestionToController']['get'](_0x20d46b)['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x40b6d2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x50036d;for(const _0x281d0e in _0x40b6d2){const _0x121b21=_0x281d0e,_0x475039=_0x40b6d2[_0x121b21];if('trackChangesLicenseKeyValid'==_0x475039||'trackChangesLicenseKeyInvalid'==_0x475039||'trackChangesLicenseKeyExpired'==_0x475039||'trackChangesLicenseKeyDomainLimit'==_0x475039||'trackChangesLicenseKeyNotAllowed'==_0x475039||'trackChangesLicenseKeyEvaluationLimit'==_0x475039||'trackChangesLicenseKeyUsageLimit'==_0x475039){delete _0x40b6d2[_0x121b21],_0x50036d=_0x475039,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'trackChangesLicenseKeyInvalid'==_0x50036d&&_0x40b6d2['_showLicenseError']('invalid'),'trackChangesLicenseKeyExpired'==_0x50036d&&_0x40b6d2['_showLicenseError']('expired'),'trackChangesLicenseKeyDomainLimit'==_0x50036d&&_0x40b6d2['_showLicenseError']('domainLimit'),'trackChangesLicenseKeyNotAllowed'==_0x50036d&&_0x40b6d2['_showLicenseError']('featureNotAllowed','TrackChanges'),'trackChangesLicenseKeyEvaluationLimit'==_0x50036d&&_0x40b6d2['_showLicenseError']('evaluationLimit'),'trackChangesLicenseKeyUsageLimit'==_0x50036d&&_0x40b6d2['_showLicenseError']('usageLimit');},0x3e8);}['getAnnotationForSuggestion'](_0xa73085){const _0x4a61b8=this['_suggestionToController']['get'](_0xa73085);if(!_0x4a61b8)return null;return this['editor']['plugins']['get']('Annotations')['getByInnerView'](_0x4a61b8['view'])||null;}['getSuggestionForAnnotation'](_0x263d2c){const _0x57ba41=this['_viewToController']['get'](_0x263d2c['innerView']);return _0x57ba41?_0x57ba41['model']:null;}['_refreshActiveMarkers'](){const _0x3ba5f6=this['editor']['plugins']['get']('Annotations'),_0x32f6cf=this['editor']['plugins']['get']('TrackChangesEditing'),_0x515dc6=Array['from'](_0x3ba5f6['activeAnnotations'],_0x277b86=>_0x277b86['innerView'])['filter'](_0x1deb5b=>this['_viewToController']['has'](_0x1deb5b)),_0x4edd20=[];for(const _0x19ea6c of _0x515dc6){const _0x256930=this['_viewToController']['get'](_0x19ea6c)['model']['getAllAdjacentSuggestions']();_0x4edd20['push'](..._0x256930['reduce']((_0x52ce75,_0x5b6457)=>[..._0x52ce75,..._0x5b6457['getMarkerNames']()],[]));}_0x32f6cf['activeMarkers']=_0x4edd20;}['_addUIComponentsToFactory'](){const _0x3dd6fc=this['editor'],_0x1317b7=_0x3dd6fc['locale'],_0x1c464a=tx(_0x1317b7,'Track\x20changes'),_0xcbf518=new _0x22b56d['Collection']([{'type':'switchbutton','model':new _0x22b56d['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x1c464a,'commandName':'trackChanges','role':'menuitemcheckbox'})},{'type':'separator'},{'type':'button','model':new _0x22b56d['UIModel']({'withText':!0x0,'label':tx(_0x1317b7,'Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions','role':'menuitem'})},{'type':'button','model':new _0x22b56d['UIModel']({'withText':!0x0,'label':tx(_0x1317b7,'Accept\x20all\x20selected\x20suggestions'),'commandName':'acceptSelectedSuggestions','role':'menuitem'})},{'type':'button','model':new _0x22b56d['UIModel']({'withText':!0x0,'label':tx(_0x1317b7,'Discard\x20all\x20suggestions'),'commandName':'discardAllSuggestions','role':'menuitem'})},{'type':'button','model':new _0x22b56d['UIModel']({'withText':!0x0,'label':tx(_0x1317b7,'Discard\x20all\x20selected\x20suggestions'),'commandName':'discardSelectedSuggestions','role':'menuitem'})}]);_0x3dd6fc['plugins']['has']('TrackChangesPreview')&&_0xcbf518['addMany']([{'type':'separator'},{'type':'button','model':new _0x22b56d['UIModel']({'withText':!0x0,'label':tx(_0x1317b7,'Preview\x20final\x20content'),'commandName':'previewFinalContent','role':'menuitem'})}]);for(const _0x1b291c of _0xcbf518)if(_0x1919d2(_0x1b291c)){const _0x571b81=_0x3dd6fc['commands']['get'](_0x1b291c['model']['commandName']);_0x1b291c['model']['bind']('isOn','isEnabled')['to'](_0x571b81,'value','isEnabled');}_0x3dd6fc['ui']['componentFactory']['add']('trackChanges',_0x5ec39a=>this['_createToolbarButton'](_0x5ec39a,_0xcbf518,_0x1c464a)),_0x3dd6fc['ui']['componentFactory']['add']('menuBar:trackChanges',_0x41ba50=>this['_createMenuBarMenu'](_0x41ba50,_0xcbf518,_0x1c464a));}['_createToolbarButton'](_0x354b57,_0x3dc4d6,_0x495340){const _0x5236c2=_0x22b56d['createDropdown'](_0x354b57,_0x22b56d['SplitButtonView']),_0x44afb2=this['editor']['commands']['get']('trackChanges');_0x5236c2['buttonView']['set']({'tooltip':_0x495340,'label':_0x495340,'icon':_0x22b56d['IconTrackChanges']}),_0x5236c2['buttonView']['bind']('isOn')['to'](_0x44afb2,'value'),_0x5236c2['buttonView']['on']('execute',()=>{_0x44afb2['execute'](),this['editor']['editing']['view']['focus']();}),_0x22b56d['addListToDropdown'](_0x5236c2,_0x3dc4d6,{'role':'menu'});const _0x56e3ea=[];for(const _0x18a3a1 of _0x3dc4d6)_0x1919d2(_0x18a3a1)&&_0x56e3ea['push'](this['editor']['commands']['get'](_0x18a3a1['model']['commandName']));const _0x20caaa=_0x5236c2['buttonView'];return _0x20caaa['actionView']['unbind']('isEnabled'),_0x20caaa['arrowView']['unbind']('isEnabled'),_0x20caaa['actionView']['bind']('isEnabled')['to'](_0x44afb2,'isEnabled'),_0x20caaa['arrowView']['bind']('isEnabled')['toMany'](_0x56e3ea,'isEnabled',(..._0xf1a5c7)=>_0xf1a5c7['some'](_0x5c782c=>_0x5c782c)),_0x5236c2['on']('execute',_0xcf9ede=>{this['editor']['execute'](_0xcf9ede['source']['commandName']),this['editor']['editing']['view']['focus']();}),_0x5236c2;}['_createMenuBarMenu'](_0x599b63,_0x4485b4,_0x337fec){const _0x29b655=new _0x22b56d['MenuBarMenuView'](_0x599b63),_0x28f411=this['editor']['commands']['get']('trackChanges');_0x29b655['buttonView']['set']({'label':_0x337fec,'icon':_0x22b56d['IconTrackChanges']});const _0x1d3b7f=new _0x22b56d['MenuBarMenuListView'](_0x599b63);for(const _0x2558a4 of _0x4485b4){if('separator'==_0x2558a4['type']){_0x1d3b7f['items']['add'](new _0x22b56d['ListSeparatorView'](_0x599b63));continue;}const _0x43aa81=new _0x22b56d['MenuBarMenuListItemView'](_0x599b63,_0x29b655),_0x4b2992=new _0x22b56d['MenuBarMenuListItemButtonView'](_0x599b63),_0x4a9ee8=_0x2558a4['model'];_0x4b2992['bind'](...Object['keys'](_0x4a9ee8))['to'](_0x4a9ee8),_0x4b2992['delegate']('execute')['to'](_0x29b655),_0x4b2992['on']('execute',()=>{this['editor']['execute'](_0x4a9ee8['commandName']),this['editor']['editing']['view']['focus']();}),_0x43aa81['children']['add'](_0x4b2992),_0x1d3b7f['items']['add'](_0x43aa81);}return _0x29b655['bind']('isEnabled')['to'](_0x28f411,'isEnabled'),_0x29b655['panelView']['children']['add'](_0x1d3b7f),_0x29b655;}['_initializeController'](_0x970396){const _0x52849d=this['editor'],_0x4ce87b=_0x52849d['config'],_0x1df7bd=_0x52849d['plugins']['get']('Annotations'),_0x13e4d6=_0x52849d['plugins']['get']('CommentsRepository'),_0x2f1291=_0x52849d['plugins']['get']('EditorAnnotations'),_0x2b7f47=_0x52849d['plugins']['get'](_0x433f5f)['me'],_0x4ede33=_0x4ce87b['get']('trackChanges')['SuggestionThreadView'],_0x1af444=_0x4ce87b['get']('trackChanges')['SuggestionView'],{CommentsListView:_0x21d35d,CommentThreadInputView:_0x4f93e6}=_0x52849d['plugins']['get']('CommentsUI');let _0x47bc8a,_0x5946f4,_0x1ae17d;this['_annotationViews']['has'](_0x970396['id'])?(_0x5946f4=this['_annotationViews']['get'](_0x970396['id']),_0x47bc8a=_0x5946f4['mainView']):(_0x47bc8a=new _0x4ede33(_0x52849d['locale'],_0x970396,_0x2b7f47,{'disableComments':this['_disableComments'],'editorConfig':{..._0x4ce87b['get']('comments.editorConfig'),'licenseKey':_0x4ce87b['get']('licenseKey')},'maxCommentsWhenCollapsed':_0x4ce87b['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x4ce87b['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x4ce87b['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x4341fd(_0x4ce87b['get']('locale'),_0x52849d['locale']),'CommentView':_0x4ce87b['get']('comments')['CommentView'],'CommentsListView':_0x21d35d,'CommentThreadInputView':_0x4f93e6,'SuggestionView':_0x1af444}),_0x47bc8a['suggestionView']['acceptButton']['on']('execute',()=>{_0x52849d['editing']['view']['focus']();}),_0x47bc8a['suggestionView']['discardButton']['on']('execute',()=>{_0x52849d['editing']['view']['focus']();}),_0x5946f4=_0x1df7bd['createAnnotationView'](this['editor']['locale'],_0x47bc8a),_0x5946f4['bind']('isDirty')['to'](_0x47bc8a,'isDirty'),_0x5946f4['bind']('length')['to'](_0x47bc8a),_0x5946f4['bind']('type')['to'](_0x47bc8a,'type',_0x24cea1=>'suggestion-'+_0x24cea1),_0x47bc8a['on']('escape',()=>{_0x1ae17d['fire']('escape');}),this['_annotationViews']['set'](_0x970396['id'],_0x5946f4));const _0x1ea659=_0x13e4d6['createCommentThreadController'](_0x970396['commentThread'],_0x47bc8a),_0x5b25da=new SuggestionController(_0x52849d,_0x970396,_0x47bc8a,_0x1ea659),_0x18c4a=_0x970396['getAllAdjacentSuggestions']()['filter'](_0x13397c=>_0x13397c['isInContent']);_0x47bc8a['descriptionParts']=_0x52849d['plugins']['get']('TrackChangesEditing')['descriptionFactory']['getDescriptions'](_0x18c4a),this['_suggestionToController']['set'](_0x970396,_0x5b25da),this['_viewToController']['set'](_0x47bc8a,_0x5b25da);const _0x5caabf=()=>{const _0x51743c=[],_0x54e5ed=_0x970396['getAllAdjacentSuggestions']()['filter'](_0x42b5ce=>_0x42b5ce['isInContent']);for(const _0x158fe2 of _0x54e5ed)_0x51743c['push'](..._0x158fe2['getMarkers']());return _0x21d323(_0x52849d['editing'],_0x51743c);};_0x1ae17d=_0x1df7bd['createAnnotation']({'view':_0x5946f4,'target':_0x5caabf,'type':()=>'suggestion-'+_0x5b25da['view']['type'],'isVisible':!!_0x5caabf()}),_0x13e4d6['_bindAnnotationToEditors'](_0x47bc8a,_0x1ae17d),_0x1df7bd['add'](_0x1ae17d),_0x2f1291['registerAnnotation'](_0x1ae17d);}['_destroyController'](_0x2eadf9){const _0x1c90f5=this['editor']['plugins']['get']('CommentsRepository'),_0xb566ab=this['editor']['plugins']['get']('Annotations'),_0x2d2eb2=this['_suggestionToController']['get'](_0x2eadf9),_0x10bdfb=_0x2d2eb2['view'],_0x2d1f82=_0xb566ab['getByInnerView'](_0x10bdfb);_0x1c90f5['_unbindEditors'](_0x10bdfb),_0x2d1f82&&_0xb566ab['remove'](_0x2d1f82),this['_suggestionToController']['delete'](_0x2eadf9),this['_viewToController']['delete'](_0x10bdfb),_0x2d2eb2['destroy']();}['_updateController'](_0x155e63){if(!_0x155e63['isInContent']||!this['_suggestionToController']['has'](_0x155e63))return;const _0x196290=this['editor']['plugins']['get']('TrackChangesEditing'),_0x5458a0=this['_suggestionToController']['get'](_0x155e63),_0x5c69bf=_0x155e63['getAllAdjacentSuggestions']();_0x5458a0['view']['descriptionParts']=_0x196290['descriptionFactory']['getDescriptions'](_0x5c69bf);}['destroy'](){for(const _0x7d2195 of this['_suggestionToController']['keys']())this['_destroyController'](_0x7d2195);for(const _0x36dc0f of this['_annotationViews']['values']())_0x36dc0f['mainView']['destroy']();super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function _0x1919d2(_0x4c9015){return'model'in _0x4c9015;}class _0x1559fa extends _0x22b56d['Plugin']{static get['requires'](){return[TrackChangesEditing,_0xa7240a,'Comments'];}static get['pluginName'](){return'TrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}set['adapter'](_0xc60574){this['editor']['plugins']['get'](TrackChangesEditing)['adapter']=_0xc60574;}get['adapter'](){return this['editor']['plugins']['get'](TrackChangesEditing)['adapter'];}['addSuggestion'](_0x9ee8cd){return this['editor']['plugins']['get'](TrackChangesEditing)['addSuggestionData'](_0x9ee8cd);}['getSuggestions']({skipNotAttached:_0x37cfa0=!0x1,toJSON:_0x470130=!0x1}={}){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestions']({'skipNotAttached':_0x37cfa0,'toJSON':_0x470130});}['getSuggestion'](_0x31e8bb){return this['editor']['plugins']['get'](TrackChangesEditing)['getSuggestion'](_0x31e8bb);}}const _0x3d17c6=['Pagination'];class TrackChangesData extends _0x22b56d['Plugin']{static get['requires'](){return[TrackChangesEditing];}static get['pluginName'](){return'TrackChangesData';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1a63e9=this['editor'];if(_0x1a63e9['config']['define']('trackChangesData.editorCreator',_0x3a9967=>{const _0x14352b=_0x1a63e9['model']['document']['getRootNames']()['reduce']((_0x19b7f8,_0x1a4410)=>(_0x19b7f8[_0x1a4410]='',_0x19b7f8),{});return _0x1a63e9['constructor']['create'](_0x14352b,_0x3a9967);}),'function'!=typeof _0x1a63e9['config']['get']('trackChangesData')['editorCreator'])throw new _0x22b56d['CKEditorError']('track-changes-data-invalid-editor-creator');}['getDataWithAcceptedSuggestions'](_0x781abe){return _0x41b67c(this['editor'],!0x0,_0x781abe);}['getDataWithDiscardedSuggestions'](_0x53cab8){return _0x41b67c(this['editor'],!0x1,_0x53cab8);}}class TrackChangesDataGetter extends _0x22b56d['Plugin']{['result'];static get['pluginName'](){return'TrackChangesDataGetter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x36b261){function _0x23f63d(_0x55d48d){return _0x55d48d['map'](_0x404c00=>String['fromCharCode'](_0x404c00))['join']('');}super(_0x36b261),this['result']='end',_0x36b261[_0x23f63d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x23f63d([0x76,0x69,0x65,0x77])][_0x23f63d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x23f63d([0x61,0x75,0x74,0x6f]),_0x36b261[_0x23f63d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74])]=()=>window[_0x23f63d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x23f63d([0x72,0x65,0x73,0x6f,0x6c,0x76,0x65])]({[_0x23f63d([0x73,0x74,0x61,0x74,0x75,0x73])]:_0x23f63d([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 _0x35c74c(_0x10a8a6){return void 0x0!==_0x10a8a6['getRootsAttributes'];}async function _0x41b67c(_0x4f3f7f,_0x35a3cb,_0x3d3c89){const _0x14a6d9=_0x44274e(_0x4f3f7f,_0x3d17c6);_0x14a6d9['plugins']['push'](TrackChangesEditing,TrackChangesDataGetter),_0x14a6d9['rootsAttributes']=_0x35c74c(_0x4f3f7f)?_0x4f3f7f['getRootsAttributes']():void 0x0;const _0x25d9be=document['createDocumentFragment'](),_0x19468e=_0x4f3f7f['config']['get']('trackChangesData')['editorCreator'],_0x24f328=await _0x19468e(_0x14a6d9,()=>function(_0xcbcfee){const _0x24d591=document['createElement']('div');return _0xcbcfee['appendChild'](_0x24d591),_0x24d591;}(_0x25d9be));!function(_0x38566d,_0x251320){const _0x290c62=_0x38566d['model']['document']['getRootNames']()['reduce']((_0x4517cd,_0x40a982)=>(_0x4517cd[_0x40a982]=_0x38566d['data']['get']({'rootName':_0x40a982}),_0x4517cd),{}),_0x500dc0=_0x38566d['plugins']['get']('Users')['users']['map'](_0x1f1ef7=>({'id':_0x1f1ef7['id'],'name':_0x1f1ef7['name']})),_0x6b4798=_0x38566d['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x1bbf57=_0x38566d['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0xad96ea=_0x251320['plugins']['get']('Users'),_0xadfde6=_0x251320['plugins']['get']('TrackChangesEditing'),_0xf2114=_0x251320['plugins']['get']('CommentsRepository');for(const _0x31f1f4 of _0xf2114['getCommentThreads']())_0x31f1f4['remove']();for(const _0x2feb1e of _0x500dc0)_0xad96ea['getUser'](_0x2feb1e['id'])||_0xad96ea['addUser'](_0x2feb1e);_0xad96ea['me']||_0xad96ea['useAnonymousUser']();for(const _0x8a8211 of _0x1bbf57)_0xf2114['addCommentThread'](_0x8a8211);for(const _0x37206c of _0x6b4798)_0xadfde6['addSuggestionData'](_0x37206c);_0x251320['data']['set'](_0x290c62);}(_0x4f3f7f,_0x24f328),_0x24f328['execute'](_0x35a3cb?'acceptAllSuggestions':'discardAllSuggestions');const _0x3544d2=_0x35c74c(_0x24f328)?_0x24f328['getFullData'](_0x3d3c89):_0x24f328['data']['get'](_0x3d3c89);return await _0x24f328['destroy'](),_0x3544d2;}class _0x100415 extends _0x22b56d['View']{['options'];constructor(_0x276a9b,_0x460332){super(_0x276a9b),this['options']=_0x460332,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'](_0xec21e7,_0x12e682){if(!this['element'])return;const _0x52af32=[];for(const [_0x597c0f,_0x6ca812]of _0xec21e7){const _0x441efe=document['createElement']('div');_0x441efe['setAttribute']('data-ck-root-name',_0x597c0f),_0x441efe['className']=_0x6ca812['classes']+'\x20ck-track-changes-preview__root-container',_0x441efe['innerHTML']=_0x6ca812['content'],_0x52af32['push'](_0x441efe);}_0x12e682(this['element'],_0x52af32),this['element']['style']['height']='',this['fire']('previewDataReady');}['focus'](){this['element']['focus']();}}class PreviewFinalContentCommand extends _0x22b56d['Command']{constructor(_0x310091){super(_0x310091),this['affectsData']=!0x1,this['isEnabled']=!0x0;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x22e4f5=this['editor'],_0x48a62c=_0x22e4f5['locale'],_0x24251c=_0x22e4f5['plugins']['get']('Dialog');let _0x2e1b55;const _0x13954f=function(_0x35c2d0){const _0x589f9a={};if('editables'in _0x35c2d0['ui']['view']){for(const [_0x4111d2,_0x17ed9e]of Object['entries'](_0x35c2d0['ui']['view']['editables']))_0x589f9a[_0x4111d2]=_0x17ed9e['element'];}else _0x589f9a[_0x35c2d0['model']['document']['getRootNames']()[0x0]]=_0x35c2d0['ui']['view']['editable']['element'];return _0x589f9a;}(_0x22e4f5),_0x548563=function(_0xa65c0e){let _0x20b2e7=0x0;for(const _0xb0eb70 of Object['values'](_0xa65c0e))_0x20b2e7=Math['max'](_0x20b2e7,_0xb0eb70['getBoundingClientRect']()['width']);let _0x5e2793=0x0;for(const _0x45a12f of Object['values'](_0xa65c0e))_0x5e2793+=_0x45a12f['getBoundingClientRect']()['height'];const _0x320d8d=0.8*Math['max'](document['documentElement']['clientHeight'],window['innerHeight']),_0x4dea5a=Math['min'](_0x5e2793,_0x320d8d);return{'width':_0x20b2e7,'height':_0x4dea5a};}(_0x13954f);_0x24251c['show']({'id':'finalContentPreview','title':tx(_0x48a62c,'Final\x20content\x20preview'),'isModal':!0x0,'className':'ck-track-changes-preview-dialog','content':new _0x100415(_0x48a62c,{'dialogRects':_0x548563}),'onHide':()=>{_0x2e1b55['detachFromDom']();},'onShow':()=>{_0x22e4f5['plugins']['get']('TrackChangesData')['getDataWithAcceptedSuggestions']({...this['_getMergeFieldsData']()})['then'](_0x101302=>{const _0x45440e=this['_standarizeRootsData'](_0x101302,_0x22e4f5,_0x13954f);_0x24251c['view']['contentView']['children']['get'](0x0)['setPreviewData'](_0x45440e,_0x22e4f5['config']['get']('trackChanges.preview.renderFunction'));}),_0x2e1b55=new _0x22b56d['BodyCollection'](_0x48a62c,[_0x24251c['view']]),_0x2e1b55['attachToDom'](),_0x2e1b55['bodyCollectionContainer']['classList']['remove']('ck-reset_all'),_0x22e4f5['once']('destroy',()=>{_0x2e1b55['detachFromDom']();});const _0x228df0=_0x24251c['view']['headerView']['class'];_0x24251c['view']['headerView']['class']=_0x228df0?_0x228df0+'\x20ck-reset_all':'ck-reset_all',_0x24251c['view']['contentView']['children']['get'](0x0)['on']('previewDataReady',()=>{_0x24251c['view']['updatePosition']();});}});}['_getMergeFieldsData'](){if(!this['editor']['plugins']['has']('MergeFieldsEditing'))return{};const _0x22f292=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x2b2182=_0x22f292['previewMode'],_0x2a754a={};if('$labels'===_0x2b2182){for(const _0x257f03 of _0x22f292['getMergeFieldsIds']())_0x2a754a[_0x257f03]=_0x22f292['getLabel'](_0x257f03)||_0x257f03;}else{const _0xd47360='$defaultValues'===_0x2b2182?_0x22f292['getDefaultValues']():_0x22f292['getDataSetValues'](_0x2b2182,!0x0);for(const _0x4cedae of Object['entries'](_0xd47360)){const [_0xb2437b,_0x243a81]=_0x4cedae;_0x2a754a[_0xb2437b]=null!==_0x243a81?_0x243a81:_0x22f292['getLabel'](_0xb2437b)||_0xb2437b;}}return{'mergeFieldsData':_0x2a754a};}['_standarizeRootsData'](_0x16b2fa,_0x25107a,_0xe54cc4){let _0x504755;if('string'==typeof _0x16b2fa){const _0x26f0e0=_0x25107a['model']['document']['getRootNames']()[0x0];_0x504755={[_0x26f0e0]:_0x16b2fa};}else _0x504755=_0x16b2fa;const _0x5913af=this['_fixMediaEmbeds'](_0x504755,_0x25107a),_0x3f02fd=function(_0x3c9bde,_0x54a847){for(const [_0x23e402,_0x564912]of _0x3c9bde)_0x564912['classes']=_0x54a847[_0x23e402]['classList']['value']['replace']('ck-focused','');return _0x3c9bde;}(this['_sortRoots'](_0x25107a)['reduce']((_0x4a37cb,_0x3b205e)=>(_0x4a37cb['push']([_0x3b205e,{'content':_0x5913af[_0x3b205e],'classes':''}]),_0x4a37cb),[]),_0xe54cc4);return _0x3f02fd;}['_fixMediaEmbeds'](_0x372610,_0x185b4d){if(!_0x185b4d['plugins']['has']('MediaEmbedEditing'))return _0x372610;const _0x504cbb=_0x185b4d['plugins']['get']('MediaEmbedEditing');for(const [_0x59bbaa,_0x37a1b3]of Object['entries'](_0x372610)){const _0x914fab=document['createElement']('div');_0x914fab['innerHTML']=_0x37a1b3,(_0x914fab['querySelectorAll']('figure.media')['forEach'](_0x4ac1da=>{const _0x5108c3=_0x4ac1da['querySelector']('oembed');if(_0x5108c3){const _0x5e7f47=_0x5108c3['getAttribute']('url');if(_0x5e7f47){const _0x5d48e3=_0x504cbb['registry']['getMediaViewElement'](new _0x22b56d['ViewDowncastWriter'](_0x185b4d['editing']['view']['document']),_0x5e7f47,{'elementName':'','renderForEditingView':!0x0}),_0x517870=document['createElement']('div');_0x517870['classList']['add']('ck-media__wrapper'),_0x5d48e3['render'](_0x517870,_0x185b4d['editing']['view']['domConverter']),_0x5108c3['replaceWith'](_0x517870);}}}),_0x372610[_0x59bbaa]=_0x914fab['innerHTML']);}return _0x372610;}['_sortRoots'](_0x34b804){if(!function(_0x326844){return void 0x0!==_0x326844['getRootsAttributes'];}(_0x34b804))return _0x34b804['model']['document']['getRootNames']();const _0x206132=[],_0x4f6a23=new Map();for(const _0xf3d07e of _0x34b804['model']['document']['getRootNames']()){const _0xe53fac=_0x34b804['editing']['view']['getDomRoot'](_0xf3d07e)['getClientRects']()['item'](0x0);_0x206132['push'](_0xf3d07e),_0x4f6a23['set'](_0xf3d07e,_0xe53fac);}return _0x206132['sort']((_0x3efded,_0x15b47a)=>{const _0x505889=_0x4f6a23['get'](_0x3efded),_0x107533=_0x4f6a23['get'](_0x15b47a);return _0x505889['y']-_0x107533['y']||_0x505889['x']-_0x107533['x'];}),_0x206132;}}class _0x4deca5 extends _0x22b56d['Plugin']{static get['requires'](){return[TrackChangesData,_0x22b56d['Dialog']];}static get['pluginName'](){return'TrackChangesPreview';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x170e95){super(_0x170e95),_0x170e95['commands']['add']('previewFinalContent',new PreviewFinalContentCommand(this['editor'])),_0x170e95['config']['define']('trackChanges.preview.renderFunction',(_0xf9b06e,_0x139d7c)=>{for(const _0x16631f of _0x139d7c)_0xf9b06e['appendChild'](_0x16631f);});}}var _0x192609=function(_0x252c33){return _0x252c33['Local']='local',_0x252c33['URL']='url',_0x252c33['Dropbox']='dropbox',_0x252c33['GDrive']='gdrive',_0x252c33['Facebook']='facebook',_0x252c33['GPhotos']='gphotos',_0x252c33['OneDrive']='onedrive',_0x252c33;}({});function _0x13ca4a(_0x410d20,_0x5f5e0a,_0x271571){const t=_0x410d20['t'],_0x82ec5=_0x410d20['t'];switch(_0x5f5e0a){case _0x192609['Local']:return{'text':_0x82ec5('Insert'===_0x271571?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x82ec5('From\x20computer')};case _0x192609['URL']:return{'text':'Insert'===_0x271571?_0x82ec5('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x82ec5('Via\x20URL')};case _0x192609['Dropbox']:return{'text':t('Insert'===_0x271571?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x192609['Facebook']:return{'text':t('Insert'===_0x271571?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x192609['GDrive']:return{'text':t('Insert'===_0x271571?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x192609['GPhotos']:return{'text':t('Insert'===_0x271571?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x192609['OneDrive']:return{'text':t('Insert'===_0x271571?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x5f5e0a;}}class _0x5251de extends _0x22b56d['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 _0x37ac19=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3bff22;for(const _0x1f735b in _0x37ac19){const _0x310115=_0x1f735b,_0x3a9f2e=_0x37ac19[_0x310115];if('uploadcareLicenseKeyValid'==_0x3a9f2e||'uploadcareLicenseKeyInvalid'==_0x3a9f2e||'uploadcareLicenseKeyExpired'==_0x3a9f2e||'uploadcareLicenseKeyDomainLimit'==_0x3a9f2e||'uploadcareLicenseKeyNotAllowed'==_0x3a9f2e||'uploadcareLicenseKeyEvaluationLimit'==_0x3a9f2e||'uploadcareLicenseKeyUsageLimit'==_0x3a9f2e){delete _0x37ac19[_0x310115],_0x3bff22=_0x3a9f2e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x3bff22&&_0x37ac19['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x3bff22&&_0x37ac19['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x3bff22&&_0x37ac19['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x3bff22&&_0x37ac19['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x3bff22&&_0x37ac19['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x3bff22&&_0x37ac19['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x41460d}=this,_0x54ddaf=_0x41460d['commands']['get']('uploadcare');if(!_0x54ddaf)return;const _0x574578=this['_normalizeConfigSourceList'](_0x41460d['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x2507aa,_0x57b7fa)=>{const _0x1a3195=this['_getIntegrationKey'](_0x57b7fa['type']);return _0x2507aa[_0x1a3195]||(_0x2507aa[_0x1a3195]=[]),_0x2507aa[_0x1a3195]['push'](_0x57b7fa),_0x2507aa;},{});_0x41460d['plugins']['has']('ImageInsertUI')&&_0x41460d['commands']['get']('uploadcare')&&Object['entries'](_0x574578)['forEach'](([_0x242fa6,_0x540260])=>{_0x41460d['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x242fa6,'observable':()=>_0x54ddaf,'buttonViewCreator':()=>this['_createToolbarButton'](_0x540260),'formViewCreator':()=>this['_createDropdownButtons'](_0x540260),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x540260),'override':'assetManager'!==_0x242fa6});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0x2b8fec){const {locale:_0x1dd7ed}=this['editor'];return _0x2b8fec['map'](_0x3ace71=>{const _0x19d685=_0x13ca4a(_0x1dd7ed,_0x3ace71,'Insert');switch(_0x3ace71){case _0x192609['Local']:return{'icon':_0x22b56d['IconUploadcareImageUpload'],'type':_0x192609['Local'],..._0x19d685};case _0x192609['URL']:return{'icon':_0x22b56d['IconUploadcareLink'],'type':_0x192609['URL'],..._0x19d685};case _0x192609['Dropbox']:return{'icon':_0x22b56d['IconDropbox'],'type':_0x192609['Dropbox'],..._0x19d685};case _0x192609['Facebook']:return{'icon':_0x22b56d['IconFacebook'],'type':_0x192609['Facebook'],..._0x19d685};case _0x192609['GDrive']:return{'icon':_0x22b56d['IconGoogleDrive'],'type':_0x192609['GDrive'],..._0x19d685};case _0x192609['GPhotos']:return{'icon':_0x22b56d['IconGooglePhotos'],'type':_0x192609['GPhotos'],..._0x19d685};case _0x192609['OneDrive']:return{'icon':_0x22b56d['IconOneDrive'],'type':_0x192609['OneDrive'],..._0x19d685};}});}['_getIntegrationKey'](_0x19ab4a){switch(_0x19ab4a){case _0x192609['Local']:return'upload';case _0x192609['URL']:return'url';default:return'assetManager';}}['_createButton'](_0x31e1a9,_0xcba5e4){const _0x3563a3=this['editor'],_0x50c7c0=new _0x31e1a9(_0x3563a3['locale']),_0x57fd8d=_0x3563a3['commands']['get']('uploadcare');return _0x50c7c0['bind']('isEnabled')['to'](_0x57fd8d),_0x50c7c0['on']('execute',()=>{_0x57fd8d['execute'](_0xcba5e4);}),_0x50c7c0;}['_createToolbarButton'](_0x234d14){const {locale:_0x5b2a2c}=this['editor'],_0x4fe026=this['editor']['plugins']['get']('ImageInsertUI'),_0x5f47f4=_0x234d14[0x0],_0x295f4f=this['_createButton'](_0x22b56d['ButtonView'],_0x5f47f4['type']);return _0x295f4f['icon']=_0x5f47f4['icon'],_0x295f4f['bind']('label')['to'](_0x4fe026,'isImageSelected',_0x4902c2=>_0x13ca4a(_0x5b2a2c,_0x5f47f4['type'],_0x4902c2?'Replace':'Insert')['text']),_0x295f4f['tooltip']=!0x0,_0x295f4f;}['_createDropdownButtons'](_0x486bd1){const {locale:_0x38cebb}=this['editor'],_0x54f157=this['editor']['plugins']['get']('ImageInsertUI');return _0x486bd1['map'](_0x388475=>{const _0x1af85d=this['_createButton'](_0x22b56d['ButtonView'],_0x388475['type']);return _0x1af85d['withText']=!0x0,_0x1af85d['icon']=_0x388475['icon'],_0x1af85d['bind']('label')['to'](_0x54f157,'isImageSelected',_0x5288fc=>_0x13ca4a(_0x38cebb,_0x388475['type'],_0x5288fc?'Replace':'Insert')['text']),_0x1af85d;});}['_createMenuBarButtons'](_0x493626){return _0x493626['map'](_0x55d45f=>{const _0x4a95ba=this['_createButton'](_0x22b56d['MenuBarMenuListItemButtonView'],_0x55d45f['type']);return _0x4a95ba['icon']=_0x55d45f['icon'],_0x4a95ba['label']=_0x55d45f['shortText'],_0x4a95ba;});}}class _0x35523d extends _0x22b56d['View']{['focusTracker'];['focusCycler'];constructor(_0xc7110e){super(_0xc7110e),this['focusTracker']=new _0x22b56d['FocusTracker'](),this['focusCycler']=new _0x22b56d['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 _0x330411 extends _0x35523d{constructor(_0x57c7b0,_0x46658a){super(_0x57c7b0),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-'+_0x46658a}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}}function _0x16a3a5(_0x5b8f5f,_0x4213fc){const _0x2cb49c=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x40d0cd=>_0x40d0cd<=_0x4213fc)['map'](_0xd3ba1e=>_0x5b8f5f['replace'](/\/$/,'')+'/-/resize/'+_0xd3ba1e+'x/\x20'+_0xd3ba1e+'w');return{'imageFallbackUrl':_0x5b8f5f,'imageSources':[{'srcset':_0x2cb49c['join'](',\x20'),'sizes':'(max-width:\x20'+_0x4213fc+'px)\x20100vw,\x20'+_0x4213fc+'px','type':'image/webp'}]};}function _0x55434e(_0xf2914c,_0x267f4d,_0x56cc3a){const _0x137787=_0xf2914c['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x137787?parseInt(_0x137787[0x1],0xa):_0x267f4d,'height':_0x137787?parseInt(_0x137787[0x2],0xa):_0x56cc3a};}function _0x28ddef(_0x4762f3,_0x12211c){const _0x55b4c5=new(_0x22b56d['DomEmitterMixin']())(),_0x37fde9=_0x4762f3['plugins']['get']('ImageUtils'),_0x121b31=_0x4762f3['editing']['mapper']['toViewElement'](_0x12211c),_0x1dba10=_0x37fde9['findViewImgElement'](_0x121b31),_0x547b1b=_0x4762f3['editing']['view']['domConverter']['viewToDom'](_0x1dba10),_0x5d1592=_0x12211c['getAttribute']('width'),_0x12bcfe=_0x12211c['getAttribute']('height'),_0x2b6b5a='image-processing';_0x4762f3['editing']['view']['change'](_0x51a990=>{_0x51a990['addClass'](_0x2b6b5a,_0x121b31),_0x51a990['setStyle']('aspect-ratio',_0x5d1592+'/'+_0x12bcfe,_0x1dba10);}),_0x55b4c5['listenTo'](_0x547b1b,'load',()=>{_0x55b4c5['stopListening'](_0x547b1b,'load'),_0x4762f3['editing']['view']['change'](_0x4fa7d4=>{_0x4fa7d4['removeClass'](_0x2b6b5a,_0x121b31),_0x4fa7d4['removeStyle']('aspect-ratio',_0x1dba10);});});}function _0x386bc0(_0x252363){if(Array['isArray'](_0x252363)){const _0x14e97c=_0x252363['map'](_0x386bc0);return _0x1606a1=>_0x14e97c['some'](_0x32270c=>_0x32270c(_0x1606a1));}if('origin'==_0x252363){const _0x47bc16=_0x22b56d['global']['window']['location']['origin'];return _0x50520e=>new URL(_0x50520e,_0x22b56d['global']['document']['baseURI'])['origin']==_0x47bc16;}return'function'==typeof _0x252363?_0x252363:_0x252363 instanceof RegExp?_0x3afb78=>!(!_0x3afb78['match'](_0x252363)&&!_0x3afb78['replace'](/^https?:\/\//,'')['match'](_0x252363)):()=>!0x1;}function _0x1f55cb(_0x332f29,_0x140f9f){return _0x22b56d['getAncestors'](_0x332f29['target'])['includes'](_0x140f9f);}class UploadcareController extends/* #__PURE__ -- @preserve */
_0x22b56d['ObservableMixin'](){['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x40ec2f,_0x2b94c9,_0x547c51){super(),this['_editor']=_0x40ec2f,this['_editing']=_0x2b94c9,this['_dialog']=_0x40ec2f['plugins']['get'](_0x22b56d['Dialog']),this['_api']=_0x2b94c9['ctxElement']['getAPI'](),this['_type']=_0x547c51,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:_0x4a9678,model:_0x56a719}=this['_editor'],_0x38b913=_0x56a719['document']['selection']['getSelectedElement'](),_0x59b81d=_0x38b913&&(_0x38b913['is']('element','imageBlock')||_0x38b913['is']('element','imageInline'));this['_formView']=new _0x330411(_0x4a9678,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x22b56d['IconUploadcareImageUpload'],'title':_0x13ca4a(_0x4a9678,this['_type'],_0x59b81d?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x22b56d['DialogViewPosition']['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x42fe37=>!_0x1f55cb(_0x42fe37,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x3c92af}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x1c8b03=>{const _0x53afbf=_0x3c92af['length'];for(const _0x20fc11 of _0x3c92af){const _0x9a19c3=_0x20fc11===_0x3c92af[_0x53afbf-0x1],{cdnUrl:_0x3639a2,fileInfo:_0x25a58a}=_0x20fc11;if(!_0x3639a2||!_0x25a58a)continue;const {width:_0x2a47e3,height:_0x309b82}=_0x25a58a['imageInfo'],_0x53e952=_0x55434e(_0x3639a2,_0x2a47e3,_0x309b82),_0x265446=_0x16a3a5(_0x3639a2,_0x53e952['width']),_0x5917eb={'id':_0x25a58a['uuid'],'type':'image','attributes':{'imageDimension':_0x53e952,..._0x265446}};this['_insertAsset'](_0x5917eb,_0x9a19c3,_0x1c8b03);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0xf38996=>{'idle'===_0xf38996['detail']['status']&&!_0xf38996['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&(this['_type']===_0x192609['Local']?this['_api']['setCurrentActivity'](_0x192609['Local']):this['_api']['initFlow']());});}['_insertAsset'](_0x516c65,_0x438d47,_0x30c275){const _0x3b4e9a=this['_editor']['model']['document']['selection'],_0x3c8bb1=_0x3b4e9a['getSelectedElement'](),_0x1b56dc=!(!_0x3c8bb1||!_0x3c8bb1['is']('element','imageInline'));_0x30c275['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x516c65,_0x1b56dc),_0x438d47||_0x30c275['setSelection'](_0x3b4e9a['getLastPosition']());}['_insertImage'](_0x27f0af,_0x60ccc0){const _0x40c274=this['_editor'],{imageDimension:_0x32d8c8,imageFallbackUrl:_0x20344c,imageSources:_0x31eb11}=_0x27f0af['attributes'];_0x40c274['execute']('insertImage',{'imageType':_0x60ccc0?'imageInline':null,'source':{'uploadcareImageId':_0x27f0af['id'],'src':_0x20344c,'sources':_0x31eb11,..._0x32d8c8}});}}class _0x2766cc extends _0x22b56d['Command']{['_editing'];['_controller']=null;static get['requires'](){return[_0x22b56d['Dialog'],UploadcareEditing];}constructor(_0x1b6be1){super(_0x1b6be1),this['_editing']=_0x1b6be1['plugins']['get'](UploadcareEditing);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x5c398e){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new UploadcareController(this['editor'],this['_editing'],_0x5c398e);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}}function _0x24fc79(_0x72677d){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x72677d);}const _0x1146f6=/\W|_/g;function _0x408ba7(_0x30254b){return _0x30254b['split'](_0x1146f6)['map']((_0x2ea97c,_0x20aa56)=>_0x2ea97c['charAt'](0x0)[_0x20aa56>0x0?'toUpperCase':'toLowerCase']()+_0x2ea97c['slice'](0x1))['join']('');}function _0x21f05b(_0x2e196d,{ignoreKeys:_0x2c525f}={'ignoreKeys':[]}){return Array['isArray'](_0x2e196d)?_0x2e196d['map'](_0x5ae5fa=>_0x3bd270(_0x5ae5fa,{'ignoreKeys':_0x2c525f})):_0x2e196d;}function _0x3bd270(_0x1ceb73,{ignoreKeys:_0x21ff41}={'ignoreKeys':[]}){if(Array['isArray'](_0x1ceb73))return _0x21f05b(_0x1ceb73,{'ignoreKeys':_0x21ff41});if(!_0x24fc79(_0x1ceb73))return _0x1ceb73;const _0x8f37d8={};for(const _0x3bce1c of Object['keys'](_0x1ceb73)){let _0x37e124=_0x1ceb73[_0x3bce1c];_0x21ff41['includes'](_0x3bce1c)?_0x8f37d8[_0x3bce1c]=_0x37e124:(_0x24fc79(_0x37e124)?_0x37e124=_0x3bd270(_0x37e124,{'ignoreKeys':_0x21ff41}):Array['isArray'](_0x37e124)&&(_0x37e124=_0x21f05b(_0x37e124,{'ignoreKeys':_0x21ff41})),_0x8f37d8[_0x408ba7(_0x3bce1c)]=_0x37e124);}return _0x8f37d8;}const _0x193e60={'factor':0x2,'time':0x64};function _0x5eb45e(_0x131a13,_0x1b855d=_0x193e60){let _0x336676=0x0;return function _0x1a7c51(_0x2cdc54){const _0x34c0c0=Math['round'](_0x1b855d['time']*_0x1b855d['factor']**_0x336676);return _0x2cdc54({'attempt':_0x336676,'retry':_0x2ccf36=>(_0x4b8163=>new Promise(_0x18463f=>setTimeout(_0x18463f,_0x4b8163)))(_0x2ccf36??_0x34c0c0)['then'](()=>(_0x336676+=0x1,_0x1a7c51(_0x2cdc54)))});}(_0x131a13);}let _0x4ee4db=class _0x425945 extends Error{},_0x34d390=class NetworkError extends _0x4ee4db{['originalProgressEvent'];constructor(_0x3107aa){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x3107aa;}};const _0x5155f2=(_0x5c6e62,_0x13738f)=>{_0x5c6e62&&(_0x5c6e62['aborted']?Promise['resolve']()['then'](_0x13738f):_0x5c6e62['addEventListener']('abort',()=>_0x13738f(),{'once':!0x0}));};let _0x2847e4=class _0x3593ee extends _0x4ee4db{['isCancel']=!0x0;constructor(_0x308e12='Request\x20canceled'){super(_0x308e12),this['name']='CancelError',Object['setPrototypeOf'](this,_0x3593ee['prototype']);}};const _0x53ba5d=({check:_0x4dbda2,interval:_0x517587=0x1f4,timeout:_0x5d99c1,signal:_0x281f2d})=>new Promise((_0x50ffca,_0x21c296)=>{let _0xf6568e,_0x46961f;_0x5155f2(_0x281f2d,()=>{_0xf6568e&&clearTimeout(_0xf6568e),_0x21c296(new _0x2847e4('Poll\x20cancelled'));}),_0x5d99c1&&(_0x46961f=setTimeout(()=>{_0xf6568e&&clearTimeout(_0xf6568e),_0x21c296(new _0x2847e4('Timed\x20out'));},_0x5d99c1));const _0x13972f=()=>{try{Promise['resolve'](_0x4dbda2(_0x281f2d))['then'](_0x166d38=>{_0x166d38?(_0x46961f&&clearTimeout(_0x46961f),_0x50ffca(_0x166d38)):_0xf6568e=setTimeout(_0x13972f,_0x517587);})['catch'](_0x5c64cb=>{_0x46961f&&clearTimeout(_0x46961f),_0x21c296(_0x5c64cb);});}catch(_0x59110a){_0x46961f&&clearTimeout(_0x46961f),_0x21c296(_0x59110a);}};_0xf6568e=setTimeout(_0x13972f,0x0);}),tR='https://ucarecdn.com',_0x2a001f='https://upload.uploadcare.com',_0x2ce6c0=0x1,_0x286cd9=0x3,_0x515663=0x1900000,_0x9f8d1d=0x500000,_0x4900fa=0x4,_0x4276e0='79ae88bd931ea68464d9',_0x513604='application/octet-stream',_0xdd52ba=({method:_0x2faec0,url:_0x17b40c,data:_0x5672a3,headers:_0x289c89={},signal:_0xa90b66,onProgress:_0x3a8711})=>new Promise((_0x4d6ef5,_0x18fb16)=>{const _0x1cc247=new XMLHttpRequest(),_0x1e0e89=_0x2faec0?.['toUpperCase']()||'GET';let _0x5bae84=!0x1;_0x1cc247['open'](_0x1e0e89,_0x17b40c,!0x0),_0x289c89&&Object['entries'](_0x289c89)['forEach'](_0x54fa6e=>{const [_0x5f0e1c,_0x33b7a0]=_0x54fa6e;void 0x0!==_0x33b7a0&&!Array['isArray'](_0x33b7a0)&&_0x1cc247['setRequestHeader'](_0x5f0e1c,_0x33b7a0);}),_0x1cc247['responseType']='text',_0x5155f2(_0xa90b66,()=>{_0x5bae84=!0x0,_0x1cc247['abort'](),_0x18fb16(new _0x2847e4());}),_0x1cc247['onload']=()=>{if(0xc8!=_0x1cc247['status'])_0x18fb16(new Error('Error\x20'+_0x1cc247['status']+':\x20'+_0x1cc247['statusText']));else{const _0x4b8385={'method':_0x1e0e89,'url':_0x17b40c,'data':_0x5672a3,'headers':_0x289c89||void 0x0,'signal':_0xa90b66,'onProgress':_0x3a8711},_0x120565=_0x1cc247['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x47583c={};_0x120565['forEach'](function(_0x5f215e){const _0x4b7956=_0x5f215e['split'](':\x20'),_0x44bc37=_0x4b7956['shift'](),_0x599318=_0x4b7956['join'](':\x20');_0x44bc37&&void 0x0!==_0x44bc37&&(_0x47583c[_0x44bc37]=_0x599318);});const _0x2e234d=_0x1cc247['response'],_0x26ee72=_0x1cc247['status'];_0x4d6ef5({'request':_0x4b8385,'data':_0x2e234d,'headers':_0x47583c,'status':_0x26ee72});}},_0x1cc247['onerror']=_0x5bee78=>{_0x5bae84||_0x18fb16(new _0x34d390(_0x5bee78));},_0x3a8711&&'function'==typeof _0x3a8711&&(_0x1cc247['upload']['onprogress']=_0x5ef7ea=>{_0x5ef7ea['lengthComputable']?_0x3a8711({'isComputable':!0x0,'value':_0x5ef7ea['loaded']/_0x5ef7ea['total']}):_0x3a8711({'isComputable':!0x1});}),_0x5672a3?_0x1cc247['send'](_0x5672a3):_0x1cc247['send']();}),_0x57f7cc=function(_0x12aea9,..._0x5aebe7){return _0x12aea9;},_0x4215dd=_0x57d122=>'undefined'!=typeof Blob&&_0x57d122 instanceof Blob,_0xfa3cad=_0x24bd4d=>'undefined'!=typeof File&&_0x24bd4d instanceof File,_0x2a789f=_0x47a5e3=>!!_0x47a5e3&&'object'==typeof _0x47a5e3&&!Array['isArray'](_0x47a5e3)&&'uri'in _0x47a5e3&&'string'==typeof _0x47a5e3['uri'],_0x2c47ee=_0x5ca9fc=>_0x4215dd(_0x5ca9fc)||_0xfa3cad(_0x5ca9fc)||_0x2a789f(_0x5ca9fc);function _0x1d34c9(_0x4ece68,_0x21668c,_0x3fb8ea){if(Array['isArray'](_0x3fb8ea)){for(const _0x33495d of _0x3fb8ea)_0x1d34c9(_0x4ece68,_0x21668c+'[]',_0x33495d);}else{if((_0x22db74=>!!_0x22db74&&'object'==typeof _0x22db74&&'data'in _0x22db74&&_0x2c47ee(_0x22db74['data']))(_0x3fb8ea)){const {name:_0x590517,contentType:_0x323acf}=_0x3fb8ea,_0x3dac3d=_0x57f7cc(_0x3fb8ea['data'],_0x590517,_0x323acf??_0x513604),_0x3c49c4=(({name:_0x4541f5})=>_0x4541f5?[_0x4541f5]:[])({'name':_0x590517});_0x4ece68['push']([_0x21668c,_0x3dac3d,..._0x3c49c4]);}else{if((_0x4f9df8=>!!_0x4f9df8&&'object'==typeof _0x4f9df8&&!Array['isArray'](_0x4f9df8))(_0x3fb8ea)){for(const [_0x1ed60c,_0x46074f]of Object['entries'](_0x3fb8ea))void 0x0!==_0x46074f&&_0x4ece68['push']([_0x21668c+'['+_0x1ed60c+']',String(_0x46074f)]);}else(_0x49dc9f=>'string'==typeof _0x49dc9f||'number'==typeof _0x49dc9f||void 0x0===_0x49dc9f)(_0x3fb8ea)&&_0x3fb8ea&&_0x4ece68['push']([_0x21668c,_0x3fb8ea['toString']()]);}}}function _0xea959b(_0x2abb18){const _0x17215e=new FormData(),_0xdfb159=function(_0x4f3525){const _0x17411a=[];for(const [_0x49ad1a,_0x17a843]of Object['entries'](_0x4f3525))_0x1d34c9(_0x17411a,_0x49ad1a,_0x17a843);return _0x17411a;}(_0x2abb18);for(const _0x3a1593 of _0xdfb159){const [_0xdf9be2,_0x4b1b70,..._0x3d2072]=_0x3a1593;_0x17215e['append'](_0xdf9be2,_0x4b1b70,..._0x3d2072);}return _0x17215e;}let _0x5cccb3=class _0x402ca5 extends _0x4ee4db{['code'];['request'];['response'];['headers'];constructor(_0x72d71c,_0x238376,_0x347800,_0x4a2dbb,_0x51d15e){super(),this['name']='UploadError',this['message']=_0x72d71c,this['code']=_0x238376,this['request']=_0x347800,this['response']=_0x4a2dbb,this['headers']=_0x51d15e,Object['setPrototypeOf'](this,_0x402ca5['prototype']);}};const _0x4fe930=(_0x169708,_0x2b114e,_0x16767f)=>{const _0x1f71d2=new URL(_0x169708);return _0x1f71d2['pathname']=(_0x1f71d2['pathname']+_0x2b114e)['replace']('//','/'),_0x16767f&&(_0x1f71d2['search']=(_0x27ba12=>{const _0x41e27e=new URLSearchParams();for(const [_0x579732,_0xaf6b70]of Object['entries'](_0x27ba12))_0xaf6b70&&'object'==typeof _0xaf6b70&&!Array['isArray'](_0xaf6b70)?Object['entries'](_0xaf6b70)['filter'](_0x1f1e1d=>_0x1f1e1d[0x1]??!0x1)['forEach'](_0x4e6290=>_0x41e27e['set'](_0x579732+'['+_0x4e6290[0x0]+']',String(_0x4e6290[0x1]))):Array['isArray'](_0xaf6b70)?_0xaf6b70['forEach'](_0xc3e5d6=>{_0x41e27e['append'](_0x579732+'[]',_0xc3e5d6);}):'string'==typeof _0xaf6b70&&_0xaf6b70?_0x41e27e['set'](_0x579732,_0xaf6b70):'number'==typeof _0xaf6b70&&_0x41e27e['set'](_0x579732,_0xaf6b70['toString']());return _0x41e27e['toString']();})(_0x16767f)),_0x1f71d2['toString']();};function _0xf99fd1(_0x86b05f){return function({libraryName:_0x3207ce,libraryVersion:_0x3e7fac,userAgent:_0xe4ace5,publicKey:_0x1527bc='',integration:_0x142327=''}){const _0x1841e9='JavaScript';return'string'==typeof _0xe4ace5?_0xe4ace5:'function'==typeof _0xe4ace5?_0xe4ace5({'publicKey':_0x1527bc,'libraryName':_0x3207ce,'libraryVersion':_0x3e7fac,'languageName':_0x1841e9,'integration':_0x142327}):[_0x3207ce,_0x3e7fac,_0x1527bc]['filter'](Boolean)['join']('/')+'\x20('+[_0x1841e9,_0x142327]['filter'](Boolean)['join'](';\x20')+')';}({'libraryName':'UploadcareUploadClient','libraryVersion':'6.14.3',..._0x86b05f});}function _0x468261(_0xa85341,_0x5bb839){const {retryThrottledRequestMaxTimes:_0x54e0e3,retryNetworkErrorMaxTimes:_0x43e0a9}=_0x5bb839;return _0x5eb45e(({attempt:_0x488d3d,retry:_0x4dcb95})=>_0xa85341()['catch'](_0x31d134=>{if('response'in _0x31d134&&'RequestThrottledError'===_0x31d134?.['code']&&_0x488d3d<_0x54e0e3)return _0x4dcb95(function(_0x16b896){const {headers:_0x1166dd}=_0x16b896||{};if(!_0x1166dd||'string'!=typeof _0x1166dd['retry-after'])return 0x3a98;const _0x501e86=parseInt(_0x1166dd['retry-after'],0xa);return Number['isFinite'](_0x501e86)?0x3e8*_0x501e86:0x3a98;}(_0x31d134));if(_0x31d134 instanceof _0x34d390&&_0x488d3d<_0x43e0a9)return _0x4dcb95(0x3e8*(_0x488d3d+0x1));throw _0x31d134;}));}const _0x4f9abe=_0x1f11bc=>{let _0x5058dc='';return(_0x4215dd(_0x1f11bc)||_0xfa3cad(_0x1f11bc)||_0x2a789f(_0x1f11bc))&&(_0x5058dc=_0x1f11bc['type']),_0x5058dc||_0x513604;},_0x38af90=_0x366f74=>{let _0x2764e6='';return _0xfa3cad(_0x366f74)&&_0x366f74['name']?_0x2764e6=_0x366f74['name']:_0x4215dd(_0x366f74)?_0x2764e6='':_0x2a789f(_0x366f74)&&_0x366f74['name']&&(_0x2764e6=_0x366f74['name']),_0x2764e6||'original';};function _0x480ee8(_0x49569d){return void 0x0===_0x49569d||'auto'===_0x49569d?'auto':_0x49569d?'1':'0';}var _0x577813,_0x162bfa;!function(_0x1b559b){_0x1b559b['Token']='token',_0x1b559b['FileInfo']='file_info';}(_0x577813||(_0x577813={})),function(_0x22dd9b){_0x22dd9b['Unknown']='unknown',_0x22dd9b['Waiting']='waiting',_0x22dd9b['Progress']='progress',_0x22dd9b['Error']='error',_0x22dd9b['Success']='success';}(_0x162bfa||(_0x162bfa={}));function _0x4c8ff5(_0x5a0681,{publicKey:_0x4abab6,baseURL:_0x13ad2c=_0x2a001f,signal:_0x109998,integration:_0x1ed576,userAgent:_0x3618f5,retryThrottledRequestMaxTimes:_0x37481e=_0x2ce6c0,retryNetworkErrorMaxTimes:_0x8bc54a=_0x286cd9}={}){return _0x468261(()=>_0xdd52ba({'method':'GET','headers':_0x4abab6?{'X-UC-User-Agent':_0xf99fd1({'publicKey':_0x4abab6,'integration':_0x1ed576,'userAgent':_0x3618f5})}:void 0x0,'url':_0x4fe930(_0x13ad2c,'/from_url/status/',{'jsonerrors':0x1,'token':_0x5a0681}),'signal':_0x109998})['then'](({data:_0x272574,headers:_0x58aaa8,request:_0x26b18d})=>{const _0x1bc928=_0x3bd270(JSON['parse'](_0x272574));if('error'in _0x1bc928&&!(_0x4dd1df=>'status'in _0x4dd1df&&_0x4dd1df['status']===_0x162bfa['Error'])(_0x1bc928))throw new _0x5cccb3(_0x1bc928['error']['content'],_0x1bc928['error']['errorCode'],_0x26b18d,_0x1bc928,_0x58aaa8);return _0x1bc928;}),{'retryNetworkErrorMaxTimes':_0x8bc54a,'retryThrottledRequestMaxTimes':_0x37481e});}function _0x23bbac(_0xc5175,{publicKey:_0x4e8564,baseURL:_0x25f6e9=_0x2a001f,signal:_0x40c21d,source:_0x5efc29,integration:_0x306729,userAgent:_0x194e63,retryThrottledRequestMaxTimes:_0x2a0ea9=_0x2ce6c0,retryNetworkErrorMaxTimes:_0x2df17a=_0x286cd9}){return _0x468261(()=>_0xdd52ba({'method':'GET','headers':{'X-UC-User-Agent':_0xf99fd1({'publicKey':_0x4e8564,'integration':_0x306729,'userAgent':_0x194e63})},'url':_0x4fe930(_0x25f6e9,'/info/',{'jsonerrors':0x1,'pub_key':_0x4e8564,'file_id':_0xc5175,'source':_0x5efc29}),'signal':_0x40c21d})['then'](({data:_0xa6712b,headers:_0x4d0663,request:_0x3d54f6})=>{const _0x3fb2af=_0x3bd270(JSON['parse'](_0xa6712b));if('error'in _0x3fb2af)throw new _0x5cccb3(_0x3fb2af['error']['content'],_0x3fb2af['error']['errorCode'],_0x3d54f6,_0x3fb2af,_0x4d0663);return _0x3fb2af;}),{'retryThrottledRequestMaxTimes':_0x2a0ea9,'retryNetworkErrorMaxTimes':_0x2df17a});}function _0x362150(_0xe7eb8a,{publicKey:_0xed2bc2,baseURL:_0x1bbced,source:_0x51eba6,integration:_0x418522,userAgent:_0x2e6367,retryThrottledRequestMaxTimes:_0x5f3678,retryNetworkErrorMaxTimes:_0x1fb3e4,signal:_0x37c292,onProgress:_0x166f4f}){return _0x53ba5d({'check':_0x1b7c15=>_0x23bbac(_0xe7eb8a,{'publicKey':_0xed2bc2,'baseURL':_0x1bbced,'signal':_0x1b7c15,'source':_0x51eba6,'integration':_0x418522,'userAgent':_0x2e6367,'retryThrottledRequestMaxTimes':_0x5f3678,'retryNetworkErrorMaxTimes':_0x1fb3e4})['then'](_0x421af0=>_0x421af0['isReady']?_0x421af0:(_0x166f4f&&_0x166f4f({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x37c292});}let _0x2778f4=class _0x5dabbc{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x593028,{baseCDN:_0x39d22d=tR,fileName:_0x450125}={}){const {uuid:_0x4befea,s3Bucket:_0x2497ea}=_0x593028,_0x448436=_0x4fe930(_0x39d22d,_0x4befea+'/'),_0x221ee1=_0x2497ea?_0x4fe930('https://'+_0x2497ea+'.s3.amazonaws.com/',_0x4befea+'/'+_0x593028['filename']):null;this['uuid']=_0x4befea,this['name']=_0x450125||_0x593028['filename'],this['size']=_0x593028['size'],this['isStored']=_0x593028['isStored'],this['isImage']=_0x593028['isImage'],this['mimeType']=_0x593028['mimeType'],this['cdnUrl']=_0x448436,this['originalFilename']=_0x593028['originalFilename'],this['imageInfo']=_0x593028['imageInfo'],this['videoInfo']=_0x593028['videoInfo'],this['contentInfo']=_0x593028['contentInfo'],this['metadata']=_0x593028['metadata']||null,this['s3Bucket']=_0x2497ea||null,this['s3Url']=_0x221ee1,function(_0x3be6b7){return'defaultEffects'in _0x3be6b7;}(_0x593028)&&(this['defaultEffects']=_0x593028['defaultEffects']);}};const _0x59afea=(_0x107d54,{publicKey:_0x2dcc54,fileName:_0x32298b,baseURL:_0x32e642,secureSignature:_0x33c04d,secureExpire:_0x565939,store:_0x34e1b7,contentType:_0x3a53d4,signal:_0x417213,onProgress:_0x2ddc9a,source:_0x60518e,integration:_0x3e1354,userAgent:_0x5af864,retryThrottledRequestMaxTimes:_0x488d5a,retryNetworkErrorMaxTimes:_0x497453,baseCDN:_0x22b468,metadata:_0x1d7dea})=>function(_0x2149bf,{publicKey:_0x3a759c,fileName:_0x2aff84,contentType:_0x34dac7,baseURL:_0x31313c=_0x2a001f,secureSignature:_0x4df956,secureExpire:_0x7908b6,store:_0xfe3ce3,signal:_0x3b2bdd,onProgress:_0x512009,source:_0x2751b7='local',integration:_0x14467a,userAgent:_0x174f77,retryThrottledRequestMaxTimes:_0x13ecdd=_0x2ce6c0,retryNetworkErrorMaxTimes:_0x16ca9a=_0x286cd9,metadata:_0x2fedca}){return _0x468261(()=>_0xdd52ba({'method':'POST','url':_0x4fe930(_0x31313c,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0xf99fd1({'publicKey':_0x3a759c,'integration':_0x14467a,'userAgent':_0x174f77})},'data':_0xea959b({'file':{'data':_0x2149bf,'name':_0x2aff84||_0x38af90(_0x2149bf),'contentType':_0x34dac7||_0x4f9abe(_0x2149bf)},'UPLOADCARE_PUB_KEY':_0x3a759c,'UPLOADCARE_STORE':_0x480ee8(_0xfe3ce3),'signature':_0x4df956,'expire':_0x7908b6,'source':_0x2751b7,'metadata':_0x2fedca}),'signal':_0x3b2bdd,'onProgress':_0x512009})['then'](({data:_0x4a57a9,headers:_0x5ab195,request:_0x561f79})=>{const _0x1b5acc=_0x3bd270(JSON['parse'](_0x4a57a9));if('error'in _0x1b5acc)throw new _0x5cccb3(_0x1b5acc['error']['content'],_0x1b5acc['error']['errorCode'],_0x561f79,_0x1b5acc,_0x5ab195);return _0x1b5acc;}),{'retryNetworkErrorMaxTimes':_0x16ca9a,'retryThrottledRequestMaxTimes':_0x13ecdd});}(_0x107d54,{'publicKey':_0x2dcc54,'fileName':_0x32298b,'contentType':_0x3a53d4,'baseURL':_0x32e642,'secureSignature':_0x33c04d,'secureExpire':_0x565939,'store':_0x34e1b7,'signal':_0x417213,'onProgress':_0x2ddc9a,'source':_0x60518e,'integration':_0x3e1354,'userAgent':_0x5af864,'retryThrottledRequestMaxTimes':_0x488d5a,'retryNetworkErrorMaxTimes':_0x497453,'metadata':_0x1d7dea})['then'](({file:_0x13dc2a})=>_0x362150(_0x13dc2a,{'publicKey':_0x2dcc54,'baseURL':_0x32e642,'source':_0x60518e,'integration':_0x3e1354,'userAgent':_0x5af864,'retryThrottledRequestMaxTimes':_0x488d5a,'retryNetworkErrorMaxTimes':_0x497453,'onProgress':_0x2ddc9a,'signal':_0x417213}))['then'](_0x4c1417=>new _0x2778f4(_0x4c1417,{'baseCDN':_0x22b468})),_0x235577=(_0x2400e8,{signal:_0x4fb029}={})=>{let _0x320246=null,_0x464e7e=null;const _0x278b97=_0x2400e8['map'](()=>new AbortController());return _0x5155f2(_0x4fb029,()=>{_0x278b97['forEach'](_0x46579f=>_0x46579f['abort']());}),Promise['all'](_0x2400e8['map']((_0x5528ca,_0x3f29c7)=>{const _0x1cf19d=(_0x2391d3=>()=>{_0x464e7e=_0x2391d3,_0x278b97['forEach']((_0x5c8e10,_0xfde021)=>_0xfde021!==_0x2391d3&&_0x5c8e10['abort']());})(_0x3f29c7);return Promise['resolve']()['then'](()=>_0x5528ca({'stopRace':_0x1cf19d,'signal':_0x278b97[_0x3f29c7]['signal']}))['then'](_0x391cc3=>(_0x1cf19d(),_0x391cc3))['catch'](_0x1f5f3f=>(_0x320246=_0x1f5f3f,null));}))['then'](_0x499530=>{if(null===_0x464e7e)throw _0x320246;return _0x499530[_0x464e7e];});};var _0x344ff3=window['WebSocket'];let _0x515117=class Events{['events']=Object['create']({});['emit'](_0x5c5942,_0xd909ea){this['events'][_0x5c5942]?.['forEach'](_0x2214d3=>_0x2214d3(_0xd909ea));}['on'](_0x253e44,_0x935fc3){this['events'][_0x253e44]=this['events'][_0x253e44]||[],this['events'][_0x253e44]['push'](_0x935fc3);}['off'](_0x33e7ed,_0x11b6d6){this['events'][_0x33e7ed]=_0x11b6d6?this['events'][_0x33e7ed]['filter'](_0x1df74f=>_0x1df74f!==_0x11b6d6):[];}},_0x1ac777=class _0x290f1b{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new _0x515117();['disconnectTimeoutId']=null;constructor(_0xff5bf8,_0xe2bb0e=0x7530){this['key']=_0xff5bf8,this['disconnectTime']=_0xe2bb0e;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x323d81='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new _0x344ff3(_0x323d81),this['ws']['addEventListener']('error',_0x336f4a=>{this['emmitter']['emit']('error',new Error(_0x336f4a['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x455e99=>this['send'](_0x455e99['event'],_0x455e99['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x483c5e=>{const _0x3b36d6=JSON['parse'](_0x483c5e['data']['toString']());switch(_0x3b36d6['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'](_0x3b36d6['channel'],((_0x3206dc,_0x313124)=>'success'===_0x3206dc?{'status':_0x162bfa['Success'],..._0x313124}:'progress'===_0x3206dc?{'status':_0x162bfa['Progress'],..._0x313124}:{'status':_0x162bfa['Error'],..._0x313124})(_0x3b36d6['event'],JSON['parse'](_0x3b36d6['data'])));}});}}['disconnect'](){const _0xa79ced=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0xa79ced();},this['disconnectTime']):_0xa79ced();}['send'](_0x14c1da,_0x1555b8){const _0x380747=JSON['stringify']({'event':_0x14c1da,'data':_0x1555b8});this['ws']?.['send'](_0x380747);}['subscribe'](_0x40639f,_0x3cf30e){this['subscribers']+=0x1,this['connect']();const _0x552562='task-status-'+_0x40639f,_0xed9a72={'event':'pusher:subscribe','data':{'channel':_0x552562}};this['emmitter']['on'](_0x552562,_0x3cf30e),this['isConnected']?this['send'](_0xed9a72['event'],_0xed9a72['data']):this['queue']['push'](_0xed9a72);}['unsubscribe'](_0x2f7e96){this['subscribers']-=0x1;const _0x1c1e0b='task-status-'+_0x2f7e96,_0x5ce2a8={'event':'pusher:unsubscribe','data':{'channel':_0x1c1e0b}};this['emmitter']['off'](_0x1c1e0b),this['isConnected']?this['send'](_0x5ce2a8['event'],_0x5ce2a8['data']):this['queue']=this['queue']['filter'](_0x3c3405=>_0x3c3405['data']['channel']!==_0x1c1e0b),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x18cd67){return this['emmitter']['on']('error',_0x18cd67),()=>this['emmitter']['off']('error',_0x18cd67);}},_0x39d4d8=null;const _0x5cbc4d=_0x3fb013=>{if(!_0x39d4d8){const _0x2e0a9e='undefined'==typeof window?0x0:0x7530;_0x39d4d8=new _0x1ac777(_0x3fb013,_0x2e0a9e);}return _0x39d4d8;},_0x1ac2c8=(_0x194b11,{publicKey:_0x3dfdf8,fileName:_0xe0991b,baseURL:_0x31a4d0,baseCDN:_0x42b79b,checkForUrlDuplicates:_0x30bd45,saveUrlForRecurrentUploads:_0x9cec69,secureSignature:_0x351031,secureExpire:_0xaf0311,store:_0x566b79,signal:_0x3e81f8,onProgress:_0x3fdbae,source:_0x1a068e,integration:_0x2a0d1d,userAgent:_0xfb32ad,retryThrottledRequestMaxTimes:_0x2448d9,pusherKey:_0x171d99=_0x4276e0,metadata:_0x17fbb0})=>{return Promise['resolve']((_0x35e86f=_0x171d99,void _0x5cbc4d(_0x35e86f)['connect']()))['then'](()=>function(_0x9d4bc8,{publicKey:_0x557be,baseURL:_0x17c48c=_0x2a001f,store:_0x30c60d,fileName:_0x67bc6d,checkForUrlDuplicates:_0x1bf300,saveUrlForRecurrentUploads:_0x5c1e6e,secureSignature:_0x28af1c,secureExpire:_0x3626b3,source:_0x557d52='url',signal:_0x30d6b0,integration:_0x38e0b7,userAgent:_0x58ffcb,retryThrottledRequestMaxTimes:_0x54403b=_0x2ce6c0,retryNetworkErrorMaxTimes:_0x20e7dd=_0x286cd9,metadata:_0x4d916b}){return _0x468261(()=>_0xdd52ba({'method':'POST','headers':{'X-UC-User-Agent':_0xf99fd1({'publicKey':_0x557be,'integration':_0x38e0b7,'userAgent':_0x58ffcb})},'url':_0x4fe930(_0x17c48c,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x557be,'source_url':_0x9d4bc8,'store':_0x480ee8(_0x30c60d),'filename':_0x67bc6d,'check_URL_duplicates':_0x1bf300?0x1:void 0x0,'save_URL_duplicates':_0x5c1e6e?0x1:void 0x0,'signature':_0x28af1c,'expire':_0x3626b3,'source':_0x557d52,'metadata':_0x4d916b}),'signal':_0x30d6b0})['then'](({data:_0x46ed21,headers:_0x1cee0a,request:_0x2b0466})=>{const _0x56c20d=_0x3bd270(JSON['parse'](_0x46ed21));if('error'in _0x56c20d)throw new _0x5cccb3(_0x56c20d['error']['content'],_0x56c20d['error']['errorCode'],_0x2b0466,_0x56c20d,_0x1cee0a);return _0x56c20d;}),{'retryNetworkErrorMaxTimes':_0x20e7dd,'retryThrottledRequestMaxTimes':_0x54403b});}(_0x194b11,{'publicKey':_0x3dfdf8,'fileName':_0xe0991b,'baseURL':_0x31a4d0,'checkForUrlDuplicates':_0x30bd45,'saveUrlForRecurrentUploads':_0x9cec69,'secureSignature':_0x351031,'secureExpire':_0xaf0311,'store':_0x566b79,'signal':_0x3e81f8,'source':_0x1a068e,'integration':_0x2a0d1d,'userAgent':_0xfb32ad,'retryThrottledRequestMaxTimes':_0x2448d9,'metadata':_0x17fbb0}))['catch'](_0x462f3c=>{const _0xb84cc=_0x5cbc4d(_0x171d99);return _0xb84cc?.['disconnect'](),Promise['reject'](_0x462f3c);})['then'](_0x6b2baa=>_0x6b2baa['type']===_0x577813['FileInfo']?_0x6b2baa:_0x235577([({signal:_0x534cb9})=>function({token:_0x524b2b,publicKey:_0xf867a2,baseURL:_0x2025d7,integration:_0x3962be,userAgent:_0x33755a,retryThrottledRequestMaxTimes:_0xcb3444,retryNetworkErrorMaxTimes:_0x297fe5,onProgress:_0x9e3ac7,signal:_0x4aa859}){return _0x53ba5d({'check':_0x539493=>_0x4c8ff5(_0x524b2b,{'publicKey':_0xf867a2,'baseURL':_0x2025d7,'integration':_0x3962be,'userAgent':_0x33755a,'retryThrottledRequestMaxTimes':_0xcb3444,'retryNetworkErrorMaxTimes':_0x297fe5,'signal':_0x539493})['then'](_0x4b71e1=>{switch(_0x4b71e1['status']){case _0x162bfa['Error']:return new _0x5cccb3(_0x4b71e1['error'],_0x4b71e1['errorCode']);case _0x162bfa['Waiting']:return!0x1;case _0x162bfa['Unknown']:return new _0x5cccb3('Token\x20\x22'+_0x524b2b+'\x22\x20was\x20not\x20found.');case _0x162bfa['Progress']:return _0x9e3ac7&&('unknown'===_0x4b71e1['total']?_0x9e3ac7({'isComputable':!0x1}):_0x9e3ac7({'isComputable':!0x0,'value':_0x4b71e1['done']/_0x4b71e1['total']})),!0x1;case _0x162bfa['Success']:return _0x9e3ac7&&_0x9e3ac7({'isComputable':!0x0,'value':_0x4b71e1['done']/_0x4b71e1['total']}),_0x4b71e1;default:throw new Error('Unknown\x20status');}}),'signal':_0x4aa859});}({'token':_0x6b2baa['token'],'publicKey':_0x3dfdf8,'baseURL':_0x31a4d0,'integration':_0x2a0d1d,'userAgent':_0xfb32ad,'retryThrottledRequestMaxTimes':_0x2448d9,'onProgress':_0x3fdbae,'signal':_0x534cb9}),({signal:_0x1e2b95})=>(({token:_0x1018d9,pusherKey:_0x45f461,signal:_0x1b4c2a,onProgress:_0x5b216e})=>new Promise((_0x1b2d95,_0x57bac7)=>{const _0x74156f=_0x5cbc4d(_0x45f461),_0x407ed0=_0x74156f['onError'](_0x57bac7),_0x1d7be3=()=>{_0x407ed0(),_0x74156f['unsubscribe'](_0x1018d9);};_0x5155f2(_0x1b4c2a,()=>{_0x1d7be3(),_0x57bac7(new _0x2847e4('pusher\x20cancelled'));}),_0x74156f['subscribe'](_0x1018d9,_0x47d240=>{switch(_0x47d240['status']){case _0x162bfa['Progress']:_0x5b216e&&('unknown'===_0x47d240['total']?_0x5b216e({'isComputable':!0x1}):_0x5b216e({'isComputable':!0x0,'value':_0x47d240['done']/_0x47d240['total']}));break;case _0x162bfa['Success']:_0x1d7be3(),_0x5b216e&&_0x5b216e({'isComputable':!0x0,'value':_0x47d240['done']/_0x47d240['total']}),_0x1b2d95(_0x47d240);break;case _0x162bfa['Error']:_0x1d7be3(),_0x57bac7(new _0x5cccb3(_0x47d240['msg'],_0x47d240['error_code']));}});}))({'token':_0x6b2baa['token'],'pusherKey':_0x171d99,'signal':_0x1e2b95,'onProgress':_0x3fdbae})],{'signal':_0x3e81f8}))['then'](_0x1822d6=>{if(_0x1822d6 instanceof _0x5cccb3)throw _0x1822d6;return _0x1822d6;})['then'](_0x30f6d5=>_0x362150(_0x30f6d5['uuid'],{'publicKey':_0x3dfdf8,'baseURL':_0x31a4d0,'integration':_0x2a0d1d,'userAgent':_0xfb32ad,'retryThrottledRequestMaxTimes':_0x2448d9,'onProgress':_0x3fdbae,'signal':_0x3e81f8}))['then'](_0x256027=>new _0x2778f4(_0x256027,{'baseCDN':_0x42b79b}));var _0x35e86f;},_0x3a5ed1=new WeakMap(),_0x3ee877=async _0x8e3435=>{if(_0xfa3cad(_0x8e3435)||_0x4215dd(_0x8e3435))return _0x8e3435['size'];if(_0x2a789f(_0x8e3435))return(await(async _0x3d2b21=>{if(_0x3a5ed1['has'](_0x3d2b21))return _0x3a5ed1['get'](_0x3d2b21);const _0x1c53f2=await fetch(_0x3d2b21['uri'])['then'](_0x324e66=>_0x324e66['blob']());return _0x3a5ed1['set'](_0x3d2b21,_0x1c53f2),_0x1c53f2;})(_0x8e3435))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},_0x5a0efe=async(_0x54caf8,_0x48fe58,_0x22d2e1)=>_0x175458=>((_0xa11ae6,_0x1bad32,_0x5cd64a,_0x1d8fd1)=>{const _0x1a32ca=_0x1d8fd1*_0x1bad32,_0x2362c2=Math['min'](_0x1a32ca+_0x1d8fd1,_0x5cd64a);return _0xa11ae6['slice'](_0x1a32ca,_0x2362c2);})(_0x54caf8,_0x175458,_0x48fe58,_0x22d2e1),_0x14d7ec=(_0x3c63f2,_0x428e32,{publicKey:_0x61d213,contentType:_0x14233c,onProgress:_0x1e5fdb,signal:_0x1e8ebb,integration:_0x157dea,retryThrottledRequestMaxTimes:_0x56ad5e,retryNetworkErrorMaxTimes:_0x100463})=>function(_0x118041,_0x300cf6,{contentType:_0x6d96e0,signal:_0x1d630f,onProgress:_0x485090,retryThrottledRequestMaxTimes:_0x162313=_0x2ce6c0,retryNetworkErrorMaxTimes:_0x3513b4=_0x286cd9}){return _0x468261(()=>_0xdd52ba({'method':'PUT','url':_0x300cf6,'data':_0x118041,'onProgress':_0x485090,'signal':_0x1d630f,'headers':{'Content-Type':_0x6d96e0||_0x513604}})['then'](_0x15e3dc=>(_0x485090&&_0x485090({'isComputable':!0x0,'value':0x1}),_0x15e3dc))['then'](({status:_0x5b3e7c})=>({'code':_0x5b3e7c})),{'retryThrottledRequestMaxTimes':_0x162313,'retryNetworkErrorMaxTimes':_0x3513b4});}(_0x3c63f2,_0x428e32,{'contentType':_0x14233c,'onProgress':_0x1e5fdb,'signal':_0x1e8ebb,'retryThrottledRequestMaxTimes':_0x56ad5e,'retryNetworkErrorMaxTimes':_0x100463}),_0x179358=async(_0x2bf09c,{publicKey:_0xe9fc13,fileName:_0x35319b,fileSize:_0x2fa088,baseURL:_0x5e17fc,secureSignature:_0x52d129,secureExpire:_0x595335,store:_0x4fe64c,signal:_0x35aa83,onProgress:_0x52ab13,source:_0x49aa50,integration:_0x530f7b,userAgent:_0x560001,retryThrottledRequestMaxTimes:_0x567eaa,retryNetworkErrorMaxTimes:_0x30164c,contentType:_0x538b6d,multipartChunkSize:_0x458dde=_0x9f8d1d,maxConcurrentRequests:_0x2e9981=_0x4900fa,baseCDN:_0x2eebde,metadata:_0x28976c})=>{const _0x47537e=_0x2fa088??await _0x3ee877(_0x2bf09c);let _0x2c1108;const _0x50bfec=(_0x5aeea3,_0x3883b4)=>{if(!_0x52ab13)return;_0x2c1108||(_0x2c1108=Array(_0x5aeea3)['fill'](0x0));const _0x526027=_0x4a10cd=>_0x4a10cd['reduce']((_0x309998,_0x34a776)=>_0x309998+_0x34a776,0x0);return _0x326bf5=>{_0x326bf5['isComputable']&&(_0x2c1108[_0x3883b4]=_0x326bf5['value'],_0x52ab13({'isComputable':!0x0,'value':_0x526027(_0x2c1108)/_0x5aeea3}));};};return _0x538b6d||=_0x4f9abe(_0x2bf09c),function(_0x5a989b,{publicKey:_0x14e8d4,contentType:_0x3e8a9a,fileName:_0x1241b2,multipartChunkSize:_0x377bbc=_0x9f8d1d,baseURL:_0x5e0408='',secureSignature:_0x11023a,secureExpire:_0x13a7a5,store:_0x391f21,signal:_0x3dfab6,source:_0x559d20='local',integration:_0x266112,userAgent:_0x5699a2,retryThrottledRequestMaxTimes:_0xbcba83=_0x2ce6c0,retryNetworkErrorMaxTimes:_0x3eb128=_0x286cd9,metadata:_0x3f6e54}){return _0x468261(()=>_0xdd52ba({'method':'POST','url':_0x4fe930(_0x5e0408,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0xf99fd1({'publicKey':_0x14e8d4,'integration':_0x266112,'userAgent':_0x5699a2})},'data':_0xea959b({'filename':_0x1241b2,'size':_0x5a989b,'content_type':_0x3e8a9a||_0x513604,'part_size':_0x377bbc,'UPLOADCARE_STORE':_0x480ee8(_0x391f21),'UPLOADCARE_PUB_KEY':_0x14e8d4,'signature':_0x11023a,'expire':_0x13a7a5,'source':_0x559d20,'metadata':_0x3f6e54}),'signal':_0x3dfab6})['then'](({data:_0x38b7b9,headers:_0x579acc,request:_0x244ebf})=>{const _0x14b4bd=_0x3bd270(JSON['parse'](_0x38b7b9));if('error'in _0x14b4bd)throw new _0x5cccb3(_0x14b4bd['error']['content'],_0x14b4bd['error']['errorCode'],_0x244ebf,_0x14b4bd,_0x579acc);return _0x14b4bd['parts']=Object['keys'](_0x14b4bd['parts'])['map'](_0x183d97=>_0x14b4bd['parts'][Number(_0x183d97)]),_0x14b4bd;}),{'retryThrottledRequestMaxTimes':_0xbcba83,'retryNetworkErrorMaxTimes':_0x3eb128});}(_0x47537e,{'publicKey':_0xe9fc13,'contentType':_0x538b6d,'fileName':_0x35319b||_0x38af90(_0x2bf09c),'baseURL':_0x5e17fc,'secureSignature':_0x52d129,'secureExpire':_0x595335,'store':_0x4fe64c,'signal':_0x35aa83,'source':_0x49aa50,'integration':_0x530f7b,'userAgent':_0x560001,'retryThrottledRequestMaxTimes':_0x567eaa,'retryNetworkErrorMaxTimes':_0x30164c,'metadata':_0x28976c,'multipartChunkSize':_0x458dde})['then'](async({uuid:_0x16aa41,parts:_0x403b5f})=>{const _0x45470a=await _0x5a0efe(_0x2bf09c,_0x47537e,_0x458dde);return Promise['all']([_0x16aa41,(_0xf5b441=_0x2e9981,_0x487c52=_0x403b5f['map']((_0x52b455,_0x3469fe)=>()=>_0x14d7ec(_0x45470a(_0x3469fe),_0x52b455,{'publicKey':_0xe9fc13,'contentType':_0x538b6d,'onProgress':_0x50bfec(_0x403b5f['length'],_0x3469fe),'signal':_0x35aa83,'integration':_0x530f7b,'retryThrottledRequestMaxTimes':_0x567eaa,'retryNetworkErrorMaxTimes':_0x30164c})),new Promise((_0x2db051,_0x36da98)=>{const _0x52fb3f=[];let _0x348c4c=!0x1,_0x17bfe5=_0x487c52['length'];const _0x5b51bb=[..._0x487c52],_0x56bf1d=()=>{const _0x584c5a=_0x487c52['length']-_0x5b51bb['length'],_0x19ae23=_0x5b51bb['shift']();_0x19ae23&&_0x19ae23()['then'](_0x507932=>{_0x348c4c||(_0x52fb3f[_0x584c5a]=_0x507932,_0x17bfe5-=0x1,_0x17bfe5?_0x56bf1d():_0x2db051(_0x52fb3f));})['catch'](_0x4b0e31=>{_0x348c4c=!0x0,_0x36da98(_0x4b0e31);});};for(let _0x2af4c2=0x0;_0x2af4c2<_0xf5b441;_0x2af4c2++)_0x56bf1d();}))]);var _0xf5b441,_0x487c52;})['then'](([_0x840ab4])=>function(_0x488219,{publicKey:_0x40eea5,baseURL:_0x1dcde4=_0x2a001f,source:_0x581c17='local',signal:_0x411f18,integration:_0x514bf5,userAgent:_0x492aab,retryThrottledRequestMaxTimes:_0x18527f=_0x2ce6c0,retryNetworkErrorMaxTimes:_0x4bf11d=_0x286cd9}){return _0x468261(()=>_0xdd52ba({'method':'POST','url':_0x4fe930(_0x1dcde4,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0xf99fd1({'publicKey':_0x40eea5,'integration':_0x514bf5,'userAgent':_0x492aab})},'data':_0xea959b({'uuid':_0x488219,'UPLOADCARE_PUB_KEY':_0x40eea5,'source':_0x581c17}),'signal':_0x411f18})['then'](({data:_0x1a9129,headers:_0xdc02e7,request:_0x2bc7b5})=>{const _0x5da44a=_0x3bd270(JSON['parse'](_0x1a9129));if('error'in _0x5da44a)throw new _0x5cccb3(_0x5da44a['error']['content'],_0x5da44a['error']['errorCode'],_0x2bc7b5,_0x5da44a,_0xdc02e7);return _0x5da44a;}),{'retryThrottledRequestMaxTimes':_0x18527f,'retryNetworkErrorMaxTimes':_0x4bf11d});}(_0x840ab4,{'publicKey':_0xe9fc13,'baseURL':_0x5e17fc,'source':_0x49aa50,'integration':_0x530f7b,'userAgent':_0x560001,'retryThrottledRequestMaxTimes':_0x567eaa,'retryNetworkErrorMaxTimes':_0x30164c}))['then'](_0x5444d4=>_0x5444d4['isReady']?_0x5444d4:_0x362150(_0x5444d4['uuid'],{'publicKey':_0xe9fc13,'baseURL':_0x5e17fc,'source':_0x49aa50,'integration':_0x530f7b,'userAgent':_0x560001,'retryThrottledRequestMaxTimes':_0x567eaa,'retryNetworkErrorMaxTimes':_0x30164c,'onProgress':_0x52ab13,'signal':_0x35aa83}))['then'](_0x5b79c6=>new _0x2778f4(_0x5b79c6,{'baseCDN':_0x2eebde}));};async function _0x137e03(_0x2ef09f,{publicKey:_0x188f12,fileName:_0x467cc3,baseURL:_0x1f7582=_0x2a001f,secureSignature:_0x3a51ac,secureExpire:_0xd84fa1,store:_0x46ed94,signal:_0xfa0ce7,onProgress:_0x1be4a1,source:_0x5893e2,integration:_0x2ddb14,userAgent:_0x44146f,retryThrottledRequestMaxTimes:_0x1a3cca,retryNetworkErrorMaxTimes:_0xe90422,contentType:_0x1f3061,multipartMinFileSize:_0x56c944,multipartChunkSize:_0xc49383,maxConcurrentRequests:_0x5114e5,baseCDN:_0x41cd65=tR,checkForUrlDuplicates:_0x10c623,saveUrlForRecurrentUploads:_0x4ed9fd,pusherKey:_0x361ade,metadata:_0x42432d}){if(_0x2c47ee(_0x2ef09f)){const _0x5b8e2a=await _0x3ee877(_0x2ef09f);return((_0x19cb80,_0x51b71d=_0x515663)=>_0x19cb80>=_0x51b71d)(_0x5b8e2a,_0x56c944)?_0x179358(_0x2ef09f,{'publicKey':_0x188f12,'contentType':_0x1f3061,'multipartChunkSize':_0xc49383,'fileSize':_0x5b8e2a,'fileName':_0x467cc3,'baseURL':_0x1f7582,'secureSignature':_0x3a51ac,'secureExpire':_0xd84fa1,'store':_0x46ed94,'signal':_0xfa0ce7,'onProgress':_0x1be4a1,'source':_0x5893e2,'integration':_0x2ddb14,'userAgent':_0x44146f,'maxConcurrentRequests':_0x5114e5,'retryThrottledRequestMaxTimes':_0x1a3cca,'retryNetworkErrorMaxTimes':_0xe90422,'baseCDN':_0x41cd65,'metadata':_0x42432d}):_0x59afea(_0x2ef09f,{'publicKey':_0x188f12,'fileName':_0x467cc3,'contentType':_0x1f3061,'baseURL':_0x1f7582,'secureSignature':_0x3a51ac,'secureExpire':_0xd84fa1,'store':_0x46ed94,'signal':_0xfa0ce7,'onProgress':_0x1be4a1,'source':_0x5893e2,'integration':_0x2ddb14,'userAgent':_0x44146f,'retryThrottledRequestMaxTimes':_0x1a3cca,'retryNetworkErrorMaxTimes':_0xe90422,'baseCDN':_0x41cd65,'metadata':_0x42432d});}if((_0x31d0ce=>{const _0x46d399=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!_0x2c47ee(_0x31d0ce)&&_0x46d399['test'](_0x31d0ce);})(_0x2ef09f))return _0x1ac2c8(_0x2ef09f,{'publicKey':_0x188f12,'fileName':_0x467cc3,'baseURL':_0x1f7582,'baseCDN':_0x41cd65,'checkForUrlDuplicates':_0x10c623,'saveUrlForRecurrentUploads':_0x4ed9fd,'secureSignature':_0x3a51ac,'secureExpire':_0xd84fa1,'store':_0x46ed94,'signal':_0xfa0ce7,'onProgress':_0x1be4a1,'source':_0x5893e2,'integration':_0x2ddb14,'userAgent':_0x44146f,'retryThrottledRequestMaxTimes':_0x1a3cca,'pusherKey':_0x361ade,'metadata':_0x42432d});if((_0x3eb8c2=>{const _0x1461d5=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!_0x2c47ee(_0x3eb8c2)&&_0x1461d5['test'](_0x3eb8c2);})(_0x2ef09f))return((_0x188aeb,{publicKey:_0x4005c7,fileName:_0x266e54,baseURL:_0x124613,signal:_0x5e393c,onProgress:_0x2535d9,source:_0x5563d9,integration:_0x19b217,userAgent:_0x5a40b,retryThrottledRequestMaxTimes:_0x269911,retryNetworkErrorMaxTimes:_0x3bb142,baseCDN:_0x122dd1})=>_0x23bbac(_0x188aeb,{'publicKey':_0x4005c7,'baseURL':_0x124613,'signal':_0x5e393c,'source':_0x5563d9,'integration':_0x19b217,'userAgent':_0x5a40b,'retryThrottledRequestMaxTimes':_0x269911,'retryNetworkErrorMaxTimes':_0x3bb142})['then'](_0x136774=>new _0x2778f4(_0x136774,{'baseCDN':_0x122dd1,'fileName':_0x266e54}))['then'](_0x1019e2=>(_0x2535d9&&_0x2535d9({'isComputable':!0x0,'value':0x1}),_0x1019e2)))(_0x2ef09f,{'publicKey':_0x188f12,'fileName':_0x467cc3,'baseURL':_0x1f7582,'signal':_0xfa0ce7,'onProgress':_0x1be4a1,'source':_0x5893e2,'integration':_0x2ddb14,'userAgent':_0x44146f,'retryThrottledRequestMaxTimes':_0x1a3cca,'retryNetworkErrorMaxTimes':_0xe90422,'baseCDN':_0x41cd65});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x2ef09f+'\x22\x20is\x20not\x20supported');}class UploadUtils{static['upload']({file:_0x555195,..._0x39ed83}){return _0x137e03(_0x555195,_0x39ed83);}static['getInfo'](_0x58f111,_0x2629c9){return _0x23bbac(_0x58f111,_0x2629c9);}}class UploadcareUploadAdapter extends _0x22b56d['Plugin']{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x22b56d['FileRepository'],UploadcareEditing];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1b661b=this['editor'];if(!!!_0x1b661b['config']['get']('uploadcare'))return;_0x1b661b['plugins']['get'](_0x22b56d['FileRepository'])['createUploadAdapter']=_0x51bff5=>new Adapter(_0x51bff5,_0x1b661b),_0x1b661b['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2d9576,{imageElement:_0x10e8e8,data:_0x511dfe})=>{_0x1b661b['model']['change'](_0x66f52a=>{_0x66f52a['setAttribute']('uploadcareImageId',_0x511dfe['uploadcareImageId'],_0x10e8e8);});});}}class Adapter{['loader'];['editor'];['controller'];constructor(_0x290b1d,_0x382ed1){this['loader']=_0x290b1d,this['editor']=_0x382ed1,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x37b05c=await this['loader']['file'];return UploadUtils['upload']({'file':_0x37b05c,'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':_0x517475=>{_0x517475&&_0x517475['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x517475['value']);}})['then'](async _0x2e2a61=>{const {imageFallbackUrl:_0x61f233,imageSources:_0x4767b0}=_0x16a3a5(_0x2e2a61['cdnUrl'],_0x2e2a61['imageInfo']['width']);return{'uploadcareImageId':_0x2e2a61['uuid'],'default':_0x61f233,'sources':_0x4767b0};})['catch'](()=>{const _0x475f29=t('Cannot\x20upload\x20file:')+('\x20'+_0x37b05c['name']+'.');return Promise['reject'](_0x475f29);});}['abort'](){this['controller']['abort']();}}class UploadcareEditing extends _0x22b56d['Plugin']{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return['PictureEditing',UploadcareUploadAdapter,_0x22b56d['Dialog']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x302e4a){super(_0x302e4a),this['ucContextId']=_0x22b56d['uid']();}['init'](){const _0x953273=this['editor'];_0x953273['commands']['add']('uploadcare',new _0x2766cc(_0x953273));}['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 _0x59b63b=_0x22b56d['global']['document']['querySelector']('input[uploadcare-file-input]');_0x59b63b&&_0x59b63b['remove']();}),async function(_0x24eafe){const _0x3b1592=_0x255529([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x30a1ff=0x535f8c3a,_0x2adb41=0x53580652^_0x30a1ff,_0x356d79=window[_0x255529([0x44,0x61,0x74,0x65])][_0x255529([0x6e,0x6f,0x77])](),_0x5c0598=_0x24eafe[_0x255529([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x54b569=new window[(_0x255529([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x267ec2=>{_0x5c0598[_0x255529([0x6f,0x6e,0x63,0x65])](_0x255529([0x72,0x65,0x61,0x64,0x79]),_0x267ec2);}),_0x34cd89={[_0x255529([0x6b,0x74,0x79])]:_0x255529([0x45,0x43]),[_0x255529([0x75,0x73,0x65])]:_0x255529([0x73,0x69,0x67]),[_0x255529([0x63,0x72,0x76])]:_0x255529([0x50,0x2d,0x32,0x35,0x36]),[_0x255529([0x78])]:_0x255529([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]),[_0x255529([0x79])]:_0x255529([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]),[_0x255529([0x61,0x6c,0x67])]:_0x255529([0x45,0x53,0x32,0x35,0x36])},_0x5c90ec=_0x5c0598[_0x255529([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x255529([0x67,0x65,0x74])](_0x255529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2fb6a8(){let _0x58ecea,_0x3ed317=null,_0x3bf1a5=null;try{if(_0x5c90ec==_0x255529([0x47,0x50,0x4c]))return _0x255529([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58ecea=_0x563067(),!_0x58ecea)return _0x255529([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58ecea[_0x255529([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3bf1a5=_0x2eeccf(_0x58ecea[_0x255529([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58ecea[_0x255529([0x6a,0x74,0x69])])),await _0x2c015d()?_0x2d036e()?_0x4451b9()?_0x255529([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2105a5()?(_0x58ecea[_0x255529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x255529([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3ed317=_0x2226b1(_0x255529([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x698b6f()):_0x255529([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x255529([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x255529([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x255529([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4451b9(){const _0x5e4617=[_0x255529([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x255529([0x74,0x72,0x69,0x61,0x6c])][_0x255529([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58ecea[_0x255529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x356d79/0x3e8:0xe10*_0x2adb41;return _0x58ecea[_0x255529([0x65,0x78,0x70])]<_0x5e4617;}function _0x2d036e(){const _0x56013d=_0x58ecea[_0x255529([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x56013d&&(!!_0x56013d[_0x255529([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x255529([0x2a]))||!!_0x56013d[_0x255529([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x255529([0x55,0x50,0x4c,0x43])));}function _0x2105a5(){const _0x479e52=_0x58ecea[_0x255529([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x479e52||0x0==_0x479e52[_0x255529([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x44fb5f}=new URL(window[_0x255529([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x479e52[_0x255529([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44fb5f))return!0x0;const _0x58f440=_0x44fb5f[_0x255529([0x73,0x70,0x6c,0x69,0x74])](_0x255529([0x2e]));return _0x479e52[_0x255529([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x274842=>_0x274842[_0x255529([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x255529([0x2a])))[_0x255529([0x6d,0x61,0x70])](_0x394505=>_0x394505[_0x255529([0x73,0x70,0x6c,0x69,0x74])](_0x255529([0x2e])))[_0x255529([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24b01e=>_0x24b01e[_0x255529([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x58f440[_0x255529([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x255529([0x6d,0x61,0x70])](_0x4fdd93=>Array(_0x58f440[_0x255529([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4fdd93[_0x255529([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x255529([0x66,0x69,0x6c,0x6c])](_0x4fdd93[0x0]===_0x255529([0x2a])?_0x255529([0x2a]):'')[_0x255529([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4fdd93))[_0x255529([0x73,0x6f,0x6d,0x65])](_0x4746df=>_0x58f440[_0x255529([0x65,0x76,0x65,0x72,0x79])]((_0x2dd784,_0x2d176d)=>_0x4746df[_0x2d176d]===_0x2dd784||_0x4746df[_0x2d176d]===_0x255529([0x2a])));}function _0x698b6f(){return _0x3ed317&&_0x3bf1a5?new window[(_0x255529([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x326194,_0x105f5b)=>{_0x3ed317[_0x255529([0x74,0x68,0x65,0x6e])](_0x326194,_0x105f5b),_0x3bf1a5[_0x255529([0x74,0x68,0x65,0x6e])](_0x521d67=>{_0x521d67!=_0x255529([0x56,0x61,0x6c,0x69,0x64])&&_0x326194(_0x521d67);},_0x105f5b);}):_0x3ed317||_0x3bf1a5||_0x255529([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2eeccf(_0x52f6f3,_0x2524bf){return new window[(_0x255529([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10b855=>{if(_0x1a2e93())return _0x10b855(_0x255529([0x56,0x61,0x6c,0x69,0x64]));_0xdbb344(),_0x5c0598[_0x255529([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x255529([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x39b164=!0x1;const _0x395e97=_0x22b56d['uid']();function _0x294b32(_0x3cb65c){return!!_0x3cb65c&&(typeof _0x3cb65c===_0x255529([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3cb65c===_0x255529([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3cb65c[_0x255529([0x74,0x68,0x65,0x6e])]===_0x255529([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3cb65c[_0x255529([0x63,0x61,0x74,0x63,0x68])]===_0x255529([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x159121(_0x215899){_0x1b0d48(_0x215899)[_0x255529([0x74,0x68,0x65,0x6e])](_0x1a3e2e=>{if(!_0x1a3e2e||_0x1a3e2e[_0x255529([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x255529([0x6f,0x6b]))return _0x255529([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x10446b(_0x3b7a11(_0x395e97+_0x2524bf))!=_0x1a3e2e[_0x255529([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x255529([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x255529([0x56,0x61,0x6c,0x69,0x64]);})[_0x255529([0x74,0x68,0x65,0x6e])](_0x2a08a3=>(_0x13f009(),_0x2a08a3),()=>{const _0x531711=_0x517f58();return null==_0x531711?(_0x13f009(),_0x255529([0x56,0x61,0x6c,0x69,0x64])):_0x255529(_0x356d79-_0x531711>(0x7753083a^_0x30a1ff)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x255529([0x74,0x68,0x65,0x6e])](_0x10b855)[_0x255529([0x63,0x61,0x74,0x63,0x68])](()=>{_0x10b855(_0x255529([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3a9ad4=0x536962ba^_0x30a1ff;function _0x13f009(){const _0x487d64=_0x255529([0x6c,0x6c,0x63,0x74,0x2d])+_0x10446b(_0x3b7a11(_0x52f6f3)),_0x1188d2=_0x449364(_0x10446b(window[_0x255529([0x4d,0x61,0x74,0x68])][_0x255529([0x63,0x65,0x69,0x6c])](_0x356d79/_0x3a9ad4)));window[_0x255529([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x255529([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x487d64,_0x1188d2);}function _0x517f58(){const _0x46beb2=_0x255529([0x6c,0x6c,0x63,0x74,0x2d])+_0x10446b(_0x3b7a11(_0x52f6f3)),_0x147335=window[_0x255529([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x255529([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x46beb2);return _0x147335?window[_0x255529([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x449364(_0x147335),0x10)*_0x3a9ad4:null;}function _0x1b0d48(_0x258b39){return new window[(_0x255529([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34af1c,_0x355f38)=>{_0x258b39[_0x255529([0x74,0x68,0x65,0x6e])](_0x34af1c,_0x355f38),window[_0x255529([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x355f38,0x535e58fa^_0x30a1ff);});}}_0x5c0598[_0x255529([0x6f,0x6e])](_0x255529([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2b5c8e,_0x37f447)=>{if(_0x37f447[0x0]!=_0x52f6f3)return _0x10b855(_0x255529([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x37f447[0x1]={..._0x37f447[0x1],[_0x255529([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x395e97};},{[_0x255529([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x255529([0x68,0x69,0x67,0x68])}),_0x5c0598[_0x255529([0x6f,0x6e])](_0x255529([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4a8a38=>{_0x294b32(_0x4a8a38[_0x255529([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x39b164=!0x0,_0x159121(_0x4a8a38[_0x255529([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x255529([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x255529([0x6c,0x6f,0x77])}),_0x54b569[_0x255529([0x74,0x68,0x65,0x6e])](()=>{_0x39b164||_0x10b855(_0x255529([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1a2e93(){return _0x5c0598[_0x255529([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x255529([0x76,0x69,0x65,0x77])][_0x255529([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x255529([0x61,0x75,0x74,0x6f]);}function _0xdbb344(){_0x5c0598[_0x255529([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x255529([0x76,0x69,0x65,0x77])][_0x255529([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x255529([0x61,0x75,0x74,0x6f]);}}function _0x2226b1(_0x41f553){const _0x1fffb0=[new window[(_0x255529([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c710c=>setTimeout(_0x2c710c,0x5356b2f6^_0x30a1ff)),_0x54b569[_0x255529([0x74,0x68,0x65,0x6e])](()=>new window[(_0x255529([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34aab0=>{let _0x45d1c3=0x0;_0x5c0598[_0x255529([0x6d,0x6f,0x64,0x65,0x6c])][_0x255529([0x6f,0x6e])](_0x255529([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x18fe22,_0x223d62)=>{_0x223d62[0x0][_0x255529([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x45d1c3++,_0x45d1c3==(0x535f89d2^_0x30a1ff)&&(_0x34aab0(),_0x18fe22[_0x255529([0x6f,0x66,0x66])]());});}))];return window[_0x255529([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x255529([0x72,0x61,0x63,0x65])](_0x1fffb0)[_0x255529([0x74,0x68,0x65,0x6e])](()=>_0x41f553);}async function _0xcfd8d6(){await _0x54b569,_0x5c0598[_0x255529([0x6d,0x6f,0x64,0x65,0x6c])][_0x255529([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4dabec,_0x5c0598[_0x255529([0x6d,0x6f,0x64,0x65,0x6c])][_0x255529([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4dabec,_0x5c0598[_0x255529([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x255529([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x17e20c(_0x134950){const _0x130911=_0x7150c8();_0x5c0598[_0x130911]=_0x255529([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x134950,_0x134950!=_0x255529([0x56,0x61,0x6c,0x69,0x64])&&_0xcfd8d6();}function _0x7150c8(){const _0x5eee23=window[_0x255529([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x255529([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x255529([0x6e,0x6f,0x77])]())[_0x255529([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x255529([0x2e]),'');let _0x4b5355=_0x255529([0x68]);for(let _0x58279f=0x0;_0x58279f<_0x5eee23[_0x255529([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58279f+=0x2){let _0x3825d3=window[_0x255529([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5eee23[_0x255529([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58279f,_0x58279f+0x2));_0x3825d3>=_0x3b1592[_0x255529([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3825d3-=_0x3b1592[_0x255529([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4b5355+=_0x3b1592[_0x3825d3];}return _0x4b5355;}function _0x563067(){const _0x3f496e=_0x5c90ec[_0x255529([0x73,0x70,0x6c,0x69,0x74])](_0x255529([0x2e]));if(0x3!=_0x3f496e[_0x255529([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xa6d0bc(_0x3f496e[0x1]);function _0xa6d0bc(_0x46f680){const _0x1ef4e4=_0x4724d7(_0x46f680);return _0x1ef4e4&&_0x1f578a()?_0x1ef4e4:null;function _0x1f578a(){const _0x3b2f51=_0x1ef4e4[_0x255529([0x6a,0x74,0x69])],_0x243408=window[_0x255529([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b2f51[_0x255529([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b2f51[_0x255529([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1146c2={..._0x1ef4e4,[_0x255529([0x6a,0x74,0x69])]:_0x3b2f51[_0x255529([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3b2f51[_0x255529([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1146c2[_0x255529([0x76,0x63])],_0x3b7a11(_0x1146c2)==_0x243408;}}}async function _0x2c015d(){let _0x943e05=!0x0;try{const _0x267a74=_0x5c90ec[_0x255529([0x73,0x70,0x6c,0x69,0x74])](_0x255529([0x2e])),[_0x1b868e,_0x4ffc56,_0x188918]=_0x267a74;return _0x2c50a7(_0x1b868e),await _0x5510c9(_0x1b868e,_0x4ffc56,_0x188918),_0x943e05;}catch{return!0x1;}function _0x2c50a7(_0xf41807){const _0x1eca8d=_0x4724d7(_0xf41807);_0x1eca8d&&_0x1eca8d[_0x255529([0x61,0x6c,0x67])]==_0x255529([0x45,0x53,0x32,0x35,0x36])||(_0x943e05=!0x1);}async function _0x5510c9(_0x18b48d,_0x1fb297,_0x47ea9b){const _0x1c3dd5=window[_0x255529([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x255529([0x66,0x72,0x6f,0x6d])](_0x446b49(_0x47ea9b),_0x105a01=>_0x105a01[_0x255529([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5ac1d7=new window[(_0x255529([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x255529([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x18b48d+_0x255529([0x2e])+_0x1fb297),_0x10b00b=window[_0x255529([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x255529([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x10b00b)return;const _0x1267ed=await _0x10b00b[_0x255529([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x255529([0x6a,0x77,0x6b]),_0x34cd89,{[_0x255529([0x6e,0x61,0x6d,0x65])]:_0x255529([0x45,0x43,0x44,0x53,0x41]),[_0x255529([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x255529([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x255529([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x10b00b[_0x255529([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x255529([0x6e,0x61,0x6d,0x65])]:_0x255529([0x45,0x43,0x44,0x53,0x41]),[_0x255529([0x68,0x61,0x73,0x68])]:{[_0x255529([0x6e,0x61,0x6d,0x65])]:_0x255529([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1267ed,_0x1c3dd5,_0x5ac1d7)||(_0x943e05=!0x1);}}function _0x4724d7(_0x30f27a){return _0x30f27a[_0x255529([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x255529([0x65,0x79]))?JSON[_0x255529([0x70,0x61,0x72,0x73,0x65])](_0x446b49(_0x30f27a)):null;}function _0x446b49(_0x1f7d07){return window[_0x255529([0x61,0x74,0x6f,0x62])](_0x1f7d07[_0x255529([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x255529([0x2b]))[_0x255529([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x255529([0x2f])));}function _0x3b7a11(_0x1a1549){let _0x1474d0=0x1505;function _0x246a53(_0x54ba7a){for(let _0x5340b7=0x0;_0x5340b7<_0x54ba7a[_0x255529([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5340b7++){const _0x35880b=_0x54ba7a[_0x255529([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5340b7);_0x1474d0=(_0x1474d0<<0x5)+_0x1474d0+_0x35880b,_0x1474d0&=_0x1474d0;}}function _0x503f9d(_0x967e2b){Array[_0x255529([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x967e2b)?_0x967e2b[_0x255529([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x503f9d):_0x967e2b&&typeof _0x967e2b==_0x255529([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x255529([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x967e2b)[_0x255529([0x73,0x6f,0x72,0x74])]()[_0x255529([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3604df,_0x284c20])=>{_0x246a53(_0x3604df),_0x503f9d(_0x284c20);}):_0x246a53(window[_0x255529([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x967e2b));}return _0x503f9d(_0x1a1549),_0x1474d0>>>0x0;}function _0x10446b(_0x247f4e){return _0x247f4e[_0x255529([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x255529([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x255529([0x30]));}function _0x449364(_0x42bc7a){return _0x42bc7a[_0x255529([0x73,0x70,0x6c,0x69,0x74])]('')[_0x255529([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x255529([0x6a,0x6f,0x69,0x6e])]('');}function _0x4dabec(){}function _0x255529(_0x4e347c){return _0x4e347c['map'](_0x16125d=>String['fromCharCode'](_0x16125d))['join']('');}_0x17e20c(await _0x2fb6a8());}(this);}['_initSchema'](){const _0x519c6f=this['editor']['model']['schema'];_0x519c6f['isRegistered']('imageBlock')&&_0x519c6f['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x519c6f['isRegistered']('imageInline')&&_0x519c6f['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x44c04d=this['editor'];_0x44c04d['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x44c04d['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x305b22=>_0x305b22['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x288a4b=_0x44c04d['commands']['get']('replaceImageSource');_0x288a4b&&this['listenTo'](_0x288a4b,'cleanupImage',(_0x2a5e32,[_0x45c6eb,_0x5248d7])=>{_0x45c6eb['removeAttribute']('uploadcareImageId',_0x5248d7);});}['_initConfig'](){const _0x212222=this['editor']['config']['get']('uploadcare.uploader')||{},_0x571b83=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=_0x22b56d['createElement'](_0x22b56d['global']['document'],'uc-config',{..._0x212222,'pubkey':_0x571b83,'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']=_0x3b011d=>{if('closeMax'==_0x3b011d)return'#uc-icon-arrow-down';},_0x22b56d['global']['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=_0x22b56d['createElement'](_0x22b56d['global']['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x22b56d['global']['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x5aebca=this['editor']['commands']['get']('insertImage');_0x5aebca&&this['listenTo'](_0x5aebca,'execute',()=>{const _0x555228=this['editor']['model']['document']['selection']['getSelectedElement']();_0x555228&&_0x555228['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{_0x28ddef(this['editor'],_0x555228);});});const _0xdc3d94=this['editor']['commands']['get']('uploadcareImageReplace');_0xdc3d94&&this['listenTo'](_0xdc3d94,'execute',()=>{const _0x2c6ca5=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2c6ca5&&_0x2c6ca5['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{_0x28ddef(this['editor'],_0x2c6ca5);});});}}var _0x2bd4c6=Object['defineProperty'],_0x82f98d=(_0x2b32cd,_0x31abb0,_0x42437e)=>(((_0x5403bc,_0x3191cf,_0xacabf)=>{_0x3191cf in _0x5403bc?_0x2bd4c6(_0x5403bc,_0x3191cf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xacabf}):_0x5403bc[_0x3191cf]=_0xacabf;})(_0x2b32cd,'symbol'!=typeof _0x31abb0?_0x31abb0+'':_0x31abb0,_0x42437e),_0x42437e),_0x191ad9=class{constructor(_0x3df830){_0x3df830['constructor']===Object?this['store']=function(_0x3aafef){let _0xe302cd=_0x5c2948=>{var _0x2aa387;for(let _0xdff271 in _0x5c2948)(null==(_0x2aa387=_0x5c2948[_0xdff271])?void 0x0:_0x2aa387['constructor'])===Object&&(_0x5c2948[_0xdff271]=_0xe302cd(_0x5c2948[_0xdff271]));return{..._0x5c2948};};return _0xe302cd(_0x3aafef);}(_0x3df830):(this['_storeIsProxy']=!0x0,this['store']=_0x3df830),this['callbackMap']=Object['create'](null);}static['warn'](_0x397cb9,_0x1c9d18){console['warn']('Symbiote\x20Data:\x20cannot\x20'+_0x397cb9+'.\x20Prop\x20name:\x20'+_0x1c9d18);}['read'](_0x177a93){return this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x177a93)?this['store'][_0x177a93]:(_0x191ad9['warn']('read',_0x177a93),null);}['has'](_0x52950d){return this['_storeIsProxy']?void 0x0!==this['store'][_0x52950d]:this['store']['hasOwnProperty'](_0x52950d);}['add'](_0x268f63,_0x294678,_0x2b1c5c=!0x1){!_0x2b1c5c&&Object['keys'](this['store'])['includes'](_0x268f63)||(this['store'][_0x268f63]=_0x294678,this['notify'](_0x268f63));}['pub'](_0x3df708,_0x7339af){this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x3df708)?(this['store'][_0x3df708]=_0x7339af,this['notify'](_0x3df708)):_0x191ad9['warn']('publish',_0x3df708);}['multiPub'](_0x239902){for(let _0x3225f4 in _0x239902)this['pub'](_0x3225f4,_0x239902[_0x3225f4]);}['notify'](_0x3c5946){this['callbackMap'][_0x3c5946]&&this['callbackMap'][_0x3c5946]['forEach'](_0x17fc16=>{_0x17fc16(this['store'][_0x3c5946]);});}['sub'](_0x13b0b3,_0x1b9d33,_0x3f2026=!0x0){return this['_storeIsProxy']||this['store']['hasOwnProperty'](_0x13b0b3)?(this['callbackMap'][_0x13b0b3]||(this['callbackMap'][_0x13b0b3]=new Set()),this['callbackMap'][_0x13b0b3]['add'](_0x1b9d33),_0x3f2026&&_0x1b9d33(this['store'][_0x13b0b3]),{'remove':()=>{this['callbackMap'][_0x13b0b3]['delete'](_0x1b9d33),this['callbackMap'][_0x13b0b3]['size']||delete this['callbackMap'][_0x13b0b3];},'callback':_0x1b9d33}):(_0x191ad9['warn']('subscribe',_0x13b0b3),null);}static['registerCtx'](_0x444eb2,_0xef48d1=Symbol()){let _0x18bd49=_0x191ad9['globalStore']['get'](_0xef48d1);return _0x18bd49?console['warn']('State:\x20context\x20UID\x20\x22'+_0xef48d1+'\x22\x20already\x20in\x20use'):(_0x18bd49=new _0x191ad9(_0x444eb2),_0x191ad9['globalStore']['set'](_0xef48d1,_0x18bd49)),_0x18bd49;}static['deleteCtx'](_0x52d555){_0x191ad9['globalStore']['delete'](_0x52d555);}static['getCtx'](_0x1253fa,_0x50a5f0=!0x0){return _0x191ad9['globalStore']['get'](_0x1253fa)||(_0x50a5f0&&console['warn']('State:\x20wrong\x20context\x20UID\x20-\x20\x22'+_0x1253fa+'\x22'),null);}};_0x191ad9['globalStore']=new Map();var _0x2a62c9=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'}),_0x176ff5='1234567890QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm',_0x461769=class{static['generate'](_0x3f33ae='XXXXXXXXX-XXX'){let _0x1896f6='';for(let _0x461367=0x0;_0x461367<_0x3f33ae['length'];_0x461367++)_0x1896f6+='-'===_0x3f33ae[_0x461367]?_0x3f33ae[_0x461367]:_0x176ff5['charAt'](0x3d*Math['random']());return _0x1896f6;}};function _0x11ff96(_0x13cec4,_0x5c104f,_0x26a1eb){let _0x275e31,_0x4dea9b=!0x0,_0x59a759=_0x5c104f['split']('.');return _0x59a759['forEach']((_0x4fea2a,_0x17a525)=>{_0x17a525<_0x59a759['length']-0x1?_0x13cec4=_0x13cec4[_0x4fea2a]:_0x275e31=_0x4fea2a;}),_0x13cec4?_0x13cec4[_0x275e31]=_0x26a1eb:_0x4dea9b=!0x1,_0x4dea9b;}var _0x450382='__default__',_0x4a14a2='{{',_0x1df683='}}',tP=[function(_0x499110,_0x2a2db4){[..._0x499110['querySelectorAll']('['+_0x2a62c9['REPEAT_ATTR']+']')]['forEach'](_0x13220c=>{let _0x224f61,_0x1f98d9=_0x13220c['getAttribute'](_0x2a62c9['REPEAT_ITEM_TAG_ATTR']);if(_0x1f98d9&&(_0x224f61=window['customElements']['get'](_0x1f98d9)),!_0x224f61){_0x224f61=class extends _0x2a2db4['BaseComponent']{constructor(){super(),_0x1f98d9||(this['style']['display']='contents');}};let _0xabef57=_0x13220c['innerHTML'];_0x224f61['template']=_0xabef57,_0x224f61['reg'](_0x1f98d9);}for(;_0x13220c['firstChild'];)_0x13220c['firstChild']['remove']();let _0x19a966=_0x13220c['getAttribute'](_0x2a62c9['REPEAT_ATTR']);_0x2a2db4['sub'](_0x19a966,_0x2751c8=>{if(!_0x2751c8){for(;_0x13220c['firstChild'];)_0x13220c['firstChild']['remove']();return;}let _0x30c7a6,_0x49846e=[..._0x13220c['children']],_0x47d7bd=_0x17177e=>{_0x17177e['forEach']((_0x260a95,_0xbfc3b5)=>{if(_0x49846e[_0xbfc3b5]){if(_0x49846e[_0xbfc3b5]['set$'])setTimeout(()=>{_0x49846e[_0xbfc3b5]['set$'](_0x260a95);});else{for(let _0x1d39e6 in _0x260a95)_0x49846e[_0xbfc3b5][_0x1d39e6]=_0x260a95[_0x1d39e6];}}else{_0x30c7a6||(_0x30c7a6=new DocumentFragment());let _0x36e706=new _0x224f61();Object['assign'](_0x36e706['init$'],_0x260a95),_0x30c7a6['appendChild'](_0x36e706);}}),_0x30c7a6&&_0x13220c['appendChild'](_0x30c7a6);let _0x41b1b2=_0x49846e['slice'](_0x17177e['length'],_0x49846e['length']);for(let _0x418c5b of _0x41b1b2)_0x418c5b['remove']();};if(_0x2751c8['constructor']===Array)_0x47d7bd(_0x2751c8);else{if(_0x2751c8['constructor']===Object){let _0x561eb5=[];for(let _0x5de343 in _0x2751c8){let _0xbc5838=_0x2751c8[_0x5de343];Object['defineProperty'](_0xbc5838,'_KEY_',{'value':_0x5de343,'enumerable':!0x0}),_0x561eb5['push'](_0xbc5838);}_0x47d7bd(_0x561eb5);}else console['warn']('Symbiote\x20repeat\x20data\x20type\x20error:'),console['log'](_0x2751c8);}}),_0x13220c['removeAttribute'](_0x2a62c9['REPEAT_ATTR']),_0x13220c['removeAttribute'](_0x2a62c9['REPEAT_ITEM_TAG_ATTR']);});},function(_0x56a857,_0x3aebed){if(_0x3aebed['shadowRoot'])return;let _0x56894f=[..._0x56a857['querySelectorAll']('slot')];if(!_0x56894f['length'])return;let _0x59a70a={};_0x56894f['forEach'](_0x363fe1=>{let _0x473e00=_0x363fe1['getAttribute']('name')||_0x450382;_0x59a70a[_0x473e00]={'slot':_0x363fe1,'fr':document['createDocumentFragment']()};}),_0x3aebed['initChildren']['forEach'](_0x127226=>{var _0x5650b8;let _0x44d433=_0x450382;_0x127226 instanceof Element&&_0x127226['hasAttribute']('slot')&&(_0x44d433=_0x127226['getAttribute']('slot'),_0x127226['removeAttribute']('slot')),null==(_0x5650b8=_0x59a70a[_0x44d433])||_0x5650b8['fr']['appendChild'](_0x127226);}),Object['values'](_0x59a70a)['forEach'](_0x3bd1f1=>{if(_0x3bd1f1['fr']['childNodes']['length'])_0x3bd1f1['slot']['parentNode']['replaceChild'](_0x3bd1f1['fr'],_0x3bd1f1['slot']);else{if(_0x3bd1f1['slot']['childNodes']['length']){let _0x2098ac=document['createDocumentFragment']();_0x2098ac['append'](..._0x3bd1f1['slot']['childNodes']),_0x3bd1f1['slot']['parentNode']['replaceChild'](_0x2098ac,_0x3bd1f1['slot']);}else _0x3bd1f1['slot']['remove']();}});},function(_0x10a930,_0x57f5d4){[..._0x10a930['querySelectorAll']('['+_0x2a62c9['EL_REF_ATTR']+']')]['forEach'](_0x4f1f33=>{let _0x5d7b4c=_0x4f1f33['getAttribute'](_0x2a62c9['EL_REF_ATTR']);_0x57f5d4['ref'][_0x5d7b4c]=_0x4f1f33,_0x4f1f33['removeAttribute'](_0x2a62c9['EL_REF_ATTR']);});},function(_0x43cb94,_0x2acb0a){[..._0x43cb94['querySelectorAll']('['+_0x2a62c9['BIND_ATTR']+']')]['forEach'](_0x19148e=>{let _0x154891=_0x19148e['getAttribute'](_0x2a62c9['BIND_ATTR'])['split'](';');[..._0x19148e['attributes']]['forEach'](_0x393535=>{if(_0x393535['name']['startsWith']('-')&&_0x393535['value']){let _0x1545e6=function(_0x1b6935){return _0x1b6935['split']('-')['map']((_0x2fb27c,_0x51ea08)=>_0x2fb27c&&_0x51ea08?_0x2fb27c[0x0]['toUpperCase']()+_0x2fb27c['slice'](0x1):_0x2fb27c)['join']('')['split']('_')['map']((_0x28cf1b,_0x8c1fd6)=>_0x28cf1b&&_0x8c1fd6?_0x28cf1b['toUpperCase']():_0x28cf1b)['join']('');}(_0x393535['name']['replace']('-',''));_0x154891['push'](_0x1545e6+':'+_0x393535['value']),_0x19148e['removeAttribute'](_0x393535['name']);}}),_0x154891['forEach'](_0x4ffdfe=>{if(!_0x4ffdfe)return;let _0x289ec6,_0xc59087=_0x4ffdfe['split'](':')['map'](_0x3d2b65=>_0x3d2b65['trim']()),_0x554b4a=_0xc59087[0x0];0x0===_0x554b4a['indexOf'](_0x2a62c9['ATTR_BIND_PRFX'])&&(_0x289ec6=!0x0,_0x554b4a=_0x554b4a['replace'](_0x2a62c9['ATTR_BIND_PRFX'],''));let _0x54db47=_0xc59087[0x1]['split'](',')['map'](_0x276357=>_0x276357['trim']());for(let _0x520d8f of _0x54db47){let _0x40ddca;_0x520d8f['startsWith']('!!')?(_0x40ddca='double',_0x520d8f=_0x520d8f['replace']('!!','')):_0x520d8f['startsWith']('!')&&(_0x40ddca='single',_0x520d8f=_0x520d8f['replace']('!','')),_0x2acb0a['sub'](_0x520d8f,_0x2b5fd0=>{'double'===_0x40ddca?_0x2b5fd0=!!_0x2b5fd0:'single'===_0x40ddca&&(_0x2b5fd0=!_0x2b5fd0),_0x289ec6?(null==_0x2b5fd0?void 0x0:_0x2b5fd0['constructor'])===Boolean?_0x2b5fd0?_0x19148e['setAttribute'](_0x554b4a,''):_0x19148e['removeAttribute'](_0x554b4a):_0x19148e['setAttribute'](_0x554b4a,_0x2b5fd0):_0x11ff96(_0x19148e,_0x554b4a,_0x2b5fd0)||(_0x19148e[_0x2a62c9['SET_LATER_KEY']]||(_0x19148e[_0x2a62c9['SET_LATER_KEY']]=Object['create'](null)),_0x19148e[_0x2a62c9['SET_LATER_KEY']][_0x554b4a]=_0x2b5fd0);});}}),_0x19148e['removeAttribute'](_0x2a62c9['BIND_ATTR']);});},function(_0x3af4c0,_0x38f92e){let _0x52d24e=function(_0x138280){let _0x3735c0,_0x77e01d=[],_0x249b35=document['createTreeWalker'](_0x138280,NodeFilter['SHOW_TEXT'],{'acceptNode':_0x43bbae=>{var _0x561f08;return!(null==(_0x561f08=_0x43bbae['parentElement'])?void 0x0:_0x561f08['hasAttribute']('skip-text'))&&_0x43bbae['textContent']['includes'](_0x4a14a2)&&_0x43bbae['textContent']['includes'](_0x1df683)&&0x1;}});for(;_0x3735c0=_0x249b35['nextNode']();)_0x77e01d['push'](_0x3735c0);return _0x77e01d;}(_0x3af4c0);_0x52d24e['forEach'](_0x52bfce=>{let _0x288943,_0x315e57=[];for(;_0x52bfce['textContent']['includes'](_0x1df683);)_0x52bfce['textContent']['startsWith'](_0x4a14a2)?(_0x288943=_0x52bfce['textContent']['indexOf'](_0x1df683)+0x2,_0x52bfce['splitText'](_0x288943),_0x315e57['push'](_0x52bfce)):(_0x288943=_0x52bfce['textContent']['indexOf'](_0x4a14a2),_0x52bfce['splitText'](_0x288943)),_0x52bfce=_0x52bfce['nextSibling'];_0x315e57['forEach'](_0x1af812=>{let _0x97f3b2=_0x1af812['textContent']['replace'](_0x4a14a2,'')['replace'](_0x1df683,'');_0x1af812['textContent']='',_0x38f92e['sub'](_0x97f3b2,_0x5801d7=>{_0x1af812['textContent']=_0x5801d7;});});});}],_0x3a942f='\x27',_0x3a7255='\x22',_0x45bf92=/\\([0-9a-fA-F]{1,6} ?)/g;function _0x10bf71(_0x5c7a41){let _0x479be1=_0x5c7a41;var _0x160b08;(_0x160b08=_0x5c7a41)[0x0]!==_0x3a7255&&_0x160b08[0x0]!==_0x3a942f||_0x160b08[_0x160b08['length']-0x1]!==_0x3a7255&&_0x160b08[_0x160b08['length']-0x1]!==_0x3a942f||(_0x479be1=function(_0x1b9c42){return _0x1b9c42[0x0]!==_0x3a7255&&_0x1b9c42[0x0]!==_0x3a942f||(_0x1b9c42=_0x1b9c42['slice'](0x1)),_0x1b9c42[_0x1b9c42['length']-0x1]!==_0x3a7255&&_0x1b9c42[_0x1b9c42['length']-0x1]!==_0x3a942f||(_0x1b9c42=_0x1b9c42['slice'](0x0,-0x1)),_0x1b9c42;}(_0x479be1),_0x479be1=_0x479be1['replace'](_0x45bf92,(_0x2d2430,_0xb0f403)=>String['fromCodePoint'](parseInt(_0xb0f403['trim'](),0x10))),_0x479be1=_0x479be1['replaceAll']('\x5c\x0a','\x5cn'),_0x479be1=function(_0x165f06){let _0x4f94c4='',_0x3d7e25='';for(var _0x1b561a=0x0;_0x1b561a<_0x165f06['length'];_0x1b561a++){const _0x2d0acf=_0x165f06[_0x1b561a+0x1];'\x5c'===_0x165f06[_0x1b561a]&&'\x22'===_0x2d0acf?(_0x4f94c4+='\x5c\x22',_0x1b561a++):'\x22'===_0x165f06[_0x1b561a]&&'\x5c'!==_0x3d7e25?_0x4f94c4+='\x5c\x22':_0x4f94c4+=_0x165f06[_0x1b561a],_0x3d7e25=_0x165f06[_0x1b561a];}return _0x4f94c4;}(_0x479be1),_0x479be1=_0x3a7255+_0x479be1+_0x3a7255);try{return JSON['parse'](_0x479be1);}catch(_0x50d3c3){throw new Error('Failed\x20to\x20parse\x20CSS\x20property\x20value:\x20'+_0x479be1+'.\x20Original\x20input:\x20'+_0x5c7a41);}}var _0x5ddf1f=0x0,_0x3e3bb7=null,_0x34c4ab=null,_0x26d03c=class extends HTMLElement{constructor(){super(),_0x82f98d(this,'updateCssData',()=>{var _0x4375eb;this['dropCssDataCache'](),null==(_0x4375eb=this['__boundCssProps'])||_0x4375eb['forEach'](_0x19db5a=>{let _0x31b37b=this['getCssData'](this['__extractCssName'](_0x19db5a),!0x0);null!==_0x31b37b&&this['$'][_0x19db5a]!==_0x31b37b&&(this['$'][_0x19db5a]=_0x31b37b);});}),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 _0x26d03c;}['initCallback'](){}['__initCallback'](){var _0x4da26c;this['__initialized']||(this['__initialized']=!0x0,null==(_0x4da26c=this['initCallback'])||_0x4da26c['call'](this));}['render'](_0x21e05d,_0x119e20=this['renderShadow']){let _0x45f8f0;if(!_0x119e20&&!this['constructor']['__shadowStylesUrl']||this['shadowRoot']||this['attachShadow']({'mode':'open'}),this['allowCustomTemplate']){let _0x16178e=this['getAttribute'](_0x2a62c9['USE_TPL']);if(_0x16178e){let _0x2b5288=this['getRootNode'](),_0xb77895=(null==_0x2b5288?void 0x0:_0x2b5288['querySelector'](_0x16178e))||document['querySelector'](_0x16178e);_0xb77895?_0x21e05d=_0xb77895['content']['cloneNode'](!0x0):console['warn']('Symbiote\x20template\x20\x22'+_0x16178e+'\x22\x20is\x20not\x20found...');}}if(this['processInnerHtml']){for(let _0x3de245 of this['tplProcessors'])_0x3de245(this,this);}if(_0x21e05d||this['constructor']['template']){if(this['constructor']['template']&&!this['constructor']['__tpl']&&(this['constructor']['__tpl']=document['createElement']('template'),this['constructor']['__tpl']['innerHTML']=this['constructor']['template']),(null==_0x21e05d?void 0x0:_0x21e05d['constructor'])===DocumentFragment)_0x45f8f0=_0x21e05d;else{if((null==_0x21e05d?void 0x0:_0x21e05d['constructor'])===String){let _0xc9248f=document['createElement']('template');_0xc9248f['innerHTML']=_0x21e05d,_0x45f8f0=_0xc9248f['content']['cloneNode'](!0x0);}else this['constructor']['__tpl']&&(_0x45f8f0=this['constructor']['__tpl']['content']['cloneNode'](!0x0));}for(let _0xf3b19 of this['tplProcessors'])_0xf3b19(_0x45f8f0,this);}let _0x3257da=()=>{_0x45f8f0&&(_0x119e20&&this['shadowRoot']['appendChild'](_0x45f8f0)||this['appendChild'](_0x45f8f0)),this['__initCallback']();};if(this['constructor']['__shadowStylesUrl']){_0x119e20=!0x0;let _0x36f16b=document['createElement']('link');_0x36f16b['rel']='stylesheet',_0x36f16b['href']=this['constructor']['__shadowStylesUrl'],_0x36f16b['onload']=_0x3257da,this['shadowRoot']['prepend'](_0x36f16b);}else _0x3257da();}['addTemplateProcessor'](_0x4da1e7){this['tplProcessors']['add'](_0x4da1e7);}get['autoCtxName'](){return this['__autoCtxName']||(this['__autoCtxName']=_0x461769['generate'](),this['style']['setProperty'](_0x2a62c9['CSS_CTX_PROP'],'\x27'+this['__autoCtxName']+'\x27')),this['__autoCtxName'];}get['cssCtxName'](){return this['getCssData'](_0x2a62c9['CSS_CTX_PROP'],!0x0);}get['ctxName'](){var _0x492d76;let _0x3bb6d2=(null==(_0x492d76=this['getAttribute'](_0x2a62c9['CTX_NAME_ATTR']))?void 0x0:_0x492d76['trim']())||this['cssCtxName']||this['__cachedCtxName']||this['autoCtxName'];return this['__cachedCtxName']=_0x3bb6d2,_0x3bb6d2;}get['localCtx'](){return this['__localCtx']||(this['__localCtx']=_0x191ad9['registerCtx']({},this)),this['__localCtx'];}get['nodeCtx'](){return _0x191ad9['getCtx'](this['ctxName'],!0x1)||_0x191ad9['registerCtx']({},this['ctxName']);}static['__parseProp'](_0x2fd8f4,_0x1de86f){let _0x42a3a0,_0x4abfa4;if(_0x2fd8f4['startsWith'](_0x2a62c9['EXT_DATA_CTX_PRFX']))_0x42a3a0=_0x1de86f['nodeCtx'],_0x4abfa4=_0x2fd8f4['replace'](_0x2a62c9['EXT_DATA_CTX_PRFX'],'');else{if(_0x2fd8f4['includes'](_0x2a62c9['NAMED_DATA_CTX_SPLTR'])){let _0x2f123e=_0x2fd8f4['split'](_0x2a62c9['NAMED_DATA_CTX_SPLTR']);_0x42a3a0=_0x191ad9['getCtx'](_0x2f123e[0x0]),_0x4abfa4=_0x2f123e[0x1];}else _0x42a3a0=_0x1de86f['localCtx'],_0x4abfa4=_0x2fd8f4;}return{'ctx':_0x42a3a0,'name':_0x4abfa4};}['sub'](_0x2892fd,_0xaa0dc4,_0x5ceaa7=!0x0){let _0x3f5923=_0x201918=>{this['isConnected']&&_0xaa0dc4(_0x201918);},_0xe4fe21=_0x26d03c['__parseProp'](_0x2892fd,this);_0xe4fe21['ctx']['has'](_0xe4fe21['name'])?this['allSubs']['add'](_0xe4fe21['ctx']['sub'](_0xe4fe21['name'],_0x3f5923,_0x5ceaa7)):window['setTimeout'](()=>{this['allSubs']['add'](_0xe4fe21['ctx']['sub'](_0xe4fe21['name'],_0x3f5923,_0x5ceaa7));});}['notify'](_0x22f5ab){let _0x1e3db6=_0x26d03c['__parseProp'](_0x22f5ab,this);_0x1e3db6['ctx']['notify'](_0x1e3db6['name']);}['has'](_0x592fcb){let _0x5ae12e=_0x26d03c['__parseProp'](_0x592fcb,this);return _0x5ae12e['ctx']['has'](_0x5ae12e['name']);}['add'](_0x2590c7,_0x50c22b,_0x6fa2df=!0x1){let _0x6da671=_0x26d03c['__parseProp'](_0x2590c7,this);_0x6da671['ctx']['add'](_0x6da671['name'],_0x50c22b,_0x6fa2df);}['add$'](_0x399b6f,_0x3e9ba6=!0x1){for(let _0x4194aa in _0x399b6f)this['add'](_0x4194aa,_0x399b6f[_0x4194aa],_0x3e9ba6);}get['$'](){if(!this['__stateProxy']){let _0x5e3918=Object['create'](null);this['__stateProxy']=new Proxy(_0x5e3918,{'set':(_0x377283,_0x181638,_0x422fe9)=>{let _0x303aba=_0x26d03c['__parseProp'](_0x181638,this);return _0x303aba['ctx']['pub'](_0x303aba['name'],_0x422fe9),!0x0;},'get':(_0x3fb1e9,_0x506c18)=>{let _0x349e5f=_0x26d03c['__parseProp'](_0x506c18,this);return _0x349e5f['ctx']['read'](_0x349e5f['name']);}});}return this['__stateProxy'];}['set$'](_0x1751f7,_0x43aa29=!0x1){for(let _0x5f4583 in _0x1751f7){let _0x25cf3b=_0x1751f7[_0x5f4583],_0x2634b6=[String,Number,Boolean];(_0x43aa29||!_0x2634b6['includes'](null==_0x25cf3b?void 0x0:_0x25cf3b['constructor'])||this['$'][_0x5f4583]!==_0x25cf3b)&&(this['$'][_0x5f4583]=_0x25cf3b);}}get['__ctxOwner'](){return this['ctxOwner']||this['hasAttribute'](_0x2a62c9['CTX_OWNER_ATTR'])&&'false'!==this['getAttribute'](_0x2a62c9['CTX_OWNER_ATTR']);}['__initDataCtx'](){let _0x1b426e=this['constructor']['__attrDesc'];if(_0x1b426e){for(let _0x2df463 of Object['values'](_0x1b426e))Object['keys'](this['init$'])['includes'](_0x2df463)||(this['init$'][_0x2df463]='');}for(let _0x478c63 in this['init$'])if(_0x478c63['startsWith'](_0x2a62c9['EXT_DATA_CTX_PRFX']))this['nodeCtx']['add'](_0x478c63['replace'](_0x2a62c9['EXT_DATA_CTX_PRFX'],''),this['init$'][_0x478c63],this['__ctxOwner']);else{if(_0x478c63['includes'](_0x2a62c9['NAMED_DATA_CTX_SPLTR'])){let _0xd370eb=_0x478c63['split'](_0x2a62c9['NAMED_DATA_CTX_SPLTR']),_0xc28c59=_0xd370eb[0x0]['trim'](),_0x2da4e3=_0xd370eb[0x1]['trim']();if(_0xc28c59&&_0x2da4e3){let _0x434144=_0x191ad9['getCtx'](_0xc28c59,!0x1);_0x434144||(_0x434144=_0x191ad9['registerCtx']({},_0xc28c59)),_0x434144['add'](_0x2da4e3,this['init$'][_0x478c63]);}}else this['localCtx']['add'](_0x478c63,this['init$'][_0x478c63]);}for(let _0xe0228e in this['cssInit$'])this['bindCssData'](_0xe0228e,this['cssInit$'][_0xe0228e]);this['__dataCtxInitialized']=!0x0;}['connectedCallback'](){var _0x4f2b7d;if(this['isConnected']){if(this['__disconnectTimeout']&&window['clearTimeout'](this['__disconnectTimeout']),!this['connectedOnce']){let _0x506b1e=null==(_0x4f2b7d=this['getAttribute'](_0x2a62c9['CTX_NAME_ATTR']))?void 0x0:_0x4f2b7d['trim']();if(_0x506b1e&&this['style']['setProperty'](_0x2a62c9['CSS_CTX_PROP'],'\x27'+_0x506b1e+'\x27'),this['__initDataCtx'](),this[_0x2a62c9['SET_LATER_KEY']]){for(let _0x3a8bc2 in this[_0x2a62c9['SET_LATER_KEY']])_0x11ff96(this,_0x3a8bc2,this[_0x2a62c9['SET_LATER_KEY']][_0x3a8bc2]);delete this[_0x2a62c9['SET_LATER_KEY']];}this['initChildren']=[...this['childNodes']];for(let _0x4d99ac of tP)this['addTemplateProcessor'](_0x4d99ac);if(this['pauseRender'])this['__initCallback']();else{if(this['constructor']['__rootStylesLink']){let _0x20acf2=this['getRootNode']();if(!_0x20acf2)return;if(null==_0x20acf2?void 0x0:_0x20acf2['querySelector']('link['+_0x2a62c9['ROOT_STYLE_ATTR_NAME']+'=\x22'+this['constructor']['is']+'\x22]'))return void this['render']();let _0x5d42d7=this['constructor']['__rootStylesLink']['cloneNode'](!0x0);_0x5d42d7['setAttribute'](_0x2a62c9['ROOT_STYLE_ATTR_NAME'],this['constructor']['is']),_0x5d42d7['onload']=()=>{this['render']();},_0x20acf2['nodeType']===Node['DOCUMENT_NODE']?_0x20acf2['head']['appendChild'](_0x5d42d7):_0x20acf2['prepend'](_0x5d42d7);}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 _0x4e3c52 of this['allSubs'])_0x4e3c52['remove'](),this['allSubs']['delete'](_0x4e3c52);for(let _0x354d2d of this['tplProcessors'])this['tplProcessors']['delete'](_0x354d2d);null==_0x34c4ab||_0x34c4ab['delete'](this['updateCssData']),(null==_0x34c4ab?void 0x0:_0x34c4ab['size'])||(null==_0x3e3bb7||_0x3e3bb7['disconnect'](),_0x3e3bb7=null,_0x34c4ab=null);},0x64)));}static['reg'](_0x314a5b,_0x40cf2d=!0x1){_0x314a5b||(_0x5ddf1f++,_0x314a5b=_0x2a62c9['AUTO_TAG_PRFX']+'-'+_0x5ddf1f),this['__tag']=_0x314a5b;let _0x3e7850=window['customElements']['get'](_0x314a5b);_0x3e7850?_0x40cf2d||_0x3e7850===this||console['warn'](['Element\x20with\x20tag\x20name\x20\x22'+_0x314a5b+'\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'](_0x314a5b,_0x40cf2d?class extends this{}:this);}static get['is'](){return this['__tag']||this['reg'](),this['__tag'];}static['bindAttributes'](_0x1925df){this['observedAttributes']=Object['keys'](_0x1925df),this['__attrDesc']=_0x1925df;}['attributeChangedCallback'](_0x427982,_0x178196,_0x292995){var _0x53f0b5;if(_0x178196===_0x292995)return;let _0x47083f=null==(_0x53f0b5=this['constructor']['__attrDesc'])?void 0x0:_0x53f0b5[_0x427982];_0x47083f?this['__dataCtxInitialized']?this['$'][_0x47083f]=_0x292995:this['init$'][_0x47083f]=_0x292995:this[_0x427982]=_0x292995;}['getCssData'](_0x27603b,_0x1b56b2=!0x1){if(this['__cssDataCache']||(this['__cssDataCache']=Object['create'](null)),!Object['keys'](this['__cssDataCache'])['includes'](_0x27603b)){this['__computedStyle']||(this['__computedStyle']=window['getComputedStyle'](this));let _0x3e1cf9=this['__computedStyle']['getPropertyValue'](_0x27603b)['trim']();try{this['__cssDataCache'][_0x27603b]=_0x10bf71(_0x3e1cf9);}catch(_0x29424c){!_0x1b56b2&&console['warn']('CSS\x20Data\x20error:\x20'+_0x27603b),this['__cssDataCache'][_0x27603b]=null;}}return this['__cssDataCache'][_0x27603b];}['__extractCssName'](_0x558923){return _0x558923['split']('--')['map']((_0xba5883,_0x482185)=>0x0===_0x482185?'':_0xba5883)['join']('--');}['__initStyleAttrObserver'](){_0x34c4ab||(_0x34c4ab=new Set()),_0x34c4ab['add'](this['updateCssData']),_0x3e3bb7||(_0x3e3bb7=new MutationObserver(_0x34c0e6=>{'attributes'===_0x34c0e6[0x0]['type']&&_0x34c4ab['forEach'](_0x1fa5e8=>{_0x1fa5e8();});}))['observe'](document,{'childList':!0x0,'subtree':!0x0,'attributes':!0x0,'attributeFilter':['style']});}['bindCssData'](_0x356ffd,_0x30bf84=''){this['__boundCssProps']||(this['__boundCssProps']=new Set()),this['__boundCssProps']['add'](_0x356ffd);let _0x50d5b4=this['getCssData'](this['__extractCssName'](_0x356ffd),!0x0);null===_0x50d5b4&&(_0x50d5b4=_0x30bf84),this['add'](_0x356ffd,_0x50d5b4),this['__initStyleAttrObserver']();}['dropCssDataCache'](){this['__cssDataCache']=null,this['__computedStyle']=null;}['defineAccessor'](_0x1cfa78,_0x563fa5,_0x1da37c){let _0x20196f='__'+_0x1cfa78;this[_0x20196f]=this[_0x1cfa78],Object['defineProperty'](this,_0x1cfa78,{'set':_0x4f1a7c=>{this[_0x20196f]=_0x4f1a7c,_0x1da37c?window['setTimeout'](()=>{null==_0x563fa5||_0x563fa5(_0x4f1a7c);}):null==_0x563fa5||_0x563fa5(_0x4f1a7c);},'get':()=>this[_0x20196f]}),this[_0x1cfa78]=this[_0x20196f];}static set['shadowStyles'](_0x208c15){let _0x468ff5=new Blob([_0x208c15],{'type':'text/css'});this['__shadowStylesUrl']=URL['createObjectURL'](_0x468ff5);}static set['rootStyles'](_0x4b5037){if(!this['__rootStylesLink']){let _0x516d15=new Blob([_0x4b5037],{'type':'text/css'}),_0x28cecf=URL['createObjectURL'](_0x516d15),_0x6368b3=document['createElement']('link');_0x6368b3['href']=_0x28cecf,_0x6368b3['rel']='stylesheet',this['__rootStylesLink']=_0x6368b3;}}},_0x36866e=_0x26d03c;function _0x59e2b6(_0x239c7f,_0x41fdac){for(let _0x1ebf5c in _0x41fdac)_0x1ebf5c['includes']('-')?_0x239c7f['style']['setProperty'](_0x1ebf5c,_0x41fdac[_0x1ebf5c]):_0x239c7f['style'][_0x1ebf5c]=_0x41fdac[_0x1ebf5c];}function _0x172471(_0x1d66f0={'tag':'div'}){let _0x30ac2d=document['createElement'](_0x1d66f0['tag']);if(_0x1d66f0['attributes']&&function(_0x539ac0,_0x4a0f5c){for(let _0x5d4c35 in _0x4a0f5c)_0x4a0f5c[_0x5d4c35]['constructor']===Boolean?_0x4a0f5c[_0x5d4c35]?_0x539ac0['setAttribute'](_0x5d4c35,''):_0x539ac0['removeAttribute'](_0x5d4c35):_0x539ac0['setAttribute'](_0x5d4c35,_0x4a0f5c[_0x5d4c35]);}(_0x30ac2d,_0x1d66f0['attributes']),_0x1d66f0['styles']&&_0x59e2b6(_0x30ac2d,_0x1d66f0['styles']),_0x1d66f0['properties']){for(let _0x2aeaa1 in _0x1d66f0['properties'])_0x30ac2d[_0x2aeaa1]=_0x1d66f0['properties'][_0x2aeaa1];}return _0x1d66f0['processors']&&_0x1d66f0['processors']['forEach'](_0x140009=>{_0x140009(_0x30ac2d);}),_0x1d66f0['children']&&_0x1d66f0['children']['forEach'](_0x54de3c=>{let _0x59bcc4=_0x172471(_0x54de3c);_0x30ac2d['appendChild'](_0x59bcc4);}),_0x30ac2d;}_0x82f98d(_0x36866e,'template');var _0x3ce872='idb-store-ready',_0x186f99=class{['_notifyWhenReady'](_0xe7f8c0=null){window['dispatchEvent'](new CustomEvent(_0x3ce872,{'detail':{'dbName':this['name'],'storeName':this['storeName'],'event':_0xe7f8c0}}));}get['_updEventName'](){return'symbiote-idb-update_'+this['name'];}['_getUpdateEvent'](_0x3ccf7b){return new CustomEvent(this['_updEventName'],{'detail':{'key':this['name'],'newValue':_0x3ccf7b}});}['_notifySubscribers'](_0x270b36){window['localStorage']['removeItem'](this['name']),window['localStorage']['setItem'](this['name'],_0x270b36),window['dispatchEvent'](this['_getUpdateEvent'](_0x270b36));}constructor(_0x2d3279,_0x9c56ec){this['name']=_0x2d3279,this['storeName']=_0x9c56ec,this['version']=0x1,this['request']=window['indexedDB']['open'](this['name'],this['version']),this['request']['onupgradeneeded']=_0x2d394d=>{this['db']=_0x2d394d['target']['result'],this['objStore']=this['db']['createObjectStore'](_0x9c56ec,{'keyPath':'_key'}),this['objStore']['transaction']['oncomplete']=_0x4cf87d=>{this['_notifyWhenReady'](_0x4cf87d);};},this['request']['onsuccess']=_0x24e70b=>{this['db']=_0x24e70b['target']['result'],this['_notifyWhenReady'](_0x24e70b);},this['request']['onerror']=_0x3528d1=>{console['error'](_0x3528d1);},this['_subscriptionsMap']={},this['_updateHandler']=_0x4c48f1=>{_0x4c48f1['key']===this['name']&&this['_subscriptionsMap'][_0x4c48f1['newValue']]&&this['_subscriptionsMap'][_0x4c48f1['newValue']]['forEach'](async _0x3583f2=>{_0x3583f2(await this['read'](_0x4c48f1['newValue']));});},this['_localUpdateHandler']=_0x271eb6=>{this['_updateHandler'](_0x271eb6['detail']);},window['addEventListener']('storage',this['_updateHandler']),window['addEventListener'](this['_updEventName'],this['_localUpdateHandler']);}['read'](_0x4c4cae){let _0x335a96=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['get'](_0x4c4cae);return new Promise((_0x2e3419,_0x14db57)=>{_0x335a96['onsuccess']=_0x41eb0f=>{var _0x2286f2;(null==(_0x2286f2=_0x41eb0f['target']['result'])?void 0x0:_0x2286f2['_value'])?_0x2e3419(_0x41eb0f['target']['result']['_value']):(_0x2e3419(null),console['warn']('IDB:\x20cannot\x20read\x20\x22'+_0x4c4cae+'\x22'));},_0x335a96['onerror']=_0x24578b=>{_0x14db57(_0x24578b);};});}['write'](_0x53315b,_0x107bf4,_0x26297d=!0x1){let _0x36c135={'_key':_0x53315b,'_value':_0x107bf4},_0x5bc12c=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['put'](_0x36c135);return new Promise((_0x556c66,_0x229cc3)=>{_0x5bc12c['onsuccess']=_0x5161af=>{_0x26297d||this['_notifySubscribers'](_0x53315b),_0x556c66(_0x5161af['target']['result']);},_0x5bc12c['onerror']=_0x5f591a=>{_0x229cc3(_0x5f591a);};});}['delete'](_0x2b1781,_0x30f117=!0x1){let _0x4e4aa0=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['delete'](_0x2b1781);return new Promise((_0x3757e7,_0xdcb20)=>{_0x4e4aa0['onsuccess']=_0x32a76a=>{_0x30f117||this['_notifySubscribers'](_0x2b1781),_0x3757e7(_0x32a76a);},_0x4e4aa0['onerror']=_0x30ca0c=>{_0xdcb20(_0x30ca0c);};});}['getAll'](){let _0x13ce73=this['db']['transaction'](this['storeName'],'readwrite')['objectStore'](this['storeName'])['getAll']();return new Promise((_0x5ac09d,_0x462788)=>{_0x13ce73['onsuccess']=_0x2cdf7e=>{let _0x5c6ac5=_0x2cdf7e['target']['result'];_0x5ac09d(_0x5c6ac5['map'](_0x5e2615=>_0x5e2615['_value']));},_0x13ce73['onerror']=_0x587db5=>{_0x462788(_0x587db5);};});}['subscribe'](_0x415a96,_0x250456){this['_subscriptionsMap'][_0x415a96]||(this['_subscriptionsMap'][_0x415a96]=new Set());let _0x3a1237=this['_subscriptionsMap'][_0x415a96];return _0x3a1237['add'](_0x250456),{'remove':()=>{_0x3a1237['delete'](_0x250456),_0x3a1237['size']||delete this['_subscriptionsMap'][_0x415a96];}};}['stop'](){window['removeEventListener']('storage',this['_updateHandler']),this['_subscriptionsMap']=null,_0x3a3090['clear'](this['name']);}},_0x3a3090=class{static get['readyEventName'](){return _0x3ce872;}static['open'](_0x36aa25='symbiote-db',_0x1e4848='store'){let _0x1e3c2e=_0x36aa25+'/'+_0x1e4848;return this['_reg'][_0x1e3c2e]||(this['_reg'][_0x1e3c2e]=new _0x186f99(_0x36aa25,_0x1e4848)),this['_reg'][_0x1e3c2e];}static['clear'](_0x559c2a){window['indexedDB']['deleteDatabase'](_0x559c2a);for(let _0x2c4f44 in this['_reg'])_0x2c4f44['split']('/')[0x0]===_0x559c2a&&delete this['_reg'][_0x2c4f44];}};function _0x27923d(_0x3ff6fb){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x3ff6fb);}_0x82f98d(_0x3a3090,'_reg',Object['create'](null));const _0x212d59=/\W|_/g;function _0x28891d(_0x6670c3){return _0x6670c3['split'](_0x212d59)['map']((_0x7d02a4,_0x49d12f)=>_0x7d02a4['charAt'](0x0)[_0x49d12f>0x0?'toUpperCase':'toLowerCase']()+_0x7d02a4['slice'](0x1))['join']('');}function _0x483214(_0xfaf01d,{ignoreKeys:_0x2b743f}={'ignoreKeys':[]}){return Array['isArray'](_0xfaf01d)?_0xfaf01d['map'](_0x324f17=>_0x552a87(_0x324f17,{'ignoreKeys':_0x2b743f})):_0xfaf01d;}function _0x552a87(_0x556248,{ignoreKeys:_0x280cff}={'ignoreKeys':[]}){if(Array['isArray'](_0x556248))return _0x483214(_0x556248,{'ignoreKeys':_0x280cff});if(!_0x27923d(_0x556248))return _0x556248;const _0x4b96a9={};for(const _0x24c356 of Object['keys'](_0x556248)){let _0xfb5c2f=_0x556248[_0x24c356];_0x280cff['includes'](_0x24c356)?_0x4b96a9[_0x24c356]=_0xfb5c2f:(_0x27923d(_0xfb5c2f)?_0xfb5c2f=_0x552a87(_0xfb5c2f,{'ignoreKeys':_0x280cff}):Array['isArray'](_0xfb5c2f)&&(_0xfb5c2f=_0x483214(_0xfb5c2f,{'ignoreKeys':_0x280cff})),_0x4b96a9[_0x28891d(_0x24c356)]=_0xfb5c2f);}return _0x4b96a9;}function _0x40dea8({libraryName:_0x4fec63,libraryVersion:_0x32e78d,userAgent:_0x243846,publicKey:_0x2d21b0='',integration:_0x28a577=''}){const _0x1c614='JavaScript';if('string'==typeof _0x243846)return _0x243846;if('function'==typeof _0x243846)return _0x243846({'publicKey':_0x2d21b0,'libraryName':_0x4fec63,'libraryVersion':_0x32e78d,'languageName':_0x1c614,'integration':_0x28a577});return[_0x4fec63,_0x32e78d,_0x2d21b0]['filter'](Boolean)['join']('/')+'\x20('+[_0x1c614,_0x28a577]['filter'](Boolean)['join'](';\x20')+')';}const _0x44a914={'factor':0x2,'time':0x64};function _0x1f698d(_0x2eeebb,_0x10ef4d=_0x44a914){let _0x57fc88=0x0;return function _0x307716(_0x11a386){const _0x366607=Math['round'](_0x10ef4d['time']*_0x10ef4d['factor']**_0x57fc88);return _0x11a386({'attempt':_0x57fc88,'retry':_0x5e8ae6=>(_0x55de7f=>new Promise(_0xa5045a=>setTimeout(_0xa5045a,_0x55de7f)))(_0x5e8ae6??_0x366607)['then'](()=>(_0x57fc88+=0x1,_0x307716(_0x11a386)))});}(_0x2eeebb);}class _0x338809 extends Error{}class NetworkError extends _0x338809{['originalProgressEvent'];constructor(_0x5419d6){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x5419d6;}}const _0x50d80d=(_0x2452e7,_0x177c67)=>{_0x2452e7&&(_0x2452e7['aborted']?Promise['resolve']()['then'](_0x177c67):_0x2452e7['addEventListener']('abort',()=>_0x177c67(),{'once':!0x0}));};class _0x5888df extends _0x338809{['isCancel']=!0x0;constructor(_0x533248='Request\x20canceled'){super(_0x533248),this['name']='CancelError',Object['setPrototypeOf'](this,_0x5888df['prototype']);}}const _0x36ed33=({check:_0x24092b,interval:_0x3ad6b0=0x1f4,timeout:_0x24479a,signal:_0x53749b})=>new Promise((_0x273af4,_0x28acbf)=>{let _0x38aca2,_0x4e5678;_0x50d80d(_0x53749b,()=>{_0x38aca2&&clearTimeout(_0x38aca2),_0x28acbf(new _0x5888df('Poll\x20cancelled'));}),_0x24479a&&(_0x4e5678=setTimeout(()=>{_0x38aca2&&clearTimeout(_0x38aca2),_0x28acbf(new _0x5888df('Timed\x20out'));},_0x24479a));const _0x431fd7=()=>{try{Promise['resolve'](_0x24092b(_0x53749b))['then'](_0x23d40a=>{_0x23d40a?(_0x4e5678&&clearTimeout(_0x4e5678),_0x273af4(_0x23d40a)):_0x38aca2=setTimeout(_0x431fd7,_0x3ad6b0);})['catch'](_0x280f52=>{_0x4e5678&&clearTimeout(_0x4e5678),_0x28acbf(_0x280f52);});}catch(_0x57819b){_0x4e5678&&clearTimeout(_0x4e5678),_0x28acbf(_0x57819b);}};_0x38aca2=setTimeout(_0x431fd7,0x0);}),_0x212a7a='https://ucarecdn.com',_0x1551ee='https://upload.uploadcare.com',_0x4fdb2b=0x1,_0x23aaaf=0x3,_0x536d53=0x1900000,_0x3be0e5=0x500000,_0x29eab6=0x4,_0xa8c693='79ae88bd931ea68464d9',_0x1e4248='application/octet-stream',_0x2872d8='original',_0x3441a2=({method:_0x7ab480,url:_0x3fa29d,data:_0x56f701,headers:_0x4fd54b={},signal:_0xc4c771,onProgress:_0xff7416})=>new Promise((_0x12ace5,_0x227c73)=>{const _0x4e7f65=new XMLHttpRequest(),_0x3117f5=_0x7ab480?.['toUpperCase']()||'GET';let _0x54b4ef=!0x1;_0x4e7f65['open'](_0x3117f5,_0x3fa29d,!0x0),_0x4fd54b&&Object['entries'](_0x4fd54b)['forEach'](_0x24eb6e=>{const [_0xb472e9,_0x166675]=_0x24eb6e;void 0x0!==_0x166675&&!Array['isArray'](_0x166675)&&_0x4e7f65['setRequestHeader'](_0xb472e9,_0x166675);}),_0x4e7f65['responseType']='text',_0x50d80d(_0xc4c771,()=>{_0x54b4ef=!0x0,_0x4e7f65['abort'](),_0x227c73(new _0x5888df());}),_0x4e7f65['onload']=()=>{if(0xc8!=_0x4e7f65['status'])_0x227c73(new Error('Error\x20'+_0x4e7f65['status']+':\x20'+_0x4e7f65['statusText']));else{const _0x171f83={'method':_0x3117f5,'url':_0x3fa29d,'data':_0x56f701,'headers':_0x4fd54b||void 0x0,'signal':_0xc4c771,'onProgress':_0xff7416},_0x5323e6=_0x4e7f65['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x4e2a0b={};_0x5323e6['forEach'](function(_0x2d07c2){const _0x43e9e4=_0x2d07c2['split'](':\x20'),_0x5514f3=_0x43e9e4['shift'](),_0x3e0812=_0x43e9e4['join'](':\x20');_0x5514f3&&void 0x0!==_0x5514f3&&(_0x4e2a0b[_0x5514f3]=_0x3e0812);});const _0x1dd805=_0x4e7f65['response'],_0x22c385=_0x4e7f65['status'];_0x12ace5({'request':_0x171f83,'data':_0x1dd805,'headers':_0x4e2a0b,'status':_0x22c385});}},_0x4e7f65['onerror']=_0x2a3afb=>{_0x54b4ef||_0x227c73(new NetworkError(_0x2a3afb));},_0xff7416&&'function'==typeof _0xff7416&&(_0x4e7f65['upload']['onprogress']=_0x4ea9c3=>{_0x4ea9c3['lengthComputable']?_0xff7416({'isComputable':!0x0,'value':_0x4ea9c3['loaded']/_0x4ea9c3['total']}):_0xff7416({'isComputable':!0x1});}),_0x56f701?_0x4e7f65['send'](_0x56f701):_0x4e7f65['send']();}),_0x2d4819=function(_0x4189db,..._0x2c061a){return _0x4189db;},_0x4734f0=_0x2f3d8b=>'undefined'!=typeof Blob&&_0x2f3d8b instanceof Blob,_0x188459=_0x36468e=>'undefined'!=typeof File&&_0x36468e instanceof File,_0x5f3568=_0x5f47b1=>!!_0x5f47b1&&'object'==typeof _0x5f47b1&&!Array['isArray'](_0x5f47b1)&&'uri'in _0x5f47b1&&'string'==typeof _0x5f47b1['uri'],_0x4fccc0=_0x5d99a8=>_0x4734f0(_0x5d99a8)||_0x188459(_0x5d99a8)||_0x5f3568(_0x5d99a8);function _0x4194df(_0x3046eb,_0x26e1e3,_0xc97a70){if(Array['isArray'](_0xc97a70)){for(const _0xeb7a27 of _0xc97a70)_0x4194df(_0x3046eb,_0x26e1e3+'[]',_0xeb7a27);}else{if((_0x54019f=>!!_0x54019f&&'object'==typeof _0x54019f&&'data'in _0x54019f&&_0x4fccc0(_0x54019f['data']))(_0xc97a70)){const {name:_0x12269c,contentType:_0x2cd83b}=_0xc97a70,_0x486d7a=_0x2d4819(_0xc97a70['data'],_0x12269c,_0x2cd83b??_0x1e4248),_0x3194e1=(({name:_0x4d3295})=>_0x4d3295?[_0x4d3295]:[])({'name':_0x12269c});_0x3046eb['push']([_0x26e1e3,_0x486d7a,..._0x3194e1]);}else{if((_0x1a544f=>!!_0x1a544f&&'object'==typeof _0x1a544f&&!Array['isArray'](_0x1a544f))(_0xc97a70)){for(const [_0x2a19d3,_0x52492c]of Object['entries'](_0xc97a70))void 0x0!==_0x52492c&&_0x3046eb['push']([_0x26e1e3+'['+_0x2a19d3+']',String(_0x52492c)]);}else(_0x5c4efc=>'string'==typeof _0x5c4efc||'number'==typeof _0x5c4efc||void 0x0===_0x5c4efc)(_0xc97a70)&&_0xc97a70&&_0x3046eb['push']([_0x26e1e3,_0xc97a70['toString']()]);}}}function _0x5ec083(_0x4b6b7d){const _0x56213d=new FormData(),_0x4ea81c=function(_0x4d3fb6){const _0x2d1499=[];for(const [_0x350345,_0x212eba]of Object['entries'](_0x4d3fb6))_0x4194df(_0x2d1499,_0x350345,_0x212eba);return _0x2d1499;}(_0x4b6b7d);for(const _0x55d745 of _0x4ea81c){const [_0x1bb6b5,_0x12d040,..._0x3b12e7]=_0x55d745;_0x56213d['append'](_0x1bb6b5,_0x12d040,..._0x3b12e7);}return _0x56213d;}class _0x2a7491 extends _0x338809{['code'];['request'];['response'];['headers'];constructor(_0x3a2671,_0x2e5ce9,_0x4f229a,_0x3db221,_0x2723d9){super(),this['name']='UploadError',this['message']=_0x3a2671,this['code']=_0x2e5ce9,this['request']=_0x4f229a,this['response']=_0x3db221,this['headers']=_0x2723d9,Object['setPrototypeOf'](this,_0x2a7491['prototype']);}}const _0x51cf95=(_0x46ebb0,_0x3c38e2,_0xdb213a)=>{const _0x1dcb5d=new URL(_0x46ebb0);return _0x1dcb5d['pathname']=(_0x1dcb5d['pathname']+_0x3c38e2)['replace']('//','/'),_0xdb213a&&(_0x1dcb5d['search']=(_0x5c0891=>{const _0xd509f7=new URLSearchParams();for(const [_0x2dfd1a,_0x2a0f16]of Object['entries'](_0x5c0891))_0x2a0f16&&'object'==typeof _0x2a0f16&&!Array['isArray'](_0x2a0f16)?Object['entries'](_0x2a0f16)['filter'](_0x2fafcc=>_0x2fafcc[0x1]??!0x1)['forEach'](_0x811237=>_0xd509f7['set'](_0x2dfd1a+'['+_0x811237[0x0]+']',String(_0x811237[0x1]))):Array['isArray'](_0x2a0f16)?_0x2a0f16['forEach'](_0x3e5fc0=>{_0xd509f7['append'](_0x2dfd1a+'[]',_0x3e5fc0);}):'string'==typeof _0x2a0f16&&_0x2a0f16?_0xd509f7['set'](_0x2dfd1a,_0x2a0f16):'number'==typeof _0x2a0f16&&_0xd509f7['set'](_0x2dfd1a,_0x2a0f16['toString']());return _0xd509f7['toString']();})(_0xdb213a)),_0x1dcb5d['toString']();};function _0x317487(_0x2df51c){return _0x40dea8({'libraryName':'UploadcareUploadClient','libraryVersion':'6.18.2',..._0x2df51c});}function _0x5e54a3(_0x44d3f7,_0x1b464a){const {retryThrottledRequestMaxTimes:_0xe578de,retryNetworkErrorMaxTimes:_0x10628a}=_0x1b464a;return _0x1f698d(({attempt:_0x51b4e3,retry:_0x12d2ea})=>_0x44d3f7()['catch'](_0x1abec7=>{if('response'in _0x1abec7&&'RequestThrottledError'===_0x1abec7?.['code']&&_0x51b4e3<_0xe578de)return _0x12d2ea(function(_0x87f25c){const {headers:_0x15d733}=_0x87f25c||{};if(!_0x15d733||'string'!=typeof _0x15d733['retry-after'])return 0x3a98;const _0x250d9a=parseInt(_0x15d733['retry-after'],0xa);return Number['isFinite'](_0x250d9a)?0x3e8*_0x250d9a:0x3a98;}(_0x1abec7));if(_0x1abec7 instanceof NetworkError&&_0x51b4e3<_0x10628a)return _0x12d2ea(0x3e8*(_0x51b4e3+0x1));throw _0x1abec7;}));}const _0x48f03b=_0x63a1c9=>{let _0x3079a7='';return(_0x4734f0(_0x63a1c9)||_0x188459(_0x63a1c9)||_0x5f3568(_0x63a1c9))&&(_0x3079a7=_0x63a1c9['type']),_0x3079a7||_0x1e4248;},_0x5a6ced=_0x40c6fd=>{let _0x19b378='';return _0x188459(_0x40c6fd)&&_0x40c6fd['name']?_0x19b378=_0x40c6fd['name']:_0x4734f0(_0x40c6fd)?_0x19b378='':_0x5f3568(_0x40c6fd)&&_0x40c6fd['name']&&(_0x19b378=_0x40c6fd['name']),_0x19b378||_0x2872d8;};function _0x50a5ed(_0x21082c){return void 0x0===_0x21082c||'auto'===_0x21082c?'auto':_0x21082c?'1':'0';}var _0x59b9dc,_0x3feaaf;!function(_0x32085b){_0x32085b['Token']='token',_0x32085b['FileInfo']='file_info';}(_0x59b9dc||(_0x59b9dc={})),function(_0x47c389){_0x47c389['Unknown']='unknown',_0x47c389['Waiting']='waiting',_0x47c389['Progress']='progress',_0x47c389['Error']='error',_0x47c389['Success']='success';}(_0x3feaaf||(_0x3feaaf={}));function _0x17faae(_0x487de6,{publicKey:_0x693e59,baseURL:_0x2db14a=_0x1551ee,signal:_0x5e7b61,integration:_0x58d325,userAgent:_0x4b4555,retryThrottledRequestMaxTimes:_0x2ebfe5=_0x4fdb2b,retryNetworkErrorMaxTimes:_0x47aeeb=_0x23aaaf}={}){return _0x5e54a3(()=>_0x3441a2({'method':'GET','headers':_0x693e59?{'X-UC-User-Agent':_0x317487({'publicKey':_0x693e59,'integration':_0x58d325,'userAgent':_0x4b4555})}:void 0x0,'url':_0x51cf95(_0x2db14a,'/from_url/status/',{'jsonerrors':0x1,'token':_0x487de6}),'signal':_0x5e7b61})['then'](({data:_0x18ead7,headers:_0x49e073,request:_0x1b8735})=>{const _0x217aaf=_0x552a87(JSON['parse'](_0x18ead7));if('error'in _0x217aaf&&!(_0x368d67=>'status'in _0x368d67&&_0x368d67['status']===_0x3feaaf['Error'])(_0x217aaf))throw new _0x2a7491(_0x217aaf['error']['content'],_0x217aaf['error']['errorCode'],_0x1b8735,_0x217aaf,_0x49e073);return _0x217aaf;}),{'retryNetworkErrorMaxTimes':_0x47aeeb,'retryThrottledRequestMaxTimes':_0x2ebfe5});}function _0x1ec959(_0x55127c,{publicKey:_0x51aa46,baseURL:_0x244de8=_0x1551ee,signal:_0x1bdb16,source:_0x52b66f,integration:_0x4f80c9,userAgent:_0x348f0e,retryThrottledRequestMaxTimes:_0x5eeaf0=_0x4fdb2b,retryNetworkErrorMaxTimes:_0xafefff=_0x23aaaf}){return _0x5e54a3(()=>_0x3441a2({'method':'GET','headers':{'X-UC-User-Agent':_0x317487({'publicKey':_0x51aa46,'integration':_0x4f80c9,'userAgent':_0x348f0e})},'url':_0x51cf95(_0x244de8,'/info/',{'jsonerrors':0x1,'pub_key':_0x51aa46,'file_id':_0x55127c,'source':_0x52b66f}),'signal':_0x1bdb16})['then'](({data:_0x482d2e,headers:_0x2fe180,request:_0xe32cc})=>{const _0x2c473a=_0x552a87(JSON['parse'](_0x482d2e));if('error'in _0x2c473a)throw new _0x2a7491(_0x2c473a['error']['content'],_0x2c473a['error']['errorCode'],_0xe32cc,_0x2c473a,_0x2fe180);return _0x2c473a;}),{'retryThrottledRequestMaxTimes':_0x5eeaf0,'retryNetworkErrorMaxTimes':_0xafefff});}function _0x48a13c(_0x13e110,{publicKey:_0x3d913a,baseURL:_0x6ed295,source:_0x48bc98,integration:_0x4a39b8,userAgent:_0x59a289,retryThrottledRequestMaxTimes:_0x363224,retryNetworkErrorMaxTimes:_0x4620d3,signal:_0x3e6230,onProgress:_0x38c39c}){return _0x36ed33({'check':_0x1a7231=>_0x1ec959(_0x13e110,{'publicKey':_0x3d913a,'baseURL':_0x6ed295,'signal':_0x1a7231,'source':_0x48bc98,'integration':_0x4a39b8,'userAgent':_0x59a289,'retryThrottledRequestMaxTimes':_0x363224,'retryNetworkErrorMaxTimes':_0x4620d3})['then'](_0x598f48=>_0x598f48['isReady']?_0x598f48:(_0x38c39c&&_0x38c39c({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x3e6230});}class _0x80ed34{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x1db1be,{baseCDN:_0x496f2b=_0x212a7a,fileName:_0x3bc84e}={}){const {uuid:_0x2b8b70,s3Bucket:_0x328c51}=_0x1db1be,_0x3bcb58=_0x51cf95(_0x496f2b,_0x2b8b70+'/'),_0x27a607=_0x328c51?_0x51cf95('https://'+_0x328c51+'.s3.amazonaws.com/',_0x2b8b70+'/'+_0x1db1be['filename']):null;this['uuid']=_0x2b8b70,this['name']=_0x3bc84e||_0x1db1be['filename'],this['size']=_0x1db1be['size'],this['isStored']=_0x1db1be['isStored'],this['isImage']=_0x1db1be['isImage'],this['mimeType']=_0x1db1be['mimeType'],this['cdnUrl']=_0x3bcb58,this['originalFilename']=_0x1db1be['originalFilename'],this['imageInfo']=_0x1db1be['imageInfo'],this['videoInfo']=_0x1db1be['videoInfo'],this['contentInfo']=_0x1db1be['contentInfo'],this['metadata']=_0x1db1be['metadata']||null,this['s3Bucket']=_0x328c51||null,this['s3Url']=_0x27a607,function(_0x57a7e5){return'defaultEffects'in _0x57a7e5;}(_0x1db1be)&&(this['defaultEffects']=_0x1db1be['defaultEffects']);}}const tM=(_0x34959a,{publicKey:_0x14b79c,fileName:_0x46be1a,baseURL:_0x58a7f8,secureSignature:_0x4dec32,secureExpire:_0x57bb3c,store:_0x436ad8,contentType:_0x2a3720,signal:_0x41693d,onProgress:_0x543bd7,source:_0x3e5a49,integration:_0x3e035a,userAgent:_0x9ab074,retryThrottledRequestMaxTimes:_0x523afe,retryNetworkErrorMaxTimes:_0x31dda8,baseCDN:_0x5a6b3b,metadata:_0x4c3643})=>function(_0x49d842,{publicKey:_0x2a1f73,fileName:_0x357ba8,contentType:_0x4a33db,baseURL:_0x39c9e3=_0x1551ee,secureSignature:_0x23a23f,secureExpire:_0x16b583,store:_0x30d0b7,signal:_0x3434df,onProgress:_0x217618,source:_0x2392ce='local',integration:_0x47edb8,userAgent:_0x13178b,retryThrottledRequestMaxTimes:_0x39466e=_0x4fdb2b,retryNetworkErrorMaxTimes:_0x409c2b=_0x23aaaf,metadata:_0x30424a}){return _0x5e54a3(()=>_0x3441a2({'method':'POST','url':_0x51cf95(_0x39c9e3,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x317487({'publicKey':_0x2a1f73,'integration':_0x47edb8,'userAgent':_0x13178b})},'data':_0x5ec083({'file':{'data':_0x49d842,'name':_0x357ba8||_0x5a6ced(_0x49d842),'contentType':_0x4a33db||_0x48f03b(_0x49d842)},'UPLOADCARE_PUB_KEY':_0x2a1f73,'UPLOADCARE_STORE':_0x50a5ed(_0x30d0b7),'signature':_0x23a23f,'expire':_0x16b583,'source':_0x2392ce,'metadata':_0x30424a}),'signal':_0x3434df,'onProgress':_0x217618})['then'](({data:_0x1ab76b,headers:_0x2ebbaf,request:_0x48f925})=>{const _0xe34a9c=_0x552a87(JSON['parse'](_0x1ab76b));if('error'in _0xe34a9c)throw new _0x2a7491(_0xe34a9c['error']['content'],_0xe34a9c['error']['errorCode'],_0x48f925,_0xe34a9c,_0x2ebbaf);return _0xe34a9c;}),{'retryNetworkErrorMaxTimes':_0x409c2b,'retryThrottledRequestMaxTimes':_0x39466e});}(_0x34959a,{'publicKey':_0x14b79c,'fileName':_0x46be1a,'contentType':_0x2a3720,'baseURL':_0x58a7f8,'secureSignature':_0x4dec32,'secureExpire':_0x57bb3c,'store':_0x436ad8,'signal':_0x41693d,'onProgress':_0x543bd7,'source':_0x3e5a49,'integration':_0x3e035a,'userAgent':_0x9ab074,'retryThrottledRequestMaxTimes':_0x523afe,'retryNetworkErrorMaxTimes':_0x31dda8,'metadata':_0x4c3643})['then'](({file:_0x2e3cf6})=>_0x48a13c(_0x2e3cf6,{'publicKey':_0x14b79c,'baseURL':_0x58a7f8,'source':_0x3e5a49,'integration':_0x3e035a,'userAgent':_0x9ab074,'retryThrottledRequestMaxTimes':_0x523afe,'retryNetworkErrorMaxTimes':_0x31dda8,'onProgress':_0x543bd7,'signal':_0x41693d}))['then'](_0x5306d8=>new _0x80ed34(_0x5306d8,{'baseCDN':_0x5a6b3b})),_0x1e53b6=(_0x4f03aa,{signal:_0x534e36}={})=>{let _0x1a2dc4=null,_0x1258ba=null;const _0x400d87=_0x4f03aa['map'](()=>new AbortController());return _0x50d80d(_0x534e36,()=>{_0x400d87['forEach'](_0xabf4fe=>_0xabf4fe['abort']());}),Promise['all'](_0x4f03aa['map']((_0x1e1037,_0x39cdd1)=>{const _0x96584=(_0x5127a4=>()=>{_0x1258ba=_0x5127a4,_0x400d87['forEach']((_0x1231e9,_0x2ac62f)=>_0x2ac62f!==_0x5127a4&&_0x1231e9['abort']());})(_0x39cdd1);return Promise['resolve']()['then'](()=>_0x1e1037({'stopRace':_0x96584,'signal':_0x400d87[_0x39cdd1]['signal']}))['then'](_0x15645d=>(_0x96584(),_0x15645d))['catch'](_0xf7a25c=>(_0x1a2dc4=_0xf7a25c,null));}))['then'](_0x5a3400=>{if(null===_0x1258ba)throw _0x1a2dc4;return _0x5a3400[_0x1258ba];});};var _0x5647f7=window['WebSocket'];class Events{['events']=Object['create']({});['emit'](_0x663ea2,_0x476c69){this['events'][_0x663ea2]?.['forEach'](_0x2ee1fd=>_0x2ee1fd(_0x476c69));}['on'](_0x2fedcc,_0x52a645){this['events'][_0x2fedcc]=this['events'][_0x2fedcc]||[],this['events'][_0x2fedcc]['push'](_0x52a645);}['off'](_0x1ad3ed,_0x26b88d){this['events'][_0x1ad3ed]=_0x26b88d?this['events'][_0x1ad3ed]['filter'](_0x4c9527=>_0x4c9527!==_0x26b88d):[];}}class _0x2906a3{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new Events();['disconnectTimeoutId']=null;constructor(_0x428fb0,_0x567740=0x7530){this['key']=_0x428fb0,this['disconnectTime']=_0x567740;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x2be493='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new _0x5647f7(_0x2be493),this['ws']['addEventListener']('error',_0xfe20e9=>{this['emmitter']['emit']('error',new Error(_0xfe20e9['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0xeba59b=>this['send'](_0xeba59b['event'],_0xeba59b['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x5ea29d=>{const _0x398f42=JSON['parse'](_0x5ea29d['data']['toString']());switch(_0x398f42['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'](_0x398f42['channel'],((_0x18edb5,_0x506de1)=>'success'===_0x18edb5?{'status':_0x3feaaf['Success'],..._0x506de1}:'progress'===_0x18edb5?{'status':_0x3feaaf['Progress'],..._0x506de1}:{'status':_0x3feaaf['Error'],..._0x506de1})(_0x398f42['event'],JSON['parse'](_0x398f42['data'])));}});}}['disconnect'](){const _0x1beba5=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x1beba5();},this['disconnectTime']):_0x1beba5();}['send'](_0x28a482,_0x1382ba){const _0x288d81=JSON['stringify']({'event':_0x28a482,'data':_0x1382ba});this['ws']?.['send'](_0x288d81);}['subscribe'](_0x5f4097,_0x106a85){this['subscribers']+=0x1,this['connect']();const _0xcac3a9='task-status-'+_0x5f4097,_0x170af7={'event':'pusher:subscribe','data':{'channel':_0xcac3a9}};this['emmitter']['on'](_0xcac3a9,_0x106a85),this['isConnected']?this['send'](_0x170af7['event'],_0x170af7['data']):this['queue']['push'](_0x170af7);}['unsubscribe'](_0x17359c){this['subscribers']-=0x1;const _0xed5bc2='task-status-'+_0x17359c,_0x461294={'event':'pusher:unsubscribe','data':{'channel':_0xed5bc2}};this['emmitter']['off'](_0xed5bc2),this['isConnected']?this['send'](_0x461294['event'],_0x461294['data']):this['queue']=this['queue']['filter'](_0x7c4b26=>_0x7c4b26['data']['channel']!==_0xed5bc2),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x381dd8){return this['emmitter']['on']('error',_0x381dd8),()=>this['emmitter']['off']('error',_0x381dd8);}}let _0x3f92bb=null;const _0x12821b=_0x282b49=>{if(!_0x3f92bb){const _0x3c4f70='undefined'==typeof window?0x0:0x7530;_0x3f92bb=new _0x2906a3(_0x282b49,_0x3c4f70);}return _0x3f92bb;},_0x4c271a=(_0x50f97a,{publicKey:_0x32c974,fileName:_0x202329,baseURL:_0x39fa58,baseCDN:_0x3cfd48,checkForUrlDuplicates:_0x35e209,saveUrlForRecurrentUploads:_0x1fedf0,secureSignature:_0xfc0a4,secureExpire:_0x349981,store:_0x24c5a9,signal:_0x57ceb0,onProgress:_0x3cad88,source:_0x1a86d0,integration:_0x4b142d,userAgent:_0x482e14,retryThrottledRequestMaxTimes:_0x4347c9,pusherKey:_0x5c1c20=_0xa8c693,metadata:_0x2466b5})=>{return Promise['resolve']((_0x186fc3=_0x5c1c20,void _0x12821b(_0x186fc3)['connect']()))['then'](()=>function(_0x38848c,{publicKey:_0x2e6115,baseURL:_0x2e78a6=_0x1551ee,store:_0x4e2691,fileName:_0x313c6a,checkForUrlDuplicates:_0x24565b,saveUrlForRecurrentUploads:_0x35fadf,secureSignature:_0x2b9a40,secureExpire:_0x2db664,source:_0x365fac='url',signal:_0x41d605,integration:_0x125ffb,userAgent:_0xfd2c92,retryThrottledRequestMaxTimes:_0x507a95=_0x4fdb2b,retryNetworkErrorMaxTimes:_0x381fc0=_0x23aaaf,metadata:_0x405646}){return _0x5e54a3(()=>_0x3441a2({'method':'POST','headers':{'X-UC-User-Agent':_0x317487({'publicKey':_0x2e6115,'integration':_0x125ffb,'userAgent':_0xfd2c92})},'url':_0x51cf95(_0x2e78a6,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x2e6115,'source_url':_0x38848c,'store':_0x50a5ed(_0x4e2691),'filename':_0x313c6a,'check_URL_duplicates':_0x24565b?0x1:void 0x0,'save_URL_duplicates':_0x35fadf?0x1:void 0x0,'signature':_0x2b9a40,'expire':_0x2db664,'source':_0x365fac,'metadata':_0x405646}),'signal':_0x41d605})['then'](({data:_0x44da35,headers:_0x3c6e77,request:_0x507a07})=>{const _0x4a306d=_0x552a87(JSON['parse'](_0x44da35));if('error'in _0x4a306d)throw new _0x2a7491(_0x4a306d['error']['content'],_0x4a306d['error']['errorCode'],_0x507a07,_0x4a306d,_0x3c6e77);return _0x4a306d;}),{'retryNetworkErrorMaxTimes':_0x381fc0,'retryThrottledRequestMaxTimes':_0x507a95});}(_0x50f97a,{'publicKey':_0x32c974,'fileName':_0x202329,'baseURL':_0x39fa58,'checkForUrlDuplicates':_0x35e209,'saveUrlForRecurrentUploads':_0x1fedf0,'secureSignature':_0xfc0a4,'secureExpire':_0x349981,'store':_0x24c5a9,'signal':_0x57ceb0,'source':_0x1a86d0,'integration':_0x4b142d,'userAgent':_0x482e14,'retryThrottledRequestMaxTimes':_0x4347c9,'metadata':_0x2466b5}))['catch'](_0x44e2f1=>{const _0xf41b41=_0x12821b(_0x5c1c20);return _0xf41b41?.['disconnect'](),Promise['reject'](_0x44e2f1);})['then'](_0x19f5d1=>_0x19f5d1['type']===_0x59b9dc['FileInfo']?_0x19f5d1:_0x1e53b6([({signal:_0x5fc16d})=>function({token:_0x2e57f8,publicKey:_0xff98a0,baseURL:_0x46e345,integration:_0x31360b,userAgent:_0x57fa59,retryThrottledRequestMaxTimes:_0x152bb7,retryNetworkErrorMaxTimes:_0x3da7cf,onProgress:_0x62f51e,signal:_0x3c363a}){return _0x36ed33({'check':_0x2678f7=>_0x17faae(_0x2e57f8,{'publicKey':_0xff98a0,'baseURL':_0x46e345,'integration':_0x31360b,'userAgent':_0x57fa59,'retryThrottledRequestMaxTimes':_0x152bb7,'retryNetworkErrorMaxTimes':_0x3da7cf,'signal':_0x2678f7})['then'](_0x4a014d=>{switch(_0x4a014d['status']){case _0x3feaaf['Error']:return new _0x2a7491(_0x4a014d['error'],_0x4a014d['errorCode']);case _0x3feaaf['Waiting']:return!0x1;case _0x3feaaf['Unknown']:return new _0x2a7491('Token\x20\x22'+_0x2e57f8+'\x22\x20was\x20not\x20found.');case _0x3feaaf['Progress']:return _0x62f51e&&('unknown'===_0x4a014d['total']?_0x62f51e({'isComputable':!0x1}):_0x62f51e({'isComputable':!0x0,'value':_0x4a014d['done']/_0x4a014d['total']})),!0x1;case _0x3feaaf['Success']:return _0x62f51e&&_0x62f51e({'isComputable':!0x0,'value':_0x4a014d['done']/_0x4a014d['total']}),_0x4a014d;default:throw new Error('Unknown\x20status');}}),'signal':_0x3c363a});}({'token':_0x19f5d1['token'],'publicKey':_0x32c974,'baseURL':_0x39fa58,'integration':_0x4b142d,'userAgent':_0x482e14,'retryThrottledRequestMaxTimes':_0x4347c9,'onProgress':_0x3cad88,'signal':_0x5fc16d}),({signal:_0x58b531})=>(({token:_0x371a94,pusherKey:_0x12efb0,signal:_0x49dc9d,onProgress:_0x34a724})=>new Promise((_0xdc5561,_0x18abdd)=>{const _0x10b344=_0x12821b(_0x12efb0),_0x14542a=_0x10b344['onError'](_0x18abdd),_0x40b010=()=>{_0x14542a(),_0x10b344['unsubscribe'](_0x371a94);};_0x50d80d(_0x49dc9d,()=>{_0x40b010(),_0x18abdd(new _0x5888df('pusher\x20cancelled'));}),_0x10b344['subscribe'](_0x371a94,_0x2040e9=>{switch(_0x2040e9['status']){case _0x3feaaf['Progress']:_0x34a724&&('unknown'===_0x2040e9['total']?_0x34a724({'isComputable':!0x1}):_0x34a724({'isComputable':!0x0,'value':_0x2040e9['done']/_0x2040e9['total']}));break;case _0x3feaaf['Success']:_0x40b010(),_0x34a724&&_0x34a724({'isComputable':!0x0,'value':_0x2040e9['done']/_0x2040e9['total']}),_0xdc5561(_0x2040e9);break;case _0x3feaaf['Error']:_0x40b010(),_0x18abdd(new _0x2a7491(_0x2040e9['msg'],_0x2040e9['error_code']));}});}))({'token':_0x19f5d1['token'],'pusherKey':_0x5c1c20,'signal':_0x58b531,'onProgress':_0x3cad88})],{'signal':_0x57ceb0}))['then'](_0xed7f01=>{if(_0xed7f01 instanceof _0x2a7491)throw _0xed7f01;return _0xed7f01;})['then'](_0x5ed3f9=>_0x48a13c(_0x5ed3f9['uuid'],{'publicKey':_0x32c974,'baseURL':_0x39fa58,'integration':_0x4b142d,'userAgent':_0x482e14,'retryThrottledRequestMaxTimes':_0x4347c9,'onProgress':_0x3cad88,'signal':_0x57ceb0}))['then'](_0x820d47=>new _0x80ed34(_0x820d47,{'baseCDN':_0x3cfd48}));var _0x186fc3;},_0x2a93ae=new WeakMap(),_0x559aa8=async _0x304265=>{if(_0x188459(_0x304265)||_0x4734f0(_0x304265))return _0x304265['size'];if(_0x5f3568(_0x304265))return(await(async _0xcbd77b=>{if(_0x2a93ae['has'](_0xcbd77b))return _0x2a93ae['get'](_0xcbd77b);const _0x19d3f1=await fetch(_0xcbd77b['uri'])['then'](_0x5423e2=>_0x5423e2['blob']());return _0x2a93ae['set'](_0xcbd77b,_0x19d3f1),_0x19d3f1;})(_0x304265))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},_0x19cc08=_0xab0eb0=>{const _0x75bed8=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!_0x4fccc0(_0xab0eb0)&&_0x75bed8['test'](_0xab0eb0);},_0x2182c9=_0x36583c=>{const _0x4beffb=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!_0x4fccc0(_0x36583c)&&_0x4beffb['test'](_0x36583c);},_0x5c0449=async(_0xd11c4f,_0x176f82,_0x3e71f2)=>_0x4a75cd=>((_0x5880f5,_0x1691c0,_0x108e06,_0x320f9d)=>{const _0xd5cf22=_0x320f9d*_0x1691c0,_0x5ed131=Math['min'](_0xd5cf22+_0x320f9d,_0x108e06);return _0x5880f5['slice'](_0xd5cf22,_0x5ed131);})(_0xd11c4f,_0x4a75cd,_0x176f82,_0x3e71f2),_0x33d543=(_0x5a24f1,_0x521fed,{publicKey:_0x4154dc,contentType:_0x42575f,onProgress:_0x3b8bb5,signal:_0x5f1024,integration:_0x2c4439,retryThrottledRequestMaxTimes:_0x5cc502,retryNetworkErrorMaxTimes:_0x4c9018})=>function(_0x16547e,_0x115500,{contentType:_0x3a588e,signal:_0x56d400,onProgress:_0x9d14ef,retryThrottledRequestMaxTimes:_0x3e0a8e=_0x4fdb2b,retryNetworkErrorMaxTimes:_0x1f5c6d=_0x23aaaf}){return _0x5e54a3(()=>_0x3441a2({'method':'PUT','url':_0x115500,'data':_0x16547e,'onProgress':_0x9d14ef,'signal':_0x56d400,'headers':{'Content-Type':_0x3a588e||_0x1e4248}})['then'](_0x1d5ed6=>(_0x9d14ef&&_0x9d14ef({'isComputable':!0x0,'value':0x1}),_0x1d5ed6))['then'](({status:_0x15617b})=>({'code':_0x15617b})),{'retryThrottledRequestMaxTimes':_0x3e0a8e,'retryNetworkErrorMaxTimes':_0x1f5c6d});}(_0x5a24f1,_0x521fed,{'contentType':_0x42575f,'onProgress':_0x3b8bb5,'signal':_0x5f1024,'retryThrottledRequestMaxTimes':_0x5cc502,'retryNetworkErrorMaxTimes':_0x4c9018}),_0x3800a8=async(_0x58844e,{publicKey:_0x291e83,fileName:_0x15f8b9,fileSize:_0x586ce4,baseURL:_0x32b6b5,secureSignature:_0x37316e,secureExpire:_0x5441ec,store:_0x5cb18b,signal:_0x222c68,onProgress:_0x20eaad,source:_0xd98f39,integration:_0x36e836,userAgent:_0x30c44,retryThrottledRequestMaxTimes:_0x797294,retryNetworkErrorMaxTimes:_0x340582,contentType:_0x4906d4,multipartChunkSize:_0x1f0bee=_0x3be0e5,maxConcurrentRequests:_0x230331=_0x29eab6,baseCDN:_0x440f3d,metadata:_0x5653f3})=>{const _0x216152=_0x586ce4??await _0x559aa8(_0x58844e);let _0x1846cf;const _0x1384f4=(_0x40553f,_0x1a2b97)=>{if(!_0x20eaad)return;_0x1846cf||(_0x1846cf=Array(_0x40553f)['fill'](0x0));const _0x150834=_0x257b6e=>_0x257b6e['reduce']((_0x3503c7,_0x1c3f27)=>_0x3503c7+_0x1c3f27,0x0);return _0x30415a=>{_0x30415a['isComputable']&&(_0x1846cf[_0x1a2b97]=_0x30415a['value'],_0x20eaad({'isComputable':!0x0,'value':_0x150834(_0x1846cf)/_0x40553f}));};};return _0x4906d4||=_0x48f03b(_0x58844e),function(_0x4029e5,{publicKey:_0x2adf31,contentType:_0x4cee06,fileName:_0x5215e0,multipartChunkSize:_0xa75ec0=_0x3be0e5,baseURL:_0x150ff5='',secureSignature:_0x5490f8,secureExpire:_0x37d204,store:_0x53f1ed,signal:_0x25ca3e,source:_0x52b4d0='local',integration:_0x25555d,userAgent:_0x414a97,retryThrottledRequestMaxTimes:_0x3e4fec=_0x4fdb2b,retryNetworkErrorMaxTimes:_0xc7c250=_0x23aaaf,metadata:_0x11cbc3}){return _0x5e54a3(()=>_0x3441a2({'method':'POST','url':_0x51cf95(_0x150ff5,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x317487({'publicKey':_0x2adf31,'integration':_0x25555d,'userAgent':_0x414a97})},'data':_0x5ec083({'filename':_0x5215e0||_0x2872d8,'size':_0x4029e5,'content_type':_0x4cee06||_0x1e4248,'part_size':_0xa75ec0,'UPLOADCARE_STORE':_0x50a5ed(_0x53f1ed),'UPLOADCARE_PUB_KEY':_0x2adf31,'signature':_0x5490f8,'expire':_0x37d204,'source':_0x52b4d0,'metadata':_0x11cbc3}),'signal':_0x25ca3e})['then'](({data:_0x56f354,headers:_0xb8ea8,request:_0x4a90bb})=>{const _0x59a856=_0x552a87(JSON['parse'](_0x56f354));if('error'in _0x59a856)throw new _0x2a7491(_0x59a856['error']['content'],_0x59a856['error']['errorCode'],_0x4a90bb,_0x59a856,_0xb8ea8);return _0x59a856['parts']=Object['keys'](_0x59a856['parts'])['map'](_0x190355=>_0x59a856['parts'][Number(_0x190355)]),_0x59a856;}),{'retryThrottledRequestMaxTimes':_0x3e4fec,'retryNetworkErrorMaxTimes':_0xc7c250});}(_0x216152,{'publicKey':_0x291e83,'contentType':_0x4906d4,'fileName':_0x15f8b9||_0x5a6ced(_0x58844e),'baseURL':_0x32b6b5,'secureSignature':_0x37316e,'secureExpire':_0x5441ec,'store':_0x5cb18b,'signal':_0x222c68,'source':_0xd98f39,'integration':_0x36e836,'userAgent':_0x30c44,'retryThrottledRequestMaxTimes':_0x797294,'retryNetworkErrorMaxTimes':_0x340582,'metadata':_0x5653f3,'multipartChunkSize':_0x1f0bee})['then'](async({uuid:_0x190862,parts:_0xd13c04})=>{const _0x580c31=await _0x5c0449(_0x58844e,_0x216152,_0x1f0bee);return Promise['all']([_0x190862,(_0x414d8b=_0x230331,_0x1eac99=_0xd13c04['map']((_0x3f59d4,_0x2349ea)=>()=>_0x33d543(_0x580c31(_0x2349ea),_0x3f59d4,{'publicKey':_0x291e83,'contentType':_0x4906d4,'onProgress':_0x1384f4(_0xd13c04['length'],_0x2349ea),'signal':_0x222c68,'integration':_0x36e836,'retryThrottledRequestMaxTimes':_0x797294,'retryNetworkErrorMaxTimes':_0x340582})),new Promise((_0x3f3c0a,_0x11d2c5)=>{const _0x4b1955=[];let _0x43196d=!0x1,_0x2d1042=_0x1eac99['length'];const _0x37b1b2=[..._0x1eac99],_0x883ec6=()=>{const _0x45a880=_0x1eac99['length']-_0x37b1b2['length'],_0x4fa994=_0x37b1b2['shift']();_0x4fa994&&_0x4fa994()['then'](_0x4cd893=>{_0x43196d||(_0x4b1955[_0x45a880]=_0x4cd893,_0x2d1042-=0x1,_0x2d1042?_0x883ec6():_0x3f3c0a(_0x4b1955));})['catch'](_0xf3afcb=>{_0x43196d=!0x0,_0x11d2c5(_0xf3afcb);});};for(let _0x5b7a47=0x0;_0x5b7a47<_0x414d8b;_0x5b7a47++)_0x883ec6();}))]);var _0x414d8b,_0x1eac99;})['then'](([_0x195852])=>function(_0x39c227,{publicKey:_0x5d767a,baseURL:_0x79066e=_0x1551ee,source:_0x52fc9a='local',signal:_0x32afe5,integration:_0x443296,userAgent:_0x1b9ed1,retryThrottledRequestMaxTimes:_0x48396b=_0x4fdb2b,retryNetworkErrorMaxTimes:_0x5cc849=_0x23aaaf}){return _0x5e54a3(()=>_0x3441a2({'method':'POST','url':_0x51cf95(_0x79066e,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x317487({'publicKey':_0x5d767a,'integration':_0x443296,'userAgent':_0x1b9ed1})},'data':_0x5ec083({'uuid':_0x39c227,'UPLOADCARE_PUB_KEY':_0x5d767a,'source':_0x52fc9a}),'signal':_0x32afe5})['then'](({data:_0x33bce0,headers:_0x3cecc3,request:_0x16c933})=>{const _0x4426db=_0x552a87(JSON['parse'](_0x33bce0));if('error'in _0x4426db)throw new _0x2a7491(_0x4426db['error']['content'],_0x4426db['error']['errorCode'],_0x16c933,_0x4426db,_0x3cecc3);return _0x4426db;}),{'retryThrottledRequestMaxTimes':_0x48396b,'retryNetworkErrorMaxTimes':_0x5cc849});}(_0x195852,{'publicKey':_0x291e83,'baseURL':_0x32b6b5,'source':_0xd98f39,'integration':_0x36e836,'userAgent':_0x30c44,'retryThrottledRequestMaxTimes':_0x797294,'retryNetworkErrorMaxTimes':_0x340582}))['then'](_0x264567=>_0x264567['isReady']?_0x264567:_0x48a13c(_0x264567['uuid'],{'publicKey':_0x291e83,'baseURL':_0x32b6b5,'source':_0xd98f39,'integration':_0x36e836,'userAgent':_0x30c44,'retryThrottledRequestMaxTimes':_0x797294,'retryNetworkErrorMaxTimes':_0x340582,'onProgress':_0x20eaad,'signal':_0x222c68}))['then'](_0x39d723=>new _0x80ed34(_0x39d723,{'baseCDN':_0x440f3d}));};async function _0x531cb0(_0x2e8652,{publicKey:_0x204b8f,fileName:_0x5961ef,baseURL:_0xb1cd91=_0x1551ee,secureSignature:_0x5b2a76,secureExpire:_0x5c5b82,store:_0x27efcd,signal:_0xd85074,onProgress:_0x1eebb3,source:_0x371952,integration:_0x1ef363,userAgent:_0x5a2413,retryThrottledRequestMaxTimes:_0x23ee49,retryNetworkErrorMaxTimes:_0x4f6ffd,contentType:_0x2d8b6f,multipartMinFileSize:_0x1b0085,multipartChunkSize:_0x5d1418,maxConcurrentRequests:_0x1f0a7d,baseCDN:_0x51b5d9=_0x212a7a,checkForUrlDuplicates:_0x63c426,saveUrlForRecurrentUploads:_0x24f27c,pusherKey:_0x43e5e4,metadata:_0x5c02a2}){if(_0x4fccc0(_0x2e8652)){const _0x3306f7=await _0x559aa8(_0x2e8652);return((_0x426fa5,_0x47f111=_0x536d53)=>_0x426fa5>=_0x47f111)(_0x3306f7,_0x1b0085)?_0x3800a8(_0x2e8652,{'publicKey':_0x204b8f,'contentType':_0x2d8b6f,'multipartChunkSize':_0x5d1418,'fileSize':_0x3306f7,'fileName':_0x5961ef,'baseURL':_0xb1cd91,'secureSignature':_0x5b2a76,'secureExpire':_0x5c5b82,'store':_0x27efcd,'signal':_0xd85074,'onProgress':_0x1eebb3,'source':_0x371952,'integration':_0x1ef363,'userAgent':_0x5a2413,'maxConcurrentRequests':_0x1f0a7d,'retryThrottledRequestMaxTimes':_0x23ee49,'retryNetworkErrorMaxTimes':_0x4f6ffd,'baseCDN':_0x51b5d9,'metadata':_0x5c02a2}):tM(_0x2e8652,{'publicKey':_0x204b8f,'fileName':_0x5961ef,'contentType':_0x2d8b6f,'baseURL':_0xb1cd91,'secureSignature':_0x5b2a76,'secureExpire':_0x5c5b82,'store':_0x27efcd,'signal':_0xd85074,'onProgress':_0x1eebb3,'source':_0x371952,'integration':_0x1ef363,'userAgent':_0x5a2413,'retryThrottledRequestMaxTimes':_0x23ee49,'retryNetworkErrorMaxTimes':_0x4f6ffd,'baseCDN':_0x51b5d9,'metadata':_0x5c02a2});}if(_0x2182c9(_0x2e8652))return _0x4c271a(_0x2e8652,{'publicKey':_0x204b8f,'fileName':_0x5961ef,'baseURL':_0xb1cd91,'baseCDN':_0x51b5d9,'checkForUrlDuplicates':_0x63c426,'saveUrlForRecurrentUploads':_0x24f27c,'secureSignature':_0x5b2a76,'secureExpire':_0x5c5b82,'store':_0x27efcd,'signal':_0xd85074,'onProgress':_0x1eebb3,'source':_0x371952,'integration':_0x1ef363,'userAgent':_0x5a2413,'retryThrottledRequestMaxTimes':_0x23ee49,'pusherKey':_0x43e5e4,'metadata':_0x5c02a2});if(_0x19cc08(_0x2e8652))return((_0x541e12,{publicKey:_0x25ade4,fileName:_0x153fec,baseURL:_0x4d43cc,signal:_0x2fb196,onProgress:_0x4d06d3,source:_0x4d4c7d,integration:_0x44862b,userAgent:_0x302d55,retryThrottledRequestMaxTimes:_0x1d161c,retryNetworkErrorMaxTimes:_0x22afbc,baseCDN:_0x3fec5c})=>_0x1ec959(_0x541e12,{'publicKey':_0x25ade4,'baseURL':_0x4d43cc,'signal':_0x2fb196,'source':_0x4d4c7d,'integration':_0x44862b,'userAgent':_0x302d55,'retryThrottledRequestMaxTimes':_0x1d161c,'retryNetworkErrorMaxTimes':_0x22afbc})['then'](_0x415048=>new _0x80ed34(_0x415048,{'baseCDN':_0x3fec5c,'fileName':_0x153fec}))['then'](_0x5aac90=>(_0x4d06d3&&_0x4d06d3({'isComputable':!0x0,'value':0x1}),_0x5aac90)))(_0x2e8652,{'publicKey':_0x204b8f,'fileName':_0x5961ef,'baseURL':_0xb1cd91,'signal':_0xd85074,'onProgress':_0x1eebb3,'source':_0x371952,'integration':_0x1ef363,'userAgent':_0x5a2413,'retryThrottledRequestMaxTimes':_0x23ee49,'retryNetworkErrorMaxTimes':_0x4f6ffd,'baseCDN':_0x51b5d9});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x2e8652+'\x22\x20is\x20not\x20supported');}class _0x299bf5{['uuid'];['filesCount'];['totalSize'];['isStored'];['isImage'];['cdnUrl'];['files'];['createdAt'];['storedAt']=null;constructor(_0x349544,{baseCDN:_0x3e0039=_0x212a7a}={}){this['uuid']=_0x349544['id'],this['filesCount']=_0x349544['filesCount'];const _0x4a82a6=_0x349544['files']['filter'](Boolean);this['totalSize']=Object['values'](_0x4a82a6)['reduce']((_0x574079,_0x436285)=>_0x574079+_0x436285['size'],0x0),this['isStored']=!!_0x349544['datetimeStored'],this['isImage']=!!Object['values'](_0x4a82a6)['filter'](_0x5a13e8=>_0x5a13e8['isImage'])['length'],this['cdnUrl']=_0x349544['cdnUrl'],this['files']=_0x4a82a6['map'](_0x24af67=>new _0x80ed34(_0x24af67,{'baseCDN':_0x3e0039})),this['createdAt']=_0x349544['datetimeCreated'],this['storedAt']=_0x349544['datetimeStored'];}}function _0x5be1b2(_0x2a57e0,{publicKey:_0x4df4f5,fileName:_0xf1ac9,baseURL:_0x156945=_0x1551ee,secureSignature:_0x243848,secureExpire:_0x4e772b,store:_0x696362,signal:_0x276bb8,onProgress:_0x7792ff,source:_0x214deb,integration:_0x59d92f,userAgent:_0x27506d,retryThrottledRequestMaxTimes:_0x5238af,retryNetworkErrorMaxTimes:_0x4ef3b7,contentType:_0x4fc595,multipartChunkSize:_0x30972c=_0x3be0e5,baseCDN:_0x29c13d=_0x212a7a,checkForUrlDuplicates:_0x4ef5e6,saveUrlForRecurrentUploads:_0x1fa6d1,jsonpCallback:_0x380aa6}){if(!(_0x518bb8=>{for(const _0x48b4cb of _0x518bb8)if(!_0x4fccc0(_0x48b4cb))return!0x1;return!0x0;})(_0x2a57e0)&&!(_0x4d3db5=>{for(const _0x3b9253 of _0x4d3db5)if(!_0x2182c9(_0x3b9253))return!0x1;return!0x0;})(_0x2a57e0)&&!(_0x58dc7f=>{for(const _0x21e0fb of _0x58dc7f)if(!_0x19cc08(_0x21e0fb))return!0x1;return!0x0;})(_0x2a57e0))throw new TypeError('Group\x20uploading\x20from\x20\x22'+_0x2a57e0+'\x22\x20is\x20not\x20supported');let _0x3b9839,_0x43c3ff=!0x0;const _0x2adeda=_0x2a57e0['length'],_0x4ec10f=(_0x14b472,_0x1ce1da)=>{if(!_0x7792ff)return;_0x3b9839||(_0x3b9839=Array(_0x14b472)['fill'](0x0));const _0x41ab55=_0x5847d9=>_0x5847d9['reduce']((_0x132e84,_0x173153)=>_0x132e84+_0x173153)/_0x14b472;return _0x188641=>{if(!_0x188641['isComputable']||!_0x43c3ff)return _0x43c3ff=!0x1,void _0x7792ff({'isComputable':!0x1});_0x3b9839[_0x1ce1da]=_0x188641['value'],_0x7792ff({'isComputable':!0x0,'value':_0x41ab55(_0x3b9839)});};};return Promise['all'](_0x2a57e0['map']((_0x5dff39,_0x537222)=>_0x4fccc0(_0x5dff39)||_0x2182c9(_0x5dff39)?_0x531cb0(_0x5dff39,{'publicKey':_0x4df4f5,'fileName':_0xf1ac9,'baseURL':_0x156945,'secureSignature':_0x243848,'secureExpire':_0x4e772b,'store':_0x696362,'signal':_0x276bb8,'onProgress':_0x4ec10f(_0x2adeda,_0x537222),'source':_0x214deb,'integration':_0x59d92f,'userAgent':_0x27506d,'retryThrottledRequestMaxTimes':_0x5238af,'retryNetworkErrorMaxTimes':_0x4ef3b7,'contentType':_0x4fc595,'multipartChunkSize':_0x30972c,'baseCDN':_0x29c13d,'checkForUrlDuplicates':_0x4ef5e6,'saveUrlForRecurrentUploads':_0x1fa6d1})['then'](_0x277534=>_0x277534['uuid']):_0x5dff39))['then'](_0x484e74=>function(_0x391046,{publicKey:_0x4516e7,baseURL:_0xecee97=_0x1551ee,jsonpCallback:_0x5407b8,secureSignature:_0xe8b2e,secureExpire:_0xc58cef,signal:_0x5b708e,source:_0x3bc5c9,integration:_0xbdc747,userAgent:_0x3347d4,retryThrottledRequestMaxTimes:_0x1b02bf=_0x4fdb2b,retryNetworkErrorMaxTimes:_0x361fa9=_0x23aaaf}){return _0x5e54a3(()=>_0x3441a2({'method':'POST','headers':{'X-UC-User-Agent':_0x317487({'publicKey':_0x4516e7,'integration':_0xbdc747,'userAgent':_0x3347d4})},'url':_0x51cf95(_0xecee97,'/group/',{'jsonerrors':0x1}),'data':_0x5ec083({'files':_0x391046,'callback':_0x5407b8,'pub_key':_0x4516e7,'signature':_0xe8b2e,'expire':_0xc58cef,'source':_0x3bc5c9}),'signal':_0x5b708e})['then'](({data:_0x50caad,headers:_0xf3ffd2,request:_0x2da4dc})=>{const _0x5b8ea3=_0x552a87(JSON['parse'](_0x50caad));if('error'in _0x5b8ea3)throw new _0x2a7491(_0x5b8ea3['error']['content'],_0x5b8ea3['error']['errorCode'],_0x2da4dc,_0x5b8ea3,_0xf3ffd2);return _0x5b8ea3;}),{'retryNetworkErrorMaxTimes':_0x361fa9,'retryThrottledRequestMaxTimes':_0x1b02bf});}(_0x484e74,{'publicKey':_0x4df4f5,'baseURL':_0x156945,'jsonpCallback':_0x380aa6,'secureSignature':_0x243848,'secureExpire':_0x4e772b,'signal':_0x276bb8,'source':_0x214deb,'integration':_0x59d92f,'userAgent':_0x27506d,'retryThrottledRequestMaxTimes':_0x5238af,'retryNetworkErrorMaxTimes':_0x4ef3b7})['then'](_0x497191=>new _0x299bf5(_0x497191,{'baseCDN':_0x29c13d}))['then'](_0x345bb1=>(_0x7792ff&&_0x7792ff({'isComputable':!0x0,'value':0x1}),_0x345bb1)));}class _0x481a6d{['_concurrency']=0x1;['_pending']=[];['_running']=0x0;['_resolvers']=new Map();['_rejectors']=new Map();constructor(_0x3d06bb){this['_concurrency']=_0x3d06bb;}['run'](){const _0x547807=this['_concurrency']-this['_running'];for(let _0x45c817=0x0;_0x45c817<_0x547807;_0x45c817++){const _0x2386f5=this['_pending']['shift']();if(!_0x2386f5)return;const _0x1dc8c6=this['_resolvers']['get'](_0x2386f5),_0x33e178=this['_rejectors']['get'](_0x2386f5);if(!_0x1dc8c6||!_0x33e178)throw new Error('Unexpected\x20behavior:\x20resolver\x20or\x20rejector\x20is\x20undefined');this['_running']+=0x1,_0x2386f5()['finally'](()=>{this['_resolvers']['delete'](_0x2386f5),this['_rejectors']['delete'](_0x2386f5),this['_running']-=0x1,this['run']();})['then'](_0x4532ec=>_0x1dc8c6(_0x4532ec))['catch'](_0xece5e2=>_0x33e178(_0xece5e2));}}['add'](_0x23ce60,{autoRun:_0x577eb3}={'autoRun':!0x0}){return new Promise((_0xe12eeb,_0x4e4a6a)=>{this['_resolvers']['set'](_0x23ce60,_0xe12eeb),this['_rejectors']['set'](_0x23ce60,_0x4e4a6a),this['_pending']['push'](_0x23ce60),_0x577eb3&&this['run']();});}get['pending'](){return this['_pending']['length'];}get['running'](){return this['_running'];}set['concurrency'](_0x147243){this['_concurrency']=_0x147243,this['run']();}get['concurrency'](){return this['_concurrency'];}}const _0x440440={'button':['toolbar'],'checkbox':['toolbar'],'menuitem':['menu','menubar'],'option':['listbox'],'tab':['tablist']};function _0x1a97a8(_0x49b905,_0x42e4cf){_0x42e4cf['tabIndex']=0x0,_0x42e4cf['focus'](),_0x49b905['tabIndex']=-0x1;}function _0xb7681e(_0x2145a5){let _0x8dff50=_0x2145a5['role']||_0x2145a5['type']||_0x2145a5['tagName'];if(!_0x8dff50)return null;let _0x338975=_0x440440[_0x8dff50['toLowerCase']()];if(!_0x338975)return null;for(let _0x16fb79 of _0x338975){let _0x108c56=_0x2145a5['closest']('[role='+_0x16fb79+']');if(_0x108c56)return _0x108c56;}}function _0x8b4d8e(_0x480861,_0x4f46c9){return'toolbar'===_0x4f46c9['role']?function(_0x1a8a39){let _0x4d62dc=[..._0x1a8a39['querySelectorAll']('*')];return _0x4d62dc['filter'](_0x103340=>'button'===_0x103340['role']||'button'===_0x103340['type']||'checkbox'===_0x103340['role']||'checkbox'===_0x103340['type']);}(_0x4f46c9):_0x4f46c9['querySelectorAll']('[role='+_0x480861['role']+']');}function _0x2b896b(){return _0x14d9c6=>{let _0x96feed=[];function _0x127c04(){let _0xa04fb0=_0x96feed['pop']();if(!_0xa04fb0)return void _0x14d9c6['document']['activeElement']['blur']();let _0xd83034=_0xa04fb0['deref']();_0xd83034&&_0xd83034['isConnected']?_0xd83034['focus']():_0x127c04();}let _0x593667,_0x5b0a4b=0x0;function _0x1431f9(_0x4e26de){clearInterval(_0x593667);let _0xcaea83=_0x4e26de['getAttribute']('aria-controls');_0x593667=setInterval(()=>{if(_0x5b0a4b++>0x32)return void clearInterval(_0x593667);let _0x37c808=_0x14d9c6['document']['getElementById'](_0xcaea83);if(_0x37c808){let _0x4214a4=_0x37c808['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x4214a4&&(clearInterval(_0x593667),_0x37c808['dispatchEvent'](new _0x14d9c6['CustomEvent']('keyuxJump',{'bubbles':!0x0})),function(_0x30790c){let _0x4f9927=_0x14d9c6['document']['activeElement'];_0x4f9927&&_0x4f9927!==_0x14d9c6['document']['body']&&_0x96feed['push'](new WeakRef(_0x4f9927)),_0x30790c['focus']({'focusVisible':!0x0});}(_0x4214a4));}},0x32);}function _0x2767d1(_0x430856){_0x430856['target']['getAttribute']('aria-controls')&&'Enter'===_0x430856['key']&&_0x1431f9(_0x430856['target']),'Escape'===_0x430856['key']&&_0x127c04();}return _0x14d9c6['addEventListener']('keydown',_0x2767d1),()=>{_0x14d9c6['removeEventListener']('keydown',_0x2767d1);};};}function _0x33a375(_0x544ce9){let _0x117f18,_0x1351ed,_0xc9243=_0x544ce9['split']('\x20');function _0x46a80f(_0x5bcc12){'Enter'!==_0x5bcc12['key']||'BUTTON'!==_0x5bcc12['target']['tagName']&&'A'!==_0x5bcc12['target']['tagName']||(_0x22736d(),_0x5bcc12['target']['classList']['add'](..._0xc9243),_0x117f18=_0x5bcc12['target'],_0x1351ed=_0x5bcc12['target']);}function _0x22736d(){_0x117f18&&_0x117f18['classList']['remove'](..._0xc9243),_0x1351ed=null;}function _0x4d61d8(_0x13a780){0x0===_0x13a780['clientX']&&0x0===_0x13a780['clientY']&&_0x1351ed!==_0x13a780['target']&&(_0x22736d(),_0x13a780['target']['classList']['add'](..._0xc9243),_0x117f18=_0x13a780['target']);}return _0x22e157=>(_0x22e157['addEventListener']('click',_0x4d61d8),_0x22e157['addEventListener']('keydown',_0x46a80f),_0x22e157['addEventListener']('keyup',_0x22736d),()=>{_0x22e157['removeEventListener']('click',_0x4d61d8),_0x22e157['removeEventListener']('keydown',_0x46a80f),_0x22e157['removeEventListener']('keyup',_0x22736d);});}function _0x9fb415(_0x1456ec){return Array['isArray'](_0x1456ec)?_0x1456ec['map'](_0x6ab638=>'object'==typeof _0x6ab638&&null!==_0x6ab638?_0x9fb415(_0x6ab638):_0x6ab638):'object'!=typeof _0x1456ec||null===_0x1456ec?_0x1456ec:Object['fromEntries'](Object['entries'](_0x1456ec)['map'](([_0x4ca706,_0x4d17e3])=>{const t=function(_0x949179){return _0x949179['replace'](/[A-Z]/g,_0x10f22c=>'_'+_0x10f22c['toLowerCase']())['replace'](/__/g,'_');}(_0x4ca706);return'object'==typeof _0x4d17e3&&null!==_0x4d17e3?[t,_0x9fb415(_0x4d17e3)]:[t,_0x4d17e3];}));}function _0x4289a2(_0x44ca46){return{'ok':!0x1,'error':_0x44ca46};}class _0x1b85cc{constructor(_0x4add76='https://tlm.uploadcare.com/api/'){this['baseUrl']=_0x4add76;}async['base'](_0x2618e4,_0xf95eae={}){const t=''+this['baseUrl']+_0x2618e4;try{const _0xfef1bb=await fetch(t,_0xf95eae);if(!_0xfef1bb['ok'])return _0x4289a2(new Error('Got\x20non-200\x20response\x20from\x20\x22'+t+'\x22.\x20Status:\x20'+_0xfef1bb['status']['toString']()));try{const _0x21f92c=await _0xfef1bb['json']();return{'ok':!0x0,'value':_0x21f92c};}catch(_0x31a05c){return _0x4289a2(new Error('Error\x20parsing\x20JSON\x20from\x20\x22'+t+'\x22.\x20Error:\x20'+_0x31a05c));}}catch(_0x4da947){return _0x4289a2(new Error('Error\x20fetching\x20data\x20from\x20\x22'+t+'\x22.\x20Error:\x20'+_0x4da947));}}async['post'](_0x3b071a,_0x5f4a43,t={}){return await this['base'](_0x3b071a,{...t,'method':'POST','body':JSON['stringify'](_0x9fb415(_0x5f4a43)),'headers':{'Content-Type':'application/json',...t['headers']||{}}});}async['get'](_0x2662bf,_0x37b08c={}){return await this['base'](_0x2662bf,{'method':'GET',..._0x37b08c});}}class _0x4bbd50 extends _0x1b85cc{constructor(){super();}async['sendEvent'](_0x2a4f74,_0x573dfe){const t=await(async(_0x2fb7c1,_0x106e3e)=>({'success':!0x0,'data':_0x106e3e}))(0x0,_0x2a4f74);if(!t['success'])throw console['error']('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid',t['error']),new Error('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid');return this['post']('v1/events',_0x2a4f74,_0x573dfe);}}const _0x3be7c1=_0x31276b=>{if(_0x31276b<=0x0n)return'0';let _0x202673='';for(;_0x31276b>0x0n;){_0x202673='0123456789abcdefghijklmnopqrstuvwxyz'[Number(_0x31276b%0x24n)]+_0x202673,_0x31276b/=0x24n;}return _0x202673;},_0x1cbf1e=async _0x299174=>{const _0x363768=await(async _0x3c3564=>{const _0x1ce5f6=new TextEncoder()['encode'](_0x3c3564),t=await window['crypto']['subtle']['digest']('SHA-256',_0x1ce5f6),_0x20fb9f=Array['from'](new Uint8Array(t))['map'](_0xdf9d8=>_0xdf9d8['toString'](0x10)['padStart'](0x2,'0'))['join']('');return BigInt('0x'+_0x20fb9f);})(_0x299174);return _0x3be7c1(_0x363768)['slice'](0x0,0xa);},_0x3b51ce=async(_0x3c9973,_0x46f992)=>((_0x190e2e,_0x45cfb4)=>{const _0x182f13=new URL(_0x45cfb4);return _0x182f13['hostname']=_0x190e2e+'.'+_0x182f13['hostname'],_0x182f13['toString']()['replace'](/\/$/,'');})(await _0x1cbf1e(_0x3c9973),_0x46f992),_0x362df7=()=>{const _0x2b3374=[];return{'stack':_0x2b3374,'promiseReadJpegChunks':_0x55188a=>new Promise((_0x4da5ef,_0x5510c6)=>{let _0x52e6f0=0x2;const _0x78779d=(_0x533ffe,_0x3cb135)=>{const _0x3e8256=new FileReader();_0x3e8256['addEventListener']('load',()=>{_0x3cb135(new DataView(_0x3e8256['result']));}),_0x3e8256['addEventListener']('error',_0xdda023=>{_0x5510c6('Reader\x20error:\x20'+_0xdda023);}),_0x3e8256['readAsArrayBuffer'](_0x533ffe);},_0x3a5199=()=>_0x78779d(_0x55188a['slice'](_0x52e6f0,_0x52e6f0+0x80),_0x1027cb=>{let _0x54bcc0,_0x47c30a,_0x5555eb;for(_0x54bcc0=_0x47c30a=0x0,_0x5555eb=_0x1027cb['byteLength'];_0x5555eb>=0x0?_0x47c30a<_0x5555eb:_0x47c30a>_0x5555eb;_0x54bcc0=_0x5555eb>=0x0?++_0x47c30a:--_0x47c30a)if(0xff===_0x1027cb['getUint8'](_0x54bcc0)){_0x52e6f0+=_0x54bcc0;break;}_0x13f5a6();}),_0x13f5a6=()=>{const _0x56b2d6=_0x52e6f0;return _0x78779d(_0x55188a['slice'](_0x52e6f0,_0x52e6f0+=0x4),_0x1bd1d2=>{if(0x4!==_0x1bd1d2['byteLength']||0xff!==_0x1bd1d2['getUint8'](0x0))return void _0x5510c6('Corrupted');const _0x419fae=_0x1bd1d2['getUint8'](0x1);if(0xda===_0x419fae)return void _0x4da5ef(!0x0);const _0x4fc203=_0x1bd1d2['getUint16'](0x2)-0x2;return _0x78779d(_0x55188a['slice'](_0x52e6f0,_0x52e6f0+=_0x4fc203),_0x584d40=>{_0x584d40['byteLength']===_0x4fc203?(_0x2b3374['push']({'startPos':_0x56b2d6,'length':_0x4fc203,'marker':_0x419fae,'view':_0x584d40}),_0x3a5199()):_0x5510c6('Corrupted');});});};FileReader&&DataView||_0x5510c6('Not\x20Support'),_0x78779d(_0x55188a['slice'](0x0,0x2),_0x1fb4ed=>{0xffd8!==_0x1fb4ed['getUint16'](0x0)&&_0x5510c6('Not\x20jpeg'),_0x3a5199();});})};},_0x590de7=async _0x491851=>{const _0x4bab0a=[],{promiseReadJpegChunks:_0x35336a,stack:_0x17be00}=_0x362df7();return await _0x35336a(_0x491851),_0x17be00['forEach'](({marker:_0xfd6c1f,view:_0xd0cdf4})=>{0xe2===_0xfd6c1f&&0x4943435f===_0xd0cdf4['getUint32'](0x0)&&0x50524f46===_0xd0cdf4['getUint32'](0x4)&&0x494c4500===_0xd0cdf4['getUint32'](0x8)&&_0x4bab0a['push'](_0xd0cdf4);}),_0x4bab0a;},_0x562cb5=async(_0x79d200,_0x567bb8,_0x2da97e)=>{{const _0x22bda4=[],_0x5522b2=[],{promiseReadJpegChunks:_0x3797b9,stack:_0xadb2c3}=_0x362df7();await _0x3797b9(_0x79d200),_0xadb2c3['forEach'](_0xcf39c4=>{if(_0xcf39c4['marker']===_0x567bb8)return _0x22bda4['push'](_0xcf39c4['startPos']),_0x5522b2['push'](_0xcf39c4['length']);});const _0x4b9467=[_0x79d200['slice'](0x0,0x2)];for(const _0x79bf39 of _0x2da97e){const _0x1e297a=new DataView(new ArrayBuffer(0x4));_0x1e297a['setUint16'](0x0,0xff00+_0x567bb8),_0x1e297a['setUint16'](0x2,_0x79bf39['byteLength']+0x2),_0x4b9467['push'](_0x1e297a['buffer']),_0x4b9467['push'](_0x79bf39);}let _0x381268=0x2;for(let _0x283a0b=0x0;_0x283a0b<_0x22bda4['length'];_0x283a0b++)_0x22bda4[_0x283a0b]>_0x381268&&_0x4b9467['push'](_0x79d200['slice'](_0x381268,_0x22bda4[_0x283a0b])),_0x381268=_0x22bda4[_0x283a0b]+_0x5522b2[_0x283a0b]+0x4;return _0x4b9467['push'](_0x79d200['slice'](_0x381268,_0x79d200['size'])),new Blob(_0x4b9467,{'type':_0x79d200['type']});}},_0x534231=(_0x59c2d5,_0x1d2b6f)=>_0x562cb5(_0x59c2d5,0xe2,_0x1d2b6f['map'](_0x188e25=>_0x188e25['buffer'])),_0x7e648=()=>{const _0x591e10=document['createElement']('canvas'),_0x5924ea=_0x591e10['getContext']('2d');return{'canvas':_0x591e10,'ctx':_0x5924ea};},_0x1648a6=async _0x56042f=>{let _0x51f5c0=null;const {promiseReadJpegChunks:_0x113f2b,stack:_0x3d311e}=_0x362df7();return await _0x113f2b(_0x56042f),_0x3d311e['forEach'](({marker:_0x12c0f4,view:_0x4cf48d})=>{!_0x51f5c0&&0xe1===_0x12c0f4&&_0x4cf48d['byteLength']>=0xe&&0x45786966===_0x4cf48d['getUint32'](0x0)&&0x0===_0x4cf48d['getUint16'](0x4)&&(_0x51f5c0=_0x4cf48d);}),_0x51f5c0;};let _0x52a545;const _0x503ff3=_0x52a8b9=>((_0xb0d966,_0x58dae7)=>new Promise((_0x52a693,_0x898c2a)=>{_0x58dae7&&(_0xb0d966['src']=_0x58dae7),_0xb0d966['complete']?_0x52a693(_0xb0d966):(_0xb0d966['addEventListener']('load',()=>{_0x52a693(_0xb0d966);}),_0xb0d966['addEventListener']('error',()=>{_0x898c2a(new Error('Failed\x20to\x20load\x20image.\x20Probably\x20not\x20an\x20image.'));}));}))(new Image(),_0x52a8b9),_0x270d9e=[0x1,0x3],_0x2c666f=[0xc0,0xc1,0xc2,0xc3,0xc5,0xc6,0xc7,0xc9,0xca,0xcb,0xcd,0xce,0xcf],_0xa7b107={'squareSide':[Math['floor'](Math['sqrt'](0x4c4b40)),0x1000,0x2000,0x2bac,0x2a54,0x2c8a,0x376c,0x4000],'dimension':[0x1000,0x2000,0x4000,0x7fff,0xffff]},_0x256e25=(_0x1e01f8,_0x2a9893)=>{const _0x5c0131={};return(..._0x3096f5)=>{const _0x800dd=_0x2a9893(_0x3096f5,_0x5c0131);return _0x800dd in _0x5c0131?_0x5c0131[_0x800dd]:_0x5c0131[_0x800dd]=_0x1e01f8(..._0x3096f5);};},_0x26c1b0=(_0x247523,_0x4bf901)=>{const [_0x141adf]=_0x247523,_0x43c34a=Object['keys'](_0x4bf901)['map'](_0x183333=>parseInt(_0x183333,0xa))['sort']((_0x1064a2,_0x39ad08)=>_0x1064a2-_0x39ad08);for(let _0x4c006f=0x0;_0x4c006f<_0x43c34a['length'];_0x4c006f++){const _0x214681=_0x43c34a[_0x4c006f],_0x20fbce=!!_0x4bf901[_0x214681];if(_0x214681>_0x141adf&&_0x20fbce)return _0x214681;if(_0x214681<_0x141adf&&!_0x20fbce)return _0x214681;}return _0x141adf;},_0xb9cf2c=0x37,_0x453afe=0x6e,_0x2c3f06=0xa5,_0x20a6da=0xff,_0x1cb8b9='rgba('+_0xb9cf2c+',\x20'+_0x453afe+',\x20'+_0x2c3f06+',\x20'+_0x20a6da/0xff+')',_0x417045=(_0x33b7b3,_0x6acde8)=>{try{const _0x35bd97=[_0x33b7b3-0x1,_0x6acde8-0x1,0x1,0x1],{canvas:_0x11adfa,ctx:_0x389c1a}=_0x7e648();_0x11adfa['width']=0x1,_0x11adfa['height']=0x1;const {canvas:_0x1be6b0,ctx:_0x31a2d2}=_0x7e648();_0x1be6b0['width']=_0x33b7b3,_0x1be6b0['height']=_0x6acde8,_0x31a2d2&&(_0x31a2d2['fillStyle']=_0x1cb8b9,_0x31a2d2['fillRect'](..._0x35bd97),_0x389c1a['drawImage'](_0x1be6b0,_0x33b7b3-0x1,_0x6acde8-0x1,0x1,0x1,0x0,0x0,0x1,0x1));const _0x189402=_0x389c1a&&_0x389c1a['getImageData'](0x0,0x0,0x1,0x1)['data'];let _0x2482c1=!0x1;return _0x189402&&(_0x2482c1=_0x189402[0x0]===_0xb9cf2c&&_0x189402[0x1]===_0x453afe&&_0x189402[0x2]===_0x2c3f06&&_0x189402[0x3]===_0x20a6da),_0x1be6b0['width']=_0x1be6b0['height']=0x1,_0x2482c1;}catch(_0x3b8b30){return console['error']('Failed\x20to\x20test\x20for\x20max\x20canvas\x20size\x20of\x20'+_0x33b7b3+'x'+_0x6acde8+'.'),!0x1;}};function _0x97c04a(_0x4db383){return(..._0x5bf43e)=>new Promise(_0x20d4f4=>{setTimeout(()=>{const _0x1c7675=_0x4db383(..._0x5bf43e);_0x20d4f4(_0x1c7675);},0x0);});}const _0x718090=_0x97c04a(_0x256e25(_0x417045,_0x26c1b0)),_0x5bea1b=_0x97c04a(_0x256e25(_0x417045,_0x26c1b0)),_0x25f76a=async(_0x27c1ad,_0x281f6b)=>{const _0x2dd343=_0xa7b107['squareSide']['find'](_0xc012fa=>_0xc012fa*_0xc012fa>=_0x27c1ad*_0x281f6b),_0x5c4197=_0xa7b107['dimension']['find'](_0x1df5a4=>_0x1df5a4>=_0x27c1ad&&_0x1df5a4>=_0x281f6b);if(!_0x2dd343||!_0x5c4197)throw new Error('Not\x20supported');const [_0x117e03,_0x1d09d2]=await Promise['all']([_0x718090(_0x2dd343,_0x2dd343),_0x5bea1b(_0x5c4197,0x1)]);if(_0x117e03&&_0x1d09d2)return!0x0;throw new Error('Not\x20supported');},_0x326863=async(_0x1b5baf,_0x1c50eb,_0x35ce92)=>{try{const {ctx:_0x2b631a,canvas:_0x53faa1}=_0x7e648();return _0x53faa1['width']=_0x1c50eb,_0x53faa1['height']=_0x35ce92,_0x2b631a['imageSmoothingQuality']='high',_0x2b631a['drawImage'](_0x1b5baf,0x0,0x0,_0x1c50eb,_0x35ce92),_0x1b5baf instanceof HTMLImageElement&&(_0x1b5baf['src']='//:0'),_0x1b5baf instanceof HTMLCanvasElement&&(_0x1b5baf['width']=_0x1b5baf['height']=0x1),_0x53faa1;}catch(_0x16637b){throw new Error('Canvas\x20resize\x20error',{'cause':_0x16637b});}},_0x393d4d=({img:_0x27dcc6,sourceW:_0x378299,targetW:_0x2812f3,targetH:_0xcc540,step:_0x2b05a1})=>{const _0x5dbd0c=function({sourceW:_0x31c9c1,targetW:_0x39c9a6,targetH:_0xcadda3,step:_0x69869d}){const _0x3a6d7a=[];let _0x45bf70=_0x39c9a6,_0x19cecb=_0xcadda3;do{_0x3a6d7a['push']([_0x45bf70,_0x19cecb]),_0x45bf70=Math['round'](_0x45bf70/_0x69869d),_0x19cecb=Math['round'](_0x19cecb/_0x69869d);}while(_0x45bf70<_0x31c9c1*_0x69869d);return _0x3a6d7a['reverse']();}({'sourceW':_0x378299,'targetW':_0x2812f3,'targetH':_0xcc540,'step':_0x2b05a1});return _0x5dbd0c['reduce']((_0x39215f,[_0x122ed3,_0x2a7428],_0x578c3a)=>_0x39215f['then'](_0x272d17=>_0x25f76a(_0x122ed3,_0x2a7428)['then'](()=>_0x326863(_0x272d17,_0x122ed3,_0x2a7428))['catch'](()=>{if(_0x578c3a===_0x5dbd0c['length']-0x1)throw new Error('Not\x20supported');return _0x272d17;})),Promise['resolve'](_0x27dcc6));},_0x1425ce=navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),_0x34d36e=0.71,_0x1ebf33=(_0x5a5ff3,_0x30dfd6)=>{if(_0x5a5ff3['width']*_0x34d36e*_0x5a5ff3['height']*_0x34d36e<_0x30dfd6['size'])throw new Error('Not\x20required');const _0x315e5c=_0x5a5ff3['width'],_0x485417=_0x5a5ff3['height'],_0x1ce816=_0x315e5c/_0x485417,_0x1e3853=Math['floor'](Math['sqrt'](_0x30dfd6['size']*_0x1ce816)),_0x18c70d=Math['floor'](_0x30dfd6['size']/Math['sqrt'](_0x30dfd6['size']*_0x1ce816));return _0x25f76a(_0x1e3853,_0x18c70d)['then'](()=>{const {ctx:_0x561445}=_0x7e648();return'imageSmoothingQuality'in _0x561445&&!(/iPad|iPhone|iPod/['test'](navigator['platform'])||navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']))&&!_0x1425ce?(({img:_0x5bff5e,targetW:_0x38924d,targetH:_0x56e5cf})=>_0x326863(_0x5bff5e,_0x38924d,_0x56e5cf))({'img':_0x5a5ff3,'targetW':_0x1e3853,'targetH':_0x18c70d}):_0x393d4d({'img':_0x5a5ff3,'sourceW':_0x315e5c,'targetW':_0x1e3853,'targetH':_0x18c70d,'step':_0x34d36e});})['catch'](()=>Promise['reject']('Not\x20supported'));},tN=async(_0x162bc5,_0x1e151f)=>{try{const _0x242946=await(async _0x145ffe=>{let _0x43b052=!0x1;const {promiseReadJpegChunks:_0x27e6d1,stack:_0x2ef661}=_0x362df7();return await _0x27e6d1(_0x145ffe)['then'](()=>(_0x2ef661['forEach'](({marker:_0x413d10,view:_0x144ee4})=>{if(!_0x43b052&&_0x2c666f['indexOf'](_0x413d10)>=0x0){const _0x7c6121=_0x144ee4['getUint8'](0x5);_0x270d9e['indexOf'](_0x7c6121)<0x0&&(_0x43b052=!0x0);}}),_0x43b052))['catch'](()=>_0x43b052);})(_0x162bc5);if(_0x242946)throw new Error('Should\x20skipped');const _0x1a57f1=await Promise['allSettled']([_0x1648a6(_0x162bc5),new Promise(_0x392c6b=>{if(void 0x0!==_0x52a545)_0x392c6b(_0x52a545);else{const _0x2d1ea5=new Image();_0x2d1ea5['addEventListener']('load',()=>{_0x52a545=_0x2d1ea5['naturalWidth']<_0x2d1ea5['naturalHeight'],_0x2d1ea5['src']='//:0',_0x392c6b(_0x52a545);}),_0x2d1ea5['src']='data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QA6RXhpZgAATU0AKgAAAAgAAwESAAMAAAABAAYAAAEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAD/2wBDAP//////////////////////////////////////////////////////////////////////////////////////wAALCAABAAIBASIA/8QAJgABAAAAAAAAAAAAAAAAAAAAAxABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAAPwBH/9k=';}}),_0x590de7(_0x162bc5)]),_0xaddbe0=!_0x1a57f1['some'](_0x2af4b0=>'rejected'===_0x2af4b0['status']),[_0xd6f170,_0x21852a,_0x58c0ed]=_0x1a57f1,_0x38f96a=await(async _0x2d2176=>{try{return await _0x534231(_0x2d2176,[]);}catch(_0x231643){throw new Error('Failed\x20to\x20strip\x20ICC\x20profile:\x20'+_0x231643);}})(_0x162bc5)['catch'](()=>_0x162bc5),_0x4678e0=await _0x503ff3(URL['createObjectURL'](_0x38f96a));URL['revokeObjectURL'](_0x4678e0['src']);const _0x575e17=await _0x1ebf33(_0x4678e0,_0x1e151f);let _0x208036='image/jpeg',_0x17641c=_0x1e151f?.['quality']||0.8;!_0xaddbe0&&(_0x6a6d8e=>{const {ctx:_0x266f5e,canvas:_0x3b72d0}=_0x7e648();_0x3b72d0['width']=_0x3b72d0['height']=0x32,_0x266f5e['drawImage'](_0x6a6d8e,0x0,0x0,0x32,0x32);const _0x47cace=_0x266f5e['getImageData'](0x0,0x0,0x32,0x32)['data'];_0x3b72d0['width']=_0x3b72d0['height']=0x1;for(let _0x1591c0=0x3;_0x1591c0<_0x47cace['length'];_0x1591c0+=0x4)if(_0x47cace[_0x1591c0]<0xfe)return!0x0;return!0x1;})(_0x575e17)&&(_0x208036='image/png',_0x17641c=void 0x0);let _0x33ea58=await((_0x49ec72,_0x5ea710,_0x4591d5)=>new Promise((_0x3dd76a,_0x3a37ed)=>{_0x49ec72['toBlob'](_0x1aa53a=>{_0x1aa53a?_0x3dd76a(_0x1aa53a):_0x3a37ed('Failed\x20to\x20convert\x20canvas\x20to\x20blob');},_0x5ea710,_0x4591d5),_0x49ec72['width']=_0x49ec72['height']=0x1;}))(_0x575e17,_0x208036,_0x17641c);if(_0xaddbe0&&'fulfilled'===_0xd6f170['status']&&_0xd6f170['value']){const _0x165106=_0xd6f170['value'],_0x3a27fb='fulfilled'===_0x21852a['status']&&_0x21852a['value'];_0x33ea58=await(async(_0x11d29c,_0x479065,_0x53fb54)=>(_0x53fb54&&((_0x19e954,_0xba8318)=>{((_0x1c6b4a,_0x202917)=>{let _0x45bc28,_0x159777,_0x266a69,_0x37be10;if(_0x1c6b4a&&!(_0x1c6b4a['byteLength']<0xe)&&0x45786966===_0x1c6b4a['getUint32'](0x0)&&0x0===_0x1c6b4a['getUint16'](0x4)){if(0x4949===_0x1c6b4a['getUint16'](0x6))_0x159777=!0x0;else{if(0x4d4d!==_0x1c6b4a['getUint16'](0x6))return;_0x159777=!0x1;}if(0x2a===_0x1c6b4a['getUint16'](0x8,_0x159777))for(_0x266a69=0x8+_0x1c6b4a['getUint32'](0xa,_0x159777),_0x45bc28=0x0,_0x37be10=_0x1c6b4a['getUint16'](_0x266a69-0x2,_0x159777);_0x37be10>=0x0?_0x45bc28<_0x37be10:_0x45bc28>_0x37be10;_0x37be10>=0x0?++_0x45bc28:--_0x45bc28){if(_0x1c6b4a['byteLength']<_0x266a69+0xa)return;0x112===_0x1c6b4a['getUint16'](_0x266a69,_0x159777)&&_0x202917(_0x266a69+0x8,_0x159777),_0x266a69+=0xc;}}})(_0x19e954,(_0x4bfbb3,_0x3f1273)=>_0x19e954['setUint16'](_0x4bfbb3,_0xba8318,_0x3f1273));})(_0x479065,0x1),_0x562cb5(_0x11d29c,0xe1,[_0x479065['buffer']])))(_0x33ea58,_0x165106,_0x3a27fb);}return _0xaddbe0&&'fulfilled'===_0x58c0ed['status']&&_0x58c0ed['value']['length']>0x0&&(_0x33ea58=await _0x534231(_0x33ea58,_0x58c0ed['value'])),_0x33ea58;}catch(_0xfe3a27){let _0x3c3fed;throw _0xfe3a27 instanceof Error&&(_0x3c3fed=_0xfe3a27['message']),'string'==typeof _0xfe3a27&&(_0x3c3fed=_0xfe3a27),new Error('Failed\x20to\x20shrink\x20image.\x20'+(_0x3c3fed?'Message:\x20\x22'+_0x3c3fed+'\x22.':''),{'cause':_0xfe3a27});}};var _0x6408f2=Object['freeze']({'INIT_SOLUTION':'init-solution','CHANGE_CONFIG':'change-config','ACTION_EVENT':'action-event','ERROR_EVENT':'error-event'}),_0x4d7bbe=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'}),_0x32b299=class{['_timeoutStore']=new Map();['_targets']=new Set();['_debugPrint']=null;constructor(_0x118e11){this['_debugPrint']=_0x118e11;}['bindTarget'](_0x581aa6){this['_targets']['add'](_0x581aa6);}['unbindTarget'](_0x3ca31d){this['_targets']['delete'](_0x3ca31d);}['_dispatch'](_0x138eb2,_0x5f0b5b){for(const _0xa4dbe of this['_targets'])_0xa4dbe['dispatchEvent'](new CustomEvent(_0x138eb2,{'detail':_0x5f0b5b}));this['_debugPrint']?.(()=>{const _0x40376f=_0x5f0b5b&&'object'==typeof _0x5f0b5b?{..._0x5f0b5b}:_0x5f0b5b;return['event\x20\x22'+_0x138eb2+'\x22',_0x40376f];});}['emit'](_0x18c67f,_0x1c0ce4,_0x1d69a0={}){const {debounce:_0x1f39aa}=_0x1d69a0;if('number'!=typeof _0x1f39aa&&!_0x1f39aa)return void this['_dispatch'](_0x18c67f,'function'==typeof _0x1c0ce4?_0x1c0ce4():_0x1c0ce4);this['_timeoutStore']['has'](_0x18c67f)&&window['clearTimeout'](this['_timeoutStore']['get'](_0x18c67f));const _0xe167a0='number'==typeof _0x1f39aa?_0x1f39aa:0x14,_0x31460a=window['setTimeout'](()=>{this['_dispatch'](_0x18c67f,'function'==typeof _0x1c0ce4?_0x1c0ce4():_0x1c0ce4),this['_timeoutStore']['delete'](_0x18c67f);},_0xe167a0);this['_timeoutStore']['set'](_0x18c67f,_0x31460a);}};function _0x1675b0(_0x59e90d,_0x5e6ccc){let _0x176619;const _0x13a09e=(..._0x472051)=>{_0x176619&&clearTimeout(_0x176619),_0x176619=setTimeout(()=>_0x59e90d(..._0x472051),_0x5e6ccc);};return _0x13a09e['cancel']=()=>{_0x176619&&clearTimeout(_0x176619);},_0x13a09e;}var _0xa04383=_0x250227=>_0x250227?_0x250227['split'](',')['map'](_0x5ddf20=>_0x5ddf20['trim']())['filter'](Boolean):[],_0xa5aa39=_0x272fbd=>_0x272fbd['join'](','),_0x35032e=_0x2d0665=>{if('string'!=typeof _0x2d0665||!_0x2d0665)return'';let _0x5c187f=_0x2d0665['trim']();return _0x5c187f['startsWith']('-/')?_0x5c187f=_0x5c187f['slice'](0x2):_0x5c187f['startsWith']('/')&&(_0x5c187f=_0x5c187f['slice'](0x1)),_0x5c187f['endsWith']('/')&&(_0x5c187f=_0x5c187f['slice'](0x0,_0x5c187f['length']-0x1)),_0x5c187f;},_0x3d1fe4=(..._0x13931d)=>_0x13931d['filter'](_0x234649=>'string'==typeof _0x234649&&!!_0x234649)['map'](_0x19f68f=>_0x35032e(_0x19f68f))['join']('/-/'),_0x3fb77f=(..._0x5489bf)=>{const _0x12d15c=_0x3d1fe4(..._0x5489bf);return _0x12d15c?'-/'+_0x12d15c+'/':'';};function _0x310271(_0x4036b5){const _0x436e39=new URL(_0x4036b5),_0x429d80=_0x436e39['pathname']+_0x436e39['search']+_0x436e39['hash'],_0x4361b1=_0x429d80['lastIndexOf']('http'),_0x381232=_0x429d80['lastIndexOf']('/');let _0xef4a58='';return _0x4361b1>=0x0?_0xef4a58=_0x429d80['slice'](_0x4361b1):_0x381232>=0x0&&(_0xef4a58=_0x429d80['slice'](_0x381232+0x1)),_0xef4a58;}function _0x245098(_0x3aed03){const _0x251a6d=new URL(_0x3aed03),{pathname:_0x42974a}=_0x251a6d,_0x1dcf5b=_0x42974a['indexOf']('/'),_0xe2e08b=_0x42974a['indexOf']('/',_0x1dcf5b+0x1);return _0x42974a['substring'](_0x1dcf5b+0x1,_0xe2e08b);}function _0x1af1b7(_0x5841eb){const _0x4615c5=_0x383575(_0x5841eb),_0xcb26e2=new URL(_0x4615c5),_0x28fc02=_0xcb26e2['pathname']['indexOf']('/-/');if(-0x1===_0x28fc02)return'';return _0xcb26e2['pathname']['substring'](_0x28fc02)['slice'](0x1);}function _0x891262(_0xdb383f){return _0x1af1b7(_0xdb383f)['split']('/-/')['filter'](Boolean)['map'](_0x1363c6=>_0x35032e(_0x1363c6));}function _0x383575(_0x360fe5){const _0x2b7e9f=new URL(_0x360fe5),_0xae09b8=_0x310271(_0x360fe5),_0x39aa49=_0x4e7eb9(_0xae09b8)?_0x31e7b6(_0xae09b8)['pathname']:_0xae09b8;return _0x2b7e9f['pathname']=_0x2b7e9f['pathname']['replace'](_0x39aa49,''),_0x2b7e9f['search']='',_0x2b7e9f['hash']='',_0x2b7e9f['toString']();}function _0x4e7eb9(_0x199282){return _0x199282['startsWith']('http');}function _0x31e7b6(_0x4f8e41){const _0x4f74e6=new URL(_0x4f8e41);return{'pathname':''+_0x4f74e6['origin']+(_0x4f74e6['pathname']??''),'search':_0x4f74e6['search']??'','hash':_0x4f74e6['hash']??''};}var _0x53475f=(_0x4fb2eb,_0x3f06cf,_0x333d2b)=>{const _0x26d3ef=new URL(_0x383575(_0x4fb2eb)),_0x5429f0=_0x333d2b??_0x310271(_0x4fb2eb),_0x3a6ec9=_0x3f06cf??'';if(_0x26d3ef['pathname']['startsWith']('//')&&(_0x26d3ef['pathname']=_0x26d3ef['pathname']['replace']('//','/')),_0x5429f0&&_0x4e7eb9(_0x5429f0)){const _0x212b88=_0x31e7b6(_0x5429f0);_0x26d3ef['pathname']=''+_0x26d3ef['pathname']+_0x3a6ec9+(_0x212b88['pathname']||''),_0x26d3ef['search']=_0x212b88['search'],_0x26d3ef['hash']=_0x212b88['hash'];}else _0x26d3ef['pathname']=''+_0x26d3ef['pathname']+_0x3a6ec9+(_0x5429f0||'');return _0x26d3ef['toString']();},_0x3de603=(_0x4d41b4,_0x49c6fd)=>{const _0x59c09=new URL(_0x4d41b4);return _0x59c09['pathname']=_0x49c6fd+'/',_0x59c09['toString']();},_0x25ff69=(_0x5f48b7,_0x45025b=',')=>_0x5f48b7['trim']()['split'](_0x45025b)['map'](_0x212676=>_0x212676['trim']())['filter'](_0x194682=>_0x194682['length']>0x0),_0x419769=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}),_0x5d59f6=['enhance','brightness','exposure','gamma','contrast','saturation','vibrance','warmth','filter','mirror','flip','rotate','crop'];function _0x3dbdd3(_0x5a7249){return _0x3d1fe4(..._0x5d59f6['filter'](_0x9d656c=>void 0x0!==_0x5a7249[_0x9d656c]&&null!==_0x5a7249[_0x9d656c])['map'](_0x3e1429=>function(_0xfaaffb,_0x14a5ed){if('number'==typeof _0x14a5ed){const _0x76e18d=_0x14a5ed;return _0x419769[_0xfaaffb]!==_0x76e18d?_0xfaaffb+'/'+_0x76e18d:'';}if('boolean'==typeof _0x14a5ed){const _0x12082f=_0x14a5ed;return _0x419769[_0xfaaffb]!==_0x12082f?''+_0xfaaffb:'';}if('filter'===_0xfaaffb&&_0x14a5ed){const {name:_0x3d2d57,amount:_0x596371}=_0x14a5ed;return _0x419769['filter']===_0x596371?'':_0xfaaffb+'/'+_0x3d2d57+'/'+_0x596371;}if('crop'===_0xfaaffb&&_0x14a5ed){const {dimensions:_0x1a29fc,coords:_0x3af0d3}=_0x14a5ed;return _0xfaaffb+'/'+_0x1a29fc['join']('x')+'/'+_0x3af0d3['join'](',');}return'';}(_0x3e1429,_0x5a7249[_0x3e1429]))['filter'](_0x23c389=>!!_0x23c389));}var _0x90f3a3=_0x3d1fe4('format/auto','progressive/yes'),_0x32bd44=([_0x2a47f2])=>void 0x0!==_0x2a47f2?Number(_0x2a47f2):void 0x0,_0x2c7c95=()=>!0x0,_0x36ed49=Object['freeze']({'enhance':_0x32bd44,'brightness':_0x32bd44,'exposure':_0x32bd44,'gamma':_0x32bd44,'contrast':_0x32bd44,'saturation':_0x32bd44,'vibrance':_0x32bd44,'warmth':_0x32bd44,'filter':([_0x359b75,_0x31d4c7])=>({'name':_0x359b75,'amount':void 0x0!==_0x31d4c7?Number(_0x31d4c7):0x64}),'mirror':_0x2c7c95,'flip':_0x2c7c95,'rotate':_0x32bd44,'crop':_0x6fb3f3=>{const [_0x4669df,_0x37b278]=_0x6fb3f3,{dimensions:_0x41f84e,coords:_0x30d875}=(([_0x198129,_0x900603])=>{if(!/\d+x\d+/['test'](_0x198129)||!/\d+,\d+/['test'](_0x900603))throw new Error('Crop\x20by\x20aspect\x20ratio,\x20percentage\x20or\x20alignment\x20shortcuts\x20is\x20not\x20supported.');return{'dimensions':_0x25ff69(_0x198129,'x')['map'](Number),'coords':_0x25ff69(_0x900603)['map'](Number)};})([_0x4669df,_0x37b278]);return{'dimensions':_0x41f84e,'coords':_0x30d875};}});function _0x2459b5(_0x269ca8){const _0x412896={};for(const _0x5a06f5 of _0x269ca8){const [_0x4c18ef,..._0x6b5ade]=_0x5a06f5['split']('/');if(!_0x4c18ef||!_0x5d59f6['includes'](_0x4c18ef))continue;const _0x3e27f0=_0x4c18ef,_0x1169fd=_0x36ed49[_0x3e27f0];try{const _0x534a36=_0x1169fd(_0x6b5ade);_0x412896[_0x3e27f0]=_0x534a36;}catch(_0x551400){console['warn'](['Failed\x20to\x20parse\x20URL\x20operation\x20\x22'+_0x5a06f5+'\x22.\x20It\x20will\x20be\x20ignored.',_0x551400 instanceof Error?'Error\x20message:\x20\x22'+_0x551400['message']+'\x22':_0x551400,'If\x20you\x20need\x20this\x20functionality,\x20please\x20feel\x20free\x20to\x20open\x20an\x20issue\x20at\x20https://github.com/uploadcare/blocks/issues/new']['join']('\x0a'));}}return _0x412896;}var _0x9c22ab=Object['freeze']({'CROP':'crop','TUNING':'tuning','FILTERS':'filters'}),_0x4a517a=Object['freeze']([_0x9c22ab['CROP'],_0x9c22ab['TUNING'],_0x9c22ab['FILTERS']]),_0x5c2351=Object['freeze'](['brightness','exposure','gamma','contrast','saturation','vibrance','warmth','enhance']),_0x11b80c=Object['freeze'](['adaris','briaril','calarel','carris','cynarel','cyren','elmet','elonni','enzana','erydark','fenralan','ferand','galen','gavin','gethriel','iorill','iothari','iselva','jadis','lavra','misiara','namala','nerion','nethari','pamaya','sarnar','sedis','sewen','sorahel','sorlen','tarian','thellassan','varriel','varven','vevera','virkas','yedis','yllara','zatvel','zevcen']),_0x3270da=Object['freeze'](['rotate','mirror','flip']),_0x2497a9=_0x419769,_0x251e94=Object['freeze']({'brightness':{'zero':_0x2497a9['brightness'],'range':[-0x64,0x64],'keypointsNumber':0x2},'exposure':{'zero':_0x2497a9['exposure'],'range':[-0x1f4,0x1f4],'keypointsNumber':0x2},'gamma':{'zero':_0x2497a9['gamma'],'range':[0x0,0x3e8],'keypointsNumber':0x2},'contrast':{'zero':_0x2497a9['contrast'],'range':[-0x64,0x1f4],'keypointsNumber':0x2},'saturation':{'zero':_0x2497a9['saturation'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'vibrance':{'zero':_0x2497a9['vibrance'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'warmth':{'zero':_0x2497a9['warmth'],'range':[-0x64,0x64],'keypointsNumber':0x1},'enhance':{'zero':_0x2497a9['enhance'],'range':[0x0,0x64],'keypointsNumber':0x1},'filter':{'zero':_0x2497a9['filter'],'range':[0x0,0x64],'keypointsNumber':0x1}}),_0x12d6bd='https://ucarecdn.com',_0x104e28={'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':_0xa5aa39(_0x4a517a),'maxLocalFileSizeBytes':0x0,'thumbSize':0x4c,'showEmptyList':!0x1,'useLocalImageEditor':!0x1,'useCloudImageEditor':!0x0,'removeCopyright':!0x1,'cropPreset':'','imageShrink':'','modalScrollLock':!0x0,'modalBackdropStrokes':!0x1,'sourceListWrap':!0x0,'remoteTabSessionKey':'','cdnCname':_0x12d6bd,'cdnCnamePrefixed':'https://ucarecd.net','baseUrl':'https://upload.uploadcare.com','socialBaseUrl':'https://social.uploadcare.com','secureSignature':'','secureExpire':'','secureDeliveryProxy':'','retryThrottledRequestMaxTimes':0xa,'retryNetworkErrorMaxTimes':0x3,'multipartMinFileSize':0x1900000,'multipartChunkSize':0x500000,'maxConcurrentRequests':0xa,'multipartMaxConcurrentRequests':0x4,'multipartMaxAttempts':0x3,'checkForUrlDuplicates':!0x1,'saveUrlForRecurrentUploads':!0x1,'groupOutput':!0x1,'userAgentIntegration':'','debug':!0x1,'metadata':null,'localeName':'en','localeDefinitionOverride':null,'secureUploadsExpireThreshold':0x927c0,'secureUploadsSignatureResolver':null,'secureDeliveryProxyUrlResolver':null,'iconHrefResolver':null,'fileValidators':[],'collectionValidators':[],'validationTimeout':0x3a98,'validationConcurrency':0x64,'cameraModes':'photo,\x20video','defaultCameraMode':null,'enableAudioRecording':!0x0,'enableVideoRecording':null,'maxVideoRecordingDuration':null,'mediaRecorderOptions':null,'filesViewMode':'list','gridShowFileNames':!0x1,'cloudImageEditorAutoOpen':!0x1,'cloudImageEditorMaskHref':null,'testMode':!0x1,'qualityInsights':!0x0},_0x379532=Object['freeze'](_0x104e28),_0x2d4acb=(_0x228ad8,_0x26f26b)=>new Intl['PluralRules'](_0x228ad8)['select'](_0x26f26b),_0xb747d8=_0x29cfcc=>_0x29cfcc,_0x5691d4='{{',_0x4cdab5='}}',_0x378091='plural:';function _0x20b409(_0x2890a9,_0x2ab108={},_0xc1933b={}){const {openToken:_0x411d5e=_0x5691d4,closeToken:_0x27b9b8=_0x4cdab5,transform:_0x224d01=_0xb747d8}=_0xc1933b;for(const _0x14c6fe in _0x2ab108){const _0x1c023e=_0x2ab108[_0x14c6fe],_0x1cd3d2=null!=_0x1c023e?_0x1c023e['toString']():void 0x0,_0x2ac4e5='string'==typeof _0x1cd3d2?_0x224d01(_0x1cd3d2):String(_0x1cd3d2);_0x2890a9=_0x2890a9['replaceAll'](_0x411d5e+_0x14c6fe+_0x27b9b8,_0x2ac4e5);}return _0x2890a9;}var _0x310a68='--uploadcare-blocks-window-height',_0x22a426=class _WindowHeightTracker{static ['clientsRegistry']=new Set();static ['flush']=_0x1675b0(()=>{document['documentElement']['style']['setProperty'](_0x310a68,window['innerHeight']+'px');},0x64);static['registerClient'](_0x685121){0x0===_WindowHeightTracker['clientsRegistry']['size']&&_WindowHeightTracker['attachTracker'](),_WindowHeightTracker['clientsRegistry']['add'](_0x685121);}static['unregisterClient'](_0x2d3dc9){_WindowHeightTracker['clientsRegistry']['delete'](_0x2d3dc9),0x0===_WindowHeightTracker['clientsRegistry']['size']&&_WindowHeightTracker['detachTracker']();}static['attachTracker'](){window['addEventListener']('resize',_WindowHeightTracker['flush'],{'passive':!0x0,'capture':!0x0}),_WindowHeightTracker['flush']();}static['detachTracker'](){window['removeEventListener']('resize',_WindowHeightTracker['flush'],{'capture':!0x0}),document['documentElement']['style']['removeProperty'](_0x310a68);}},_0x1c0cc5=_0x5c4e06=>({'*currentActivity':null,'*currentActivityParams':{},'*history':[],'*historyBack':null,'*closeModal':()=>{_0x5c4e06['modalManager']?.['close'](_0x5c4e06['$']['*currentActivity']),_0x5c4e06['set$']({'*currentActivity':null});}}),_0x50a212=_0x3cf0f2=>({..._0x1c0cc5(_0x3cf0f2),'*commonProgress':0x0,'*uploadList':[],'*uploadQueue':new _0x481a6d(0x1),'*collectionErrors':[],'*collectionState':null,'*groupInfo':null,'*uploadTrigger':new Set(),'*secureUploadsManager':null}),_0x32a742={'locale-id':'en','social-source-lang':'en','upload-file':'Upload\x20file','upload-files':'Upload\x20files','choose-file':'Choose\x20file','choose-files':'Choose\x20files','drop-files-here':'Drop\x20files\x20here','select-file-source':'Select\x20file\x20source','selected':'Selected','upload':'Upload','add-more':'Add\x20more','cancel':'Cancel','start-from-cancel':'Cancel','clear':'Clear','camera-shot':'Shot','upload-url':'Import','upload-url-placeholder':'Paste\x20link\x20here','edit-image':'Edit\x20image','edit-detail':'Details','back':'Back','done':'Done','ok':'Ok','remove-from-list':'Remove','no':'No','yes':'Yes','confirm-your-action':'Confirm\x20your\x20action','are-you-sure':'Are\x20you\x20sure?','selected-count':'{{count}}\x20of\x20{{total}}\x20selected','select-all':'Select\x20all','deselect-all':'Deselect\x20all','upload-error':'Upload\x20error','validation-error':'Validation\x20error','no-files':'No\x20files\x20selected','browse':'Browse','not-uploaded-yet':'Not\x20uploaded\x20yet...','file__one':'file','file__other':'files','error__one':'error','error__other':'errors','header-uploading':'Uploading\x20{{count}}\x20{{plural:file(count)}}','header-failed':'{{count}}\x20{{plural:error(count)}}','header-succeed':'{{count}}\x20{{plural:file(count)}}\x20uploaded','header-total':'{{count}}\x20{{plural:file(count)}}\x20selected','src-type-local':'From\x20device','src-type-from-url':'From\x20link','src-type-camera':'Camera','src-type-mobile-video-camera':'Video','src-type-mobile-photo-camera':'Photo','src-type-draw':'Draw','src-type-facebook':'Facebook','src-type-dropbox':'Dropbox','src-type-gdrive':'Google\x20Drive','src-type-ngdrive':'Google\x20Drive','src-type-gphotos':'Google\x20Photos','src-type-flickr':'Flickr','src-type-vk':'VK','src-type-evernote':'Evernote','src-type-box':'Box','src-type-onedrive':'OneDrive','src-type-huddle':'Huddle','src-type-other':'Other','caption-from-url':'Import\x20from\x20link','caption-camera':'Camera','caption-draw':'Draw','caption-edit-file':'Edit\x20file','file-no-name':'No\x20name...','toggle-fullscreen':'Toggle\x20fullscreen','toggle-guides':'Toggle\x20guides','rotate':'Rotate','flip-vertical':'Flip\x20vertical','flip-horizontal':'Flip\x20horizontal','apply':'Apply','brightness':'Brightness','contrast':'Contrast','saturation':'Saturation','exposure':'Exposure','gamma':'Gamma','vibrance':'Vibrance','warmth':'Warmth','enhance':'Enhance','original':'Original','resize':'Resize\x20image','crop':'Crop','select-color':'Select\x20color','text':'Text','draw':'Draw','cancel-edit':'Cancel\x20edit','tab-view':'Preview','tab-details':'Details','file-name':'Name','file-size':'Size','cdn-url':'CDN\x20URL','file-size-unknown':'Unknown','camera-permissions-denied':'Camera\x20access\x20denied','camera-permissions-prompt':'Please\x20allow\x20access\x20to\x20the\x20camera','camera-permissions-request':'Request\x20access','files-count-limit-error-title':'Files\x20count\x20limit\x20overflow','files-count-limit-error-too-few':'You’ve\x20chosen\x20{{total}}\x20{{plural:file(total)}}.\x20At\x20least\x20{{min}}\x20{{plural:file(min)}}\x20required.','files-count-limit-error-too-many':'You’ve\x20chosen\x20too\x20many\x20files.\x20{{max}}\x20{{plural:file(max)}}\x20is\x20maximum.','files-max-size-limit-error':'File\x20is\x20too\x20big.\x20Max\x20file\x20size\x20is\x20{{maxFileSize}}.','has-validation-errors':'File\x20validation\x20error\x20occurred.\x20Please,\x20check\x20your\x20files\x20before\x20upload.','images-only-accepted':'Only\x20image\x20files\x20are\x20accepted.','file-type-not-allowed':'Uploading\x20of\x20these\x20file\x20types\x20is\x20not\x20allowed.','some-files-were-not-uploaded':'Some\x20files\x20were\x20not\x20uploaded.','file-item-edit-button':'Edit','file-item-remove-button':'Remove','a11y-editor-tab-filters':'Filters','a11y-editor-tab-tuning':'Tuning','a11y-editor-tab-crop':'Crop','a11y-activity-header-button-close':'Close','flip':'Flip','mirror':'Mirror','a11y-cloud-editor-apply-filter':'Apply\x20{{name}}\x20filter','a11y-cloud-editor-apply-crop':'Apply\x20{{name}}\x20operation','a11y-cloud-editor-apply-tuning':'Apply\x20{{name}}\x20tuning','a11y-cloud-editor-apply-aspect-ratio':'Apply\x20operation\x20{{name}}\x20{{value}}','finished':'Finished','failed':'Failed','uploading':'Uploading','idle':'Idle','a11y-file-item-status':'File\x20{{fileName}}\x20in\x20status\x20{{status}}','waiting-for':'Waiting\x20for\x20{{source}}','queued-uploading':'Queued\x20for\x20upload','queued-validation':'Queued\x20for\x20validation','validation':'Validating','crop-to-shape':'Crop\x20to\x20{{value}}','custom':'Freeform','freeform-crop':'Freeform\x20crop'},_0x10b498=new Map(),_0x88d0ad=new Map(),_0x5a85a6=(_0x84530d,_0xd76153)=>{_0x10b498['has'](_0x84530d)&&console['log']('Locale\x20'+_0x84530d+'\x20is\x20already\x20defined.\x20Overwriting...'),_0x10b498['set'](_0x84530d,{..._0x32a742,..._0xd76153});},_0x6f6eff=(_0x15b56e,_0x5175bc)=>{'function'==typeof _0x5175bc?((_0x227d63,_0x5aa16d)=>{_0x88d0ad['set'](_0x227d63,_0x5aa16d);})(_0x15b56e,_0x5175bc):_0x5a85a6(_0x15b56e,_0x5175bc);};_0x6f6eff('en',_0x32a742);var _0x5a2333=_0x4f0fc5=>'*l10n/'+_0x4f0fc5,tL=class{['_blockInstance']=null;['_localeName']='';['_callbacks']=new Set();['_boundBlocks']=new Map();constructor(_0x475abe){this['_blockInstance']=_0x475abe;for(const [_0x14f434,_0x639888]of Object['entries'](_0x32a742)){const _0x4209f4=!this['_blockInstance']['has'](_0x5a2333(_0x14f434))||!this['_blockInstance']['$'][_0x5a2333(_0x14f434)];this['_blockInstance']['add'](_0x5a2333(_0x14f434),_0x639888,_0x4209f4);}setTimeout(()=>{_0x475abe['subConfigValue']('localeName',async _0x580aeb=>{if(!this['_blockInstance']||!_0x580aeb)return;this['_localeName']=_0x580aeb;const _0x45dccd=await(async _0x259d13=>{if(!_0x10b498['has'](_0x259d13)){if(!_0x88d0ad['has'](_0x259d13))throw new Error('Locale\x20'+_0x259d13+'\x20is\x20not\x20defined');const _0x53a705=_0x88d0ad['get'](_0x259d13),_0xe2ce05=await _0x53a705();_0x5a85a6(_0x259d13,_0xe2ce05);}return _0x10b498['get'](_0x259d13);})(_0x580aeb);if('en'!==_0x580aeb&&this['_localeName']!==_0x580aeb)return;const _0x3b1c30=this['_blockInstance']['cfg']['localeDefinitionOverride']?.[_0x580aeb];for(const [_0x51b3f3,_0x44514b]of Object['entries'](_0x45dccd)){const _0x26ec42=_0x3b1c30?.[_0x51b3f3];this['_blockInstance']['add'](_0x5a2333(_0x51b3f3),_0x26ec42??_0x44514b,!0x0);for(const _0x4da968 of this['_callbacks'])_0x4da968();}}),_0x475abe['subConfigValue']('localeDefinitionOverride',_0x34cb5d=>{if(!_0x34cb5d)return;const _0xfce4d4=_0x34cb5d[this['_localeName']];if(_0xfce4d4)for(const [_0x34f6c7,_0xcf89b8]of Object['entries'](_0xfce4d4)){this['_blockInstance']?.['add'](_0x5a2333(_0x34f6c7),_0xcf89b8,!0x0);for(const _0x34cc1f of this['_callbacks'])_0x34cc1f();}});});}['onLocaleChange'](_0x1d2903){const _0x3c2462=_0x1675b0(_0x1d2903,0x0);return this['_callbacks']['add'](_0x3c2462),()=>{this['_callbacks']['delete'](_0x3c2462);};}['bindL10n'](_0x59b104,_0x60385a,_0x16a548){_0x59b104['$'][_0x60385a]=_0x16a548(),this['_boundBlocks']['has'](_0x59b104)||this['_boundBlocks']['set'](_0x59b104,new Map()),this['_boundBlocks']['get'](_0x59b104)?.['get'](_0x60385a)?.();const _0x59ea08=this['onLocaleChange'](()=>{_0x59b104['$'][_0x60385a]=_0x16a548();});this['_boundBlocks']['get'](_0x59b104)?.['set'](_0x60385a,_0x59ea08);}['destroyL10nBindings'](_0x10a345){const _0x1d9eef=this['_boundBlocks']['get'](_0x10a345);if(_0x1d9eef){for(const _0x3ebdfd of _0x1d9eef['values']())_0x3ebdfd();this['_boundBlocks']['delete'](_0x10a345);}}['destroy'](){this['_callbacks']['clear']();}};function _0x15234a(_0x466d10,_0x56cac8){[..._0x466d10['querySelectorAll']('[l10n]')]['forEach'](_0x57c1db=>{const _0xe948a8=_0x57c1db['getAttribute']('l10n');if(!_0xe948a8)return;const _0x2a51d9=_0xe948a8['split'](';');for(const _0x2c1082 of _0x2a51d9)_0x2c1082&&_0x2bcf0a(_0x57c1db,_0x2c1082,_0x56cac8);});}var _0x2bcf0a=(_0x5d7434,_0x28c0ee,_0x15abd9)=>{let _0x2314d3='textContent',_0x4993e6=!0x1;if(_0x28c0ee['includes'](':')){const _0x5a2919=_0x28c0ee['split'](':');if(0x2!==_0x5a2919['length'])return void console['warn']('l10n\x20attribute\x20value\x20should\x20be\x20in\x20format\x20\x22property:key\x22\x20or\x20\x22key\x22.\x20Found:\x20'+_0x28c0ee);const _0x1b26aa=_0x5a2919;_0x2314d3=_0x1b26aa[0x0],_0x28c0ee=_0x1b26aa[0x1],_0x2314d3['startsWith']('@')&&(_0x2314d3=_0x2314d3['slice'](0x1),_0x4993e6=!0x0);}const _0x22bc6e=_0x28c0ee;_0x15abd9['has'](_0x22bc6e)&&_0x15abd9['sub'](_0x22bc6e,_0x22a8ca=>{if(!_0x22a8ca)return;_0x15abd9['l10nProcessorSubs']['has'](_0x22bc6e)||_0x15abd9['l10nProcessorSubs']['set'](_0x22bc6e,new Set());const _0x2ae5cc=_0x15abd9['l10nProcessorSubs']['get'](_0x22bc6e);_0x2ae5cc?.['forEach'](_0x21cccf=>{_0x21cccf['remove'](),_0x2ae5cc['delete'](_0x21cccf),_0x15abd9['allSubs']['delete'](_0x21cccf);});const _0x38d140=_0x5a2333(_0x22a8ca)['replace']('*','');_0x15abd9['nodeCtx']['has'](_0x38d140)||_0x15abd9['nodeCtx']['add'](_0x38d140,_0x22a8ca);const _0x42b7ff=_0x15abd9['nodeCtx']['sub'](_0x38d140,()=>{_0x5d7434[_0x2314d3]=_0x15abd9['l10n'](_0x22a8ca);});_0x2ae5cc?.['add'](_0x42b7ff),_0x15abd9['allSubs']['add'](_0x42b7ff),_0x5d7434['removeAttribute']('l10n');});const _0x445312=_0x5a2333(_0x28c0ee);_0x15abd9['has'](_0x445312)||_0x15abd9['add'](_0x445312,''),_0x15abd9['sub'](_0x445312,()=>{_0x4993e6?_0x5d7434['setAttribute'](_0x2314d3,_0x15abd9['l10n'](_0x28c0ee)):_0x5d7434[_0x2314d3]=_0x15abd9['l10n'](_0x28c0ee);}),_0x5d7434['removeAttribute']('l10n');},_0x338c1d=class{['_listeners']=new Map();['_scope']=[];['addEventListener'](_0x18ff35,_0x104979){const _0x44222d=_0x47693c=>{const _0x5b2a58=_0x47693c['target'];_0x5b2a58 instanceof Node&&this['_scope']['some'](_0x36db36=>_0x36db36===_0x5b2a58||_0x36db36['contains'](_0x5b2a58))&&_0x104979(_0x47693c);};this['_listeners']['set'](_0x104979,_0x44222d),window['addEventListener'](_0x18ff35,_0x44222d);}['removeEventListener'](_0x4660af,_0x51b3a7){const _0x53fda4=this['_listeners']['get'](_0x51b3a7);_0x53fda4&&window['removeEventListener'](_0x4660af,_0x53fda4),this['_listeners']['delete'](_0x51b3a7);}get['CustomEvent'](){return window['CustomEvent'];}get['document'](){return window['document'];}get['navigator'](){return window['navigator'];}['registerScope'](_0x25da54){this['_scope']['push'](_0x25da54);}['destroy'](){this['_scope']=[];for(const _0x38999b of this['_listeners']['values']())window['removeEventListener']('keydown',_0x38999b),window['removeEventListener']('keyup',_0x38999b);this['_listeners']['clear']();}},_0x3cbe2c=class{['_destroyKeyUX'];['_scopedWindow'];constructor(){this['_scopedWindow']=new _0x338c1d(),this['_destroyKeyUX']=function(_0x3203f1,_0x4ee5ae){let _0x41f0c9=_0x4ee5ae['map'](_0xa5110c=>_0xa5110c(_0x3203f1));return()=>{_0x41f0c9['forEach'](_0x4f19c0=>_0x4f19c0());};}(this['_scopedWindow'],[_0x27f5d5=>{let _0x5d25bf=!0x1,_0xd79f76=0x0,_0x18413e='';function _0x4c3209(_0x2570a3){let _0x34249e=_0xb7681e(_0x2570a3['target']);if(!_0x34249e)return void _0x3946c6();let _0x81bd84=_0x8b4d8e(_0x2570a3['target'],_0x34249e),_0x351a27=Array['from'](_0x81bd84)['indexOf'](_0x2570a3['target']),_0x208fc5='ArrowDown',_0x3d0765='ArrowUp';if(function(_0x547ce0){let _0x23b1f6=_0x547ce0['getAttribute']('aria-orientation');if('vertical'===_0x23b1f6)return!0x1;if('horizontal'===_0x23b1f6)return!0x0;let _0x50adee=_0x547ce0['role'];return'menubar'===_0x50adee||'tablist'===_0x50adee||'toolbar'===_0x50adee;}(_0x34249e)&&('rtl'===_0x27f5d5['document']['dir']?(_0x208fc5='ArrowLeft',_0x3d0765='ArrowRight'):(_0x208fc5='ArrowRight',_0x3d0765='ArrowLeft')),_0x2570a3['key']===_0x208fc5)_0x2570a3['preventDefault'](),_0x1a97a8(_0x2570a3['target'],_0x81bd84[_0x351a27+0x1]||_0x81bd84[0x0]);else{if(_0x2570a3['key']===_0x3d0765)_0x2570a3['preventDefault'](),_0x1a97a8(_0x2570a3['target'],_0x81bd84[_0x351a27-0x1]||_0x81bd84[_0x81bd84['length']-0x1]);else{if('Home'===_0x2570a3['key'])_0x2570a3['preventDefault'](),_0x1a97a8(_0x2570a3['target'],_0x81bd84[0x0]);else{if('End'===_0x2570a3['key'])_0x2570a3['preventDefault'](),_0x1a97a8(_0x2570a3['target'],_0x81bd84[_0x81bd84['length']-0x1]);else{if(0x1===_0x2570a3['key']['length']&&'tablist'!==_0x34249e['role']){let _0x7e2bac=Date['now']();_0x7e2bac-_0xd79f76<=0x12c?_0x18413e+=_0x2570a3['key']['toLowerCase']():_0x18413e=_0x2570a3['key']['toLowerCase'](),_0xd79f76=_0x7e2bac;let _0x3a1be1=Array['from'](_0x81bd84)['find'](_0x46a021=>_0x46a021['textContent']?.['trim']()?.['toLowerCase']()?.['startsWith'](_0x18413e));_0x3a1be1&&(_0x2570a3['preventDefault'](),_0x1a97a8(_0x2570a3['target'],_0x3a1be1));}}}}}}function _0x3946c6(){_0x5d25bf=!0x1,_0x27f5d5['removeEventListener']('keydown',_0x4c3209);}function _0x3bfa4d(_0x5097fe){let _0x159272=_0xb7681e(_0x5097fe['target']);if(_0x159272){_0x5d25bf||(_0x5d25bf=!0x0,_0x27f5d5['addEventListener']('keydown',_0x4c3209));let _0x5e6033=_0x8b4d8e(_0x5097fe['target'],_0x159272);for(let _0x145b56 of _0x5e6033)_0x145b56!==_0x5097fe['target']&&_0x145b56['setAttribute']('tabindex',-0x1);}else _0x5d25bf&&_0x3946c6();}function _0x282260(_0x3e06e0){_0x3e06e0['relatedTarget']&&_0x3e06e0['relatedTarget']!==_0x27f5d5['document']||_0x3946c6();}function _0x46d14c(_0x11498a){let _0x11b180=_0xb7681e(_0x11498a['target']);if(_0x11b180){let _0x13fcad=_0x8b4d8e(_0x11498a['target'],_0x11b180);for(let _0x3f1d5e of _0x13fcad)_0x3f1d5e!==_0x11498a['target']&&_0x3f1d5e['setAttribute']('tabindex',-0x1);_0x11498a['target']['setAttribute']('tabindex',0x0);}}return _0x27f5d5['addEventListener']('click',_0x46d14c),_0x27f5d5['addEventListener']('focusin',_0x3bfa4d),_0x27f5d5['addEventListener']('focusout',_0x282260),()=>{_0x3946c6(),_0x27f5d5['removeEventListener']('click',_0x46d14c),_0x27f5d5['removeEventListener']('focusin',_0x3bfa4d),_0x27f5d5['removeEventListener']('focusout',_0x282260);};},_0x33a375('is-pressed'),_0x2b896b(),_0x365dd0=>{let _0xb9816c,_0x3925f3;function _0x57478a(_0x4b6a6b){if('true'===_0x4b6a6b['target']['getAttribute']('aria-hidden')){_0xb9816c=_0x4b6a6b['target'],_0xb9816c['setAttribute']('aria-hidden','false'),_0x3925f3=_0xb9816c['hidden'],_0x3925f3&&(_0xb9816c['hidden']=!0x1);let _0x50b74b=_0x4b6a6b['target']['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x50b74b&&(_0x50b74b['tabIndex']=0x0);}}function _0x27c855(_0x3c3ac6){!_0xb9816c||!_0xb9816c['contains'](_0x3c3ac6['target'])||_0x3c3ac6['relatedTarget']&&_0xb9816c['contains'](_0x3c3ac6['relatedTarget'])||(_0x3c3ac6['target']['tabIndex']=-0x1,_0xb9816c['setAttribute']('aria-hidden','true'),_0x3925f3&&(_0xb9816c['hidden']=!0x0),_0xb9816c=null);}return _0x365dd0['addEventListener']('keyuxJump',_0x57478a),_0x365dd0['addEventListener']('focusout',_0x27c855),()=>{_0x365dd0['removeEventListener']('keyuxJump',_0x57478a),_0x365dd0['removeEventListener']('focusout',_0x27c855);};}]);}['registerBlock'](_0x21f40f){this['_scopedWindow']['registerScope'](_0x21f40f);}['destroy'](){this['_destroyKeyUX']?.(),this['_scopedWindow']['destroy']();}},_0x45ede0=Object['freeze']({'ADD':'modal:add','DELETE':'modal:delete','OPEN':'modal:open','CLOSE':'modal:close','CLOSE_ALL':'modal:closeAll','DESTROY':'modal:destroy'}),_0x4a5296=class{['_modals']=new Map();['_activeModals']=new Set();['_subscribers']=new Map();['_block'];constructor(_0x2d2150){this['_block']=_0x2d2150;}['_debugPrint'](..._0xed54ef){this['_block']['debugPrint']('[modal-manager]',..._0xed54ef);}['registerModal'](_0x313d4e,_0x6ce723){this['_modals']['set'](_0x313d4e,_0x6ce723),this['_notify'](_0x45ede0['ADD'],{'id':_0x313d4e,'modal':_0x6ce723});}['deleteModal'](_0x45d750){if(!this['_modals']['has'](_0x45d750))return!0x1;const _0x6a19ec=this['_modals']['get'](_0x45d750);return this['_modals']['delete'](_0x45d750),this['_activeModals']['delete'](_0x45d750),this['_notify'](_0x45ede0['DELETE'],{'id':_0x45d750,'modal':_0x6a19ec}),!0x0;}['open'](_0xf1b8d1){if(!this['_modals']['has'](_0xf1b8d1))return this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0xf1b8d1+'\x22\x20not\x20found'),!0x1;const _0x2ff714=this['_modals']['get'](_0xf1b8d1);return this['_activeModals']['add'](_0xf1b8d1),this['_notify'](_0x45ede0['OPEN'],{'modal':_0x2ff714,'id':_0xf1b8d1}),!0x0;}['close'](_0x32b45c){if(!this['_modals']['has'](_0x32b45c)||!this['_activeModals']['has'](_0x32b45c))return this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x32b45c+'\x22\x20not\x20found\x20or\x20not\x20active'),!0x1;const _0xa3c921=this['_modals']['get'](_0x32b45c);return this['_activeModals']['delete'](_0x32b45c),this['_notify'](_0x45ede0['CLOSE'],{'id':_0x32b45c,'modal':_0xa3c921}),!0x0;}['toggle'](_0x171166){return this['_modals']['has'](_0x171166)?this['_activeModals']['has'](_0x171166)?this['close'](_0x171166):this['open'](_0x171166):(this['_debugPrint']('Modal\x20with\x20ID\x20\x22'+_0x171166+'\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 _0xc96fcf=Array['from'](this['_activeModals'])['pop']();return!!_0xc96fcf&&this['close'](_0xc96fcf);}['closeAll'](){const _0x3f2d42=this['_activeModals']['size'];return this['_activeModals']['clear'](),this['_notify'](_0x45ede0['CLOSE_ALL'],{}),_0x3f2d42;}['subscribe'](_0x29b573,_0x37331d){return this['_subscribers']['has'](_0x29b573)||this['_subscribers']['set'](_0x29b573,new Set()),this['_subscribers']['get'](_0x29b573)?.['add'](_0x37331d),()=>this['unsubscribe'](_0x29b573,_0x37331d);}['unsubscribe'](_0x142090,_0x555538){this['_subscribers']['has'](_0x142090)&&this['_subscribers']['get'](_0x142090)?.['delete'](_0x555538);}['_notify'](_0x52f618,_0x190ed7){if(this['_subscribers']['has'](_0x52f618)){for(const _0x11e454 of this['_subscribers']['get'](_0x52f618)??new Set())try{_0x11e454(_0x190ed7);}catch(_0xcb6c40){this['_block']['telemetryManager']['sendEventError'](_0xcb6c40,'modal\x20subscriber'),this['_debugPrint']('Error\x20in\x20modal\x20subscriber:',_0xcb6c40);}}}['destroy'](){this['closeAll'](),this['_modals']['clear'](),this['_subscribers']['clear'](),this['_notify'](_0x45ede0['DESTROY'],{});}},_0x13f4d4='blocks',_0x38b6b4='1.24.5',_0x22e934=class{['_sessionId']=crypto['randomUUID']();['_telemetryInstance'];['_block'];['_config']=structuredClone(_0x379532);['_initialized']=!0x1;['_lastPayload']=null;['_queue'];constructor(_0x2cbf57){this['_block']=_0x2cbf57,this['_telemetryInstance']=new _0x4bbd50(),this['_queue']=new _0x481a6d(0xa);for(const _0x452e4a of Object['keys'](this['_config']))this['_block']['subConfigValue'](_0x452e4a,_0x495f8b=>{this['_initialized']&&this['_config'][_0x452e4a]!==_0x495f8b&&this['sendEvent']({'eventType':_0x6408f2['CHANGE_CONFIG']}),this['_setConfig'](_0x452e4a,_0x495f8b);});}['_init'](_0x2f14cb){_0x2f14cb!==_0x6408f2['INIT_SOLUTION']||this['_initialized']||(this['_initialized']=!0x0);}['_setConfig'](_0x1fb71b,_0x596d21){this['_config'][_0x1fb71b]!==_0x596d21&&(this['_config'][_0x1fb71b]=_0x596d21);}['_formattingPayload'](_0x3d5df3){const _0xc2a304=_0x3d5df3['payload']?{..._0x3d5df3['payload']}:{};_0xc2a304['activity']&&(_0xc2a304['activity']=void 0x0);const _0x269d35={..._0x3d5df3};return _0x3d5df3['eventType']!==_0x6408f2['INIT_SOLUTION']&&_0x3d5df3['eventType']!==_0x6408f2['CHANGE_CONFIG']||(_0x269d35['config']=this['_config']),{..._0x269d35,'appVersion':_0x38b6b4,'appName':_0x13f4d4,'sessionId':this['_sessionId'],'component':this['_solution'],'activity':this['_activity'],'projectPubkey':this['_config']['pubkey'],'userAgent':navigator['userAgent'],'eventType':_0x269d35['eventType']??'','eventTimestamp':this['_timestamp'],'payload':{'location':this['_location'],..._0xc2a304}};}['_excludedEvents'](_0x4610a3){return!(!_0x4610a3||![_0x4d7bbe['CHANGE'],_0x4d7bbe['COMMON_UPLOAD_PROGRESS'],_0x4d7bbe['FILE_ADDED'],_0x4d7bbe['FILE_REMOVED'],_0x4d7bbe['FILE_UPLOAD_START'],_0x4d7bbe['FILE_UPLOAD_PROGRESS'],_0x4d7bbe['FILE_UPLOAD_SUCCESS'],_0x4d7bbe['FILE_UPLOAD_FAILED']]['includes'](_0x4610a3));}['sendEvent'](_0x241612){const _0x2badf1=this['_formattingPayload']({'eventType':_0x241612['eventType'],'payload':_0x241612['payload'],'config':_0x241612['config']});this['_init'](_0x241612['eventType']);if(this['_excludedEvents'](_0x241612['eventType']))return;this['_lastPayload']&&this['_checkObj'](this['_lastPayload'],_0x2badf1)||this['_queue']['add'](async()=>{this['_lastPayload']=_0x2badf1,await this['_telemetryInstance']['sendEvent'](_0x2badf1);});}['sendEventError'](_0x23a175,_0x161ac1='unknown'){this['sendEvent']({'eventType':_0x6408f2['ERROR_EVENT'],'payload':{'metadata':{'event':'error','text':'Error\x20in\x20'+_0x161ac1,'error':_0x23a175['message']}}});}['sendEventCloudImageEditor'](_0x5cb568,_0x10f841,_0x46df1c={}){this['sendEvent']({'eventType':_0x6408f2['ACTION_EVENT'],'payload':{'metadata':{'tabId':_0x10f841,'node':_0x5cb568['currentTarget']?.['tagName'],'event':_0x5cb568['type'],..._0x46df1c}}});}['_checkObj'](_0x2a8d03,_0x2951a9){if(JSON['stringify'](_0x2a8d03)===JSON['stringify'](_0x2951a9))return!0x0;if('object'!=typeof _0x2a8d03||'object'!=typeof _0x2951a9||null==_0x2a8d03||null==_0x2951a9)return!0x1;const _0x59a2e5=Object['keys'](_0x2a8d03),_0x249efb=Object['keys'](_0x2951a9);if(_0x59a2e5['length']!==_0x249efb['length'])return!0x1;for(const _0x2ddcc7 of _0x59a2e5){if(!Object['hasOwn'](_0x2951a9,_0x2ddcc7))return!0x1;if(!this['_checkObj'](_0x2a8d03[_0x2ddcc7],_0x2951a9[_0x2ddcc7]))return!0x1;}return!0x0;}get['_timestamp'](){return Date['now']();}get['_solution'](){if(!this['_block']['has']('*solution'))return null;const _0x180776=this['_block']['$']['*solution'];return _0x180776?_0x180776['toLowerCase']():null;}get['_activity'](){return this['_block']['has']('*currentActivity')?this['_block']['$']['*currentActivity']??null:null;}get['_location'](){return location['origin'];}},_0x5a4b30=_0x5544ab=>'*cfg/'+_0x5544ab;function _0x3284f5(_0x4c4842,_0x521ba0){const _0x1639b4=_0x4c4842['querySelectorAll']('[data-testid]');if(0x0===_0x1639b4['length'])return;const _0xf1602f=new WeakMap();for(const _0x4c54e1 of _0x1639b4){const _0x452b6c=_0x4c54e1['getAttribute']('data-testid');_0x452b6c&&_0xf1602f['set'](_0x4c54e1,_0x452b6c);}_0x521ba0['subConfigValue']('testMode',_0x5e1bbb=>{if(!_0x5e1bbb){for(const _0x48f79c of _0x1639b4)_0x48f79c['removeAttribute']('data-testid');return;}const _0x2928e0=_0x521ba0['testId'];for(const _0x1a53f1 of _0x1639b4){const _0x67e691=_0xf1602f['get'](_0x1a53f1);_0x67e691&&_0x1a53f1['setAttribute']('data-testid',_0x2928e0+'--'+_0x67e691);}});}var _0x203425=class extends _0x36866e{['__cfgProxy'];['l10nProcessorSubs']=new Map();static ['StateConsumerScope']=null;static ['styleAttrs']=[];['requireCtxName']=!0x1;['activityType']=null;['init$']={};['l10n'](_0x1ce62e,_0x1af823={}){if(!_0x1ce62e)return'';const _0x533104=this['$'][_0x5a2333(_0x1ce62e)]||_0x1ce62e,_0x4178a1=function(_0x42b761){const _0x56c9ae=[];let _0x419cc0=_0x42b761['indexOf'](_0x5691d4);for(;-0x1!==_0x419cc0;){const _0x423fde=_0x42b761['indexOf'](_0x4cdab5,_0x419cc0);if(-0x1===_0x423fde)break;const _0x3ff683=_0x42b761['substring'](_0x419cc0+0x2,_0x423fde);if(_0x3ff683['startsWith'](_0x378091)){const _0x105cc1=_0x42b761['substring'](_0x419cc0+0x2,_0x423fde)['replace'](_0x378091,''),_0x114993=_0x105cc1['substring'](0x0,_0x105cc1['indexOf']('(')),_0xd2d44f=_0x105cc1['substring'](_0x105cc1['indexOf']('(')+0x1,_0x105cc1['indexOf'](')'));_0x56c9ae['push']({'variable':_0x3ff683,'pluralKey':_0x114993,'countVariable':_0xd2d44f});}_0x419cc0=_0x42b761['indexOf'](_0x5691d4,_0x423fde);}return _0x56c9ae;}(_0x533104);for(const _0x2251a6 of _0x4178a1)_0x1af823[_0x2251a6['variable']]=this['pluralize'](_0x2251a6['pluralKey'],Number(_0x1af823[_0x2251a6['countVariable']]));return _0x20b409(_0x533104,_0x1af823);}['pluralize'](_0x8549f1,_0x437129){const _0xf29d37=this['l10n']('locale-id')||'en',_0x3e4d42=_0x2d4acb(_0xf29d37,_0x437129);return this['l10n'](_0x8549f1+'__'+_0x3e4d42);}['bindL10n'](_0x2a6abe,_0x59f582){this['localeManager']?.['bindL10n'](this,_0x2a6abe,_0x59f582);}constructor(){super(),this['addTemplateProcessor'](_0x15234a),this['addTemplateProcessor'](_0x3284f5);}['emit'](_0x24ea2e,_0x22bd38,_0x320947){const _0x236f95=this['has']('*eventEmitter')?this['$']['*eventEmitter']:void 0x0;_0x236f95&&(_0x236f95['emit'](_0x24ea2e,_0x22bd38,_0x320947),this['telemetryManager']['sendEvent']({'eventType':_0x24ea2e,'payload':'function'==typeof _0x22bd38?_0x22bd38():_0x22bd38}));}['hasBlockInCtx'](_0x1b81eb){for(const _0x5d47eb of this['blocksRegistry'])if(_0x1b81eb(_0x5d47eb))return!0x0;return!0x1;}['setOrAddState'](_0x520e0b,_0x575b61){this['add$']({[_0x520e0b]:_0x575b61},!0x0);}['connectedCallback'](){this['constructor']['styleAttrs']['forEach'](_0x2f6cb6=>{this['setAttribute'](_0x2f6cb6,'');}),this['hasAttribute']('retpl')&&(this['constructor']['template']=null,this['processInnerHtml']=!0x0),this['requireCtxName']?(({element:_0x57e767,attribute:_0x5395d5,onSuccess:_0x5e8735,onTimeout:_0x2a933a,timeout:_0x4436dd=0x12c})=>{const _0x2cf1a9=_0x57e767['getAttribute'](_0x5395d5);if(null!==_0x2cf1a9)return void _0x5e8735(_0x2cf1a9);const _0x2a0405=new MutationObserver(_0x5ce411=>{const _0x58dbe7=_0x5ce411[_0x5ce411['length']-0x1];_0x58dbe7&&_0x231a26(_0x58dbe7);});_0x2a0405['observe'](_0x57e767,{'attributes':!0x0,'attributeFilter':[_0x5395d5]});const _0x1cdc73=window['setTimeout'](()=>{_0x2a0405['disconnect'](),_0x2a933a();},_0x4436dd),_0x231a26=_0x60ca0a=>{const _0x4cc16f=_0x57e767['getAttribute'](_0x5395d5);'attributes'===_0x60ca0a['type']&&_0x60ca0a['attributeName']===_0x5395d5&&null!==_0x4cc16f&&(window['clearTimeout'](_0x1cdc73),_0x2a0405['disconnect'](),_0x5e8735(_0x4cc16f));};})({'element':this,'attribute':'ctx-name','onSuccess':()=>{super['connectedCallback']();},'onTimeout':()=>{console['error']('Attribute\x20`ctx-name`\x20is\x20required\x20and\x20it\x20is\x20not\x20set.');}}):super['connectedCallback'](),_0x22a426['registerClient'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),_0x22a426['unregisterClient'](this);}['initCallback'](){this['has']('*blocksRegistry')||this['add']('*blocksRegistry',new Set()),(this['$']['*blocksRegistry']['add'](this),this['has']('*eventEmitter')||this['add']('*eventEmitter',new _0x32b299(this['debugPrint']['bind'](this))),this['has']('*localeManager')||this['add']('*localeManager',new tL(this)),this['cfg']['qualityInsights']&&!this['has']('*telemetryManager')&&this['add']('*telemetryManager',new _0x22e934(this)),this['has']('*a11y')||this['add']('*a11y',new _0x3cbe2c()),this['has']('*modalManager')||this['add']('*modalManager',new _0x4a5296(this)),this['sub'](_0x5a2333('locale-id'),_0x1aeb36=>{const _0x59ef9b=(_0x583ce5=>{const _0x4cf7e1=new Intl['Locale'](_0x583ce5);let _0xf67251='ltr';const _0x3c55ad=_0x4cf7e1['getTextInfo']?.()['direction'];return _0x3c55ad?_0xf67251=_0x3c55ad:_0x4cf7e1['textInfo']?.['direction']&&(_0xf67251=_0x4cf7e1['textInfo']['direction']),_0xf67251;})(_0x1aeb36);this['style']['direction']='ltr'===_0x59ef9b?'':_0x59ef9b;}),this['subConfigValue']('testMode',_0x29f602=>{_0x29f602&&this['testId']?this['setAttribute']('data-testid',this['testId']):this['removeAttribute']('data-testid');}));}get['testId'](){return window['customElements']['getName'](this['constructor']);}get['modalManager'](){return this['has']('*modalManager')?this['$']['*modalManager']:void 0x0;}get['telemetryManager'](){return this['cfg']['qualityInsights']?this['has']('*telemetryManager')&&this['$']['*telemetryManager']:{'sendEvent':()=>{},'sendEventCloudImageEditor':()=>{},'sendEventError':()=>{}};}get['localeManager'](){return this['has']('*localeManager')?this['$']['*localeManager']:null;}get['a11y'](){return this['has']('*a11y')?this['$']['*a11y']:null;}get['blocksRegistry'](){return this['$']['*blocksRegistry'];}['destroyCallback'](){super['destroyCallback']();const _0x449d59=this['blocksRegistry'];_0x449d59?.['delete'](this),this['localeManager']?.['destroyL10nBindings'](this),this['l10nProcessorSubs']=new Map(),_0x191ad9['deleteCtx'](this),0x0===_0x449d59?.['size']&&setTimeout(()=>{this['destroyCtxCallback']();},0x0);}['destroyCtxCallback'](){_0x191ad9['deleteCtx'](this['ctxName']),this['localeManager']?.['destroy'](),this['modalManager']?.['destroy']();}async['proxyUrl'](_0x1dfdd5){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'](_0x1dfdd5,{'uuid':_0x245098(_0x1dfdd5),'cdnUrlModifiers':_0x1af1b7(_0x1dfdd5),'fileName':_0x310271(_0x1dfdd5)});}catch(_0x87e36d){return console['error']('Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.',_0x87e36d),this['telemetryManager']['sendEventError'](_0x87e36d,'secureDeliveryProxyUrlResolver.\x20Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.'),_0x1dfdd5;}return this['cfg']['secureDeliveryProxy']?_0x20b409(this['cfg']['secureDeliveryProxy'],{'previewUrl':_0x1dfdd5},{'transform':_0x26a39a=>window['encodeURIComponent'](_0x26a39a)}):_0x1dfdd5;}get['cfg'](){if(!this['__cfgProxy']){const _0x41e6c3=Object['create'](null);this['__cfgProxy']=new Proxy(_0x41e6c3,{'set':(_0x42d18e,_0x2b3ecf,_0x11cc11)=>{if('string'!=typeof _0x2b3ecf)return!0x1;const _0x3131f6=_0x5a4b30(_0x2b3ecf);return this['has'](_0x3131f6)||this['add'](_0x3131f6,_0x379532[_0x2b3ecf]),this['$'][_0x3131f6]=_0x11cc11,!0x0;},'get':(_0x1a5a2f,_0x51cd8f)=>{const _0x2b3720=_0x5a4b30(_0x51cd8f);return this['has'](_0x2b3720)||this['add'](_0x2b3720,_0x379532[_0x51cd8f]),this['$'][_0x5a4b30(_0x51cd8f)];}});}return this['__cfgProxy'];}['subConfigValue'](_0x30751c,_0x5d09c5){const _0x27eeff=_0x5a4b30(_0x30751c);this['has'](_0x27eeff)||this['add'](_0x27eeff,_0x379532[_0x30751c]),this['sub'](_0x27eeff,_0x5d09c5);}['debugPrint'](..._0x4be597){if(!this['cfg']['debug'])return;let _0x4fec0a=_0x4be597;'function'==typeof _0x4be597?.[0x0]&&(_0x4fec0a=(0x0,_0x4be597[0x0])()),console['log']('['+this['ctxName']+']',..._0x4fec0a);}static['reg'](_0x49e2b7){_0x49e2b7?_0x49e2b7['startsWith']('uc-')&&super['reg'](_0x49e2b7):super['reg']();}},_0x3780dd='active',_0x30f003='___ACTIVITY_IS_ACTIVE___',_0x5bae2a=class _ActivityBlock extends _0x203425{['historyTracked']=!0x1;[_0x30f003];['init$']=_0x1c0cc5(this);['_debouncedHistoryFlush']=_0x1675b0(this['_historyFlush']['bind'](this),0xa);['_deactivate'](){const _0x2133b8=_ActivityBlock['_activityCallbacks']['get'](this);this[_0x30f003]=!0x1,this['removeAttribute'](_0x3780dd),_0x2133b8?.['deactivateCallback']?.();}['_activate'](){const _0xb381b=_ActivityBlock['_activityCallbacks']['get'](this);this['$']['*historyBack']=this['historyBack']['bind'](this),this[_0x30f003]=!0x0,this['setAttribute'](_0x3780dd,''),_0xb381b?.['activateCallback']?.(),this['_debouncedHistoryFlush'](),this['emit'](_0x4d7bbe['ACTIVITY_CHANGE'],{'activity':this['activityType']});}['initCallback'](){super['initCallback'](),this['activityType']&&(this['hasAttribute']('activity')||this['setAttribute']('activity',this['activityType']),this['sub']('*currentActivity',_0x743e2c=>{try{this['activityType']!==_0x743e2c&&this[_0x30f003]?this['_deactivate']():this['activityType']!==_0x743e2c||this[_0x30f003]||this['_activate']();}catch(_0x3eb4b5){this['telemetryManager']['sendEventError'](_0x3eb4b5,'activity\x20\x22'+this['activityType']+'\x22'),console['error']('Error\x20in\x20activity\x20\x22'+this['activityType']+'\x22.\x20',_0x3eb4b5),this['$']['*currentActivity']=this['$']['*history'][this['$']['*history']['length']-0x1]??null;}_0x743e2c||(this['$']['*history']=[]);}));}['_historyFlush'](){let _0x2144a1=this['$']['*history'];_0x2144a1&&(_0x2144a1['length']>0xa&&(_0x2144a1=_0x2144a1['slice'](_0x2144a1['length']-0xb,_0x2144a1['length']-0x1)),this['historyTracked']&&_0x2144a1[_0x2144a1['length']-0x1]!==this['activityType']&&_0x2144a1['push'](this['activityType']),this['$']['*history']=_0x2144a1);}['_isActivityRegistered'](){return!!this['activityType']&&_ActivityBlock['_activityCallbacks']['has'](this);}static ['_activityCallbacks']=new Map();static ['activities'];get['isActivityActive'](){return!!this[_0x30f003];}get['couldOpenActivity'](){return!0x0;}['registerActivity'](_0x44fa29,_0x4a856b={}){const {onActivate:_0x333d5f,onDeactivate:_0x51ea00}=_0x4a856b;_ActivityBlock['_activityCallbacks']['set'](this,{'activateCallback':_0x333d5f,'deactivateCallback':_0x51ea00});}['unregisterActivity'](){this['isActivityActive']&&this['_deactivate'](),_ActivityBlock['_activityCallbacks']['delete'](this);}['destroyCallback'](){super['destroyCallback'](),this['_isActivityRegistered']()&&this['unregisterActivity']();const _0x5f44e8=this['$']['*currentActivity'];!![...this['blocksRegistry']]['find'](_0x243fb2=>_0x243fb2 instanceof _ActivityBlock&&_0x243fb2['activityType']===_0x5f44e8)||(this['$']['*currentActivity']=null,this['modalManager']?.['closeAll']());}get['activityKey'](){return this['ctxName']+this['activityType'];}get['activityParams'](){return this['$']['*currentActivityParams'];}get['initActivity'](){return this['getCssData']('--cfg-init-activity');}get['doneActivity'](){return this['getCssData']('--cfg-done-activity');}['historyBack'](){const _0x464bb0=this['$']['*history'];if(_0x464bb0){let _0x38c55c=_0x464bb0['pop']();for(;_0x38c55c===this['activityType'];)_0x38c55c=_0x464bb0['pop']();let _0x4f7cf7=!!_0x38c55c;if(_0x38c55c){const _0x57d64c=[...this['blocksRegistry']]['find'](_0x1953d1=>_0x1953d1['activityType']===_0x38c55c);_0x4f7cf7=_0x57d64c?.['couldOpenActivity']??!0x1;}_0x38c55c=_0x4f7cf7?_0x38c55c:void 0x0,_0x38c55c&&this['modalManager']?.['open'](_0x38c55c),this['$']['*currentActivity']=_0x38c55c,this['$']['*history']=_0x464bb0,_0x38c55c||this['modalManager']?.['closeAll']();}}};function _0x83c64d(_0x2ad22f){for(const _0x124813 in _0x2ad22f){let _0x18660f=[..._0x124813]['reduce']((_0x1334c5,_0x1f0e76)=>(_0x1f0e76['toUpperCase']()===_0x1f0e76&&(_0x1f0e76='-'+_0x1f0e76['toLowerCase']()),_0x1334c5+=_0x1f0e76),'');_0x18660f['startsWith']('-')&&(_0x18660f=_0x18660f['replace']('-','')),_0x18660f['startsWith']('uc-')||(_0x18660f='uc-'+_0x18660f),_0x2ad22f[_0x124813]['reg']&&_0x2ad22f[_0x124813]['reg'](_0x18660f);}}_0x5bae2a['activities']=Object['freeze']({'START_FROM':'start-from','CAMERA':'camera','DRAW':'draw','UPLOAD_LIST':'upload-list','URL':'url','CLOUD_IMG_EDIT':'cloud-image-edit','EXTERNAL':'external'});var _0x5af8a0='UC',_0x3b1431=class extends _0x203425{static ['styleAttrs']=['uc-wgt-common'];['requireCtxName']=!0x0;['init$']=(e=>({..._0x50a212(e),'*solution':null}))(this);static ['_template']='';['initCallback'](){super['initCallback'](),this['a11y']?.['registerBlock'](this);}static set['template'](_0x57871e){this['_template']='<svg\x20width=\x270\x27\x20height=\x270\x27\x20style=\x27position:absolute\x27><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-about\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.152\x2014.12v.1h1.523v-.1c.007-.409.053-.752.138-1.028.086-.277.22-.517.405-.72.188-.202.434-.397.735-.586.32-.191.593-.412.82-.66.232-.249.41-.531.533-.847.125-.32.187-.678.187-1.076\x200-.579-.137-1.085-.41-1.518a2.717\x202.717\x200\x200\x200-1.14-1.018c-.49-.245-1.062-.367-1.715-.367-.597\x200-1.142.114-1.636.34-.49.228-.884.564-1.182\x201.008-.299.44-.46.98-.485\x201.619h1.62c.024-.377.118-.684.282-.922a1.48\x201.48\x200\x200\x201\x20.617-.532c.25-.114.51-.17.784-.17.301\x200\x20.575.063.82.191.248.124.447.302.597.533.149.23.223.504.223.82\x200\x20.263-.05.502-.149.72a1.91\x201.91\x200\x200\x201-.405.574\x203.48\x203.48\x200\x200\x201-.575.453\x204.22\x204.22\x200\x200\x200-.847.66c-.234.242-.415.558-.543.949-.125.39-.19.916-.197\x201.577Zm.053\x203.03c.21.206.46.31.75.31.196\x200\x20.374-.049.534-.144a1.1\x201.1\x200\x200\x200\x20.383-.384c.1-.163.15-.343.15-.538a1\x201\x200\x200\x200-.32-.746\x201.019\x201.019\x200\x200\x200-.746-.314c-.291\x200-.542.105-.751.314-.21.206-.314.455-.314.746\x200\x20.295.104.547.314.756ZM24\x2012c0\x206.627-5.373\x2012-12\x2012S0\x2018.627\x200\x2012\x205.373\x200\x2012\x200s12\x205.373\x2012\x2012Zm-1.5\x200c0\x205.799-4.701\x2010.5-10.5\x2010.5S1.5\x2017.799\x201.5\x2012\x206.201\x201.5\x2012\x201.5\x2022.5\x206.201\x2022.5\x2012Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-add\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M12.75\x2021a.75.75\x200\x200\x201-1.5\x200v-8.25H3a.75.75\x200\x200\x201\x200-1.5h8.25V3a.75.75\x200\x200\x201\x201.5\x200v8.25H21a.75.75\x200\x200\x201\x200\x201.5h-8.25V21Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-arrow-down\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.5\x2023.03a.75.75\x200\x200\x200\x20.999\x200l9.29-8.276a.75.75\x200\x200\x200-.998-1.12l-8.042\x207.164V1.53a.75.75\x200\x200\x200-1.5\x200v19.267l-8.04-7.163a.75.75\x200\x200\x200-.998\x201.12z\x27/></symbol><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x209\x206\x27\x20id=\x27uc-icon-arrow-dropdown\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke=\x27currentColor\x27\x20d=\x27m1.5\x201.667\x203\x202.666\x203-2.666\x27\x20opacity=\x27.5\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-aspect-ratio\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke=\x27currentColor\x27\x20d=\x27M7.395\x2022.5H2.454v-5.25m14.824\x205.25h4.94v-5.25m0-10.5V1.5h-4.94m-9.883\x200H2.454v5.25\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-back\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M20.251\x2012a.75.75\x200\x200\x201-.75.75H6.067l5.72\x205.85a.75.75\x200\x201\x201-1.072\x201.05L4.136\x2012.92a1.292\x201.292\x200\x200\x201\x200-1.842l6.579-6.728a.75.75\x200\x201\x201\x201.072\x201.048l-5.72\x205.851H19.5a.75.75\x200\x200\x201\x20.75.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-badge-error\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M13.6\x2018.4a1.6\x201.6\x200\x201\x201-3.2\x200\x201.6\x201.6\x200\x200\x201\x203.2\x200zM12\x204.5A1.5\x201.5\x200\x200\x201\x2013.5\x206v7a1.5\x201.5\x200\x200\x201-3\x200V6A1.5\x201.5\x200\x200\x201\x2012\x204.5z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-badge-success\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27m10.5\x2018.204\x207.6-8.183a1.5\x201.5\x200\x200\x200-2.2-2.042l-5.4\x205.817-2.4-2.586a1.5\x201.5\x200\x201\x200-2.2\x202.041l4.6\x204.953Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-box\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M1.01\x204.148a.75.75\x200\x200\x201\x20.75.75v4.348a4.437\x204.437\x200\x200\x201\x202.988-1.153c1.734\x200\x203.23.992\x203.978\x202.438a4.478\x204.478\x200\x200\x201\x203.978-2.438c2.49\x200\x204.488\x202.044\x204.488\x204.543\x200\x202.5-1.999\x204.544-4.488\x204.544a4.478\x204.478\x200\x200\x201-3.978-2.438\x204.478\x204.478\x200\x200\x201-3.978\x202.438C2.26\x2017.18.26\x2015.135.26\x2012.636V4.898a.75.75\x200\x200\x201\x20.75-.75Zm.75\x208.488c0\x201.692\x201.348\x203.044\x202.988\x203.044s2.989-1.352\x202.989-3.044c0-1.691-1.349-3.043-2.989-3.043S1.76\x2010.945\x201.76\x2012.636Zm10.944-3.043c-1.64\x200-2.988\x201.352-2.988\x203.043\x200\x201.692\x201.348\x203.044\x202.988\x203.044s2.988-1.352\x202.988-3.044c0-1.69-1.348-3.043-2.988-3.043Zm4.328-1.23a.75.75\x200\x200\x201\x201.052.128l2.333\x202.983\x202.333-2.983a.75.75\x200\x200\x201\x201.181.924l-2.562\x203.277\x202.562\x203.276a.75.75\x200\x201\x201-1.181.924l-2.333-2.983-2.333\x202.983a.75.75\x200\x201\x201-1.181-.924l2.562-3.276-2.562-3.277a.75.75\x200\x200\x201\x20.129-1.052Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-camera\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M7.65\x202.55a.75.75\x200\x200\x201\x20.6-.3h7.5a.75.75\x200\x200\x201\x20.6.3l2.025\x202.7H21a3\x203\x200\x200\x201\x203\x203v10.5a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3V8.25a3\x203\x200\x200\x201\x203-3h2.625zm.975\x201.2L6.6\x206.45a.75.75\x200\x200\x201-.6.3H3a1.5\x201.5\x200\x200\x200-1.5\x201.5v10.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h18a1.5\x201.5\x200\x200\x200\x201.5-1.5V8.25a1.5\x201.5\x200\x200\x200-1.5-1.5h-3a.75.75\x200\x200\x201-.6-.3l-2.025-2.7zm3.375\x206a3.375\x203.375\x200\x201\x200\x200\x206.75\x203.375\x203.375\x200\x200\x200\x200-6.75zm-4.875\x203.375a4.875\x204.875\x200\x201\x201\x209.75\x200\x204.875\x204.875\x200\x200\x201-9.75\x200z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-camera-full\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M2\x204.667a2\x202\x200\x200\x200-2\x202V16a2\x202\x200\x200\x200\x202\x202h16a2\x202\x200\x200\x200\x202-2V6.667a2\x202\x200\x200\x200-2-2h-2.667l-2-2.667H6.667l-2\x202.667H2Zm8\x2010a3.667\x203.667\x200\x201\x200\x200-7.334\x203.667\x203.667\x200\x200\x200\x200\x207.334Z\x27\x20fill=\x27currentColor\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-close\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M4.604\x204.604a.75.75\x200\x200\x201\x201.06\x200L12\x2010.939l6.335-6.335a.75.75\x200\x201\x201\x201.061\x201.06L13.061\x2012l6.335\x206.335a.75.75\x200\x201\x201-1.06\x201.061L12\x2013.061l-6.335\x206.335a.75.75\x200\x200\x201-1.061-1.06L10.939\x2012\x204.604\x205.665a.75.75\x200\x200\x201\x200-1.061z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-collapse\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M3.116\x2012a.75.75\x200\x200\x201\x20.75-.75h16.268a.75.75\x200\x200\x201\x200\x201.5H3.866a.75.75\x200\x200\x201-.75-.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-default\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.501.392a.75.75\x200\x200\x201\x20.998\x200l6.704\x205.972a.75.75\x200\x200\x201-.998\x201.12l-5.455-4.86v13.439a.75.75\x200\x200\x201-1.5\x200V2.625l-5.454\x204.86a.75.75\x200\x201\x201-.998-1.12zM.857\x2016.73a.75.75\x200\x200\x201\x20.75.75v4.914h20.786v-4.914a.75.75\x200\x200\x201\x201.5\x200v5.664a.75.75\x200\x200\x201-.75.75H.857a.75.75\x200\x200\x201-.75-.75v-5.664a.75.75\x200\x200\x201\x20.75-.75z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-dropbox\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M6.019\x201.92a.75.75\x200\x200\x201\x20.806\x200L12\x205.219l5.176-3.297a.75.75\x200\x200\x201\x20.806\x200l5.577\x203.553a.75.75\x200\x200\x201\x200\x201.265l-4.574\x202.914\x204.574\x202.914a.75.75\x200\x200\x201\x200\x201.265l-5.577\x203.554a.75.75\x200\x200\x201-.806\x200L12\x2014.089l-5.175\x203.297a.75.75\x200\x200\x201-.806\x200L.44\x2013.833a.75.75\x200\x200\x201\x200-1.266l4.575-2.914L.44\x206.74a.75.75\x200\x200\x201\x200-1.265zm.403\x208.616L2.24\x2013.2l4.182\x202.664\x204.181-2.664zm6.975\x202.664\x204.182\x202.664L21.76\x2013.2l-4.181-2.664zm2.776-3.547L12\x2012.311\x207.828\x209.653\x2012\x206.995zm1.406-.882\x204.181-2.664-4.181-2.664-4.182\x202.664zm-6.976-2.664L6.422\x203.443\x202.24\x206.107\x206.422\x208.77zM5.791\x2018.544a.75.75\x200\x200\x201\x201.035-.23l5.175\x203.297\x205.175-3.297a.75.75\x200\x201\x201\x20.806\x201.265l-5.578\x203.554a.75.75\x200\x200\x201-.806\x200L6.02\x2019.579a.75.75\x200\x200\x201-.23-1.035z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-edit-file\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M18.558\x202.804a.78.78\x200\x200\x200-.557.235l-.008.007-2.472\x202.46\x203.847\x203.848\x202.46-2.473.004-.003a.78.78\x200\x200\x200\x200-1.108l-.004-.003-2.712-2.728a.78.78\x200\x200\x200-.558-.235Zm-.248\x207.613-3.852-3.852-8.93\x208.887-1.516\x205.41\x205.41-1.515\x208.888-8.93Zm-.636-8.934a2.28\x202.28\x200\x200\x201\x202.512.505l2.702\x202.717.002.002a2.278\x202.278\x200\x200\x201\x200\x203.234l-.002.002-12.541\x2012.602a.75.75\x200\x200\x201-.33.193l-6.884\x201.928a.75.75\x200\x200\x201-.925-.924l1.928-6.885a.75.75\x200\x200\x201\x20.193-.33l12.603-12.54a2.28\x202.28\x200\x200\x201\x20.742-.504Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-error\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M13\x2013h-2V7h2m0\x2010h-2v-2h2M12\x202A10\x2010\x200\x200\x200\x202\x2012a10\x2010\x200\x200\x200\x2010\x2010\x2010\x2010\x200\x200\x200\x2010-10A10\x2010\x200\x200\x200\x2012\x202Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-evernote\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M9.804\x202.27v-.048c.055-.263.313-.562.85-.562h.44c.142\x200\x20.325.014.526.033.066.009.124.023.267.06l.13.032h.002c.319.079.515.275.644.482a1.461\x201.461\x200\x200\x201\x20.16.356l.004.012a.75.75\x200\x200\x200\x20.603.577l1.191.207a1988.512\x201988.512\x200\x200\x200\x202.332.402c.512.083\x201.1.178\x201.665.442.64.3\x201.19.795\x201.376\x201.77.548\x202.931.657\x205.829.621\x208a39.233\x2039.233\x200\x200\x201-.125\x202.602\x2017.518\x2017.518\x200\x200\x201-.092.849.735.735\x200\x200\x200-.024.112c-.378\x202.705-1.269\x203.796-2.04\x204.27-.746.457-1.53.451-2.217.447h-.192c-.46\x200-1.073-.23-1.581-.635-.518-.412-.763-.87-.763-1.217\x200-.45.188-.688.355-.786.161-.095.436-.137.796.087a.75.75\x200\x201\x200\x20.792-1.274c-.766-.476-1.64-.52-2.345-.108-.7.409-1.098\x201.188-1.098\x202.08\x200\x20.996.634\x201.84\x201.329\x202.392.704.56\x201.638.96\x202.515.96l.185.002c.667.009\x201.874.025\x203.007-.67\x201.283-.786\x202.314-2.358\x202.733-5.276a4.213\x204.213\x200\x200\x200\x20.056-.335c.023-.184.051-.445.079-.772.055-.655.111-1.585.13-2.704.037-2.234-.074-5.239-.647-8.301v-.002c-.294-1.544-1.233-2.391-2.215-2.85-.777-.363-1.623-.496-2.129-.576a8.872\x208.872\x200\x200\x201-.25-.041l-.006-.001-1.99-.345-.761-.132a2.93\x202.93\x200\x200\x200-.182-.338A2.532\x202.532\x200\x200\x200\x2012.379.329l-.091-.023a3.967\x203.967\x200\x200\x200-.493-.103L11.769.2a7.846\x207.846\x200\x200\x200-.675-.04h-.44c-.733\x200-1.368.284-1.795.742L2.416\x207.431c-.468.428-.751\x201.071-.751\x201.81\x200\x20.02\x200\x20.041.003.062l.003.034c.017.21.038.468.096.796.107.715.275\x201.47.391\x201.994.029.13.055.245.075.342l.002.008c.258\x201.141.641\x201.94.978\x202.466.168.263.323.456.444.589a2.808\x202.808\x200\x200\x200\x20.192.194c1.536\x201.562\x203.713\x202.196\x205.731\x202.08.13-.005.35-.032.537-.073a2.627\x202.627\x200\x200\x200\x20.652-.24c.425-.26.75-.661.992-1.046.184-.294.342-.61.473-.915a3.8\x203.8\x200\x200\x200\x20.627.493\x205.022\x205.022\x200\x200\x200\x201.97.709l.023.002.018.003.11.016c.088.014.205.035.325.058l.056.014c.088.022.164.04.235.061a1.736\x201.736\x200\x200\x201\x20.145.048l.03.014c.765.34\x201.302\x201.09\x201.302\x201.871a.75.75\x200\x200\x200\x201.5\x200c0-1.456-.964-2.69-2.18-3.235a3.595\x203.595\x200\x200\x200-.679-.217l-.063-.015a10.616\x2010.616\x200\x200\x200-.606-.105l-.02-.003-.03-.003h-.002a3.542\x203.542\x200\x200\x201-1.331-.485c-.471-.298-.788-.692-.828-1.234a.75.75\x200\x200\x200-1.48-.106l-.001.003-.004.017a8.23\x208.23\x200\x200\x201-.092.352\x209.963\x209.963\x200\x200\x201-.298.892c-.132.34-.29.68-.47.966-.174.276-.339.454-.478.549a1.178\x201.178\x200\x200\x201-.221.072\x201.949\x201.949\x200\x200\x201-.241.036h-.013l-.032.002c-1.684.1-3.423-.437-4.604-1.65a.746.746\x200\x200\x200-.053-.05L4.84\x2014.6a1.348\x201.348\x200\x200\x201-.07-.073\x202.99\x202.99\x200\x200\x201-.293-.392c-.242-.379-.558-1.014-.778-1.985a54.1\x2054.1\x200\x200\x200-.083-.376\x2027.494\x2027.494\x200\x200\x201-.367-1.872l-.003-.02a6.791\x206.791\x200\x200\x201-.08-.67c.004-.277.086-.475.2-.609l.067-.067a.63.63\x200\x200\x201\x20.292-.145h.05c.18\x200\x201.095.055\x202.013.115l1.207.08.534.037a.747.747\x200\x200\x200\x20.052.002c.782\x200\x201.349-.206\x201.759-.585l.005-.005c.553-.52.622-1.225.622-1.76V6.24l-.026-.565A774.97\x20774.97\x200\x200\x201\x209.885\x204.4c-.042-.961-.081-1.939-.081-2.13ZM4.995\x206.953a251.126\x20251.126\x200\x200\x201\x202.102.137l.508.035c.48-.004.646-.122.715-.185.07-.068.146-.209.147-.649l-.024-.548a791.69\x20791.69\x200\x200\x201-.095-2.187L4.995\x206.953Zm16.122\x209.996Zm-5.479-5.323a.75.75\x200\x200\x200\x201.014.31\x202.04\x202.04\x200\x200\x201\x20.304-.089\x201.84\x201.84\x200\x200\x201\x20.544-.039c.215.023.321.06.37.085.033.016.039.026.047.04a.75.75\x200\x200\x200\x201.289-.767c-.337-.567-.906-.783-1.552-.85a3.334\x203.334\x200\x200\x200-1.002.062c-.27.056-.531.14-.705.234a.75.75\x200\x200\x200-.31\x201.014Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-expand\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27m12\x208.337-8.47\x208.47a.75.75\x200\x200\x201-1.06-1.06l8.605-8.606a1.29\x201.29\x200\x200\x201\x201.85\x200l8.605\x208.605a.75.75\x200\x201\x201-1.06\x201.06L12\x208.338Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-external-source-placeholder\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M6.341\x203.27a10.5\x2010.5\x200\x200\x201\x205.834-1.77.75.75\x200\x200\x200\x200-1.5\x2012\x2012\x200\x201\x200\x2012\x2012\x20.75.75\x200\x200\x200-1.5\x200A10.5\x2010.5\x200\x201\x201\x206.34\x203.27Zm14.145\x201.48a.75.75\x200\x201\x200-1.06-1.062L9.925\x2013.19V7.95a.75.75\x200\x201\x200-1.5\x200V15c0\x20.414.336.75.75.75h7.05a.75.75\x200\x200\x200\x200-1.5h-5.24l9.501-9.5Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-facebook\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M12\x201.5C6.201\x201.5\x201.5\x206.201\x201.5\x2012c0\x204.943\x203.416\x209.089\x208.016\x2010.204v-6.108H7.383a.75.75\x200\x200\x201-.75-.75v-3.281a.75.75\x200\x200\x201\x20.75-.75h2.133V9.393c0-.958.225-2.511\x201.38-3.65\x201.194-1.177\x203.174-1.718\x206.254-1.056a.75.75\x200\x200\x201\x20.592.733v2.754a.75.75\x200\x200\x201-.75.75c-.692\x200-1.203.026-1.584.082-.387.057-.578.137-.675.202-.109.073-.237.205-.237\x201.029v1.078h2.39a.75.75\x200\x200\x201\x20.742.866l-.516\x203.281a.75.75\x200\x200\x201-.74.634h-1.876v6.106C19.09\x2021.082\x2022.5\x2016.939\x2022.5\x2012c0-5.799-4.701-10.5-10.5-10.5zM0\x2012C0\x205.373\x205.373\x200\x2012\x200s12\x205.373\x2012\x2012c0\x205.995-4.395\x2010.961-10.138\x2011.856a.75.75\x200\x200\x201-.866-.74v-7.77a.75.75\x200\x200\x201\x20.75-.75h1.984l.28-1.781h-2.264a.75.75\x200\x200\x201-.75-.75v-1.828c0-.829.089-1.729.9-2.274.363-.244.807-.37\x201.293-.441a9.623\x209.623\x200\x200\x201\x201.053-.086V6.04c-2.41-.405-3.645.132-4.293.771-.737.728-.933\x201.793-.933\x202.582v2.672a.75.75\x200\x200\x201-.75.75H8.133v1.78h2.133a.75.75\x200\x200\x201\x20.75.75v7.772a.75.75\x200\x200\x201-.865.741C4.4\x2022.968\x200\x2018\x200\x2012z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-file\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M2.895\x201.201c0-.473.383-.857.857-.857h8.4c.227\x200\x20.445.09.606.251l8.4\x208.4c.16.16.25.379.25.606v13.2a.857.857\x200\x200\x201-.856.857h-16.8a.857.857\x200\x200\x201-.857-.857zm1.714.857v19.886h15.085V10.458h-7.542a.857.857\x200\x200\x201-.858-.857V2.058zm8.4\x201.213\x205.473\x205.473H13.01z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-flickr\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M5.959\x207.926c-2.298\x200-4.14\x201.834-4.14\x204.073\x200\x202.241\x201.842\x204.075\x204.14\x204.075\x202.302\x200\x204.145-1.834\x204.145-4.075\x200-2.238-1.843-4.073-4.145-4.073Zm-5.64\x204.073c0-3.086\x202.533-5.573\x205.64-5.573\x203.11\x200\x205.645\x202.486\x205.645\x205.573\x200\x203.089-2.535\x205.575-5.645\x205.575-3.107\x200-5.64-2.487-5.64-5.575Zm18.07-4.073c-2.301\x200-4.144\x201.835-4.144\x204.073\x200\x202.24\x201.843\x204.075\x204.145\x204.075\x202.299\x200\x204.141-1.834\x204.141-4.075\x200-2.239-1.842-4.073-4.141-4.073Zm-5.644\x204.073c0-3.087\x202.535-5.573\x205.645-5.573\x203.108\x200\x205.641\x202.487\x205.641\x205.573\x200\x203.088-2.533\x205.575-5.641\x205.575-3.11\x200-5.645-2.486-5.645-5.575Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-gdrive\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M7.736\x201.818a.75.75\x200\x200\x201\x20.647-.37h7.587a.75.75\x200\x200\x201\x20.655.383l7.233\x2012.946a.75.75\x200\x200\x201-.003.737l-3.794\x206.66a.75.75\x200\x200\x201-.651.378H4.59a.75.75\x200\x200\x201-.651-.378l-3.794-6.66a.75.75\x200\x200\x201\x20.005-.75zm.64\x201.876L1.663\x2015.148l2.93\x205.145\x206.655-11.581zm3.736\x206.526-2.398\x204.173H14.5zm4.116\x204.173h5.697L15.53\x202.947H9.677zm5.685\x201.5H8.852l-2.966\x205.16h13.088z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-gphotos\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M12.51\x200c-.702\x200-1.272.57-1.272\x201.273V7.35A6.381\x206.381\x200\x200\x200\x200\x2011.489c0\x20.703.57\x201.273\x201.273\x201.273H7.35A6.381\x206.381\x200\x200\x200\x2011.488\x2024c.704\x200\x201.274-.57\x201.274-1.273V16.65A6.381\x206.381\x200\x200\x200\x2024\x2012.51c0-.703-.57-1.273-1.273-1.273H16.65A6.381\x206.381\x200\x200\x200\x2012.511\x200Zm.252\x2011.232V1.53a4.857\x204.857\x200\x200\x201\x200\x209.702Zm-1.53.006H1.53a4.857\x204.857\x200\x200\x201\x209.702\x200Zm1.536\x201.524a4.857\x204.857\x200\x200\x200\x209.702\x200h-9.702Zm-6.136\x204.857c0-2.598\x202.04-4.72\x204.606-4.85v9.7a4.857\x204.857\x200\x200\x201-4.606-4.85Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-huddle\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M6.204\x202.002c-.252.23-.357.486-.357.67V21.07c0\x20.15.084.505.313.812.208.28.499.477.929.477.519\x200\x20.796-.174.956-.365.178-.212.286-.535.286-.924v-.013l.117-6.58c.004-1.725\x201.419-3.883\x203.867-3.883\x201.33\x200\x202.332.581\x202.987\x201.364.637.762.95\x201.717.95\x202.526v6.47c0\x20.392.11.751.305.995.175.22.468.41\x201.008.41.52\x200\x20.816-.198\x201.002-.437.207-.266.31-.633.31-.969V14.04c0-2.81-1.943-5.108-4.136-5.422a5.971\x205.971\x200\x200\x200-3.183.41c-.912.393-1.538.96-1.81\x201.489a.75.75\x200\x200\x201-1.417-.344v-7.5c0-.587-.47-1.031-1.242-1.031-.315\x200-.638.136-.885.36ZM5.194.892A2.844\x202.844\x200\x200\x201\x207.09.142c1.328\x200\x202.742.867\x202.742\x202.53v5.607a6.358\x206.358\x200\x200\x201\x201.133-.629\x207.47\x207.47\x200\x200\x201\x203.989-.516c3.056.436\x205.425\x203.482\x205.425\x206.906v6.914c0\x20.602-.177\x201.313-.627\x201.89-.47.605-1.204\x201.016-2.186\x201.016-.96\x200-1.698-.37-2.179-.973-.46-.575-.633-1.294-.633-1.933v-6.469c0-.456-.19-1.071-.602-1.563-.394-.471-.986-.827-1.836-.827-1.447\x200-2.367\x201.304-2.367\x202.39v.014l-.117\x206.58c-.001.64-.177\x201.333-.637\x201.881-.48.57-1.2.9-2.105.9-.995\x200-1.7-.5-2.132-1.081-.41-.552-.61-1.217-.61-1.708V2.672c0-.707.366-1.341.847-1.78Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-info\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11\x209h2V7h-2m1\x2013c-4.41\x200-8-3.59-8-8s3.59-8\x208-8\x208\x203.59\x208\x208-3.59\x208-8\x208m0-18A10\x2010\x200\x200\x200\x202\x2012a10\x2010\x200\x200\x200\x2010\x2010\x2010\x2010\x200\x200\x200\x2010-10A10\x2010\x200\x200\x200\x2012\x202m-1\x2015h2v-6h-2v6Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-local\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M3\x203.75a1.5\x201.5\x200\x200\x200-1.5\x201.5v13.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h18a1.5\x201.5\x200\x200\x200\x201.5-1.5V9A1.5\x201.5\x200\x200\x200\x2021\x207.5h-9a.75.75\x200\x200\x201-.643-.364L9.325\x203.75zm-3\x201.5a3\x203\x200\x200\x201\x203-3h6.75a.75.75\x200\x200\x201\x20.643.364L12.425\x206H21a3\x203\x200\x200\x201\x203\x203v9.75a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-microphone\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M7.5\x204.781a4.5\x204.5\x200\x200\x201\x209\x200v6.469a4.5\x204.5\x200\x201\x201-9\x200V4.781Zm4.5-3a3\x203\x200\x200\x200-3\x203v6.469a3\x203\x200\x201\x200\x206\x200V4.781a3\x203\x200\x200\x200-3-3Zm-8.156\x208.11a.75.75\x200\x200\x201\x20.75.75\x207.406\x207.406\x200\x201\x200\x2014.812\x200\x20.75.75\x200\x200\x201\x201.5\x200\x208.907\x208.907\x200\x200\x201-8.156\x208.875v2.703h3.258a.75.75\x200\x201\x201\x200\x201.5H7.992a.75.75\x200\x200\x201\x200-1.5h3.258v-2.703a8.907\x208.907\x200\x200\x201-8.156-8.875.75.75\x200\x200\x201\x20.75-.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-microphone-mute\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M7.5\x204.781a4.5\x204.5\x200\x200\x201\x209\x200V6l3.524-3.524a.75.75\x200\x201\x201\x201.061\x201.06L5.036\x2019.585a.75.75\x200\x200\x201-1.06-1.06l1.656-1.657a8.88\x208.88\x200\x200\x201-2.538-6.227.75.75\x200\x200\x201\x201.5\x200c0\x202.009.8\x203.83\x202.1\x205.166l1.771-1.772A4.483\x204.483\x200\x200\x201\x207.5\x2011.25V4.781Zm2.037\x208.182L15\x207.5V4.781a3\x203\x200\x201\x200-6\x200v6.469c0\x20.637.198\x201.227.537\x201.713Zm10.62-3.072a.75.75\x200\x200\x201\x20.75.75\x208.907\x208.907\x200\x200\x201-8.157\x208.875v2.703h3.258a.75.75\x200\x201\x201\x200\x201.5H7.992a.75.75\x200\x200\x201\x200-1.5h3.258v-2.703a8.855\x208.855\x200\x200\x201-3.035-.811.75.75\x200\x201\x201\x20.638-1.358\x207.406\x207.406\x200\x200\x200\x2010.553-6.707.75.75\x200\x200\x201\x20.75-.75ZM15\x2010.81a.75.75\x200\x200\x201\x201.5\x200v.439a4.5\x204.5\x200\x200\x201-5\x204.473.75.75\x200\x201\x201\x20.166-1.491A3\x203\x200\x200\x200\x2015\x2011.25v-.44Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-mobile-photo-camera\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M7.65\x202.55a.75.75\x200\x200\x201\x20.6-.3h7.5a.75.75\x200\x200\x201\x20.6.3l2.025\x202.7H21a3\x203\x200\x200\x201\x203\x203v10.5a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3V8.25a3\x203\x200\x200\x201\x203-3h2.625zm.975\x201.2L6.6\x206.45a.75.75\x200\x200\x201-.6.3H3a1.5\x201.5\x200\x200\x200-1.5\x201.5v10.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h18a1.5\x201.5\x200\x200\x200\x201.5-1.5V8.25a1.5\x201.5\x200\x200\x200-1.5-1.5h-3a.75.75\x200\x200\x201-.6-.3l-2.025-2.7zm3.375\x206a3.375\x203.375\x200\x201\x200\x200\x206.75\x203.375\x203.375\x200\x200\x200\x200-6.75zm-4.875\x203.375a4.875\x204.875\x200\x201\x201\x209.75\x200\x204.875\x204.875\x200\x200\x201-9.75\x200z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-mobile-video-camera\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M0\x206.75a3\x203\x200\x200\x201\x203-3h12a3\x203\x200\x200\x201\x203\x203v1.078L22.873\x205A.75.75\x200\x200\x201\x2024\x205.648v12.704a.75.75\x200\x200\x201-1.123.65L18\x2016.207v1.043a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3V6.75Zm18\x207.728\x204.5\x202.58V6.95L18\x209.562v4.916ZM16.5\x206.75a1.5\x201.5\x200\x200\x200-1.5-1.5H3a1.5\x201.5\x200\x200\x200-1.5\x201.5v10.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h12a1.5\x201.5\x200\x200\x200\x201.5-1.5V6.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-ngdrive\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M7.736\x201.818a.75.75\x200\x200\x201\x20.647-.37h7.587a.75.75\x200\x200\x201\x20.655.383l7.233\x2012.946a.75.75\x200\x200\x201-.003.737l-3.794\x206.66a.75.75\x200\x200\x201-.651.378H4.59a.75.75\x200\x200\x201-.651-.378l-3.794-6.66a.75.75\x200\x200\x201\x20.005-.75zm.64\x201.876L1.663\x2015.148l2.93\x205.145\x206.655-11.581zm3.736\x206.526-2.398\x204.173H14.5zm4.116\x204.173h5.697L15.53\x202.947H9.677zm5.685\x201.5H8.852l-2.966\x205.16h13.088z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-onedrive\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M13.616\x204.147a7.689\x207.689\x200\x200\x200-7.642\x203.285A6.299\x206.299\x200\x200\x200\x201.455\x2017.3c.684.894\x202.473\x202.658\x205.17\x202.658h12.141c.95\x200\x201.882-.256\x202.697-.743.815-.486\x201.514-1.247\x201.964-2.083a5.26\x205.26\x200\x200\x200-3.713-7.612\x207.69\x207.69\x200\x200\x200-6.098-5.373ZM3.34\x2017.15c.674.63\x201.761\x201.308\x203.284\x201.308h12.142a3.76\x203.76\x200\x200\x200\x202.915-1.383l-7.494-4.489L3.34\x2017.15Zm10.875-6.25\x202.47-1.038a5.239\x205.239\x200\x200\x201\x201.427-.389\x206.19\x206.19\x200\x200\x200-10.3-1.952\x206.338\x206.338\x200\x200\x201\x202.118.813l4.285\x202.567Zm4.55.033c-.512\x200-1.019.104-1.489.307l-.006.003-1.414.594\x206.521\x203.906a3.76\x203.76\x200\x200\x200-3.357-4.8l-.254-.01ZM4.097\x209.617A4.799\x204.799\x200\x200\x201\x206.558\x208.9c.9\x200\x201.84.25\x202.587.713l3.4\x202.037-10.17\x204.28a4.799\x204.799\x200\x200\x201\x201.721-6.312Z\x27/></symbol><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x2010\x2010\x27\x20id=\x27uc-icon-pause\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20d=\x27M1\x200h2.5v10H1zM6.5\x200H9v10H6.5z\x27/></symbol><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x2010\x2010\x27\x20id=\x27uc-icon-play\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20d=\x27m1\x200\x209\x205-9\x205V0Z\x27\x20fill=\x27currentColor\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-remove-file\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.955\x203.3A2.969\x202.969\x200\x200\x200\x208.998\x206h5.914a2.97\x202.97\x200\x200\x200-2.957-2.7zM16.416\x206a4.47\x204.47\x200\x200\x200-8.922\x200h-2.32a.755.755\x200\x200\x200-.111.008H3.075a.75.75\x200\x201\x200\x200\x201.5h1.35V19.35a2.85\x202.85\x200\x200\x200\x202.85\x202.85h9.45a2.85\x202.85\x200\x200\x200\x202.85-2.85V7.508h1.35a.75.75\x200\x200\x200\x200-1.5h-1.989A.754.754\x200\x200\x200\x2018.825\x206zM5.925\x207.508V19.35a1.35\x201.35\x200\x200\x200\x201.35\x201.35h9.45a1.35\x201.35\x200\x200\x200\x201.35-1.35V7.508z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-select\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27m7\x2010\x205\x205\x205-5H7Z\x27/></symbol><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-square\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><rect\x20width=\x2720\x27\x20height=\x2720\x27\x20rx=\x274\x27\x20fill=\x27#fff\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-upload\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M11.501.392a.75.75\x200\x200\x201\x20.998\x200l6.704\x205.972a.75.75\x200\x200\x201-.998\x201.12l-5.455-4.86v13.439a.75.75\x200\x200\x201-1.5\x200V2.625l-5.454\x204.86a.75.75\x200\x201\x201-.998-1.12zM.857\x2016.73a.75.75\x200\x200\x201\x20.75.75v4.914h20.786v-4.914a.75.75\x200\x200\x201\x201.5\x200v5.664a.75.75\x200\x200\x201-.75.75H.857a.75.75\x200\x200\x201-.75-.75v-5.664a.75.75\x200\x200\x201\x20.75-.75z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-upload-error\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M13\x2013h-2V7h2m0\x2010h-2v-2h2M12\x202A10\x2010\x200\x200\x200\x202\x2012a10\x2010\x200\x200\x200\x2010\x2010\x2010\x2010\x200\x200\x200\x2010-10A10\x2010\x200\x200\x200\x2012\x202Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-url\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M19.11\x203.67c-1.71-1.709-4.578-1.682-6.408.148l-2.22\x202.22a.75.75\x200\x200\x201-1.062-1.06l2.222-2.221C14.018.381\x2017.836.276\x2020.17\x202.61l1.22\x201.22c2.335\x202.334\x202.23\x206.153-.147\x208.529l-2.22\x202.22a.75.75\x200\x200\x201-1.062-1.06l2.222-2.221c1.83-1.83\x201.856-4.698.147-6.408zm-3.36\x204.58a.75.75\x200\x200\x201\x200\x201.06l-6.439\x206.44a.75.75\x200\x200\x201-1.06-1.06l6.439-6.44a.75.75\x200\x200\x201\x201.06\x200zM6.04\x209.42a.75.75\x200\x200\x201\x200\x201.061l-2.222\x202.222c-1.83\x201.83-1.856\x204.698-.147\x206.407l1.22\x201.22c1.71\x201.71\x204.578\x201.683\x206.408-.147l2.221-2.221a.75.75\x200\x201\x201\x201.06\x201.06l-2.22\x202.222c-2.377\x202.376-6.195\x202.481-8.53.147l-1.22-1.22c-2.334-2.334-2.228-6.153.148-8.53l2.221-2.22a.75.75\x200\x200\x201\x201.06\x200z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-video-camera\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20clip-rule=\x27evenodd\x27\x20d=\x27M0\x206.75a3\x203\x200\x200\x201\x203-3h12a3\x203\x200\x200\x201\x203\x203v1.078L22.873\x205A.75.75\x200\x200\x201\x2024\x205.648v12.704a.75.75\x200\x200\x201-1.123.65L18\x2016.207v1.043a3\x203\x200\x200\x201-3\x203H3a3\x203\x200\x200\x201-3-3V6.75Zm18\x207.728\x204.5\x202.58V6.95L18\x209.562v4.916ZM16.5\x206.75a1.5\x201.5\x200\x200\x200-1.5-1.5H3a1.5\x201.5\x200\x200\x200-1.5\x201.5v10.5a1.5\x201.5\x200\x200\x200\x201.5\x201.5h12a1.5\x201.5\x200\x200\x200\x201.5-1.5V6.75Z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-video-camera-full\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20d=\x27M2\x203.333a2\x202\x200\x200\x200-2\x202v9.334a2\x202\x200\x200\x200\x202\x202h10.938a2\x202\x200\x200\x200\x202-2v-2.013L20\x2015.646V4.354l-5.063\x203.03v-2.05a2\x202\x200\x200\x200-2-2H2Z\x27\x20fill=\x27currentColor\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-vk\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill=\x27currentColor\x27\x20fill-rule=\x27evenodd\x27\x20d=\x27M6.341\x203.27a10.5\x2010.5\x200\x200\x201\x205.834-1.77.75.75\x200\x200\x200\x200-1.5\x2012\x2012\x200\x201\x200\x2012\x2012\x20.75.75\x200\x200\x200-1.5\x200A10.5\x2010.5\x200\x201\x201\x206.34\x203.27Zm14.145\x201.48a.75.75\x200\x201\x200-1.06-1.062L9.925\x2013.19V7.95a.75.75\x200\x201\x200-1.5\x200V15c0\x20.414.336.75.75.75h7.05a.75.75\x200\x200\x200\x200-1.5h-5.24l9.501-9.5Z\x27/></symbol></svg>'+_0x57871e+'<slot></slot>';}static get['template'](){return this['_template'];}},_0x26ca19=1.5,_0x2d6016=0x64/0x3;function _0x56fe9b(_0x55510a,_0x4ea08c){for(const [_0x4c5888,_0x5355b3]of Object['entries'](_0x4ea08c))_0x55510a['setAttributeNS'](null,_0x4c5888,_0x5355b3['toString']());}function _0x174045(_0x48ec7c,_0x3f12e3={}){const _0xc11e76=document['createElementNS']('http://www.w3.org/2000/svg',_0x48ec7c);return _0x56fe9b(_0xc11e76,_0x3f12e3),_0xc11e76;}function _0x29280d(_0x2529e4,_0x113299,_0x1b33f3){const {x:_0x5b277f,y:_0x5f2413,width:_0x3f8c35,height:_0x3e2841}=_0x2529e4,_0x235541=_0x113299['includes']('w')?0x0:0x1,_0x3455c5=_0x113299['includes']('n')?0x0:0x1,_0x5bc469=0x0===_0x235541?-0x1:0x1,_0x413b05=0x0===_0x3455c5?-0x1:0x1,_0x3c6bba=[_0x5b277f+_0x235541*_0x3f8c35+_0x26ca19*_0x5bc469,_0x5f2413+_0x3455c5*_0x3e2841+_0x26ca19*_0x413b05-0x18*_0x1b33f3*_0x413b05],_0x45099f=[_0x5b277f+_0x235541*_0x3f8c35+_0x26ca19*_0x5bc469,_0x5f2413+_0x3455c5*_0x3e2841+_0x26ca19*_0x413b05],_0x27d473=[_0x5b277f+_0x235541*_0x3f8c35-0x18*_0x1b33f3*_0x5bc469+_0x26ca19*_0x5bc469,_0x5f2413+_0x3455c5*_0x3e2841+_0x26ca19*_0x413b05];return{'d':'M\x20'+_0x3c6bba[0x0]+'\x20'+_0x3c6bba[0x1]+'\x20L\x20'+_0x45099f[0x0]+'\x20'+_0x45099f[0x1]+'\x20L\x20'+_0x27d473[0x0]+'\x20'+_0x27d473[0x1],'center':[_0x45099f[0x0],_0x45099f[0x1]]};}function _0x468c46(_0x5a6931,_0x447baf,_0x16a8fb){const {x:_0x613068,y:_0x41d416,width:_0xf55dcb,height:_0x2be63b}=_0x5a6931,_0x162f17='n'===_0x447baf||'s'===_0x447baf,_0x50a02a=_0x162f17?0.5:'w'===_0x447baf?0x0:0x1,_0x1ff771='w'===_0x447baf||'e'===_0x447baf?0.5:'n'===_0x447baf?0x0:0x1,_0x31fce4='w'===_0x447baf?-0x1:'e'===_0x447baf?0x1:0x0,_0x1c7996='n'===_0x447baf?-0x1:'s'===_0x447baf?0x1:0x0;let _0x2038e3,_0x7664fd;return _0x162f17?(_0x2038e3=[_0x613068+_0x50a02a*_0xf55dcb-0x22*_0x16a8fb/0x2,_0x41d416+_0x1ff771*_0x2be63b+_0x26ca19*_0x1c7996],_0x7664fd=[_0x613068+_0x50a02a*_0xf55dcb+0x22*_0x16a8fb/0x2,_0x41d416+_0x1ff771*_0x2be63b+_0x26ca19*_0x1c7996]):(_0x2038e3=[_0x613068+_0x50a02a*_0xf55dcb+_0x26ca19*_0x31fce4,_0x41d416+_0x1ff771*_0x2be63b-0x22*_0x16a8fb/0x2],_0x7664fd=[_0x613068+_0x50a02a*_0xf55dcb+_0x26ca19*_0x31fce4,_0x41d416+_0x1ff771*_0x2be63b+0x22*_0x16a8fb/0x2]),{'d':'M\x20'+_0x2038e3[0x0]+'\x20'+_0x2038e3[0x1]+'\x20L\x20'+_0x7664fd[0x0]+'\x20'+_0x7664fd[0x1],'center':[(_0x2038e3[0x0]+_0x7664fd[0x0])/0x2,(_0x2038e3[0x1]+_0x7664fd[0x1])/0x2]};}function _0x1f8de5(_0x44dc84,_0x343b8b){let {x:_0x1fe013}=_0x44dc84,{y:_0x3d4476}=_0x44dc84;return _0x44dc84['x']<_0x343b8b['x']?_0x1fe013=_0x343b8b['x']:_0x44dc84['x']+_0x44dc84['width']>_0x343b8b['x']+_0x343b8b['width']&&(_0x1fe013=_0x343b8b['x']+_0x343b8b['width']-_0x44dc84['width']),_0x44dc84['y']<_0x343b8b['y']?_0x3d4476=_0x343b8b['y']:_0x44dc84['y']+_0x44dc84['height']>_0x343b8b['y']+_0x343b8b['height']&&(_0x3d4476=_0x343b8b['y']+_0x343b8b['height']-_0x44dc84['height']),{..._0x44dc84,'x':_0x1fe013,'y':_0x3d4476};}function _0x472450({direction:_0x53eab3,..._0x1aedf7}){switch(_0x53eab3){case'n':return function({rect:_0x2d3b37,delta:_0x3d0033,aspectRatio:_0x16e1e9,imageBox:_0x5b9c94}){const [,_0x43c6be]=_0x3d0033;let {y:_0x3c2d6a,width:_0x34883d,height:_0x32e2d1}=_0x2d3b37;_0x3c2d6a+=_0x43c6be,_0x32e2d1-=_0x43c6be,_0x16e1e9&&(_0x34883d=_0x32e2d1*_0x16e1e9);let _0x2cbcc0=_0x2d3b37['x']+_0x2d3b37['width']/0x2-_0x34883d/0x2;return _0x3c2d6a<=_0x5b9c94['y']&&(_0x3c2d6a=_0x5b9c94['y'],_0x32e2d1=_0x2d3b37['y']+_0x2d3b37['height']-_0x3c2d6a,_0x16e1e9&&(_0x34883d=_0x32e2d1*_0x16e1e9,_0x2cbcc0=_0x2d3b37['x']+_0x2d3b37['width']/0x2-_0x34883d/0x2)),_0x2cbcc0<=_0x5b9c94['x']&&(_0x2cbcc0=_0x5b9c94['x'],_0x3c2d6a=_0x2d3b37['y']+_0x2d3b37['height']-_0x32e2d1),_0x2cbcc0+_0x34883d>=_0x5b9c94['x']+_0x5b9c94['width']&&(_0x2cbcc0=Math['max'](_0x5b9c94['x'],_0x5b9c94['x']+_0x5b9c94['width']-_0x34883d),_0x34883d=_0x5b9c94['x']+_0x5b9c94['width']-_0x2cbcc0,_0x16e1e9&&(_0x32e2d1=_0x34883d/_0x16e1e9),_0x3c2d6a=_0x2d3b37['y']+_0x2d3b37['height']-_0x32e2d1),_0x32e2d1<0x1&&(_0x32e2d1=0x1,_0x16e1e9&&(_0x34883d=_0x32e2d1*_0x16e1e9,_0x2cbcc0=_0x2d3b37['x']+_0x2d3b37['width']/0x2-_0x34883d/0x2),_0x3c2d6a=_0x2d3b37['y']+_0x2d3b37['height']-_0x32e2d1),_0x34883d<0x1&&(_0x34883d=0x1,_0x16e1e9&&(_0x32e2d1=_0x34883d/_0x16e1e9,_0x2cbcc0=_0x2d3b37['x']+_0x2d3b37['width']/0x2-_0x34883d/0x2),_0x3c2d6a=_0x2d3b37['y']+_0x2d3b37['height']-_0x32e2d1),{'x':_0x2cbcc0,'y':_0x3c2d6a,'width':_0x34883d,'height':_0x32e2d1};}(_0x1aedf7);case'w':return function({rect:_0x54242e,delta:_0x232d46,aspectRatio:_0x9df737,imageBox:_0x14c0c0}){const [_0x4a1ba5]=_0x232d46;let {x:_0x20a50a,width:_0x303428,height:_0xae0889}=_0x54242e;_0x20a50a+=_0x4a1ba5,_0x303428-=_0x4a1ba5,_0x9df737&&(_0xae0889=_0x303428/_0x9df737);let _0x5c0eab=_0x54242e['y']+_0x54242e['height']/0x2-_0xae0889/0x2;return _0x20a50a<=_0x14c0c0['x']&&(_0x20a50a=_0x14c0c0['x'],_0x303428=_0x54242e['x']+_0x54242e['width']-_0x20a50a,_0x9df737&&(_0xae0889=_0x303428/_0x9df737,_0x5c0eab=_0x54242e['y']+_0x54242e['height']/0x2-_0xae0889/0x2)),_0x5c0eab<=_0x14c0c0['y']&&(_0x5c0eab=_0x14c0c0['y'],_0x20a50a=_0x54242e['x']+_0x54242e['width']-_0x303428),_0x5c0eab+_0xae0889>=_0x14c0c0['y']+_0x14c0c0['height']&&(_0x5c0eab=Math['max'](_0x14c0c0['y'],_0x14c0c0['y']+_0x14c0c0['height']-_0xae0889),_0xae0889=_0x14c0c0['y']+_0x14c0c0['height']-_0x5c0eab,_0x9df737&&(_0x303428=_0xae0889*_0x9df737),_0x20a50a=_0x54242e['x']+_0x54242e['width']-_0x303428),_0xae0889<0x1&&(_0xae0889=0x1,_0x9df737&&(_0x303428=_0xae0889*_0x9df737),_0x5c0eab=_0x54242e['y']+_0x54242e['height']/0x2-_0xae0889/0x2,_0x20a50a=_0x54242e['x']+_0x54242e['width']-_0x303428),_0x303428<0x1&&(_0x303428=0x1,_0x9df737&&(_0xae0889=_0x303428/_0x9df737),_0x5c0eab=_0x54242e['y']+_0x54242e['height']/0x2-_0xae0889/0x2,_0x20a50a=_0x54242e['x']+_0x54242e['width']-_0x303428),{'x':_0x20a50a,'y':_0x5c0eab,'width':_0x303428,'height':_0xae0889};}(_0x1aedf7);case's':return function({rect:_0x435278,delta:_0x1e39f8,aspectRatio:_0x3bebd0,imageBox:_0x4c0d87}){const [,_0x3dd54a]=_0x1e39f8;let {y:_0x599e8c,width:_0x106818,height:_0x4c2647}=_0x435278;_0x4c2647+=_0x3dd54a,_0x3bebd0&&(_0x106818=_0x4c2647*_0x3bebd0);let _0x2e49e8=_0x435278['x']+_0x435278['width']/0x2-_0x106818/0x2;return _0x599e8c+_0x4c2647>=_0x4c0d87['y']+_0x4c0d87['height']&&(_0x4c2647=_0x4c0d87['y']+_0x4c0d87['height']-_0x599e8c,_0x3bebd0&&(_0x106818=_0x4c2647*_0x3bebd0),_0x2e49e8=_0x435278['x']+_0x435278['width']/0x2-_0x106818/0x2),_0x2e49e8<=_0x4c0d87['x']&&(_0x2e49e8=_0x4c0d87['x'],_0x599e8c=_0x435278['y']),_0x2e49e8+_0x106818>=_0x4c0d87['x']+_0x4c0d87['width']&&(_0x2e49e8=Math['max'](_0x4c0d87['x'],_0x4c0d87['x']+_0x4c0d87['width']-_0x106818),_0x106818=_0x4c0d87['x']+_0x4c0d87['width']-_0x2e49e8,_0x3bebd0&&(_0x4c2647=_0x106818/_0x3bebd0),_0x599e8c=_0x435278['y']),_0x4c2647<0x1&&(_0x4c2647=0x1,_0x3bebd0&&(_0x106818=_0x4c2647*_0x3bebd0),_0x2e49e8=_0x435278['x']+_0x435278['width']/0x2-_0x106818/0x2),_0x106818<0x1&&(_0x106818=0x1,_0x3bebd0&&(_0x4c2647=_0x106818/_0x3bebd0),_0x2e49e8=_0x435278['x']+_0x435278['width']/0x2-_0x106818/0x2),{'x':_0x2e49e8,'y':_0x599e8c,'width':_0x106818,'height':_0x4c2647};}(_0x1aedf7);case'e':return function({rect:_0x58539a,delta:_0x33d28f,aspectRatio:_0x58f144,imageBox:_0x1085bd}){const [_0x5a1e5e]=_0x33d28f;let {x:_0x30a365,width:_0x34c3fb,height:_0x51149a}=_0x58539a;_0x34c3fb+=_0x5a1e5e,_0x58f144&&(_0x51149a=_0x34c3fb/_0x58f144);let _0x116b15=_0x58539a['y']+_0x58539a['height']/0x2-_0x51149a/0x2;return _0x30a365+_0x34c3fb>=_0x1085bd['x']+_0x1085bd['width']&&(_0x34c3fb=_0x1085bd['x']+_0x1085bd['width']-_0x30a365,_0x58f144&&(_0x51149a=_0x34c3fb/_0x58f144),_0x116b15=_0x58539a['y']+_0x58539a['height']/0x2-_0x51149a/0x2),_0x116b15<=_0x1085bd['y']&&(_0x116b15=_0x1085bd['y'],_0x30a365=_0x58539a['x']),_0x116b15+_0x51149a>=_0x1085bd['y']+_0x1085bd['height']&&(_0x116b15=Math['max'](_0x1085bd['y'],_0x1085bd['y']+_0x1085bd['height']-_0x51149a),_0x51149a=_0x1085bd['y']+_0x1085bd['height']-_0x116b15,_0x58f144&&(_0x34c3fb=_0x51149a*_0x58f144),_0x30a365=_0x58539a['x']),_0x51149a<0x1&&(_0x51149a=0x1,_0x58f144&&(_0x34c3fb=_0x51149a*_0x58f144),_0x116b15=_0x58539a['y']+_0x58539a['height']/0x2-_0x51149a/0x2),_0x34c3fb<0x1&&(_0x34c3fb=0x1,_0x58f144&&(_0x51149a=_0x34c3fb/_0x58f144),_0x116b15=_0x58539a['y']+_0x58539a['height']/0x2-_0x51149a/0x2),{'x':_0x30a365,'y':_0x116b15,'width':_0x34c3fb,'height':_0x51149a};}(_0x1aedf7);case'nw':return function({rect:_0x545f26,delta:_0x3cc9be,aspectRatio:_0x49014b,imageBox:_0x2d0817}){let [_0x2dd15e,_0x4b179c]=_0x3cc9be,{x:_0x463286,y:_0xedd5f3,width:_0x22a256,height:_0xc8f619}=_0x545f26;return _0x463286+_0x2dd15e<_0x2d0817['x']&&(_0x2dd15e=_0x2d0817['x']-_0x463286),_0xedd5f3+_0x4b179c<_0x2d0817['y']&&(_0x4b179c=_0x2d0817['y']-_0xedd5f3),_0x463286+=_0x2dd15e,_0x22a256-=_0x2dd15e,_0xedd5f3+=_0x4b179c,_0xc8f619-=_0x4b179c,_0x49014b&&Math['abs'](_0x22a256/_0xc8f619)>_0x49014b?(_0x4b179c=_0x22a256/_0x49014b-_0xc8f619,_0xc8f619+=_0x4b179c,_0xedd5f3-=_0x4b179c,_0xedd5f3<=_0x2d0817['y']&&(_0xc8f619-=_0x2d0817['y']-_0xedd5f3,_0x22a256=_0xc8f619*_0x49014b,_0x463286=_0x545f26['x']+_0x545f26['width']-_0x22a256,_0xedd5f3=_0x2d0817['y'])):_0x49014b&&(_0x2dd15e=_0xc8f619*_0x49014b-_0x22a256,_0x22a256+=_0x2dd15e,_0x463286-=_0x2dd15e,_0x463286<=_0x2d0817['x']&&(_0x22a256-=_0x2d0817['x']-_0x463286,_0xc8f619=_0x22a256/_0x49014b,_0x463286=_0x2d0817['x'],_0xedd5f3=_0x545f26['y']+_0x545f26['height']-_0xc8f619)),_0xc8f619<0x1&&(_0xc8f619=0x1,_0x49014b&&(_0x22a256=_0xc8f619*_0x49014b),_0x463286=_0x545f26['x']+_0x545f26['width']-_0x22a256,_0xedd5f3=_0x545f26['y']+_0x545f26['height']-_0xc8f619),_0x22a256<0x1&&(_0x22a256=0x1,_0x49014b&&(_0xc8f619=_0x22a256/_0x49014b),_0x463286=_0x545f26['x']+_0x545f26['width']-_0x22a256,_0xedd5f3=_0x545f26['y']+_0x545f26['height']-_0xc8f619),{'x':_0x463286,'y':_0xedd5f3,'width':_0x22a256,'height':_0xc8f619};}(_0x1aedf7);case'ne':return function({rect:_0x5c1d6b,delta:_0x259faf,aspectRatio:_0x52d360,imageBox:_0x4988e3}){let [_0x33a738,_0x2f7812]=_0x259faf,{x:_0x2cfaa9,y:_0x4e3d7a,width:_0x50d0ac,height:_0x58c10a}=_0x5c1d6b;return _0x2cfaa9+_0x50d0ac+_0x33a738>_0x4988e3['x']+_0x4988e3['width']&&(_0x33a738=_0x4988e3['x']+_0x4988e3['width']-_0x2cfaa9-_0x50d0ac),_0x4e3d7a+_0x2f7812<_0x4988e3['y']&&(_0x2f7812=_0x4988e3['y']-_0x4e3d7a),_0x50d0ac+=_0x33a738,_0x4e3d7a+=_0x2f7812,_0x58c10a-=_0x2f7812,_0x52d360&&Math['abs'](_0x50d0ac/_0x58c10a)>_0x52d360?(_0x2f7812=_0x50d0ac/_0x52d360-_0x58c10a,_0x58c10a+=_0x2f7812,_0x4e3d7a-=_0x2f7812,_0x4e3d7a<=_0x4988e3['y']&&(_0x58c10a-=_0x4988e3['y']-_0x4e3d7a,_0x50d0ac=_0x58c10a*_0x52d360,_0x2cfaa9=_0x5c1d6b['x'],_0x4e3d7a=_0x4988e3['y'])):_0x52d360&&(_0x33a738=_0x58c10a*_0x52d360-_0x50d0ac,_0x50d0ac+=_0x33a738,_0x2cfaa9+_0x50d0ac>=_0x4988e3['x']+_0x4988e3['width']&&(_0x50d0ac=_0x4988e3['x']+_0x4988e3['width']-_0x2cfaa9,_0x58c10a=_0x50d0ac/_0x52d360,_0x2cfaa9=_0x4988e3['x']+_0x4988e3['width']-_0x50d0ac,_0x4e3d7a=_0x5c1d6b['y']+_0x5c1d6b['height']-_0x58c10a)),_0x58c10a<0x1&&(_0x58c10a=0x1,_0x52d360&&(_0x50d0ac=_0x58c10a*_0x52d360),_0x4e3d7a=_0x5c1d6b['y']+_0x5c1d6b['height']-_0x58c10a),_0x50d0ac<0x1&&(_0x50d0ac=0x1,_0x52d360&&(_0x58c10a=_0x50d0ac/_0x52d360),_0x4e3d7a=_0x5c1d6b['y']+_0x5c1d6b['height']-_0x58c10a),{'x':_0x2cfaa9,'y':_0x4e3d7a,'width':_0x50d0ac,'height':_0x58c10a};}(_0x1aedf7);case'sw':return function({rect:_0x1568d8,delta:_0x3b35b8,aspectRatio:_0x2e687f,imageBox:_0x4202a5}){let [_0x329a9b,_0x17c310]=_0x3b35b8,{x:_0x5ead9f,y:_0x581da4,width:_0x170050,height:_0x1943a0}=_0x1568d8;return _0x5ead9f+_0x329a9b<_0x4202a5['x']&&(_0x329a9b=_0x4202a5['x']-_0x5ead9f),_0x581da4+_0x1943a0+_0x17c310>_0x4202a5['y']+_0x4202a5['height']&&(_0x17c310=_0x4202a5['y']+_0x4202a5['height']-_0x581da4-_0x1943a0),_0x5ead9f+=_0x329a9b,_0x170050-=_0x329a9b,_0x1943a0+=_0x17c310,_0x2e687f&&Math['abs'](_0x170050/_0x1943a0)>_0x2e687f?(_0x17c310=_0x170050/_0x2e687f-_0x1943a0,_0x1943a0+=_0x17c310,_0x581da4+_0x1943a0>=_0x4202a5['y']+_0x4202a5['height']&&(_0x1943a0=_0x4202a5['y']+_0x4202a5['height']-_0x581da4,_0x170050=_0x1943a0*_0x2e687f,_0x5ead9f=_0x1568d8['x']+_0x1568d8['width']-_0x170050,_0x581da4=_0x4202a5['y']+_0x4202a5['height']-_0x1943a0)):_0x2e687f&&(_0x329a9b=_0x1943a0*_0x2e687f-_0x170050,_0x170050+=_0x329a9b,_0x5ead9f-=_0x329a9b,_0x5ead9f<=_0x4202a5['x']&&(_0x170050-=_0x4202a5['x']-_0x5ead9f,_0x1943a0=_0x170050/_0x2e687f,_0x5ead9f=_0x4202a5['x'],_0x581da4=_0x1568d8['y'])),_0x1943a0<0x1&&(_0x1943a0=0x1,_0x2e687f&&(_0x170050=_0x1943a0*_0x2e687f),_0x5ead9f=_0x1568d8['x']+_0x1568d8['width']-_0x170050),_0x170050<0x1&&(_0x170050=0x1,_0x2e687f&&(_0x1943a0=_0x170050/_0x2e687f),_0x5ead9f=_0x1568d8['x']+_0x1568d8['width']-_0x170050),{'x':_0x5ead9f,'y':_0x581da4,'width':_0x170050,'height':_0x1943a0};}(_0x1aedf7);case'se':return function({rect:_0x1c0bf4,delta:_0x380638,aspectRatio:_0x2c9183,imageBox:_0x472079}){let [_0x4ad7c0,_0x22aa50]=_0x380638,{x:_0x15e1f2,y:_0x1db109,width:_0x24dd58,height:_0x5df48e}=_0x1c0bf4;return _0x15e1f2+_0x24dd58+_0x4ad7c0>_0x472079['x']+_0x472079['width']&&(_0x4ad7c0=_0x472079['x']+_0x472079['width']-_0x15e1f2-_0x24dd58),_0x1db109+_0x5df48e+_0x22aa50>_0x472079['y']+_0x472079['height']&&(_0x22aa50=_0x472079['y']+_0x472079['height']-_0x1db109-_0x5df48e),_0x24dd58+=_0x4ad7c0,_0x5df48e+=_0x22aa50,_0x2c9183&&Math['abs'](_0x24dd58/_0x5df48e)>_0x2c9183?(_0x22aa50=_0x24dd58/_0x2c9183-_0x5df48e,_0x5df48e+=_0x22aa50,_0x1db109+_0x5df48e>=_0x472079['y']+_0x472079['height']&&(_0x5df48e=_0x472079['y']+_0x472079['height']-_0x1db109,_0x24dd58=_0x5df48e*_0x2c9183,_0x15e1f2=_0x1c0bf4['x'],_0x1db109=_0x472079['y']+_0x472079['height']-_0x5df48e)):_0x2c9183&&(_0x4ad7c0=_0x5df48e*_0x2c9183-_0x24dd58,_0x24dd58+=_0x4ad7c0,_0x15e1f2+_0x24dd58>=_0x472079['x']+_0x472079['width']&&(_0x24dd58=_0x472079['x']+_0x472079['width']-_0x15e1f2,_0x5df48e=_0x24dd58/_0x2c9183,_0x15e1f2=_0x472079['x']+_0x472079['width']-_0x24dd58,_0x1db109=_0x1c0bf4['y'])),_0x5df48e<0x1&&(_0x5df48e=0x1,_0x2c9183&&(_0x24dd58=_0x5df48e*_0x2c9183)),_0x24dd58<0x1&&(_0x24dd58=0x1,_0x2c9183&&(_0x5df48e=_0x24dd58/_0x2c9183)),{'x':_0x15e1f2,'y':_0x1db109,'width':_0x24dd58,'height':_0x5df48e};}(_0x1aedf7);default:return _0x1aedf7['rect'];}}function _0x20244d({width:_0x9450f2,height:_0x8c9c1d},_0x37c811){const _0x2cd572=_0x37c811/0x5a%0x2!=0x0;return{'width':_0x2cd572?_0x8c9c1d:_0x9450f2,'height':_0x2cd572?_0x9450f2:_0x8c9c1d};}function _0x5486b9(_0x4f452b,_0x128d03,_0x14d9fb){let _0x35cdb1,_0x475681;_0x4f452b/_0x128d03>_0x14d9fb?(_0x35cdb1=Math['round'](_0x128d03*_0x14d9fb),_0x475681=_0x128d03):(_0x35cdb1=_0x4f452b,_0x475681=Math['round'](_0x4f452b/_0x14d9fb));const _0x101374=Math['round']((_0x4f452b-_0x35cdb1)/0x2),_0x1a46e7=Math['round']((_0x128d03-_0x475681)/0x2);return _0x101374+_0x35cdb1>_0x4f452b&&(_0x35cdb1=_0x4f452b-_0x101374),_0x1a46e7+_0x475681>_0x128d03&&(_0x475681=_0x128d03-_0x1a46e7),{'x':_0x101374,'y':_0x1a46e7,'width':_0x35cdb1,'height':_0x475681};}function _0x392d0d(_0x499b85){return{'x':Math['round'](_0x499b85['x']),'y':Math['round'](_0x499b85['y']),'width':Math['round'](_0x499b85['width']),'height':Math['round'](_0x499b85['height'])};}function _0x3e9f0d(_0x1fff93,_0x3da655,_0x326f3a){return Math['min'](Math['max'](_0x1fff93,_0x3da655),_0x326f3a);}var _0x4f10f5=['free'],_0xf48b6f=_0x36c6e5=>{const _0x4b99e0=_0x25ff69(_0x36c6e5);if(!_0x4b99e0||0x0===_0x4b99e0['length'])return[];const _0x5a8864=[];for(const _0x567487 of _0x4b99e0){const _0x1eb2a8=_0x567487['trim']();if(!_0x1eb2a8)continue;const _0x37871d=_0x1eb2a8['indexOf'](':');if(-0x1===_0x37871d&&!_0x4f10f5['includes'](_0x1eb2a8)){console['warn']('Invalid\x20crop\x20preset:\x20'+_0x1eb2a8);continue;}const _0x4d3fa1=Number(_0x1eb2a8['slice'](0x0,_0x37871d)),_0x28fe54=Number(_0x1eb2a8['slice'](_0x37871d+0x1));!(!Number['isFinite'](_0x4d3fa1)||!Number['isFinite'](_0x28fe54)||_0x4d3fa1<=0x0||_0x28fe54<=0x0)||_0x4f10f5['includes'](_0x1eb2a8)?_0x5a8864['push']({'id':_0x461769['generate'](),'type':'aspect-ratio','width':_0x4f10f5['includes'](_0x1eb2a8)?0x0:_0x4d3fa1,'height':_0x4f10f5['includes'](_0x1eb2a8)?0x0:_0x28fe54,'hasFreeform':_0x4f10f5['includes'](_0x1eb2a8)}):console['warn']('Invalid\x20crop\x20preset:\x20'+_0x1eb2a8);}return _0x5a8864;},_0x1a7add=Object['freeze']({'FACEBOOK':'facebook','DROPBOX':'dropbox','GDRIVE':'gdrive','GPHOTOS':'gphotos','FLICKR':'flickr','VK':'vk','EVERNOTE':'evernote','BOX':'box','ONEDRIVE':'onedrive','HUDDLE':'huddle'}),_0x3f439f=Object['freeze']({'MOBILE_VIDEO_CAMERA':'mobile-video-camera','MOBILE_PHOTO_CAMERA':'mobile-photo-camera'}),_0x359f91=Object['freeze']({'LOCAL':'local','DROP_AREA':'drop-area','CAMERA':'camera','EXTERNAL':'external','API':'js-api','URL':'url','DRAW':'draw',..._0x3f439f,..._0x1a7add});function _0x2b309d(_0x17b4ca){return _0x40dea8({..._0x17b4ca,'libraryName':_0x13f4d4,'libraryVersion':_0x38b6b4});}var _0x1af9a2=_0x2bb298=>'number'!=typeof _0x2bb298?0x0:Math['floor'](_0x2bb298/0x3e8),_0x142b49=class{['_block'];['_secureToken']=null;constructor(_0x46c9d2){this['_block']=_0x46c9d2;}['_debugPrint'](..._0xd78a0c){this['_block']['debugPrint']('[secure-uploads]',..._0xd78a0c);}async['getSecureToken'](){const {secureSignature:_0x363fea,secureExpire:_0x8224ba,secureUploadsSignatureResolver:_0xf0c721}=this['_block']['cfg'];if((_0x363fea||_0x8224ba)&&_0xf0c721&&console['warn']('Both\x20secureSignature/secureExpire\x20and\x20secureUploadsSignatureResolver\x20are\x20set.\x20secureUploadsSignatureResolver\x20will\x20be\x20used.'),_0xf0c721){if(!this['_secureToken']||((_0x1cc08f,{threshold:_0x5de372})=>{const {secureExpire:_0x4a97a0}=_0x1cc08f,_0x3b352b=_0x1af9a2(Date['now']()),_0x4115c4=Number(_0x4a97a0);return _0x3b352b+_0x1af9a2(_0x5de372)>=_0x4115c4;})(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 _0x341776=await _0xf0c721();_0x341776?_0x341776['secureSignature']&&_0x341776['secureExpire']?(this['_debugPrint']('Secure\x20signature\x20resolved:',_0x341776),this['_debugPrint']('Secure\x20signature\x20will\x20expire\x20in',new Date(0x3e8*Number(_0x341776['secureExpire']))['toISOString']()),this['_secureToken']=_0x341776):console['error']('Secure\x20signature\x20resolver\x20returned\x20an\x20invalid\x20result:',_0x341776):(this['_debugPrint']('Secure\x20signature\x20resolver\x20returned\x20nothing.'),this['_secureToken']=null);}catch(_0x8a136d){console['error']('Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.',_0x8a136d),this['_block']['telemetryManager']['sendEventError'](_0x8a136d,'secureUploadsSignatureResolver.\x20Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.');}}return this['_secureToken'];}return _0x363fea&&_0x8224ba?(this['_debugPrint']('Secure\x20signature\x20and\x20expire\x20are\x20set.\x20Using\x20them...',{'secureSignature':_0x363fea,'secureExpire':_0x8224ba}),{'secureSignature':_0x363fea,'secureExpire':_0x8224ba}):null;}},_0x17d63a=(_0x433bcc,_0x2d141e)=>{if(_0x433bcc['failedCount']>0x0)return{'type':'SOME_FILES_HAS_ERRORS','message':_0x2d141e['l10n']('some-files-were-not-uploaded')};},_0x2456d0=(_0x1dda04,_0xe61df2)=>{const _0x25be1f=_0x1dda04['totalCount'],_0x2d1686=_0xe61df2['cfg']['multiple']?_0xe61df2['cfg']['multipleMin']:0x0,_0xf71b61=_0xe61df2['cfg']['multiple']?_0xe61df2['cfg']['multipleMax']:0x1;if(_0x2d1686&&_0x25be1f<_0x2d1686)return{'type':'TOO_FEW_FILES','message':_0xe61df2['l10n']('files-count-limit-error-too-few',{'min':_0x2d1686,'max':_0xf71b61,'total':_0x25be1f}),'payload':{'total':_0x25be1f,'min':_0x2d1686,'max':_0xf71b61}};if(_0xf71b61&&_0x25be1f>_0xf71b61)return{'type':'TOO_MANY_FILES','message':_0xe61df2['l10n']('files-count-limit-error-too-many',{'min':_0x2d1686,'max':_0xf71b61,'total':_0x25be1f}),'payload':{'total':_0x25be1f,'min':_0x2d1686,'max':_0xf71b61}};},_0x15d454={'safariDesktop':((()=>{const _0x4d7ed0=navigator['userAgent'];return/Macintosh|Windows/['test'](_0x4d7ed0)&&/Version\/[\d.]+.*Safari/['test'](_0x4d7ed0)&&!/Chrome|Chromium|Edg|OPR/['test'](_0x4d7ed0);})())},_0x4f0264={'htmlMediaCapture':'capture'in document['createElement']('input')},_0x32d08a='image/*',_0x3aa728='video/*',_0x24e0db=_0x15d454['safariDesktop']?[_0x32d08a]:[_0x32d08a,...['image/heif','image/heif-sequence','image/heic','image/heic-sequence','image/avif','image/avif-sequence','.heif','.heifs','.heic','.heics','.avif','.avifs']],_0x3a3cd4=_0x4b1026=>_0x4b1026?_0x4b1026['filter'](_0x378125=>'string'==typeof _0x378125)['flatMap'](_0x5a3f32=>_0x25ff69(_0x5a3f32)):[],_0x27919d=(_0x468183,_0x599899)=>_0x599899['some'](_0x253f88=>{if(_0x253f88['endsWith']('*')){const _0x5b10f5=_0x253f88['replace']('*','');return _0x468183['startsWith'](_0x5b10f5);}return _0x468183===_0x253f88;}),_0x5c7cdd=_0x7b97e5=>{const _0x2b74b9=_0x7b97e5?.['type'];return!!_0x2b74b9&&_0x27919d(_0x2b74b9,_0x24e0db);},_0x4a2024=(_0x190a57,_0x372e82)=>{const _0x2f8aad=_0x372e82['cfg']['imgOnly'],_0x5b77e6=_0x372e82['cfg']['accept'],_0x1999a9=_0x3a3cd4([..._0x2f8aad?_0x24e0db:[],_0x5b77e6]);if(!_0x1999a9['length'])return;const _0x588447=_0x190a57['mimeType'],_0x40c6e1=_0x190a57['name'];if(!_0x588447||!_0x40c6e1)return;const _0x28f415=_0x27919d(_0x588447,_0x1999a9),_0x48103f=((_0x244296,_0x253f23)=>_0x253f23['some'](_0x1d8ac8=>!!_0x1d8ac8['startsWith']('.')&&_0x244296['toLowerCase']()['endsWith'](_0x1d8ac8['toLowerCase']())))(_0x40c6e1,_0x1999a9);return _0x28f415||_0x48103f?void 0x0:{'type':'FORBIDDEN_FILE_TYPE','message':_0x372e82['l10n']('file-type-not-allowed'),'payload':{'entry':_0x190a57}};},_0x420221=(_0x52e0c9,_0x486397)=>{const _0x50eaac=_0x486397['cfg']['imgOnly'],_0x2dc80a=_0x52e0c9['isImage'];if(_0x50eaac&&!_0x2dc80a&&(_0x52e0c9['fileInfo']||!_0x52e0c9['externalUrl'])&&(_0x52e0c9['fileInfo']||_0x52e0c9['mimeType']))return{'type':'NOT_AN_IMAGE','message':_0x486397['l10n']('images-only-accepted'),'payload':{'entry':_0x52e0c9}};},_0x23d440=0x3e8,_0x5afb6e=Object['freeze']({'AUTO':'auto','BYTE':'byte','KB':'kb','MB':'mb','GB':'gb','TB':'tb','PB':'pb'}),_0x56fa86=_0x30cac2=>Math['ceil'](0x64*_0x30cac2)/0x64,tD=(_0x144bb8,_0xeaa0f9=_0x5afb6e['AUTO'])=>{const _0x165875=_0xeaa0f9===_0x5afb6e['AUTO'];if(_0xeaa0f9===_0x5afb6e['BYTE']||_0x165875&&_0x144bb8<0x3e8)return _0x144bb8+'\x20'+('one'===_0x2d4acb('en-US',_0x144bb8)?'byte':'bytes');return _0xeaa0f9===_0x5afb6e['KB']||_0x165875&&_0x144bb8<0xf4240?_0x56fa86(_0x144bb8/0x3e8)+'\x20KB':_0xeaa0f9===_0x5afb6e['MB']||_0x165875&&_0x144bb8<_0x23d440**0x3?_0x56fa86(_0x144bb8/0xf4240)+'\x20MB':_0xeaa0f9===_0x5afb6e['GB']||_0x165875&&_0x144bb8<_0x23d440**0x4?_0x56fa86(_0x144bb8/_0x23d440**0x3)+'\x20GB':_0xeaa0f9===_0x5afb6e['TB']||_0x165875&&_0x144bb8<_0x23d440**0x5?_0x56fa86(_0x144bb8/_0x23d440**0x4)+'\x20TB':_0x56fa86(_0x144bb8/_0x23d440**0x5)+'\x20PB';},_0x248b9d=(_0x4184f8,_0x307ef3)=>{const _0xea8e00=_0x307ef3['cfg']['maxLocalFileSizeBytes'],_0x5a508a=_0x4184f8['size'];if(_0xea8e00&&_0x5a508a&&_0x5a508a>_0xea8e00)return{'type':'FILE_SIZE_EXCEEDED','message':_0x307ef3['l10n']('files-max-size-limit-error',{'maxFileSize':tD(_0xea8e00)}),'payload':{'entry':_0x4184f8}};},_0x3e2bf3=(_0x1fe9ad,_0x1fb58c)=>{const {internalId:_0x2d76ac}=_0x1fe9ad,_0x28d034=_0x1fb58c['_uploadCollection']['read'](_0x2d76ac),_0x96c4fc=_0x28d034?.['getValue']('uploadError');if(!_0x96c4fc)return;if(_0x96c4fc instanceof _0x2a7491)return{'type':'UPLOAD_ERROR','message':_0x96c4fc['message'],'payload':{'entry':_0x1fe9ad,'error':_0x96c4fc}};if(_0x96c4fc instanceof NetworkError)return{'type':'NETWORK_ERROR','message':_0x96c4fc['message'],'payload':{'entry':_0x1fe9ad,'error':_0x96c4fc}};const _0x146bb9=_0x96c4fc instanceof Error?_0x96c4fc:new Error('Unknown\x20error',{'cause':_0x96c4fc});return{'type':'UNKNOWN_ERROR','message':_0x146bb9['message'],'payload':{'entry':_0x1fe9ad,'error':_0x146bb9}};},_0x216e92='File\x20validator\x20execution\x20has\x20failed',_0x577e08='File\x20validator\x20execution\x20has\x20timed\x20out',_0x541a7b='Collection\x20validator\x20execution\x20has\x20failed',_0x1d6290='Missing\x20message.\x20We\x20recommend\x20adding\x20message:\x20value.',_0x477ed1=_0x547697=>'function'==typeof _0x547697?{'runOn':'change','validator':_0x547697}:_0x547697,_0x1e4019=class{['_blockInstance'];['_uploadCollection'];['_commonFileValidators']=[_0x420221,_0x4a2024,_0x248b9d,_0x3e2bf3];['_commonCollectionValidators']=[_0x2456d0,_0x17d63a];['_queue']=new _0x481a6d(0x14);['_runQueueDebounced']=_0x1675b0(()=>{this['_queue']['run']();},0x1f4);['_entryValidationState']=new Map();constructor(_0x2c457f){this['_blockInstance']=_0x2c457f,this['_uploadCollection']=this['_blockInstance']['uploadCollection'];const _0x4998c8=()=>{this['runFileValidators']('change'),this['runCollectionValidators']();};this['_blockInstance']['subConfigValue']('maxLocalFileSizeBytes',_0x4998c8),this['_blockInstance']['subConfigValue']('multipleMin',_0x4998c8),this['_blockInstance']['subConfigValue']('multipleMax',_0x4998c8),this['_blockInstance']['subConfigValue']('multiple',_0x4998c8),this['_blockInstance']['subConfigValue']('imgOnly',_0x4998c8),this['_blockInstance']['subConfigValue']('accept',_0x4998c8),this['_blockInstance']['subConfigValue']('validationConcurrency',_0x2b6620=>{this['_queue']['concurrency']=_0x2b6620;});}['runFileValidators'](_0x23101d,_0x4f6085){const _0x2ad3db=_0x4f6085??this['_uploadCollection']['items']();for(const _0x2eed6f of _0x2ad3db){const _0x34a193=this['_uploadCollection']['read'](_0x2eed6f);_0x34a193&&this['_runFileValidatorsForEntry'](_0x34a193,_0x23101d);}}['runCollectionValidators'](){const _0x2239a7=this['_blockInstance']['api']['getOutputCollectionState'](),_0x18ae3b=[];for(const _0x507028 of[...this['_commonCollectionValidators'],...this['_blockInstance']['cfg']['collectionValidators']])try{const _0x3e6fd8=_0x507028(_0x2239a7,this['_blockInstance']['api']);if(!_0x3e6fd8)continue;_0x3e6fd8&&(_0x18ae3b['push'](this['_addCustomTypeToValidationError'](_0x3e6fd8)),_0x3e6fd8['message']||console['warn'](_0x1d6290));}catch(_0x4538ea){console['warn'](_0x541a7b,_0x4538ea);}this['_blockInstance']['$']['*collectionErrors']=_0x18ae3b,_0x18ae3b['length']>0x0&&this['_blockInstance']['emit'](_0x4d7bbe['COMMON_UPLOAD_FAILED'],()=>this['_blockInstance']['api']['getOutputCollectionState'](),{'debounce':!0x0});}['cleanupValidationForEntry'](_0x28f302){const _0x43b631=this['_entryValidationState']['get'](_0x28f302['uid']);_0x43b631&&(_0x43b631['abortController']?.['abort'](),this['_entryValidationState']['delete'](_0x28f302['uid']));}async['_runFileValidatorsForEntry'](_0x5d1ae2,_0x504284){const _0xbe493c=this['_getValidatorDescriptorsForEntry'](_0x5d1ae2,_0x504284);if(0x0===_0xbe493c['length'])return;_0x5d1ae2['setMultipleValues']({'isQueuedForValidation':!0x0,'isValidationPending':!0x0});const _0x28128b=this['_blockInstance']['api']['getOutputItem'](_0x5d1ae2['uid']),_0xd4998f=this['_getEntryValidationState'](_0x5d1ae2);_0xd4998f['promise']&&await _0xd4998f['promise'];const {promise:_0x481ad9,resolve:_0x431b9e}=((()=>{let _0x911314=()=>{},_0x77ea74=()=>{};return{'promise':new Promise((_0x17682e,_0x439292)=>{_0x911314=_0x17682e,_0x77ea74=_0x439292;}),'resolve':_0x911314,'reject':_0x77ea74};})());_0xd4998f['promise']=_0x481ad9;const _0x147211=new AbortController();_0xd4998f['abortController']=_0x147211;const _0x5b0c73=this['_blockInstance']['cfg']['validationTimeout'],_0x34f2c8=this['_getValidatorDescriptors'](),_0x2607f1=new Set(_0xbe493c['map'](_0x29cbae=>_0x29cbae['validator'])),_0x367b92=[];for(const _0x44c50a of _0x34f2c8)if(!_0x2607f1['has'](_0x44c50a['validator'])){const _0x163d42=_0xd4998f['lastErrorThrownByValidator']['get'](_0x44c50a['validator']);_0x163d42&&_0x367b92['push'](_0x163d42);}const _0x5de042=_0xbe493c['map'](_0x5bca33=>async()=>{if(!this['_blockInstance']['isConnected'])return;const _0x2b18f2=setTimeout(()=>{_0xd4998f['skippedValidators']['add'](_0x5bca33['validator']),_0x147211['abort'](),console['warn'](_0x577e08);},_0x5b0c73);try{const _0x175628=await _0x5bca33['validator'](_0x28128b,this['_blockInstance']['api'],{'signal':_0x147211['signal']});if(!_0x175628||_0x147211['signal']['aborted'])return void _0xd4998f['lastErrorThrownByValidator']['set'](_0x5bca33['validator'],void 0x0);const _0x1708d8=this['_addCustomTypeToValidationError'](_0x175628);_0xd4998f['lastErrorThrownByValidator']['set'](_0x5bca33['validator'],_0x1708d8),_0x367b92['push'](_0x1708d8),_0x175628['message']||console['warn'](_0x1d6290);}catch(_0x50d875){_0x147211['signal']['aborted']||(_0xd4998f['skippedValidators']['add'](_0x5bca33['validator']),console['warn'](_0x216e92,_0x50d875),this['_blockInstance']['telemetryManager']['sendEventError'](_0x50d875,'file\x20validator.\x20'+_0x216e92));}finally{clearTimeout(_0x2b18f2),'change'!==_0x5bca33['runOn']&&_0xd4998f['skippedValidators']['add'](_0x5bca33['validator']);}});if(this['_runQueueDebounced'](),await this['_queue']['add'](async()=>{_0x5d1ae2['setValue']('isQueuedForValidation',!0x1),await Promise['all'](_0x5de042['map'](_0x319f2d=>_0x319f2d()))['catch'](()=>{});},{'autoRun':!0x1}),_0x147211['signal']['aborted'])return _0x5d1ae2['setMultipleValues']({'isQueuedForValidation':!0x1,'isValidationPending':!0x1}),void _0x431b9e();_0x5d1ae2['setMultipleValues']({'isValidationPending':!0x1,'isQueuedForValidation':!0x1,'errors':_0x367b92}),_0x431b9e();}['_addCustomTypeToValidationError'](_0x458fe0){return{..._0x458fe0,'type':_0x458fe0['type']??'CUSTOM_ERROR'};}['_getEntryValidationState'](_0x8d0b6c){const _0x3d8ef3=this['_entryValidationState']['get'](_0x8d0b6c['uid']);if(_0x3d8ef3)return _0x3d8ef3;const _0x141dac={'abortController':void 0x0,'skippedValidators':new WeakSet(),'promise':void 0x0,'lastErrorThrownByValidator':new WeakMap()};return this['_entryValidationState']['set'](_0x8d0b6c['uid'],_0x141dac),_0x141dac;}['_getValidatorDescriptors'](){return[...this['_commonFileValidators'],...this['_blockInstance']['cfg']['fileValidators']]['map'](_0x477ed1);}['_getValidatorDescriptorsForEntry'](_0x23d4db,_0x2ca5de){const _0x194e12=this['_getEntryValidationState'](_0x23d4db);return this['_getValidatorDescriptors']()['filter'](_0xee340a=>!_0x194e12['skippedValidators']['has'](_0xee340a['validator']))['filter'](_0x3399cf=>_0x3399cf['runOn']===_0x2ca5de);}},_0x42041f='[Typed\x20State]\x20Wrong\x20property\x20name:\x20',_0x447f79=class{['__typedSchema'];['__ctxId'];['__schema'];['__data'];constructor(_0x353e8f,_0x20f00c){this['__typedSchema']=_0x353e8f,this['__ctxId']=_0x20f00c||_0x461769['generate'](),this['__schema']=Object['keys'](_0x353e8f)['reduce']((_0x1c8525,_0x3edb4d)=>(_0x353e8f[_0x3edb4d]&&(_0x1c8525[_0x3edb4d]=_0x353e8f[_0x3edb4d]['value']),_0x1c8525),{}),this['__data']=_0x191ad9['registerCtx'](this['__schema'],this['__ctxId']);}get['uid'](){return this['__ctxId'];}['setValue'](_0x3aebb4,_0x4bd949){if(!Object['hasOwn'](this['__typedSchema'],_0x3aebb4)||!this['__typedSchema'][_0x3aebb4])return void console['warn'](_0x42041f+_0x3aebb4);const _0x5c3af3=this['__typedSchema'][_0x3aebb4],_0x5e5303=_0x4bd949?.['constructor']===_0x5c3af3['type'],_0x22e4fd=_0x4bd949 instanceof _0x5c3af3['type'],_0x28effb=_0x5c3af3['nullable']&&null===_0x4bd949;_0x5e5303||_0x22e4fd||_0x28effb?this['__data']['pub'](_0x3aebb4,_0x4bd949):console['warn']('[Typed\x20State]\x20Wrong\x20property\x20type:\x20'+_0x3aebb4);}['setMultipleValues'](_0x17a1c5){for(const [_0x57eb55,_0x28a259]of Object['entries'](_0x17a1c5))this['setValue'](_0x57eb55,_0x28a259);}['getValue'](_0x2f09b5){return Object['hasOwn'](this['__typedSchema'],_0x2f09b5)||console['warn'](_0x42041f+_0x2f09b5),this['__data']['read'](_0x2f09b5);}['subscribe'](_0x5ee66d,_0x590bd2){return this['__data']['sub'](_0x5ee66d,_0x590bd2);}['remove'](){_0x191ad9['deleteCtx'](this['__ctxId']);}},_0xa11e94=class{['__typedSchema'];['__ctxId'];['__data'];['__watchList'];['__subsMap']=Object['create'](null);['__propertyObservers']=new Set();['__collectionObservers']=new Set();['__items']=new Set();['__removed']=new Set();['__added']=new Set();['__observeTimeout'];['__notifyTimeout'];['__notifyObservers'];constructor(_0x52ad30){this['__typedSchema']=_0x52ad30['typedSchema'],this['__ctxId']=_0x52ad30['ctxName']||_0x461769['generate'](),this['__data']=_0x191ad9['registerCtx']({},this['__ctxId']),this['__watchList']=_0x52ad30['watchList']||[];let _0x36f0ac=Object['create'](null);this['__notifyObservers']=(_0x269707,_0x49a0a7)=>{this['__observeTimeout']&&window['clearTimeout'](this['__observeTimeout']),_0x36f0ac[_0x269707]||(_0x36f0ac[_0x269707]=new Set()),_0x36f0ac[_0x269707]['add'](_0x49a0a7),this['__observeTimeout']=window['setTimeout'](()=>{0x0!==Object['keys'](_0x36f0ac)['length']&&(this['__propertyObservers']['forEach'](_0x1a9c84=>{_0x1a9c84({..._0x36f0ac});}),_0x36f0ac=Object['create'](null));});},_0x52ad30['handler']&&this['observeCollection'](_0x52ad30['handler']);}['notify'](){this['__notifyTimeout']&&window['clearTimeout'](this['__notifyTimeout']),this['__notifyTimeout']=window['setTimeout'](()=>{const _0x4edbd3=new Set(this['__added']),_0x264eac=new Set(this['__removed']);this['__added']['clear'](),this['__removed']['clear']();for(const _0x5e342d of this['__collectionObservers'])_0x5e342d?.([...this['__items']],_0x4edbd3,_0x264eac);});}['observeCollection'](_0x4c824e){return this['__collectionObservers']['add'](_0x4c824e),this['__items']['size']>0x0&&this['notify'](),()=>{this['unobserveCollection'](_0x4c824e);};}['unobserveCollection'](_0x514c38){this['__collectionObservers']['delete'](_0x514c38);}['add'](_0x332337){const _0xe6474e=new _0x447f79(this['__typedSchema']);for(const [_0x6e5490,_0x52d667]of Object['entries'](_0x332337))void 0x0!==_0x52d667&&_0xe6474e['setValue'](_0x6e5490,_0x52d667);return this['__items']['add'](_0xe6474e['uid']),this['notify'](),this['__data']['add'](_0xe6474e['uid'],_0xe6474e),this['__added']['add'](_0xe6474e),this['__watchList']['forEach'](_0x2a1612=>{this['__subsMap'][_0xe6474e['uid']]||(this['__subsMap'][_0xe6474e['uid']]=[]),this['__subsMap'][_0xe6474e['uid']]?.['push'](_0xe6474e['subscribe'](_0x2a1612,()=>{this['__notifyObservers'](_0x2a1612,_0xe6474e['uid']);}));}),_0xe6474e['uid'];}['read'](_0x1c7ee6){return this['__data']['read'](_0x1c7ee6);}['readProp'](_0x46e4cc,_0x3377db){const _0x4f3010=this['read'](_0x46e4cc);return _0x4f3010?_0x4f3010['getValue'](_0x3377db):(console['warn']('Item\x20with\x20id\x20'+_0x46e4cc+'\x20not\x20found'),null);}['publishProp'](_0x2cc384,_0x5609c8,_0x5593d1){const _0xb9fff5=this['read'](_0x2cc384);_0xb9fff5?_0xb9fff5['setValue'](_0x5609c8,_0x5593d1):console['warn']('Item\x20with\x20id\x20'+_0x2cc384+'\x20not\x20found');}['remove'](_0x418f7b){const _0x3f33a6=this['read'](_0x418f7b);_0x3f33a6&&this['__removed']['add'](_0x3f33a6),this['__items']['delete'](_0x418f7b),this['notify'](),this['__data']['pub'](_0x418f7b,null),delete this['__subsMap'][_0x418f7b];}['clearAll'](){this['__items']['forEach'](_0x1556d1=>{this['remove'](_0x1556d1);});}['observeProperties'](_0x3e22f0){return this['__propertyObservers']['add'](_0x3e22f0),()=>{this['unobserveProperties'](_0x3e22f0);};}['unobserveProperties'](_0x12ad49){this['__propertyObservers']['delete'](_0x12ad49);}['findItems'](_0x37ab8c){const _0x315e4d=[];return this['__items']['forEach'](_0x28d9bb=>{const _0x265c53=this['read'](_0x28d9bb);_0x265c53&&_0x37ab8c(_0x265c53)&&_0x315e4d['push'](_0x28d9bb);}),_0x315e4d;}['items'](){return[...this['__items']];}get['size'](){return this['__items']['size'];}['destroy'](){_0x191ad9['deleteCtx'](this['__ctxId']),this['__propertyObservers']=new Set(),this['__collectionObservers']=new Set();for(const _0x129f0a in this['__subsMap'])this['__subsMap'][_0x129f0a]?.['forEach'](_0x42266a=>{_0x42266a['remove']();}),delete this['__subsMap'][_0x129f0a];}},_0x3f065b=Object['freeze']({'PHOTO':'photo','VIDEO':'video'}),_0x2fb36c=Object['freeze']({'IDLE':'idle','SHOT':'shot','PLAY':'play','PAUSE':'pause','RESUME':'resume','STOP':'stop','RETAKE':'retake','ACCEPT':'accept'}),_0x484ec9=_0x45c151=>({'isVideoRecordingEnabled':_0xa04383(_0x45c151['cameraModes'])['includes'](_0x3f065b['VIDEO']),'isPhotoEnabled':_0xa04383(_0x45c151['cameraModes'])['includes'](_0x3f065b['PHOTO'])}),_0x505aaf=new RegExp('^/?('+/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/i['source']+')(?:/(-/(?:[^/]+/)+)?([^/]*))?$','i');function _0x10acb9(_0x5a1d78){const _0x58904d=new Map();return(..._0xe8bf2c)=>{const _0xe5ca38=JSON['stringify'](_0xe8bf2c);if(_0x58904d['has'](_0xe5ca38))return _0x58904d['get'](_0xe5ca38);const _0x4dec12=_0x5a1d78(..._0xe8bf2c);return _0x58904d['set'](_0xe5ca38,_0x4dec12),_0x4dec12;};}var _0x38f09d=new Set();function _0x39909b(_0x1f2d42){_0x38f09d['has'](_0x1f2d42)||(_0x38f09d['add'](_0x1f2d42),console['warn'](_0x1f2d42));}function _0x5ec6cb(_0x434776){const _0x121378={},_0x2b0755={'progress':()=>_0x434776['$']['*commonProgress'],'errors':()=>_0x434776['$']['*collectionErrors'],'group':()=>_0x434776['$']['*groupInfo'],'totalCount':()=>_0x434776['uploadCollection']['size'],'failedCount':()=>_0x121378['failedEntries']['length'],'successCount':()=>_0x121378['successEntries']['length'],'uploadingCount':()=>_0x121378['uploadingEntries']['length'],'status':()=>_0x121378['isFailed']?'failed':_0x121378['isUploading']?'uploading':_0x121378['isSuccess']?'success':'idle','isSuccess':()=>_0x121378['allEntries']['length']>0x0&&0x0===_0x121378['errors']['length']&&_0x121378['successEntries']['length']===_0x121378['allEntries']['length'],'isUploading':()=>_0x121378['allEntries']['some'](_0x45c37e=>'uploading'===_0x45c37e['status']),'isFailed':()=>_0x121378['errors']['length']>0x0||_0x121378['failedEntries']['length']>0x0,'allEntries':()=>_0x434776['getOutputData'](),'successEntries':()=>_0x121378['allEntries']['filter'](_0x284615=>'success'===_0x284615['status']),'failedEntries':()=>_0x121378['allEntries']['filter'](_0x97d64a=>'failed'===_0x97d64a['status']),'uploadingEntries':()=>_0x121378['allEntries']['filter'](_0x577a1d=>'uploading'===_0x577a1d['status']),'idleEntries':()=>_0x121378['allEntries']['filter'](_0x5ec3c6=>'idle'===_0x5ec3c6['status'])},_0xa713d9=function(_0x5a7745){let _0x53413d=!0x1;return setTimeout(()=>{_0x53413d=!0x0;},0x0),_0x2dc44a=>(..._0x4445a7)=>(_0x53413d&&_0x39909b(_0x5a7745),_0x2dc44a(..._0x4445a7));}('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 [_0x37d30e,_0x4afdc2]of Object['entries'](_0x2b0755)){const _0x44e515=_0x37d30e,_0x349cb8=_0x10acb9(_0xa713d9(_0x4afdc2));Object['defineProperty'](_0x121378,_0x44e515,{'get':_0x349cb8,'enumerable':!0x0});}return _0x121378;}var _0x1d1a08=class{['_ctx'];constructor(_0x303bbd){this['_ctx']=_0x303bbd;}get['_uploadCollection'](){return this['_ctx']['uploadCollection'];}get['cfg'](){return this['_ctx']['cfg'];}get['l10n'](){return this['_ctx']['l10n']['bind'](this['_ctx']);}['addFileFromUrl']=(_0x168ff5,{silent:_0x454b89,fileName:_0x37dde0,source:_0x28e0e7}={})=>{const _0x118b16=this['_uploadCollection']['add']({'externalUrl':_0x168ff5,'fileName':_0x37dde0??null,'silent':_0x454b89??!0x1,'source':_0x28e0e7??_0x359f91['API']});return this['getOutputItem'](_0x118b16);};['addFileFromUuid']=(_0x24d979,{silent:_0x441537,fileName:_0x3ec9e3,source:_0x7d995d}={})=>{const _0x59e84f=this['_uploadCollection']['add']({'uuid':_0x24d979,'fileName':_0x3ec9e3??null,'silent':_0x441537??!0x1,'source':_0x7d995d??_0x359f91['API']});return this['getOutputItem'](_0x59e84f);};['addFileFromCdnUrl']=(_0x355f5c,{silent:_0x4c11f2,fileName:_0x5b9f26,source:_0x2d6baf}={})=>{const _0x2bca77=(({url:_0x3c17d8,cdnBase:_0x4e2531})=>{const _0x196237=new URL(_0x4e2531),_0x154ad9=new URL(_0x12d6bd),_0x223347=new URL(_0x3c17d8);if(_0x196237['host']!==_0x223347['host']&&_0x154ad9['host']!==_0x223347['host'])return null;const _0x34679e=_0x505aaf['exec'](_0x223347['pathname']);if(!_0x34679e)return null;const [,_0x331ac7,_0x5ed55d,_0xe39ed5]=_0x34679e;return _0x331ac7?{'uuid':_0x331ac7,'cdnUrlModifiers':_0x5ed55d||'','filename':_0xe39ed5||null}:null;})({'url':_0x355f5c,'cdnBase':this['cfg']['cdnCname']});if(!_0x2bca77)throw new Error('Invalid\x20CDN\x20URL');const _0x20874c=this['_uploadCollection']['add']({'uuid':_0x2bca77['uuid'],'cdnUrl':_0x355f5c,'cdnUrlModifiers':_0x2bca77['cdnUrlModifiers'],'fileName':_0x5b9f26??_0x2bca77['filename']??null,'silent':_0x4c11f2??!0x1,'source':_0x2d6baf??_0x359f91['API']});return this['getOutputItem'](_0x20874c);};['addFileFromObject']=(_0x576f0a,{silent:_0x4b2f2d,fileName:_0x28fb0c,source:_0x37ab4a,fullPath:_0x2b16eb}={})=>{const _0x2c3bf4=this['_uploadCollection']['add']({'file':_0x576f0a,'isImage':_0x5c7cdd(_0x576f0a),'mimeType':_0x576f0a['type'],'fileName':_0x28fb0c??_0x576f0a['name'],'fileSize':_0x576f0a['size'],'silent':_0x4b2f2d??!0x1,'source':_0x37ab4a??_0x359f91['API'],'fullPath':_0x2b16eb??null});return this['getOutputItem'](_0x2c3bf4);};['removeFileByInternalId']=_0x20ec30=>{if(!this['_uploadCollection']['read'](_0x20ec30))throw new Error('File\x20with\x20internalId\x20'+_0x20ec30+'\x20not\x20found');this['_uploadCollection']['remove'](_0x20ec30);};['removeAllFiles'](){this['_uploadCollection']['clearAll']();}['uploadAll']=()=>{const _0x34a8e9=this['_uploadCollection']['items']()['filter'](_0x49fea4=>{const _0x23d1cd=this['_uploadCollection']['read'](_0x49fea4);return!!_0x23d1cd&&!(_0x23d1cd['getValue']('isRemoved')||_0x23d1cd['getValue']('isUploading')||_0x23d1cd['getValue']('fileInfo')||0x0!==_0x23d1cd['getValue']('errors')['length']||_0x23d1cd['getValue']('isValidationPending')||_0x23d1cd['getValue']('isQueuedForValidation'));});0x0!==_0x34a8e9['length']&&(this['_ctx']['$']['*uploadTrigger']=new Set(_0x34a8e9),this['_ctx']['emit'](_0x4d7bbe['COMMON_UPLOAD_START'],this['getOutputCollectionState']()));};['openSystemDialog']=(_0x2ffc0d={})=>{const _0xe9f46a=_0xa5aa39(_0x3a3cd4([this['cfg']['accept']??'',...this['cfg']['imgOnly']?_0x24e0db:[]])),_0x5b995a='uploadcare-file-input',_0x5907b4=document['createElement']('input');if(_0x5907b4['setAttribute'](_0x5b995a,''),_0x59e2b6(_0x5907b4,{'opacity':0x0,'height':0x0,'width':0x0,'visibility':'hidden','position':'absolute','top':0x0,'left':0x0}),_0x5907b4['type']='file',_0x5907b4['multiple']=this['cfg']['multiple'],_0x2ffc0d['captureCamera']){_0x5907b4['capture']=this['cfg']['cameraCapture'];const {isPhotoEnabled:_0x3f594b,isVideoRecordingEnabled:_0x3ffc67}=_0x484ec9(this['cfg']);_0x2ffc0d['modeCamera']===_0x3f065b['PHOTO']&&_0x3f594b?_0x5907b4['accept']=_0x32d08a:_0x2ffc0d['modeCamera']===_0x3f065b['VIDEO']&&_0x3ffc67?_0x5907b4['accept']=_0x3aa728:_0x5907b4['accept']=[_0x32d08a,_0x3ffc67&&_0x3aa728]['filter'](Boolean)['join'](',');}else _0x5907b4['accept']=_0xe9f46a;_0x5907b4['addEventListener']('change',()=>{_0x5907b4['files']&&([..._0x5907b4['files']]['forEach'](_0x1f274a=>{this['addFileFromObject'](_0x1f274a,{'source':_0x2ffc0d['captureCamera']?_0x359f91['CAMERA']:_0x359f91['LOCAL']});}),this['_ctx']['modalManager']?.['open'](_0x5bae2a['activities']['UPLOAD_LIST']),this['_ctx']['$']['*currentActivity']=_0x5bae2a['activities']['UPLOAD_LIST'],_0x5907b4['remove']());},{'once':!0x0}),document['querySelectorAll']('['+_0x5b995a+']')['forEach'](_0x3b07a2=>{_0x3b07a2['remove']();}),document['body']['appendChild'](_0x5907b4),_0x5907b4['dispatchEvent'](new MouseEvent('click'));};['getOutputItem'](_0x18b716){const _0x1a18f6=_0x191ad9['getCtx'](_0x18b716)['store'],_0x188acc=_0x1a18f6['fileInfo'],_0x62bfd6=_0x1a18f6['isRemoved']?'removed':_0x1a18f6['errors']['length']>0x0?'failed':_0x1a18f6['fileInfo']?'success':_0x1a18f6['isUploading']?'uploading':'idle';return{'uuid':_0x188acc?.['uuid']??_0x1a18f6['uuid']??null,'internalId':_0x18b716,'name':_0x188acc?.['originalFilename']??_0x1a18f6['fileName'],'size':_0x188acc?.['size']??_0x1a18f6['fileSize'],'isImage':_0x188acc?.['isImage']??_0x1a18f6['isImage'],'mimeType':_0x188acc?.['mimeType']??_0x1a18f6['mimeType'],'file':_0x1a18f6['file'],'externalUrl':_0x1a18f6['externalUrl'],'cdnUrlModifiers':_0x1a18f6['cdnUrlModifiers'],'cdnUrl':_0x1a18f6['cdnUrl']??_0x188acc?.['cdnUrl']??null,'fullPath':_0x1a18f6['fullPath'],'uploadProgress':_0x1a18f6['uploadProgress'],'fileInfo':_0x188acc??null,'metadata':_0x1a18f6['metadata']??_0x188acc?.['metadata']??null,'isSuccess':'success'===_0x62bfd6,'isUploading':'uploading'===_0x62bfd6,'isFailed':'failed'===_0x62bfd6,'isRemoved':'removed'===_0x62bfd6,'isValidationPending':_0x1a18f6['isValidationPending'],'errors':_0x1a18f6['errors'],'status':_0x62bfd6,'source':_0x1a18f6?.['source']};}['getOutputCollectionState'](){return _0x5ec6cb(this['_ctx']);}['initFlow']=(_0x4ebf65=!0x1)=>{if(this['_uploadCollection']['size']>0x0&&!_0x4ebf65)this['_ctx']['modalManager']?.['open'](_0x5bae2a['activities']['UPLOAD_LIST']),this['_ctx']['set$']({'*currentActivity':_0x5bae2a['activities']['UPLOAD_LIST']});else{if(0x1===this['_sourceList']?.['length']){const _0x328399=this['_sourceList'][0x0];if('local'===_0x328399)return this['_ctx']['$']['*currentActivity']=_0x5bae2a['activities']['UPLOAD_LIST'],void this['openSystemDialog']();if('camera'===_0x328399&&_0x4f0264['htmlMediaCapture']){const {isPhotoEnabled:_0x35420f,isVideoRecordingEnabled:_0x131934}=_0x484ec9(this['cfg']);if(_0x35420f&&_0x131934)return void this['_ctx']['set$']({'*currentActivity':_0x5bae2a['activities']['START_FROM']});if(_0x35420f||_0x131934)return void this['openSystemDialog']({'captureCamera':!0x0,'modeCamera':_0x35420f?_0x3f065b['PHOTO']:_0x3f065b['VIDEO']});this['openSystemDialog']({'captureCamera':!0x0,'modeCamera':_0x3f065b['PHOTO']});}const _0x4007c4=[...this['_ctx']['$']['*blocksRegistry']]['find'](_0x3b43e5=>'type'in _0x3b43e5&&_0x3b43e5['type']===_0x328399);_0x4007c4?.['activate'](),this['_ctx']['$']['*currentActivity']&&this['_ctx']['modalManager']?.['open'](this['_ctx']['$']['*currentActivity']);}else this['_ctx']['modalManager']?.['open'](_0x5bae2a['activities']['START_FROM']),this['_ctx']['set$']({'*currentActivity':_0x5bae2a['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']=(_0x33b676,..._0x4ab45e)=>{this['_ctx']['hasBlockInCtx'](_0x58d572=>_0x58d572['activityType']===_0x33b676)?this['_ctx']['set$']({'*currentActivityParams':_0x4ab45e??{},'*currentActivity':_0x33b676}):console['warn']('Activity\x20type\x20\x22'+_0x33b676+'\x22\x20not\x20found\x20in\x20the\x20context');};['getCurrentActivity']=()=>this['_ctx']['$']['*currentActivity'];['setModalState']=_0xe8e356=>{!_0xe8e356||this['_ctx']['$']['*currentActivity']?_0xe8e356?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 _0x9d589d=[];return this['cfg']['sourceList']&&(_0x9d589d=_0x25ff69(this['cfg']['sourceList'])),_0x9d589d;}},_0x555675=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':_0x80ed34,'value':null,'nullable':!0x0}),'isUploading':Object['freeze']({'type':Boolean,'value':!0x1}),'abortController':Object['freeze']({'type':AbortController,'value':null,'nullable':!0x0}),'thumbUrl':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'silent':Object['freeze']({'type':Boolean,'value':!0x1}),'source':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'fullPath':Object['freeze']({'type':String,'value':null,'nullable':!0x0}),'metadata':Object['freeze']({'type':Object,'value':null,'nullable':!0x0}),'errors':Object['freeze']({'type':Array,'value':[]}),'uploadError':Object['freeze']({'type':Error,'value':null,'nullable':!0x0}),'isRemoved':Object['freeze']({'type':Boolean,'value':!0x1}),'isQueuedForUploading':Object['freeze']({'type':Boolean,'value':!0x1}),'isValidationPending':Object['freeze']({'type':Boolean,'value':!0x1}),'isQueuedForValidation':Object['freeze']({'type':Boolean,'value':!0x1})}),_0x52baae=class _0x3f0879 extends _0x5bae2a{static ['extSrcList'];static ['sourceTypes'];['couldBeCtxOwner']=!0x1;['isCtxOwner']=!0x1;['_unobserveCollection'];['_unobserveCollectionProperties'];['init$']=_0x50a212(this);get['hasCtxOwner'](){return this['hasBlockInCtx'](_0x530f95=>_0x530f95 instanceof _0x3f0879&&(_0x530f95['isCtxOwner']&&_0x530f95['isConnected']&&_0x530f95!==this));}['initCallback'](){if(super['initCallback'](),!this['has']('*uploadCollection')){const _0x27d790=new _0xa11e94({'typedSchema':_0x555675,'watchList':['uploadProgress','uploadError','fileInfo','errors','cdnUrl','isUploading','isValidationPending']});this['add']('*uploadCollection',_0x27d790);}this['has']('*publicApi')||this['add']('*publicApi',new _0x1d1a08(this)),this['has']('*validationManager')||this['add']('*validationManager',new _0x1e4019(this)),!this['hasCtxOwner']&&this['couldBeCtxOwner']&&this['_initCtxOwner']();}get['validationManager'](){if(!this['has']('*validationManager'))throw new Error('Unexpected\x20error:\x20ValidationManager\x20is\x20not\x20initialized');return this['$']['*validationManager'];}get['api'](){if(!this['has']('*publicApi'))throw new Error('Unexpected\x20error:\x20UploaderPublicApi\x20is\x20not\x20initialized');return this['$']['*publicApi'];}['getAPI'](){return this['api'];}get['uploadCollection'](){if(!this['has']('*uploadCollection'))throw new Error('Unexpected\x20error:\x20TypedCollection\x20is\x20not\x20initialized');return this['$']['*uploadCollection'];}['destroyCtxCallback'](){this['uploadCollection']['destroy'](),this['$']['*uploadCollection']=null,super['destroyCtxCallback']();}['disconnectedCallback'](){super['disconnectedCallback'](),this['isCtxOwner']&&this['_unobserveUploadCollection']();}['connectedCallback'](){super['connectedCallback'](),this['isCtxOwner']&&this['_observeUploadCollection']();}['destroyCallback'](){super['destroyCallback'](),this['_flushOutputItems']['cancel']();}['_initCtxOwner'](){this['isCtxOwner']=!0x0,this['_observeUploadCollection'](),this['subConfigValue']('maxConcurrentRequests',_0x35bb37=>{this['$']['*uploadQueue']['concurrency']=Number(_0x35bb37)||0x1;}),this['$']['*secureUploadsManager']||(this['$']['*secureUploadsManager']=new _0x142b49(this));}['_observeUploadCollection'](){this['_unobserveUploadCollection'](),this['_unobserveCollection']=this['uploadCollection']['observeCollection'](this['_handleCollectionUpdate']),this['_unobserveCollectionProperties']=this['uploadCollection']['observeProperties'](this['_handleCollectionPropertiesUpdate']);}['_unobserveUploadCollection'](){this['_unobserveCollectionProperties']?.(),this['_unobserveCollection']?.(),this['_unobserveCollectionProperties']=void 0x0,this['_unobserveCollection']=void 0x0;}async['_createGroup'](_0x71b91e){const _0x124764=await this['getUploadClientOptions'](),_0x155914=_0x71b91e['allEntries']['map'](_0xd42b9f=>_0xd42b9f['uuid']+(_0xd42b9f['cdnUrlModifiers']?'/'+_0xd42b9f['cdnUrlModifiers']:'')),_0x398ab8=new AbortController(),_0x2ad7a7=await _0x5be1b2(_0x155914,{..._0x124764,'signal':_0x398ab8['signal']});if(this['$']['*collectionState']!==_0x71b91e)return void _0x398ab8['abort']();this['$']['*groupInfo']=_0x2ad7a7;const _0x5cc20c=this['api']['getOutputCollectionState']();this['emit'](_0x4d7bbe['GROUP_CREATED'],_0x5cc20c),this['emit'](_0x4d7bbe['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['$']['*collectionState']=_0x5cc20c;}['_flushOutputItems']=_0x1675b0(async()=>{if(this['getOutputData']()['length']!==this['uploadCollection']['size'])return;const e=this['api']['getOutputCollectionState']();this['$']['*collectionState']=e,this['emit'](_0x4d7bbe['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['cfg']['groupOutput']&&e['totalCount']>0x0&&'success'===e['status']&&this['_createGroup'](e);},0x12c);['_handleCollectionUpdate']=(_0xae4013,_0x9e2b90,_0x1efcdd)=>{(_0x9e2b90['size']||_0x1efcdd['size'])&&(this['$']['*groupInfo']=null),this['validationManager']['runFileValidators']('add',[..._0x9e2b90]['map'](_0x36348d=>_0x36348d['uid']));for(const _0x4d3acd of _0x9e2b90)_0x4d3acd['getValue']('silent')||this['emit'](_0x4d7bbe['FILE_ADDED'],this['api']['getOutputItem'](_0x4d3acd['uid']));this['validationManager']['runCollectionValidators']();for(const _0x32d961 of _0x1efcdd){this['$']['*uploadTrigger']['delete'](_0x32d961['uid']),this['validationManager']['cleanupValidationForEntry'](_0x32d961),_0x32d961['getValue']('abortController')?.['abort'](),_0x32d961['setMultipleValues']({'isRemoved':!0x0,'abortController':null,'isUploading':!0x1,'uploadProgress':0x0});const _0x32bac5=_0x32d961?.['getValue']('thumbUrl');_0x32bac5&&URL['revokeObjectURL'](_0x32bac5),this['emit'](_0x4d7bbe['FILE_REMOVED'],this['api']['getOutputItem'](_0x32d961['uid']));}this['$']['*uploadList']=_0xae4013['map'](_0x44d697=>({'uid':_0x44d697})),this['_flushCommonUploadProgress'](),this['_flushOutputItems']();};['_handleCollectionPropertiesUpdate']=_0x34c52d=>{this['_flushOutputItems']();const _0x307156=this['uploadCollection'],_0x18880c=[...new Set(Object['entries'](_0x34c52d)['filter'](([_0x1cb0cd])=>['uploadError','fileInfo','cdnUrl','cdnUrlModifiers']['includes'](_0x1cb0cd))['flatMap'](([,_0x23318a])=>[..._0x23318a]))];if(_0x18880c['length']>0x0&&setTimeout(()=>{const _0x1e3736=_0x18880c['filter'](_0x3ab1c2=>_0x34c52d['fileInfo']?.['has'](_0x3ab1c2)&&!!_0x191ad9['getCtx'](_0x3ab1c2)['store']['fileInfo']);_0x1e3736['length']>0x0&&this['validationManager']['runFileValidators']('upload',_0x1e3736),this['validationManager']['runFileValidators']('change',_0x18880c);}),_0x34c52d['uploadProgress']){for(const _0x2eee3e of _0x34c52d['uploadProgress']){const {isUploading:_0x5a533e,silent:_0x551461}=_0x191ad9['getCtx'](_0x2eee3e)['store'];_0x5a533e&&!_0x551461&&this['emit'](_0x4d7bbe['FILE_UPLOAD_PROGRESS'],this['api']['getOutputItem'](_0x2eee3e));}this['_flushCommonUploadProgress']();}if(_0x34c52d['isUploading'])for(const _0x2892e5 of _0x34c52d['isUploading']){const {isUploading:_0x5cbf3f,silent:_0x26bf92}=_0x191ad9['getCtx'](_0x2892e5)['store'];_0x5cbf3f&&!_0x26bf92&&this['emit'](_0x4d7bbe['FILE_UPLOAD_START'],this['api']['getOutputItem'](_0x2892e5));}if(_0x34c52d['fileInfo']){for(const _0x20378a of _0x34c52d['fileInfo']){const {fileInfo:_0xbf5870,silent:_0x1801a1}=_0x191ad9['getCtx'](_0x20378a)['store'];_0xbf5870&&!_0x1801a1&&this['emit'](_0x4d7bbe['FILE_UPLOAD_SUCCESS'],this['api']['getOutputItem'](_0x20378a));}this['cfg']['cropPreset']&&this['setInitialCrop'](),this['cfg']['cloudImageEditorAutoOpen']&&this['openCloudImageEditor']();}if(_0x34c52d['errors']){this['validationManager']['runCollectionValidators']();for(const _0x28a87 of _0x34c52d['errors']){const {errors:_0x4b62fe}=_0x191ad9['getCtx'](_0x28a87)['store'];_0x4b62fe['length']>0x0&&(this['emit'](_0x4d7bbe['FILE_UPLOAD_FAILED'],this['api']['getOutputItem'](_0x28a87)),this['emit'](_0x4d7bbe['COMMON_UPLOAD_FAILED'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}));}const _0x14a7d3=_0x307156['findItems'](_0x3e7bbf=>!!_0x3e7bbf['getValue']('fileInfo')),_0x2371e3=_0x307156['findItems'](_0x334eed=>_0x334eed['getValue']('errors')['length']>0x0);_0x307156['size']>0x0&&0x0===_0x2371e3['length']&&_0x307156['size']===_0x14a7d3['length']&&0x0===this['$']['*collectionErrors']['length']&&this['emit'](_0x4d7bbe['COMMON_UPLOAD_SUCCESS'],this['api']['getOutputCollectionState']());}_0x34c52d['cdnUrl']&&([..._0x34c52d['cdnUrl']]['filter'](_0x1fc409=>!!this['uploadCollection']['read'](_0x1fc409)?.['getValue']('cdnUrl'))['forEach'](_0x37dc7d=>{this['emit'](_0x4d7bbe['FILE_URL_CHANGED'],this['api']['getOutputItem'](_0x37dc7d));}),this['$']['*groupInfo']=null);};['_flushCommonUploadProgress']=()=>{let _0x111682=0x0;const _0x42281a=[...this['$']['*uploadTrigger']]['filter'](_0xabb289=>!!this['uploadCollection']['read'](_0xabb289));_0x42281a['forEach'](_0x5ebaa2=>{const _0x46d90b=this['uploadCollection']['readProp'](_0x5ebaa2,'uploadProgress');'number'==typeof _0x46d90b&&(_0x111682+=_0x46d90b);});const _0x32fb8e=_0x42281a['length']?Math['round'](_0x111682/_0x42281a['length']):0x0;this['$']['*commonProgress']!==_0x32fb8e&&(this['$']['*commonProgress']=_0x32fb8e,this['emit'](_0x4d7bbe['COMMON_UPLOAD_PROGRESS'],this['api']['getOutputCollectionState']()));};['openCloudImageEditor'](){const [_0x3e1405]=this['uploadCollection']['findItems'](_0x37cc7e=>!!_0x37cc7e['getValue']('fileInfo')&&_0x37cc7e['getValue']('isImage'))['map'](_0xcefda0=>this['uploadCollection']['read'](_0xcefda0));_0x3e1405&&0x1===this['uploadCollection']['size']&&this['cfg']['useCloudImageEditor']&&this['hasBlockInCtx'](_0x311e02=>_0x311e02['activityType']===_0x5bae2a['activities']['CLOUD_IMG_EDIT'])&&(this['$']['*currentActivityParams']={'internalId':_0x3e1405['uid']},this['$']['*currentActivity']=_0x5bae2a['activities']['CLOUD_IMG_EDIT'],this['modalManager']?.['open'](_0x5bae2a['activities']['CLOUD_IMG_EDIT']));}['setInitialCrop'](){const _0x1cc2b7=_0xf48b6f(this['cfg']['cropPreset']);if(_0x1cc2b7){const [_0x4e2862]=_0x1cc2b7,_0x1141d6=this['uploadCollection']['findItems'](_0x517e09=>!!_0x517e09['getValue']('fileInfo')&&_0x517e09['getValue']('isImage')&&!_0x517e09['getValue']('cdnUrlModifiers')?.['includes']('/crop/'))['map'](_0x335a50=>this['uploadCollection']['read'](_0x335a50))['filter'](Boolean);for(const _0x60a4b6 of _0x1141d6){const _0x42f44e=_0x60a4b6['getValue']('fileInfo');if(!_0x42f44e||!_0x42f44e['imageInfo']){console['warn']('Failed\x20to\x20get\x20image\x20info\x20for\x20entry',_0x60a4b6['uid']);continue;}const {width:_0x1c9642,height:_0xc87c9a}=_0x42f44e['imageInfo'],_0x3514ba=_0x5486b9(_0x1c9642,_0xc87c9a,'number'==typeof _0x4e2862?.['width']&&'number'==typeof _0x4e2862?.['height']&&_0x4e2862['width']>0x0&&_0x4e2862['height']>0x0?_0x4e2862['width']/_0x4e2862['height']:0x1),_0x2eb598=_0x3fb77f('crop/'+_0x3514ba['width']+'x'+_0x3514ba['height']+'/'+_0x3514ba['x']+','+_0x3514ba['y'],'preview'),_0x3f5a47=_0x60a4b6['getValue']('cdnUrl');_0x3f5a47?(_0x60a4b6['setMultipleValues']({'cdnUrlModifiers':_0x2eb598,'cdnUrl':_0x53475f(_0x3f5a47,_0x2eb598)}),0x1===this['uploadCollection']['size']&&this['cfg']['useCloudImageEditor']&&this['hasBlockInCtx'](_0x102810=>_0x102810['activityType']===_0x5bae2a['activities']['CLOUD_IMG_EDIT'])&&(this['$']['*currentActivityParams']={'internalId':_0x60a4b6['uid']},this['$']['*currentActivity']=_0x5bae2a['activities']['CLOUD_IMG_EDIT'],this['modalManager']?.['open'](_0x5bae2a['activities']['CLOUD_IMG_EDIT']))):console['warn']('Failed\x20to\x20get\x20cdnUrl\x20for\x20entry',_0x60a4b6['uid']);}}}async['getMetadataFor'](_0x3755a8){const _0x42164b=this['cfg']['metadata']||void 0x0;if('function'==typeof _0x42164b){const _0x2ddf50=this['api']['getOutputItem'](_0x3755a8);return await _0x42164b(_0x2ddf50);}return _0x42164b;}async['getUploadClientOptions'](){const _0x3cd577=this['$']['*secureUploadsManager'],_0x2e777c=await _0x3cd577['getSecureToken']()['catch'](()=>null);return{'store':this['cfg']['store'],'publicKey':this['cfg']['pubkey'],'baseCDN':this['cfg']['cdnCname'],'baseURL':this['cfg']['baseUrl'],'userAgent':_0x2b309d,'integration':this['cfg']['userAgentIntegration'],'secureSignature':_0x2e777c?.['secureSignature'],'secureExpire':_0x2e777c?.['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'](_0x52a6e5=>this['api']['getOutputItem'](_0x52a6e5));}};_0x52baae['extSrcList']=Object['freeze']({..._0x1a7add}),_0x52baae['sourceTypes']=Object['freeze']({..._0x359f91});var _0x4113ce={'width':{'ideal':0x780},'height':{'ideal':0x438},'frameRate':{'ideal':0x1e}},_0x4cc563=['camera','microphone'];function _0x436cb3(_0x20332f){return Math['floor'](_0x20332f/0x3c)['toString']()['padStart'](0x2,'0')+':'+Math['floor'](_0x20332f%0x3c)['toString']()['padStart'](0x2,'0');}var _0x45d986='image/jpeg',_0x27d308='video/webm',_0x5eed91=class extends _0x52baae{['couldBeCtxOwner']=!0x0;['activityType']=_0x5bae2a['activities']['CAMERA'];['_unsubPermissions']=null;['_capturing']=!0x1;['_chunks']=[];['_mediaRecorder']=null;['_stream']=null;['_selectedAudioId']=null;['_selectedCameraId']=null;['_activeTab']=null;['_options']={};['_canvas']=null;['_ctx']=null;['_cameraDevices']=[];['_audioDevices']=[];['_permissionResponses']={};constructor(){super(),this['init$']={...this['init$'],'video':null,'videoTransformCss':null,'videoHidden':!0x0,'messageHidden':!0x0,'requestBtnHidden':void 0x0!==navigator['permissions'],'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':_0x1c09e5=>{const _0x503f35=_0x1c09e5['target'];_0x503f35&&(this['_selectedCameraId']=_0x503f35['value'],this['_capture']());},'onAudioSelectChange':_0x50c261=>{const _0x94883a=_0x50c261['target'];_0x94883a&&(this['_selectedAudioId']=_0x94883a['value'],this['_capture']());},'onCancel':()=>{this['historyBack']();},'onShot':()=>{this['telemetryManager']['sendEvent']({'eventType':_0x6408f2['ACTION_EVENT'],'payload':{'metadata':{'event':'shot-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_shot']();},'onRequestPermissions':()=>this['_capture'](),'onStartCamera':()=>{this['telemetryManager']['sendEvent']({'eventType':_0x6408f2['ACTION_EVENT'],'payload':{'metadata':{'event':'start-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_chooseActionWithCamera']();},'onStartRecording':()=>this['_startRecording'](),'onStopRecording':()=>this['_stopRecording'](),'onToggleRecording':()=>this['_toggleRecording'](),'onToggleAudio':()=>this['_toggleEnableAudio'](),'onRetake':()=>{this['telemetryManager']['sendEvent']({'eventType':_0x6408f2['ACTION_EVENT'],'payload':{'metadata':{'event':'retake-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_retake']();},'onAccept':()=>{this['telemetryManager']['sendEvent']({'eventType':_0x6408f2['ACTION_EVENT'],'payload':{'metadata':{'event':'accept-camera','node':this['tagName'],'tabId':this['_activeTab']}}}),this['_accept']();},'onClickTab':_0x3cf283=>{const _0x2e1fc4=_0x3cf283['currentTarget'],_0x4092e0=_0x2e1fc4?.['getAttribute']('data-id');_0x4092e0&&this['_handleActiveTab'](_0x4092e0);}};}['_chooseActionWithCamera']=()=>{if(this['_activeTab']===_0x3f065b['PHOTO']&&this['_shot'](),this['_activeTab']===_0x3f065b['VIDEO']){if('recording'===this['_mediaRecorder']?.['state'])return void this['_stopRecording']();this['_startRecording']();}};['_updateTimer']=()=>{const _0x66a843=Math['floor']((performance['now']()-this['$']['_startTime']+this['$']['_elapsedTime'])/0x3e8);if('number'==typeof this['cfg']['maxVideoRecordingDuration']&&this['cfg']['maxVideoRecordingDuration']>0x0){const _0x385f44=this['cfg']['maxVideoRecordingDuration']-_0x66a843;if(_0x385f44<=0x0){const _0x2d920d=this['ref']['timer'];return _0x2d920d&&(_0x2d920d['textContent']=_0x436cb3(_0x385f44)),void this['_stopRecording']();}const _0x382738=this['ref']['timer'];_0x382738&&(_0x382738['textContent']=_0x436cb3(_0x385f44));}else{const _0x50b8a6=this['ref']['timer'];_0x50b8a6&&(_0x50b8a6['textContent']=_0x436cb3(_0x66a843));}this['_animationFrameId']=requestAnimationFrame(this['_updateTimer']);};['_startTimer']=()=>{this['$']['_startTime']=performance['now'](),this['$']['_elapsedTime']=0x0,this['_updateTimer']();};['_stopTimer']=()=>{this['_animationFrameId']&&cancelAnimationFrame(this['_animationFrameId']);};['_startTimeline']=()=>{const _0x275e71=this['ref']['video'];if(!_0x275e71)return;const _0x1967cd=_0x275e71['currentTime'],_0x3be51d=_0x275e71['duration']||0x1,_0x355472=this['ref']['line'];_0x355472&&(_0x355472['style']['transform']='scaleX('+_0x1967cd/_0x3be51d+')');const _0x80dafa=this['ref']['timer'];_0x80dafa&&(_0x80dafa['textContent']=_0x436cb3(_0x1967cd)),this['_animationFrameId']=requestAnimationFrame(this['_startTimeline']);};['_stopTimeline']=()=>{this['_animationFrameId']&&cancelAnimationFrame(this['_animationFrameId']);};['_animationFrameId']=null;['_startRecording']=()=>{try{this['_chunks']=[],this['_options']={...this['cfg']['mediaRecorderOptions']};const {mimeType:_0x4eb49a}=this['cfg']['mediaRecorderOptions']||{};_0x4eb49a&&MediaRecorder['isTypeSupported'](_0x4eb49a)?this['_options']['mimeType']=_0x4eb49a:MediaRecorder['isTypeSupported'](_0x27d308)?this['_options']['mimeType']=_0x27d308:this['_options']['mimeType']='video/mp4',this['_stream']&&(this['_mediaRecorder']=new MediaRecorder(this['_stream'],this['_options']),this['_mediaRecorder']['start'](),this['_mediaRecorder']['addEventListener']('dataavailable',_0x27f6a3=>{this['_chunks']['push'](_0x27f6a3['data']);}),this['_startTimer'](),this['classList']['add']('uc-recording'),this['_setCameraState'](_0x2fb36c['PLAY']));}catch(_0x5d30ec){console['error']('Failed\x20to\x20start\x20recording',_0x5d30ec),this['telemetryManager']['sendEventError'](_0x5d30ec,'camera\x20recording.\x20Failed\x20to\x20start\x20recording');}};['_stopRecording']=()=>{this['_mediaRecorder']?.['addEventListener']('stop',()=>{this['_previewVideo'](),this['_stopTimer'](),this['_setCameraState'](_0x2fb36c['STOP']);}),this['_mediaRecorder']?.['stop'](),this['classList']['remove']('uc-recording'),this['telemetryManager']['sendEvent']({'eventType':_0x6408f2['ACTION_EVENT'],'payload':{'metadata':{'event':'stop-camera','node':this['tagName'],'tabId':this['_activeTab']}}});};['_toggleRecording']=()=>{'recording'!==this['_mediaRecorder']?.['state']&&(!this['ref']['video']['paused']&&!this['ref']['video']['ended']&&this['ref']['video']['readyState']>0x2?this['ref']['video']['pause']():this['ref']['video']['paused']&&this['ref']['video']['play']());};['_toggleEnableAudio']=()=>{this['_stream']?.['getAudioTracks']()['forEach'](_0xadc9d3=>{_0xadc9d3['enabled']=!_0xadc9d3['enabled'],this['$']['toggleMicrophoneIcon']=_0xadc9d3['enabled']?'microphone':'microphone-mute',this['$']['audioSelectDisabled']=!_0xadc9d3['enabled'];});};['_previewVideo']=()=>{try{const _0x5d6179=new Blob(this['_chunks'],{'type':this['_mediaRecorder']?.['mimeType']}),_0x13f1df=URL['createObjectURL'](_0x5d6179),_0x319402=this['ref']['video'];if(!_0x319402)return;_0x319402['muted']=!0x1,_0x319402['volume']=0x1,this['$']['video']=null,_0x319402['src']=_0x13f1df,_0x319402['addEventListener']('play',()=>{this['_startTimeline'](),this['set$']({'currentTimelineIcon':'pause'});}),_0x319402['addEventListener']('pause',()=>{this['set$']({'currentTimelineIcon':'play'}),this['_stopTimeline']();});}catch(_0x42f8ab){console['error']('Failed\x20to\x20preview\x20video',_0x42f8ab),this['telemetryManager']['sendEventError'](_0x42f8ab,'camera\x20previewing.\x20Failed\x20to\x20preview\x20video');}};['_retake']=()=>{if(this['_setCameraState'](_0x2fb36c['RETAKE']),this['_activeTab']===_0x3f065b['VIDEO']){this['$']['video']=this['_stream'];const _0xd284cb=this['ref']['video'];_0xd284cb&&(_0xd284cb['muted']=!0x0);}this['ref']['video']?.['play']?.();};['_accept']=()=>{if(this['_setCameraState'](_0x2fb36c['ACCEPT']),this['_activeTab']===_0x3f065b['PHOTO'])return void this['_canvas']?.['toBlob'](_0x4f1776=>{if(!_0x4f1776)return;const _0xf298a4=this['_createFile']('camera','jpeg',_0x45d986,_0x4f1776);this['_toSend'](_0xf298a4);},_0x45d986);const _0x3bf89a=new Blob(this['_chunks'],{'type':this['_mediaRecorder']?.['mimeType']}),_0x1ad687=this['_guessExtensionByMime'](this['_mediaRecorder']?.['mimeType']),_0x5d9382=this['_createFile']('video',_0x1ad687,'video/'+_0x1ad687,_0x3bf89a);this['_toSend'](_0x5d9382),this['_chunks']=[];};['_handlePhoto']=_0x2dec29=>{_0x2dec29===_0x2fb36c['SHOT']&&this['set$']({'tabVideoHidden':!0x0,'cameraHidden':!0x0,'tabCameraHidden':!0x0,'cameraActionsHidden':!0x1,'cameraSelectHidden':!0x0}),_0x2dec29!==_0x2fb36c['RETAKE']&&_0x2dec29!==_0x2fb36c['ACCEPT']||this['set$']({'tabVideoHidden':!this['_cameraModes']['includes'](_0x3f065b['VIDEO']),'tabCameraHidden':!this['_cameraModes']['includes'](_0x3f065b['PHOTO']),'cameraHidden':!0x1,'cameraActionsHidden':!0x0,'cameraSelectHidden':this['_cameraDevices']['length']<=0x1});};['_handleVideo']=_0x5a0f2f=>{_0x5a0f2f===_0x2fb36c['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'}),_0x5a0f2f===_0x2fb36c['STOP']&&this['set$']({'timerHidden':!0x1,'cameraHidden':!0x0,'audioToggleMicrophoneHidden':!0x0,'cameraActionsHidden':!0x1}),_0x5a0f2f!==_0x2fb36c['RETAKE']&&_0x5a0f2f!==_0x2fb36c['ACCEPT']||this['set$']({'timerHidden':!0x0,'tabVideoHidden':!this['_cameraModes']['includes'](_0x3f065b['VIDEO']),'tabCameraHidden':!this['_cameraModes']['includes'](_0x3f065b['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']=_0x585af4=>{this['_activeTab']!==_0x3f065b['PHOTO']||'shot'!==_0x585af4&&'retake'!==_0x585af4&&'accept'!==_0x585af4||this['_handlePhoto'](_0x585af4),this['_activeTab']!==_0x3f065b['VIDEO']||'play'!==_0x585af4&&'stop'!==_0x585af4&&'retake'!==_0x585af4&&'accept'!==_0x585af4&&'pause'!==_0x585af4&&'resume'!==_0x585af4||this['_handleVideo'](_0x585af4);};['_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']=_0x1a6c77=>{const _0x2b3e55=this['ref']['switcher'];_0x2b3e55?.['querySelectorAll']('button')['forEach'](_0xa8de46=>{_0xa8de46['classList']['toggle']('uc-active',_0xa8de46['getAttribute']('data-id')===_0x1a6c77);}),_0x1a6c77===_0x3f065b['PHOTO']&&this['set$']({'currentIcon':'camera-full','audioSelectHidden':!0x0,'audioToggleMicrophoneHidden':!0x0}),_0x1a6c77===_0x3f065b['VIDEO']&&this['set$']({'currentTimelineIcon':'play','currentIcon':'video-camera-full','audioSelectHidden':!this['cfg']['enableAudioRecording']||this['_audioDevices']['length']<=0x1,'audioToggleMicrophoneHidden':!this['cfg']['enableAudioRecording']}),this['telemetryManager']['sendEvent']({'eventType':_0x6408f2['ACTION_EVENT'],'payload':{'metadata':{'event':'camera-tab-switch','node':this['tagName'],'tabId':_0x1a6c77}}}),this['_activeTab']=_0x1a6c77;};['_createFile']=(_0x1456d8,_0x400101,_0x15c711,_0x52d55b)=>{const _0x36b60e=Date['now']();return new File([_0x52d55b],_0x1456d8+'-'+_0x36b60e+'.'+_0x400101,{'lastModified':_0x36b60e,'type':_0x15c711});};['_guessExtensionByMime'](_0x5b8a13){const _0x270278={'mp4':'mp4','ogg':'ogg','webm':'webm','quicktime':'mov','x-matroska':'mkv'};if(''===_0x5b8a13)return'webm';if(_0x5b8a13){const _0x2461f1=_0x5b8a13['split']('/');if('video'===_0x2461f1?.[0x0]){const _0x5099d4=_0x2461f1['slice'](0x1)['join']('/'),_0x3611f1=_0x5099d4?.['split'](';')[0x0];if(_0x3611f1&&_0x270278[_0x3611f1])return _0x270278[_0x3611f1];}}return'avi';}['_toSend']=_0x56740e=>{this['api']['addFileFromObject'](_0x56740e,{'source':_0x359f91['CAMERA']}),this['set$']({'*currentActivity':_0x5bae2a['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](_0x5bae2a['activities']['UPLOAD_LIST']);};get['_cameraModes'](){return _0x25ff69(this['cfg']['cameraModes'])['filter'](_0xb032e6=>_0xb032e6===_0x3f065b['PHOTO']||_0xb032e6===_0x3f065b['VIDEO']);}['_setPermissionsState']=_0x1675b0(e=>{this['classList']['toggle']('uc-initialized','granted'===e);const i=this['_activeTab']===_0x3f065b['VIDEO']&&this['cfg']['enableAudioRecording'],s=this['_activeTab']===_0x3f065b['PHOTO']?'camera-full':'video-camera-full';'granted'===e?this['set$']({'videoHidden':!0x1,'cameraHidden':!0x1,'tabCameraHidden':!this['_cameraModes']['includes'](_0x3f065b['PHOTO']),'tabVideoHidden':!this['_cameraModes']['includes'](_0x3f065b['VIDEO']),'messageHidden':!0x0,'timerHidden':!0x0,'currentIcon':s,'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'](_0x3f065b['PHOTO']),'tabVideoHidden':!this['_cameraModes']['includes'](_0x3f065b['VIDEO']),'cameraActionsHidden':!0x0,'mutableClassButton':'uc-shot-btn\x20uc-camera-action'}),this['_stopCapture']());},0x12c);['_makeStreamInactive']=()=>{if(!this['_stream'])return!0x1;const _0x1b7e4b=this['_stream']?.['getAudioTracks'](),_0x405ce7=this['_stream']?.['getVideoTracks']();return _0x1b7e4b['forEach'](_0x366288=>{_0x366288['stop']();}),_0x405ce7['forEach'](_0x697328=>{_0x697328['stop']();}),!0x0;};['_stopCapture']=()=>{if(this['_capturing']){this['ref']['video']['volume']=0x0;const _0x4b15e5=this['$']['video']?.['getTracks']?.();_0x4b15e5?.[0x0]?.['stop'](),this['$']['video']=null,this['_makeStreamInactive'](),this['_stopTimer'](),this['_capturing']=!0x1;}};['_capture']=async()=>{const _0x15a45b={'video':{..._0x4113ce},'audio':!!this['cfg']['enableAudioRecording']&&{}};this['_selectedCameraId']&&(_0x15a45b['video']={'deviceId':{'exact':this['_selectedCameraId']}}),this['_selectedAudioId']&&this['cfg']['enableAudioRecording']&&(_0x15a45b['audio']={'deviceId':{'exact':this['_selectedAudioId']}}),this['ref']['video']&&(this['ref']['video']['volume']=0x0);try{this['_setPermissionsState']('prompt'),this['_stream']=await navigator['mediaDevices']['getUserMedia'](_0x15a45b),this['_stream']['addEventListener']('inactive',()=>{this['_setPermissionsState']('denied');}),this['$']['video']=this['_stream'],this['_capturing']=!0x0,this['_setPermissionsState']('granted');}catch(_0x24cc06){this['_setPermissionsState']('denied'),console['log']('Failed\x20to\x20capture\x20camera',_0x24cc06),this['telemetryManager']['sendEventError'](_0x24cc06,'camera\x20capturing.\x20Failed\x20to\x20capture\x20camera');}};['_handlePermissionsChange']=()=>{this['_capture']();};['_permissionAccess']=async()=>{try{for(const _0x2e7317 of _0x4cc563){const _0x5a685b=await navigator['permissions']['query']({'name':_0x2e7317});this['_permissionResponses'][_0x2e7317]=_0x5a685b,_0x5a685b['addEventListener']('change',this['_handlePermissionsChange']);}}catch(_0x4fa94f){console['log']('Failed\x20to\x20use\x20permissions\x20API.\x20Fallback\x20to\x20manual\x20request\x20mode.',_0x4fa94f),this['telemetryManager']['sendEventError'](_0x4fa94f,'camera\x20permissions.\x20Failed\x20to\x20use\x20permissions\x20API'),this['_capture']();}};['_getPermission']=()=>{};['_requestDeviceAccess']=async()=>{try{await navigator['mediaDevices']['getUserMedia']({'video':!0x0,'audio':this['cfg']['enableAudioRecording']}),await this['_getDevices'](),navigator['mediaDevices']['addEventListener']('devicechange',this['_getDevices']);}catch(_0x43f5e0){this['telemetryManager']['sendEventError'](_0x43f5e0,'camera\x20devices.\x20Failed\x20to\x20get\x20user\x20media'),console['log']('Failed\x20to\x20get\x20user\x20media',_0x43f5e0);}};['_getDevices']=async()=>{try{const _0x3117aa=await navigator['mediaDevices']['enumerateDevices']();this['_cameraDevices']=_0x3117aa['filter'](_0x5aa80b=>'videoinput'===_0x5aa80b['kind'])['map']((_0x1a9a88,_0x32a940)=>({'text':_0x1a9a88['label']['trim']()||this['l10n']('caption-camera')+'\x20'+(_0x32a940+0x1),'value':_0x1a9a88['deviceId']})),this['_audioDevices']=this['cfg']['enableAudioRecording']?_0x3117aa['filter'](_0x5a3994=>'audioinput'===_0x5a3994['kind'])['map'](_0x3a9d90=>({'text':_0x3a9d90['label']['trim'](),'value':_0x3a9d90['deviceId']})):[],this['_cameraDevices']['length']>0x1&&this['set$']({'cameraSelectOptions':this['_cameraDevices'],'cameraSelectHidden':!0x1}),this['_selectedCameraId']=this['_cameraDevices'][0x0]?.['value']??null,this['_audioDevices']['length']>0x1&&this['set$']({'audioSelectOptions':this['_audioDevices'],'audioSelectHidden':!0x1}),this['_selectedAudioId']=this['_audioDevices'][0x0]?.['value']??null;}catch(_0x193ad5){this['telemetryManager']['sendEventError'](_0x193ad5,'camera\x20devices.\x20Failed\x20to\x20get\x20devices'),console['log']('Failed\x20to\x20get\x20devices',_0x193ad5);}};['_onActivate']=async()=>{await this['_permissionAccess'](),await this['_requestDeviceAccess'](),await this['_capture'](),this['_handleCameraModes'](this['_cameraModes']);};['_onDeactivate']=async()=>{this['_unsubPermissions']&&this['_unsubPermissions'](),(Boolean(window['chrome'])||this['_setPermissionsState']('denied'),this['_stopCapture']());};['_handleCameraModes']=_0x1dc12e=>{this['$']['tabVideoHidden']=!_0x1dc12e['includes'](_0x3f065b['VIDEO']),this['$']['tabCameraHidden']=!_0x1dc12e['includes'](_0x3f065b['PHOTO']);const _0x320c2e=_0x1dc12e[0x0];!_0x320c2e||this['_activeTab']&&_0x1dc12e['includes'](this['_activeTab'])||this['_handleActiveTab'](_0x320c2e);};['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':this['_onActivate'],'onDeactivate':this['_onDeactivate']}),this['subConfigValue']('cameraMirror',_0x23489c=>{this['$']['videoTransformCss']=_0x23489c?'scaleX(-1)':null;}),this['subConfigValue']('enableAudioRecording',_0x91228e=>{this['$']['audioToggleMicrophoneHidden']=!_0x91228e,this['$']['audioSelectDisabled']=!_0x91228e;}),this['subConfigValue']('cameraModes',_0x3847a7=>{if(!this['isActivityActive'])return;const _0x29fb61=_0xa04383(_0x3847a7);this['_handleCameraModes'](_0x29fb61['filter'](_0x3b9dc4=>_0x3b9dc4===_0x3f065b['PHOTO']||_0x3b9dc4===_0x3f065b['VIDEO']));});}['_destroy'](){for(const _0x59e975 of _0x4cc563)this['_permissionResponses'][_0x59e975]?.['removeEventListener']('change',this['_handlePermissionsChange']);navigator['mediaDevices']?.['removeEventListener']('devicechange',this['_getDevices']);}async['destroyCallback'](){super['destroyCallback'](),this['_destroy']();}};_0x5eed91['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*historyBack\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:back\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22back\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20<div\x20set=\x22@hidden:\x20!cameraSelectHidden\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22camera\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22caption-camera\x22></span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<uc-select\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-camera-select\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22$.options:\x20cameraSelectOptions;\x20@hidden:\x20cameraSelectHidden;\x20onchange:\x20onCameraSelectChange\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20</uc-select>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*closeModal\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x20\x20<div\x20class=\x22uc-content\x22>\x0a\x20\x20\x20\x20<video\x0a\x20\x20\x20\x20\x20\x20muted\x0a\x20\x20\x20\x20\x20\x20autoplay\x0a\x20\x20\x20\x20\x20\x20playsinline\x0a\x20\x20\x20\x20\x20\x20set=\x22srcObject:\x20video;\x20style.transform:\x20videoTransformCss;\x20@hidden:\x20videoHidden\x22\x0a\x20\x20\x20\x20\x20\x20ref=\x22video\x22\x0a\x20\x20\x20\x20></video>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-message-box\x22\x20set=\x22@hidden:\x20messageHidden\x22>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22l10nMessage\x22></span>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onRequestPermissions;\x20@hidden:\x20requestBtnHidden\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20l10n=\x22camera-permissions-request\x22\x0a\x20\x20\x20\x20\x20\x20></button>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a\x0a\x20\x20<div\x20class=\x22uc-controls\x22>\x0a\x20\x20\x20\x20<div\x20ref=\x22switcher\x22\x20class=\x22uc-switcher\x22\x20set=\x22@hidden:!timerHidden\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22photo\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-switch\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onClickTab;\x20\x20@hidden:\x20tabCameraHidden\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22camera\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22video\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-switch\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onClickTab;\x20@hidden:\x20tabVideoHidden\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22video-camera\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-secondary-btn\x20uc-recording-timer\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22@hidden:timerHidden;\x20onclick:\x20onToggleRecording\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20currentTimelineIcon\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20ref=\x22timer\x22>\x2000:00\x20</span>\x0a\x20\x20\x20\x20\x20\x20<span\x20ref=\x22line\x22\x20class=\x22uc-line\x22></span>\x0a\x20\x20\x20\x20</button>\x0a\x0a\x20\x20\x20\x20<div\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-camera-actions\x20uc-camera-action\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22@hidden:\x20cameraActionsHidden\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-secondary-btn\x22\x20set=\x22onclick:\x20onRetake\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20Retake\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onAccept\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-testid=\x22accept\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20Accept\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-shot-btn\x20uc-camera-action\x22\x0a\x20\x20\x20\x20\x20\x20data-testid=\x22shot\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onStartCamera;\x20@class:\x20mutableClassButton;\x20@hidden:\x20cameraHidden;\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:\x20currentIcon\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x0a\x20\x20\x20\x20<div\x20class=\x22uc-select\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-btn-microphone\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onToggleAudio;\x20@hidden:\x20audioToggleMicrophoneHidden;\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20set=\x22@name:toggleMicrophoneIcon\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x0a\x20\x20\x20\x20\x20\x20<uc-select\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-audio-select\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22$.options:\x20audioSelectOptions;\x20onchange:\x20onAudioSelectChange;\x20@hidden:\x20audioSelectHidden;\x20@disabled:\x20audioSelectDisabled\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20</uc-select>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a';var _0x1f24e8='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=';function _0x20e24a(..._0x250d45){return _0x250d45['reduce']((_0x2a561f,_0x1b6264)=>{if('string'==typeof _0x1b6264)return _0x2a561f[_0x1b6264]=!0x0,_0x2a561f;for(const _0x5e47ed of Object['keys'](_0x1b6264))_0x2a561f[_0x5e47ed]=_0x1b6264[_0x5e47ed];return _0x2a561f;},{});}function _0x19a8c9(..._0x58945d){const _0x2a3cd3=_0x20e24a(..._0x58945d);return Object['keys'](_0x2a3cd3)['reduce']((_0x13c275,_0x3a16d2)=>(_0x2a3cd3[_0x3a16d2]&&_0x13c275['push'](_0x3a16d2),_0x13c275),[])['join']('\x20');}var _0x5e9443=_0x75a81c=>_0x4a517a['includes'](_0x75a81c),_0x3b36e9='\x0a\x20\x20<svg\x20width=\x270\x27\x20height=\x270\x27\x20style=\x27position:absolute\x27><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x209\x206\x27\x20id=\x27uc-icon-arrow-dropdown\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke=\x27currentColor\x27\x20d=\x27m1.5\x201.667\x203\x202.666\x203-2.666\x27\x20opacity=\x27.5\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-aspect-ratio\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27/><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-brightness\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M15\x2010a5\x205\x200\x200\x201-5\x205m5-5a5\x205\x200\x200\x200-5-5m5\x205h-5m0\x205a5\x205\x200\x200\x201\x200-10m0\x2010V5m0\x2015v-3M2.93\x202.929\x205.05\x205.05M0\x2010h3m-.07\x207.071\x202.12-2.121M10\x200v3m7.07\x2014.071-2.12-2.121M20\x2010h-3m.07-7.071L14.95\x205.05m-.626\x202.45H10m4.324\x205H10\x27/></symbol><symbol\x20fill=\x27currentColor\x27\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-closeMax\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20d=\x27M8.232\x2010\x203.585\x205.353l1.768-1.768L10\x208.232l4.648-4.647\x201.767\x201.768L11.768\x2010l4.647\x204.648-1.767\x201.767L10\x2011.768l-4.647\x204.647-1.768-1.767L8.232\x2010Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-contrast\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M2\x2010a8\x208\x200\x201\x200\x2016\x200\x208\x208\x200\x201\x200-16\x200m8-8v16m8-8h-8m7.598\x202.5H10m6.24\x202.5H10m7.6-7.5H10M16.242\x205H10\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-crop\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M20\x2014H7.005C6.45\x2014\x206\x2013.55\x206\x2012.995V0M0\x206h13.067c.515\x200\x20.933.418.933.933V20M14.5.4\x2013\x202l1.5\x201.6M13\x202h2a3\x203\x200\x200\x201\x203\x203v2M5.5\x2019.6\x207\x2018l-1.5-1.6M7\x2018H5a3\x203\x200\x200\x201-3-3v-2\x27/></symbol><symbol\x20fill=\x27currentColor\x27\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-done\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20d=\x27m18.057\x206.333-9.365\x209.125a1.25\x201.25\x200\x200\x201-1.768-.023L1.92\x2010.296l1.791-1.744\x204.132\x204.243\x208.47-8.253\x201.744\x201.79Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20fill=\x27currentColor\x27\x20viewBox=\x270\x200\x2025\x2024\x27\x20id=\x27uc-icon-edit-file\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20fill-rule=\x27evenodd\x27\x20d=\x27M18.558\x202.804a.78.78\x200\x200\x200-.557.235l-.008.007-2.472\x202.46\x203.847\x203.848\x202.46-2.473.004-.003a.78.78\x200\x200\x200\x200-1.108l-.004-.003-2.712-2.728a.78.78\x200\x200\x200-.558-.235Zm-.248\x207.613-3.852-3.852-8.93\x208.887-1.516\x205.41\x205.41-1.515\x208.888-8.93Zm-.636-8.934a2.28\x202.28\x200\x200\x201\x202.512.505l2.702\x202.717.002.002a2.278\x202.278\x200\x200\x201\x200\x203.234l-.002.002-12.541\x2012.602a.75.75\x200\x200\x201-.33.193l-6.884\x201.928a.75.75\x200\x200\x201-.925-.924l1.928-6.885a.75.75\x200\x200\x201\x20.193-.33l12.603-12.54a2.28\x202.28\x200\x200\x201\x20.742-.504Z\x27\x20clip-rule=\x27evenodd\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-enhance\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M19\x2013h-2m0\x200a4\x204\x200\x200\x201-4-4m4\x204a4\x204\x200\x200\x200-4\x204m0-8V7m0\x202a4\x204\x200\x200\x201-4\x204m-2\x200h2m0\x200a4\x204\x200\x200\x201\x204\x204m0\x200v2M8\x208.5H6.5m0\x200a2\x202\x200\x200\x201-2-2m2\x202a2\x202\x200\x200\x200-2\x202m0-4V5m0\x201.5a2\x202\x200\x200\x201-2\x202M1\x208.5h1.5m0\x200a2\x202\x200\x200\x201\x202\x202m0\x200V12M12\x203h-1m0\x200a1\x201\x200\x200\x201-1-1m1\x201a1\x201\x200\x200\x200-1\x201m0-2V1m0\x201a1\x201\x200\x200\x201-1\x201M8\x203h1m0\x200a1\x201\x200\x200\x201\x201\x201m0\x200v1\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-exposure\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M10\x2020v-3M2.93\x202.929\x205.05\x205.05M0\x2010h3m-.07\x207.071\x202.12-2.121M10\x200v3m7.07\x2014.071-2.12-2.121M20\x2010h-3m.07-7.071L14.95\x205.05M5\x2010a5\x205\x200\x201\x200\x2010\x200\x205\x205\x200\x201\x200-10\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-filters\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M4.5\x206.5a5.5\x205.5\x200\x201\x200\x2011\x200\x205.5\x205.5\x200\x201\x200-11\x200m-3.5\x206a5.5\x205.5\x200\x201\x200\x2011\x200\x205.5\x205.5\x200\x201\x200-11\x200m7\x200a5.5\x205.5\x200\x201\x200\x2011\x200\x205.5\x205.5\x200\x201\x200-11\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-flip\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M19.6\x205\x2018\x203.5\x2016.4\x205m3.2\x2010L18\x2016.5\x2016.4\x2015M18\x203.523v12.954M3.3\x208.5h10.654c.301\x200\x20.415-.395.159-.554L3.459\x201.286A.3.3\x200\x200\x200\x203\x201.542V8.2a.3.3\x200\x200\x200\x20.3.3zm0\x203h10.654c.301\x200\x20.415.395.159.554l-10.654\x206.66A.3.3\x200\x200\x201\x203\x2018.458v-6.66a.3.3\x200\x200\x201\x20.3-.3z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-gamma\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M17\x203C9\x206\x202.5\x2011.5\x202.5\x2017.5m0\x200h1m-1\x200v-1m14\x201h1m-3\x200h1m-3\x200h1m-3\x200h1m-3\x200h1m-3\x200h1m-3\x200h1m-3-14v-1m0\x203v-1m0\x203v-1m0\x203v-1m0\x203v-1m0\x203v-1m0\x203v-1\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-mirror\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M5\x20.4\x203.5\x202\x205\x203.6M15\x20.4\x2016.5\x202\x2015\x203.6M3.52\x202h12.957M8.5\x2016.7V6.046c0-.301-.394-.415-.554-.159L1.287\x2016.541a.3.3\x200\x200\x200\x20.255.459H8.2a.3.3\x200\x200\x200\x20.3-.3zm3\x200V6.046c0-.301.395-.415.555-.159l6.659\x2010.654a.3.3\x200\x200\x201-.255.459H11.8a.3.3\x200\x200\x201-.3-.3z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2040\x2040\x27\x20id=\x27uc-icon-original\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.5\x27\x20d=\x27M0\x2040\x2040\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-rotate\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M13.5.4\x2012\x202l1.5\x201.6M12.023\x202H14.4A3.6\x203.6\x200\x200\x201\x2018\x205.6V8M4\x2017h9a1\x201\x200\x200\x200\x201-1V7a1\x201\x200\x200\x200-1-1H4a1\x201\x200\x200\x200-1\x201v9a1\x201\x200\x200\x200\x201\x201z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-sad\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M2\x2017c4.418-4\x2011.582-4\x2016\x200M16.5\x205a1\x201\x200\x201\x201-2\x200\x201\x201\x200\x200\x201\x202\x200zm-11\x200a1\x201\x200\x201\x201-2\x200\x201\x201\x200\x200\x201\x202\x200z\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-saturation\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><defs><linearGradient\x20id=\x27ruc-icon-id__a\x27\x20x1=\x2710.001\x27\x20y1=\x271\x27\x20x2=\x2710.001\x27\x20y2=\x2719\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient></defs><circle\x20cx=\x2710.001\x27\x20cy=\x2710\x27\x20r=\x279\x27\x20transform=\x27rotate(90\x2010\x2010)\x27\x20fill=\x27url(#ruc-icon-id__a)\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-slider\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M0\x2010h11m0\x200a2\x202\x200\x201\x200\x204\x200m-4\x200a2\x202\x200\x201\x201\x204\x200m0\x200h5\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-tuning\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke-linejoin=\x27round\x27\x20fill=\x27none\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20d=\x27M8\x2010h11M1\x2010h4M1\x204.5h11m3\x200h4m-18\x2011h11m3\x200h4m-7-11a1.5\x201.5\x200\x201\x200\x203\x200\x201.5\x201.5\x200\x201\x200-3\x200M5\x2010a1.5\x201.5\x200\x201\x200\x203\x200\x201.5\x201.5\x200\x201\x200-3\x200m7\x205.5a1.5\x201.5\x200\x201\x200\x203\x200\x201.5\x201.5\x200\x201\x200-3\x200\x27/></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-vibrance\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20d=\x27M2.125\x205.64A8.96\x208.96\x200\x200\x200\x201.001\x2010a8.96\x208.96\x200\x200\x200\x201.124\x204.36V5.64z\x27\x20fill=\x27url(#uuc-icon-id__a)\x27/><path\x20d=\x27M2.875\x2015.499V4.502a9.053\x209.053\x200\x200\x201\x201.75-1.72v14.437a9.05\x209.05\x200\x200\x201-1.75-1.72z\x27\x20fill=\x27url(#uuc-icon-id__b)\x27/><path\x20d=\x27M5.375\x2017.722c.548.33\x201.134.601\x201.75.809V1.469a8.956\x208.956\x200\x200\x200-1.75.81v15.443z\x27\x20fill=\x27url(#uuc-icon-id__c)\x27/><path\x20d=\x27M7.875\x201.253v17.495c.564.136\x201.15.22\x201.75.244V1.008a9\x209\x200\x200\x200-1.75.245z\x27\x20fill=\x27url(#uuc-icon-id__d)\x27/><path\x20d=\x27M10.375\x201.008v17.984a9\x209\x200\x200\x200\x201.75-.244V1.252a9\x209\x200\x200\x200-1.75-.244z\x27\x20fill=\x27url(#uuc-icon-id__e)\x27/><path\x20d=\x27M12.875\x201.469V18.53a8.957\x208.957\x200\x200\x200\x201.75-.808V2.277a8.957\x208.957\x200\x200\x200-1.75-.808z\x27\x20fill=\x27url(#uuc-icon-id__f)\x27/><path\x20d=\x27M15.375\x202.78v14.44a9.053\x209.053\x200\x200\x200\x201.75-1.72v-11a9.054\x209.054\x200\x200\x200-1.75-1.72z\x27\x20fill=\x27url(#uuc-icon-id__g)\x27/><path\x20d=\x27M17.875\x205.638v8.724A8.959\x208.959\x200\x200\x200\x2019.001\x2010a8.96\x208.96\x200\x200\x200-1.126-4.362z\x27\x20fill=\x27url(#uuc-icon-id__h)\x27/><defs><linearGradient\x20id=\x27uuc-icon-id__a\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__b\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__c\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__d\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__e\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__f\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__g\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient><linearGradient\x20id=\x27uuc-icon-id__h\x27\x20x1=\x2719.001\x27\x20y1=\x2710\x27\x20x2=\x271.001\x27\x20y2=\x2710\x27\x20gradientUnits=\x27userSpaceOnUse\x27><stop\x20stop-color=\x27#DE15FF\x27/><stop\x20offset=\x27.203\x27\x20stop-color=\x27#0029FF\x27/><stop\x20offset=\x27.479\x27\x20stop-color=\x27#2AE4F0\x27/><stop\x20offset=\x27.604\x27\x20stop-color=\x27#15EF11\x27/><stop\x20offset=\x27.75\x27\x20stop-color=\x27#FAE528\x27/><stop\x20offset=\x271\x27\x20stop-color=\x27#EB2A2A\x27/></linearGradient></defs></symbol><symbol\x20viewBox=\x270\x200\x2020\x2020\x27\x20id=\x27uc-icon-warmth\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20d=\x27m7.5\x2013.05.429.42.171-.175v-.244h-.6zm5\x200h-.6v.245l.172.175.428-.42zM8.1\x203.5c0-1.05.85-1.9\x201.9-1.9V.4a3.1\x203.1\x200\x200\x200-3.1\x203.1h1.2zm0\x209.55V3.5H6.9v9.55h1.2zm-1\x202.45c0-.79.315-1.506.829-2.03l-.858-.84A4.088\x204.088\x200\x200\x200\x205.9\x2015.5h1.2zm2.9\x202.9a2.9\x202.9\x200\x200\x201-2.9-2.9H5.9a4.1\x204.1\x200\x200\x200\x204.1\x204.1v-1.2zm2.9-2.9a2.9\x202.9\x200\x200\x201-2.9\x202.9v1.2a4.1\x204.1\x200\x200\x200\x204.1-4.1h-1.2zm-.829-2.03c.514.524.829\x201.24.829\x202.03h1.2c0-1.117-.447-2.13-1.171-2.87l-.858.84zM11.9\x203.5v9.55h1.2V3.5h-1.2zM10\x201.6c1.05\x200\x201.9.85\x201.9\x201.9h1.2A3.1\x203.1\x200\x200\x200\x2010\x20.4v1.2z\x27\x20fill=\x27currentColor\x27/><path\x20d=\x27M10\x2014V8\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27\x20stroke-linecap=\x27round\x27/><path\x20d=\x27M14\x203h3m-3\x203h3m-3\x203h3m-8\x206.5a1\x201\x200\x201\x200\x202\x200\x201\x201\x200\x201\x200-2\x200\x27\x20stroke=\x27currentColor\x27\x20stroke-width=\x271.2\x27/></symbol></svg>\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'+_0x1f24e8+'\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',_0x483259=class extends _0x203425{['ctxOwner']=!0x0;static ['styleAttrs']=['uc-cloud-image-editor'];['_debouncedShowLoader']=_0x1675b0(this['_showLoader']['bind'](this),0x12c);constructor(){var _0x4a48c6;super(),this['init$']={...this['init$'],...(_0x4a48c6=this,{'*originalUrl':null,'*faderEl':null,'*cropperEl':null,'*imgEl':null,'*imgContainerEl':null,'*networkProblems':!0x1,'*imageSize':null,'*editorTransformations':{},'*cropPresetList':[],'*currentAspectRatio':null,'*tabList':_0x4a517a,'*tabId':_0x9c22ab['CROP'],'entry':null,'extension':null,'editorMode':!0x1,'modalCaption':'','isImage':!0x1,'msg':'','src':_0x1f24e8,'fileType':'','showLoader':!0x1,'uuid':null,'cdnUrl':null,'cropPreset':'','tabs':_0xa5aa39([..._0x4a517a]),'presence.networkProblems':!0x1,'presence.modalCaption':!0x0,'presence.editorToolbar':!0x1,'presence.viewerToolbar':!0x0,'*on.retryNetwork':()=>{const _0x346ce7=_0x4a48c6['querySelectorAll']('img');for(const _0x14ee25 of _0x346ce7){const _0x4c95e3=_0x14ee25['src'];_0x14ee25['src']=_0x1f24e8,_0x14ee25['src']=_0x4c95e3;}_0x4a48c6['$']['*networkProblems']=!0x1;},'*on.apply':_0x1b40e0=>{if(!_0x1b40e0)return;const _0x4d5536=_0x4a48c6['$']['*originalUrl'],_0x8f85cf=_0x3fb77f(_0x3dbdd3(_0x1b40e0),'preview'),_0x151e27={'originalUrl':_0x4d5536,'cdnUrlModifiers':_0x8f85cf,'cdnUrl':_0x53475f(_0x4d5536,_0x8f85cf),'transformations':_0x1b40e0};_0x4a48c6['dispatchEvent'](new CustomEvent('apply',{'detail':_0x151e27,'bubbles':!0x0,'composed':!0x0})),_0x4a48c6['remove']();},'*on.cancel':()=>{_0x4a48c6['remove'](),_0x4a48c6['dispatchEvent'](new CustomEvent('cancel',{'bubbles':!0x0,'composed':!0x0}));}})};}['_showLoader'](_0x3cd670){this['$']['showLoader']=_0x3cd670;}['_waitForSize'](){return new Promise((_0x345e57,_0x14ced6)=>{const _0x47cf83=window['setTimeout'](()=>{_0x14ced6(new Error('[cloud-image-editor]\x20timeout\x20waiting\x20for\x20non-zero\x20container\x20size'));},0xbb8),_0x309c6f=new ResizeObserver(_0x23c3c9=>{const [_0x34caa9]=_0x23c3c9;_0x34caa9&&_0x34caa9['contentRect']['width']>0x0&&_0x34caa9['contentRect']['height']>0x0&&(window['clearTimeout'](_0x47cf83),_0x309c6f['disconnect'](),window['setTimeout'](()=>_0x345e57(),0x0));});_0x309c6f['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 _0x18be46=this['$']['cdnUrl'],_0xd648d7=_0x245098(_0x18be46),_0x3468cf=_0x3de603(_0x18be46,_0xd648d7);if(_0x3468cf===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x3468cf;const _0xcd7311=_0x2459b5(_0x891262(_0x18be46));this['$']['*editorTransformations']=_0xcd7311;}else{if(!this['$']['uuid'])throw new Error('No\x20UUID\x20nor\x20CDN\x20URL\x20provided');{const _0x449c29=_0x3de603(this['cfg']['cdnCname'],this['$']['uuid']);if(_0x449c29===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x449c29,this['$']['*editorTransformations']={};}}this['$']['*tabId']===_0x9c22ab['CROP']?this['$']['*cropperEl']?.['deactivate']({'reset':!0x0}):this['$']['*faderEl']?.['deactivate']();try{const _0x541624=this['$']['*originalUrl'],_0x33769e=await this['proxyUrl'](_0x53475f(_0x541624,_0x3fb77f('json'))),_0xf1bd4a=await fetch(_0x33769e)['then'](_0x4b68fe=>_0x4b68fe['json']()),{width:_0x5aa85b,height:_0x4b6d04}=_0xf1bd4a;this['$']['*imageSize']={'width':_0x5aa85b,'height':_0x4b6d04},this['$']['*tabId']===_0x9c22ab['CROP']?this['$']['*cropperEl']?.['activate'](this['$']['*imageSize']):this['$']['*faderEl']?.['activate']({'url':_0x541624});}catch(_0x4cbcbf){_0x4cbcbf&&(this['telemetryManager']['sendEventError'](_0x4cbcbf,'cloud\x20editor\x20image.\x20Failed\x20to\x20load\x20image\x20info'),console['error']('Failed\x20to\x20load\x20image\x20info',_0x4cbcbf));}}}async['initEditor'](){try{await this['_waitForSize']();}catch(_0x397fa8){return void(this['isConnected']&&console['error'](_0x397fa8['message']));}this['ref']['img-el']['addEventListener']('load',()=>{this['_debouncedShowLoader'](!0x1),this['$']['src']!==_0x1f24e8&&(this['$']['*networkProblems']=!0x1);}),this['ref']['img-el']['addEventListener']('error',()=>{this['_debouncedShowLoader'](!0x1),this['$']['*networkProblems']=!0x0;}),this['sub']('src',_0x337dc0=>{const _0x38cc8d=this['ref']['img-el'];_0x38cc8d['src']!==_0x337dc0&&(_0x38cc8d['src']=_0x337dc0||_0x1f24e8);}),this['sub']('tabs',_0x4d23ea=>{this['$']['*tabList']=(_0x4dbfeb=>{if(!_0x4dbfeb)return _0x4a517a;const _0x4b3df4=_0xa04383(_0x4dbfeb)['filter'](_0x5e9443);return 0x0===_0x4b3df4['length']?_0x4a517a:_0x4b3df4;})(_0x4d23ea);}),this['sub']('*tabId',_0x236eda=>{this['ref']['img-el']['className']=_0x19a8c9('uc-image',{'uc-image_hidden_to_cropper':_0x236eda===_0x9c22ab['CROP'],'uc-image_hidden_effects':_0x236eda!==_0x9c22ab['CROP']});}),this['classList']['add']('uc-editor_ON'),this['sub']('*networkProblems',_0x549d5b=>{this['$']['presence.networkProblems']=_0x549d5b,this['$']['presence.modalCaption']=!_0x549d5b;}),this['sub']('*editorTransformations',_0x5dafd9=>{if(0x0===Object['keys'](_0x5dafd9)['length'])return;const _0x2ce436=this['$']['*originalUrl'],_0x445001=_0x3fb77f(_0x3dbdd3(_0x5dafd9),'preview'),_0x2a069a={'originalUrl':_0x2ce436,'cdnUrlModifiers':_0x445001,'cdnUrl':_0x53475f(_0x2ce436,_0x445001),'transformations':_0x5dafd9};this['dispatchEvent'](new CustomEvent('change',{'detail':_0x2a069a,'bubbles':!0x0,'composed':!0x0}));},!0x1),this['sub']('uuid',_0x3a4dca=>_0x3a4dca&&this['updateImage']()),this['sub']('cdnUrl',_0x35374c=>_0x35374c&&this['updateImage']()),this['sub']('cropPreset',_0xa3b493=>{const _0x358234=_0xf48b6f(_0xa3b493);let _0x129b1e=null;if(this['$']['cdnUrl']){const _0x242797=_0x2459b5(_0x891262(this['$']['cdnUrl']));if(Array['isArray'](_0x242797?.['crop']?.['dimensions'])){const [_0x1ca05a,_0x30d791]=_0x242797['crop']['dimensions'];_0x129b1e=((_0xda0479,_0xd5a949,_0xe2302f,_0x7eedab=0.1)=>{const _0x37d1ea=_0xda0479/_0xd5a949;let _0x41908b=null,_0x1a2fc5=0x1/0x0;for(const _0x218824 of _0xe2302f){const [_0x5e9b6,_0x3e2568]=[_0x218824['width'],_0x218824['height']],_0x4a234b=_0x5e9b6/_0x3e2568,_0x1abeb7=Math['abs'](_0x37d1ea-_0x4a234b);_0x1abeb7<_0x1a2fc5&&(_0x1a2fc5=_0x1abeb7,_0x41908b=_0x218824);}if(_0x41908b){const [_0xb9ebfd,_0x57dfb8]=[_0x41908b['width'],_0x41908b['height']],_0x424606=_0xb9ebfd/_0x57dfb8;if(Math['abs'](_0x37d1ea-_0x424606)/_0x424606>_0x7eedab)return null;}return _0x41908b;})(_0x1ca05a,_0x30d791,_0x358234,0.1);}}this['$']['*cropPresetList']=_0x358234,this['$']['*currentAspectRatio']=_0x129b1e??_0x358234?.[0x0]??null;});}};_0x483259['template']=_0x3b36e9,_0x483259['bindAttributes']({'uuid':'uuid','cdn-url':'cdnUrl','crop-preset':'cropPreset','tabs':'tabs'});var _0x2b8cd1=class extends _0x203425{['_handlePointerUp'];['_handlePointerMove'];['_handleSvgPointerMove'];['_backdropMaskId']='backdrop-mask-'+_0x461769['generate']();['_backdropMask'];['_backdropMaskInner'];['_frameThumbs'];['_frameGuides'];['_draggingThumb'];['_hoverThumb'];['_dragStartPoint'];['_dragStartCrop'];['_frameImage'];['_guidesHidden']=!0x1;constructor(){super(),this['init$']={...this['init$'],'dragging':!0x1},this['_handlePointerUp']=this['_handlePointerUp_']['bind'](this),this['_handlePointerMove']=this['_handlePointerMove_']['bind'](this),this['_handleSvgPointerMove']=this['_handleSvgPointerMove_']['bind'](this);}['_shouldThumbBeDisabled'](_0x387731){const _0x3cf2f5=this['$']['*imageBox'];if(!_0x3cf2f5)return!0x1;if(''===_0x387731&&_0x3cf2f5['height']<=0x1&&_0x3cf2f5['width']<=0x1)return!0x0;const _0x3808bf=_0x3cf2f5['height']<=0x1&&(_0x387731['includes']('n')||_0x387731['includes']('s')),_0x54fc20=_0x3cf2f5['width']<=0x1&&(_0x387731['includes']('e')||_0x387731['includes']('w'));return _0x3808bf||_0x54fc20;}['_createBackdrop'](){const _0x35d642=this['$']['*cropBox'];if(!_0x35d642)return;const {x:_0x24c06b,y:_0x5c8803,width:_0x4f0325,height:_0x10bd99}=_0x35d642,_0x31c22a=this['ref']['svg-el'],_0x3b1af9=_0x174045('mask',{'id':this['_backdropMaskId']}),_0x200c02=_0x174045('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'white'}),_0xd56501=_0x174045('rect',{'x':_0x24c06b,'y':_0x5c8803,'width':_0x4f0325,'height':_0x10bd99,'fill':'black'});_0x3b1af9['appendChild'](_0x200c02),_0x3b1af9['appendChild'](_0xd56501);const _0x5a7b4f=_0x174045('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'var(--color-image-background)','fill-opacity':0.85,'mask':'url(#'+this['_backdropMaskId']+')'});_0x31c22a['appendChild'](_0x5a7b4f),_0x31c22a['appendChild'](_0x3b1af9),this['_backdropMask']=_0x3b1af9,this['_backdropMaskInner']=_0xd56501;}['_resizeBackdrop'](){this['_backdropMask']&&(this['_backdropMask']['style']['display']='none',window['requestAnimationFrame'](()=>{this['_backdropMask']&&(this['_backdropMask']['style']['display']='block');}));}['_updateBackdrop'](){const _0x151054=this['$']['*cropBox'];if(!_0x151054)return;const {x:_0x51ef8f,y:_0xacb533,width:_0x3e3f20,height:_0x1e864b}=_0x151054;this['_backdropMaskInner']&&_0x56fe9b(this['_backdropMaskInner'],{'x':_0x51ef8f,'y':_0xacb533,'width':_0x3e3f20,'height':_0x1e864b});}['_updateFrame'](){const _0x955584=this['$']['*cropBox'];if(_0x955584&&this['_frameGuides']&&this['_frameThumbs']){for(const _0x544c44 of Object['values'](this['_frameThumbs'])){if(!_0x544c44)continue;const {direction:_0x58fd43,pathNode:_0x1eb662,interactionNode:_0x5be7f7,groupNode:_0x1e80af}=_0x544c44,_0xa2f73a=''===_0x58fd43,_0x43eaa7=0x2===_0x58fd43['length'],{x:_0x9ef024,y:_0x1213aa,width:_0x121b37,height:_0x59e938}=_0x955584;if(_0xa2f73a)_0x56fe9b(_0x5be7f7,{'x':_0x9ef024,'y':_0x1213aa,'width':_0x121b37,'height':_0x59e938});else{const _0x2c74cd=_0x3e9f0d(Math['min'](_0x121b37,_0x59e938)/0x52/0x2,0x0,0x1),_0x5b04f4=_0x43eaa7?_0x29280d(_0x955584,_0x58fd43,_0x2c74cd):_0x468c46(_0x955584,_0x58fd43,_0x2c74cd),_0x2aa1da=_0x5b04f4['center'];if(!_0x2aa1da)continue;const _0x580667=Math['max'](0x18*_0x3e9f0d(Math['min'](_0x121b37,_0x59e938)/0x18/0x3,0x0,0x1),0x6);_0x56fe9b(_0x5be7f7,{'x':_0x2aa1da[0x0]-_0x580667,'y':_0x2aa1da[0x1]-_0x580667,'width':0x2*_0x580667,'height':0x2*_0x580667}),_0x56fe9b(_0x1eb662,{'d':_0x5b04f4['d']});}const _0x35f475=this['_shouldThumbBeDisabled'](_0x58fd43);_0x1e80af['setAttribute']('class',_0x19a8c9('uc-thumb',{'uc-thumb--hidden':_0x35f475,'uc-thumb--visible':!_0x35f475}));}_0x56fe9b(this['_frameGuides'],{'x':_0x955584['x']-0.5,'y':_0x955584['y']-0.5,'width':_0x955584['width']+0x1,'height':_0x955584['height']+0x1});}}['_createThumb'](_0x29d8c7,_0x2581dc){const _0x3ae2a7=_0x174045('g');_0x3ae2a7['classList']['add']('uc-thumb'),_0x3ae2a7['setAttribute']('with-effects','');const _0x14572f=_0x174045('rect',{'fill':'transparent'}),_0xd87040=_0x174045('path',{'stroke':'currentColor','fill':'none','stroke-width':0x3});_0x3ae2a7['appendChild'](_0xd87040),_0x3ae2a7['appendChild'](_0x14572f),_0x29d8c7[_0x2581dc]={'direction':_0x2581dc,'pathNode':_0xd87040,'interactionNode':_0x14572f,'groupNode':_0x3ae2a7},''===_0x2581dc&&(_0x3ae2a7['style']['cursor']='move'),_0x14572f['addEventListener']('pointerdown',this['_handlePointerDown']['bind'](this,_0x2581dc));}['_createThumbs'](){const _0xb7a316={};for(let _0x2a4d6d=0x0;_0x2a4d6d<0x3;_0x2a4d6d++)for(let _0x1f352f=0x0;_0x1f352f<0x3;_0x1f352f++){const _0x2063d4=''+['n','','s'][_0x2a4d6d]+['w','','e'][_0x1f352f];''!==_0x2063d4&&this['_createThumb'](_0xb7a316,_0x2063d4);}return this['_createThumb'](_0xb7a316,''),_0xb7a316;}['_createGuides'](){const _0xd474a7=_0x174045('svg'),_0x5248c0=_0x174045('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'none','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.5});_0xd474a7['appendChild'](_0x5248c0);for(let _0x224166=0x1;_0x224166<=0x2;_0x224166++){const _0xe35ba1=_0x174045('line',{'x1':_0x2d6016*_0x224166+'%','y1':'0%','x2':_0x2d6016*_0x224166+'%','y2':'100%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});_0xd474a7['appendChild'](_0xe35ba1);}for(let _0x2d8ee3=0x1;_0x2d8ee3<=0x2;_0x2d8ee3++){const _0x27e956=_0x174045('line',{'x1':'0%','y1':_0x2d6016*_0x2d8ee3+'%','x2':'100%','y2':_0x2d6016*_0x2d8ee3+'%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});_0xd474a7['appendChild'](_0x27e956);}return _0xd474a7['classList']['add']('uc-guides','uc-guides--semi-hidden'),_0xd474a7;}['_createFrame'](){const _0x2a642f=this['ref']['svg-el'],_0x481a47=document['createDocumentFragment'](),_0x5ba374=this['_createGuides']();_0x481a47['appendChild'](_0x5ba374);const _0x45d5a4=this['_createThumbs']();for(const {groupNode:_0x604046}of Object['values'](_0x45d5a4))_0x481a47['appendChild'](_0x604046);_0x2a642f['appendChild'](_0x481a47),this['_frameThumbs']=_0x45d5a4,this['_frameGuides']=_0x5ba374;}['_handlePointerDown'](_0x37fbb9,_0xa9c961){if(!this['_frameThumbs'])return;const _0x5f0c78=this['_frameThumbs'][_0x37fbb9];if(!_0x5f0c78)return;if(this['_shouldThumbBeDisabled'](_0x37fbb9))return;const _0x1c027b=this['$']['*cropBox'],_0x4ea74f=this['ref']['svg-el'],{x:_0x3bfd13,y:_0x4dd91f}=_0x4ea74f['getBoundingClientRect'](),_0x39770=_0xa9c961['x']-_0x3bfd13,_0xa95108=_0xa9c961['y']-_0x4dd91f;this['$']['dragging']=!0x0,this['_draggingThumb']=_0x5f0c78,this['_dragStartPoint']=[_0x39770,_0xa95108],this['_dragStartCrop']={..._0x1c027b};}['_handlePointerUp_'](_0x72a80c){this['_updateCursor'](),this['$']['dragging']&&(_0x72a80c['stopPropagation'](),_0x72a80c['preventDefault'](),this['$']['dragging']=!0x1);}['_handlePointerMove_'](_0x4948ae){if(!this['$']['dragging']||!this['_dragStartPoint']||!this['_draggingThumb'])return;_0x4948ae['stopPropagation'](),_0x4948ae['preventDefault']();const _0xfbb93b=this['ref']['svg-el'],{x:_0x2edc9b,y:_0x1a00e7}=_0xfbb93b['getBoundingClientRect'](),_0x40c55=_0x4948ae['x']-_0x2edc9b,_0x36e0e5=_0x4948ae['y']-_0x1a00e7,_0x273361=_0x40c55-this['_dragStartPoint'][0x0],_0x13f0c8=_0x36e0e5-this['_dragStartPoint'][0x1],{direction:_0x256002}=this['_draggingThumb'],_0x4cc005=this['_calcCropBox'](_0x256002,[_0x273361,_0x13f0c8]);_0x4cc005&&(this['$']['*cropBox']=_0x4cc005);}['_calcCropBox'](_0x345278,_0x4bc05c){const [_0x3b3db7,_0x26217b]=_0x4bc05c,_0x3c8b42=this['$']['*imageBox'];let _0x36424e=this['_dragStartCrop']??this['$']['*cropBox'];const _0x3a15c2=this['$']['*currentAspectRatio'],_0x479173=_0x3a15c2?_0x3a15c2['width']/_0x3a15c2['height']:void 0x0;if(_0x36424e=''===_0x345278?function({rect:_0x2a4f9b,delta:[_0x13a2b0,_0x53c6a9],imageBox:_0x2930f7}){return _0x1f8de5({..._0x2a4f9b,'x':_0x2a4f9b['x']+_0x13a2b0,'y':_0x2a4f9b['y']+_0x53c6a9},_0x2930f7);}({'rect':_0x36424e,'delta':[_0x3b3db7,_0x26217b],'imageBox':_0x3c8b42}):_0x472450({'rect':_0x36424e,'delta':[_0x3b3db7,_0x26217b],'direction':_0x345278,'aspectRatio':_0x479173,'imageBox':_0x3c8b42}),Object['values'](_0x36424e)['every'](_0x156ef7=>Number['isFinite'](_0x156ef7)&&_0x156ef7>=0x0))return _0x1f8de5(_0x392d0d(_0x36424e),_0x3c8b42);console['error']('CropFrame\x20is\x20trying\x20to\x20create\x20invalid\x20rectangle',{'payload':_0x36424e});}['_handleSvgPointerMove_'](_0x370aa1){if(!this['_frameThumbs'])return;const _0x381891=Object['values'](this['_frameThumbs'])['find'](_0x1478b4=>{if(!_0x1478b4)return!0x1;if(this['_shouldThumbBeDisabled'](_0x1478b4['direction']))return!0x1;const _0x10fdd7=_0x1478b4['interactionNode']['getBoundingClientRect'](),_0x40220f=function(_0xf5b92b,[_0x1f4605,_0x1e9b89]){return _0xf5b92b['x']<=_0x1f4605&&_0x1f4605<=_0xf5b92b['x']+_0xf5b92b['width']&&_0xf5b92b['y']<=_0x1e9b89&&_0x1e9b89<=_0xf5b92b['y']+_0xf5b92b['height'];}({'x':_0x10fdd7['x'],'y':_0x10fdd7['y'],'width':_0x10fdd7['width'],'height':_0x10fdd7['height']},[_0x370aa1['x'],_0x370aa1['y']]);return _0x40220f;});this['_hoverThumb']=_0x381891,this['_updateCursor']();}['_updateCursor'](){const _0x342024=this['_hoverThumb'];var _0x25753c;this['ref']['svg-el']['style']['cursor']=_0x342024?''===(_0x25753c=_0x342024['direction'])?'move':['e','w']['includes'](_0x25753c)?'ew-resize':['n','s']['includes'](_0x25753c)?'ns-resize':['nw','se']['includes'](_0x25753c)?'nwse-resize':'nesw-resize':'initial';}['_createMask'](_0x220910){if(this['_frameImage'])return void this['_frameImage']['setAttribute']('href',_0x220910);const _0x57acb9=this['ref']['svg-el'],_0x12626e=document['createDocumentFragment'](),_0x20ea35=_0x174045('image',{'href':_0x220910});_0x20ea35['setAttribute']('class','uc-cloud-mask'),_0x12626e['appendChild'](_0x20ea35),_0x57acb9['appendChild'](_0x12626e),this['_frameImage']=_0x20ea35;}['_updateMask'](){const _0x4b67c4=this['$']['*cropBox'];if(!_0x4b67c4||!this['_frameImage'])return;const {x:_0x1bc7d5,y:_0x1a3670,width:_0x36777a,height:_0x5bb989}=_0x4b67c4;_0x56fe9b(this['_frameImage'],{'x':_0x1bc7d5,'y':_0x1a3670,'height':_0x5bb989,'width':_0x36777a});}['_render'](){this['_updateBackdrop'](),this['_updateFrame'](),this['_updateMask']();}['toggleThumbs'](_0x116ff1){if(this['_frameThumbs'])for(const _0x1ca7fb of Object['values'](this['_frameThumbs'])){if(!_0x1ca7fb)continue;const {groupNode:_0xd5d9a5}=_0x1ca7fb;_0xd5d9a5['setAttribute']('class',_0x19a8c9('uc-thumb',{'uc-thumb--hidden':!_0x116ff1,'uc-thumb--visible':_0x116ff1}));}}['initCallback'](){super['initCallback'](),this['_createBackdrop'](),this['_createFrame'](),this['sub']('*imageBox',()=>{this['_resizeBackdrop'](),window['requestAnimationFrame'](()=>{this['_render']();});}),this['sub']('*cropBox',_0x14b0d8=>{_0x14b0d8&&(this['_guidesHidden']=_0x14b0d8['height']<=0x1||_0x14b0d8['width']<=0x1,window['requestAnimationFrame'](()=>{this['_render']();}));}),this['subConfigValue']('cloudImageEditorMaskHref',_0x51d537=>{_0x51d537&&this['_createMask'](_0x51d537);}),this['sub']('dragging',_0x4adc37=>{this['_frameGuides']&&this['_frameGuides']['setAttribute']('class',_0x19a8c9({'uc-guides--hidden':this['_guidesHidden'],'uc-guides--visible':!this['_guidesHidden']&&_0x4adc37,'uc-guides--semi-hidden':!this['_guidesHidden']&&!_0x4adc37}));}),(this['ref']['svg-el']['addEventListener']('pointermove',this['_handleSvgPointerMove'],!0x0),document['addEventListener']('pointermove',this['_handlePointerMove'],!0x0),document['addEventListener']('pointerup',this['_handlePointerUp'],!0x0));}['destroyCallback'](){super['destroyCallback'](),(this['ref']['svg-el']['removeEventListener']('pointermove',this['_handleSvgPointerMove'],!0x0),document['removeEventListener']('pointermove',this['_handlePointerMove']),document['removeEventListener']('pointerup',this['_handlePointerUp']));}};_0x2b8cd1['template']='\x20<svg\x20class=\x22uc-svg\x22\x20ref=\x22svg-el\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22></svg>\x20';var _0x4d4fa9=class extends _0x203425{['_titleEl'];constructor(){super(),this['init$']={...this['init$'],'active':!0x1,'title':'','icon':'','on.click':null,'title-prop':''};}['initCallback'](){super['initCallback'](),this['_titleEl']=this['ref']['title-el'],this['sub']('title',_0x22b5f7=>{const _0x172799=this['_titleEl'];_0x172799&&(_0x172799['style']['display']=_0x22b5f7?'block':'none');}),this['sub']('active',_0x2f3f8a=>{this['className']=_0x19a8c9({'uc-active':_0x2f3f8a,'uc-not_active':!_0x2f3f8a});}),this['sub']('on.click',_0x5881dd=>{this['onclick']=_0x5881dd??null;});}};_0x4d4fa9['template']='\x0a\x20\x20<button\x20role=\x22option\x22\x20type=\x22button\x22\x20set=\x22@aria-label:title-prop;\x22\x20l10n=\x22@title:title-prop;\x22>\x0a\x20\x20\x20\x20<uc-icon\x20ref=\x22icon-el\x22\x20set=\x22@name:\x20icon;\x22></uc-icon>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-title\x22\x20ref=\x22title-el\x22>{{title}}</div>\x0a\x20\x20</button>\x0a';var _0x1b2ba9=class extends _0x4d4fa9{['initCallback'](){super['initCallback'](),this['$']['icon']='arrow-dropdown',this['$']['on.click']=this['handleClick']['bind'](this),this['sub']('*currentAspectRatio',_0x2e383b=>{this['$']['title']=_0x2e383b['hasFreeform']?this['l10n']('freeform-crop'):this['l10n']('crop-to-shape',{'value':_0x2e383b['width']+':'+_0x2e383b['height']}),this['bindL10n']('title-prop',()=>this['$']['title']);});}['handleClick'](){this['$']['*showListAspectRatio']=!0x0;}};_0x1b2ba9['template']='\x20\x0a\x20\x20<button\x20role=\x22option\x22\x20type=\x22button\x22\x20set=\x22@aria-label:title-prop;\x22\x20l10n=\x22@title:title-prop;\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-title\x22\x20ref=\x22title-el\x22>{{title}}</div>\x0a\x20\x20\x20\x20<uc-icon\x20ref=\x22icon-el\x22\x20set=\x22@name:\x20icon;\x22></uc-icon>\x0a\x20\x20</button>\x20\x0a';var _0x46bdc0=class extends _0x4d4fa9{constructor(){super(),this['init$']={...this['init$'],'active':!0x1,'once':!0x1};}['initCallback'](){super['initCallback'](),this['defineAccessor']('aspectRatio',_0x2fbae7=>{if(!_0x2fbae7)return;const _0x4bcc0f=!!_0x2fbae7['hasFreeform'];this['$']['title']=_0x4bcc0f?this['l10n']('custom'):_0x2fbae7['width']+':'+_0x2fbae7['height'],_0x4bcc0f||this['_renderRectBasedOnAspectRatio'](_0x2fbae7),_0x4bcc0f&&this['setAttribute']('uc-aspect-ratio-freeform',''),this['_aspectRatio']=_0x2fbae7,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-aspect-ratio',{'name':_0x4bcc0f?this['l10n']('custom')['toLowerCase']():this['l10n']('crop-to-shape',{'value':_0x2fbae7['width']+':'+_0x2fbae7['height']})['toLowerCase'](),'value':''}));}),this['sub']('*currentAspectRatio',_0x2c399f=>{this['$']['active']=_0x2c399f&&_0x2c399f['id']===this['_aspectRatio']?.['id']||_0x2c399f?.['width']===this['_aspectRatio']?.['width']&&_0x2c399f?.['height']===this['_aspectRatio']?.['height'];}),this['$']['on.click']=this['handleClick']['bind'](this);}['handleClick'](){const _0x3a7392=this['$']['*currentAspectRatio'];_0x3a7392?.['id']!==this['_aspectRatio']?.['id']&&(this['$']['*currentAspectRatio']=this['_aspectRatio']);}['_renderRectBasedOnAspectRatio'](_0x122143){const {width:_0x183d94,height:_0x19d03b}=(_0xef1489=>{let _0x5b89c3=0xc,_0x35a147=0xc;return _0xef1489['width']/_0xef1489['height']>=0x1?(_0x5b89c3=0xc,_0x35a147=Math['round'](0xc*_0xef1489['height']/_0xef1489['width'])):(_0x35a147=0xc,_0x5b89c3=Math['round'](0xc*_0xef1489['width']/_0xef1489['height'])),{'width':_0x5b89c3,'height':_0x35a147};})(_0x122143),_0x5b9272=_0x174045('rect',{'stroke-linejoin':'round','fill':'none','stroke':'currentColor','stroke-width':1.2,'fill-rule':'evenodd','x':(0x10-_0x183d94)/0x2,'y':(0x10-_0x19d03b)/0x2,'rx':0x2,'width':_0x183d94,'height':_0x19d03b}),_0x7ed886=this['ref']['icon-el']?.['ref']?.['svg'];_0x7ed886&&(_0x7ed886['innerHTML']='',_0x7ed886['appendChild'](_0x5b9272));}['_aspectRatio'];},_0x4628fd=class extends _0x4d4fa9{['_operation']=void 0x0;['initCallback'](){super['initCallback'](),this['defineAccessor']('operation',_0x2e4bb6=>{_0x2e4bb6&&(this['_operation']=_0x2e4bb6,this['$']['icon']=_0x2e4bb6,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-crop',{'name':this['l10n'](_0x2e4bb6)['toLowerCase']()})));}),this['$']['on.click']=_0x22c2da=>{if(!this['_operation'])return;const _0x868c4e=this['$']['*cropperEl'],_0x352f59=_0x868c4e['getValue'](this['_operation']),_0x25d592=function(_0x30bae1,_0x590651){if('rotate'===_0x30bae1)return function(_0x5a9d30){let _0x49cc73=_0x5a9d30+0x5a;return _0x49cc73=_0x49cc73>=0x168?0x0:_0x49cc73,_0x49cc73;}('number'==typeof _0x590651?_0x590651:0x0);if('mirror'===_0x30bae1||'flip'===_0x30bae1)return!_0x590651;throw new Error('Unsupported\x20operation:\x20'+_0x30bae1);}(this['_operation'],_0x352f59);this['telemetryManager']['sendEventCloudImageEditor'](_0x22c2da,this['$']['*tabId'],{'operation':this['_operation'],'next':_0x25d592,'prev':_0x352f59}),_0x868c4e['setValue'](this['_operation'],_0x25d592);};}};function _0x339eb0(_0x266cfe){const _0x461396=new Image();return{'promise':new Promise((_0x496077,_0x7e2dfa)=>{_0x461396['src']=_0x266cfe,_0x461396['onload']=()=>_0x496077(),_0x461396['onerror']=_0x55379f=>_0x7e2dfa(_0x55379f);}),'image':_0x461396,'cancel':()=>{0x0===_0x461396['naturalWidth']&&(_0x461396['src']=_0x1f24e8);}};}function _0x515443(_0x30b72f){const _0xc611b5=[];for(const _0x47f9ac of _0x30b72f){const _0xff8491=_0x339eb0(_0x47f9ac);_0xc611b5['push'](_0xff8491);}const _0x5039c6=_0xc611b5['map'](_0x4c4e12=>_0x4c4e12['image']);return{'promise':Promise['allSettled'](_0xc611b5['map'](_0x25aa41=>_0x25aa41['promise'])),'images':_0x5039c6,'cancel':()=>{_0xc611b5['forEach'](_0x2f80cf=>{_0x2f80cf['cancel']();});}};}var _0xb6d031='original',_0x5f44af=class extends _0x203425{['_operation']='filter';['_filter'];['_originalUrl']='';constructor(){super(),this['init$']={...this['init$'],'disabled':!0x1,'min':0x0,'max':0x64,'value':0x0,'defaultValue':0x0,'zero':0x0,'on.input':_0xb3c04f=>{const _0x5803ec=this['$']['*faderEl'];_0x5803ec?.['set'](_0xb3c04f),this['$']['value']=_0xb3c04f;}};}['setOperation'](_0x82cee4,_0x18c843){this['_operation']=_0x82cee4,this['_filter']=_0x18c843,this['_initializeValues']();const _0x5b8dd7=this['$']['*faderEl'],_0x1b9aba=this['_originalUrl']||this['$']['*originalUrl'];_0x5b8dd7&&_0x1b9aba&&_0x5b8dd7['activate']({'url':_0x1b9aba,'operation':this['_operation'],'value':this['_filter']===_0xb6d031?void 0x0:this['$']['value'],'filter':this['_filter']===_0xb6d031?void 0x0:this['_filter'],'fromViewer':!0x1});}['_initializeValues'](){const _0x151b84=this['_operation'],{range:_0x1f5d9b,zero:_0x136746}=_0x251e94[_0x151b84],[_0x434367,_0x5745f8]=_0x1f5d9b;this['$']['min']=_0x434367,this['$']['max']=_0x5745f8,this['$']['zero']=_0x136746;const _0x143161=this['$']['*editorTransformations'][_0x151b84];if('filter'===_0x151b84){let _0x53eb31=Number(_0x5745f8);const _0x50b237=_0x143161;if(_0x50b237){const {name:_0x512b10,amount:_0x567fec}=_0x50b237;_0x53eb31=_0x512b10===this['_filter']?_0x567fec:_0x5745f8;}return this['$']['value']=_0x53eb31,void(this['$']['defaultValue']=_0x53eb31);}const _0x1087dc=void 0x0!==_0x143161?_0x143161:_0x136746;this['$']['value']=_0x1087dc,this['$']['defaultValue']=_0x1087dc;}['apply'](){const _0x2da3d0={...this['$']['*editorTransformations']};'filter'===this['_operation']?this['_filter']&&this['_filter']!==_0xb6d031?_0x2da3d0['filter']={'name':this['_filter'],'amount':this['$']['value']}:delete _0x2da3d0['filter']:_0x2da3d0[this['_operation']]=this['$']['value'],this['$']['*editorTransformations']=_0x2da3d0;}['cancel'](){const _0x3424e2=this['$']['*faderEl'];_0x3424e2?.['deactivate']({'hide':!0x1});}['initCallback'](){super['initCallback'](),this['sub']('*originalUrl',_0x2e9eaf=>{this['_originalUrl']=_0x2e9eaf;}),this['sub']('value',_0x109ec4=>{const _0x20a73f=(this['_filter']??this['_operation'])+'\x20'+_0x109ec4;this['$']['*operationTooltip']=_0x20a73f;});}};function _0x439a65(_0x18df4f){const _0x4f5ae5=_0x18df4f['match'](/^([A-Za-z]+)\s+(\d+)$/);if(!_0x4f5ae5)return null;const [,_0x4cf8f1,_0x75d6b8]=_0x4f5ae5;return _0x4cf8f1&&void 0x0!==_0x75d6b8?{'filter':_0x4cf8f1,'value':Number(_0x75d6b8)}:null;}_0x5f44af['template']='\x0a\x20\x20<uc-slider-ui\x0a\x20\x20\x20\x20ref=\x22slider-el\x22\x0a\x20\x20\x20\x20set=\x22disabled:\x20disabled;\x20min:\x20min;\x20max:\x20max;\x20defaultValue:\x20defaultValue;\x20zero:\x20zero;\x20onInput:\x20on.input;\x22\x0a\x20\x20></uc-slider-ui>\x0a';var _0x1197a4=class extends _0x4d4fa9{['_operation']='';['_filter']='';['_originalUrl']='';['_observer'];['_cancelPreload'];constructor(){super(),this['init$']={...this['init$'],'active':!0x1,'title':'','icon':'','isOriginal':!0x1,'iconSize':'20','on.click':null};}['_previewSrc'](){const _0x48ca5b=parseInt(window['getComputedStyle'](this)['getPropertyValue']('--l-base-min-width'),0xa),_0x6dbbdd=window['devicePixelRatio'],_0x516eb8=Math['ceil'](_0x6dbbdd*_0x48ca5b),_0x43dc75=_0x6dbbdd>=0x2?'lightest':'normal',_0x3a286a={...this['$']['*editorTransformations']};return _0x3a286a[this['_operation']]=this['_filter']!==_0xb6d031?{'name':this['_filter'],'amount':0x64}:void 0x0,_0x53475f(this['_originalUrl'],_0x3fb77f(_0x90f3a3,_0x3dbdd3(_0x3a286a),'quality/'+_0x43dc75,'scale_crop/'+_0x516eb8+'x'+_0x516eb8+'/center'));}async['_observerCallback'](_0x3c5042,_0x4e2d7b){const _0x2566b1=_0x3c5042[0x0];if(_0x2566b1?.['isIntersecting']){const _0x1a0137=await this['proxyUrl'](this['_previewSrc']()),_0x42bc17=this['ref']['preview-el'],{promise:_0x39f822,cancel:_0x132238}=_0x339eb0(_0x1a0137);this['_cancelPreload']=_0x132238,_0x39f822['catch'](_0x309d2f=>{this['$']['*networkProblems']=!0x0,console['error']('Failed\x20to\x20load\x20image',{'error':_0x309d2f});})['finally'](()=>{_0x42bc17['style']['backgroundImage']='url('+_0x1a0137+')',_0x42bc17['setAttribute']('loaded',''),_0x4e2d7b['unobserve'](this);});}else this['_cancelPreload']?.();}['initCallback'](){super['initCallback'](),this['$']['on.click']=_0x278b2f=>{if(this['$']['active'])!this['$']['isOriginal']&&(this['$']['*sliderEl']['setOperation'](this['_operation'],this['_filter']),this['$']['*showSlider']=!0x0);else{const _0x1365cf=this['$']['*sliderEl'];_0x1365cf['setOperation'](this['_operation'],this['_filter']),_0x1365cf['apply']();}this['telemetryManager']['sendEventCloudImageEditor'](_0x278b2f,this['$']['*tabId'],{'operation':_0x439a65(this['$']['*operationTooltip'])}),this['$']['*currentFilter']=this['_filter'];},this['defineAccessor']('filter',_0x2f587c=>{this['_operation']='filter',this['_filter']=_0x2f587c,this['$']['isOriginal']=_0x2f587c===_0xb6d031,this['$']['icon']=this['$']['isOriginal']?'original':'slider',this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-filter',{'name':_0x2f587c['toLowerCase']()}));}),this['_observer']=new window['IntersectionObserver'](this['_observerCallback']['bind'](this),{'threshold':[0x0,0x1]});const _0x4d8527=this['$']['*originalUrl'];if(this['_originalUrl']=_0x4d8527,this['$']['isOriginal'])this['ref']['icon-el']['classList']['add']('uc-original-icon');else this['_observer']['observe'](this);this['sub']('*currentFilter',_0x2eaaa3=>{this['$']['active']=_0x2eaaa3&&_0x2eaaa3===this['_filter'];}),this['sub']('isOriginal',_0x73673d=>{this['$']['iconSize']=_0x73673d?0x28:0x14;}),this['sub']('active',_0x418fce=>{if(this['$']['isOriginal'])return;this['ref']['icon-el']['style']['opacity']=_0x418fce?'1':'0';const _0x1c6f75=this['ref']['preview-el'];_0x418fce?_0x1c6f75['style']['opacity']='0':_0x1c6f75['style']['backgroundImage']&&(_0x1c6f75['style']['opacity']='1');}),this['sub']('*networkProblems',async _0x3ee561=>{if(!_0x3ee561){const _0x373676=await this['proxyUrl'](this['_previewSrc']()),_0x43180b=this['ref']['preview-el'];_0x43180b['style']['backgroundImage']&&(_0x43180b['style']['backgroundImage']='none',_0x43180b['style']['backgroundImage']='url('+_0x373676+')');}});}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect'](),this['_cancelPreload']?.();}};_0x1197a4['template']='\x0a\x20\x20<button\x20type=\x22button\x22\x20role=\x22option\x22\x20l10n=\x22@title:title-prop;@aria-label:title-prop\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-preview\x22\x20ref=\x22preview-el\x22></div>\x0a\x20\x20\x20\x20<uc-icon\x20ref=\x22icon-el\x22\x20set=\x22@name:\x20icon;\x20@size:\x20iconSize;\x22></uc-icon>\x0a\x20\x20</button>\x0a';var _0x460e1c=(_0x25b868,_0x1c0d36)=>{let _0x147cd6,_0x537669=!0x1,_0x1b8b26=0x0;const _0x2bccba=(..._0x1302fc)=>{_0x537669?(_0x147cd6&&clearTimeout(_0x147cd6),_0x147cd6=setTimeout(()=>{Date['now']()-_0x1b8b26>=_0x1c0d36&&(_0x25b868(..._0x1302fc),_0x1b8b26=Date['now']());},Math['max'](_0x1c0d36-(Date['now']()-_0x1b8b26),0x0))):(_0x25b868(..._0x1302fc),_0x1b8b26=Date['now'](),_0x537669=!0x0);};return Object['defineProperty'](_0x2bccba,'cancel',{'configurable':!0x1,'writable':!0x1,'enumerable':!0x1,'value':()=>{_0x147cd6&&clearTimeout(_0x147cd6);}}),_0x2bccba;};function _0x53b213(_0x47e64f,_0x4219d3,_0x4508b8){const _0x3e4fa9=window['devicePixelRatio'],_0x1d327c=Math['min'](Math['ceil'](_0x4219d3*_0x3e4fa9),0xbb8),_0x10d2d4=_0x3e4fa9>=0x2?'lightest':'normal';return _0x53475f(_0x47e64f,_0x3fb77f(_0x90f3a3,_0x3dbdd3(_0x4508b8),'quality/'+_0x10d2d4,'stretch/off/-/resize/'+_0x1d327c+'x','@clib/'+_0x13f4d4+'/'+_0x38b6b4+'/uc-cloud-image-editor/'));}var _0x54ff46=class extends _0x203425{['ctxOwner']=!0x0;['_commitDebounced'];['_handleResizeThrottled'];['_imageSize']={'width':0x0,'height':0x0};['_canvas'];['_ctx']=null;['_isActive']=!0x1;['_observer'];['_cancelPreload'];constructor(){super(),this['init$']={...this['init$'],'image':null,'*padding':0x14,'*operations':{'rotate':0x0,'mirror':!0x1,'flip':!0x1},'*imageBox':{'x':0x0,'y':0x0,'width':0x0,'height':0x0},'*cropBox':{'x':0x0,'y':0x0,'width':0x0,'height':0x0}},this['_commitDebounced']=_0x1675b0(this['_commit']['bind'](this),0x12c),this['_handleResizeThrottled']=_0x460e1c(this['_handleResize']['bind'](this),0x64);}['_handleResize'](){this['isConnected']&&this['_isActive']&&(this['_initCanvas'](),this['_syncTransformations'](),this['_alignImage'](),this['_alignCrop'](),this['_draw']());}['_syncTransformations'](){const _0x43abf3=function(_0x275831,_0x2d7a8f){const _0x4fb489={};for(const _0x4b5b6e of _0x2d7a8f){const _0xf6d910=_0x275831[_0x4b5b6e];(Object['hasOwn'](_0x275831,_0x4b5b6e)||void 0x0!==_0xf6d910)&&(_0x4fb489[_0x4b5b6e]=_0xf6d910);}return _0x4fb489;}(this['$']['*editorTransformations'],Object['keys'](this['$']['*operations'])),_0x39a0ba={...this['$']['*operations'],..._0x43abf3};this['$']['*operations']=_0x39a0ba;}['_initCanvas'](){const _0x14c625=this['ref']['canvas-el'],_0x5c4382=_0x14c625['getContext']('2d'),_0x5d3529=this['offsetWidth'],_0x498dab=this['offsetHeight'],_0x10b761=window['devicePixelRatio'];_0x14c625['style']['width']=_0x5d3529+'px',_0x14c625['style']['height']=_0x498dab+'px',_0x14c625['width']=_0x5d3529*_0x10b761,_0x14c625['height']=_0x498dab*_0x10b761,_0x5c4382?.['scale'](_0x10b761,_0x10b761),this['_canvas']=_0x14c625,this['_ctx']=_0x5c4382;}['_alignImage'](){if(!this['_isActive']||!this['$']['image'])return;const _0x58f847=this['$']['image'],_0x488267=this['$']['*padding'],_0x4d8da3=this['$']['*operations'],{rotate:_0x1026a0}=_0x4d8da3,_0x33040a=this['offsetWidth'],_0x3b4de=this['offsetHeight'],_0x5bc98d=_0x20244d({'width':_0x58f847['naturalWidth'],'height':_0x58f847['naturalHeight']},_0x1026a0);let _0x57adc0;if(_0x5bc98d['width']>_0x33040a-0x2*_0x488267||_0x5bc98d['height']>_0x3b4de-0x2*_0x488267){const _0x25758e=_0x5bc98d['width']/_0x5bc98d['height'];if(_0x25758e>_0x33040a/_0x3b4de){const _0x41a62c=_0x33040a-0x2*_0x488267,_0x1a466b=_0x41a62c/_0x25758e;_0x57adc0={'x':0x0+_0x488267,'y':_0x488267+(_0x3b4de-0x2*_0x488267)/0x2-_0x1a466b/0x2,'width':_0x41a62c,'height':_0x1a466b};}else{const _0x31f313=_0x3b4de-0x2*_0x488267,_0x537d62=_0x31f313*_0x25758e;_0x57adc0={'x':_0x488267+(_0x33040a-0x2*_0x488267)/0x2-_0x537d62/0x2,'y':0x0+_0x488267,'width':_0x537d62,'height':_0x31f313};}}else{const {width:_0x47f0a1,height:_0x379688}=_0x5bc98d;_0x57adc0={'x':_0x488267+(_0x33040a-0x2*_0x488267)/0x2-_0x47f0a1/0x2,'y':_0x488267+(_0x3b4de-0x2*_0x488267)/0x2-_0x379688/0x2,'width':_0x47f0a1,'height':_0x379688};}this['$']['*imageBox']=_0x392d0d(_0x57adc0);}['_alignCrop'](){let _0x574e04=this['$']['*cropBox'];const _0x46f463=this['$']['*imageBox'],_0x153366=this['$']['*operations'],{rotate:_0x2680e3}=_0x153366,_0x305358=this['$']['*editorTransformations']['crop'],{width:_0x305ca9,x:_0x379d88,y:_0x289c31}=_0x46f463;if(_0x305358){const {dimensions:[_0x3f1097,_0x355bb6],coords:[_0x2121fd,_0x40b1a8]}=_0x305358,{width:_0x4bf58c}=_0x20244d(this['_imageSize'],_0x2680e3),_0x4f7364=_0x305ca9/_0x4bf58c;_0x574e04=_0x1f8de5(_0x392d0d({'x':_0x379d88+_0x2121fd*_0x4f7364,'y':_0x289c31+_0x40b1a8*_0x4f7364,'width':_0x3f1097*_0x4f7364,'height':_0x355bb6*_0x4f7364}),_0x46f463);}const _0x1217f3=this['$']['*currentAspectRatio'],_0x96d4f8=_0x1217f3?_0x1217f3['width']/_0x1217f3['height']:void 0x0;if(_0x599ebb=_0x46f463,!((_0x1eff4d=_0x574e04)['x']>=_0x599ebb['x']&&_0x1eff4d['y']>=_0x599ebb['y']&&_0x1eff4d['x']+_0x1eff4d['width']<=_0x599ebb['x']+_0x599ebb['width']&&_0x1eff4d['y']+_0x1eff4d['height']<=_0x599ebb['y']+_0x599ebb['height'])||_0x96d4f8&&(_0x5b0b26=_0x574e04,_0x4707bc=_0x96d4f8,!(Math['abs'](_0x5b0b26['width']/_0x5b0b26['height']-_0x4707bc)<0.1))){const _0xaac483=_0x46f463['width']/_0x46f463['height'];let _0x219d41=_0x46f463['width'],_0x337f87=_0x46f463['height'];_0x96d4f8&&(_0xaac483>_0x96d4f8?_0x219d41=Math['min'](_0x46f463['height']*_0x96d4f8,_0x46f463['width']):_0x337f87=Math['min'](_0x46f463['width']/_0x96d4f8,_0x46f463['height'])),_0x574e04={'x':_0x46f463['x']+_0x46f463['width']/0x2-_0x219d41/0x2,'y':_0x46f463['y']+_0x46f463['height']/0x2-_0x337f87/0x2,'width':_0x219d41,'height':_0x337f87};}var _0x5b0b26,_0x4707bc,_0x1eff4d,_0x599ebb;this['$']['*cropBox']=_0x1f8de5(_0x392d0d(_0x574e04),_0x46f463);}['_drawImage'](){const _0x1a7cf3=this['_ctx'];if(!_0x1a7cf3)return;const _0x421636=this['$']['image'],_0x361188=this['$']['*imageBox'],_0x4d766e=this['$']['*operations'],{mirror:_0x763ea9,flip:_0x1584c5,rotate:_0x4f1e0e}=_0x4d766e,_0x840190=_0x20244d({'width':_0x361188['width'],'height':_0x361188['height']},_0x4f1e0e);_0x1a7cf3['save'](),_0x1a7cf3['translate'](_0x361188['x']+_0x361188['width']/0x2,_0x361188['y']+_0x361188['height']/0x2),_0x1a7cf3['rotate'](_0x4f1e0e*Math['PI']*-0x1/0xb4),_0x1a7cf3['scale'](_0x763ea9?-0x1:0x1,_0x1584c5?-0x1:0x1),_0x1a7cf3['drawImage'](_0x421636,-_0x840190['width']/0x2,-_0x840190['height']/0x2,_0x840190['width'],_0x840190['height']),_0x1a7cf3['restore']();}['_draw'](){if(!(this['_isActive']&&this['$']['image']&&this['_canvas']&&this['_ctx']))return;const _0x5e3cdc=this['_canvas'];this['_ctx']['clearRect'](0x0,0x0,_0x5e3cdc['width'],_0x5e3cdc['height']),this['_drawImage']();}['_animateIn']({fromViewer:_0x5e9eb7}){this['$']['image']&&(this['ref']['frame-el']['toggleThumbs'](!0x0),this['_transitionToImage'](),setTimeout(()=>{this['className']=_0x19a8c9({'uc-active_from_viewer':_0x5e9eb7,'uc-active_from_editor':!_0x5e9eb7,'uc-inactive_to_editor':!0x1});}));}['_getCropDimensions'](){const _0x516791=this['$']['*cropBox'],_0x2894c2=this['$']['*imageBox'],_0x439625=this['$']['*operations'],{rotate:_0x543940}=_0x439625,{width:_0x128119,height:_0x474aae}=_0x2894c2,{width:_0x34ec67,height:_0x42c03b}=_0x20244d(this['_imageSize'],_0x543940),{width:_0x24780d,height:_0x13de6f}=_0x516791,_0x389669=_0x128119/_0x34ec67,_0x2e3dcd=_0x474aae/_0x42c03b;return[_0x3e9f0d(Math['round'](_0x24780d/_0x389669),0x1,_0x34ec67),_0x3e9f0d(Math['round'](_0x13de6f/_0x2e3dcd),0x1,_0x42c03b)];}['_getCropTransformation'](){const _0x44c41d=this['$']['*cropBox'],_0x10314a=this['$']['*imageBox'],_0x480b8f=this['$']['*operations'],{rotate:_0x2f4413}=_0x480b8f,{width:_0x1a124d,height:_0x32a081,x:_0x9838c7,y:_0x4b635e}=_0x10314a,{width:_0xbb8b33,height:_0x8f640d}=_0x20244d(this['_imageSize'],_0x2f4413),{x:_0x3fac6e,y:_0x33633d}=_0x44c41d,_0x280379=_0x1a124d/_0xbb8b33,_0x332174=_0x32a081/_0x8f640d,_0x5b0257=this['_getCropDimensions'](),_0x3e9bcc={'dimensions':_0x5b0257,'coords':[_0x3e9f0d(Math['round']((_0x3fac6e-_0x9838c7)/_0x280379),0x0,_0xbb8b33-_0x5b0257[0x0]),_0x3e9f0d(Math['round']((_0x33633d-_0x4b635e)/_0x332174),0x0,_0x8f640d-_0x5b0257[0x1])]};if(function(_0x1ae6cc){if(!_0x1ae6cc)return!0x0;const _0x3ac983=[({dimensions:_0x526217,coords:_0x56bb2e})=>[..._0x526217,..._0x56bb2e]['every'](_0x3ca44d=>Number['isInteger'](_0x3ca44d)&&Number['isFinite'](_0x3ca44d)),({dimensions:_0x457ecc,coords:_0x117689})=>_0x457ecc['every'](_0x8ea68d=>_0x8ea68d>0x0)&&_0x117689['every'](_0x2c756d=>_0x2c756d>=0x0)];return _0x3ac983['every'](_0x254816=>_0x254816(_0x1ae6cc));}(_0x3e9bcc)){if(_0x5b0257[0x0]!==_0xbb8b33||_0x5b0257[0x1]!==_0x8f640d)return _0x3e9bcc;}else console['error']('Cropper\x20is\x20trying\x20to\x20create\x20invalid\x20crop\x20object',{'payload':_0x3e9bcc});}['_commit'](){if(!this['isConnected']||!this['_imageSize'])return;const _0x11b614=this['$']['*operations'],{rotate:_0x9d812a,mirror:_0x195ec0,flip:_0x41bd12}=_0x11b614,_0x4f6b0a=this['_getCropTransformation'](),_0x41108c={...this['$']['*editorTransformations'],'crop':_0x4f6b0a,'rotate':_0x9d812a,'mirror':_0x195ec0,'flip':_0x41bd12};this['$']['*editorTransformations']=_0x41108c;}['setValue'](_0x381894,_0x333f08){this['$']['*operations']={...this['$']['*operations'],[_0x381894]:_0x333f08},this['_isActive']&&(this['_alignImage'](),this['_alignCrop'](),this['_draw']());}['getValue'](_0x49f7b7){return this['$']['*operations'][_0x49f7b7];}async['activate'](_0x5344ad,{fromViewer:_0x34bb04}={}){if(!this['_isActive']){this['_isActive']=!0x0,this['_imageSize']=_0x5344ad,this['removeEventListener']('transitionend',this['_reset']);try{const _0x3f1e8c=this['$']['*originalUrl'],_0x1192b3=this['$']['*editorTransformations'];this['$']['image']=await this['_waitForImage'](_0x3f1e8c,_0x1192b3),this['_syncTransformations'](),this['_animateIn']({'fromViewer':_0x34bb04});}catch(_0x419b6a){console['error']('Failed\x20to\x20activate\x20cropper',{'error':_0x419b6a}),this['telemetryManager']['sendEventError'](_0x419b6a,'cloud\x20editor\x20image.\x20Failed\x20to\x20activate\x20cropper');}this['_observer']=new ResizeObserver(_0x6d5ef7=>{const [_0x5ae40f]=_0x6d5ef7;if(!_0x5ae40f)return;_0x5ae40f['contentRect']['width']>0x0&&_0x5ae40f['contentRect']['height']>0x0&&this['_isActive']&&this['$']['image']&&this['_handleResizeThrottled']();}),this['_observer']['observe'](this);}}['deactivate']({reset:_0x782876=!0x1}={}){this['_isActive']&&(!_0x782876&&this['_commit'](),this['_isActive']=!0x1,this['_transitionToCrop'](),this['className']=_0x19a8c9({'uc-active_from_viewer':!0x1,'uc-active_from_editor':!0x1,'uc-inactive_to_editor':!0x0}),this['ref']['frame-el']['toggleThumbs'](!0x1),this['addEventListener']('transitionend',this['_reset'],{'once':!0x0}),this['_observer']?.['disconnect']());}['_transitionToCrop'](){const _0x2f622b=this['_getCropDimensions'](),_0x1b14d0=this['$']['*cropBox'],_0x413e1f=Math['min'](this['offsetWidth'],_0x2f622b[0x0])/_0x1b14d0['width'],_0x576034=Math['min'](this['offsetHeight'],_0x2f622b[0x1])/_0x1b14d0['height'],_0x2115e0=Math['min'](_0x413e1f,_0x576034),_0x1379a3=_0x1b14d0['x']+_0x1b14d0['width']/0x2,_0x46da9e=_0x1b14d0['y']+_0x1b14d0['height']/0x2;this['style']['transform']='scale('+_0x2115e0+')\x20translate('+(this['offsetWidth']/0x2-_0x1379a3)/_0x2115e0+'px,\x20'+(this['offsetHeight']/0x2-_0x46da9e)/_0x2115e0+'px)',this['style']['transformOrigin']=_0x1379a3+'px\x20'+_0x46da9e+'px';}['_transitionToImage'](){const _0x3a41d4=this['$']['*cropBox'],_0x4cba37=_0x3a41d4['x']+_0x3a41d4['width']/0x2,_0x2dc6ea=_0x3a41d4['y']+_0x3a41d4['height']/0x2;this['style']['transform']='scale(1)',this['style']['transformOrigin']=_0x4cba37+'px\x20'+_0x2dc6ea+'px';}['_reset'](){this['_isActive']||(this['$']['image']=null);}async['_waitForImage'](_0x4d4e97,_0x493ae8){const _0x2aced2=this['offsetWidth'];_0x493ae8={..._0x493ae8,'crop':void 0x0,'rotate':void 0x0,'flip':void 0x0,'mirror':void 0x0};const _0x1c1f20=await this['proxyUrl'](_0x53b213(_0x4d4e97,_0x2aced2,_0x493ae8)),{promise:_0x3582c5,cancel:_0x59aec6,image:_0x23d51a}=_0x339eb0(_0x1c1f20),_0x22a8de=this['_handleImageLoading'](_0x1c1f20);return _0x23d51a['addEventListener']('load',_0x22a8de,{'once':!0x0}),_0x23d51a['addEventListener']('error',_0x22a8de,{'once':!0x0}),this['_cancelPreload']?.(),this['_cancelPreload']=_0x59aec6,_0x3582c5['then'](()=>_0x23d51a)['catch'](_0x685517=>(console['error']('Failed\x20to\x20load\x20image',{'error':_0x685517}),this['$']['*networkProblems']=!0x0,_0x23d51a));}['_handleImageLoading'](_0x27a3f2){const _0xdbf487='crop',_0x32aafd=this['$']['*loadingOperations'];let _0x2ffac0=_0x32aafd['get'](_0xdbf487);return _0x2ffac0||(_0x2ffac0=new Map(),_0x32aafd['set'](_0xdbf487,_0x2ffac0)),_0x2ffac0['get'](_0x27a3f2)||(_0x2ffac0['set'](_0x27a3f2,!0x0),this['$']['*loadingOperations']=_0x32aafd),()=>{const _0x2dcca3=_0x32aafd['get'](_0xdbf487);_0x2dcca3?.['has'](_0x27a3f2)&&(_0x2dcca3['delete'](_0x27a3f2),this['$']['*loadingOperations']=_0x32aafd);};}['initCallback'](){super['initCallback'](),this['sub']('*imageBox',()=>{this['_draw']();}),this['sub']('*cropBox',()=>{this['$']['image']&&this['_commitDebounced']();}),this['sub']('*currentAspectRatio',()=>{this['_alignCrop']();}),setTimeout(()=>{this['sub']('*networkProblems',_0x2880cd=>{_0x2880cd||this['_isActive']&&this['activate'](this['_imageSize'],{'fromViewer':!0x1});});},0x0);}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect']();}};function _0x4ad82f(_0x3a0a39,_0x22c395,_0xd70160){const _0x3b4dcf=_0xd70160-0x1,_0x58cfc2=new Array(_0xd70160);for(let _0x437efe=_0x3b4dcf;_0x437efe>=0x0;_0x437efe-=0x1)_0x58cfc2[_0x437efe]=Math['ceil']((_0x437efe*_0x22c395+(_0x3b4dcf-_0x437efe)*_0x3a0a39)/_0x3b4dcf);return _0x58cfc2;}function _0x576f74(_0x1eae6f,_0x443856){const _0x2dae58=_0x251e94[_0x1eae6f]['keypointsNumber'],{range:_0x4d5487,zero:_0x433458}=_0x251e94[_0x1eae6f];return[...new Set([..._0x4ad82f(_0x4d5487[0x0],_0x433458,_0x2dae58+0x1),..._0x4ad82f(_0x433458,_0x4d5487[0x1],_0x2dae58+0x1),_0x433458,_0x443856])]['sort']((_0x54894c,_0x36c313)=>_0x54894c-_0x36c313);}_0x54ff46['template']='\x0a\x20\x20<canvas\x20class=\x22uc-canvas\x22\x20ref=\x22canvas-el\x22></canvas>\x0a\x20\x20<uc-crop-frame\x20ref=\x22frame-el\x22></uc-crop-frame>\x0a';var _0x5ac58a=class extends _0x4d4fa9{['_operation']='';['initCallback'](){super['initCallback'](),this['$']['on.click']=_0x2b14a9=>{this['$']['*sliderEl']['setOperation'](this['_operation']),this['$']['*showSlider']=!0x0,this['$']['*currentOperation']=this['_operation'],this['telemetryManager']['sendEventCloudImageEditor'](_0x2b14a9,this['$']['*tabId'],{'operation':_0x439a65(this['$']['*operationTooltip'])});},this['defineAccessor']('operation',_0x4bd387=>{_0x4bd387&&(this['_operation']=_0x4bd387,this['$']['icon']=_0x4bd387,this['bindL10n']('title-prop',()=>this['l10n']('a11y-cloud-editor-apply-tuning',{'name':this['l10n'](_0x4bd387)['toLowerCase']()})),this['bindL10n']('title',()=>this['l10n'](_0x4bd387)));}),this['sub']('*editorTransformations',_0x13fc28=>{if(!this['_operation'])return;const {zero:_0x42dba7}=_0x251e94[this['_operation']],_0x7f67dd=_0x13fc28[this['_operation']],_0x944362=void 0x0!==_0x7f67dd&&_0x7f67dd!==_0x42dba7;this['$']['active']=_0x944362;});}},_0x57469f=class extends _0x203425{['initCallback'](){super['initCallback'](),this['addEventListener']('wheel',_0x3f2174=>{_0x3f2174['preventDefault']();const {deltaY:_0x3f84d4,deltaX:_0x50a742}=_0x3f2174;Math['abs'](_0x50a742)>0x1?this['scrollLeft']+=_0x50a742:this['scrollLeft']+=_0x3f84d4;},{'passive':!0x1}),this['addEventListener']('scroll',()=>{},{'passive':!0x0});}};_0x57469f['template']='\x20<slot></slot>\x20';var _0x1a1e5d=class extends _0x203425{['_debouncedShowLoader'];['_cancelPreload'];['_updateInfoTooltip'];constructor(){super(),this['init$']={...this['init$'],'*sliderEl':null,'*listAspectRatioEl':null,'*loadingOperations':new Map(),'*showSlider':!0x1,'*showListAspectRatio':!0x1,'hideSliderOrList':!0x1,'*currentFilter':_0xb6d031,'*currentOperation':null,'showLoader':!0x1,'filters':_0x11b80c,'colorOperations':_0x5c2351,'cropOperations':_0x3270da,'*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':_0x2da9c8=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x2da9c8,this['$']['*tabId'],{'action':'cancel'}),this['_cancelPreload']?.(),(0x0,this['$']['*on.cancel'])();},'on.apply':_0x36161a=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x36161a,this['$']['*tabId'],{'action':'apply'}),(0x0,this['$']['*on.apply'])(this['$']['*editorTransformations']);},'on.applySlider':_0x1e5ef9=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x1e5ef9,this['$']['*tabId'],{'action':'apply-slider','operation':_0x439a65(this['$']['*operationTooltip'])}),(this['ref']['slider-el']['apply'](),this['_onSliderClose']());},'on.cancelSlider':_0x7aeecf=>{this['telemetryManager']['sendEventCloudImageEditor'](_0x7aeecf,this['$']['*tabId'],{'action':'cancel-slider'}),(this['ref']['slider-el']['cancel'](),this['_onSliderClose']());},'on.clickTab':_0x11af52=>{const _0x4e26d0=_0x11af52['currentTarget'],_0x2ac413=_0x4e26d0?.['getAttribute']('data-id');_0x2ac413&&(this['telemetryManager']['sendEventCloudImageEditor'](_0x11af52,_0x2ac413),this['_activateTab'](_0x2ac413,{'fromViewer':!0x1}));},'tab_role':'tab',['tab_'+_0x9c22ab['TUNING']]:'tab_'+_0x9c22ab['TUNING'],['tab_'+_0x9c22ab['CROP']]:'tab_'+_0x9c22ab['CROP'],['tab_'+_0x9c22ab['FILTERS']]:'tab_'+_0x9c22ab['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']=_0x1675b0(this['_showLoader']['bind'](this),0x1f4),this['_updateInfoTooltip']=_0x1675b0(this['_updateInfoTooltipHandler']['bind'](this),0x0);}['_onSliderClose'](){(this['$']['*showSlider']=!0x1,this['$']['*tabId']===_0x9c22ab['CROP']&&(this['$']['*showListAspectRatio']=!0x1),this['$']['*tabId']===_0x9c22ab['TUNING'])&&this['ref']['tooltip-el']['classList']['toggle']('uc-info-tooltip_visible',!0x1);}['_createOperationControl'](_0x5a98ce){const _0xe00b9=new _0x5ac58a();return _0xe00b9['operation']=_0x5a98ce,_0xe00b9;}['_createFilterControl'](_0x210b01){const _0x48e06f=new _0x1197a4();return _0x48e06f['filter']=_0x210b01,_0x48e06f;}['_createToggleControl'](_0x18f36a){const _0xff39e7=new _0x4628fd();return _0xff39e7['operation']=_0x18f36a,_0xff39e7;}['_createAspectRatioControl'](_0x1a2e73){const _0x28ac3e=new _0x46bdc0();return _0x28ac3e['aspectRatio']=_0x1a2e73,_0x28ac3e;}['_createFreeformControl'](){return new _0x1b2ba9();}['_clearListAspectRatio'](){const _0x5a69c8=this['$']['*listAspectRatioEl'];_0x5a69c8&&(_0x5a69c8['innerHTML']='');}['_renderControlsList'](_0x2758bd){const _0x4338a4=this['ref']['controls-list-'+_0x2758bd],_0x1f203f=document['createDocumentFragment']();if(this['_clearListAspectRatio'](),_0x2758bd===_0x9c22ab['CROP']){const _0x46a4b7=this['$']['*cropPresetList'],_0x5b6c5d=_0x46a4b7['length']>=0x3;if(_0x5b6c5d){const _0x36c47e=this['_createFreeformControl']();_0x1f203f['appendChild'](_0x36c47e);}for(const _0xaa553e of _0x46a4b7){const _0x4d69ae=this['_createAspectRatioControl'](_0xaa553e);if(_0x1f203f['appendChild'](_0x4d69ae),_0x5b6c5d){const _0x259833=this['$']['*listAspectRatioEl'];_0x259833?.['appendChild'](_0x4d69ae);}}for(const _0x274f50 of this['$']['cropOperations']){const _0x2c5d9a=this['_createToggleControl'](_0x274f50);_0x1f203f['appendChild'](_0x2c5d9a);}}else{if(_0x2758bd===_0x9c22ab['FILTERS']){const _0x58ec8c=this['$']['filters'];[_0xb6d031,..._0x58ec8c]['forEach'](_0xe271a4=>{const _0x2d9f02=this['_createFilterControl'](_0xe271a4);_0x1f203f['appendChild'](_0x2d9f02);});}else{if(_0x2758bd===_0x9c22ab['TUNING'])for(const _0xde1bac of this['$']['colorOperations']){const _0xc18c97=this['_createOperationControl'](_0xde1bac);_0x1f203f['appendChild'](_0xc18c97);}}}[..._0x1f203f['children']]['forEach']((_0x50f263,_0x5a65e2)=>{_0x5a65e2===_0x1f203f['childNodes']['length']-0x1&&_0x50f263['classList']['add']('uc-controls-list_last-item');}),_0x4338a4['innerHTML']='',_0x4338a4['appendChild'](_0x1f203f);}['_activateTab'](_0x26c5b3,{fromViewer:_0x52c871}={}){this['$']['*tabId']=_0x26c5b3;const _0x48c69e=this['$']['*faderEl'],_0x53ec01=this['$']['*cropperEl'];_0x26c5b3===_0x9c22ab['CROP']?(_0x48c69e?.['deactivate'](),_0x53ec01?.['activate'](this['$']['*imageSize'],{'fromViewer':_0x52c871})):(_0x48c69e?.['activate']({'url':this['$']['*originalUrl'],'fromViewer':_0x52c871}),_0x53ec01?.['deactivate']());for(const _0x4ed431 of _0x4a517a){const _0x44a7ee=_0x4ed431===_0x26c5b3;this['ref']['tab-toggle-'+_0x4ed431]['active']=_0x44a7ee,_0x44a7ee?(this['_renderControlsList'](_0x26c5b3),this['_syncTabIndicator']()):this['_unmountTabControls'](_0x4ed431),this['$']['presence.tabContent.'+_0x4ed431]=_0x44a7ee;}}['_unmountTabControls'](_0xf57d83){const _0x1eb9c5=this['ref']['controls-list-'+_0xf57d83];_0x1eb9c5&&(_0x1eb9c5['innerHTML']='');}['_syncTabIndicator'](){const _0x259101=this['ref']['tab-toggle-'+this['$']['*tabId']];this['ref']['tabs-indicator']['style']['transform']='translateX('+_0x259101['offsetLeft']+'px)';}async['_preloadEditedImage'](){if(this['$']['*imgContainerEl']&&this['$']['*originalUrl']){const _0x1067cb=this['$']['*imgContainerEl']['offsetWidth'],_0x4631ad=await this['proxyUrl'](_0x53b213(this['$']['*originalUrl'],_0x1067cb,this['$']['*editorTransformations']));this['_cancelPreload']?.();const {cancel:_0x2b22c4}=_0x515443([_0x4631ad]);this['_cancelPreload']=()=>{_0x2b22c4(),this['_cancelPreload']=void 0x0;};}}['_showLoader'](_0x3bd6f8){this['$']['showLoader']=_0x3bd6f8;}['_updateInfoTooltipHandler'](){const _0x527142=this['$']['*editorTransformations'],_0x4a1d51=this['$']['*currentOperation'];let _0x469a15='',_0x23247c=!0x1;if(this['$']['*tabId']===_0x9c22ab['FILTERS']){if(_0x23247c=!0x0,this['$']['*currentFilter']&&_0x527142?.['filter']?.['name']===this['$']['*currentFilter']){const _0x4506f3=_0x527142?.['filter']?.['amount']||0x64;_0x469a15=this['$']['*currentFilter']+'\x20'+_0x4506f3;}else _0x469a15=this['l10n'](_0xb6d031);}else{if(this['$']['*tabId']===_0x9c22ab['TUNING']&&_0x4a1d51){_0x23247c=!0x0;const _0x5eb702=_0x527142?.[_0x4a1d51]||_0x251e94[_0x4a1d51]['zero'];_0x469a15=this['l10n'](_0x4a1d51)+'\x20'+_0x5eb702;}}_0x23247c&&(this['$']['*operationTooltip']=_0x469a15),this['ref']['tooltip-el']['classList']['toggle']('uc-info-tooltip_visible',_0x23247c);}['initCallback'](){super['initCallback'](),this['$']['*sliderEl']=this['ref']['slider-el'],this['$']['*listAspectRatioEl']=this['ref']['list-el'],this['sub']('*imageSize',_0x48d471=>{_0x48d471&&setTimeout(()=>{this['_activateTab'](this['$']['*tabId'],{'fromViewer':!0x0});},0x0);}),this['sub']('*editorTransformations',_0x124b7a=>{const _0x1a60d2=_0x124b7a?.['filter']?.['name'];this['$']['*currentFilter']!==_0x1a60d2&&(this['$']['*currentFilter']=_0x1a60d2);}),this['sub']('*currentFilter',()=>{this['_updateInfoTooltip']();}),this['sub']('*currentOperation',()=>{this['_updateInfoTooltip']();}),this['sub']('*tabId',()=>{this['_updateInfoTooltip']();}),this['sub']('*originalUrl',()=>{this['$']['*faderEl']?.['deactivate']();}),this['sub']('*editorTransformations',_0x18788b=>{this['_preloadEditedImage'](),this['$']['*faderEl']?.['setTransformations'](_0x18788b);}),this['sub']('*loadingOperations',_0x3b9124=>{let _0x31e2c3=!0x1;for(const [,_0x1b29a8]of _0x3b9124['entries']()){if(_0x31e2c3)break;for(const [,_0x6aa002]of _0x1b29a8['entries']())if(_0x6aa002){_0x31e2c3=!0x0;break;}}this['_debouncedShowLoader'](_0x31e2c3);}),this['sub']('*showSlider',_0xe6874b=>{this['$']['presence.subToolbar']=_0xe6874b,this['$']['presence.mainToolbar']=!_0xe6874b,this['$']['hideSliderOrList']=!0x0;}),this['sub']('*showListAspectRatio',_0x33e78c=>{this['$']['presence.subToolbar']=_0x33e78c,this['$']['presence.mainToolbar']=!_0x33e78c,this['$']['hideSliderOrList']=!0x1;}),this['sub']('*tabList',_0x2f00e3=>{this['$']['presence.tabToggles']=_0x2f00e3['length']>0x1;for(const _0x5c1708 of _0x4a517a){this['$']['presence.tabToggle.'+_0x5c1708]=_0x2f00e3['includes'](_0x5c1708),this['ref']['tab-toggle-'+_0x5c1708]['style']['gridColumn']=''+(_0x2f00e3['indexOf'](_0x5c1708)+0x1);}if(!_0x2f00e3['includes'](this['$']['*tabId'])&&_0x2f00e3['length']>0x0){const [_0x37a8a9]=_0x2f00e3;_0x37a8a9&&this['_activateTab'](_0x37a8a9,{'fromViewer':!0x1});}}),this['_updateInfoTooltip']();}['destroyCallback'](){this['$']['*showSlider']=!0x1,this['$']['*showListAspectRatio']=!0x1;}};_0x1a1e5d['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>'+_0x4a517a['map'](function(_0x5b4b11){return'\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20id=\x22tab_'+_0x5b4b11+'\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-tab-content\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.tabContent.'+_0x5b4b11+';\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-'+_0x5b4b11+'\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';})['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'+_0x4a517a['map'](function(_0x5c3d91){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.'+_0x5c3d91+';\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-'+_0x5c3d91+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20data-id=\x22'+_0x5c3d91+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20icon=\x22'+_0x5c3d91+'\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20on.clickTab;\x20aria-role:tab_role;\x20aria-controls:tab_'+_0x5c3d91+';\x20title-prop:\x20a11y-editor-tab-'+_0x5c3d91+'\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';})['join']('')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20style=\x22order:\x20-1\x22\x20theme=\x22secondary-icon\x22\x20icon=\x22closeMax\x22\x20set=\x22onclick:\x20on.cancel;\x20title-prop:cancel\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22primary-icon\x22\x20icon=\x22done\x22\x20set=\x22onclick:\x20on.apply;\x20title-prop:apply\x22>\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20\x20\x20<uc-presence-toggle\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-sub-toolbar\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22visible:\x20presence.subToolbar;\x20styles:\x20presence.subBottomToolbarStyles\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-slider\x22\x20set=\x22@hidden:!hideSliderOrList\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-editor-slider\x20ref=\x22slider-el\x22></uc-editor-slider>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x0a\x20\x20\x20\x20\x20\x20<div\x20set=\x22@hidden:hideSliderOrList\x22\x20class=\x22uc-list-aspect-ratio-container\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-list-aspect-ratio\x22\x20ref=\x22list-el\x22></div>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<div\x20class=\x22uc-controls-row\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22secondary\x22\x20set=\x22onclick:\x20on.cancelSlider\x22\x20l10n=\x22@text:cancel\x22>\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-btn-ui\x20theme=\x22primary\x22\x20set=\x22onclick:\x20on.applySlider\x22\x20l10n=\x22@text:apply\x22>\x20</uc-btn-ui>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</uc-presence-toggle>\x0a\x20\x20</div>\x0a';var tQ=class extends _0x203425{['_iconReversed']=!0x1;['_iconSingle']=!0x1;['_iconHidden']=!0x1;constructor(){super(),this['init$']={...this['init$'],'text':'','icon':'','iconCss':this['_iconCss'](),'theme':null,'aria-role':'','aria-controls':'','title-prop':''},this['defineAccessor']('active',_0x58a469=>{_0x58a469?this['setAttribute']('active',''):this['removeAttribute']('active');});}['_iconCss'](){return _0x19a8c9('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',_0x2dc4d2=>{this['_iconSingle']=!this['$']['text'],this['_iconHidden']=!_0x2dc4d2,this['$']['iconCss']=this['_iconCss']();}),this['sub']('theme',_0x10d846=>{_0x10d846&&'custom'!==_0x10d846&&(this['className']='uc-'+_0x10d846);}),this['sub']('text',()=>{this['_iconSingle']=!0x1;}),this['hasAttribute']('theme')||this['setAttribute']('theme','default'),this['defineAccessor']('aria-role',_0x261c7c=>{this['$']['aria-role']=_0x261c7c||'';}),this['defineAccessor']('aria-controls',_0x2c3f3a=>{this['$']['aria-controls']=_0x2c3f3a||'';}),this['defineAccessor']('title-prop',_0x3cef6b=>{this['$']['title-prop']=_0x3cef6b||'';});}set['reverse'](_0x579769){this['hasAttribute']('reverse')?(this['style']['flexDirection']='row-reverse',this['_iconReversed']=!0x0):(this['_iconReversed']=!0x1,this['style']['flexDirection']='');}};tQ['bindAttributes']({'text':'text','icon':'icon','reverse':'reverse','theme':'theme'}),tQ['template']='\x0a\x20\x20<button\x0a\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20set=\x22@role:aria-role;\x20@aria-controls:\x20aria-controls;\x20@aria-label:title-prop\x22\x0a\x20\x20\x20\x20l10n=\x22@title:title-prop;\x22\x0a\x20\x20>\x0a\x20\x20\x20\x20<uc-icon\x20set=\x22className:\x20iconCss;\x20@name:\x20icon;\x20@hidden:\x20!icon\x22></uc-icon>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-text\x22>{{text}}</div>\x0a\x20\x20</button>\x0a';var _0x293fee=class extends _0x203425{['_active']=!0x1;['_handleTransitionEndRight']=()=>{const _0x493885=this['ref']['line-el'];_0x493885['style']['transition']='initial',_0x493885['style']['opacity']='0',_0x493885['style']['transform']='translateX(-101%)',this['_active']&&this['_start']();};['initCallback'](){super['initCallback'](),this['defineAccessor']('active',_0x5e5077=>{'boolean'==typeof _0x5e5077&&(_0x5e5077?this['_start']():this['_stop']());});}['_start'](){this['_active']=!0x0;const {width:_0x4a7a92}=this['getBoundingClientRect'](),_0xeb85b8=this['ref']['line-el'];_0xeb85b8['style']['transition']='transform\x201s',_0xeb85b8['style']['opacity']='1',_0xeb85b8['style']['transform']='translateX('+_0x4a7a92+'px)',_0xeb85b8['addEventListener']('transitionend',this['_handleTransitionEndRight'],{'once':!0x0});}['_stop'](){this['_active']=!0x1;}};_0x293fee['template']='\x0a\x20\x20<div\x20class=\x22uc-inner\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-line\x22\x20ref=\x22line-el\x22></div>\x0a\x20\x20</div>\x0a';var _0x513c00='uc-transition',_0x3a69a0='uc-visible',_0xb1819c='uc-hidden',_0x41cb9e=class extends _0x203425{['_visible']=!0x1;['_visibleStyle']=_0x3a69a0;['_hiddenStyle']=_0xb1819c;['_externalTransitions']=!0x1;constructor(){super(),this['defineAccessor']('styles',_0x211e6c=>{_0x211e6c&&(this['_externalTransitions']=!0x0,this['_visibleStyle']=_0x211e6c['visible']??_0x3a69a0,this['_hiddenStyle']=_0x211e6c['hidden']??_0xb1819c);}),this['defineAccessor']('visible',_0x62d97=>{'boolean'==typeof _0x62d97&&(this['_visible']=_0x62d97,this['_handleVisible']());});}['_handleVisible'](){this['style']['visibility']=this['_visible']?'inherit':'hidden',function(_0x1632a8,..._0x57dffa){const _0x58a129=_0x20e24a(..._0x57dffa);for(const _0x29fad6 of Object['keys'](_0x58a129))_0x1632a8['classList']['toggle'](_0x29fad6,Boolean(_0x58a129[_0x29fad6]));}(this,{[_0x513c00]:!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'](_0x513c00),this['_handleVisible'](),setTimeout(()=>{this['classList']['toggle']('uc-initial',!0x1);},0x0);}};_0x41cb9e['template']='<slot></slot>\x20';var _0x3e27ae=class extends _0x203425{['_observer'];['_thumbSize']=0x0;['_zero']=0x0;['_zeroDotEl'];['_stepsCount'];constructor(){super(),this['init$']={...this['init$'],'disabled':!0x1,'min':0x0,'max':0x64,'onInput':null,'onChange':null,'defaultValue':0x0,'on.sliderInput':()=>{const _0x1d0905=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x1d0905),this['$']['onInput']?.(_0x1d0905);},'on.sliderChange':()=>{const _0x5661ab=Number['parseInt'](this['_inputEl']()['value'],0xa);this['$']['onChange']?.(_0x5661ab);}},this['setAttribute']('with-effects','');}['initCallback'](){super['initCallback'](),this['defineAccessor']('disabled',_0x540307=>{this['$']['disabled']=_0x540307;}),this['defineAccessor']('min',_0x334699=>{this['$']['min']=_0x334699;}),this['defineAccessor']('max',_0x4af972=>{this['$']['max']=_0x4af972;}),this['defineAccessor']('defaultValue',_0x4abdda=>{this['$']['defaultValue']=_0x4abdda,(this['_inputEl']()['value']=String(_0x4abdda),this['_updateValue'](_0x4abdda));}),this['defineAccessor']('zero',_0x4c27f3=>{this['_zero']=_0x4c27f3;}),this['defineAccessor']('onInput',_0x383ff1=>{_0x383ff1&&(this['$']['onInput']=_0x383ff1);}),this['defineAccessor']('onChange',_0x1cb197=>{_0x1cb197&&(this['$']['onChange']=_0x1cb197);}),this['_updateSteps'](),this['_observer']=new ResizeObserver(()=>{this['_updateSteps']();const _0x1b36ee=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x1b36ee);}),this['_observer']['observe'](this),this['_thumbSize']=Number['parseInt'](window['getComputedStyle'](this)['getPropertyValue']('--l-thumb-size'),0xa),setTimeout(()=>{const _0x4ea752=Number['parseInt'](this['_inputEl']()['value'],0xa);this['_updateValue'](_0x4ea752);},0x0),this['sub']('disabled',_0x241a6a=>{const _0x2c3268=this['_inputEl']();_0x241a6a?_0x2c3268['setAttribute']('disabled','disabled'):_0x2c3268['removeAttribute']('disabled');});const _0x50bcce=this['_inputEl']();_0x50bcce['addEventListener']('focus',()=>{this['style']['setProperty']('--color-effect','var(--hover-color-rgb)');}),_0x50bcce['addEventListener']('blur',()=>{this['style']['setProperty']('--color-effect','var(--idle-color-rgb)');});}['_inputEl'](){return this['ref']['input-el'];}['_thumbEl'](){return this['ref']['thumb-el'];}['_stepsEl'](){return this['ref']['steps-el'];}['_updateValue'](_0x2eb413){this['_updateZeroDot'](_0x2eb413);const {width:_0x4c9822}=this['getBoundingClientRect'](),_0x1ace79=0x64/(this['$']['max']-this['$']['min'])*(_0x2eb413-this['$']['min'])*(_0x4c9822-this['_thumbSize'])/0x64;window['requestAnimationFrame'](()=>{this['_thumbEl']()['style']['transform']='translateX('+_0x1ace79+'px)';});}['_updateZeroDot'](_0x2d0e98){if(!this['_zeroDotEl'])return;this['_zeroDotEl']['style']['opacity']=_0x2d0e98===this['_zero']?'0':'1';const {width:_0x24d77b}=this['getBoundingClientRect'](),_0x1dd426=0x64/(this['$']['max']-this['$']['min'])*(this['_zero']-this['$']['min'])*(_0x24d77b-this['_thumbSize'])/0x64;window['requestAnimationFrame'](()=>{this['_zeroDotEl']&&(this['_zeroDotEl']['style']['transform']='translateX('+_0x1dd426+'px)');});}['_updateSteps'](){const _0x9f1536=this['_stepsEl'](),{width:_0x4701f1}=_0x9f1536['getBoundingClientRect'](),_0x2c006c=Math['ceil'](_0x4701f1/0x2),_0xa600a1=Math['ceil'](_0x2c006c/0xf)-0x2;if(this['_stepsCount']===_0xa600a1)return;const _0x2ff670=document['createDocumentFragment'](),_0x1a2a76=document['createElement']('div'),_0x4d6e5a=document['createElement']('div');_0x1a2a76['className']='uc-minor-step',_0x4d6e5a['className']='uc-border-step',_0x2ff670['appendChild'](_0x4d6e5a);for(let _0x228de9=0x0;_0x228de9<_0xa600a1;_0x228de9+=0x1)_0x2ff670['appendChild'](_0x1a2a76['cloneNode']());_0x2ff670['appendChild'](_0x4d6e5a['cloneNode']());for(let _0x4be43d=0x0;_0x4be43d<_0xa600a1;_0x4be43d+=0x1)_0x2ff670['appendChild'](_0x1a2a76['cloneNode']());_0x2ff670['appendChild'](_0x4d6e5a['cloneNode']());const _0x2acc0f=document['createElement']('div');_0x2acc0f['className']='uc-zero-dot',_0x2ff670['appendChild'](_0x2acc0f),this['_zeroDotEl']=_0x2acc0f,_0x9f1536['innerHTML']='',_0x9f1536['appendChild'](_0x2ff670),this['_stepsCount']=_0xa600a1;}['destroyCallback'](){super['destroyCallback'](),this['_observer']?.['disconnect']();}};_0x3e27ae['template']='\x0a\x20\x20<div\x20class=\x22uc-steps\x22\x20ref=\x22steps-el\x22></div>\x0a\x20\x20<div\x20ref=\x22thumb-el\x22\x20class=\x22uc-thumb\x22></div>\x0a\x20\x20<input\x0a\x20\x20\x20\x20class=\x22uc-input\x22\x0a\x20\x20\x20\x20type=\x22range\x22\x0a\x20\x20\x20\x20ref=\x22input-el\x22\x0a\x20\x20\x20\x20set=\x22oninput:\x20on.sliderInput;\x20onchange:\x20on.sliderChange;\x20@min:\x20min;\x20@max:\x20max;\x20@value:\x20defaultValue;\x22\x0a\x20\x20/>\x0a';var _0x301b92=_0x427be7=>_0x427be7['match'](/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)?.['map'](_0x2008b0=>_0x2008b0['toLowerCase']())['join']('-'),_0x3243fc=[{'test':_0x538236=>!!_0x538236['accept']&&!!_0x538236['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':_0x5abb7f=>null!==_0x5abb7f['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':_0x3034e5=>null!==_0x3034e5['defaultCameraMode'],'message':'The\x20`defaultCameraMode`\x20parameter\x20is\x20deprecated\x20and\x20will\x20be\x20removed\x20in\x20the\x20next\x20major\x20release.\x0aPlease\x20use\x20the\x20`cameraModes`\x20parameter\x20instead.'}],_0x309ea1=_0x1675b0(_0xb6ecbd=>{for(const {test:_0x94713a,message:_0x34f026}of _0x3243fc)_0x94713a(_0xb6ecbd)&&_0x39909b(_0x34f026);},0x0),_0x1d91d9=_0x2c688e=>_0x2c688e instanceof Promise||Boolean(_0x2c688e&&'object'==typeof _0x2c688e&&'then'in _0x2c688e&&'function'==typeof _0x2c688e['then']),_0x36ac5b=[{'key':'cameraModes','deps':['enableVideoRecording'],'fn':({cameraModes:_0x411b4b,enableVideoRecording:_0x50a79a})=>{if(null===_0x50a79a)return _0x411b4b;let _0x5bab31=_0xa04383(_0x411b4b);return _0x50a79a&&!_0x5bab31['includes']('video')?_0x5bab31=_0x5bab31['concat']('video'):_0x50a79a||(_0x5bab31=_0x5bab31['filter'](_0x127d7e=>'video'!==_0x127d7e)),_0xa5aa39(_0x5bab31);}},{'key':'cameraModes','deps':['defaultCameraMode'],'fn':({cameraModes:_0x12f577,defaultCameraMode:_0x5613fb})=>{if(null===_0x5613fb)return _0x12f577;let _0x1d2748=_0xa04383(_0x12f577);return _0x1d2748=_0x1d2748['sort']((_0x432960,_0x20a548)=>_0x432960===_0x5613fb?-0x1:_0x20a548===_0x5613fb?0x1:0x0),_0xa5aa39(_0x1d2748);}},{'key':'cdnCname','deps':['pubkey','cdnCnamePrefixed'],'fn':({pubkey:_0x402861,cdnCname:_0x560fc7,cdnCnamePrefixed:_0x56d5c2})=>_0x402861&&(_0x560fc7===_0x12d6bd||((_0x345220,_0x191a25)=>{try{const _0x2319f8=new URL(_0x345220),t=new URL(_0x191a25);return _0x2319f8['hostname']['endsWith'](t['hostname']);}catch{return!0x1;}})(_0x560fc7,_0x56d5c2))?_0x3b51ce(_0x402861,_0x56d5c2):_0x560fc7}],_0xbfd6ea=({key:_0x1bdf76,setValue:_0x43f5a2,getValue:_0xa3a5ba,computationControllers:_0x7ef211})=>{for(const _0x5eb02a of _0x36ac5b)if(_0x5eb02a['deps']['includes'](_0x1bdf76)){const _0x59f945={[_0x5eb02a['key']]:_0xa3a5ba(_0x5eb02a['key'])};for(const _0x5588ff of _0x5eb02a['deps'])_0x59f945[_0x5588ff]=_0xa3a5ba(_0x5588ff);const _0x5a822e=new AbortController();let _0x350b08;_0x7ef211['get'](_0x5eb02a['key'])?.['abort'](),_0x7ef211['set'](_0x5eb02a['key'],_0x5a822e);try{_0x350b08=_0x5eb02a['fn'](_0x59f945,{'signal':_0x5a822e['signal']});}catch(_0x5eecb9){return _0x7ef211['get'](_0x5eb02a['key'])===_0x5a822e&&_0x7ef211['delete'](_0x5eb02a['key']),void console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x5eb02a['key']+'\x22',_0x5eecb9);}_0x1d91d9(_0x350b08)?_0x350b08['then'](_0x4c2125=>{_0x5a822e['signal']['aborted']||_0x43f5a2(_0x5eb02a['key'],_0x4c2125);})['catch'](_0x3ebe86=>{_0x5a822e['signal']['aborted']||console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x5eb02a['key']+'\x22',_0x3ebe86);})['finally'](()=>{_0x7ef211['get'](_0x5eb02a['key'])===_0x5a822e&&_0x7ef211['delete'](_0x5eb02a['key']);}):_0x43f5a2(_0x5eb02a['key'],_0x350b08);}},_0x22c8d6=_0x169e00=>String(_0x169e00),_0x465707=_0x244664=>{const _0x39c44c=Number(_0x244664);if(Number['isNaN'](_0x39c44c))throw new Error('Invalid\x20number:\x20\x22'+_0x244664+'\x22');return _0x39c44c;},_0x50fac0=_0x27109a=>{if(null==_0x27109a)return!0x1;if('boolean'==typeof _0x27109a)return _0x27109a;if('true'===_0x27109a)return!0x0;if(''===_0x27109a)return!0x0;if('false'===_0x27109a)return!0x1;throw new Error('Invalid\x20boolean:\x20\x22'+_0x27109a+'\x22');},_0x5da6f7=_0x34a6f7=>{if('object'==typeof _0x34a6f7)return _0x34a6f7;throw new Error('Invalid\x20value.\x20Must\x20be\x20an\x20object.');},_0x28fbdd=_0x50e601=>{if('function'==typeof _0x50e601)return _0x50e601;throw new Error('Invalid\x20value.\x20Must\x20be\x20a\x20function.');},_0x525d75=_0xd087c2=>{if(Array['isArray'](_0xd087c2))return _0xd087c2;throw new Error('Must\x20be\x20an\x20array.');},_0x4a8e74={'pubkey':_0x22c8d6,'multiple':_0x50fac0,'multipleMin':_0x465707,'multipleMax':_0x465707,'confirmUpload':_0x50fac0,'imgOnly':_0x50fac0,'accept':_0x22c8d6,'externalSourcesPreferredTypes':_0x22c8d6,'externalSourcesEmbedCss':_0x22c8d6,'store':_0x1f293c=>'auto'===_0x1f293c?_0x1f293c:_0x50fac0(_0x1f293c),'cameraMirror':_0x50fac0,'cameraCapture':_0x36edcf=>{const _0xcd1417=_0x22c8d6(_0x36edcf);if('user'!==_0xcd1417&&'environment'!==_0xcd1417&&''!==_0xcd1417)throw new Error('Invalid\x20value:\x20\x22'+_0xcd1417+'\x22');return _0xcd1417;},'sourceList':_0x22c8d6,'topLevelOrigin':_0x22c8d6,'maxLocalFileSizeBytes':_0x465707,'thumbSize':_0x465707,'showEmptyList':_0x50fac0,'useLocalImageEditor':_0x50fac0,'useCloudImageEditor':_0x50fac0,'cloudImageEditorTabs':_0x22c8d6,'removeCopyright':_0x50fac0,'cropPreset':_0x22c8d6,'imageShrink':_0x22c8d6,'modalScrollLock':_0x50fac0,'modalBackdropStrokes':_0x50fac0,'sourceListWrap':_0x50fac0,'remoteTabSessionKey':_0x22c8d6,'cdnCname':_0x22c8d6,'cdnCnamePrefixed':_0x22c8d6,'baseUrl':_0x22c8d6,'socialBaseUrl':_0x22c8d6,'secureSignature':_0x22c8d6,'secureExpire':_0x22c8d6,'secureDeliveryProxy':_0x22c8d6,'retryThrottledRequestMaxTimes':_0x465707,'retryNetworkErrorMaxTimes':_0x465707,'multipartMinFileSize':_0x465707,'multipartChunkSize':_0x465707,'maxConcurrentRequests':_0x465707,'multipartMaxConcurrentRequests':_0x465707,'multipartMaxAttempts':_0x465707,'checkForUrlDuplicates':_0x50fac0,'saveUrlForRecurrentUploads':_0x50fac0,'groupOutput':_0x50fac0,'userAgentIntegration':_0x22c8d6,'debug':_0x50fac0,'localeName':_0x22c8d6,'metadata':_0x219a56=>{if('object'==typeof _0x219a56&&!Array['isArray'](_0x219a56))return _0x219a56;if('function'==typeof _0x219a56)return _0x219a56;throw new Error('Invalid\x20metadata\x20value.\x20Must\x20be\x20an\x20object\x20or\x20function.');},'secureUploadsExpireThreshold':_0x465707,'localeDefinitionOverride':_0x17de69=>_0x5da6f7(_0x17de69),'secureUploadsSignatureResolver':_0x4055ae=>_0x28fbdd(_0x4055ae),'secureDeliveryProxyUrlResolver':_0xca1f2e=>_0x28fbdd(_0xca1f2e),'iconHrefResolver':_0x5a740d=>_0x28fbdd(_0x5a740d),'fileValidators':_0x525d75,'collectionValidators':_0x525d75,'validationTimeout':_0x465707,'validationConcurrency':_0x465707,'cameraModes':_0x4dbe70=>{const _0x33b5a6=_0x22c8d6(_0x4dbe70),_0x17653c=_0xa04383(_0x33b5a6);if(_0x17653c['some'](_0x4ad5fd=>!Object['values'](_0x3f065b)['includes'](_0x4ad5fd)))throw new Error('Invalid\x20value:\x20\x22'+JSON['stringify'](_0x17653c)+'\x22');return _0x33b5a6;},'defaultCameraMode':_0x5d0609=>{const _0x219188=_0x22c8d6(_0x5d0609);if(!Object['values'](_0x3f065b)['includes'](_0x219188))throw new Error('Invalid\x20value:\x20\x22'+_0x219188+'\x22');return _0x219188;},'enableAudioRecording':_0x50fac0,'enableVideoRecording':_0x50fac0,'mediaRecorderOptions':_0x5da6f7,'maxVideoRecordingDuration':_0x465707,'filesViewMode':_0x552f6d=>{const _0x4acf36=_0x22c8d6(_0x552f6d);if(['grid','list']['includes'](_0x4acf36))return _0x4acf36;throw new Error('Invalid\x20value:\x20\x22'+_0x4acf36+'\x22');},'gridShowFileNames':_0x50fac0,'cloudImageEditorAutoOpen':_0x50fac0,'cloudImageEditorMaskHref':_0x22c8d6,'testMode':_0x50fac0,'qualityInsights':_0x50fac0},_0x318270=[...new Set(['debug',...Object['keys'](_0x379532)])],_0x4c89d2=['metadata','localeDefinitionOverride','secureUploadsSignatureResolver','secureDeliveryProxyUrlResolver','iconHrefResolver','fileValidators','collectionValidators','mediaRecorderOptions'],_0x12e664=_0x1944d1=>_0x4c89d2['includes'](_0x1944d1),_0x4ea898=_0x318270['filter'](_0x20c83b=>!_0x12e664(_0x20c83b)),_0x55cf6a={...Object['fromEntries'](_0x4ea898['map'](_0x20e68d=>[_0x301b92(_0x20e68d),_0x20e68d])),...Object['fromEntries'](_0x4ea898['map'](_0x1c5118=>[_0x1c5118['toLowerCase'](),_0x1c5118]))},_0x950c48={...Object['fromEntries'](_0x4ea898['map'](_0x55cd97=>[_0x301b92(_0x55cd97),_0x5a4b30(_0x55cd97)])),...Object['fromEntries'](_0x4ea898['map'](_0x2aa916=>[_0x2aa916['toLowerCase'](),_0x5a4b30(_0x2aa916)]))},_0x52eb46=_0x1c2dda=>'__'+_0x1c2dda,_0x2c61c1=class extends _0x203425{['requireCtxName']=!0x0;constructor(){super(),this['init$']={...this['init$'],...Object['fromEntries'](Object['entries'](_0x379532)['map'](([_0x5a5b31,_0xc084a2])=>[_0x5a4b30(_0x5a5b31),_0xc084a2])),'computationControllers':new Map()};}['_flushValueToAttribute'](_0x32b4d6,_0x381d94){if(!_0x12e664(_0x32b4d6)){const _0x46a7e1=[...new Set([_0x301b92(_0x32b4d6),_0x32b4d6['toLowerCase']()])];for(const _0x469f6f of _0x46a7e1)null==_0x381d94?this['removeAttribute'](_0x469f6f):this['getAttribute'](_0x469f6f)!==_0x381d94['toString']()&&this['setAttribute'](_0x469f6f,_0x381d94['toString']());}}['_flushValueToState'](_0x2ff72b,_0x2e02f8){this['$'][_0x5a4b30(_0x2ff72b)]!==_0x2e02f8&&(this['$'][_0x5a4b30(_0x2ff72b)]=null==_0x2e02f8?_0x379532[_0x2ff72b]:_0x2e02f8);}['_setValue'](_0x33a400,_0x5c42dd){const _0x5479b5=this,_0x5c3743=((_0x532be5,_0x594700)=>{if(null!=_0x594700)try{return _0x4a8e74[_0x532be5](_0x594700);}catch(_0x50cf00){return console['error']('Invalid\x20value\x20for\x20config\x20key\x20\x22'+_0x532be5+'\x22.',_0x50cf00),_0x379532[_0x532be5];}})(_0x33a400,_0x5c42dd),_0x16c62c=_0x52eb46(_0x33a400);_0x5479b5[_0x16c62c]!==_0x5c3743&&(this['_assertSameValueDifferentReference'](_0x33a400,_0x5479b5[_0x16c62c],_0x5c3743),_0x5479b5[_0x16c62c]=_0x5c3743,this['_flushValueToAttribute'](_0x33a400,_0x5c3743),this['_flushValueToState'](_0x33a400,_0x5c3743),this['debugPrint']('[uc-config]\x20\x22'+_0x33a400+'\x22',_0x5c3743),_0x309ea1(this['cfg']));}['_getValue'](_0x28d315){return this[_0x52eb46(_0x28d315)]??this['$'][_0x5a4b30(_0x28d315)];}['_assertSameValueDifferentReference'](_0x15508c,_0x2dd64a,_0x6b64b2){this['cfg']['debug']&&_0x6b64b2!==_0x2dd64a&&'object'==typeof _0x6b64b2&&'object'==typeof _0x2dd64a&&JSON['stringify'](_0x6b64b2)===JSON['stringify'](_0x2dd64a)&&(console['warn']('[uc-config]\x20Option\x20\x22'+_0x15508c+'\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'+_0x15508c+'\x22\x20previous\x20value:',_0x2dd64a),console['warn']('[uc-config]\x20\x22'+_0x15508c+'\x22\x20new\x20value:',_0x6b64b2));}['initCallback'](){super['initCallback']();const _0xd97405=this;for(const _0x126cc8 of _0x4ea898)this['sub'](_0x5a4b30(_0x126cc8),_0x40b27c=>{this['_setValue'](_0x126cc8,_0x40b27c);},!0x1);for(const _0x5535b1 of _0x318270){const _0x20c36d=_0xd97405[_0x5535b1]??this['$'][_0x5a4b30(_0x5535b1)];_0x20c36d!==_0x379532[_0x5535b1]&&this['_setValue'](_0x5535b1,_0x20c36d),Object['defineProperty'](this,_0x5535b1,{'set':_0x59610c=>{this['_setValue'](_0x5535b1,_0x59610c);},'get':()=>this['_getValue'](_0x5535b1)});}for(const _0x294823 of _0x318270)this['sub'](_0x5a4b30(_0x294823),()=>{_0xbfd6ea({'key':_0x294823,'setValue':this['_setValue']['bind'](this),'getValue':this['_getValue']['bind'](this),'computationControllers':this['computationControllers']});});}['attributeChangedCallback'](_0x2de19d,_0x1160f3,_0x4b027e){if(_0x1160f3===_0x4b027e)return;const _0xea3a78=this,_0x4752b5=_0x55cf6a[_0x2de19d];_0x4752b5&&(_0xea3a78[_0x4752b5]=_0x4b027e);}get['computationControllers'](){return this['$']['computationControllers'];}};_0x2c61c1['bindAttributes'](_0x950c48);for(const _0x4915f9 of _0x318270)_0x2c61c1['prototype'][_0x4915f9]=void 0x0;function _0x11131b(_0x3b1341){return new Promise(_0x2f0fc5=>{'function'!=typeof window['FileReader']&&_0x2f0fc5(!0x1);try{const _0x44ffb8=new FileReader();_0x44ffb8['onerror']=()=>{_0x2f0fc5(!0x0);};const _0x254b7e=_0x48b69c=>{'loadend'!==_0x48b69c['type']&&_0x44ffb8['abort'](),_0x2f0fc5(!0x1);};_0x44ffb8['onloadend']=_0x254b7e,_0x44ffb8['onprogress']=_0x254b7e,_0x44ffb8['readAsDataURL'](_0x3b1341);}catch{_0x2f0fc5(!0x1);}});}function _0x5291e4(_0x3d0cc1,_0xc2b874){return new Promise(_0x147482=>{let _0xc00ebb=0x0;const _0x3e09dd=[],_0x3ddd0d=_0x50fa9e=>{if(!_0x50fa9e)return console['warn']('Unexpectedly\x20received\x20empty\x20content\x20entry',{'scope':'drag-and-drop'}),void _0x147482(null);_0x50fa9e['isFile']?(_0xc00ebb++,_0x50fa9e['file'](_0x1696ed=>{_0xc00ebb--;const _0x33aa93=new File([_0x1696ed],_0x1696ed['name'],{'type':_0x1696ed['type']||_0xc2b874});_0x3e09dd['push']({'type':'file','file':_0x33aa93,'fullPath':_0x50fa9e['fullPath']}),0x0===_0xc00ebb&&_0x147482(_0x3e09dd);})):_0x50fa9e['isDirectory']&&_0x14f7f6(_0x50fa9e['createReader']());},_0x14f7f6=_0x5aec9c=>{_0xc00ebb++,_0x5aec9c['readEntries'](_0x81100=>{_0xc00ebb--;for(const _0x47150f of _0x81100)_0x3ddd0d(_0x47150f);0x0===_0xc00ebb&&_0x147482(_0x3e09dd);});};_0x3ddd0d(_0x3d0cc1);});}var _0x3a2c00=Object['freeze']({'ACTIVE':0x0,'INACTIVE':0x1,'NEAR':0x2,'OVER':0x3}),_0x32287f=['focus'],_0x5e121b=new Map();function _0x4b6c6a(_0x23b415){let _0x315138=0x0;const _0x21d1b8=document['body'],_0x44c8c2=new Set();let _0x440cb0=_0x3a2c00['INACTIVE'];const _0x55f3db=_0x451165=>{_0x23b415['shouldIgnore']()&&_0x451165!==_0x3a2c00['INACTIVE']||(_0x440cb0!==_0x451165&&_0x44c8c2['forEach'](_0x36346f=>{_0x36346f(_0x451165);}),_0x440cb0=_0x451165);},_0x3505b3=()=>_0x315138>0x0;var _0x2ebabb;_0x2ebabb=_0x104131=>_0x23b415['onChange'](_0x104131),_0x44c8c2['add'](_0x2ebabb);const _0x4886d1=()=>{_0x315138=0x0,_0x55f3db(_0x3a2c00['INACTIVE']);},_0x266708=()=>{_0x315138+=0x1,_0x440cb0===_0x3a2c00['INACTIVE']&&_0x55f3db(_0x3a2c00['ACTIVE']);},_0x4e6c48=()=>{_0x315138-=0x1,_0x3505b3()||_0x55f3db(_0x3a2c00['INACTIVE']);},_0x1cd8f1=_0x77f273=>{_0x77f273['preventDefault'](),_0x315138=0x0,_0x55f3db(_0x3a2c00['INACTIVE']);},_0x143313=_0x2b4953=>{if(_0x23b415['shouldIgnore']())return;_0x3505b3()||(_0x315138+=0x1);const _0x414f10=[_0x2b4953['x'],_0x2b4953['y']],_0x5caa2b=_0x23b415['element']['getBoundingClientRect'](),_0x5cfd0a=Math['floor'](function(_0x4ee207,_0x12d649){const _0x295d38=Math['max'](Math['min'](_0x4ee207[0x0],_0x12d649['x']+_0x12d649['width']),_0x12d649['x']),_0x4654aa=Math['max'](Math['min'](_0x4ee207[0x1],_0x12d649['y']+_0x12d649['height']),_0x12d649['y']);return Math['sqrt']((_0x4ee207[0x0]-_0x295d38)*(_0x4ee207[0x0]-_0x295d38)+(_0x4ee207[0x1]-_0x4654aa)*(_0x4ee207[0x1]-_0x4654aa));}(_0x414f10,_0x5caa2b)),_0x29f916=_0x5cfd0a<0x64,_0x5bd372=_0x2b4953['composedPath']()['includes'](_0x23b415['element']);_0x5e121b['set'](_0x23b415['element'],_0x5cfd0a);const _0x43c3b0=Math['min'](..._0x5e121b['values']())===_0x5cfd0a;_0x5bd372&&_0x43c3b0?(_0x2b4953['preventDefault'](),_0x55f3db(_0x3a2c00['OVER'])):_0x55f3db(_0x29f916&&_0x43c3b0?_0x3a2c00['NEAR']:_0x3a2c00['ACTIVE']);},_0xd57e59=async _0x3d8ad9=>{if(_0x23b415['shouldIgnore']())return;_0x3d8ad9['preventDefault']();const {dataTransfer:_0x3ae5f8}=_0x3d8ad9;if(!_0x3ae5f8)return;const _0x41b5a7=await function(_0x5bd57e){const _0x550aed=[],_0xeb1506=[];for(let _0x47f7ce=0x0;_0x47f7ce<_0x5bd57e['items']['length'];_0x47f7ce++){const _0x20032f=_0x5bd57e['items'][_0x47f7ce];if(_0x20032f){if('file'===_0x20032f['kind']){const _0x8843e6=_0x20032f['type'],_0x48c376=_0x20032f;if('function'==typeof _0x48c376['webkitGetAsEntry']||'function'==typeof _0x48c376['getAsEntry']){const _0x10268c='function'==typeof _0x48c376['webkitGetAsEntry']?_0x48c376['webkitGetAsEntry']():_0x48c376['getAsEntry']?.();_0x10268c&&_0xeb1506['push'](_0x5291e4(_0x10268c,_0x8843e6)['then'](_0x483f9d=>{_0x483f9d&&_0x550aed['push'](..._0x483f9d);}));continue;}const _0x1bd3c9=_0x20032f['getAsFile']();_0x1bd3c9&&_0xeb1506['push'](_0x11131b(_0x1bd3c9)['then'](_0x6d253b=>{_0x6d253b||_0x550aed['push']({'type':'file','file':_0x1bd3c9});}));}else'string'===_0x20032f['kind']&&/^text\/uri-list/['test'](_0x20032f['type'])&&_0xeb1506['push'](new Promise(_0x135c68=>{_0x20032f['getAsString'](_0x24a739=>{_0x550aed['push']({'type':'url','url':_0x24a739}),_0x135c68();});}));}}return Promise['all'](_0xeb1506)['then'](()=>_0x550aed);}(_0x3ae5f8);_0x23b415['onItems'](_0x41b5a7),_0x55f3db(_0x3a2c00['INACTIVE']);};return _0x21d1b8['addEventListener']('drop',_0x1cd8f1),_0x21d1b8['addEventListener']('dragleave',_0x4e6c48),_0x21d1b8['addEventListener']('dragenter',_0x266708),_0x21d1b8['addEventListener']('dragover',_0x143313),_0x23b415['element']['addEventListener']('drop',_0xd57e59),_0x32287f['forEach'](_0x39bc2b=>{window['addEventListener'](_0x39bc2b,_0x4886d1);}),()=>{_0x5e121b['delete'](_0x23b415['element']),_0x21d1b8['removeEventListener']('drop',_0x1cd8f1),_0x21d1b8['removeEventListener']('dragleave',_0x4e6c48),_0x21d1b8['removeEventListener']('dragenter',_0x266708),_0x21d1b8['removeEventListener']('dragover',_0x143313),_0x23b415['element']['removeEventListener']('drop',_0xd57e59),_0x32287f['forEach'](_0x4b262b=>{window['removeEventListener'](_0x4b262b,_0x4886d1);});};}var _0x7a0efc='uc-drop-area',_0x2954b8=_0x7a0efc+'/registry',_0xd5c2fa=class extends _0x52baae{static ['styleAttrs']=[...super['styleAttrs'],'uc-drop-area'];['_destroyDropzone']=null;['_destroyContentWrapperDropzone']=null;['_onAreaClicked']=null;constructor(){super(),this['init$']={...this['init$'],'state':_0x3a2c00['INACTIVE'],'withIcon':!0x1,'isClickable':!0x1,'isFullscreen':!0x1,'isEnabled':!0x0,'isVisible':!0x0,'isInitFlow':!0x1,'text':'',[_0x2954b8]:new Set()};}['isActive'](){if(!this['$']['isEnabled'])return!0x1;const _0x8ec2f0=this['getBoundingClientRect'](),_0x2c02fa=_0x8ec2f0['width']>0x0&&_0x8ec2f0['height']>0x0,_0xe46067=_0x8ec2f0['top']>=0x0&&_0x8ec2f0['left']>=0x0&&_0x8ec2f0['bottom']<=(window['innerHeight']||document['documentElement']['clientHeight'])&&_0x8ec2f0['right']<=(window['innerWidth']||document['documentElement']['clientWidth']),_0xc3f61b=window['getComputedStyle'](this),_0x5adf84='hidden'!==_0xc3f61b['visibility']&&'none'!==_0xc3f61b['display'];return _0x2c02fa&&_0x5adf84&&_0xe46067;}['initCallback'](){super['initCallback'](),this['bindL10n']('text',()=>this['l10n']('drop-files-here')),(this['$'][_0x2954b8]['add'](this),this['defineAccessor']('disabled',_0x48815b=>{this['set$']({'isEnabled':!_0x50fac0(_0x48815b)});}),this['defineAccessor']('clickable',_0x252dfc=>{this['set$']({'isClickable':_0x50fac0(_0x252dfc)});}),this['defineAccessor']('initflow',_0x22316c=>{this['set$']({'isInitFlow':_0x50fac0(_0x22316c)});}),this['defineAccessor']('with-icon',_0x2c04ef=>{this['set$']({'withIcon':_0x50fac0(_0x2c04ef)});}),this['defineAccessor']('fullscreen',_0x14a3c5=>{this['set$']({'isFullscreen':_0x50fac0(_0x14a3c5)});}),this['defineAccessor']('text',_0x13868e=>{'string'==typeof _0x13868e?this['bindL10n']('text',()=>this['l10n'](_0x13868e)||_0x13868e):this['bindL10n']('text',()=>this['l10n']('drop-files-here'));}),this['_destroyDropzone']=_0x4b6c6a({'element':this,'shouldIgnore':()=>this['_shouldIgnore'](),'onChange':_0x37dec8=>{this['$']['state']=_0x37dec8;},'onItems':_0x209cb4=>{_0x209cb4['length']&&(_0x209cb4['forEach'](_0xcab47c=>{'url'===_0xcab47c['type']?this['api']['addFileFromUrl'](_0xcab47c['url'],{'source':_0x359f91['DROP_AREA']}):'file'===_0xcab47c['type']&&this['api']['addFileFromObject'](_0xcab47c['file'],{'source':_0x359f91['DROP_AREA'],'fullPath':_0xcab47c['fullPath']});}),this['uploadCollection']['size']&&(this['modalManager']?.['open'](_0x5bae2a['activities']['UPLOAD_LIST']),this['set$']({'*currentActivity':_0x5bae2a['activities']['UPLOAD_LIST']})));}}));const _0x261c38=this['ref']['content-wrapper'];if(_0x261c38&&(this['_destroyContentWrapperDropzone']=_0x4b6c6a({'element':_0x261c38,'onChange':_0x4c087b=>{const _0xa65dff=Object['entries'](_0x3a2c00)['find'](([,_0x53f496])=>_0x53f496===_0x4c087b)?.[0x0]['toLowerCase']();_0xa65dff&&_0x261c38['setAttribute']('drag-state',_0xa65dff);},'onItems':()=>{},'shouldIgnore':()=>this['_shouldIgnore']()})),this['sub']('state',_0x476832=>{const _0xf9fb02=Object['entries'](_0x3a2c00)['find'](([,_0x43f617])=>_0x43f617===_0x476832)?.[0x0]['toLowerCase']();_0xf9fb02&&this['setAttribute']('drag-state',_0xf9fb02);}),this['subConfigValue']('sourceList',_0x2daafc=>{const _0x580616=_0x25ff69(_0x2daafc);this['$']['isEnabled']=_0x580616['includes'](_0x359f91['LOCAL']),this['$']['isVisible']=this['$']['isEnabled']||!this['querySelector']('[data-default-slot]');}),this['sub']('isVisible',_0x341b14=>{this['toggleAttribute']('hidden',!_0x341b14);}),this['sub']('isClickable',_0x20b9aa=>{this['toggleAttribute']('clickable',_0x20b9aa);}),this['$']['isClickable']){const _0x4bf42f=_0x5b71a1=>{if(_0x5b71a1 instanceof KeyboardEvent){if('Space'===_0x5b71a1['code']||'Enter'===_0x5b71a1['code']){if(this['$']['isInitFlow'])return void this['api']['initFlow']();this['api']['openSystemDialog']();}}else{if(_0x5b71a1 instanceof MouseEvent){if(this['$']['isInitFlow'])return void this['api']['initFlow']();this['api']['openSystemDialog']();}}};this['_onAreaClicked']=_0x4bf42f,this['addEventListener']('keydown',_0x4bf42f),this['addEventListener']('click',_0x4bf42f);}}['_shouldIgnore'](){if(!this['$']['isEnabled'])return!0x0;if(!this['_couldHandleFiles']())return!0x0;if(!this['$']['isFullscreen'])return!0x1;const _0x11425b=this['$'][_0x2954b8];if(0x0===_0x11425b['size'])return!0x1;return[..._0x11425b]['filter'](_0x44151b=>_0x44151b!==this)['filter'](_0x4804e8=>_0x4804e8['isActive']())['length']>0x0;}['_couldHandleFiles'](){const _0x297b6d=this['cfg']['multiple'],_0x3cfc23=this['cfg']['multipleMax'],_0x48e7b2=this['uploadCollection']['size'];return!(_0x297b6d&&_0x3cfc23&&_0x48e7b2>=_0x3cfc23)&&!(!_0x297b6d&&_0x48e7b2>0x0);}['destroyCallback'](){super['destroyCallback']();const _0x3237d7=this['$'][_0x2954b8];_0x3237d7['delete'](this),0x0===_0x3237d7['size']&&_0x191ad9['deleteCtx'](_0x7a0efc),this['_destroyDropzone']?.(),this['_destroyContentWrapperDropzone']?.(),this['_onAreaClicked']&&(this['removeEventListener']('keydown',this['_onAreaClicked']),this['removeEventListener']('click',this['_onAreaClicked']),this['_onAreaClicked']=null);}};_0xd5c2fa['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',_0xd5c2fa['bindAttributes']({'with-icon':null,'clickable':null,'text':null,'fullscreen':null,'disabled':null,'initflow':null});var _0x258f4d=()=>{const _0x544065=globalThis['top']??globalThis['parent']??globalThis['self'];try{return _0x544065['location']['origin'];}catch(_0x3a9cba){return console['warn']('Unable\x20to\x20access\x20top-level\x20window\x20location:',_0x3a9cba),globalThis['location']['origin'];}},_0x42f55a=_0x567c61=>_0x567c61['replace'](/[\\-\\[]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,'\x5c$&'),_0x119b64=(_0x41f04e,_0x2a5498='i')=>{const _0x5dae03=_0x41f04e['split']('*')['map'](_0x42f55a);return new RegExp('^'+_0x5dae03['join']('.+')+'$',_0x2a5498);},_0x3226c8=['--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'],_0x44a41e=(_0x49d62b,_0x46ab93)=>window['getComputedStyle'](_0x49d62b)['getPropertyValue'](_0x46ab93)['trim'](),_0xb8b1ff=_0x4d53ad=>{const _0x4ffc1d={};for(const _0x16c70e of _0x3226c8){const _0x5e5d78=_0x44a41e(_0x4d53ad,_0x16c70e);_0x5e5d78&&(_0x4ffc1d[_0x16c70e]=_0x5e5d78);}return _0x4ffc1d;},_0x5548ff=['selected-files-change','toolbar-state-change'],_0x594322=class{['_handlerMap']=new Map();['_context'];['_getTargetOrigin'];constructor(_0x3475ae,_0x45fd33){this['_context']=_0x3475ae,this['_getTargetOrigin']=_0x45fd33,window['addEventListener']('message',this['_handleMessage']);}['_handleMessage']=_0x13b2db=>{if(_0x13b2db['source']!==this['_context'])return;const _0x59274c=_0x13b2db['data'];if(!(_0x42ebfe=>{if(!_0x42ebfe)return!0x1;if('object'!=typeof _0x42ebfe)return!0x1;if(!('type'in _0x42ebfe))return!0x1;const _0x4e00fd=_0x42ebfe['type'];return'string'==typeof _0x4e00fd&&!!_0x5548ff['includes'](_0x4e00fd);})(_0x59274c))return;const _0x24a994=this['_handlerMap']['get'](_0x59274c['type']);if(_0x24a994){for(const _0x102a21 of _0x24a994)_0x102a21(_0x59274c);}};['on'](_0x69c59c,_0x12398a){const _0x5834ad=this['_handlerMap']['get'](_0x69c59c)??new Set();this['_handlerMap']['has'](_0x69c59c)||this['_handlerMap']['set'](_0x69c59c,_0x5834ad),_0x5834ad['add'](_0x12398a);}['send'](_0x1c580f){const _0x414d78=this['_getTargetOrigin']();this['_context']['postMessage'](_0x1c580f,_0x414d78);}['destroy'](){window['removeEventListener']('message',this['_handleMessage']);}},_0x177274={[_0x1a7add['GDRIVE']]:'ngdrive'},_0x295212=class extends _0x52baae{['couldBeCtxOwner']=!0x0;['activityType']=_0x5bae2a['activities']['EXTERNAL'];['_messageBridge'];constructor(){super(),this['init$']={...this['init$'],'activityIcon':'','activityCaption':'','selectedList':[],'total':0x0,'isSelectionReady':!0x1,'isDoneBtnEnabled':!0x1,'couldSelectAll':!0x1,'couldDeselectAll':!0x1,'showSelectionStatus':!0x1,'showDoneBtn':!0x1,'counterText':'','doneBtnTextClass':'uc-hidden','toolbarVisible':!0x0,'onDone':()=>{for(const _0x341360 of this['$']['selectedList']){const _0x45571a=this['extractUrlFromSelectedFile'](_0x341360),{filename:_0x1e7e3e}=_0x341360,{externalSourceType:_0x50fdf1}=this['activityParams'];this['api']['addFileFromUrl'](_0x45571a,{'fileName':_0x1e7e3e,'source':_0x50fdf1});}this['$']['*currentActivity']=_0x5bae2a['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](_0x5bae2a['activities']['UPLOAD_LIST']);},'onCancel':()=>{this['historyBack']();},'onSelectAll':()=>{this['_messageBridge']?.['send']({'type':'select-all'});},'onDeselectAll':()=>{this['_messageBridge']?.['send']({'type':'deselect-all'});}};}get['activityParams'](){const _0xf88d75=super['activityParams'];if('externalSourceType'in _0xf88d75)return _0xf88d75;throw new Error('External\x20Source\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType'],{'onActivate':()=>{const {externalSourceType:_0x44b179}=this['activityParams'];if(!_0x44b179)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':''+_0x44b179[0x0]?.['toUpperCase']()+_0x44b179?.['slice'](0x1),'activityIcon':_0x44b179}),this['mountIframe']();}}),this['sub']('*currentActivityParams',_0x56b610=>{this['isActivityActive']&&(this['unmountIframe'](),this['mountIframe']());}),this['sub']('*currentActivity',_0x10a74c=>{_0x10a74c!==this['activityType']&&this['unmountIframe']();}),this['subConfigValue']('multiple',_0x55ee34=>{this['$']['showSelectionStatus']=_0x55ee34;}),this['subConfigValue']('localeName',_0x53c0ec=>{this['setupL10n']();}),this['subConfigValue']('externalSourcesEmbedCss',_0x39da1e=>{this['applyEmbedCss'](_0x39da1e);});}['extractUrlFromSelectedFile'](_0x51730c){if(_0x51730c['alternatives']){const _0x44946d=_0x25ff69(this['cfg']['externalSourcesPreferredTypes']);for(const _0x1b012f of _0x44946d){const _0x62d38e=_0x119b64(_0x1b012f);for(const [_0x5a63c8,_0x1d473b]of Object['entries'](_0x51730c['alternatives']))if(_0x62d38e['test'](_0x5a63c8))return _0x1d473b;}}return _0x51730c['url'];}['handleToolbarStateChange'](_0x2d0b40){this['set$']({'toolbarVisible':_0x2d0b40['isVisible']});}async['handleSelectedFilesChange'](_0x251d08){this['cfg']['multiple']===_0x251d08['isMultipleMode']?(this['bindL10n']('counterText',()=>this['l10n']('selected-count',{'count':_0x251d08['selectedCount'],'total':_0x251d08['total']})),this['set$']({'doneBtnTextClass':_0x251d08['isReady']?'':'uc-hidden','isSelectionReady':_0x251d08['isReady'],'isDoneBtnEnabled':_0x251d08['isReady']&&_0x251d08['selectedFiles']['length']>0x0,'showSelectionStatus':_0x251d08['isMultipleMode']&&_0x251d08['total']>0x0,'couldSelectAll':_0x251d08['selectedCount']<_0x251d08['total'],'couldDeselectAll':_0x251d08['selectedCount']===_0x251d08['total'],'selectedList':_0x251d08['selectedFiles'],'showDoneBtn':_0x251d08['total']>0x0})):console['error']('Multiple\x20mode\x20mismatch');}['handleIframeLoad'](){this['applyEmbedCss'](this['cfg']['externalSourcesEmbedCss']),this['applyTheme'](),this['setupL10n']();}['applyTheme'](){this['_messageBridge']?.['send']({'type':'set-theme-definition','theme':_0xb8b1ff(this)});}['applyEmbedCss'](_0x519aa7){this['_messageBridge']?.['send']({'type':'set-embed-css','css':_0x519aa7});}['setupL10n'](){this['_messageBridge']?.['send']({'type':'set-locale-definition','localeDefinition':this['cfg']['localeName']});}['remoteUrl'](){const {pubkey:_0x17082f,remoteTabSessionKey:_0x21ea74,socialBaseUrl:_0x399fdd,multiple:_0x55e1dd}=this['cfg'],{externalSourceType:_0x2542eb}=this['activityParams'],_0x144b3e=_0x177274[_0x2542eb]??_0x2542eb,_0x465e1e={'lang':this['l10n']('social-source-lang')?.['split']('-')?.[0x0]||'en','public_key':_0x17082f,'images_only':(!0x1)['toString'](),'session_key':_0x21ea74,'wait_for_theme':!0x0,'multiple':_0x55e1dd['toString'](),'origin':this['cfg']['topLevelOrigin']||_0x258f4d(),'debug':this['cfg']['debug']},_0x3d90d0=new URL('/window4/'+_0x144b3e,_0x399fdd);return _0x3d90d0['search']=function(_0x175fae){const _0x251e9d=[];for(const [_0x3aa1d3,_0x405173]of Object['entries'](_0x175fae))null==_0x405173||'string'==typeof _0x405173&&0x0===_0x405173['length']||_0x251e9d['push'](_0x3aa1d3+'='+encodeURIComponent(_0x405173));return _0x251e9d['join']('&');}(_0x465e1e),_0x3d90d0['toString']();}['mountIframe'](){const _0x5a11c1=_0x172471({'tag':'iframe','attributes':{'src':this['remoteUrl'](),'marginheight':0x0,'marginwidth':0x0,'frameborder':0x0,'allowTransparency':!0x0}});_0x5a11c1['addEventListener']('load',this['handleIframeLoad']['bind'](this)),this['ref']['iframeWrapper']['innerHTML']='',this['ref']['iframeWrapper']['appendChild'](_0x5a11c1),_0x5a11c1['contentWindow']&&(this['_messageBridge']?.['destroy'](),this['_messageBridge']=new _0x594322(_0x5a11c1['contentWindow'],()=>this['cfg']['socialBaseUrl']),this['_messageBridge']['on']('selected-files-change',this['handleSelectedFilesChange']['bind'](this)),this['_messageBridge']['on']('toolbar-state-change',this['handleToolbarStateChange']['bind'](this)),this['resetSelectionStatus']());}['unmountIframe'](){this['_messageBridge']?.['destroy'](),this['_messageBridge']=void 0x0,this['ref']['iframeWrapper']['innerHTML']='',this['resetSelectionStatus']();}['resetSelectionStatus'](){this['set$']({'selectedList':[],'total':0x0,'isDoneBtnEnabled':!0x1,'couldSelectAll':!0x1,'couldDeselectAll':!0x1,'showSelectionStatus':!0x1,'showDoneBtn':!0x1});}};_0x295212['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*historyBack\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x20\x20<div\x20class=\x22uc-content\x22>\x0a\x20\x20\x20\x20<div\x20ref=\x22iframeWrapper\x22\x20class=\x22uc-iframe-wrapper\x22></div>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-toolbar\x22\x20set=\x22@hidden:\x20!toolbarVisible\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-cancel-btn\x20uc-secondary-btn\x22\x20set=\x22onclick:\x20onCancel\x22\x20l10n=\x22cancel\x22></button>\x0a\x20\x20\x20\x20\x20\x20<div\x20set=\x22@hidden:\x20!showSelectionStatus\x22\x20class=\x22uc-selection-status-box\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span>{{counterText}}</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20set=\x22onclick:\x20onSelectAll;\x20@hidden:\x20!couldSelectAll\x22\x20l10n=\x22select-all\x22></button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20set=\x22onclick:\x20onDeselectAll;\x20@hidden:\x20!couldDeselectAll\x22\x20l10n=\x22deselect-all\x22></button>\x0a\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-done-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onDone;\x20@disabled:\x20!isDoneBtnEnabled;\x20@hidden:\x20!showDoneBtn\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-spinner\x20set=\x22@hidden:\x20isSelectionReady\x22></uc-spinner>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22done\x22\x20set=\x22@class:\x20doneBtnTextClass\x22></span>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20</div>\x0a';var _0x20132e=/^([0-9]+)x([0-9]+)(?:\s+(\d{1,2}|100)%)?$/i,_0x1ae442=class extends _0x52baae{['_entrySubs']=new Set();['_entry']=null;['_withEntry'](_0x5aadf3){return(..._0x3cbafd)=>{const _0x309550=this['_entry'];if(_0x309550)return _0x5aadf3(_0x309550,..._0x3cbafd);console['warn']('No\x20entry\x20found');};}['_subEntry'](_0x3b0165,_0x2f5781){this['_withEntry']((_0x43dd79,_0x238ae0,_0x55208a)=>{const _0x930d20=_0x43dd79['subscribe'](_0x238ae0,_0x5edfca=>{this['isConnected']&&_0x55208a(_0x5edfca);});this['_entrySubs']['add'](_0x930d20);})(_0x3b0165,_0x2f5781);}['_reset'](){for(const _0x5d8fa0 of this['_entrySubs'])_0x5d8fa0['remove']();this['_entrySubs']=new Set(),this['_entry']=null;}['disconnectedCallback'](){super['disconnectedCallback'](),this['_entrySubs']=new Set();}},_0x584f8a=Object['freeze']({'FINISHED':Symbol('FINISHED'),'FAILED':Symbol('FAILED'),'UPLOADING':Symbol('UPLOADING'),'VALIDATION':Symbol('VALIDATION'),'QUEUED_UPLOADING':Symbol('QUEUED-UPLOADING'),'QUEUED_VALIDATION':Symbol('QUEUED-VALIDATION'),'IDLE':Symbol('IDLE')}),_0x30adcf=class extends _0x203425{constructor(){super(),this['init$']={...this['init$'],'name':'','href':''};}['initCallback'](){super['initCallback'](),this['sub']('name',_0x3e1ff9=>{if(!_0x3e1ff9)return;let _0x319625='#uc-icon-'+_0x3e1ff9;this['subConfigValue']('iconHrefResolver',_0x27eef0=>{if(_0x27eef0){const _0x21545d=_0x27eef0(_0x3e1ff9);_0x319625=_0x21545d??_0x319625;}this['$']['href']=_0x319625;});}),this['setAttribute']('aria-hidden','true');}};_0x30adcf['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',_0x30adcf['bindAttributes']({'name':'name'});var _0x3621b1='--uc-img-',_0x5a5051='unresolved',_0x306209=!window['location']['host']['trim']()||window['location']['host']['includes'](':')||window['location']['hostname']['includes']('localhost'),t$=Object['freeze']({'PREVIEW':'PREVIEW','MAIN':'MAIN'}),_0x22c4f7=Object['freeze']({'dev-mode':{},'pubkey':{},'uuid':{},'src':{},'lazy':{'default':0x1},'intersection':{},'breakpoints':{},'cdn-cname':{'default':'https://ucarecdn.com'},'proxy-cname':{},'secure-delivery-proxy':{},'hi-res-support':{'default':0x1},'ultra-res-support':{},'format':{},'cdn-operations':{},'progressive':{},'quality':{},'is-background-for':{},'is-preview-blur':{'default':0x1}}),_0x9ae646=Object['create'](null);for(const _0x4c9362 in _0x22c4f7)_0x9ae646[_0x3621b1+_0x4c9362]=_0x22c4f7[_0x4c9362]?.['default']||'';var _0x3d4107=class extends _0x36866e{['cssInit$']=_0x9ae646;['$$'](_0x28edce){return this['$'][_0x3621b1+_0x28edce];}['set$$'](_0x60eff7){for(const _0x175611 in _0x60eff7)this['$'][_0x3621b1+_0x175611]=_0x60eff7[_0x175611];}['sub$$'](_0x57e58b,_0x15dcb4){this['sub'](_0x3621b1+_0x57e58b,_0x3023ae=>{null!==_0x3023ae&&''!==_0x3023ae&&_0x15dcb4(_0x3023ae);});}['analyticsParams'](){return'-/@clib/'+_0x13f4d4+'/'+_0x38b6b4+'/uc-img/';}['initAttributes'](_0x1fe366){[...this['attributes']]['forEach'](_0x5a5fe9=>{_0x22c4f7[_0x5a5fe9['name']]||_0x1fe366['setAttribute'](_0x5a5fe9['name'],_0x5a5fe9['value']);});}['initIntersection'](_0x44ac25,_0x1bf4f2){this['_isnObserver']=new IntersectionObserver(_0x59b4f2=>{_0x59b4f2['forEach'](_0x244a9d=>{_0x244a9d['isIntersecting']&&(_0x1bf4f2(),this['_isnObserver']['unobserve'](_0x44ac25));});},{'root':null,'rootMargin':'0px'}),this['_isnObserver']['observe'](_0x44ac25),this['_observed']||(this['_observed']=new Set()),this['_observed']['add'](_0x44ac25);}['destroyCallback'](){super['destroyCallback'](),this['_isnObserver']&&(this['_observed']['forEach'](_0x45018a=>{this['_isnObserver']['unobserve'](_0x45018a);}),this['_isnObserver']=null),_0x191ad9['deleteCtx'](this);}static get['observedAttributes'](){return Object['keys'](_0x22c4f7);}['attributeChangedCallback'](_0x3faf60,_0x45251c,_0x429578){window['setTimeout'](()=>{this['$'][_0x3621b1+_0x3faf60]=_0x429578;});}},_0x117bc6=class extends _0x3d4107{['_img']=new Image();['_imgPreview']=new Image();['_fmtAbs'](_0xd31e1a){return!_0xd31e1a['includes']('//')&&!_0x306209&&(_0xd31e1a=new URL(_0xd31e1a,document['baseURI'])['href']),_0xd31e1a;}['_validateSize'](_0x12db8c){if(''!==_0x12db8c?.['trim']()){const _0x273abc=_0x12db8c['match'](/\d+/)[0x0],_0x1234db=_0x12db8c['match'](/[a-zA-Z]+/)[0x0],_0xcaa17b=parseInt(_0x273abc,0xa);if(Number(_0xcaa17b)>0x1388&&this['hasFormatJPG'])return 0x1388+_0x1234db;if(Number(_0xcaa17b)>0xbb8&&!this['hasFormatJPG'])return 0xbb8+_0x1234db;}return _0x12db8c;}['_getCdnModifiers'](_0x18cd17,_0x399e8b){const _0x5e42e0={'format':this['$$']('format'),'quality':this['$$']('quality'),'resize':this['_validateSize'](_0x18cd17),'blur':_0x399e8b,'cdn-operations':this['$$']('cdn-operations'),'analytics':this['analyticsParams']()};return _0x3fb77f(...(_0x9d2532=>Object['entries'](_0x9d2532)['filter'](([_0x530804,_0x1ac966])=>void 0x0!==_0x1ac966&&''!==_0x1ac966)['map'](([_0x1189d7,_0x298eb1])=>'cdn-operations'===_0x1189d7||'analytics'===_0x1189d7?_0x298eb1:_0x1189d7+'/'+_0x298eb1))(_0x5e42e0));}['_getUrlBase'](_0x5dd1af='',_0xdef42=''){if(this['$$']('src')['startsWith']('data:')||this['$$']('src')['startsWith']('blob:'))return this['$$']('src');if(_0x306209&&this['$$']('src')&&!this['$$']('src')['includes']('//'))return this['_proxyUrl'](this['$$']('src'));const _0x1e0f43=this['_getCdnModifiers'](_0x5dd1af,_0xdef42);return this['$$']('src')['startsWith'](this['$$']('cdn-cname'))?_0x53475f(this['$$']('src'),_0x1e0f43):this['$$']('cdn-cname')&&this['$$']('uuid')||this['$$']('uuid')?this['_proxyUrl'](_0x53475f(_0x3de603(this['$$']('cdn-cname'),this['$$']('uuid')),_0x1e0f43)):this['$$']('proxy-cname')?this['_proxyUrl'](_0x53475f(this['$$']('proxy-cname'),_0x1e0f43,this['_fmtAbs'](this['$$']('src')))):this['$$']('pubkey')?this['_proxyUrl'](_0x53475f('https://'+this['$$']('pubkey')+'.ucr.io/',_0x1e0f43,this['_fmtAbs'](this['$$']('src')))):void 0x0;}['_proxyUrl'](_0x41c1ec){return this['$$']('secure-delivery-proxy')?_0x20b409(this['$$']('secure-delivery-proxy'),{'previewUrl':_0x41c1ec},{'transform':_0x196aa1=>window['encodeURIComponent'](_0x196aa1)}):_0x41c1ec;}['_getElSize'](_0x5da5ae,_0x2f1877=0x1,_0x23497b=!0x0){const _0x564e38=_0x5da5ae['getBoundingClientRect'](),_0x5c0608=_0x2f1877*Math['round'](_0x564e38['width']),_0x56cc2e=_0x23497b?'':_0x2f1877*Math['round'](_0x564e38['height']);return _0x5c0608||_0x56cc2e?(_0x5c0608||'')+'x'+(_0x56cc2e||''):null;}['_setupEventProxy'](_0x3f40f2){const _0x3dda0a=_0x2b4480=>{_0x2b4480['stopPropagation']();const _0x2e158d=new Event(_0x2b4480['type'],_0x2b4480);this['dispatchEvent'](_0x2e158d);},_0x4a7ad2=['load','error'];for(const _0x3411a5 of _0x4a7ad2)_0x3f40f2['addEventListener'](_0x3411a5,_0x3dda0a);}get['img'](){return this['hasPreviewImage']||(this['_setupConfigForImage']({'elNode':this['_img']}),this['appendChild'](this['_img'])),this['_img'];}get['currentImg'](){return this['hasPreviewImage']?{'type':t$['PREVIEW'],'img':this['_imgPreview']}:{'type':t$['MAIN'],'img':this['img']};}get['hasPreviewImage'](){return this['$$']('is-preview-blur');}get['bgSelector'](){return this['$$']('is-background-for');}get['breakpoints'](){if(this['$$']('breakpoints')){const _0x2ba162=_0x25ff69(this['$$']('breakpoints'));return _0x7275ba=_0x2ba162['map'](_0x11beb8=>parseInt(_0x11beb8,0xa)),[...new Set(_0x7275ba)];}return null;var _0x7275ba;}get['hasFormatJPG'](){return'jpeg'===this['$$']('format')['toLowerCase']();}['renderBg'](_0x5377ab){const _0x5af0ac=new Set();_0x5af0ac['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x5377ab))+'\x22)\x201x'),this['$$']('hi-res-support')&&_0x5af0ac['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x5377ab,0x2))+'\x22)\x202x'),this['$$']('ultra-res-support')&&_0x5af0ac['add']('url(\x22'+this['_getUrlBase'](this['_getElSize'](_0x5377ab,0x3))+'\x22)\x203x');const _0x41b849='image-set('+[..._0x5af0ac]['join'](',\x20')+')';_0x5377ab['style']['setProperty']('background-image',_0x41b849),_0x5377ab['style']['setProperty']('background-image','-webkit-'+_0x41b849);}['getSrcset'](){const _0x251bd5=new Set();return this['breakpoints']?this['breakpoints']['forEach'](_0x149366=>{_0x251bd5['add'](this['_getUrlBase'](_0x149366+'x')+('\x20'+this['_validateSize'](_0x149366+'w'))),this['$$']('hi-res-support')&&_0x251bd5['add'](this['_getUrlBase'](0x2*_0x149366+'x')+('\x20'+this['_validateSize'](0x2*_0x149366+'w'))),this['$$']('ultra-res-support')&&_0x251bd5['add'](this['_getUrlBase'](0x3*_0x149366+'x')+('\x20'+this['_validateSize'](0x3*_0x149366+'w')));}):(_0x251bd5['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img']))+'\x201x'),this['$$']('hi-res-support')&&_0x251bd5['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img'],0x2))+'\x202x'),this['$$']('ultra-res-support')&&_0x251bd5['add'](this['_getUrlBase'](this['_getElSize'](this['currentImg']['img'],0x3))+'\x203x')),[..._0x251bd5]['join']();}['getSrc'](){return this['_getUrlBase']();}get['srcUrlPreview'](){return this['_getUrlBase']('100x','100');}['renderBackground'](){[...document['querySelectorAll'](this['bgSelector'])]['forEach'](_0x2ded4e=>{this['$$']('intersection')?this['initIntersection'](_0x2ded4e,()=>{this['renderBg'](_0x2ded4e);}):this['renderBg'](_0x2ded4e);});}['_appendURL']({elNode:_0x2a673c,src:_0x1eb3f4,srcset:_0x515105}){_0x1eb3f4&&(_0x2a673c['src']=_0x1eb3f4),_0x515105&&(_0x2a673c['srcset']=_0x515105);}['_setupConfigForImage']({elNode:_0x4276ba}){this['_setupEventProxy'](_0x4276ba),this['initAttributes'](_0x4276ba);}['loaderImage']({src:_0x254382,srcset:_0x56781b,elNode:_0x16936b}){return new Promise((_0x5a1b99,_0x244373)=>{this['_setupConfigForImage']({'elNode':_0x16936b}),_0x16936b['setAttribute'](_0x5a5051,''),_0x16936b['addEventListener']('load',()=>{_0x16936b['removeAttribute'](_0x5a5051),_0x5a1b99(_0x16936b);}),_0x16936b['addEventListener']('error',()=>{_0x244373(!0x1);}),this['_appendURL']({'elNode':_0x16936b,'src':_0x254382,'srcset':_0x56781b});});}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(_0x5b6ee6){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(_0x1fa0d5){this['hasPreviewImage']&&await this['_imgPreview']?.['remove'](),this['appendChild'](this['_img']);}}['init'](){this['bgSelector']?this['renderBackground']():this['renderImage']();}},_0x4c47f3=null,_0xf053c=class extends _0x203425{static ['styleAttrs']=[...super['styleAttrs'],'uc-modal'];static ['StateConsumerScope']='modal';['_mouseDownTarget'];['handleModalOpen'];['handleModalClose'];['handleModalCloseAll'];constructor(){super(),this['init$']={...this['init$'],'closeClicked':this['_handleDialogClose']};}['_handleBackdropClick']=()=>{this['_closeDialog']();};['_closeDialog']=()=>{this['modalManager']?.['close'](this['id']),this['modalManager']?.['hasActiveModals']||(document['body']['style']['overflow']='');};['_handleDialogClose']=()=>{this['_closeDialog']();};['_handleDialogMouseDown']=_0x20c461=>{this['_mouseDownTarget']=_0x20c461['target'];};['_handleDialogMouseUp']=_0x30d696=>{const _0xa63a2e=_0x30d696['target'];_0xa63a2e===this['ref']['dialog']&&_0xa63a2e===this['_mouseDownTarget']&&this['_closeDialog']();};['show'](){const _0x371c1b=this['ref']['dialog'];'function'==typeof _0x371c1b['showModal']?(this['setAttribute']('aria-modal','true'),_0x371c1b['showModal']()):_0x371c1b['setAttribute']('open',''),this['cfg']['modalScrollLock']&&(document['body']['style']['overflow']='hidden');}['hide'](){const _0x31fd87=this['ref']['dialog'];'function'==typeof _0x31fd87['close']?(this['setAttribute']('aria-modal','false'),_0x31fd87['close']()):_0x31fd87['removeAttribute']('open');}['_handleModalOpen']({id:_0x98e3eb}){_0x98e3eb===this['id']?(_0x4c47f3=_0x98e3eb,this['show'](),this['emit'](_0x4d7bbe['MODAL_OPEN'],{'modalId':_0x98e3eb},{'debounce':!0x0})):this['hide']();}['_handleModalClose']({id:_0x4c059c}){_0x4c059c===this['id']&&(this['hide'](),this['emit'](_0x4d7bbe['MODAL_CLOSE'],{'modalId':_0x4c059c,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0}));}['_handleModalCloseAll'](_0x2dfb3b){this['hide'](),_0x4c47f3===this['id']&&this['emit'](_0x4d7bbe['MODAL_CLOSE'],{'modalId':_0x4c47f3,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0});}['initCallback'](){super['initCallback'](),this['modalManager']?.['registerModal'](this['id'],this);const _0x147b10=this['ref']['dialog'];_0x147b10['addEventListener']('close',this['_handleDialogClose']),_0x147b10['addEventListener']('mousedown',this['_handleDialogMouseDown']),_0x147b10['addEventListener']('mouseup',this['_handleDialogMouseUp']),this['subConfigValue']('modalBackdropStrokes',_0x4965f4=>{_0x4965f4?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'](_0x45ede0['OPEN'],this['handleModalOpen']),this['modalManager']?.['subscribe'](_0x45ede0['CLOSE'],this['handleModalClose']),this['modalManager']?.['subscribe'](_0x45ede0['CLOSE_ALL'],this['handleModalCloseAll']);}['destroyCallback'](){super['destroyCallback'](),document['body']['style']['overflow']='',this['_mouseDownTarget']=void 0x0;const _0x187cfc=this['ref']['dialog'];_0x187cfc['removeEventListener']('close',this['_handleDialogClose']),_0x187cfc['removeEventListener']('mousedown',this['_handleDialogMouseDown']),_0x187cfc['removeEventListener']('mouseup',this['_handleDialogMouseUp']),this['modalManager']?.['unsubscribe'](_0x45ede0['OPEN'],this['handleModalOpen']),this['modalManager']?.['unsubscribe'](_0x45ede0['CLOSE'],this['handleModalClose']),this['modalManager']?.['unsubscribe'](_0x45ede0['CLOSE_ALL'],this['handleModalCloseAll']);}};_0xf053c['template']='\x0a\x20\x20<dialog\x20ref=\x22dialog\x22>\x0a\x20\x20\x20\x20<slot></slot>\x0a\x20\x20</dialog>\x0a';var _0x102b8b=class extends _0x203425{['_value']=0x0;['_visible']=!0x0;constructor(){super(),this['init$']={...this['init$'],'width':0x0,'opacity':0x0};}['initCallback'](){super['initCallback'](),(this['ref']['fakeProgressLine']['addEventListener']('animationiteration',()=>{const _0x359644=this['ref']['fakeProgressLine'];this['_visible']?this['_value']>0x0&&_0x359644['classList']['add']('uc-fake-progress--hidden'):_0x359644['classList']['add']('uc-fake-progress--hidden');}),this['defineAccessor']('value',_0x37d260=>{null!=_0x37d260&&(this['_value']=_0x37d260,this['_visible']&&this['style']['setProperty']('--l-progress-value',this['_value']['toString']()));}),this['defineAccessor']('visible',_0xf020bb=>{this['_visible']=_0xf020bb,this['classList']['toggle']('uc-progress-bar--hidden',!_0xf020bb);}));}};_0x102b8b['template']='\x0a\x20\x20<div\x20ref=\x22fakeProgressLine\x22\x20class=\x22uc-fake-progress\x22></div>\x0a\x20\x20<div\x20ref=\x22realProgressLine\x22\x20class=\x22uc-progress\x22></div>\x0a';var _0x3905ca=class extends _0x52baae{['_unobserveCollectionCb'];constructor(){super(),this['init$']={...this['init$'],'visible':!0x1,'value':0x0,'*commonProgress':0x0};}['initCallback'](){super['initCallback'](),this['_unobserveCollectionCb']=this['uploadCollection']['observeProperties'](()=>{const _0x1037fe=this['uploadCollection']['items']()['some'](_0x3bb711=>{const _0x5c10ba=this['uploadCollection']['read'](_0x3bb711);return _0x5c10ba?.['getValue']('isUploading')??!0x1;});this['$']['visible']=_0x1037fe;}),this['sub']('visible',_0x271d7e=>{_0x271d7e?this['setAttribute']('active',''):this['removeAttribute']('active');}),this['sub']('*commonProgress',_0x317db4=>{this['$']['value']=_0x317db4;});}['destroyCallback'](){super['destroyCallback'](),this['_unobserveCollectionCb']?.(),this['_unobserveCollectionCb']=void 0x0;}};_0x3905ca['template']='\x20<uc-progress-bar\x20set=\x22visible:\x20visible;\x20value:\x20value\x22></uc-progress-bar>\x20';var _0x41edb2=class extends _0x203425{constructor(){super(),this['init$']={...this['init$'],'currentText':'','options':[],'selectHtml':'','onSelect':_0x59f9ab=>{_0x59f9ab['preventDefault'](),_0x59f9ab['stopPropagation']();const _0xe0c6f4=this['ref']['select'];this['value']=_0xe0c6f4['value'],this['$']['currentText']=this['$']['options']['find'](_0x238b0e=>_0x238b0e['value']===this['value'])?.['text']||'',this['dispatchEvent'](new Event('change'));}};}['initCallback'](){super['initCallback'](),this['sub']('options',_0x569209=>{this['$']['currentText']=_0x569209?.[0x0]?.['text']||'';let _0x100227='';_0x569209?.['forEach'](_0x27fd29=>{_0x100227+='<option\x20value=\x22'+_0x27fd29['value']+'\x22>'+_0x27fd29['text']+'</option>';}),this['$']['selectHtml']=_0x100227;});}};_0x41edb2['template']='\x20<select\x20ref=\x22select\x22\x20set=\x22innerHTML:\x20selectHtml;\x20onchange:\x20onSelect\x22></select>\x20';var _0x4a5a23=class extends _0x52baae{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',_0x541bce=>{void 0x0!==_0x541bce&&(this['$']['withDropZone']=_0x50fac0(_0x541bce));}),this['subConfigValue']('multiple',_0x54ef24=>{this['$']['button-text']=_0x54ef24?'upload-files':'upload-file';});}};_0x4a5a23['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',_0x4a5a23['bindAttributes']({'dropzone':null});var _0x26522f=class extends _0x52baae{['couldBeCtxOwner']=!0x0;['type']=void 0x0;['_registeredTypes']={};constructor(){super(),this['init$']={...this['init$'],'iconName':'default','src-type':''};}['initTypes'](){this['registerType']({'type':_0x359f91['LOCAL'],'activate':()=>(this['api']['openSystemDialog'](),!0x1)}),this['registerType']({'type':_0x359f91['URL'],'activity':_0x5bae2a['activities']['URL'],'textKey':'from-url'}),this['registerType']({'type':_0x359f91['CAMERA'],'activity':_0x5bae2a['activities']['CAMERA'],'activate':()=>{const _0x44636e=_0x4f0264['htmlMediaCapture'];return _0x44636e&&this['api']['openSystemDialog']({'captureCamera':!0x0}),!_0x44636e;}}),this['registerType']({'type':'draw','activity':_0x5bae2a['activities']['DRAW'],'icon':'edit-draw'});for(const _0x2a8d55 of Object['values'](_0x3f439f))this['registerType']({'type':_0x2a8d55,'activity':_0x5bae2a['activities']['CAMERA'],'activate':()=>{const _0x40c542=_0x4f0264['htmlMediaCapture'];return _0x40c542&&this['api']['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'mobile-photo-camera'===_0x2a8d55?_0x3f065b['PHOTO']:_0x3f065b['VIDEO']}),!_0x40c542;}});for(const _0x4faeb2 of Object['values'](_0x1a7add))this['registerType']({'type':_0x4faeb2,'activity':_0x5bae2a['activities']['EXTERNAL'],'activityParams':{'externalSourceType':_0x4faeb2}});}['initCallback'](){super['initCallback'](),this['initTypes'](),this['defineAccessor']('type',_0x3a8612=>{_0x3a8612&&this['applyType'](_0x3a8612);});}['registerType'](_0xa61360){this['_registeredTypes'][_0xa61360['type']]=_0xa61360;}['getType'](_0x3aac98){return this['_registeredTypes'][_0x3aac98];}['activate'](){if(!this['type'])return;const _0x2ad8d7=this['_registeredTypes'][this['type']];if(!_0x2ad8d7)return;const {activity:_0x500d4d,activate:_0x100833,activityParams:_0x26c43a={}}=_0x2ad8d7;(_0x100833?_0x100833():!!_0x500d4d)&&_0x500d4d&&(this['modalManager']?.['open'](_0x500d4d),this['set$']({'*currentActivityParams':_0x26c43a,'*currentActivity':_0x500d4d}));}['applyType'](_0x342b0a){const _0xcda970=this['_registeredTypes'][_0x342b0a];if(!_0xcda970)return void console['warn']('Unsupported\x20source\x20type:\x20'+_0x342b0a);const {textKey:_0x250dd5=_0x342b0a,icon:_0x20ebb4=_0x342b0a}=_0xcda970;this['$']['src-type']='src-type-'+_0x250dd5,this['$']['iconName']=_0x20ebb4,this['onclick']=()=>{this['activate']();};}};_0x26522f['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',_0x26522f['bindAttributes']({'type':null});var _0x4535d0=class extends _0x36866e{};_0x4535d0['template']='\x20<div\x20class=\x22uc-spinner\x22></div>\x20';var _0x6ae5b0=class extends _0x5bae2a{['historyTracked']=!0x0;['activityType']=_0x5bae2a['activities']['START_FROM'];['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'');}};function _0x5ae7ba(_0x407c98,_0x2b2079=0x28){if('image/svg+xml'===_0x407c98['type'])return URL['createObjectURL'](_0x407c98);const _0x4d7bd1=document['createElement']('canvas'),_0x5cd570=_0x4d7bd1['getContext']('2d');if(!_0x5cd570)return Promise['reject'](new Error('Canvas\x20context\x20not\x20supported'));const _0x45ca66=new Image(),_0x54e535=new Promise((_0x337546,_0x294e9a)=>{_0x45ca66['onload']=()=>{const _0x303149=_0x45ca66['height']/_0x45ca66['width'];_0x303149>0x1?(_0x4d7bd1['width']=_0x2b2079,_0x4d7bd1['height']=_0x2b2079*_0x303149):(_0x4d7bd1['height']=_0x2b2079,_0x4d7bd1['width']=_0x2b2079/_0x303149),_0x5cd570['fillStyle']='rgb(240,\x20240,\x20240)',_0x5cd570['fillRect'](0x0,0x0,_0x4d7bd1['width'],_0x4d7bd1['height']),_0x5cd570['drawImage'](_0x45ca66,0x0,0x0,_0x4d7bd1['width'],_0x4d7bd1['height']),_0x4d7bd1['toBlob'](_0x53e9d5=>{if(!_0x53e9d5)return void _0x294e9a();const _0x3dcd92=URL['createObjectURL'](_0x53e9d5);_0x337546(_0x3dcd92);});},_0x45ca66['onerror']=_0x32e3f8=>{_0x294e9a(_0x32e3f8);};});return _0x45ca66['src']=URL['createObjectURL'](_0x407c98),_0x54e535;}function _0x336b17(_0x2010e0='hsl(209,\x2021%,\x2065%)',_0x142b7a=0x20,_0x3b1a60=0x20){return function(_0x1b4539){const _0x18bba1=new Blob([_0x1b4539],{'type':'image/svg+xml'});return URL['createObjectURL'](_0x18bba1);}('\x0a\x20\x20<svg\x20width=\x22'+_0x142b7a+'\x22\x20height=\x22'+_0x3b1a60+'\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'+_0x2010e0+'\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');}_0x6ae5b0['template']='\x20<div\x20class=\x22uc-content\x22><slot></slot></div>\x20';var _0x36fc05=class extends _0x1ae442{['_renderedGridOnce']=!0x1;['_thumbRect']=null;['_isIntersecting']=!0x1;['_firstViewMode']=this['cfg']['filesViewMode'];['_observer'];constructor(){super(),this['init$']={...this['init$'],'thumbUrl':'','badgeIcon':'','uid':''};}['_calculateThumbSize'](_0x3114ce=!0x1){_0x3114ce&&(this['_thumbRect']=this['getBoundingClientRect']());let _0x5d2778=Math['max'](parseInt(String(this?.['_thumbRect']?.['height']||0x0),0xa),parseInt(String(this?.['_thumbRect']?.['width']||0x0),0xa),this['cfg']['thumbSize']);return window['devicePixelRatio']>0x1&&(_0x5d2778*=window['devicePixelRatio']),Math['min'](_0x5d2778,0xbb8);}['_generateThumbnail']=this['_withEntry'](async(e,i=!0x1)=>{const s=e['getValue']('fileInfo'),n=e['getValue']('isImage'),r=e['getValue']('uuid'),o=e['getValue']('thumbUrl'),a=this['_calculateThumbSize'](i);if(s&&n&&r){const i=await this['proxyUrl'](_0x53475f(_0x3de603(this['cfg']['cdnCname'],r),_0x3fb77f(e['getValue']('cdnUrlModifiers'),'stretch/off','scale_crop/'+a+'x'+a+'/center')));if(o===i)return;const {promise:s}=_0x339eb0(i);return void s['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 s=await _0x5ae7ba(i,a);e['setValue']('thumbUrl',s);}catch(i){this['telemetryManager']['sendEventError'](i,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');const s=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',_0x336b17(s));}});}if(e['getValue']('thumbUrl'))return;const c=e['getValue']('file');if(c?.['type']['includes']('image'))try{const i=await _0x5ae7ba(c,a);e['setValue']('thumbUrl',i);}catch(i){this['telemetryManager']['sendEventError'](i,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');const s=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',_0x336b17(s));}else{const i=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');e['setValue']('thumbUrl',_0x336b17(i));}});['_debouncedGenerateThumb']=_0x1675b0(this['_generateThumbnail']['bind'](this),0x64);['_observerCallback'](_0x374528){const [_0x279cbd]=_0x374528;_0x279cbd&&(this['_isIntersecting']=_0x279cbd['isIntersecting'],_0x279cbd['isIntersecting']&&(this['_thumbRect']=_0x279cbd['boundingClientRect'],this['_debouncedGenerateThumb'](),this['_observer']?.['disconnect']()),0x0===_0x279cbd['intersectionRatio']&&this['_debouncedGenerateThumb']['cancel']());}['_reset'](){super['_reset'](),this['_debouncedGenerateThumb']['cancel']();}['_handleEntryId'](_0x1936fd){this['_reset']();const _0x243345=this['uploadCollection']?.['read'](_0x1936fd);this['_entry']=_0x243345,_0x243345&&(this['_subEntry']('fileInfo',_0x247265=>{_0x247265?.['isImage']&&this['_isIntersecting']&&this['_debouncedGenerateThumb']();}),this['_subEntry']('thumbUrl',_0x1a2358=>{this['$']['thumbUrl']=_0x1a2358?'url('+_0x1a2358+')':'';}),this['_subEntry']('cdnUrlModifiers',()=>{this['_isIntersecting']&&this['_debouncedGenerateThumb']();}),this['_isIntersecting']&&this['_debouncedGenerateThumb']());}['initCallback'](){super['initCallback'](),this['defineAccessor']('badgeIcon',_0x2939b9=>{this['$']['badgeIcon']=_0x2939b9;}),this['defineAccessor']('uid',_0x55788d=>{this['set$']({'uid':_0x55788d});}),this['sub']('uid',_0x2ec9ea=>{this['_handleEntryId'](_0x2ec9ea);}),this['subConfigValue']('filesViewMode',_0x2c0024=>{'grid'!==_0x2c0024||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']();}};_0x36fc05['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',_0x36fc05['bindAttributes']({'badgeIcon':null,'uid':null});var _0x22b3a9=class extends _0x52baae{['couldBeCtxOwner']=!0x0;['historyTracked']=!0x0;['activityType']=_0x5bae2a['activities']['UPLOAD_LIST'];constructor(){super(),this['init$']={...this['init$'],'doneBtnVisible':!0x1,'doneBtnEnabled':!0x1,'uploadBtnVisible':!0x1,'addMoreBtnVisible':!0x1,'addMoreBtnEnabled':!0x1,'headerText':'','commonErrorMessage':'','hasFiles':!0x1,'onAdd':()=>{this['telemetryManager']['sendEvent']({'eventType':_0x6408f2['ACTION_EVENT'],'payload':{'metadata':{'event':'add-more','node':this['tagName']}}}),this['api']['initFlow'](!0x0);},'onUpload':()=>{this['emit'](_0x4d7bbe['UPLOAD_CLICK']),this['api']['uploadAll'](),this['_throttledHandleCollectionUpdate']();},'onDone':()=>{this['emit'](_0x4d7bbe['DONE_CLICK'],this['api']['getOutputCollectionState']()),this['api']['doneFlow']();},'onCancel':()=>{this['telemetryManager']['sendEvent']({'eventType':_0x6408f2['ACTION_EVENT'],'payload':{'metadata':{'event':'clear-all','node':this['tagName']}}}),this['uploadCollection']['clearAll']();}};}['_throttledHandleCollectionUpdate']=_0x460e1c(()=>{this['isConnected']&&(this['_updateUploadsState'](),this['couldOpenActivity']||this['$']['*currentActivity']!==this['activityType']||this['historyBack'](),this['cfg']['confirmUpload']||this['api']['uploadAll']());},0x12c);['_updateUploadsState'](){const _0x218d1a=this['api']['getOutputCollectionState'](),_0x4cf79f={'total':_0x218d1a['totalCount'],'succeed':_0x218d1a['successCount'],'uploading':_0x218d1a['uploadingCount'],'failed':_0x218d1a['failedCount'],'validatingBeforeUploading':_0x218d1a['idleEntries']['filter'](_0x231829=>_0x231829['isValidationPending'])['length']},_0x4c2673=!_0x218d1a['errors']['some'](_0x850c70=>'TOO_MANY_FILES'===_0x850c70['type']||'TOO_FEW_FILES'===_0x850c70['type']),_0x58ec32=_0x218d1a['errors']['some'](_0x17b341=>'TOO_MANY_FILES'===_0x17b341['type']),_0x3a89b6=_0x218d1a['totalCount']===(this['cfg']['multiple']?this['cfg']['multipleMax']:0x1),_0x2abca8=_0x218d1a['allEntries']['some'](_0x410cc4=>_0x410cc4['isValidationPending']),_0x767753=0x0===_0x4cf79f['failed']&&0x0===_0x218d1a['errors']['length']&&!_0x2abca8;let _0x1abc86=!0x1,_0x3cbbdd=!0x1,_0x53e89c=!0x1;if(_0x4cf79f['total']-_0x4cf79f['succeed']-_0x4cf79f['uploading']-_0x4cf79f['failed']>0x0&&_0x4c2673&&_0x767753)_0x1abc86=!0x0;else{_0x3cbbdd=!0x0;const _0x655903=!this['cfg']['groupOutput']||!!_0x218d1a['group'];_0x53e89c=_0x4cf79f['total']===_0x4cf79f['succeed']&&_0x4c2673&&_0x767753&&_0x655903;}this['set$']({'doneBtnVisible':_0x3cbbdd,'doneBtnEnabled':_0x53e89c,'uploadBtnVisible':_0x1abc86,'addMoreBtnEnabled':0x0===_0x4cf79f['total']||!_0x58ec32&&!_0x3a89b6,'addMoreBtnVisible':!_0x3a89b6||this['cfg']['multiple'],'hasFiles':_0x4cf79f['total']>0x0}),this['bindL10n']('headerText',()=>this['_getHeaderText'](_0x4cf79f));}['_getHeaderText'](_0x3ae16c){const _0x32bd65=_0x5df76d=>{let _0x2f18d4=_0x3ae16c[_0x5df76d];return'uploading'===_0x5df76d&&(_0x2f18d4+=_0x3ae16c['validatingBeforeUploading']),this['l10n']('header-'+_0x5df76d,{'count':_0x2f18d4});};return _0x3ae16c['uploading']>0x0||_0x3ae16c['validatingBeforeUploading']>0x0?_0x32bd65('uploading'):_0x3ae16c['failed']>0x0?_0x32bd65('failed'):_0x3ae16c['succeed']>0x0?_0x32bd65('succeed'):_0x32bd65('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',_0x5d34e4=>{_0x5d34e4&&this['_throttledHandleCollectionUpdate']();}),this['subConfigValue']('filesViewMode',_0x126651=>{this['setAttribute']('mode',_0x126651);}),this['sub']('*currentActivity',_0x3060b7=>{this['couldOpenActivity']||_0x3060b7!==this['activityType']||(this['$']['*currentActivity']=this['initActivity']);}),this['uploadCollection']['observeProperties'](this['_throttledHandleCollectionUpdate']),this['uploadCollection']['observeCollection'](this['_throttledHandleCollectionUpdate']),this['sub']('*collectionErrors',_0x5b360d=>{const _0x4c4f76=_0x5b360d['filter'](_0x419d01=>'SOME_FILES_HAS_ERRORS'!==_0x419d01['type'])[0x0];_0x4c4f76?this['set$']({'commonErrorMessage':_0x4c4f76['message']}):this['set$']({'commonErrorMessage':null});});}['destroyCallback'](){super['destroyCallback'](),this['uploadCollection']['unobserveProperties'](this['_throttledHandleCollectionUpdate']),this['uploadCollection']['unobserveCollection'](this['_throttledHandleCollectionUpdate']);}};_0x22b3a9['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<span\x20aria-live=\x22polite\x22\x20class=\x22uc-header-text\x22>{{headerText}}</span>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*closeModal\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x0a\x20\x20<div\x20class=\x22uc-no-files\x22\x20set=\x22@hidden:\x20hasFiles\x22>\x0a\x20\x20\x20\x20<slot\x20name=\x22empty\x22><span\x20l10n=\x22no-files\x22></span></slot>\x0a\x20\x20</div>\x0a\x0a\x20\x20<div\x20class=\x22uc-files\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-files-wrapper\x22\x20repeat=\x22*uploadList\x22\x20repeat-item-tag=\x22uc-file-item\x22></div>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-add-more-btn\x20uc-secondary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onAdd;\x20@disabled:\x20!addMoreBtnEnabled;\x20@hidden:\x20!addMoreBtnVisible\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22add\x22></uc-icon><span\x20l10n=\x22add-more\x22></span>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</div>\x0a\x0a\x20\x20<div\x20class=\x22uc-common-error\x22\x20set=\x22@hidden:\x20!commonErrorMessage;\x20textContent:\x20commonErrorMessage;\x22></div>\x0a\x0a\x20\x20<div\x20class=\x22uc-toolbar\x22>\x0a\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-cancel-btn\x20uc-secondary-btn\x22\x20set=\x22onclick:\x20onCancel;\x22\x20l10n=\x22clear\x22></button>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-toolbar-spacer\x22></div>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-add-more-btn\x20uc-secondary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onAdd;\x20@disabled:\x20!addMoreBtnEnabled;\x20@hidden:\x20!addMoreBtnVisible\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22add\x22></uc-icon><span\x20l10n=\x22add-more\x22></span>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-upload-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22@hidden:\x20!uploadBtnVisible;\x20onclick:\x20onUpload;\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22upload\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-done-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22@hidden:\x20!doneBtnVisible;\x20onclick:\x20onDone;\x20\x20@disabled:\x20!doneBtnEnabled\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22done\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20</div>\x0a\x0a\x20\x20<uc-drop-area\x20ghost></uc-drop-area>\x0a';var _0x555bca=class extends _0x52baae{['couldBeCtxOwner']=!0x0;['activityType']=_0x5bae2a['activities']['URL'];constructor(){super(),this['init$']={...this['init$'],'importDisabled':!0x0,'onUpload':_0x4cabfb=>{_0x4cabfb['preventDefault'](),this['telemetryManager']['sendEvent']({'eventType':_0x6408f2['ACTION_EVENT'],'payload':{'metadata':{'event':'upload-from-url','node':this['tagName']}}});const _0x11c395=this['ref']['input']['value'];this['api']['addFileFromUrl'](_0x11c395,{'source':_0x359f91['URL']}),this['modalManager']?.['open'](_0x5bae2a['activities']['UPLOAD_LIST']),this['$']['*currentActivity']=_0x5bae2a['activities']['UPLOAD_LIST'];},'onCancel':()=>{this['historyBack']();},'onInput':_0x16bc4c=>{const _0x4378f1=_0x16bc4c['target']?.['value']??'';this['set$']({'importDisabled':!_0x4378f1});}};}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'',{'onActivate':()=>{const _0x568bc3=this['ref']['input'];_0x568bc3['value']='',_0x568bc3['focus']();}});}};_0x555bca['template']='\x0a\x20\x20<uc-activity-header>\x0a\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-mini-btn\x22\x20set=\x22onclick:\x20*historyBack\x22\x20l10n=\x22@title:back;@aria-label:back\x22>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22back\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20<div>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22url\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20<span\x20l10n=\x22caption-from-url\x22></span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-mini-btn\x20uc-close-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20*closeModal\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22@title:a11y-activity-header-button-close;@aria-label:a11y-activity-header-button-close\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22close\x22></uc-icon>\x0a\x20\x20\x20\x20</button>\x0a\x20\x20</uc-activity-header>\x0a\x20\x20<form\x20class=\x22uc-content\x22>\x0a\x20\x20\x20\x20<label>\x0a\x20\x20\x20\x20\x20\x20<input\x20placeholder=\x22https://\x22\x20class=\x22uc-url-input\x22\x20type=\x22text\x22\x20ref=\x22input\x22\x20set=\x22oninput:\x20onInput\x22\x20/>\x0a\x20\x20\x20\x20</label>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22submit\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-url-upload-btn\x20uc-primary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onUpload;\x20@disabled:\x20importDisabled\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22upload-url\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20</form>\x0a';var _0x4575d5=class extends _0x483259{static ['styleAttrs']=[...super['styleAttrs'],'uc-wgt-common'];constructor(){super(),this['init$']={...this['init$'],'*solution':this['tagName']};}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x6408f2['INIT_SOLUTION']}),this['a11y']?.['registerBlock'](this);}},_0x3f04c2=class extends _0x3b1431{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-inline'];constructor(){super(),this['init$']={...this['init$'],'couldCancel':!0x1,'*solution':this['tagName'],'cancel':()=>{if(this['couldHistoryBack']){const _0x1c0d41=this['$']['*historyBack'];return void _0x1c0d41?.();}this['couldShowList']&&(this['$']['*currentActivity']=_0x5bae2a['activities']['UPLOAD_LIST']);}};}get['couldHistoryBack'](){const _0x3fbf8f=this['$']['*history'];return!(!_0x3fbf8f||_0x3fbf8f['length']<=0x1)&&_0x3fbf8f[_0x3fbf8f['length']-0x1]!==_0x5bae2a['activities']['START_FROM'];}get['couldShowList'](){const _0x11f3a1=this['$']['*uploadList'];return this['cfg']['showEmptyList']||Array['isArray'](_0x11f3a1)&&_0x11f3a1['length']>0x0;}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x6408f2['INIT_SOLUTION']});const _0x5f228d=this['ref']['uBlock'];_0x5f228d&&(this['sub']('*currentActivity',_0x5a3fee=>{_0x5a3fee||(this['$']['*currentActivity']=_0x5f228d['initActivity']||_0x5bae2a['activities']['START_FROM']);}),this['sub']('*uploadList',_0x4f04a8=>{Array['isArray'](_0x4f04a8)&&_0x4f04a8['length']>0x0&&this['$']['*currentActivity']===(_0x5f228d['initActivity']||_0x5bae2a['activities']['START_FROM'])&&(this['$']['*currentActivity']=_0x5bae2a['activities']['UPLOAD_LIST']);}),this['sub']('*history',()=>{this['$']['couldCancel']=this['couldHistoryBack']||this['couldShowList'];}));}};_0x3f04c2['template']='\x0a\x20\x20<uc-start-from>\x0a\x20\x20\x20\x20<uc-drop-area\x20with-icon\x20clickable></uc-drop-area>\x0a\x20\x20\x20\x20<uc-source-list\x20role=\x22list\x22\x20wrap></uc-source-list>\x0a\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20l10n=\x22start-from-cancel\x22\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-cancel-btn\x20uc-secondary-btn\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20cancel;\x20@hidden:\x20!couldCancel\x22\x0a\x20\x20\x20\x20></button>\x0a\x20\x20\x20\x20<uc-copyright></uc-copyright>\x0a\x20\x20</uc-start-from>\x0a\x20\x20<uc-upload-list\x20ref=\x22uBlock\x22></uc-upload-list>\x0a\x20\x20<uc-camera-source></uc-camera-source>\x0a\x20\x20<uc-url-source></uc-url-source>\x0a\x20\x20<uc-external-source></uc-external-source>\x0a\x20\x20<uc-cloud-image-editor-activity></uc-cloud-image-editor-activity>\x0a';var _0x4532a0='active',_0x139d70=class extends _0x3b1431{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-minimal'];['handleModalOpen'];['handleModalClose'];constructor(){super(),this['init$']={...this['init$'],'singleUpload':!0x1,'isHiddenStartFrom':!0x1,'classUploadList':'','classStartFrom':'','*solution':this['tagName']};}['_handleModalOpen'](_0x59aff7){_0x59aff7['id']===_0x5bae2a['activities']['CLOUD_IMG_EDIT']&&this['set$']({'classUploadList':_0x4532a0}),this['$']['*currentActivity']===_0x5bae2a['activities']['UPLOAD_LIST']&&this['set$']({'classUploadList':_0x4532a0,'isHiddenStartFrom':!0x0});const _0x13a090=this['$']['*uploadList'];(!_0x13a090||_0x13a090['length']<=0x0)&&this['set$']({'classStartFrom':_0x4532a0});}['_handleModalClose'](_0x56d275){_0x56d275['id']===this['$']['*currentActivity']&&(this['$']['*currentActivity']=_0x5bae2a['activities']['UPLOAD_LIST'],this['set$']({'isHiddenStartFrom':!0x1})),_0x56d275['id']===_0x5bae2a['activities']['CLOUD_IMG_EDIT']&&(this['$']['*currentActivity']=_0x5bae2a['activities']['UPLOAD_LIST']);}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x6408f2['INIT_SOLUTION']});const _0x3be865=this['ref']['uBlock'];_0x3be865&&(this['sub']('*currentActivity',_0x1e839c=>{_0x1e839c===_0x5bae2a['activities']['UPLOAD_LIST']&&this['modalManager']?.['closeAll'](),_0x1e839c||(this['$']['*currentActivity']=_0x3be865['initActivity']||_0x5bae2a['activities']['START_FROM']);}),this['sub']('*uploadList',_0x2d5c9a=>{Array['isArray'](_0x2d5c9a)&&_0x2d5c9a['length']>0x0?(this['$']['*currentActivity']=_0x5bae2a['activities']['UPLOAD_LIST'],this['set$']({'classStartFrom':''})):(this['set$']({'classUploadList':'','isHiddenStartFrom':!0x1}),this['$']['*currentActivity']=_0x3be865['initActivity']||_0x5bae2a['activities']['START_FROM']);}),this['subConfigValue']('confirmUpload',_0x3a9040=>{!0x1!==_0x3a9040&&(this['cfg']['confirmUpload']=!0x1);}),this['subConfigValue']('filesViewMode',_0xbd034b=>{this['setAttribute']('mode',_0xbd034b),this['subConfigValue']('multiple',_0x238e5c=>{'grid'===_0xbd034b?(_0x238e5c?this['style']['removeProperty']('--uc-grid-col'):this['style']['setProperty']('--uc-grid-col','1'),this['$']['singleUpload']=!_0x238e5c):(this['style']['removeProperty']('--uc-grid-col'),this['$']['singleUpload']=!0x1);});}),this['handleModalOpen']=_0x4f9811=>{this['_handleModalOpen'](_0x4f9811);},this['handleModalClose']=_0x48e3e1=>{this['_handleModalClose'](_0x48e3e1);},this['modalManager']?.['subscribe'](_0x45ede0['OPEN'],this['handleModalOpen']),this['modalManager']?.['subscribe'](_0x45ede0['CLOSE'],this['handleModalClose']));}['destroyCallback'](){super['destroyCallback'](),this['modalManager']?.['unsubscribe'](_0x45ede0['OPEN'],this['handleModalOpen']),this['modalManager']?.['unsubscribe'](_0x45ede0['CLOSE'],this['handleModalClose']);}};_0x139d70['template']='\x0a\x20\x20<uc-start-from\x20set=\x22@hidden:\x20isHiddenStartFrom;\x20@class:classStartFrom\x22>\x0a\x20\x20\x20\x20<uc-drop-area\x20set=\x22@single:singleUpload;\x22\x20initflow\x20clickable\x20tabindex=\x220\x22\x20l10n=\x22choose-file\x22></uc-drop-area>\x0a\x20\x20\x20\x20<uc-copyright></uc-copyright>\x0a\x20\x20</uc-start-from>\x0a\x20\x20<uc-upload-list\x20set=\x22@class:classUploadList\x22\x20ref=\x22uBlock\x22></uc-upload-list>\x0a\x0a\x20\x20<uc-modal\x20id=\x22start-from\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-start-from>\x0a\x20\x20\x20\x20\x20\x20<uc-drop-area\x20with-icon\x20clickable></uc-drop-area>\x0a\x20\x20\x20\x20\x20\x20<uc-source-list\x20role=\x22list\x22\x20wrap></uc-source-list>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20l10n=\x22start-from-cancel\x22\x20class=\x22uc-secondary-btn\x22\x20set=\x22onclick:\x20*historyBack\x22></button>\x0a\x20\x20\x20\x20</uc-start-from>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22camera\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-camera-source></uc-camera-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22url\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-url-source></uc-url-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22external\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-external-source></uc-external-source>\x0a\x20\x20</uc-modal>\x0a\x0a\x20\x20<uc-modal\x20id=\x22cloud-image-edit\x22\x20strokes\x20block-body-scrolling>\x0a\x20\x20\x20\x20<uc-cloud-image-editor-activity></uc-cloud-image-editor-activity>\x0a\x20\x20</uc-modal>\x0a';var _0x58abd9=class extends _0x3b1431{static ['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-regular'];constructor(){super();const _0x2296e7={...this['init$'],'isHidden':!0x1,'*solution':this['tagName']};this['init$']=_0x2296e7;}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x6408f2['INIT_SOLUTION']}),this['defineAccessor']('headless',_0x1071a4=>{this['set$']({'isHidden':_0x50fac0(_0x1071a4)});});}};_0x58abd9['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',_0x58abd9['bindAttributes']({'headless':null});var _0x3f1ca1=Object['freeze']({'__proto__':null,'ActivityBlock':_0x5bae2a,'ActivityHeader':class extends _0x5bae2a{},'BaseComponent':_0x36866e,'Block':_0x203425,'BtnUi':tQ,'CameraSource':_0x5eed91,'CloudImageEditor':_0x4575d5,'CloudImageEditorActivity':class extends _0x52baae{['couldBeCtxOwner']=!0x0;['activityType']=_0x5bae2a['activities']['CLOUD_IMG_EDIT'];['_entry'];['_instance'];get['activityParams'](){const _0xd16b84=super['activityParams'];if('internalId'in _0xd16b84)return _0xd16b84;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',_0x2beda4=>{this['_instance']&&this['_instance']['getAttribute']('crop-preset')!==_0x2beda4&&this['_instance']['setAttribute']('crop-preset',_0x2beda4);}),this['subConfigValue']('cloudImageEditorTabs',_0x1580fa=>{this['_instance']&&this['_instance']['getAttribute']('tabs')!==_0x1580fa&&this['_instance']['setAttribute']('tabs',_0x1580fa);});}['handleApply'](_0x2bd7a0){if(!this['_entry'])return;const _0x2f276b=_0x2bd7a0['detail'];this['_entry']['setMultipleValues']({'cdnUrl':_0x2f276b['cdnUrl'],'cdnUrlModifiers':_0x2f276b['cdnUrlModifiers']}),this['modalManager']?.['close'](_0x5bae2a['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['handleCancel'](){this['modalManager']?.['close'](_0x5bae2a['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['mountEditor'](){const {internalId:_0x32ce24}=this['activityParams'],_0x19751=this['uploadCollection']['read'](_0x32ce24);if(!_0x19751)throw new Error('Entry\x20with\x20internalId\x20\x22'+_0x32ce24+'\x22\x20not\x20found');this['_entry']=_0x19751;const _0x4908a1=this['_entry']['getValue']('cdnUrl');if(!_0x4908a1)throw new Error('Entry\x20with\x20internalId\x20\x22'+_0x32ce24+'\x22\x20hasn\x27t\x20uploaded\x20yet');const _0x6e8235=new _0x483259(),_0x1bcdbc=this['cfg']['cropPreset'],_0x46c46c=this['cfg']['cloudImageEditorTabs'];_0x6e8235['setAttribute']('ctx-name',this['ctxName']),_0x6e8235['setAttribute']('cdn-url',_0x4908a1),_0x1bcdbc&&_0x6e8235['setAttribute']('crop-preset',_0x1bcdbc),_0x46c46c&&_0x6e8235['setAttribute']('tabs',_0x46c46c),_0x6e8235['addEventListener']('apply',_0x565e5b=>{const _0x17ef0f=_0x565e5b;this['handleApply'](_0x17ef0f),this['debugPrint']('editor\x20event\x20\x22apply\x22',_0x17ef0f['detail']);}),_0x6e8235['addEventListener']('cancel',_0x3136ab=>{const _0x1cc8af=_0x3136ab;this['handleCancel'](),this['debugPrint']('editor\x20event\x20\x22cancel\x22',_0x1cc8af['detail']);}),_0x6e8235['addEventListener']('change',_0x1ed721=>{const _0x3cea23=_0x1ed721;this['debugPrint']('editor\x20event\x20\x22change\x22',_0x3cea23['detail']);}),this['innerHTML']='',this['appendChild'](_0x6e8235),this['_instance']=_0x6e8235;}['unmountEditor'](){this['_instance']=void 0x0,this['_entry']=void 0x0,this['innerHTML']='';}},'CloudImageEditorBlock':_0x483259,'Config':_0x2c61c1,'Copyright':class extends _0x203425{['initCallback'](){super['initCallback'](),this['subConfigValue']('removeCopyright',_0x214f3b=>{this['toggleAttribute']('hidden',!!_0x214f3b);});}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';},'CropFrame':_0x2b8cd1,'Data':_0x191ad9,'DropArea':_0xd5c2fa,'EditorAspectRatioButtonControl':_0x46bdc0,'EditorCropButtonControl':_0x4628fd,'EditorFilterControl':_0x1197a4,'EditorFreeformButtonControl':_0x1b2ba9,'EditorImageCropper':_0x54ff46,'EditorImageFader':class extends _0x203425{['_isActive']=!0x1;['_hidden']=!0x0;['_operation']='initial';['_filter'];['_value'];['_transformations']={};['_keypoints']=[];['_container'];['_previewImage'];['_cancelLastImages'];['_cancelBatchPreload'];['_url'];['_fromViewer'];['_raf']=0x0;['_addKeypointDebounced']=_0x1675b0(this['_addKeypoint']['bind'](this),0x258);constructor(){super(),this['classList']['add']('uc-inactive_to_cropper');}['_handleImageLoading'](_0x526948){const _0xbc8c4=this['_operation'],_0x3e4bee=this['$']['*loadingOperations'];_0x3e4bee['has'](_0xbc8c4)||_0x3e4bee['set'](_0xbc8c4,new Map());const _0xaa57cf=_0x3e4bee['get'](_0xbc8c4);return _0xaa57cf&&!_0xaa57cf['get'](_0x526948)&&(_0xaa57cf['set'](_0x526948,!0x0),this['$']['*loadingOperations']=_0x3e4bee),()=>{const _0x50d339=_0x3e4bee['get'](_0xbc8c4);_0x50d339?.['has'](_0x526948)&&(_0x50d339['delete'](_0x526948),this['$']['*loadingOperations']=_0x3e4bee);};}['_flush'](){window['cancelAnimationFrame'](this['_raf']),this['_raf']=window['requestAnimationFrame'](()=>{for(const _0x1b2871 of this['_keypoints']){const {image:_0x3b5f59}=_0x1b2871;_0x3b5f59&&(_0x3b5f59['style']['opacity']=_0x1b2871['opacity']['toString'](),_0x3b5f59['style']['zIndex']=_0x1b2871['zIndex']['toString']());}});}['_imageSrc']({url:_0x54ed4d=this['_url'],filter:_0x1bf45c=this['_filter']??void 0x0,operation:_0x9ddcf9,value:_0x9d6d47}={}){if(!_0x54ed4d)throw new Error('URL\x20is\x20not\x20defined');const _0x231eeb={...this['_transformations']};_0x9ddcf9&&('filter'===_0x9ddcf9?_0x1bf45c&&'number'==typeof _0x9d6d47&&(_0x231eeb['filter']={'name':_0x1bf45c,'amount':_0x9d6d47}):'number'==typeof _0x9d6d47&&(_0x231eeb[_0x9ddcf9]=_0x9d6d47));const _0x3b1bfb=this['offsetWidth'];return this['proxyUrl'](_0x53b213(_0x54ed4d,_0x3b1bfb,_0x231eeb));}async['_constructKeypoint'](_0x114768,_0x2e5ad5){return{'src':await this['_imageSrc']({'operation':_0x114768,'value':_0x2e5ad5}),'image':void 0x0,'opacity':0x0,'zIndex':0x0,'value':_0x2e5ad5};}['_isSame'](_0x2e72c4,_0x43b2ca){return this['_operation']===_0x2e72c4&&this['_filter']===_0x43b2ca;}async['_addKeypoint'](_0xc6a4bd,_0x2928aa,_0x323770){const _0x43d8e0=()=>!this['_isSame'](_0xc6a4bd,_0x2928aa)||this['_value']!==_0x323770||!!this['_keypoints']['find'](_0x215363=>_0x215363['value']===_0x323770);if(_0x43d8e0())return;const _0x33808a=await this['_constructKeypoint'](_0xc6a4bd,_0x323770),_0x306a67=new Image();_0x306a67['src']=_0x33808a['src'];const _0x34f732=this['_handleImageLoading'](_0x33808a['src']);_0x306a67['addEventListener']('load',_0x34f732,{'once':!0x0}),_0x306a67['addEventListener']('error',_0x34f732,{'once':!0x0}),_0x33808a['image']=_0x306a67,_0x306a67['classList']['add']('uc-fader-image'),_0x306a67['addEventListener']('load',()=>{if(_0x43d8e0())return;const _0x532b74=this['_keypoints'];let _0x324c93=_0x532b74['findIndex'](_0xd3d1e3=>_0xd3d1e3['value']>_0x323770);-0x1===_0x324c93&&(_0x324c93=_0x532b74['length']);const _0x36c246=_0x532b74[_0x324c93],_0x2b34ee=_0x36c246?.['image'],_0x3a8bf6=this['_container'];!_0x3a8bf6||_0x2b34ee&&!_0x3a8bf6['contains'](_0x2b34ee)||(_0x532b74['splice'](_0x324c93,0x0,_0x33808a),_0x2b34ee&&_0x3a8bf6['insertBefore'](_0x306a67,_0x2b34ee),this['_update'](_0xc6a4bd,_0x323770));},{'once':!0x0}),_0x306a67['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}['set'](_0x116f7a){const _0x57b1f5='string'==typeof _0x116f7a?parseInt(_0x116f7a,0xa):_0x116f7a;(function(_0x5699db){return'string'==typeof _0x5699db&&_0x5699db in _0x251e94;}(this['_operation'])&&Number['isFinite'](_0x57b1f5)&&(this['_update'](this['_operation'],_0x57b1f5),this['_addKeypointDebounced'](this['_operation'],this['_filter'],_0x57b1f5)));}['_update'](_0x1a5bc6,_0x4967d8){this['_operation']=_0x1a5bc6,this['_value']=_0x4967d8;const {zero:_0x17a516}=_0x251e94[_0x1a5bc6],_0x2f0d1f=this['_keypoints']['map'](_0x3fdaec=>_0x3fdaec['value']),_0x1ed6ef=function(_0x1d8951,_0x55eed4,_0x246372){const _0x4a0cdd=function(_0x133399){const _0x56e93a=[];for(let _0x234797=0x0;_0x234797<_0x133399['length']-0x1;_0x234797+=0x1){const _0x5ef6e9=_0x133399[_0x234797],_0x3158af=_0x133399[_0x234797+0x1];'number'==typeof _0x5ef6e9&&'number'==typeof _0x3158af&&_0x56e93a['push']([_0x5ef6e9,_0x3158af]);}return _0x56e93a;}(_0x1d8951)['find'](([_0x5c6407,_0x49381e])=>_0x5c6407<=_0x55eed4&&_0x55eed4<=_0x49381e);if(!_0x4a0cdd)return _0x1d8951['map'](()=>0x0);const [_0x457902,_0xb953a1]=_0x4a0cdd;return _0x1d8951['map'](_0x4d95d7=>{const _0x33cc9e=Math['abs'](_0x457902-_0xb953a1)||0x1,_0x1b4335=Math['abs'](_0x55eed4-_0x457902)/_0x33cc9e;return _0x457902===_0x4d95d7?_0x55eed4>_0x246372?0x1:0x1-_0x1b4335:_0xb953a1===_0x4d95d7?_0x55eed4>=_0x246372?_0x1b4335:0x1:0x0;});}(_0x2f0d1f,_0x4967d8,_0x17a516),_0x17b0c0=function(_0x250d2c,_0x422e3d){return _0x250d2c['map']((_0x4c17cb,_0x152702)=>_0x4c17cb<_0x422e3d?_0x250d2c['length']-_0x152702:_0x152702);}(_0x2f0d1f,_0x17a516);this['_keypoints']['forEach']((_0x13b964,_0x2036bf)=>{const _0x1782d6=_0x1ed6ef[_0x2036bf],_0x25d394=_0x17b0c0[_0x2036bf];'number'==typeof _0x1782d6&&(_0x13b964['opacity']=_0x1782d6),'number'==typeof _0x25d394&&(_0x13b964['zIndex']=_0x25d394);}),this['_flush']();}['_createPreviewImage'](){const _0x30b5c6=new Image();return _0x30b5c6['classList']['add']('uc-fader-image','uc-fader-image--preview'),_0x30b5c6['style']['opacity']='0',_0x30b5c6;}async['_initNodes'](){const _0x402a52=document['createDocumentFragment']();this['_previewImage']=this['_previewImage']||this['_createPreviewImage']();const _0x5d5b4e=this['_previewImage'];this['contains'](_0x5d5b4e)||_0x402a52['appendChild'](_0x5d5b4e);const _0x4a3737=document['createElement']('div');_0x402a52['appendChild'](_0x4a3737);const _0xd5089a=this['_keypoints']['map'](_0xf17cbb=>_0xf17cbb['src']),{images:_0x58359b,promise:_0x6985e,cancel:_0x1d12e3}=_0x515443(_0xd5089a);_0x58359b['forEach'](_0x1e8867=>{const _0x2f2a15=this['_handleImageLoading'](_0x1e8867['src']);_0x1e8867['addEventListener']('load',_0x2f2a15),_0x1e8867['addEventListener']('error',_0x2f2a15);}),this['_cancelLastImages']=()=>{_0x1d12e3(),this['_cancelLastImages']=void 0x0;};const _0x5328c7=this['_operation'],_0x5058be=this['_filter'];await _0x6985e,this['_isActive']&&this['_isSame'](_0x5328c7,_0x5058be)&&(this['_container']?.['remove'](),this['_container']=_0x4a3737,this['_keypoints']['forEach']((_0x35b502,_0x42a505)=>{const _0x238bb9=_0x58359b[_0x42a505];_0x238bb9&&(_0x238bb9['classList']['add']('uc-fader-image'),_0x35b502['image']=_0x238bb9,this['_container']?.['appendChild'](_0x238bb9));}),this['appendChild'](_0x402a52),this['_flush']());}async['setTransformations'](_0x5376d7){if(this['_transformations']=_0x5376d7,this['_previewImage']){const _0x57c0f6=await this['_imageSrc'](),_0x1d24ca=this['_handleImageLoading'](_0x57c0f6);this['_previewImage']['src']=_0x57c0f6,this['_previewImage']['addEventListener']('load',_0x1d24ca,{'once':!0x0}),this['_previewImage']['addEventListener']('error',_0x1d24ca,{'once':!0x0}),this['_previewImage']['style']['opacity']='1',this['_previewImage']['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}}async['preload']({url:_0x4de5e0,filter:_0x5d2989,operation:_0x29da4e,value:_0x14c489}){if(!_0x29da4e||'number'!=typeof _0x14c489)return;this['_cancelBatchPreload']?.();const _0x41ba28=_0x576f74(_0x29da4e,_0x14c489),_0x248672=await Promise['all'](_0x41ba28['map'](_0x3d2a17=>this['_imageSrc']({'url':_0x4de5e0,'filter':_0x5d2989,'operation':_0x29da4e,'value':_0x3d2a17}))),{cancel:_0x2354e2}=_0x515443(_0x248672);this['_cancelBatchPreload']=_0x2354e2;}['_setOriginalSrc'](_0x3bc902){const _0x2f7af8=this['_previewImage']||this['_createPreviewImage']();if(this['contains'](_0x2f7af8)||this['appendChild'](_0x2f7af8),this['_previewImage']=_0x2f7af8,_0x2f7af8['src']===_0x3bc902)return _0x2f7af8['style']['opacity']='1',_0x2f7af8['style']['transform']='scale(1)',void(this['className']=_0x19a8c9({'uc-active_from_viewer':this['_fromViewer'],'uc-active_from_cropper':!this['_fromViewer'],'uc-inactive_to_cropper':!0x1}));_0x2f7af8['style']['opacity']='0';const _0x48b74b=this['_handleImageLoading'](_0x3bc902);_0x2f7af8['addEventListener']('error',_0x48b74b,{'once':!0x0}),_0x2f7af8['src']=_0x3bc902,_0x2f7af8['addEventListener']('load',()=>{_0x48b74b(),_0x2f7af8&&(_0x2f7af8['style']['opacity']='1',_0x2f7af8['style']['transform']='scale(1)',this['className']=_0x19a8c9({'uc-active_from_viewer':this['_fromViewer'],'uc-active_from_cropper':!this['_fromViewer'],'uc-inactive_to_cropper':!0x1}));},{'once':!0x0}),_0x2f7af8['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}async['activate']({url:_0x1032c9,operation:_0x273766,value:_0x549d58,filter:_0x8f4d6d,fromViewer:_0x19e713}){this['_isActive']=!0x0,this['_hidden']=!0x1,this['_url']=_0x1032c9,this['_operation']=_0x273766??'initial',this['_value']=_0x549d58,this['_filter']=_0x8f4d6d,this['_fromViewer']=_0x19e713;if('number'!=typeof _0x549d58&&!_0x8f4d6d){const _0x3b40cd=await this['_imageSrc']({'operation':_0x273766,'value':_0x549d58});return this['_setOriginalSrc'](_0x3b40cd),void this['_container']?.['remove']();}_0x273766&&'number'==typeof _0x549d58&&(this['_keypoints']=await Promise['all'](_0x576f74(_0x273766,_0x549d58)['map'](_0x5e489=>this['_constructKeypoint'](_0x273766,_0x5e489))),this['_update'](_0x273766,_0x549d58),this['_initNodes']());}['deactivate']({hide:_0x1d6a8a=!0x0}={}){this['_isActive']=!0x1,this['_cancelLastImages']?.(),this['_cancelBatchPreload']?.(),_0x1d6a8a&&!this['_hidden']?(this['_hidden']=!0x0,this['_previewImage']&&(this['_previewImage']['style']['transform']='scale(1)'),this['className']=_0x19a8c9({'uc-active_from_viewer':!0x1,'uc-active_from_cropper':!0x1,'uc-inactive_to_cropper':!0x0}),this['addEventListener']('transitionend',()=>{this['_container']?.['remove']();},{'once':!0x0})):this['_container']?.['remove']();}},'EditorOperationControl':_0x5ac58a,'EditorScroller':_0x57469f,'EditorSlider':_0x5f44af,'EditorToolbar':_0x1a1e5d,'ExternalSource':_0x295212,'ExternalUploadSource':_0x1a7add,'FileItem':class _FileItem extends _0x1ae442{['couldBeCtxOwner']=!0x0;['pauseRender']=!0x0;['_renderedOnce']=!0x1;['_observer'];['_isIntersecting']=!0x1;['_thumbRect'];constructor(){super(),this['init$']={...this['init$'],'uid':'','itemName':'','errorText':'','hint':'','thumbUrl':'','progressValue':0x0,'progressVisible':!0x1,'badgeIcon':'','isFinished':!0x1,'isFailed':!0x1,'isUploading':!0x1,'isFocused':!0x1,'isEditable':!0x1,'showFileNames':!0x1,'state':_0x584f8a['IDLE'],'ariaLabelStatusFile':'','onEdit':this['_withEntry'](_0x503de5=>{this['telemetryManager']['sendEvent']({'eventType':_0x6408f2['ACTION_EVENT'],'payload':{'metadata':{'event':'edit-file','node':this['tagName']}}}),this['$']['*currentActivityParams']={'internalId':_0x503de5['uid']},this['modalManager']?.['open'](_0x5bae2a['activities']['CLOUD_IMG_EDIT']),this['$']['*currentActivity']=_0x5bae2a['activities']['CLOUD_IMG_EDIT'];}),'onRemove':()=>{this['telemetryManager']['sendEvent']({'eventType':_0x6408f2['ACTION_EVENT'],'payload':{'metadata':{'event':'remove-file','node':this['tagName']}}}),this['uploadCollection']['remove'](this['$']['uid']);},'onUpload':()=>{this['upload']();}};}['_calculateState']=this['_withEntry'](e=>{let i=_0x584f8a['IDLE'];e['getValue']('errors')['length']>0x0?i=_0x584f8a['FAILED']:e['getValue']('isQueuedForUploading')?i=_0x584f8a['QUEUED_UPLOADING']:e['getValue']('isQueuedForValidation')?i=_0x584f8a['QUEUED_VALIDATION']:e['getValue']('isValidationPending')?i=_0x584f8a['VALIDATION']:e['getValue']('isUploading')?i=_0x584f8a['UPLOADING']:e['getValue']('fileInfo')&&(i=_0x584f8a['FINISHED']),this['$']['state']=i;});['_debouncedCalculateState']=_0x1675b0(this['_calculateState']['bind'](this),0x64);['_updateHintAndProgress']=this['_withEntry'](_0x460e1c((e,i)=>{const s=e['getValue']('errors')?.[0x0]?.['message'],n=e['getValue']('source'),r=e['getValue']('externalUrl'),o=i===_0x584f8a['FINISHED'],a=i===_0x584f8a['UPLOADING'],c=i===_0x584f8a['QUEUED_UPLOADING'],l=i===_0x584f8a['QUEUED_VALIDATION'],h=i===_0x584f8a['VALIDATION'],u=e['getValue']('fileName');let d='';s?d='':!o&&r&&n&&Object['values'](_0x1a7add)['includes'](n)&&(d=this['l10n']('waiting-for',{'source':this['l10n']('src-type-'+n)})),this['set$']({'hint':d,'errorText':s,'progressVisible':a||c||l||h,'progressValue':l||h?0x0:e['getValue']('uploadProgress'),'ariaLabelStatusFile':u&&this['l10n']('a11y-file-item-status',{'fileName':u,'status':this['l10n'](i?.['description']?.['toLocaleLowerCase']()??'')['toLocaleLowerCase']()})});},0x64));['_handleState']=this['_withEntry']((e,i)=>{i===_0x584f8a['FAILED']?this['$']['badgeIcon']='badge-error':i===_0x584f8a['FINISHED']&&(this['$']['badgeIcon']='badge-success'),i===_0x584f8a['UPLOADING']&&(this['$']['isFocused']=!0x1),this['set$']({'isFailed':i===_0x584f8a['FAILED'],'isUploading':i===_0x584f8a['UPLOADING'],'isFinished':i===_0x584f8a['FINISHED'],'isEditable':this['cfg']['useCloudImageEditor']&&e['getValue']('isImage')&&e['getValue']('cdnUrl')}),this['_updateHintAndProgress'](i);});['_reset'](){super['_reset'](),this['_debouncedCalculateState']['cancel']();}['_observerCallback'](_0x2d8414){const [_0x29c2a3]=_0x2d8414;_0x29c2a3&&(this['_isIntersecting']=_0x29c2a3['isIntersecting'],this['_thumbRect']=_0x29c2a3['boundingClientRect'],_0x29c2a3['isIntersecting']&&!this['_renderedOnce']&&(this['render'](),this['_renderedOnce']=!0x0));}['_handleEntryId'](_0x5bf879){this['_reset']();const _0x4bccd5=this['uploadCollection']?.['read'](_0x5bf879);this['_entry']=_0x4bccd5,_0x4bccd5&&(this['_subEntry']('isQueuedForValidation',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('isValidationPending',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('uploadProgress',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('isQueuedForUploading',()=>{this['_debouncedCalculateState']();}),this['_subEntry']('fileName',_0x22f70f=>{this['$']['itemName']=_0x22f70f||_0x4bccd5['getValue']('externalUrl')||this['l10n']('file-no-name'),this['_debouncedCalculateState']();}),this['_subEntry']('externalUrl',_0x5ac7f6=>{this['$']['itemName']=_0x4bccd5['getValue']('fileName')||_0x5ac7f6||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'](_0x11ea3a){'list'===this['cfg']['filesViewMode']?this['$']['showFileNames']=!0x0:this['$']['showFileNames']=_0x11ea3a;}['initCallback'](){super['initCallback'](),this['sub']('uid',_0x1d351=>{this['_handleEntryId'](_0x1d351);}),this['sub']('state',_0x2d80a4=>{this['_handleState'](_0x2d80a4);}),this['subConfigValue']('useCloudImageEditor',()=>this['_debouncedCalculateState']()),this['subConfigValue']('filesViewMode',_0xbbc1b=>{this['_updateShowFileNames'](this['cfg']['gridShowFileNames']),this['setAttribute']('mode',_0xbbc1b);}),this['subConfigValue']('gridShowFileNames',_0x40220d=>{this['_updateShowFileNames'](_0x40220d);}),this['onclick']=()=>{_FileItem['activeInstances']['forEach'](_0x5700da=>{_0x5700da===this?_0x5700da['setAttribute']('focused',''):_0x5700da['removeAttribute']('focused');});},this['sub']('*uploadTrigger',_0x5c2c0a=>{this['_entry']&&!_0x5c2c0a['has'](this['_entry']['uid'])||setTimeout(()=>this['isConnected']&&this['upload']());}),_FileItem['activeInstances']['add'](this);}['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(_0x53b7cb=>{if('string'!=typeof _0x53b7cb)return!0x1;const _0x334b07=_0x20132e['exec'](_0x53b7cb['toLocaleLowerCase']())??[];if(0x0===_0x334b07['length'])return!0x1;const _0x33c7cb=Number(_0x334b07[0x1])*Number(_0x334b07[0x2]);return _0x33c7cb>0x10000000?(console['warn']('Shrinked\x20size\x20can\x20not\x20be\x20larger\x20than\x20'+Math['floor'](268.435456)+'MP.\x20You\x20have\x20set\x20'+_0x334b07[0x1]+'x'+_0x334b07[0x2]+'\x20('+Math['ceil'](_0x33c7cb/0x3e8/0x64)/0xa+'MP).'),!0x1):{'quality':_0x334b07[0x3]?Number(_0x334b07[0x3])/0x64:void 0x0,'size':_0x33c7cb};})(this['cfg']['imageShrink']);}async['_processShrink'](_0x5e4378){const _0x1d4208=this['_settingsOfShrink']();return _0x1d4208?await tN(_0x5e4378,_0x1d4208):(console['warn']('Image\x20shrink\x20settings\x20are\x20invalid,\x20skipping\x20shrinking'),_0x5e4378);}['upload']=this['_withEntry'](async e=>{if(!this['uploadCollection']['read'](e['uid']))return;if(e['getValue']('fileInfo')||e['getValue']('isUploading')||e['getValue']('errors')['length']>0x0||e['getValue']('isValidationPending'))return;const i=this['cfg']['multiple']?this['cfg']['multipleMax']:0x1;if(!(i&&this['uploadCollection']['size']>i)){e['setMultipleValues']({'isUploading':!0x0,'errors':[],'isQueuedForUploading':!0x0}),this['_debouncedCalculateState']();try{const i=new AbortController();e['setValue']('abortController',i);const s=async()=>{e['setValue']('isQueuedForUploading',!0x1);let s=e['getValue']('file');if(s instanceof File&&this['cfg']['imageShrink'])try{s=await this['_processShrink'](s);}catch{}const n=s||e['getValue']('externalUrl')||e['getValue']('uuid');if(!n)throw new Error('No\x20file\x20input');const r={...await this['getUploadClientOptions'](),'fileName':e['getValue']('fileName')??void 0x0,'source':e['getValue']('source')??void 0x0,'onProgress':i=>{if(i['isComputable']){const s=0x64*i['value'];e['setValue']('uploadProgress',s);}},'signal':i['signal'],'metadata':await this['getMetadataFor'](e['uid'])};return this['debugPrint']('upload\x20options',n,r),_0x531cb0(n,r);},n=await this['$']['*uploadQueue']['add'](s);e['setMultipleValues']({'fileInfo':n,'isQueuedForUploading':!0x1,'isUploading':!0x1,'fileName':n['originalFilename'],'fileSize':n['size'],'isImage':n['isImage']??!0x1,'mimeType':n['contentInfo']?.['mime']?.['mime']??n['mimeType'],'uuid':n['uuid'],'cdnUrl':e['getValue']('cdnUrl')??n['cdnUrl'],'cdnUrlModifiers':e['getValue']('cdnUrlModifiers')??'','uploadProgress':0x64,'source':e['getValue']('source')??null}),e===this['_entry']&&this['_debouncedCalculateState']();}catch(i){this['telemetryManager']['sendEventError'](i,'file\x20upload.\x20Failed\x20to\x20upload\x20file'),i instanceof _0x5888df&&i['isCancel']?e['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0}):i instanceof _0x338809?e['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':i}):(console['error']('Unknown\x20upload\x20error',i),e['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':new Error('Something\x20went\x20wrong',{'cause':i})})),e===this['_entry']&&this['_debouncedCalculateState']();}}});static ['template']='\x0a\x20\x20<div\x20class=\x22uc-inner\x22\x20set=\x22@finished:\x20isFinished;\x20@uploading:\x20isUploading;\x20@failed:\x20isFailed;\x20@focused:\x20isFocused\x22>\x0a\x20\x20\x20\x20<uc-thumb\x20set=\x22uid:uid;badgeIcon:badgeIcon\x22></uc-thumb>\x0a\x0a\x20\x20\x20\x20<div\x20aria-atomic=\x22true\x22\x20aria-live=\x22polite\x22\x20class=\x22uc-file-name-wrapper\x22\x20set=\x22@aria-label:ariaLabelStatusFile;\x22>\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22uc-file-name\x22\x20set=\x22@hidden:\x20!showFileNames\x22>{{itemName}}</span>\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22uc-file-error\x22\x20set=\x22@hidden:\x20!errorText;\x22>{{errorText}}</span>\x0a\x20\x20\x20\x20\x20\x20<span\x20class=\x22uc-file-hint\x22\x20set=\x22@hidden:\x20!hint\x22>{{hint}}</span>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<div\x20class=\x22uc-file-actions\x22>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20l10n=\x22@title:file-item-edit-button;@aria-label:file-item-edit-button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-edit-btn\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onEdit;\x20@hidden:\x20!isEditable\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22edit-file\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x0a\x20\x20\x20\x20\x20\x20\x20\x20type=\x22button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20l10n=\x22@title:file-item-remove-button;@aria-label:file-item-remove-button\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20class=\x22uc-remove-btn\x20uc-mini-btn\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20set=\x22onclick:\x20onRemove;\x22\x0a\x20\x20\x20\x20\x20\x20>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22remove-file\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22uc-upload-btn\x20uc-mini-btn\x22\x20set=\x22onclick:\x20onUpload;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<uc-icon\x20name=\x22upload\x22></uc-icon>\x0a\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<uc-progress-bar\x0a\x20\x20\x20\x20\x20\x20class=\x22uc-progress-bar\x22\x0a\x20\x20\x20\x20\x20\x20set=\x22value:\x20progressValue;\x20visible:\x20progressVisible;\x20@hasFileName:\x20showFileNames;\x22\x0a\x20\x20\x20\x20>\x0a\x20\x20\x20\x20</uc-progress-bar>\x0a\x20\x20</div>\x0a';static ['activeInstances']=new Set();},'FileUploaderInline':_0x3f04c2,'FileUploaderMinimal':_0x139d70,'FileUploaderRegular':_0x58abd9,'FormInput':class extends _0x52baae{['requireCtxName']=!0x0;['_validationInputElement']=null;['_dynamicInputsContainer']=null;['_createValidationInput'](){const _0x3b0c90=document['createElement']('input');return _0x3b0c90['type']='text',_0x3b0c90['name']=this['ctxName'],_0x3b0c90['required']=this['cfg']['multipleMin']>0x0,_0x3b0c90['tabIndex']=-0x1,_0x59e2b6(_0x3b0c90,{'opacity':0x0,'height':0x0,'width':0x0}),_0x3b0c90;}['initCallback'](){super['initCallback'](),this['_validationInputElement']=this['_createValidationInput'](),this['appendChild'](this['_validationInputElement']),this['sub']('*collectionState',_0x118389=>{{if(!this['_dynamicInputsContainer']){const _0x5608ba=document['createElement']('div');this['appendChild'](_0x5608ba),this['_dynamicInputsContainer']=_0x5608ba;}if(!this['_validationInputElement']){const _0x1b4d61=this['_createValidationInput']();this['appendChild'](_0x1b4d61),this['_validationInputElement']=_0x1b4d61;}if(this['_dynamicInputsContainer']['innerHTML']='','uploading'===_0x118389['status']||'idle'===_0x118389['status'])return this['_validationInputElement']['value']='',void this['_validationInputElement']['setCustomValidity']('');if('failed'===_0x118389['status']){const _0x55a531=_0x118389['errors'][0x0]?.['message'];return this['_validationInputElement']['value']='',void this['_validationInputElement']['setCustomValidity'](_0x55a531??'');}const _0x47a6aa=_0x118389['group']?_0x118389['group']:null;if(_0x47a6aa)return this['_validationInputElement']['value']=_0x47a6aa['cdnUrl']??'',void this['_validationInputElement']['setCustomValidity']('');const _0x16501d=_0x118389['allEntries']['map'](_0x5c8679=>_0x5c8679['cdnUrl'])['filter'](_0x4af47d=>'string'==typeof _0x4af47d);if(!this['cfg']['multiple']&&0x1===_0x16501d['length']&&_0x16501d[0x0])return this['_validationInputElement']['value']=_0x16501d[0x0],void this['_validationInputElement']['setCustomValidity']('');this['_validationInputElement']['remove'](),this['_validationInputElement']=null;const _0x5abef6=new DocumentFragment();for(const _0x8b35b4 of _0x16501d){const _0x402fbb=document['createElement']('input');_0x402fbb['type']='hidden',_0x402fbb['name']=this['ctxName']+'[]',_0x402fbb['value']=_0x8b35b4,_0x5abef6['appendChild'](_0x402fbb);}this['_dynamicInputsContainer']['replaceChildren'](_0x5abef6);}},!0x1);}},'Icon':_0x30adcf,'Img':class extends _0x117bc6{['initCallback'](){super['initCallback'](),this['sub$$']('src',()=>{this['init']();}),this['sub$$']('uuid',()=>{this['init']();}),this['sub$$']('lazy',_0x1c7b3b=>{this['$$']('is-background-for')||this['$$']('is-preview-blur')||(this['img']['loading']=_0x1c7b3b?'lazy':'eager');});}},'LineLoaderUi':_0x293fee,'Modal':_0xf053c,'ModalEvents':_0x45ede0,'PACKAGE_NAME':_0x13f4d4,'PACKAGE_VERSION':_0x38b6b4,'PresenceToggle':_0x41cb9e,'ProgressBar':_0x102b8b,'ProgressBarCommon':_0x3905ca,'Select':_0x41edb2,'SimpleBtn':_0x4a5a23,'SliderUi':_0x3e27ae,'SolutionBlock':_0x3b1431,'SourceBtn':_0x26522f,'SourceList':class extends _0x203425{['initCallback'](){super['initCallback'](),this['subConfigValue']('sourceList',_0x4707fa=>{const _0x2e3fc2=_0x25ff69(_0x4707fa);let _0x4e237a='';_0x2e3fc2['forEach'](_0x24df7e=>{'instagram'!==_0x24df7e?'camera'===_0x24df7e&&_0x4f0264['htmlMediaCapture']?this['subConfigValue']('cameraModes',_0x307700=>{const _0xa244aa=_0xa04383(_0x307700);_0xa244aa['forEach'](_0x129f78=>{_0x4e237a+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22mobile-'+_0x129f78+'-camera\x22></uc-source-btn>';}),0x0===_0xa244aa['length']&&(_0x4e237a+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22mobile-photo-camera\x22></uc-source-btn>');}):_0x4e237a+='<uc-source-btn\x20role=\x22listitem\x22\x20type=\x22'+_0x24df7e+'\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']=_0x4e237a:this['outerHTML']=_0x4e237a;});}},'Spinner':_0x4535d0,'StartFrom':_0x6ae5b0,'Thumb':_0x36fc05,'UID':_0x461769,'UploadCtxProvider':class extends _0x52baae{static ['styleAttrs']=['uc-wgt-common'];static ['EventType']=_0x4d7bbe;['requireCtxName']=!0x0;['initCallback'](){super['initCallback'](),this['$']['*eventEmitter']['bindTarget'](this);}['destroyCallback'](){super['destroyCallback'](),this['$']['*eventEmitter']['unbindTarget'](this);}},'UploadList':_0x22b3a9,'UploadSource':_0x359f91,'UploaderBlock':_0x52baae,'UrlSource':_0x555bca,'defineComponents':_0x83c64d,'defineLocale':_0x6f6eff,'loadFileUploaderFrom':function(_0x30052c,_0x24ca0a=!0x1){return new Promise((_0x5665bc,_0x2ac49b)=>{if('object'!=typeof document)return void _0x5665bc(null);if('object'==typeof window&&window[_0x5af8a0])return void _0x5665bc(window[_0x5af8a0]);const _0x41f5b1=document['createElement']('script');_0x41f5b1['async']=!0x0,_0x41f5b1['src']=_0x30052c,_0x41f5b1['onerror']=()=>{_0x2ac49b();},_0x41f5b1['onload']=()=>{const _0x31efb0=window[_0x5af8a0];_0x24ca0a&&_0x83c64d(_0x31efb0),_0x5665bc(_0x31efb0);},document['head']['appendChild'](_0x41f5b1);});},'toKebabCase':_0x301b92});class _0x5937f9 extends _0x22b56d['Plugin']{static get['requires'](){return[UploadcareEditing,_0x5251de];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x41f750){super(_0x41f750),_0x41f750['config']['define']('uploadcare.uploader.sourceList',[_0x192609['Local'],_0x192609['URL']]),_0x83c64d(_0x3f1ca1),this['_defineLocale']();}['_defineLocale'](){const _0x8475d=this['editor']['config']['get']('uploadcare.locale'),_0x43eb57=this['editor']['locale']['contentLanguage'];_0x8475d&&_0x6f6eff(_0x43eb57,_0x8475d);}}class UploadcareImageEditFormLoadingView extends _0x22b56d['View']{constructor(_0x3838e2){super(_0x3838e2);const t=_0x3838e2['t'],_0x511b69=this['bindTemplate'],_0x5e1462=new _0x22b56d['SpinnerView']();_0x5e1462['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':[_0x5e1462,{'text':_0x511b69['to']('imageUploadProgress',_0x1de361=>t('Loading\x20image...')+'\x20('+(_0x1de361||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 _0x22b56d['View']{constructor(_0x4339dc){super(_0x4339dc);const t=_0x4339dc['t'];this['set']('errorType',null);const _0x125329=new _0x22b56d['ButtonView'](_0x4339dc);_0x125329['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x125329['withText']=!0x0,_0x125329['class']='ck-button-action',_0x125329['on']('execute',()=>{this['fire']('retry');}),_0x125329['bind']('isVisible')['to'](this,'errorType',_0x3c68ad=>'NotFound'!==_0x3c68ad);const _0x408e99=new _0x22b56d['IconView']();_0x408e99['content']=_0x22b56d['IconError'],_0x408e99['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x33cbab=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':[_0x408e99,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x33cbab['to']('errorType',_0x48212a=>t('NotFound'!==_0x48212a?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x125329]},{'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 _0x22b56d['View']{constructor(_0x311d95,_0x9c06f4){super(_0x311d95);const _0x1ccdd7=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0x9c06f4,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x1ccdd7['to']('imageSrc')}});}}class UploadcareImageEditFormView extends _0x35523d{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x2e80ee,_0x3879,_0x4bf0ca){super(_0x2e80ee),this['_items']=this['createCollection'](),this['_loadingView']=new UploadcareImageEditFormLoadingView(_0x2e80ee),this['_errorView']=new UploadcareImageEditFormErrorView(_0x2e80ee),this['_editingView']=new UploadcareImageEditFormEditingView(_0x2e80ee,_0x4bf0ca),this['_focusableView']=new _0x22b56d['View'](_0x2e80ee),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x3879),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'],_0x438083=>{this['_addUploadcareImageEditorListeners'](_0x438083);});}),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'](_0x30d006,_0x237b59){const _0x661c31='uc-cloud-image-editor',_0x314eb5=_0x30d006['querySelector'](_0x661c31);if(_0x314eb5)return _0x237b59(_0x314eb5);const _0x57b9ea=new MutationObserver(_0xe8cca4=>{const _0x286094=_0xe8cca4['filter'](_0xbc04e5=>_0xbc04e5['target']===_0x30d006&&_0xbc04e5['addedNodes']['length']>0x0&&_0xbc04e5['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x661c31);_0x286094['length']&&(_0x57b9ea['disconnect'](),_0x237b59(_0x286094[0x0]['addedNodes'][0x0]));});_0x57b9ea['observe'](_0x30d006,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x46ec5e){_0x46ec5e['addEventListener']('apply',_0x5b313b=>{this['fire']('apply',{'imageSrc':_0x5b313b['detail']['cdnUrl']});}),_0x46ec5e['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}}class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
_0x22b56d['ObservableMixin'](){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4117f6,_0xa97d1c,_0x2315ef){super(),this['_editor']=_0x4117f6,this['_dialog']=_0xa97d1c,this['_imageElement']=_0x2315ef,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 _0x4f6176=this['_imageElement'],_0x545c97=_0x4f6176['getAttribute']('uploadcareImageId'),_0x3f2cbc=_0x4f6176['getAttribute']('src');if(_0x545c97)await this['_loadImageInfo'](_0x545c97,_0x3f2cbc);else{if(this['_imageCache']['has'](_0x3f2cbc)){const _0x3baa3f=this['_imageCache']['get'](_0x3f2cbc);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3baa3f['url'],this['imageDimension']=_0x3baa3f['dimension'],this['imageId']=_0x3baa3f['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x744481}=this['_editor'],t=_0x744481['t'],_0x44fb90=new UploadcareImageEditFormView(_0x744481,this['imageStatus'],this['_attributes']);_0x44fb90['bind']('status')['to'](this,'imageStatus'),_0x44fb90['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x44fb90['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x44fb90['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x44fb90,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x22b56d['IconUploadcareImageEdit'],'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x44fb90,'position':_0x22b56d['DialogViewPosition']['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x44fb90['focus']();},'onHide':()=>{_0x44fb90['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x5bd7cc=>!_0x1f55cb(_0x5bd7cc,_0x44fb90['element'])}});}['_loadImageInfo'](_0x2b21d9,_0xc221fe){return UploadUtils['getInfo'](_0x2b21d9,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3befe0=>{const {width:_0x246c8f,height:_0x272db7}=_0x3befe0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xc221fe,this['imageDimension']={'width':_0x246c8f,'height':_0x272db7},this['imageId']=_0x2b21d9;})['catch'](_0x399756=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x399756['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5dafb5,_0x41ac76){return this['_getImageAsFile'](_0x5dafb5)['then'](_0x154a49=>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':_0x41ac76['signal'],'file':_0x154a49,'onProgress':_0x4a1a43=>{_0x4a1a43&&_0x4a1a43['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4a1a43['value']));}}))['then'](_0x196531=>{const {width:_0x5bfb1d,height:_0x3b4204}=_0x196531['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x196531['cdnUrl'],this['imageDimension']={'width':_0x5bfb1d,'height':_0x3b4204},this['imageId']=_0x196531['uuid'],this['imageUploadProgress']=null;const _0x33d9e3=_0x5dafb5['getAttribute']('src');this['_imageCache']['set'](_0x33d9e3,{'id':_0x196531['uuid'],'url':_0x196531['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1ec674=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1ec674['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x145153,_0x33c676){_0x145153['on']('apply',(_0x48028f,_0x4c0992)=>{this['_replaceImage'](_0x33c676,_0x4c0992['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x145153['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x145153['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x159c82,_0x22632d,_0x46462f){const _0x45c9f1=this['_editor'],{width:_0x113890,height:_0x14bc4d}=_0x55434e(_0x22632d,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5990fe,imageSources:_0x334e01}=_0x16a3a5(_0x22632d,_0x113890);_0x45c9f1['model']['change'](_0x4f8be9=>{if('$graveyard'===_0x159c82['root']['rootName']){_0x45c9f1['execute']('insertImage',{'imageType':_0x159c82['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x159c82['getAttributes']()),'uploadcareImageId':_0x46462f,'src':_0x5990fe,'sources':_0x334e01,'width':_0x113890,'height':_0x14bc4d}});const _0x3a344a=_0x159c82['getChildren']();_0x159c82=_0x45c9f1['model']['document']['selection']['getSelectedElement']();for(const _0x3e2239 of _0x3a344a)_0x4f8be9['append'](_0x4f8be9['cloneElement'](_0x3e2239),_0x159c82);}else _0x4f8be9['setSelection'](_0x159c82,'on'),_0x45c9f1['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x159c82['getAttributes']()),'uploadcareImageId':_0x46462f,'src':_0x5990fe,'sources':_0x334e01,'width':_0x113890,'height':_0x14bc4d},_0x159c82);_0x4f8be9['setSelection'](_0x159c82,'on');});}async['_getImageAsFile'](_0x5ad47a){const _0x187382=_0x22b56d['global']['window'],_0x3caa0e=_0x22b56d['global']['document']['location']['href'],_0x2b1f54=new _0x187382['URL'](_0x5ad47a['getAttribute']('src'),_0x3caa0e);if('data:'===_0x2b1f54['protocol']){const _0x4feb39=_0x2b1f54['href']['split'](','),_0x3f9578=_0x4feb39[0x0]['match'](/:(.*?);/)[0x1],_0x313795=_0x3f9578['split']('/')[0x1],_0x243ffa=_0x187382['atob'](_0x4feb39[_0x4feb39['length']-0x1]);let _0x40c5b4=_0x243ffa['length'];const _0x47f3e2=new _0x187382['Uint8Array'](_0x40c5b4);for(;_0x40c5b4--;)_0x47f3e2[_0x40c5b4]=_0x243ffa['charCodeAt'](_0x40c5b4);return new _0x187382['File']([_0x47f3e2],'image.'+_0x313795,{'type':_0x3f9578});}const _0x4b4848=_0x2b1f54['href']['split']('/'),_0x59f7ef=_0x4b4848[_0x4b4848['length']-0x1],_0x1ffff2=_0x59f7ef['split']('.')[0x1];return _0x187382['fetch'](_0x2b1f54['href'])['then'](_0x530e6a=>_0x530e6a['clone']()['blob']())['then'](_0x56f264=>new _0x187382['File']([_0x56f264],_0x59f7ef,{'type':'image/'+_0x1ffff2}));}}class UploadcareImageEditCommand extends _0x22b56d['Command']{['imageEditController'];static get['requires'](){return[_0x22b56d['Dialog']];}['_isEditable'];constructor(_0x4bf6b6){super(_0x4bf6b6),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x25e347){const _0x3a762f=_0x386bc0(_0x25e347);return _0x106cba=>!(!_0x106cba||!_0x106cba['is']('element','imageBlock')&&!_0x106cba['is']('element','imageInline'))&&(!!_0x106cba['hasAttribute']('uploadcareImageId')||!!_0x106cba['hasAttribute']('src')&&_0x3a762f(_0x106cba['getAttribute']('src')));}(_0x4bf6b6['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x2acf0a=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x2acf0a);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x1a58e7=this['editor']['model']['document']['selection']['getSelectedElement']();_0x1a58e7&&(_0x1a58e7['is']('element','imageBlock')||_0x1a58e7['is']('element','imageInline'))&&(this['imageEditController']=new UploadcareImageEditController(this['editor'],this['editor']['plugins']['get'](_0x22b56d['Dialog']),_0x1a58e7),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}}class _0x7309e5 extends _0x22b56d['Command']{['refresh'](){const _0x35d965=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x35d965&&(_0x35d965['is']('element','imageBlock')||_0x35d965['is']('element','imageInline')));}['execute'](_0x2a9039){const _0x378600=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0xfa87c3=>{_0xfa87c3['setAttributes'](_0x2a9039,_0x378600),_0xfa87c3['removeAttribute']('srcset',_0x378600),_0xfa87c3['removeAttribute']('sizes',_0x378600);});}}class UploadcareImageEditEditing extends _0x22b56d['Plugin']{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[UploadcareEditing,_0x22b56d['Notification'],'ImageUtils','ImageEditing'];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4dd8a0}=this;_0x4dd8a0['commands']['add']('uploadcareImageEdit',new UploadcareImageEditCommand(_0x4dd8a0)),_0x4dd8a0['commands']['add']('uploadcareImageReplace',new _0x7309e5(_0x4dd8a0));}}class UploadcareImageEditUI extends _0x22b56d['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 _0x4271c6=this['editor'];_0x4271c6['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3b7fb4=>{const _0x19fa93=_0x4271c6['commands']['get']('uploadcareImageEdit'),_0x4d0377=new _0x22b56d['ButtonView'](_0x3b7fb4),t=_0x3b7fb4['t'];return _0x4d0377['set']({'icon':_0x22b56d['IconUploadcareImageEdit'],'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4d0377['bind']('isEnabled')['to'](_0x19fa93),_0x4d0377['bind']('isOn')['to'](_0x19fa93,'isActive'),this['listenTo'](_0x4d0377,'execute',()=>{_0x4271c6['execute']('uploadcareImageEdit'),_0x4271c6['editing']['view']['focus']();}),_0x4d0377;}),this['_initConfig']();}['_initConfig'](){const _0x1715f3=_0x22b56d['createElement'](document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1715f3),this['listenTo'](this['editor'],'destroy',()=>{_0x1715f3['remove']();});}}class UploadcareImageEdit extends _0x22b56d['Plugin']{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[UploadcareImageEditEditing,UploadcareImageEditUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}_0x3982e5['AIActions']=AIActions,_0x3982e5['AIAdapter']=AIAdapter,_0x3982e5['AIAssistant']=AIAssistant,_0x3982e5['AIAssistantUI']=AIAssistantUI,_0x3982e5['AIBalloon']=_0x36c97a,_0x3982e5['AIChat']=AIChat,_0x3982e5['AIChatController']=AIChatController,_0x3982e5['AIChatHistory']=AIChatHistory,_0x3982e5['AIChatHistoryController']=AIChatHistoryController,_0x3982e5['AIChatHistoryUI']=AIChatHistoryUI,_0x3982e5['AIChatShortcuts']=AIChatShortcuts,_0x3982e5['AIChatUI']=AIChatUI,_0x3982e5['AIConnector']=AIConnector,_0x3982e5['AIEditing']=AIEditing,_0x3982e5['AIEditorIntegration']=AIEditorIntegration,_0x3982e5['AIQuickActionType']=_0x53c42b,_0x3982e5['AIQuickActions']=AIQuickActions,_0x3982e5['AIQuickActionsUI']=AIQuickActionsUI,_0x3982e5['AIRequestError']=AIRequestError,_0x3982e5['AIReviewCheck']=_0x5c470c,_0x3982e5['AIReviewCheckResult']=AIReviewCheckResult,_0x3982e5['AIReviewCheckRun']=_0x37ab37,_0x3982e5['AIReviewMode']=_0x5bb504,_0x3982e5['AIReviewModeController']=AIReviewCoreController,_0x3982e5['AIReviewModeEditing']=AIReviewCoreEditing,_0x3982e5['AIReviewModeUI']=_0x7a082,_0x3982e5['AITabs']=_0x32d0d0,_0x3982e5['AITextAdapter']=AITextAdapter,_0x3982e5['AIToggleButtonUI']=AIToggleButtonUI,_0x3982e5['AITranslate']=AITranslate,_0x3982e5['AITranslateController']=AITranslateController,_0x3982e5['AITranslateUI']=AITranslateUI,_0x3982e5['AWSTextAdapter']=class AWSTextAdapter extends AITextAdapter{static get['pluginName'](){return'AWSTextAdapter';}['init'](){super['init'](),_0x22b56d['logWarning']('ai-aws-adapter-not-supported');}async['sendRequest'](_0x5ba620){throw _0x22b56d['logError']('ai-aws-adapter-not-supported'),new AIRequestError(_0x4ff019(this['editor']['locale'],'AI_ERROR_AWS_NOT_SUPPORTED'));}},_0x3982e5['AcceptSuggestionCommand']=AcceptSuggestionCommand,_0x3982e5['AddCommentThreadCommand']=AddCommentThreadCommand,_0x3982e5['Annotation']=_0x3f7e9a,_0x3982e5['AnnotationCollection']=AnnotationCollection,_0x3982e5['AnnotationCounterButtonView']=AnnotationCounterButtonView,_0x3982e5['AnnotationView']=AnnotationView,_0x3982e5['Annotations']=Annotations,_0x3982e5['AnnotationsSidebarItemView']=AnnotationsSidebarItemView,_0x3982e5['AnnotationsSidebarView']=AnnotationsSidebarView,_0x3982e5['AnnotationsUIs']=AnnotationsUIs,_0x3982e5['AriaDescriptionView']=AriaDescriptionView,_0x3982e5['BaseCommentThreadView']=BaseCommentThreadView,_0x3982e5['BaseCommentView']=BaseCommentView,_0x3982e5['BaseSuggestionThreadView']=BaseSuggestionThreadView,_0x3982e5['CaseChange']=_0x79fb52,_0x3982e5['CaseChangeCommand']=_0x56821c,_0x3982e5['CaseChangeEditing']=CaseChangeEditing,_0x3982e5['CaseChangeUI']=_0x472f6b,_0x3982e5['CloudServicesCommentsAdapter']=CloudServicesCommentsAdapter,_0x3982e5['CloudServicesRevisionHistoryAdapter']=CloudServicesRevisionHistoryAdapter,_0x3982e5['CloudServicesTrackChangesAdapter']=CloudServicesTrackChangesAdapter,_0x3982e5['Comment']=Comment,_0x3982e5['CommentThread']=CommentThread,_0x3982e5['CommentThreadController']=CommentThreadController,_0x3982e5['CommentThreadInputView']=CommentThreadInputView,_0x3982e5['CommentThreadView']=CommentThreadView,_0x3982e5['CommentView']=CommentView,_0x3982e5['Comments']=Comments,_0x3982e5['CommentsArchive']=CommentsArchive,_0x3982e5['CommentsArchiveUI']=CommentsArchiveUI,_0x3982e5['CommentsEditing']=CommentsEditing,_0x3982e5['CommentsListView']=CommentsListView,_0x3982e5['CommentsOnly']=CommentsOnly,_0x3982e5['CommentsRepository']=CommentsRepository,_0x3982e5['CommentsUI']=CommentsUI,_0x3982e5['ConfirmMixin']=_0x2ef563,_0x3982e5['CopyFormatCommand']=CopyFormatCommand,_0x3982e5['DATA_ID_MODEL_ATTRIBUTE']=_0x15ba5f,_0x3982e5['DATA_ID_VIEW_ATTRIBUTE']=_0x545a59,_0x3982e5['DiscardSuggestionCommand']=DiscardSuggestionCommand,_0x3982e5['DocumentCompare']=DocumentCompare,_0x3982e5['DocumentOutline']=DocumentOutline,_0x3982e5['DocumentOutlineUI']=DocumentOutlineUI,_0x3982e5['DocumentOutlineUtils']=DocumentOutlineUtils,_0x3982e5['EditSourceCommand']=EditSourceCommand,_0x3982e5['EditorAnnotations']=EditorAnnotations,_0x3982e5['EmailConfigurationHelper']=EmailConfigurationHelper,_0x3982e5['EmailConfigurationLogger']=EmailConfigurationLogger,_0x3982e5['EmptyBlockEmailIntegration']=EmptyBlockEmailIntegration,_0x3982e5['ExecuteOnAllSuggestionsCommand']=ExecuteOnAllSuggestionsCommand,_0x3982e5['ExecuteOnSelectedSuggestionsCommand']=ExecuteOnSelectedSuggestionsCommand,_0x3982e5['ExportInlineStyles']=ExportInlineStyles,_0x3982e5['ExportInlineStylesCommand']=ExportInlineStylesCommand,_0x3982e5['ExportInlineStylesEditing']=ExportInlineStylesEditing,_0x3982e5['ExportInlineStylesEmailIntegration']=ExportInlineStylesEmailIntegration,_0x3982e5['ExportPdf']=ExportPdf,_0x3982e5['ExportPdfCommand']=ExportPdfCommand,_0x3982e5['ExportWord']=ExportWord,_0x3982e5['ExportWordCommand']=ExportWordCommand,_0x3982e5['FOCUS_ANNOTATION_KEYSTROKE']=_0x463f07,_0x3982e5['FontEmailIntegration']=FontEmailIntegration,_0x3982e5['Footnotes']=Footnotes,_0x3982e5['FootnotesClipboard']=FootnotesClipboard,_0x3982e5['FootnotesEditing']=FootnotesEditing,_0x3982e5['FootnotesProperties']=FootnotesProperties,_0x3982e5['FootnotesPropertiesEditing']=FootnotesPropertiesEditing,_0x3982e5['FootnotesPropertiesUI']=FootnotesPropertiesUI,_0x3982e5['FootnotesStartCommand']=FootnotesStartCommand,_0x3982e5['FootnotesStyleCommand']=FootnotesStyleCommand,_0x3982e5['FootnotesTracker']=FootnotesTracker,_0x3982e5['FootnotesUI']=FootnotesUI,_0x3982e5['FormatPainter']=FormatPainter,_0x3982e5['FormatPainterEditing']=FormatPainterEditing,_0x3982e5['FormatPainterUI']=FormatPainterUI,_0x3982e5['GeneralHtmlIntegrationSupport']=GeneralHtmlIntegrationSupport,_0x3982e5['HeadingId']=_0x259958,_0x3982e5['HighlightEmailIntegration']=HighlightEmailIntegration,_0x3982e5['ImageEmailIntegration']=ImageEmailIntegration,_0x3982e5['ImportWord']=ImportWord,_0x3982e5['ImportWordCommand']=ImportWordCommand,_0x3982e5['ImportWordEditing']=ImportWordEditing,_0x3982e5['ImportWordUI']=ImportWordUI,_0x3982e5['InlineAnnotations']=InlineAnnotations,_0x3982e5['InsertFootnoteCommand']=InsertFootnoteCommand,_0x3982e5['InsertMergeFieldBlockCommand']=InsertMergeFieldBlockCommand,_0x3982e5['InsertMergeFieldCommand']=InsertMergeFieldCommand,_0x3982e5['InsertMergeFieldImageCommand']=InsertMergeFieldImageCommand,_0x3982e5['LateFocusButtonView']=LateFocusButtonView,_0x3982e5['LateFocusDropdownButtonView']=LateFocusDropdownButtonView,_0x3982e5['LineHeight']=LineHeight,_0x3982e5['LineHeightCommand']=LineHeightCommand,_0x3982e5['LineHeightEditing']=LineHeightEditing,_0x3982e5['LineHeightTodoListIntegration']=LineHeightTodoListIntegration,_0x3982e5['LineHeightUI']=LineHeightUI,_0x3982e5['LinkEmailIntegration']=LinkEmailIntegration,_0x3982e5['ListEmailIntegration']=ListEmailIntegration,_0x3982e5['MarkdownEmailIntegration']=MarkdownEmailIntegration,_0x3982e5['MathTypeEmailIntegration']=MathTypeEmailIntegration,_0x3982e5['MediaEmbedEmailIntegration']=MediaEmbedEmailIntegration,_0x3982e5['MergeFields']=_0x34b17c,_0x3982e5['MergeFieldsEditing']=MergeFieldsEditing,_0x3982e5['MergeFieldsEmailIntegration']=MergeFieldsEmailIntegration,_0x3982e5['MergeFieldsUI']=_0x17f9e1,_0x3982e5['MultiLevelList']=MultiLevelList,_0x3982e5['MultiLevelListCommand']=MultiLevelListCommand,_0x3982e5['MultiLevelListEditing']=MultiLevelListEditing,_0x3982e5['MultiLevelListEmailIntegration']=MultiLevelListEmailIntegration,_0x3982e5['MultiLevelListUI']=MultiLevelListUI,_0x3982e5['NarrowSidebar']=_0xb4b3cf,_0x3982e5['OpenAITextAdapter']=class OpenAITextAdapter extends AITextAdapter{['_apiUrl'];['_requestHeaders'];['_requestParameters'];static get['pluginName'](){return'OpenAITextAdapter';}constructor(_0x11dabf){super(_0x11dabf),_0x11dabf['config']['define']('ai.assistant.adapter.openAI.apiUrl','https://api.openai.com/v1/chat/completions'),_0x11dabf['config']['get']('ai.assistant.adapter.openAI.requestParameters')||_0x11dabf['config']['define']('ai.assistant.adapter.openAI.requestParameters',{'model':'gpt-4o','temperature':0x1,'top_p':0x1,'stream':!0x0}),this['_apiUrl']=_0x11dabf['config']['get']('ai.assistant.adapter.openAI.apiUrl'),this['_requestHeaders']=_0x11dabf['config']['get']('ai.assistant.adapter.openAI.requestHeaders')||{},this['_requestParameters']=_0x11dabf['config']['get']('ai.assistant.adapter.openAI.requestParameters');}async['sendRequest']({query:_0x35a671,context:_0x59d28b,onData:_0x262f51,actionId:_0x2a1821}){const _0x504784=this['editor']['locale'],_0x4aee4a=await this['prepareMessages'](_0x35a671,_0x59d28b,_0x2a1821),_0x2011a3=await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x2a1821),_0x2245bf=await this['_prepareRequestParameters'](this['_requestParameters'],_0x2a1821),_0x4c827a={'messages':_0x4aee4a,..._0x2245bf},_0x224288={'method':'POST','headers':_0x2011a3,'body':JSON['stringify'](_0x4c827a),'signal':this['abortController']['signal']},_0x5f9f31=await fetch(this['_apiUrl'],_0x224288);if(_0x5f9f31['ok'])return _0x2245bf['stream']?await this['_readStreamableResponse'](_0x5f9f31,_0x262f51):await this['_readStaticResponse'](_0x5f9f31,_0x262f51),Promise['resolve']();{const _0x31968a=await _0x5f9f31['text']();return _0x31968a['includes']('context_length_exceeded')?Promise['reject'](new AIRequestError(_0x4ff019(_0x504784,'AI_ERROR_CONTEXT_LENGTH'))):_0x31968a['includes']('Moderation')?Promise['reject'](new AIRequestError(_0x4ff019(_0x504784,'AI_ERROR_MODERATION'))):Promise['reject'](new Error(_0x31968a));}}async['prepareMessages'](_0x207f22,_0x36111b,_0x396e10){let _0x4cb902,_0x415afa;return _0x36111b?(_0x4cb902='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.',_0x415afa='Instruction:\x0a'+_0x207f22+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x36111b):(_0x4cb902='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.',_0x415afa=_0x207f22),[{'role':'system','content':_0x4cb902},{'role':'user','content':_0x415afa}];}async['_readStreamableResponse'](_0x296020,_0x21b10c){const _0x539d43=_0x296020['body']['getReader'](),_0x47fca2=new TextDecoder();let _0x58ff59='',_0x459305='',_0x226858='',_0x5d5195=!0x1;for(;!_0x5d5195;){const {done:_0x444e3c,value:_0x3c7974}=await _0x539d43['read'](),_0x1c4e3f=_0x58ff59+_0x47fca2['decode'](_0x3c7974);let _0x2162fd='';_0x5d5195=_0x444e3c;try{_0x2162fd=this['_cleanUpData'](_0x1c4e3f),_0x58ff59='';}catch{_0x58ff59=_0x1c4e3f;continue;}_0x459305+=_0x2162fd,!_0x5d5195&&this['_isBufferIncomplete'](_0x459305)||_0x459305&&(_0x226858+=_0x459305,_0x459305='',_0x21b10c(_0x226858));}return Promise['resolve']();}async['_readStaticResponse'](_0x34ea45,_0x2ae589){return _0x2ae589((await _0x34ea45['json']())['choices'][0x0]['message']['content']),Promise['resolve']();}['_isBufferIncomplete'](_0x4c2f29){const _0x3b0033=_0x4c2f29['split']('<')['length']!==_0x4c2f29['split']('>')['length'],_0x45f319=_0x4c2f29['length']<0x1e;return _0x3b0033&&_0x45f319;}['_cleanUpData'](_0x2251f0){return _0x2251f0['split'](/\n(?![^{]*\})/g)['map'](_0x40925a=>_0x40925a['replace']('data:\x20',''))['filter'](_0x5a19e2=>_0x5a19e2&&_0x5a19e2['length']>0x0&&'[DONE]'!==_0x5a19e2)['map'](_0x1ef9bc=>{const {choices:_0x3eb320}=JSON['parse'](_0x1ef9bc);if(_0x3eb320[0x0]?.['delta']?.['content'])return _0x3eb320[0x0]['delta']['content'];})['filter'](_0x125456=>_0x125456)['join']('');}},_0x3982e5['Pagination']=Pagination,_0x3982e5['PaginationRenderer']=PaginationRenderer,_0x3982e5['PasteFormatCommand']=PasteFormatCommand,_0x3982e5['PasteFromOfficeEnhanced']=PasteFromOfficeEnhanced,_0x3982e5['Permissions']=_0x4905c9,_0x3982e5['PresenceList']=PresenceList,_0x3982e5['PresenceListUI']=PresenceListUI,_0x3982e5['PreviewFinalContentCommand']=PreviewFinalContentCommand,_0x3982e5['PreviewMergeFieldsCommand']=_0x48f01e,_0x3982e5['RealTimeCollaborationClient']=RealTimeCollaborationClient,_0x3982e5['RealTimeCollaborativeComments']=RealTimeCollaborativeComments,_0x3982e5['RealTimeCollaborativeEditing']=RealTimeCollaborativeEditing,_0x3982e5['RealTimeCollaborativeRevisionHistory']=RealTimeCollaborativeRevisionHistory,_0x3982e5['RealTimeCollaborativeTrackChanges']=RealTimeCollaborativeTrackChanges,_0x3982e5['ReplaceSourceCommand']=_0x27b7f9,_0x3982e5['RestoreRevisionCommand']=RestoreRevisionCommand,_0x3982e5['Revision']=_0x23b50f,_0x3982e5['RevisionHistory']=RevisionHistory,_0x3982e5['RevisionHistoryUI']=RevisionHistoryUI,_0x3982e5['RevisionHistoryUtils']=RevisionHistoryUtils,_0x3982e5['RevisionTracker']=_0x449e76,_0x3982e5['RevisionViewer']=_0x1a8bd8,_0x3982e5['RevisionViewerEditor']=RevisionViewerEditor,_0x3982e5['RevisionViewerIntegration']=RevisionViewerIntegration,_0x3982e5['RevisionViewerLoadingOverlay']=_0x3f09e6,_0x3982e5['RevisionViewerUI']=_0x2465b0,_0x3982e5['RevisionsRepository']=RevisionsRepository,_0x3982e5['RevisionsSidebar']=_0x14aa91,_0x3982e5['Sessions']=_0x548455,_0x3982e5['ShowAIAssistantCommand']=ShowAIAssistantCommand,_0x3982e5['ShowChangeCommand']=_0x1f8cca,_0x3982e5['Sidebar']=_0x1c0f73,_0x3982e5['SlashCommand']=_0x198432,_0x3982e5['SlashCommandConfig']=_0xbda70a,_0x3982e5['SlashCommandEditing']=SlashCommandEditing,_0x3982e5['SlashCommandUI']=_0x304053,_0x3982e5['SourceEditingEmailIntegration']=SourceEditingEmailIntegration,_0x3982e5['SourceEditingEnhanced']=SourceEditingEnhanced,_0x3982e5['Suggestion']=Suggestion,_0x3982e5['SuggestionDescriptionFactory']=SuggestionDescriptionFactory,_0x3982e5['SuggestionThreadView']=SuggestionThreadView,_0x3982e5['SuggestionView']=SuggestionView,_0x3982e5['SuggestionsConversion']=SuggestionsConversion,_0x3982e5['TableEmailIntegration']=TableEmailIntegration,_0x3982e5['TableOfContents']=TableOfContents,_0x3982e5['TableOfContentsCommand']=TableOfContentsCommand,_0x3982e5['TableOfContentsEditing']=TableOfContentsEditing,_0x3982e5['TableOfContentsUI']=TableOfContentsUI,_0x3982e5['Template']=Template,_0x3982e5['TemplateCommand']=TemplateCommand,_0x3982e5['TemplateEditing']=TemplateEditing,_0x3982e5['TemplateEmailIntegration']=TemplateEmailIntegration,_0x3982e5['TemplateUI']=TemplateUI,_0x3982e5['TodoListEmailIntegration']=TodoListEmailIntegration,_0x3982e5['ToggleAICommand']=_0x52abbb,_0x3982e5['TrackChanges']=_0x1559fa,_0x3982e5['TrackChangesCommand']=_0x43c820,_0x3982e5['TrackChangesData']=TrackChangesData,_0x3982e5['TrackChangesDataGetter']=TrackChangesDataGetter,_0x3982e5['TrackChangesEditing']=TrackChangesEditing,_0x3982e5['TrackChangesPreview']=_0x4deca5,_0x3982e5['TrackChangesUI']=_0xa7240a,_0x3982e5['UploadEmailIntegration']=UploadEmailIntegration,_0x3982e5['Uploadcare']=_0x5937f9,_0x3982e5['UploadcareCommand']=_0x2766cc,_0x3982e5['UploadcareEditing']=UploadcareEditing,_0x3982e5['UploadcareImageEdit']=UploadcareImageEdit,_0x3982e5['UploadcareImageEditCommand']=UploadcareImageEditCommand,_0x3982e5['UploadcareImageEditEditing']=UploadcareImageEditEditing,_0x3982e5['UploadcareImageEditUI']=UploadcareImageEditUI,_0x3982e5['UploadcareUI']=_0x5251de,_0x3982e5['UploadcareUploadAdapter']=UploadcareUploadAdapter,_0x3982e5['UserView']=_0x1ab201,_0x3982e5['Users']=_0x433f5f,_0x3982e5['WebSocketGateway']=WebSocketGateway,_0x3982e5['WideSidebar']=_0x2093a0,_0x3982e5['bindAnnotationCollections']=_0xcb841e,_0x3982e5['createResizeButton']=Rt,_0x3982e5['dropImportantStyleSuffix']=_0x414727,_0x3982e5['fixElementSuggestionRange']=_0x1fe61e,_0x3982e5['getAllMarkersDomElementsSorted']=_0x21d323,_0x3982e5['getDateTimeFormatter']=_0x4341fd,_0x3982e5['getDefaultAICommands']=At,_0x3982e5['getEmailInlineStylesTransformations']=function(_0x1fc3a4={}){const _0x3241f9=[_0x50264b,_0x385bf2,_0x473e23];return _0x1fc3a4['useFigureToTableFallback']&&_0x3241f9['push'](_0x47c27b,_0x483c3c),_0x3241f9;},_0x3982e5['getMarkerDomElement']=_0x13ae85,_0x3982e5['hashObject']=_0x43a34a,_0x3982e5['isUnsupportedEmailColorFormat']=_0x1030a8,_0x3982e5['isUnsupportedEmailColorValue']=_0x571569,_0x3982e5['sanitizeEditorConfig']=_0x44274e,_0x3982e5['setupThreadKeyboardNavigation']=_0xecfe39,_0x3982e5['splitSuggestionMarkerName']=_0x5d0d7f,_0x3982e5['surroundingMarkersDetector']=_0x5588b7,_0x3982e5['transformEmailFigcaptionToDiv']=_0x483c3c,_0x3982e5['transformEmailFigureToTable']=_0x47c27b,_0x3982e5['transformEmailFloatToAlign']=_0x50264b,_0x3982e5['transformEmailImageWidthAttributes']=_0x473e23,_0x3982e5['transformEmailMarginToAlign']=_0x385bf2,_0x3982e5['trimHtml']=_0x3be235;});